@babel/cli version 7.12.1 is a patch release following 7.12.0, both serving as the command-line interface for Babel, a widely used JavaScript compiler. The core functionality remains consistent, providing developers with tools to transform ECMAScript 2015+ code into backward-compatible JavaScript versions. Key features include batch compilation of files, directory processing, and source map generation for easier debugging. Both rely on dependencies like glob for file matching, slash for path normalization across operating systems, lodash for utility functions, make-dir for creating directories, commander for command-line argument parsing, and source-map and convert-source-map for generating and manipulating source maps.
The notable changes reside in the development and optional dependencies. Version 7.12.1 updates @babel/core to version 7.12.1, while 7.12.0 was using version 7.12.0, signifying likely bug fixes or internal improvements within the core Babel compiler. The optional peer dependency @nicolo-ribaudo/chokidar-2 replaces the tarball-based direct reference to chokidarAt2 in 7.12.0, suggesting a switch to a proper npm package for the chokidar v2 compatibility library for file watching capabilities. The "chokidar" package itselft remains as optional dependency. Developers should upgrade to 7.12.1 for the latest core updates of babel, dependency management improvements and potential bug fixes, although the core functionality of the CLI remains mostly the same as in 7.12.0.
The are not vulnerabilities for the version 7.12.1 of the package @babel/cli