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

promise-readable

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise-readable - npm Package Compare versions

Comparing version 3.1.2 to 3.1.3

4

CHANGELOG.md
# Changelog
## v3.1.3 2018-02-05
* Minor bugfix for `destroy`.
## v3.1.2 2018-02-05

@@ -4,0 +8,0 @@

8

lib/promise-readable.js

@@ -193,7 +193,7 @@ 'use strict'

destroy () {
if (this._errorHandler) {
this.stream.removeListener('error', this._errorHandler)
delete this._errorHandler
}
if (this.stream) {
if (this._errorHandler) {
this.stream.removeListener('error', this._errorHandler)
delete this._errorHandler
}
if (typeof this.stream.destroy === 'function') {

@@ -200,0 +200,0 @@ this.stream.destroy()

{
"name": "promise-readable",
"version": "3.1.2",
"version": "3.1.3",
"description": "Return promise for readable stream",

@@ -5,0 +5,0 @@ "main": "lib/promise-readable.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