Fs-extra is a popular Node.js package that extends the built-in fs module with extra file system methods, simplifying common tasks like creating directories recursively (mkdir -p), copying files recursively (cp -r), and removing files/directories recursively (rm -rf). Version 6.0.0 brings several updates compared to the previous stable version 5.0.0, primarily focusing on dependency upgrades.
Developers should note the updated devDependencies. For example, klaw was upgraded from version 1.0.0 to version 2.1.1 providing improved directory crawling. Mocha was upgraded from version 3.1.2 to 5.0.5 including new features and bug fixes for testing. Also standard Javascript linter was upgraded from 10.0.2 to 11.0.1 and Coveralls from 2.11.2 to 3.0.0. Klaw-sync, a library that provides synchronous directory crawling, was updated to v3.0.2, while proxyquire, a library for overriding dependencies during testing, was updated to v2.0.1. While the core functionality exposed to developers of fs-extra remains consistent, these dependency updates introduce potential performance improvements, bug fixes, and new features within the testing and development workflow around the library itself.
The dist object in package.json also provides more detailed information about the package size in version 6.0.0, including fileCount and unpackedSize, useful for understanding the package footprint. Developers integrating fs-extra into their projects should review these changes to ensure compatibility and leverage the latest improvements. Always check the official changelog on the GitHub repository for comprehensive information.
The are not vulnerabilities for the version 6.0.0 of the package fs-extra