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

node-pngquant-native

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-pngquant-native - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

lib/darwin/x64/0.12.0/pngquant_native.node

4

binding.js

@@ -14,4 +14,6 @@ var fs = require("fs"),

'0.8.0',
'0.9.9'
'0.9.9',
'0.12.0'
];
tryList = [

@@ -18,0 +20,0 @@ path.join(__dirname, "build", "Release", name) // build dir

@@ -53,11 +53,10 @@ var _handle = require('./binding.js');

compress: function(buffer, opt, cb) {
cb = cb || function() {};
if (Object.prototype.toString.call(opt) == '[object Function]') {
cb = opt;
} else {
compress: function(buffer, opt) {
if (Object.prototype.toString.call(opt) == '[object Object]') {
this.option(opt);
}
var handle = new _handle.Pngquant();
out = handle.compress(buffer, this.params, cb);
out = handle.compress(buffer, this.params, function nope(){});
return out;

@@ -64,0 +63,0 @@ }

{
"name": "node-pngquant-native",
"version": "0.0.12",
"version": "0.0.13",
"description": "A pngquant addon of node",

@@ -29,3 +29,6 @@ "main": "index.js",

"url": "https://github.com/xiangshouding/node-pngquant-native/issues"
},
"dependencies": {
"nan": "^1.6.2"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc