@swc/core has a new release, version 1.5.23, following closely on the heels of version 1.5.22. Both versions are described as a "Super-fast alternative for babel," highlighting their key strength: high-performance JavaScript and TypeScript compilation. The core functionality and dependencies remain consistent between the two versions, including @swc/types and @swc/counter, along with development dependencies like jest, cross-env, typescript, and @napi-rs/cli. The peer dependency on @swc/helpers also persists.
The most notable difference lies within the optionalDependencies. While both versions list the same set of platform-specific binaries (covering Darwin, Linux, and Windows across various architectures like x64, ARM64, and ARM), their version numbers align with the parent package version. This suggests that version 1.5.23 involves updates or rebuilds of these binaries, potentially incorporating performance enhancements, bug fixes, or compatibility improvements specific to those platforms. The dist object shows some differences in the fileCount and unpackedSize, which could also point to changes in the compiled binaries.
Developers considering an upgrade from 1.5.22 to 1.5.23 should focus on whether they've encountered any platform-specific issues or are seeking the latest refinements in SWC's core compilation engine. If performance on a particular operating system or architecture is critical, testing the new version is highly recommended. The release date of 1.5.23, just hours after 1.5.22, may indicate a hotfix or important update justifying the quick turnaround.
The are not vulnerabilities for the version 1.5.23 of the package @swc/core