@babel/cli is a crucial tool for developers using Babel, enabling command-line execution for transpiling JavaScript code. Comparing versions 7.22.10 and 7.22.9 highlights subtle but important changes. The core dependencies remain consistent, including essential packages like glob for file matching, slash for path normalization, and commander for command-line interface construction. Both versions rely on @jridgewell/trace-mapping for source map handling, ensuring accurate debugging, and share the same optional dependencies like chokidar for file watching, crucial for development workflows.
Key differences emerge in the devDependencies. While rimraf, semver, @types/glob and @types/fs-readdir-recursive are consistent, the used version of @babel/core and @babel/helper-fixtures are updated from 7.22.9 to 7.22.10 in the newer version. This indicates that version 7.22.10 likely incorporates fixes, performance improvements, or new features within the core Babel transformation engine and its testing utilities. Importantly, the peerDependencies specify compatibility with @babel/core versions 7.0.0 and above, offering wide-ranging compatibility for existing projects. The newer version sees a small change in the unpacked size and the number of files in the package, suggesting minor adjustments. The release date confirms the new version arrived about a month after the previous. Developers should consider upgrading to 7.22.10 to benefit from the latest enhancements and ensure compatibility, especially within larger Babel ecosystems.
The are not vulnerabilities for the version 7.22.10 of the package @babel/cli