Core-js version 3.16.0 represents an incremental update over its predecessor, version 3.15.2, in the widely-used JavaScript standard library. While both versions maintain the "core-js" name and "Standard library" description, signifying their role in providing polyfills and shims for modern JavaScript features, several subtle differences are noteworthy for developers.
The most obvious change lies in the increased size of the newer version. The unpacked size grew from 741,678 bytes in 3.15.2 to 757,958 bytes in 3.16.0. This indicates that new functionalities, polyfills, or refinements have been introduced, contributing to the overall library footprint. This is also reflected in the increased file count, from 1817 files to 1837. While the core license remains MIT and funding continues through Open Collective, signifying stable licensing and support, the key update lies in the inclusion of new features and/or compatibility updates that necessitate an increase the number of files inside and the overall size. Developers should explore the changelog between these versions to understand the specific additions and bug fixes impacting their projects. The release date difference of roughly one month (June 29, 2021, for 3.15.2 and July 30, 2021, for 3.16.0) also suggests a focus on timely enhancements and updates.
The interesting difference lays in the repository data in version 3.15.2 where the property directory is specified, while in version 3.16.0 it's not. This can point to a change in how the sources are deployed and structured.
The are not vulnerabilities for the version 3.16.0 of the package core-js