jschardet icon indicating copy to clipboard operation
jschardet copied to clipboard

Character encoding auto-detection in JavaScript (port of python's chardet)

Results 40 jschardet issues
Sort by recently updated
recently updated
newest added

Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...

dependencies

i want a new dist, long time not build, please npm publish

Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...

dependencies

I tried to build for development by running `npm run dist`, but I get multiple errors ``` > npm run dist-dev && java -jar node_modules/google-closure-compiler/compiler.jar --warning_level QUIET --compilation_level SIMPLE_OPTIMIZATIONS --js...

If used with this options ``` { detectEncodings: ["UTF-8", "windows-1252"] } ``` the following error occurs: ``` ERROR Error: Uncaught (in promise): ReferenceError: lowerDetectedEncodings is not defined ReferenceError: lowerDetectedEncodings is...

denormalizedEncodings is not defined : ``` const supportedEncodingsDenormalized = (function() { denormalizedEncodings = [];

![image](https://github.com/aadsm/jschardet/assets/10450717/f92a0b41-e980-4677-a0d7-f8140c2198bf) This was never initialized, so script fails sadly :(

fix https://github.com/aadsm/jschardet/issues/97 👋 We (VS Code) are in the process of moving to ESM (https://github.com/microsoft/vscode/pull/166033) and are running into an issue when loading `jschardet.min.js` into our node.js environment. The error...

See this code: ```js const vm = require('vm'); const mod = require('module'); const fs = require('fs'); const content = fs.readFileSync('/jschardet.min.js', 'utf8'); const scriptSource = mod.wrap(content.replace(/^#!.*/, '')); const script = new...