The @babel/plugin-proposal-decorators package, essential for compiling class and object decorators in modern JavaScript to ES5 compatible code, has seen an update from version 7.25.9 to 7.27.1. Both versions share the same core functionality: enabling developers to leverage the decorator syntax, a powerful feature for metaprogramming and code enhancement, within their projects targeting older JavaScript environments. Key dependencies like @babel/helper-plugin-utils, @babel/plugin-syntax-decorators, and @babel/helper-create-class-features-plugin are present in both, ensuring consistent decorator transformation.
The primary distinctions lie in the updated versions of development dependencies. Both core development tools @babel/core and @babel/traverse were bumped from 7.25.9 to 7.27.1. These upgrades likely incorporate bug fixes, performance improvements, and potentially new features within Babel's core transpilation engine. While the end-user functionality remains similar, developers benefit from a more robust and up-to-date build process during development. Furthermore, the newer version includes @babel/helper-plugin-test-runner":"^7.27.1" also updated from the 7.25.9 version. Given the minor version bump, the changes likely focus on internal improvements and refinements rather than introducing radical new features. Developers already using version 7.25.9 should consider upgrading to 7.27.1 to take advantage of these enhancements and ensure compatibility with the latest Babel ecosystem advancements. The release timestamp jumped from 2024-10-22 to 2025-04-30. Moreover, the packed size changed from 39947 to 39954.
The are not vulnerabilities for the version 7.27.1 of the package @babel/plugin-proposal-decorators