@babel/plugin-proposal-decorators version 7.1.0 introduces notable enhancements over its predecessor, version 7.0.0, primarily aimed at improved functionality and potentially addressing specific use cases. A key difference lies in the added dependencies. Version 7.1.0 incorporates @babel/helper-replace-supers and @babel/helper-split-export-declaration, expanding its toolkit for manipulating class structures and managing export declarations. These additions suggest a refinement in how the plugin handles complex scenarios involving inheritance and module exports, potentially making it more robust and versatile in transforming decorator syntax.
Conversely, version 7.0.0 relies solely on @babel/helper-plugin-utils and @babel/plugin-syntax-decorators, indicating a more basic implementation focused on core decorator processing. The introduction of the additional helper libraries in 7.1.0 explains the increased unpacked size (18679 vs 11632), reflecting enhanced functionality and logic within the plugin. For developers, this means that version 7.1.0 might better handle edge cases or offer specific features related to class extension and module handling that were absent or less refined in the previous version. Upgrade if you are facing issues related with this specific use cases.
The are not vulnerabilities for the version 7.1.0 of the package @babel/plugin-proposal-decorators