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

consumable-stream

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consumable-stream - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

9

index.js

@@ -22,11 +22,2 @@ class ConsumableStream {

createConsumable(timeout) {
let asyncIterator = this.createConsumer(timeout);
return {
[Symbol.asyncIterator]: () => {
return asyncIterator;
}
}
}
[Symbol.asyncIterator]() {

@@ -33,0 +24,0 @@ return this.createConsumer();

2

package.json
{
"name": "consumable-stream",
"version": "1.0.0",
"version": "2.0.0",
"description": "A readable async stream which can be iterated over using a for-await-of loop.",

@@ -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