- Initial release.
- Use default fs flags and mode
- Update dependencies.
- Add tests for special stream scenarios.
- BREAKING: Remove special handling of terminating events, see jaydenseric/graphql-upload#131
- Update dependencies.
- Move configs out of package.json
- Use
wxfile flag instead of defaultw(thanks to @mattbretl via #8)
- Update dev dependencies.
- Fix mjs structure to work with node v12.
- Fix a bug that would pause consumption of read streams until completion. (thanks to @Nikosmonaut's investigation in #9).
- Emit write event after bytes have been written to the filesystem.
- Revert support for Node.js v12
--experimental-modulesmode that was published in v2.0.2 that broke compatibility with earlier Node.js versions and test both ESM and CJS builds (skipping--experimental-modulestests for Node.js v12), via #11. - Use package
browserslistfield instead of configuring@babel/preset-envdirectly. - Configure
@babel/preset-envto use shipped proposals and loose mode. - Give dev tool config files
.jsonextensions so they can be Prettier linted. - Don't Prettier ignore the
libdirectory; it's meant to be pretty. - Prettier ignore
package.jsonandpackage-lock.jsonso npm can own the formatting. - Configure
eslint-plugin-nodeto resolve.mjsbefore.jsand other extensions, for compatibility with the pre Node.js v12--experimental-modulesbehavior. - Don't ESLint ignore
node_modules, as it's already ignored by default. - Use the
classicTAP reporter for tests as it has more compact output.
- Update dev dependencies.
- Add support for Node.js v13 by no longer extending
ReadStreamandWriteStreamfrom node'sfslibrary. - Specify
0o600for buffer file permissions instead of node's default0o666 - BREAKING: Remove several undocumented properties that existed for consistency with the extended classes.
- BREAKING: No longer listen for
SIGINT, and instead warn the application to add handlers for terminating signals.
- Update source to typescript.
- Add
WriteStream.releasereplacing the functionality of an error-freeWriteStream.destroy() - BREAKING: Change
WriteStream.destroy()to immediately destroy attachedReadStreams even without an error. - BREAKING: Reluctantly remove exported
.mjsfiles now that we have an external commonjs dependency and are still missing clear interop guidance from node.
- Add cleanup example to README.md
- Remove warnings about signal listeners.
- Update dev dependencies.
- Remove dependency on
readable-streamto expose new (but internally unused) features of streams in node v13. - BREAKING: Remove support for node v8.
- Add cleanup example to README.md
- Remove warnings about signal listeners.
- Update dev dependencies.
- Add the ability to specify encoding and highWaterMark in
createReadStream(). - BREAKING: Remove "name" argument from
createReadStream().
- Add the ability to specify defaultEncoding and highWaterMark in
new WriteStream(). - Export
ReadStreamOptionsandWriteStreamOptionsinterfaces. - Add tests for highWaterMark option in
createReadStream. - Add documentation of configuration options to README.
- Upgrade dependencies.
- Update option types to match changes in @types/node.
- Upgrade dependencies.
- Prevent Node.js max listeners exceeded warnings if many
fs-capacitorReadStreaminstances are created at the same time, fixing #30 via #42. - Ensure initialization failures are reported, fixing #45 via #46.
- BREAKING: Drop support for node 13.
- BREAKING: Drop support for node 10.
- BREAKING: Change module type to ES module.
- Publish TS definitions and map via #54.
- Upgrade development dependencies.
- BREAKING: Drop support for node 12.