Chokidar version 3.4.0 introduces a few notable updates compared to its predecessor, version 3.3.1. Both versions serve as robust wrappers for Node.js file system watching functionalities, simplifying the process of monitoring files and directories for changes. A key difference lies in updated dependencies. Version 3.4.0 upgrades the readdirp dependency from ~3.3.0 to ~3.4.0, potentially incorporating bug fixes, performance improvements, or new features within the readdirp library itself, which handles recursive directory reading. The devDependencies also see significant changes. Key updates include upgrades to nyc (coverage reporter), mocha (testing framework), and sinon (mocking library) from ^14.1.1 to ^15.0.0, ^6.2.2 to ^7.0.0, and ^7.5.0 to ^9.0.1 respectively. The @types/node package also moved to ^13 from ^12. These suggest improvements in testing and developer tooling, possibly leading to more reliable code and a smoother development experience. Finally, dtslint version has been udpated from ^2.0.0 to ^3.3.0. The dist metadata shows a slight increase in unpacked size (88859 bytes vs 88037 bytes), possibly due to the updated dependencies or minor code additions. These updates collectively indicate a focus on stability, modernized tooling, and potentially, enhanced performance in the newer version. Developers should review the changelogs for the updated dependencies to fully understand the implications of these changes for their projects.
The are not vulnerabilities for the version 3.4.0 of the package chokidar