Comparing version 1.12.1 to 1.12.2
@@ -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 @@ |
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
99309
1855
5
+ Addedthrough@~2.3.1
+ Addedthrough@2.3.8(transitive)