Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

images

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

images - npm Package Compare versions

Comparing version 2.1.6 to 2.2.0

bindings/darwin/x64/4.0.0/binding.node

19

index.js

@@ -62,3 +62,20 @@ var USE_OLD_API = false,

},
saveAsync: function (file, type, config, callback) {
if (type && typeof(type) === 'object') {
config = type;
type = undefined;
}
if (!callback) {
if (typeof type === 'function') {
callback = type;
type = undefined;
}
if (typeof config === 'function') {
callback = config;
config = undefined;
}
}
fs.writeFile(file, this.encode(type || path.extname(file), config), callback);
return this;
},
resize: function(width, height, filter) {

@@ -65,0 +82,0 @@ this._handle.resize(width, height, filter);

7

package.json
{
"name": "images",
"version": "2.1.6",
"version": "2.2.0",
"description": "Cross-platform image decoder(png/jpeg/gif) and encoder(png/jpeg) for Node.js",

@@ -19,2 +19,6 @@ "main": "index.js",

"0.12.99"
],
"4.0.0": [
"4.0.0",
"4.99.99"
]

@@ -47,5 +51,4 @@ },

"devDependencies": {
"nan": "1.6.2",
"step": "0.0.5"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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