Fs-extra provides enhanced file system manipulation capabilities for Node.js, offering utilities beyond the standard fs module like recursive directory creation (mkdir -p), file copying (cp -r), and removal (rm -rf). Version 8.0.0, released in May 2019, builds upon the foundation laid by version 7.0.1. Both versions share core dependencies such as jsonfile for JSON file operations, graceful-fs for improved file system handling, and universalify for promise-based APIs.
However, there are notable differences in their development dependencies. Version 8.0.0 removes rimraf and secure-random which were present in 7.0.1, while introducing a new development dependency on proxyquire. The klaw, mocha, semver, istanbul, minimist, standard, coveralls, klaw-sync, and read-dir-files are common across both releases. The absence of rimraf, a tool for recursive directory deletion, could indicate a shift in how file removal is handled internally or a reliance on other utilities, while secure-random has also been removed. The addition of proxyquire in 8.0.0 suggests an increased focus on mocking dependencies during testing for better isolation and control. These changes are essential for developers to consider when upgrading, as they might influence testing strategies and internal file manipulation processes.
The are not vulnerabilities for the version 8.0.0 of the package fs-extra