@babel/plugin-proposal-decorators versions 7.3.0 and 7.2.3 offer the capability to compile class and object decorators, enabling developers to utilize modern syntax in their JavaScript projects while maintaining compatibility with older environments. Both versions share a common goal: transforming decorator syntax into ES5-compatible code. Key dependencies include @babel/helper-plugin-utils for plugin utilities and @babel/plugin-syntax-decorators for parsing decorator syntax, ensuring core functionalities remain consistent.
A notable difference lies in the version of @babel/helper-create-class-features-plugin, which is updated from 7.2.3 in version 7.2.3 to 7.3.0 in version 7.3.0. This suggests enhancements or bug fixes related to class feature transformations were introduced within the newer release for the transformation of JavaScript classes to be compatible with older environments. While developer tools like @babel/core and @babel/helper-plugin-test-runner remain compatible across both versions, the upgrade of the helper-create-class-features-plugin deserves attention. Developers considering an update should review the changelog associated with version 7.3.0 to understand the specific improvements made to class feature handling, potentially impacting how class variables and properties are transformed. Furthermore, the unpacked size of version 7.3.0 is slightly smaller (12290 bytes) than version 7.2.3 (12344 bytes) due to code optimization.
The are not vulnerabilities for the version 7.3.0 of the package @babel/plugin-proposal-decorators