Socket
Socket
Sign inDemoInstall

through2

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

through2 - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

3

package.json
{
"name": "through2",
"version": "3.0.1",
"version": "3.0.2",
"description": "A tiny wrapper around Node.js streams.Transform (Streams2/3) to avoid explicit subclassing noise",

@@ -22,2 +22,3 @@ "main": "through2.js",

"dependencies": {
"inherits": "^2.0.4",
"readable-stream": "2 || 3"

@@ -24,0 +25,0 @@ },

@@ -57,3 +57,3 @@ # through2

Consult the **[stream.Transform](http://nodejs.org/docs/latest/api/stream.html#stream_class_stream_transform)** documentation for the exact rules of the `transformFunction` (i.e. `this._transform`) and the optional `flushFunction` (i.e. `this._flush`).
Consult the **[stream.Transform](https://nodejs.org/docs/latest/api/stream.html#stream_class_stream_transform)** documentation for the exact rules of the `transformFunction` (i.e. `this._transform`) and the optional `flushFunction` (i.e. `this._flush`).

@@ -73,3 +73,3 @@ ### options

}
)
))
.pipe(fs.createWriteStream('/tmp/wut.txt'))

@@ -76,0 +76,0 @@ ```

var Transform = require('readable-stream').Transform
, inherits = require('util').inherits
, inherits = require('inherits')

@@ -4,0 +4,0 @@ function DestroyableTransform(opts) {

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