Comparing version 0.1.4 to 0.1.5
@@ -14,2 +14,3 @@ 'use strict'; | ||
var BIN_VERSION = '2.1'; | ||
var BASE_URL = 'https://raw.github.com/kevva/mozjpeg/v' + pkg.version + '/vendor/'; | ||
@@ -20,5 +21,7 @@ /** | ||
var bin = new BinWrapper ({ global: false }) | ||
var bin = new BinWrapper({ global: false }) | ||
.src(BASE_URL + 'linux/jpegtran', 'linux') | ||
.src(BASE_URL + 'win/jpegtran.exe', 'win32') | ||
.dest(path.join(__dirname, 'vendor')) | ||
.use('jpegtran'); | ||
.use(process.platform === 'win32' ? 'jpegtran.exe' : 'jpegtran'); | ||
@@ -25,0 +28,0 @@ /** |
{ | ||
"name": "mozjpeg", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "mozjpeg wrapper that makes it seamlessly available as a local dependency", | ||
@@ -20,3 +20,3 @@ "license": "MIT", | ||
"postinstall": "node index.js", | ||
"test": "mocha --reporter list --timeout 100000" | ||
"test": "mocha --reporter list --timeout 150000" | ||
}, | ||
@@ -23,0 +23,0 @@ "files": [ |
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
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
3212
46