v0.10.0
What's changed
This version of node-zip-cli brings various changes and performance improvements
Overall
- Removed unnecessary dependencies:
strip-ansi→ replaced with node internalstripVTControlCharactersfigures→ embedded the arrow down symbol in the code
- Refactored logger to not rely on
console, but operate directly onprocess.stdoutandprocess.stderr. It should be now marginally faster. - Fully refactored the
bash-completions.shscript to improve maintainability - Improved CLI color consistency
- Updated documentation, fixing typos and improving clarity
- Updated the following dependencies
- @commander-js/extra-typings ^12.1.0 → ^13.1.0 - @inquirer/confirm ^5.0.2 → ^5.1.6 - chalk ^5.3.0 → ^5.4.1 - commander ^12.1.0 → ^13.1.0 - ignore ^6.0.2 → ^7.0.3 - ora ^8.1.1 → ^8.2.0 - yazl ^6.0.2 → ^3.3.1
zip/find/tar
- Fix an issue with
findsub-command output when no file is found. It now behaves like the Linuxfindcommand, which exits with 0 and does not print anything. - Add presets for
-s, --symlinkand--disable-ignoreoptions-s, --symlink: when used without a parameter, it will behave asresolve(keepfor thefindcommand`)--disable-ignore: when used without a parameter, it will behave asignore-files
- Performance improvements on
walkfunction, used to traverse the file system. To evaluate this, I runhyperfinewith the current version (.=0.10.0) and the previous version (node-zip-cli=0.9.0), both with node18.20.6and bun1.2.2.


- Symlink supported is now marked as stable
BREAKING CHANGES
- Symlink supported is now marked as stable
- Changed the behavior of the
findcommand when no file is found - Changed how
-s, --symlinkand--disable-ignoreflags behave, as now they can be used without a parameter
Pull Requests
- fix!: consistency, performance and mark symlink support as stable by @matteosacchetto in #150
Full Changelog: v0.9.0...v0.10.0