@babel/cli version 7.12.0 brings several notable changes compared to its predecessor, version 7.11.6, impacting developers using Babel for command-line transformations. One significant alteration involves the optional dependencies. While version 7.11.6 directly lists chokidar (version 2.1.8) as an optional dependency for file watching, version 7.12.0 introduces both chokidar at a newer version (3.4.0) alongside chokidarAt2 explicitly referencing the older version (2.1.8) via a direct tarball URL. This suggests a strategy to maintain compatibility with environments potentially sensitive to chokidar version changes. More specifically this change may have been added to keep compatibility with Node.js v10 since newer versions of chokidar do not support it.
In the dependencies @babel/cli version 7.12.0 includes the same dependencies as the previous version such as glob, slash, lodash, make-dir, commander, source-map, convert-source-map, and fs-readdir-recursive and all of them at the same version ranges as 7.11.6.
Furthermore, the devDependencies saw an upgrade of @babel/core from version 7.11.6 to 7.12.0, aligning the CLI's development dependencies with its core counterpart. Developers leveraging @babel/cli should be aware of these dependency shifts, as they potentially affect how file watching operates and how core Babel functionalities are tested during development. The change in versions probably fixed bugs but this package does not provide specific changes so developers should check the changelog to investigate more.
The are not vulnerabilities for the version 7.12.0 of the package @babel/cli