fs-capacitor
Advanced tools
Comparing version 4.0.0 to 5.0.0
@@ -13,3 +13,3 @@ # fs-capacitor changelog | ||
- Updated dependencies. | ||
- Update dependencies. | ||
- Add tests for special stream scenarios. | ||
@@ -20,3 +20,3 @@ - **BREAKING:** Remove special handling of terminating events, see [jaydenseric/graphql-upload#131](https://github.com/jaydenseric/graphql-upload/issues/131) | ||
- Updated dependencies. | ||
- Update dependencies. | ||
- Move configs out of package.json | ||
@@ -27,3 +27,3 @@ - Use `wx` file flag instead of default `w` (thanks to @mattbretl via #8) | ||
- Updated dev dependencies. | ||
- Update dev dependencies. | ||
- Fix mjs structure to work with node v12. | ||
@@ -50,3 +50,3 @@ - Fix a bug that would pause consumption of read streams until completion. (thanks to @Nikosmonaut's investigation in #9). | ||
- Updated dev dependencies. | ||
- Update dev dependencies. | ||
- Add support for Node.js v13 by no longer extending `ReadStream` and `WriteStream` from node's `fs` library. | ||
@@ -63,1 +63,7 @@ - Specify `0o600` for buffer file permissions instead of node's default `0o666` | ||
- **BREAKING:** Reluctantly remove exported `.mjs` files now that we have an external commonjs dependency and are still missing clear interop guidance from node. | ||
## 5.0.0 | ||
- Update dev dependencies. | ||
- Remove dependency on `readable-stream` to expose new (but internally unused) features of streams in node v13. | ||
- **BREAKING:** Remove support for node v8. |
@@ -10,3 +10,3 @@ "use strict"; | ||
const path_1 = __importDefault(require("path")); | ||
const readable_stream_1 = require("readable-stream"); | ||
const stream_1 = require("stream"); | ||
function checkSignalListeners() { | ||
@@ -26,3 +26,3 @@ if (!process.listeners("SIGINT").length) | ||
exports.ReadAfterReleasedError = ReadAfterReleasedError; | ||
class ReadStream extends readable_stream_1.Readable { | ||
class ReadStream extends stream_1.Readable { | ||
constructor(writeStream, name) { | ||
@@ -76,3 +76,3 @@ super(); | ||
exports.ReadStream = ReadStream; | ||
class WriteStream extends readable_stream_1.Writable { | ||
class WriteStream extends stream_1.Writable { | ||
constructor() { | ||
@@ -79,0 +79,0 @@ super(); |
{ | ||
"name": "fs-capacitor", | ||
"version": "4.0.0", | ||
"version": "5.0.0", | ||
"description": "Filesystem-buffered, passthrough stream that buffers indefinitely rather than propagate backpressure from downstream consumers.", | ||
@@ -25,15 +25,15 @@ "license": "MIT", | ||
"engines": { | ||
"node": ">=8.5" | ||
"node": ">=10" | ||
}, | ||
"browserslist": "node >= 8.5", | ||
"browserslist": "node >= 10", | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^2.3.2", | ||
"@typescript-eslint/parser": "^2.3.2", | ||
"@typescript-eslint/eslint-plugin": "^2.7.0", | ||
"@typescript-eslint/parser": "^2.7.0", | ||
"ava": "^2.4.0", | ||
"eslint": "^6.5.1", | ||
"eslint-config-prettier": "^6.3.0", | ||
"eslint-config-prettier": "^6.6.0", | ||
"eslint-plugin-prettier": "^3.1.1", | ||
"nodemon": "^1.19.3", | ||
"prettier": "^1.18.2", | ||
"typescript": "^3.6.3" | ||
"prettier": "^1.19.1", | ||
"typescript": "^3.7.2" | ||
}, | ||
@@ -50,6 +50,3 @@ "scripts": { | ||
}, | ||
"dependencies": { | ||
"@types/readable-stream": "^2.3.5", | ||
"readable-stream": "^3.4.0" | ||
} | ||
"dependencies": {} | ||
} |
[![Build status](https://travis-ci.org/mike-marcacci/fs-capacitor.svg?branch=master)](https://travis-ci.org/mike-marcacci/fs-capacitor) [![Current version](https://badgen.net/npm/v/fs-capacitor)](https://npm.im/fs-capacitor) ![Supported Node.js versions](https://badgen.net/npm/node/fs-capacitor) | ||
**If you need to run fs-capacitor on node version 8, use fs-capacitor version 4 which will continue to be supported through node v8's LTS end-of-life, which is January 1, 2020.** | ||
# FS Capacitor | ||
@@ -4,0 +6,0 @@ |
19103
0
91
- Removed@types/readable-stream@^2.3.5
- Removedreadable-stream@^3.4.0
- Removed@types/node@20.12.12(transitive)
- Removed@types/readable-stream@2.3.15(transitive)
- Removedinherits@2.0.4(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedsafe-buffer@5.1.25.2.1(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedundici-types@5.26.5(transitive)
- Removedutil-deprecate@1.0.2(transitive)