Upgrading del-cli 7 to 8
Breaking7.0.0 → 8.0.1Breaking3Platform1Changed2Fixed3
BreakingUpgrade verdict
3 breaking changes and a platform requirement change.
In plain terms
- The underlying deletion library was upgraded, which changes how excluded paths and symlinks are treated.
- When you exclude a file from deletion, its folder is now kept too, rather than the whole folder being removed.
- Deleting files through a symlink that leads outside the current folder is now blocked unless you pass --force.
- This version needs a newer version of Node.js to run.
Must act 4 items need code or config changes
Node.js requirement changed in 8.0.0: >=18 → >=22.
Installs 29 packages in all (was 30).
What you must change
Breaking3
Upgrades to del 9, changing excluded path handling and symlink behavior.
Excluded paths now keep their directories instead of deleting the whole parent directory.
delA path reached through a symlink pointing outside the current directory is now refused unless --force is set.
--forcePlatform1
Requires Node.js 22.