Skip to content

Commit

Permalink
v6.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-marcacci committed May 30, 2020
1 parent 1a97546 commit 8ffe7db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,8 @@
- Export `ReadStreamOptions` and `WriteStreamOptions` interfaces.
- Add tests for highWaterMark option in `createReadStream`.
- Add documentation of configuration options to README.

### 6.2.0

- Upgrade dependencies.
- Update option types to match changes in @types/node.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fs-capacitor",
"version": "6.1.0",
"version": "6.2.0",
"description": "Filesystem-buffered, passthrough stream that buffers indefinitely rather than propagate backpressure from downstream consumers.",
"license": "MIT",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class ReadStream extends Readable {

// Using `allocUnsafe` here is OK because we return a slice the length of
// `bytesRead`, and discard the rest. This prevents node from having to zero
// out the enture allocation first.
// out the entire allocation first.
const buf = Buffer.allocUnsafe(n);
fs.read(
this._writeStream["_fd"],
Expand Down

0 comments on commit 8ffe7db

Please sign in to comment.