The @babel/plugin-proposal-decorators package, a crucial tool for transpiling class and object decorators to ES5, has released version 7.23.2, succeeding the previous stable version 7.23.0. Both versions share the same core functionality and purpose: enabling the use of decorator syntax within JavaScript projects, ensuring compatibility with older environments. They maintain identical dependencies for core functionality, including @babel/helper-plugin-utils, @babel/helper-replace-supers, @babel/plugin-syntax-decorators, @babel/helper-split-export-declaration, and @babel/helper-create-class-features-plugin. This indicates that the fundamental mechanism for decorator processing remains consistent. The peer dependency on @babel/core continues to be '^7.0.0-0', preserving broad compatibility with Babel core versions.
However, the newer version, 7.23.2, includes updated development dependencies. Notably, @babel/traverse has been updated from version 7.23.0 to 7.23.2, and babel-plugin-polyfill-es-shims sees a version jump from 0.9.2 to 0.10.0 indicating internal tooling and testing improvements or bug fixes. The @babel/core package remains on the same major release. While the core processing logic seems stable, the bump in @babel/traverse and especially babel-plugin-polyfill-es-shims suggest the newer release might address subtle edge cases or enhance the plugin's behavior in specific scenarios involving complex code transformations or polyfilling. Developers utilizing decorators and relying on Babel's ecosystem should consider upgrading to 7.23.2 to benefit from these potential refinements and ensure they are running the most up to date version. Moreover, the unpacked size increased by only 1KB, indicating that the changes are minor.
The are not vulnerabilities for the version 7.23.2 of the package @babel/plugin-proposal-decorators