Fs-extra is a Node.js library designed to extend the functionality of the native fs module, providing convenient file system operations that aren't included in the standard library. Version 0.13.0 introduces a key change in its dependencies, replacing mkdirp with ncp version ^1.0.1 for directory creation. ncp handles recursive copy operations and likely contributes to more robust directory handling. This is a notable upgrade for developers relying on fs-extra for complex file system manipulations. Both versions maintain essential dependencies like rimraf for recursive deletion and jsonfile for streamlined JSON file reading and writing.
Comparing 0.13.0 to the previous stable version, 0.12.0, reveals changes in development dependencies as well reflecting evolution in the testing landscape. Version 0.12.0 depended on userid and path-extra, these are replaced in 0.13.0 with mock-fs and secure-random, suggesting a shift towards more sophisticated mocking and security practices in the development and testing of fs-extra itself. Developers should consider these evolved testing dependencies if they intend to contribute to the library or build upon its codebase. Both versions offer the same core description: methods such as creating directories recursively (mkdir -p), copying files recursively (cp -r), and forcefully removing directories (rm -rf), which remain the library's defining features. This makes fs-extra a valuable utility for simplifying asynchronous file system tasks in Node.js projects.
The are not vulnerabilities for the version 0.13.0 of the package fs-extra