@babel/cli, the command-line interface for Babel, saw a version bump from 7.17.10 to 7.18.6, signifying a minor update with potential bug fixes and feature enhancements. Examining the provided data, the core dependencies for both versions remain largely consistent, ensuring stability and backward compatibility in essential functionalities like file globbing, path handling, directory creation, command-line argument parsing, source map conversions, and recursive directory reading. The dependency on @jridgewell/trace-mapping remains at version 0.3.8 in both releases.
The key change resides in the devDependencies. Version 7.18.6 updates @babel/core and @babel/helper-fixtures to version 7.18.6, whereas version 7.17.10 uses version 7.17.10 for these dependencies. This suggests that the newer CLI version is aligned with a newer major release of Babel core and utilities, potentially offering new language feature support or performance improvements during development and testing.
The peer dependency on @babel/core stays at "^7.0.0-0" for both versions, meaning that the CLI is compatible with any Babel core version 7 or higher. The sizes of the unpacked packages have increased negligibly and the releases are separated by approximately 2 months.
Developers employing @babel/cli should upgrade to version 7.18.6 to leverage the latest bug fixes, performance enhancements, and features present in the corresponding @babel/core and supporting libraries. Especially if using core version 7.18.6 in their project.
The are not vulnerabilities for the version 7.18.6 of the package @babel/cli