The @babel/plugin-proposal-decorators package, a crucial tool for transpiling class and object decorators to ES5, saw a version bump from 7.18.6 to 7.18.9. While both versions share the same core functionality and description, developers should be aware of the subtle differences in their dependency trees.
Specifically, version 7.18.9 brings updates to several dependencies: @babel/helper-plugin-utils, @babel/helper-replace-supers, and @babel/helper-create-class-features-plugin. All of these are updated from version 7.18.6 to version 7.18.9. The dependency @babel/plugin-syntax-decorators remains at version 7.18.6, as does @babel/helper-split-export-declaration. On the devDependencies side only @babel/core and @babel/traverse are updated from version 7.18.6 to version 7.18.9, while @babel/helper-plugin-test-runner remains at version 7.18.6. These updates likely include bug fixes, performance improvements, or enhancements related to the underlying Babel infrastructure. The unpacked size is also slightly bigger in the newest version, which could be related to the changes of the dependencies
For developers, upgrading to version 7.18.9 is recommended to leverage these potential improvements. Ensure compatibility by verifying that your project's @babel/core version meets the peer dependency requirement of ^7.0.0-0. Before upgrading, it's advisable to review the Babel changelog and run thorough tests to identify and address any unforeseen compatibility issues. This package empowers developers to utilize the expressive decorator syntax while maintaining compatibility with older JavaScript environments.
The are not vulnerabilities for the version 7.18.9 of the package @babel/plugin-proposal-decorators