Version 7.23.7 of @babel/plugin-proposal-decorators brings notable refinements compared to its predecessor, 7.23.6. A key difference lies in the updated dependencies. Version 7.23.7 now relies on @babel/helper-create-class-features-plugin at version 7.23.7, while 7.23.6 used version 7.23.6 of the same dependency. Additionally, version 7.23.7 has removed dependencies on @babel/helper-replace-supers and @babel/helper-split-export-declaration and @babel/helper-skip-transparent-expression-wrappers. These changes likely reflect internal refactoring or optimizations within the Babel ecosystem, streamlining how decorators are handled during the transpilation process.
Developers should note these changes, especially if they've encountered issues related to super calls or export declarations in previous versions. The update also introduces slight differences in the developer tooling dependencies. While both leverage core Babel tools, version 7.23.7 utilizes newer versions of @babel/core and @babel/traverse at 7.23.7. Conversely, 7.23.6 has a wider range of dev dependencies, including charcodes and @types/charcodes which are both absent in the newer version. The unpacked size is significantly smaller in 7.23.7 (40KB) than it was in v7.23.6 (166KB) signaling improved package size and installation efficiency. The update encourages users to upgrade to benefit from these refined functionalities and potential performance improvements in decorator handling. As always, thorough testing is recommended after upgrading to ensure compatibility with existing projects.
The are not vulnerabilities for the version 7.23.7 of the package @babel/plugin-proposal-decorators