Socket
Socket
Sign inDemoInstall

jschardet

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jschardet - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

tests/index.html

3

package.json
{
"name": "jschardet",
"version": "1.1.1",
"version": "1.2.0",
"description": "Character encoding auto-detection in JavaScript (port of python's chardet)",
"main": "src/init",
"author": "António Afonso",
"license": "LGPL-2.1+",
"keywords": ["encoding", "charset"],

@@ -8,0 +9,0 @@ "repository" : {

@@ -23,3 +23,3 @@ JsChardet

jschardet.detect("\xc3\xa0\xc3\xad\xc3\xa0\xc3\xa7\xc3\xa3")
// { encoding: "utf-8", confidence: 0.9690625 }
// { encoding: "UTF-8", confidence: 0.9690625 }

@@ -26,0 +26,0 @@ // "次常用國字標準字體表" in Big5

@@ -50,3 +50,3 @@ /*

this.getCharsetName = function() {
return "utf-8";
return "UTF-8";
}

@@ -53,0 +53,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc