This commit is contained in:
nik
2025-10-03 22:27:28 +03:00
parent 829fad0e17
commit 871cf7e792
16520 changed files with 2967597 additions and 3 deletions

17
node_modules/text-decoder/lib/browser-decoder.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
module.exports = class BrowserDecoder {
constructor (encoding) {
this.decoder = new TextDecoder(encoding === 'utf16le' ? 'utf16-le' : encoding)
}
get remaining () {
return -1
}
decode (data) {
return this.decoder.decode(data, { stream: true })
}
flush () {
return this.decoder.decode(new Uint8Array(0))
}
}