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

gm

Package Overview
Dependencies
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gm - npm Package Compare versions

Comparing version 1.12.1 to 1.12.2

6

History.md

@@ -1,3 +0,7 @@

1.12.1 / 2013-08-29
1.12.2 / 2013-08-29
===================
* fixed; fallback to through in node 0.8
1.12.1 / 2013-08-29 (unpublished)
===================
* refactor; replace through with stream.PassThrough

@@ -4,0 +8,0 @@

13

lib/command.js

@@ -12,4 +12,11 @@

var streamToBuffer = require('stream-to-buffer');
var PassThrough = require('stream').PassThrough;
/*
* Creates a pass through stream.
* We need to fallback to the `through` lib for node 0.8 support
* as PassThrough was added in node 0.10.
*/
var PassThrough = require('stream').PassThrough || require('through');
/**

@@ -96,5 +103,3 @@ * Error messaging.

if ("function" !== typeof callback) {
throughStream = new PassThrough({
objectMode: true
})
throughStream = new PassThrough();
callback = function (err, stdout, stderr) {

@@ -101,0 +106,0 @@ if (err) throughStream.emit('error', err);

{
"name": "gm",
"description": "GraphicsMagick for node.js",
"version": "1.12.1",
"version": "1.12.2",
"author": "Aaron Heckmann <aaron.heckmann+github@gmail.com>",

@@ -46,4 +46,5 @@ "keywords": [

"array-parallel": "~0.1.0",
"stream-to-buffer": "~0.0.1"
"stream-to-buffer": "~0.0.1",
"through": "~2.3.1"
}
}

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

# gm v1.12.1 [![Build Status](https://travis-ci.org/aheckmann/gm.png?branch=master)](https://travis-ci.org/aheckmann/gm)
# gm v1.12.2 [![Build Status](https://travis-ci.org/aheckmann/gm.png?branch=master)](https://travis-ci.org/aheckmann/gm)

@@ -3,0 +3,0 @@ GraphicsMagick for node

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