Version 7.15.4 of @babel/plugin-proposal-decorators introduces subtle yet important updates compared to the previous stable version, 7.14.5. Both versions serve the same core purpose: compiling class and object decorators to ES5, enabling developers to leverage decorator syntax in older JavaScript environments. Key dependencies like @babel/helper-plugin-utils and @babel/plugin-syntax-decorators remain consistent, ensuring continued compatibility and functionality related to decorator syntax handling.
The most notable difference lies in the updated @babel/helper-create-class-features-plugin dependency which advances from 7.14.5 to 7.15.4. This core helper likely includes bug fixes, performance improvements, and potentially new features related to class features transformations, which are crucial for proper decorators transpilation. Furthermore, the devDependencies section reveals an update to @babel/core, going from 7.14.5 to 7.15.4, implying refinements and bug fixes in the core Babel transformation process. A slight change in unpack size, from 12717 bytes to 12699 bytes, could reflect minor code optimizations or structural adjustments within the package. Finally, the release date of version 7.15.4 is in September of 2021, a few months after the previous one, which can indicate that one or multiple non-critical bugs were fixed in the new stable version. Developers should upgrade to version 7.15.4 to benefit from these enhancements and ensure they're using the most refined and reliable version of the plugin.
The are not vulnerabilities for the version 7.15.4 of the package @babel/plugin-proposal-decorators