The @babel/plugin-proposal-decorators package, essential for compiling class and object decorators in JavaScript to ES5 compatible code, saw a minor version bump from 7.18.9 to 7.18.10. While the core functionality remains the same, enabling the use of decorators in your projects, several dependency updates and internal changes warrant attention. For developers already using version 7.18.9, the upgrade to 7.18.10 involves relatively minimal risk and offers subtle improvements. Key dependencies, such as @babel/helper-plugin-utils, @babel/helper-replace-supers, @babel/plugin-syntax-decorators, @babel/helper-split-export-declaration, and @babel/helper-create-class-features-plugin remain consistent between both versions, ensuring stability in the core compilation process.
However, the newer version, 7.18.10, depends on a more recent version of @babel/core and @babel/traverse within its devDependencies, both upgraded to version 7.18.10 from 7.18.9. Additionally, array.prototype.concat was added as devDependency and babel-plugin-polyfill-es-shims was upgraded from version 0.6.1 to 0.7.0. This suggests internal updates or bug fixes related to core Babel transformations and AST traversal, potentially impacting test suites or internal development workflows.
The unpackedSize also slightly increased from 45745 to 45788 bytes. The release date moved from July 18th to August 1st signalizing that these cumulative changes improve the plugin, even if the primary purpose of compiling class and object decorators to ES5 remains consistent. Developers should review changelogs and consider updating to benefit from the latest refinements and bug fixes, particularly if they encounter any issues during development or testing related to Babel's core functionality or polyfilling.
The are not vulnerabilities for the version 7.18.10 of the package @babel/plugin-proposal-decorators