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

duplexify

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

duplexify - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

8

index.js

@@ -34,2 +34,4 @@ var stream = require('readable-stream')

var noop = function() {}
var toStreams2 = function(rs) {

@@ -177,4 +179,5 @@ return new (stream.Readable)({objectMode:true, highWaterMark:16}).wrap(rs)

Duplexify.prototype.destroy = function(err) {
if (this.destroyed) return
Duplexify.prototype.destroy = function(err, cb) {
if (!cb) cb = noop
if (this.destroyed) return cb(null)
this.destroyed = true

@@ -185,2 +188,3 @@

self._destroy(err)
cb(null)
})

@@ -187,0 +191,0 @@ }

{
"name": "duplexify",
"version": "4.1.0",
"version": "4.1.1",
"description": "Turn a writable and readable stream into a streams2 duplex stream with support for async initialization and streams1/streams2 input",

@@ -5,0 +5,0 @@ "main": "index.js",

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