Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release the fork as a @balena module until the PR gets merged #5

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# node-web-streams
# @balena/node-web-streams
WhatWG web streams and conversion utilities for node.js

This is a fork of [gwicke's node-web-streams module](https://github.com/gwicke/node-web-streams),
which exposes webstream read errors as node error events.
This is meant to provide a proper npm release until
[the respective upstream PR](https://github.com/gwicke/node-web-streams/pull/4)
gets merged.

This provides the [WhatWG streams](https://streams.spec.whatwg.org) API for
node. It leverages the [WhatWG reference
implementation](https://github.com/whatwg/streams), but also addresses
Expand Down
3 changes: 2 additions & 1 deletion lib/conversions.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ class NodeReadable extends Readable {
} else {
this._reading = false;
}
});
})
.catch(e => this.emit('error', e));
};
doRead();
}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "node-web-streams",
"name": "@balena/node-web-streams",
"version": "0.2.2",
"description": "WhatWG web streams and conversion utilities for node.js",
"main": "index.js",
Expand All @@ -8,7 +8,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/gwicke/node-web-streams.git"
"url": "https://github.com/balena-io-modules/node-web-streams.git"
},
"keywords": [
"streamspec",
Expand All @@ -21,10 +21,10 @@
"author": "Gabriel Wicke <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/gwicke/node-web-streams/issues"
"url": "https://github.com/balena-io-modules/node-web-streams/issues"
},
"dependencies": {
"is-stream": "^1.1.0",
"web-streams-polyfill": "git://github.com/gwicke/web-streams-polyfill#spec_performance_improvements"
"web-streams-polyfill": "^1.3.2"
}
}