Version 7.2.2 of @babel/plugin-proposal-decorators introduces several key changes compared to its predecessor, version 7.2.0. Notably, the dependency @babel/helper-replace-supers and @babel/helper-split-export-declaration were removed, replaced by @babel/helper-create-class-features-plugin. This suggests a shift in how the plugin handles class features and export declarations. The unpacked size is significantly smaller in 7.2.2 (12287 bytes) compared to 7.2.0 (18863 bytes), hinting at potential performance improvements or code optimization. Both versions are designed to compile class and object decorators to ES5, ensuring compatibility with older JavaScript environments. Developers relying on decorator syntax should be aware of this change in underlying dependencies. The plugin's function remains consistent: transforming decorator syntax for broader browser and runtime support, enabling modern JavaScript development practices. The releaseDate indicates a relatively short interval between the releases, suggesting a quick follow-up to address issues or introduce refinements. If you're using decorators in your Babel setup, upgrading to 7.2.2 might offer benefits such as a lighter package size and potentially enhanced performance due to the dependency changes, but testing is recommended to ensure smooth transition, especially with the new dependency.
The are not vulnerabilities for the version 7.2.2 of the package @babel/plugin-proposal-decorators