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 0.7.0 to 0.8.0

10

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

@@ -23,8 +23,8 @@ "description": "Character detector",

"devDependencies": {
"github-publish-release": "^5.0.0",
"mocha": "^5.2.0"
"mocha": "^6.1.4",
"semantic-release": "^15.13.18"
},
"repository": {
"type": "git",
"url": "git@github.com:runk/node-chardet.git"
"url": "https://github.com/runk/node-chardet.git"
},

@@ -37,3 +37,3 @@ "bugs": {

"test": "mocha -R spec --recursive --bail",
"release": "scripts/release"
"semantic-release": "semantic-release"
},

@@ -40,0 +40,0 @@ "main": "index.js",

@@ -20,3 +20,3 @@

var chardet = require('chardet');
chardet.detect(Buffer.alloc('hello there!'));
chardet.detect(Buffer.from('hello there!'));
// or

@@ -32,3 +32,3 @@ chardet.detectFile('/path/to/file', function(err, encoding) {});

var chardet = require('chardet');
chardet.detectAll(Buffer.alloc('hello there!'));
chardet.detectAll(Buffer.from('hello there!'));
// or

@@ -35,0 +35,0 @@ chardet.detectFileAll('/path/to/file', function(err, encoding) {});

Sorry, the diff of this file is not supported yet

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