Upgrading fs-extra 4 to 5
Breaking4.0.3 → 5.0.0Breaking1New1Changed1Fixed5
BreakingUpgrade verdict
1 breaking change.
In plain terms
- If you passed a regular expression to filter which files get copied, you now need to pass a function instead.
Must act 1 item needs code or config changes
What you must change
Breaking1
The
filter option for copy() and copySync() can no longer be a RegExp and must be a function.copy()copySync()filter