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

stream-wormhole

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-wormhole - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

9

History.md
1.1.0 / 2018-08-15
==================
**features**
* [[`53ec1b2`](http://github.com/node-modules/stream-wormhole/commit/53ec1b21d0847c5c2d32391f60302cc9e96461f4)] - feat: support piped read stream (fengmk2 <<fengmk2@gmail.com>>)
**fixes**
* [[`b2b1aaf`](http://github.com/node-modules/stream-wormhole/commit/b2b1aaf4dcd7741c13b76449ed9ef604a34e1f35)] - fix: should removeListener error handlers (fengmk2 <<fengmk2@gmail.com>>)
1.0.4 / 2018-07-17

@@ -3,0 +12,0 @@ ==================

4

index.js

@@ -9,2 +9,4 @@ 'use strict';

// unpipe it
stream.unpipe && stream.unpipe();
// enable resume first

@@ -23,3 +25,3 @@ stream.resume();

stream.removeListener('close', onEnd);
stream.removeListener('close', onError);
stream.removeListener('error', onError);
}

@@ -26,0 +28,0 @@

{
"name": "stream-wormhole",
"version": "1.0.4",
"version": "1.1.0",
"description": "Pipe ReadStream to a wormhole",

@@ -10,4 +10,4 @@ "main": "index.js",

"scripts": {
"test": "npm run lint && mocha -t 5000 test/*.test.js -r thunk-mocha",
"test-cov": "istanbul cover _mocha -- -t 5000 test/*.test.js -r thunk-mocha",
"test": "npm run lint && mocha test/*.test.js -r thunk-mocha",
"test-cov": "istanbul cover _mocha -- test/*.test.js -r thunk-mocha",
"lint": "eslint *.js test",

@@ -14,0 +14,0 @@ "ci": "npm run lint && npm run test-cov"

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