The @babel/plugin-proposal-decorators package, a crucial tool for transpiling class and object decorators to ES5, saw a recent update from version 7.23.5 to 7.23.6. While seemingly a minor version bump, several key changes warrant attention from developers.
The core functionality remains consistent: decorator syntax is transformed to be compatible with older JavaScript environments. Both versions rely on various Babel helpers to achieve this, ensuring consistent behavior. The most obvious update lies in the dependencies. Version 7.23.6 upgrades @babel/helper-create-class-features-plugin from 7.23.5 to 7.23.6, suggesting internal fixes or enhancements within that utility. Moreover, @babel/core and @babel/traverse were bumped to version 7.23.6 in the devDependencies. These development dependencies are used to test the package and do not affect the generated output of the plugin itself. The update to the core Babel tooling indicates the latest version 7.23.6 is tested against babel 7.23.6.
Furthermore, the unpacked size of the package has increased from 139777 bytes to 166580 bytes, indicating potential additions of code, tests or other resources. For developers, this update implies a smoother integration with the latest Babel ecosystem and potentially refined handling of decorators. If you're already using version 7.23.5 and haven't encountered any issues, the update might be considered incremental. However, upgrading is recommended to benefit from any bug fixes, performance improvements or enhanced compatibility with the latest JavaScript features and Babel's core. Checking Babel's changelog for corresponding changes in @babel/helper-create-class-features-plugin is advisable for a deeper understanding of the update. Finally, 7.23.6 was released on 2023-12-11, whereas 7.23.5 was released on 2023-11-29.
The are not vulnerabilities for the version 7.23.6 of the package @babel/plugin-proposal-decorators