Socket
Socket
Sign inDemoInstall

chardet

Package Overview
Dependencies
0
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.1 to 1.6.0

lib/encoding/ascii.d.ts

2

lib/index.js

@@ -31,2 +31,3 @@ "use strict";

const node_1 = __importDefault(require("./fs/node"));
const ascii_1 = __importDefault(require("./encoding/ascii"));
const utf8_1 = __importDefault(require("./encoding/utf8"));

@@ -61,2 +62,3 @@ const unicode = __importStar(require("./encoding/unicode"));

new sbcs.KOI8_R(),
new ascii_1.default(),
];

@@ -63,0 +65,0 @@ const detect = (buffer) => {

6

package.json
{
"name": "chardet",
"version": "1.5.1",
"version": "1.6.0",
"homepage": "https://github.com/runk/node-chardet",

@@ -40,6 +40,6 @@ "description": "Character encoding detector",

"prettier": "^2.7.1",
"semantic-release": "^19.0.5",
"semantic-release": "^21.0.0",
"ts-jest": "^29.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
"typescript": "^5.0.0"
},

@@ -46,0 +46,0 @@ "keywords": [

# chardet
*Chardet* is a character detection module written in pure Javascript (Typescript). Module uses occurrence analysis to determine the most probable encoding.
*Chardet* is a character detection module written in pure JavaScript (TypeScript). Module uses occurrence analysis to determine the most probable encoding.

@@ -10,3 +10,3 @@ - Packed size is only **22 KB**

- No native code / bindings
- 100% written in Typescript
- 100% written in TypeScript
- Extensive code coverage

@@ -102,3 +102,3 @@

## Typescript?
## TypeScript?

@@ -105,0 +105,0 @@ Yes. Type definitions are included.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc