Skip to content
This repository was archived by the owner on May 26, 2025. It is now read-only.
Merged
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
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Change Log

All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/).

## 0.2.2 - 2016-09-27

* Tolerate version mis-matches for ReadableStream library; v0.2.2 [Gabriel Wicke]
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"
}
}