The @babel/plugin-proposal-decorators package, essential for compiling class and object decorators to ES5 for broader browser compatibility, saw a notable update from version 7.3.0 to 7.4.0. While both versions maintain the core functionality of supporting decorators and share the same fundamental dependencies like @babel/helper-plugin-utils and @babel/plugin-syntax-decorators, the key changes lie in the updated versions of internal dependencies and the core compilation engine.
Version 7.4.0 notably bumps its dependency on @babel/helper-create-class-features-plugin from 7.3.0 to 7.4.0, and @babel/core as devDependency from 7.2.2 to 7.4.0. These updates likely incorporate bug fixes, performance improvements, and potentially new features within the underlying class transformation logic. Furthermore, the unpacked size of the package slightly increases from 12290 to 12347, which might indicate the inclusion of new code, tests, or documentation.
Developers considering upgrading should be aware of these dependency updates. If your project directly relies on any functionality exposed by @babel/helper-create-class-features-plugin or @babel/core, reviewing the changelogs for those packages is crucial. The update promises enhancements to the decorator transformation process that can lead to more efficient and reliable code. Moreover, ensure your testing suite adequately covers decorator usage to confirm seamless transition and take advantage of the latest refinements in decorator compilation.
The are not vulnerabilities for the version 7.4.0 of the package @babel/plugin-proposal-decorators