🚢 2.0.0 / 2021-07-24
💥 Breaking Changes
-
Add initial path value on TempWriteStream
Migration Guide:
From now on, the
WriteStreamprovided from this module will havepathset from the start. With this change thepathevent have been removed. You can now read thepathproperty directly on the returned stream. -
Change promise import to promises
Migration Guide:
The
promisefile have been renamed topromisesto closer match the upstreamfsmodule. Instead of importingfs-temp/promise, importfs-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, and16.0.0 - The package must now be imported using the native
importsyntax instead of withrequire
- The minimum version of Node.js supported is now:
🌹 Internal Changes
- Remove package lock file
- Cleanup package metadata