encoding
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -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": { |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
7599
6
147
0
2
2
Updatediconv-lite@^0.4.4