chore(deps): drop is-utf8

Provided by [`node:buffer`](https://nodejs.org/docs/latest-v22.x/api/buffer.html#bufferisutf8input).
This commit is contained in:
Tiago de Paula 2025-10-27 08:06:38 -03:00
commit fff021f480
No known key found for this signature in database
GPG key ID: 55BD118E42C985CF
3 changed files with 1 additions and 15 deletions

View file

@ -67,7 +67,6 @@
"filenamify": "^4.3.0",
"got": "^11.8.6",
"irc-framework": "^4.14.0",
"is-utf8": "^0.2.1",
"ldapjs": "^2.3.3",
"linkify-it": "^5.0.0",
"lodash": "^4.17.21",
@ -98,7 +97,6 @@
"@types/chai": "^5.2.3",
"@types/content-disposition": "^0.5.9",
"@types/express": "^5.0.6",
"@types/is-utf8": "^0.2.3",
"@types/ldapjs": "^2.2.5",
"@types/linkify-it": "^5.0.0",
"@types/lodash": "^4.17.23",

View file

@ -6,7 +6,7 @@ import fs from "fs";
import fileType from "file-type";
import readChunk from "read-chunk";
import crypto from "crypto";
import isUtf8 from "is-utf8";
import {isUtf8} from "buffer";
import log from "../log";
import contentDisposition from "content-disposition";
import type {Socket} from "socket.io";

View file

@ -1845,13 +1845,6 @@
resolved "https://registry.yarnpkg.com/@types/http-errors/-/http-errors-2.0.5.tgz#5b749ab2b16ba113423feb1a64a95dcd30398472"
integrity sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==
"@types/is-utf8@^0.2.3":
version "0.2.3"
resolved "https://registry.yarnpkg.com/@types/is-utf8/-/is-utf8-0.2.3.tgz#4821e365f6518778bd7c9b3f8b3a5c42a8e96706"
integrity sha512-pOsafTvuyh/FBJm+LP81graldeJLPtJ/UcfqzD+qNoey7PpG2saE/v+h8r4gxT6BGO8mzAuK2fkYLr6goOdwwg==
dependencies:
"@types/node" "*"
"@types/json-schema@*", "@types/json-schema@^7.0.15", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9":
version "7.0.15"
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841"
@ -4945,11 +4938,6 @@ is-unicode-supported@^0.1.0:
resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7"
integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==
is-utf8@^0.2.1:
version "0.2.1"
resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
integrity sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q==
is-what@^5.2.0:
version "5.5.0"
resolved "https://registry.yarnpkg.com/is-what/-/is-what-5.5.0.tgz#a3031815757cfe1f03fed990bf6355a2d3f628c4"