You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: remove pump and raise minimum node to v18 (#113)
BREAKING CHANGE: Drop Node.js < 18 support
Node.js 4 is long EOL, so this PR raises it to 18 as per comment. Node
10 has built-in `stream.pipeline` and `fs.mkdir` with `recursive`
option, which can be used instead of `pump` (they are the same).
Also 3 tests fail for me but they fail on main branch as well (timeout)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Replaced the external stream piping utility with the native Node.js
stream API throughout the codebase and tests.
* Updated documentation examples to reflect the new usage of the native
stream API.
* Replaced external directory creation utilities with native Node.js
directory creation methods using recursive options.
* Removed obsolete dependencies and increased the minimum required
Node.js version to 18.0.0.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: fengmk2 <[email protected]>
0 commit comments