aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/@exodus/bytes/encoding-lite.d.ts
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-14 14:46:37 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-14 14:46:37 -0800
commitafa87af01c79a9baa539f2992d32154d2a4739bd (patch)
tree92c7416db734270a2fee1d72ee9cc119379ff8e1 /vanilla/node_modules/@exodus/bytes/encoding-lite.d.ts
parent3b927e84d200402281f68181cd4253bc77e5528d (diff)
downloadneko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.gz
neko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.bz2
neko-afa87af01c79a9baa539f2992d32154d2a4739bd.zip
task: delete vanilla js prototype\n\n- Removed vanilla/ directory and web/dist/vanilla directory\n- Updated Makefile, Dockerfile, and CI workflow to remove vanilla references\n- Cleaned up web/web.go to remove vanilla embed and routes\n- Verified build and tests pass\n\nCloses NK-2tcnmq
Diffstat (limited to 'vanilla/node_modules/@exodus/bytes/encoding-lite.d.ts')
-rw-r--r--vanilla/node_modules/@exodus/bytes/encoding-lite.d.ts62
1 files changed, 0 insertions, 62 deletions
diff --git a/vanilla/node_modules/@exodus/bytes/encoding-lite.d.ts b/vanilla/node_modules/@exodus/bytes/encoding-lite.d.ts
deleted file mode 100644
index 8a6550d..0000000
--- a/vanilla/node_modules/@exodus/bytes/encoding-lite.d.ts
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * The exact same exports as `@exodus/bytes/encoding.js` are also exported as
- * `@exodus/bytes/encoding-lite.js`, with the difference that the lite version does not load
- * multi-byte `TextDecoder` encodings by default to reduce bundle size 10x.
- *
- * ```js
- * import { TextDecoder, TextEncoder } from '@exodus/bytes/encoding-lite.js'
- * import { TextDecoderStream, TextEncoderStream } from '@exodus/bytes/encoding-lite.js' // Requires Streams
- *
- * // Hooks for standards
- * import { getBOMEncoding, legacyHookDecode, labelToName, normalizeEncoding } from '@exodus/bytes/encoding-lite.js'
- * ```
- *
- * The only affected encodings are: `gbk`, `gb18030`, `big5`, `euc-jp`, `iso-2022-jp`, `shift_jis`
- * and their [labels](https://encoding.spec.whatwg.org/#names-and-labels) when used with `TextDecoder`.
- *
- * Legacy single-byte encodingds are loaded by default in both cases.
- *
- * `TextEncoder` and hooks for standards (including `labelToName` / `normalizeEncoding`) do not have any behavior
- * differences in the lite version and support full range if inputs.
- *
- * To avoid inconsistencies, the exported classes and methods are exactly the same objects.
- *
- * ```console
- * > lite = require('@exodus/bytes/encoding-lite.js')
- * [Module: null prototype] {
- * TextDecoder: [class TextDecoder],
- * TextDecoderStream: [class TextDecoderStream],
- * TextEncoder: [class TextEncoder],
- * TextEncoderStream: [class TextEncoderStream],
- * getBOMEncoding: [Function: getBOMEncoding],
- * labelToName: [Function: labelToName],
- * legacyHookDecode: [Function: legacyHookDecode],
- * normalizeEncoding: [Function: normalizeEncoding]
- * }
- * > new lite.TextDecoder('big5').decode(Uint8Array.of(0x25))
- * Uncaught:
- * Error: Legacy multi-byte encodings are disabled in /encoding-lite.js, use /encoding.js for full encodings range support
- *
- * > full = require('@exodus/bytes/encoding.js')
- * [Module: null prototype] {
- * TextDecoder: [class TextDecoder],
- * TextDecoderStream: [class TextDecoderStream],
- * TextEncoder: [class TextEncoder],
- * TextEncoderStream: [class TextEncoderStream],
- * getBOMEncoding: [Function: getBOMEncoding],
- * labelToName: [Function: labelToName],
- * legacyHookDecode: [Function: legacyHookDecode],
- * normalizeEncoding: [Function: normalizeEncoding]
- * }
- * > full.TextDecoder === lite.TextDecoder
- * true
- * > new full.TextDecoder('big5').decode(Uint8Array.of(0x25))
- * '%'
- * > new lite.TextDecoder('big5').decode(Uint8Array.of(0x25))
- * '%'
- * ```
- *
- * @module @exodus/bytes/encoding-lite.js
- */
-
-export * from './encoding.js'