Version 7.22.10 of @babel/plugin-proposal-decorators arrives as a minor update to the popular Babel plugin responsible for transforming ES class and object decorators into ES5-compatible code. Comparing it to version 7.22.7 reveals subtle yet important changes primarily concentrated in dependency updates. Notably, dependencies like @babel/helper-replace-supers, @babel/plugin-syntax-decorators, and @babel/helper-create-class-features-plugin have been bumped to versions 7.22.9, 7.22.10 and 7.22.10 respectively, while in version 7.22.7 those were 7.22.5, 7.22.5, and 7.22.6. The @babel/core and @babel/traverse devDependencies were updated to 7.22.10 from 7.22.7.
These updates likely incorporate bug fixes, performance enhancements, and compatibility adjustments within the Babel ecosystem. These changes ripple down, ensuring smoother and more reliable decorator transformations within your projects. Additionally, babel-plugin-polyfill-es-shims was updated to 0.9.2 from 0.9.1.
Developers already leveraging @babel/plugin-proposal-decorators can expect incremental improvements from this update. While not a groundbreaking overhaul, staying current with these minor version bumps helps maintain compatibility with the latest Babel core and related packages, reduce potential bugs and increase speed by taking advantage of the new code. Upgrading to version 7.22.10 is generally recommended for a more robust and up-to-date decorator transformation experience. The increase in unpacked size, going from 137064 to 137148, reflects these internal improvements and additions.
The are not vulnerabilities for the version 7.22.10 of the package @babel/plugin-proposal-decorators