The @babel/plugin-external-helpers package, version 7.0.0, marks a significant update from its predecessor (data for which is unavailable). This plugin's core function remains consistent: it extracts Babel's helper functions, ensuring they are defined only once at the top of your transpiled code. This prevents code duplication and reduces the overall bundle size, leading to improved website performance.
Specifically, version 7.0.0 depends on @babel/helper-plugin-utils (version ^7.0.0), indicating an updated plugin infrastructure. For development purposes, it depends on @babel/core and @babel/helper-plugin-test-runner, also at version ^7.0.0, suggesting a strong alignment with the Babel 7 ecosystem. It also declares @babel/core (^7.0.0-0) as a peer dependency.
Developers upgrading to version 7.0.0 should ensure compatibility with Babel 7, implied by the peer dependency and dev dependencies. The MIT license guarantees freedom of use and modification. The plugin's source code resides in the Babel repository on GitHub, allowing developers to contribute and inspect the implementation. The releaseDate indicates its presence since 2018, proving its maturity and stability. The small unpacked size and limited file count of the package hints to an optimised design, ideal for developers focusing on bundle size.
The are not vulnerabilities for the version 7.0.0 of the package @babel/plugin-external-helpers