Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "through2", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "A tiny wrapper around Node.js streams.Transform (Streams2/3) to avoid explicit subclassing noise", | ||
@@ -22,4 +22,3 @@ "main": "through2.js", | ||
"dependencies": { | ||
"readable-stream": "2 || 3", | ||
"xtend": "~4.0.1" | ||
"readable-stream": "2 || 3" | ||
}, | ||
@@ -26,0 +25,0 @@ "devDependencies": { |
@@ -9,3 +9,3 @@ # through2 | ||
***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.*** | ||
***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.*** _v2.x support is being maintained on the [v2.x](https://github.com/rvagg/through2/tree/v2.x) branch._ | ||
@@ -135,2 +135,2 @@ ```js | ||
**through2** is Copyright (c) Rod Vagg [@rvagg](https://twitter.com/rvagg) and additional contributors and licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details. | ||
**through2** is Copyright (c) Rod Vagg and additional contributors and licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details. |
var Transform = require('readable-stream').Transform | ||
, inherits = require('util').inherits | ||
, xtend = require('xtend') | ||
@@ -71,3 +70,3 @@ function DestroyableTransform(opts) { | ||
this.options = xtend(options, override) | ||
this.options = Object.assign({}, options, override) | ||
@@ -89,3 +88,3 @@ DestroyableTransform.call(this, this.options) | ||
module.exports.obj = through2(function (options, transform, flush) { | ||
var t2 = new DestroyableTransform(xtend({ objectMode: true, highWaterMark: 16 }, options)) | ||
var t2 = new DestroyableTransform(Object.assign({ objectMode: true, highWaterMark: 16 }, options)) | ||
@@ -92,0 +91,0 @@ t2._transform = transform |
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
17355
1
5
67
- Removedxtend@~4.0.1
- Removedxtend@4.0.2(transitive)