Comparing version 2.0.2 to 2.0.4
'use strict'; | ||
var bin = require('./lib'); | ||
var path = require('path'); | ||
@@ -9,3 +9,3 @@ /** | ||
module.exports.path = bin.path(); | ||
module.exports.version = bin.v; | ||
exports.path = path.join(__dirname, 'vendor', process.platform === 'win32' ? 'cwebp.exe' : 'cwebp'); | ||
exports.version = '0.4.2'; |
{ | ||
"name": "cwebp-bin", | ||
"version": "2.0.2", | ||
"version": "2.0.4", | ||
"description": "cwebp wrapper that makes it seamlessly available as a local dependency", | ||
@@ -19,4 +19,4 @@ "license": "MIT", | ||
"scripts": { | ||
"postinstall": "node lib/install.js", | ||
"test": "mkdir test/tmp && node test/test.js && rm -rf test/tmp" | ||
"postinstall": "node install.js", | ||
"test": "mkdir -p test/tmp && node test/test.js && rm -rf test/tmp" | ||
}, | ||
@@ -26,3 +26,3 @@ "files": [ | ||
"index.js", | ||
"lib" | ||
"install.js" | ||
], | ||
@@ -29,0 +29,0 @@ "keywords": [ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1
4569
6
58