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

streamx

Package Overview
Dependencies
Maintainers
1
Versions
64
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 2.6.0 to 2.6.1

3

index.js

@@ -136,3 +136,4 @@ const { EventEmitter } = require('events')

end (data) {
if (data !== undefined && data !== null) this.push(data)
if (typeof data === 'function') this.once('finish', data)
else if (data !== undefined && data !== null) this.push(data)
this.stream._duplexState = (this.stream._duplexState | WRITE_FINISHING) & WRITE_NON_PRIMARY

@@ -139,0 +140,0 @@ }

{
"name": "streamx",
"version": "2.6.0",
"version": "2.6.1",
"description": "An iteration of the Node.js core streams with a series of improvements",

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

@@ -213,3 +213,3 @@ # streamx

### `stream = Readable.from(arrayOrBufferOrStringOrAsyncIterator)
#### `stream = Readable.from(arrayOrBufferOrStringOrAsyncIterator)`

@@ -216,0 +216,0 @@ Static method to turn an array or buffer or string or AsyncIterator into a readable stream.

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