Socket
Socket
Sign inDemoInstall

minipass

Package Overview
Dependencies
Maintainers
6
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minipass - npm Package Compare versions

Comparing version 4.2.3 to 4.2.4

13

index.js

@@ -103,7 +103,2 @@ 'use strict'

super()
this[SIGNAL] = options && options.signal
if (this[SIGNAL]) {
this[SIGNAL].addEventListener('abort', () => this[ABORT]())
}
this[ABORTED] = false
this[FLOWING] = false

@@ -135,2 +130,10 @@ // whether we're explicitly paused

}
this[SIGNAL] = options && options.signal
this[ABORTED] = false
if (this[SIGNAL]) {
this[SIGNAL].addEventListener('abort', () => this[ABORT]())
if (this[SIGNAL].aborted) {
this[ABORT]()
}
}
}

@@ -137,0 +140,0 @@

{
"name": "minipass",
"version": "4.2.3",
"version": "4.2.4",
"description": "minimal implementation of a PassThrough stream",

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

Sorry, the diff of this file is not supported yet

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