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

sharp

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sharp - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

8

index.js

@@ -110,5 +110,9 @@ /*jslint node: true */

if (!output || output.length === 0) {
throw 'Invalid output';
callback('Invalid output');
} else {
this._sharp(output, callback);
if (this.options.inFile === output) {
callback('Cannot use same file for input and output');
} else {
this._sharp(output, callback);
}
}

@@ -115,0 +119,0 @@ return this;

{
"name": "sharp",
"version": "0.4.1",
"version": "0.4.2",
"author": "Lovell Fuller <npm@lovell.info>",

@@ -34,3 +34,3 @@ "contributors": [

"dependencies": {
"nan": "^1.0.0"
"nan": "^1.1.0"
},

@@ -37,0 +37,0 @@ "devDependencies": {

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