Comparing version 2.1.3 to 2.1.4
@@ -25,3 +25,5 @@ | ||
var bindingMap = require('./package.json').bindingMap; | ||
var pkgInf = require('./package.json'); | ||
var bindingMap = pkgInf.bindingMap; | ||
var bugUrl = pkgInf['bugs'] ? (pkgInf['bugs']['url'] || '') : ''; | ||
@@ -40,3 +42,3 @@ for ( var i in bindingMap) { | ||
} catch ( e ) { | ||
throw new Error('Can\'t load the addon. Issue to: https://github.com/zhangyuanwei/issues. ' + e.stack); | ||
throw new Error('Can\'t load the addon. Issue to: ' + bugUrl + ' ' + e.stack); | ||
} | ||
@@ -47,2 +49,2 @@ } | ||
throw new Error('Can\'t load the addon. Issue to: https://github.com/zhangyuanwei/issues.'); | ||
throw new Error('Can\'t load the addon. Issue to: ' + bugUrl); |
{ | ||
"name": "images", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "Cross-platform image decoder(png/jpeg/gif) and encoder(png/jpeg) for Node.js", | ||
@@ -23,3 +23,3 @@ "main": "index.js", | ||
"test": "node test.js", | ||
"install": "node -e \"\"" | ||
"install": "echo \"Hello, World.\"" | ||
}, | ||
@@ -26,0 +26,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 9 instances in 1 package
442
17
10027836
36