The @babel/plugin-external-helpers package, designed to extract Babel's helper functions into a shared module, saw a notable update from version 7.10.4 to 7.12.1. Both versions share the core functionality of minimizing code duplication by externalizing frequently used helpers, leading to smaller bundle sizes and improved performance, benefiting developers aiming for optimized web applications. Each version declares a consistent set of dependencies and peer dependencies, ensuring compatibility within the Babel ecosystem. Notably, both versions depend on the @babel/helper-plugin-utils package, simplifying plugin creation, crucial for developers extending Babel's functionality. Also, the peer dependency of both versions on @babel/core indicates that plugin is expected to be used within a Babel project.
The key difference lies in the updated development dependencies. Version 7.12.1 requires @babel/core version ^7.12.1, and @babel/helper-plugin-test-runner version 7.10.4 while the older version 7.10.4 relies on @babel/core version ^7.10.4 and @babel/helper-plugin-test-runner version ^7.10.4. This potentially means developers must upgrade their Babel core packages to the latest version.
Furthermore, the releaseDate field indicates temporal separation, with version 7.12.1 released later (October 15, 2020) than version 7.10.4 (June 30, 2020). This implies that version 7.12.1 might include bug fixes, performance improvements, or compatibility adjustments introduced in the later Babel core release. The "unpackedSize" also went from 3386 to 3327, which might imply some small optimizations in the new package. Developers should consider upgrading to version 7.12.1 for the latest features and fixes, ensuring alignment with their Babel core version.
The are not vulnerabilities for the version 7.12.1 of the package @babel/plugin-external-helpers