New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pngcrush-bin

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pngcrush-bin - npm Package Compare versions

Comparing version

to
0.1.17

4

index.js

@@ -16,4 +16,6 @@ 'use strict';

.src('https://raw.github.com/1000ch/node-pngcrush-bin/master/vendor/linux/pngcrush', 'linux')
.src('https://raw.github.com/1000ch/node-pngcrush-bin/master/vendor/win/x64/pngcrush', 'win32', 'x64')
.src('https://raw.github.com/1000ch/node-pngcrush-bin/master/vendor/win/x32/pngcrush', 'win32', 'x32')
.dest(path.join(__dirname, 'vendor'))
.use('pngcrush');
.use(process.platform === 'win32' ? 'pngcrush.exe' : 'pngcrush');

@@ -20,0 +22,0 @@ /**

{
"name": "pngcrush-bin",
"version": "0.1.16",
"version": "0.1.17",
"description": "Pngcrush wrapper that makes it seamlessly available as a local dependency on OS X, Linux",

@@ -31,3 +31,3 @@ "keywords": [

"scripts": {
"test": "mocha --reporter spec --timeout 0",
"test": "mocha --reporter spec --timeout 50000",
"postinstall": "node index.js"

@@ -34,0 +34,0 @@ },

@@ -25,5 +25,5 @@ # [node-pngcrush-bin](https://npmjs.org/package/pngcrush-bin)

execFile(pngcrush, ['-reduce', '-brute', 'input.png', 'output.png'], function (err) {
if (err) {
throw err;
execFile(pngcrush, ['-reduce', '-brute', 'input.png', 'output.png'], function (error) {
if (error) {
throw error;
}

@@ -30,0 +30,0 @@