Socket
Socket
Sign inDemoInstall

stream-assert

Package Overview
Dependencies
7
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

1

index.js

@@ -105,2 +105,3 @@ var assertStream = require('./assertStream.js');

} else {
i++;
cb(null, obj);

@@ -107,0 +108,0 @@ }

2

package.json
{
"name": "stream-assert",
"version": "2.0.1",
"version": "2.0.2",
"description": "Assertion library for streams",

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

@@ -21,2 +21,7 @@ # stream-assert

## Chaining
Assertions are chained through passing `assertion` from pipe to pipe. If you want inject assertions in the middle of pipeline, you can attach `on('assertion')` handler to manualy catch assertions (instead of placing `assert.end`).
## API

@@ -23,0 +28,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc