Core-js, a foundational standard library for JavaScript, has seen a recent update from version 3.17.3 to 3.18.0, introducing subtle yet important changes for developers. Both versions maintain the same MIT license, ensuring open-source usage, and are backed by funding through Open Collective, fostering continued development. The core-js library is essential for polyfilling modern JavaScript features, ensuring compatibility across different environments.
The key difference lies in the updated version's slightly larger footprint. While both versions offer a comprehensive suite of polyfills, 3.18.0 packages 1879 files compared to 3.17.3's 1868, and the unpacked size has increased from 770207 bytes to 782202 bytes. This indicates the addition of new features, bug fixes, or optimizations that expand the library's capabilities. Developers upgrading should be aware of this increased size, although the relative increase is minimal.
The newer release, dated September 19, 2021, indicates that version 3.18.0 includes the latest updates and bug fixes, reflecting the most current standardization efforts. The difference in release date reflects ongoing improvements to the library based on evolving JavaScript standards and bug reports. If you are using core-js in any JavaScript project, it is important to check the changelogs in order to understand if the upgrade has breaking changes or if you need to change some configurations to take advantage of new features. For developers seeking the most up-to-date and comprehensive JavaScript polyfilling solution, version 3.18.0 is the recommended choice.
The are not vulnerabilities for the version 3.18.0 of the package core-js