🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

encoding

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

encoding - npm Package Compare versions

Comparing version

to
0.1.9

LICENSE

6

lib/encoding.js

@@ -7,3 +7,5 @@ 'use strict';

try {
Iconv = require('iconv').Iconv;
// this is to fool browserify so it doesn't try (in vain) to install iconv.
var iconv_package = 'iconv';
Iconv = require(iconv_package).Iconv;
} catch (E) {

@@ -119,2 +121,2 @@ // node-iconv not present

toUpperCase();
}
}
{
"name": "encoding",
"version": "0.1.8",
"version": "0.1.9",
"description": "Convert encodings, uses iconv by default and fallbacks to iconv-lite if needed",

@@ -13,3 +13,3 @@ "main": "lib/encoding.js",

"dependencies": {
"iconv-lite": "~0.4.3"
"iconv-lite": "^0.4.4"
},

@@ -16,0 +16,0 @@ "devDependencies": {