The @babel/plugin-proposal-decorators package, essential for compiling class and object decorators to ES5 within Babel projects, saw a notable update from version 7.15.8 to 7.16.0. This upgrade introduces key improvements and dependency updates relevant to developers leveraging decorators.
A primary difference lies within the updated dependencies. The newer version brings in @babel/plugin-syntax-decorators version 7.16.0, aligning the syntax plugin with the core decorator proposal plugin. Furthermore, @babel/helper-create-class-features-plugin jumps from 7.15.4 to 7.16.0, potentially including bug fixes and new features related to class feature transformations. For developers, these updates mean potentially enhanced compatibility and stability when working with modern JavaScript class features and decorators.
On the development dependency side, both @babel/core and @babel/helper-plugin-test-runner are upgraded to version 7.16.0 to allow developers to test decorators and their implementation in the codebase.
The babel-plugin-polyfill-es-shims had a change too, updating from ^0.4.0 to ^0.5.0, meaning that there were some changes to the es shims.
While the core description remains consistent – compiling decorators to ES5 – these dependency bumps signal an evolution within the Babel ecosystem, ensuring better integration and potentially unlocking improved performance within the decorator transformation process. Consider upgrading to benefit from these enhancements and maintain compatibility with other Babel packages.
The are not vulnerabilities for the version 7.16.0 of the package @babel/plugin-proposal-decorators