Version 7.7.0 of @babel/plugin-proposal-decorators introduces some changes compared to the previous stable version, 7.6.0. Both versions serve the same core purpose: transforming class and object decorators into ES5-compatible code, vital for developers targeting older JavaScript environments. Key dependencies like @babel/helper-plugin-utils and @babel/plugin-syntax-decorators remain consistent, ensuring continued compatibility with the wider Babel ecosystem.
The notable difference lies in the updated dependency on @babel/helper-create-class-features-plugin. Version 7.7.0 bumps this dependency to ^7.7.0, while the previous version used ^7.6.0. This likely incorporates bug fixes, performance improvements, or new features related to class feature transformations within Babel's internal workings. Developers should note this update as it could impact how class-related code is processed. Additionally, the devDependencies saw an update to @babel/core to ^7.7.0, from ^7.6.0, which might include updated testing tools or newer features used by this package for development.
Slightly, the unpacked size increased in the newer version, from 12458 to 12536, which might indicate added features, test cases or resources.
For developers using @babel/plugin-proposal-decorators, upgrading to 7.7.0 is generally recommended to benefit from the latest improvements and bug fixes in the class features helper. However, carefully review the changelog for @babel/helper-create-class-features-plugin to ensure compatibility with your specific codebase, especially regarding customized class behaviors or edge cases. Remember always to test thoroughly.
The are not vulnerabilities for the version 7.7.0 of the package @babel/plugin-proposal-decorators