Comparing version 2.0.5 to 3.0.0
{ | ||
"name": "through2", | ||
"version": "2.0.5", | ||
"description": "A tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise", | ||
"version": "3.0.0", | ||
"description": "A tiny wrapper around Node.js streams.Transform (Streams2/3) to avoid explicit subclassing noise", | ||
"main": "through2.js", | ||
"scripts": { | ||
"test": "node test/test.js | faucet" | ||
"test": "nyc node test/test.js | faucet && nyc report" | ||
}, | ||
@@ -22,3 +22,3 @@ "repository": { | ||
"dependencies": { | ||
"readable-stream": "~2.3.6", | ||
"readable-stream": "2 || 3", | ||
"xtend": "~4.0.1" | ||
@@ -30,3 +30,2 @@ }, | ||
"nyc": "~13.1.0", | ||
"safe-buffer": "~5.1.2", | ||
"stream-spigot": "~3.0.6", | ||
@@ -33,0 +32,0 @@ "tape": "~4.9.1" |
@@ -5,7 +5,7 @@ # through2 | ||
**A tiny wrapper around Node streams.Transform (Streams2/3) to avoid explicit subclassing noise** | ||
**A tiny wrapper around Node.js streams.Transform (Streams2/3) to avoid explicit subclassing noise** | ||
Inspired by [Dominic Tarr](https://github.com/dominictarr)'s [through](https://github.com/dominictarr/through) in that it's so much easier to make a stream out of a function than it is to set up the prototype chain properly: `through(function (chunk) { ... })`. | ||
Note: As 2.x.x this module starts using **Streams3** instead of Stream2. To continue using a Streams2 version use `npm install through2@0` to fetch the latest version of 0.x.x. More information about Streams2 vs Streams3 and recommendations see the article **[Why I don't use Node's core 'stream' module](http://r.va.gg/2014/06/why-i-dont-use-nodes-core-stream-module.html)**. | ||
***Note: Users of Node.js 0.10 and 0.12 should install `through2@2.x`. As of through2@3.x, readable-stream@3 is being used and is not compatible with older versions of Node.js.*** | ||
@@ -12,0 +12,0 @@ ```js |
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
5
9459
+ Addedreadable-stream@3.6.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedstring_decoder@1.3.0(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedisarray@1.0.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
Updatedreadable-stream@2 || 3