The @babel/plugin-proposal-decorators plugin enables the use of decorators, a feature still under proposal for JavaScript, within your code, allowing you to leverage this powerful syntax for metaprogramming and code organization. Comparing versions 7.10.5 and 7.12.1 reveals subtle yet significant updates for Babel users. Version 7.12.1 upgrades its internal dependencies, most notably @babel/plugin-syntax-decorators and @babel/helper-create-class-features-plugin to version 7.12.1 as well, aligning perfectly with the core Babel packages. Furthermore, the devDependencies were updated as well.
Contrastingly, version 7.10.5 utilizes older iterations of these packages like @babel/plugin-syntax-decorators (7.10.4) and @babel/helper-create-class-features-plugin (7.10.5). While both versions maintain the same peer dependency requirement of @babel/core ("^7.0.0-0"), ensuring compatibility across a wide range of Babel 7 versions, these dependency upgrades in 7.12.1 likely incorporate bug fixes, performance improvements, or refinements in decorator handling offered by the newer versions of the dependencies. For developers, sticking with the latest version, 7.12.1, ensures you're benefiting from the most recent enhancements and bug fixes regarding decorator transformation.
The are not vulnerabilities for the version 7.12.1 of the package @babel/plugin-proposal-decorators