You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

streamx

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

streamx - npm Package Compare versions

Comparing version

to
2.6.3

12

index.js

@@ -110,2 +110,6 @@ const { EventEmitter } = require('events')

get ended () {
return (this.stream._duplexState & WRITE_DONE) !== 0
}
push (data) {

@@ -212,2 +216,6 @@ if (this.map !== null) data = this.map(data)

get ended () {
return (this.stream._duplexState & READ_DONE) !== 0
}
pipe (pipeTo, cb) {

@@ -526,7 +534,7 @@ if (this.pipeTo !== null) throw new Error('Can only pipe to one destination')

get readable () {
return this._readableState !== null
return this._readableState !== null ? true : undefined
}
get writable () {
return this._writableState !== null
return this._writableState !== null ? true : undefined
}

@@ -533,0 +541,0 @@

2

package.json
{
"name": "streamx",
"version": "2.6.2",
"version": "2.6.3",
"description": "An iteration of the Node.js core streams with a series of improvements",

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