Lint-staged version 12.0.0 introduces several notable updates compared to the previous stable version, 11.2.6. A key change is the upgrade of several dependencies, potentially impacting performance and compatibility. Listr2 jumps from version 3.12.2 to 3.13.3, while Colorette sees a major version bump from 1.4.0 to 2.0.16, suggesting improvements in terminal styling and color support. Commander advances from 8.2.0 to 8.3.0, possibly incorporating new command-line argument parsing features. Notably, Enquirer and stringify-object dependencies are removed in version 12.0.0, indicating a shift in how user interaction and object serialization are handled. Cli-truncate is also updated from version 2.1.0 to 3.1.0. Version 12.0.0 uses supports-color 9.0.2, while version 11.2.6 uses supports-color 8.1.1.
Developers should also note the updated development dependencies. ESLint upgrades from version 7.32.0 to 8.2.0, incorporating new linting rules and improvements. Babel-related packages and ESLint parser have also been updated, ensuring better compatibility with modern JavaScript features. The update involves using newer Babel presets and plugins such as @babel/core and @babel/preset-env, offering potentially improved performance and support for new JavaScript syntax. The removal of @babel/plugin-proposal-object-rest-spread might signal a reliance on native implementations. These changes collectively contribute to a refined development experience, potentially leading to improved stability and enhanced features for linting staged files with Git.
The are not vulnerabilities for the version 12.0.0 of the package lint-staged