@swc/core version 1.2.224 introduces subtle improvements over its predecessor, version 1.2.223, in this super-fast alternative for Babel. The core functionality remains consistent, focusing on high-performance JavaScript and TypeScript compilation. Developers familiar with SWC will find the upgrade seamless, as the primary API and configuration options likely remain unchanged.
The key difference lies in the underlying platform-specific binaries that form the engine of SWC. Both versions include pre-built binaries for various operating systems and architectures like Darwin (macOS), FreeBSD, several Linux distributions (GNU and Musl-based), Windows (x64, ia32, and ARM64), and Android. Looking closer, the new version updates these platform-specific dependencies (e.g., @swc/core-darwin-x64, @swc/core-linux-x64-gnu) to version 1.2.224 from 1.2.223 that were presented in the older version. This signals bug fixes, performance enhancements, or compatibility improvements within the SWC compiler itself, tailored to each platform.
Developers should upgrade to 1.2.224 to benefit from these under-the-hood improvements. While the changelog may not highlight drastic changes, these incremental updates contribute to a more stable and efficient compilation process. The releaseDate for version 1.2.224 is "2022-08-06T12:58:03.751Z", it was released 3 days after its older brother, which means that version 1.2.224 is a patch version that fixes some problems found in 1.2.223. The unpackedSize also moved from 588869 to 590554 pointing that some changes are in place. As with any dependency upgrade, thorough testing is recommended, but given the nature of these platform-specific updates, a smooth transition is likely.
The are not vulnerabilities for the version 1.2.224 of the package @swc/core