fs-capacitor

Filesystem-bufferred, passthrough stream that buffers indefinitely rather than propagate backpressure from downstream consumers.

MIT License

Downloads
2.8M
Stars
36
Committers
7

Bot releases are hidden (Show)

fs-capacitor - v8.0.0 Latest Release

Published by mike-marcacci about 2 years ago

  • Upgrade development dependencies.
  • BREAKING: Drop support for node 12.
fs-capacitor - v7.0.0

Published by mike-marcacci over 3 years ago

  • Upgrade dependencies.
  • Prevent Node.js max listeners exceeded warnings if many fs-capacitor ReadStream instances 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.
fs-capacitor - v6.2.0

Published by mike-marcacci over 4 years ago

  • Upgrade dependencies.
  • Update option types to match changes in @types/node.
fs-capacitor - v6.1.0

Published by mike-marcacci over 4 years ago

  • Add the ability to specify defaultEncoding and highWaterMark in new WriteStream().
  • Export ReadStreamOptions and WriteStreamOptions interfaces.
  • Add tests for highWaterMark option in createReadStream.
  • Add documentation of configuration options to README.
fs-capacitor - v6.0.0

Published by mike-marcacci over 4 years ago

  • Update dev dependencies.
  • Add the ability to specify encoding and highWaterMark in createReadStream().
  • BREAKING: Remove "name" argument from createReadStream().
fs-capacitor - v5.0.0

Published by mike-marcacci almost 5 years ago

  • 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.
fs-capacitor - v4.0.0

Published by mike-marcacci almost 5 years ago

  • Update source to typescript.
  • Add WriteStream.release replacing the functionality of an error-free WriteStream.destroy()
  • BREAKING: Change WriteStream.destroy() to immediately destroy attached ReadStreams even without an error.
  • BREAKING: Reluctantly remove exported .mjs files now that we have an external commonjs dependency and are still missing clear interop guidance from node.
fs-capacitor - v3.0.0

Published by mike-marcacci almost 5 years ago

  • Updated dev dependencies.
  • Add support for Node.js v13 by no longer extending ReadStream and WriteStream from node's fs library.
  • Specify 0o600 for buffer file permissions instead of node's default 0o666
  • 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.
fs-capacitor - v2.0.4

Published by mike-marcacci over 5 years ago

  • Revert support for Node.js v12 --experimental-modules mode that was published in v2.0.2 that broke compatibility with earlier Node.js versions and test both ESM and CJS builds (skipping --experimental-modules tests for Node.js v12), via #11.
  • Use package browserslist field instead of configuring @babel/preset-env directly.
  • Configure @babel/preset-env to use shipped proposals and loose mode.
  • Give dev tool config files .json extensions so they can be Prettier linted.
  • Don't Prettier ignore the lib directory; it's meant to be pretty.
  • Prettier ignore package.json and package-lock.json so npm can own the formatting.
  • Configure eslint-plugin-node to resolve .mjs before .js and other extensions, for compatibility with the pre Node.js v12 --experimental-modules behavior.
  • Don't ESLint ignore node_modules, as it's already ignored by default.
  • Use the classic TAP reporter for tests as it has more compact output.
fs-capacitor - v2.0.3

Published by mike-marcacci over 5 years ago

  • Emit write event after bytes have been written to the filesystem.
fs-capacitor - v2.0.2

Published by mike-marcacci over 5 years ago

  • Updated 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).
fs-capacitor - v2.0.1

Published by mike-marcacci over 5 years ago

  • Updated dependencies.
  • Move configs out of package.json
  • Use wx file flag instead of default w (thanks to @mattbretl via #8)
fs-capacitor - v2.0.0

Published by mike-marcacci over 5 years ago

  • Updated dependencies.
  • Add tests for special stream scenarios.
  • BREAKING: Remove special handling of terminating events, see jaydenseric/graphql-upload#131
fs-capacitor - v1.0.1

Published by mike-marcacci over 5 years ago

  • Use default fs flags and mode
fs-capacitor - v1.0.0

Published by mike-marcacci over 5 years ago

  • Initial release.