@swc/core, a high-performance alternative to Babel, has released version 1.2.185, succeeding the previous stable version 1.2.183. While the core functionality remains consistent – providing a super-fast JavaScript and TypeScript compiler – examining the metadata reveals subtle differences that could be of interest to developers.
Both versions share the same core team, license (Apache-2.0), repository, and high-level dependencies. They also both rely on architecture-specific binaries, indicated in the dependencies and optionalDependencies sections, referencing binaries tailored for various operating systems and architectures like Darwin (x64 and arm64), FreeBSD, Linux (x64, arm64, arm), Android, and Windows (x64, ia32, arm64). Each architecture has both gnu and musl versions when using Linux. The binaries are specific to their architecture and version.
The most noticeable difference lies in the dist section, where the unpackedSize slightly increased from 496377 bytes in version 1.2.183 to 499462 bytes in version 1.2.185, a difference of about 3 KB. This suggests minor code additions, optimizations, or changes to included resources. Furthermore, the releaseDate reflects the recency of each version, indicating that 1.2.185 was created only a few days after than 1.2.183.
For developers, the choice between these versions depends on their need for the latest enhancements versus the stability of the slightly older release. Reviewing the changelog (available on SWC's GitHub repository) is crucial for understanding the precise changes and potential impact on a project before upgrading. While seemingly minor, the size difference signifies underlying changes, potentially impacting performance or bug fixes.
The are not vulnerabilities for the version 1.2.185 of the package @swc/core