The @babel/plugin-proposal-decorators package, essential for compiling class and object decorators to ES5, saw a notable update from version 7.7.4 to 7.8.0. This upgrade brings several improvements relevant to developers utilizing Babel for their JavaScript projects.
One key difference lies within the dependencies. Version 7.8.0 upgrades its internal utilities, specifically @babel/helper-plugin-utils and @babel/helper-create-class-features-plugin, to version "^7.8.0". This indicates an alignment with the broader Babel ecosystem and likely includes bug fixes and performance enhancements implemented in those helper packages. In contrast, version 7.7.4 relied on older versions: "^7.0.0" for @babel/helper-plugin-utils and "7.7.4" for @babel/helper-create-class-features-plugin. Similarly, the development dependencies like @babel/core and @babel/helper-plugin-test-runner are also bumped to version "^7.8.0," ensuring compatibility and leveraging the latest testing tools.
While the core functionality of decorator compilation remains consistent, developers can benefit from the updated helper packages that likely offer better performance and bug fixes. Furthermore, the updated dependencies ensure better compatibility within a modern Babel toolchain. The unpacked size also nudged up slightly, from 12536 to 12558, potentially hinting at minor additions or adjustments in the code. Given the nature of Babel plugins, these updates are vital to stay in line with ECMAScript standards and keep performance optimized. The release date difference (November 2019 vs. January 2020) indicates a relatively recent upgrade, making v7.8.0 a beneficial update for developers seeking the best in class ES5 decorator compilation.
The are not vulnerabilities for the version 7.8.0 of the package @babel/plugin-proposal-decorators