Skip to content

Commit

Permalink
New version: 3.1.0.
Browse files Browse the repository at this point in the history
Added web streams.
  • Loading branch information
uhop committed Aug 24, 2024
1 parent 15d35a4 commit 616f48d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ The factory function accepts the following arguments:
* [Two reading modes](https://nodejs.org/api/stream.html#two-reading-modes).
* [Three states](https://nodejs.org/api/stream.html#three-states).
* [readable.resume()](https://nodejs.org/api/stream.html#stream_readable_resume).
* *(Since 3.1.0)* If a value is a web stream object (like `ReadableStream` or `WritableStream`), it is adapted to a corresponding Node stream and included in the pipeline.
* Note that the support of web streams is still experimental in Node.
* `options` is an optional object detailed in the [Node's documentation](https://nodejs.org/api/stream.html#stream_new_stream_duplex_options).
* The default options is this object:
```js
Expand All @@ -205,6 +207,7 @@ BSD-3-Clause
## Release History
- 3.1.0 *Added a seamless support for web streams.*
- 3.0.1 *First release of 3.0. See [wiki](https://github.com/uhop/stream-chain/wiki) for details.*
- 3.0.0 *New major version. Unreleased.*
- 2.2.5 *Relaxed the definition of a stream (thx [Rich Hodgkins](https://github.com/rhodgkins)).*
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stream-chain",
"version": "3.0.1",
"version": "3.1.0",
"description": "Chain functions as transform streams.",
"type": "commonjs",
"main": "src/index.js",
Expand Down

0 comments on commit 616f48d

Please sign in to comment.