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

node-pngcrush

Package Overview
Dependencies
Maintainers
3
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-pngcrush - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

5

index.js

@@ -0,1 +1,2 @@

var semver = require('semver');
var _handle = require('./scripts/util/binding.js')();

@@ -20,5 +21,5 @@

if (cb) this._callback = cb;
if (process.versions.node >= '10.0.0') {
if (semver.gte(process.versions.node, '10.0.0')) {
out = (new _handle.Pngcrush(buffer, this._option)).compress();
} else if (process.versions.node >= '4.0.0') {
} else if (semver.gte(process.versions.node, '4.0.0')) {
out = new _handle(buffer, this._option).compress();

@@ -25,0 +26,0 @@ } else {

{
"name": "node-pngcrush",
"version": "1.0.1",
"version": "1.0.2",
"description": "The node-pngcrush is an addon of node, as a readable/writable stream",

@@ -27,3 +27,4 @@ "main": "index.js",

"npmlog": "^4.0.0",
"request": "^2.79.0"
"request": "^2.88.0",
"semver": "^5.6.0"
},

@@ -30,0 +31,0 @@ "author": "xiangshouding <xiangshouding@baidu.com>",

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