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

pmp-image

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pmp-image - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

dist/index.js

@@ -38,3 +38,3 @@ 'use strict';

folderPath: './images',
dimensions: [100, 200, 300],
dimensions: [150, 300],
request: {

@@ -41,0 +41,0 @@ json: true,

@@ -22,2 +22,6 @@ 'use strict';

var _fs = require('fs');
var _fs2 = _interopRequireDefault(_fs);
/**

@@ -58,3 +62,10 @@ * [saveAsFile description]

if (parseInt(res.bytes) <= 0) {
done(new Error('response bytes ' + res.bytes));
_fs2['default'].unlink(filePath, function (err) {
if (err) {
done(err);
return;
}
done(new Error('response bytes ' + res.bytes));
});
return;

@@ -61,0 +72,0 @@ }

{
"name": "pmp-image",
"version": "0.0.5",
"version": "0.0.6",
"description": "PicMePlease image",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/paolo-chiabrera/pmp-image",

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