Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

iconv-lite

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iconv-lite - npm Package Compare versions

Comparing version 0.2.8 to 0.2.9

11

index.js

@@ -12,5 +12,13 @@ // Module exports

defaultCharSingleByte: '?',
encodingsLoaded: false,
// Get correct codec for given encoding.
getCodec: function(encoding) {
if (!iconv.encodingsLoaded) {
applyEncodings(require('./encodings/singlebyte'));
applyEncodings(require('./encodings/gbk'));
applyEncodings(require('./encodings/big5'));
iconv.encodingsLoaded = true;
}
var enc = encoding || "utf8";

@@ -196,5 +204,2 @@ var codecOptions = undefined;

applyEncodings(require('./encodings/singlebyte'));
applyEncodings(require('./encodings/gbk'));
applyEncodings(require('./encodings/big5'));

@@ -201,0 +206,0 @@

{
"name": "iconv-lite",
"description": "Convert character encodings in pure javascript.",
"version": "0.2.8",
"version": "0.2.9",
"license": "MIT",

@@ -16,3 +17,4 @@ "keywords": ["iconv", "convert", "charset"],

"David Kuo (https://github.com/david50407)",
"ChangZhuo Chen (https://github.com/czchen)"
"ChangZhuo Chen (https://github.com/czchen)",
"Lee Treveil (https://github.com/leetreveil)"
],

@@ -19,0 +21,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