The @babel/plugin-proposal-export-default-from package, designed to compile export default from syntax into ES2015 compatible code, has seen a recent update from version 7.25.7 to 7.25.8. While both versions share the same core functionality, license (MIT), and author (The Babel Team), subtle differences exist that developers should be aware of.
A key change lies in the dependencies. Version 7.25.7 relies on @babel/plugin-syntax-export-default-from, a package defining the syntax for the feature. In contrast, version 7.25.8 removes this explicit dependency. It now only depends on @babel/helper-plugin-utils, which it had in common with the previous version. This difference suggests a potential refactoring within the plugin, possibly integrating the syntax handling directly into the core logic. This could lead to slight performance improvements or a streamlined internal architecture.
Furthermore, the unpacked size of the package has marginally increased from 76971 bytes in version 7.25.7 to 77086 bytes in version 7.25.8. While the difference is minimal, it could indicate added functionality, bug fixes, or internal code modifications. The release dates also clearly show that 7.25.8 is the newer option available.
Both versions list @babel/core as a peer dependency, requiring a version within the ^7.0.0-0 range, ensuring compatibility with various Babel versions. For developers already using version 7.25.7, upgrading to 7.25.8 appears safe and may bring subtle improvements. Developers starting new projects should opt for the latest version (7.25.8) to benefit from any potential enhancements and keep their dependencies current.
The are not vulnerabilities for the version 7.25.8 of the package @babel/plugin-proposal-export-default-from