Skip to content

🚢 2.0.0 / 2021-07-24

Choose a tag to compare

@LinusU LinusU released this 24 Jul 12:52
· 5 commits to master since this release
273f21a

💥 Breaking Changes

  • Add initial path value on TempWriteStream

    Migration Guide:

    From now on, the WriteStream provided from this module will have path set from the start. With this change the path event have been removed. You can now read the path property directly on the returned stream.

  • Change promise import to promises

    Migration Guide:

    The promise file have been renamed to promises to closer match the upstream fs module. Instead of importing fs-temp/promise, import fs-temp/promises.

  • Convert package to ESM

    Migration Guide:

    This relases changes the package from a Common JS module to an EcmaScript module, and drops support for older versions of Node.

    • The minimum version of Node.js supported is now: 12.20.0, 14.13.1, and 16.0.0
    • The package must now be imported using the native import syntax instead of with require

🌹 Internal Changes

  • Remove package lock file
  • Cleanup package metadata