@swc/core is a high-performance JavaScript and TypeScript compiler designed as a faster alternative to Babel. Versions 1.10.6 and 1.10.4 share the same core dependencies, including @swc/types and @swc/counter, and development dependencies like Jest, cross-env, TypeScript, and @napi-rs/cli, ensuring consistent tooling for developers. Both versions also maintain identical peer dependencies on @swc/helpers.
The primary distinction lies in the optional dependencies, specifically the architecture-specific binary packages. While both versions offer pre-built binaries for various platforms (darwin-x64, darwin-arm64, linux-x64-gnu, linux-x64-musl, win32-x64-msvc, linux-arm64-gnu, win32-ia32-msvc, linux-arm64-musl, linux-arm-gnueabihf and win32-arm64-msvc), version 1.10.6 uses the 1.10.6 binaries, while version 1.10.4 uses the 1.10.4 binaries. This difference is crucial for developers because it signifies potential bug fixes, performance improvements, and compatibility updates specific to each platform. By upgrading to 1.10.6, developers can leverage the latest optimizations for their target architecture.
Interestingly, both versions have the same fileCount and unpackedSize, suggesting the core library size hasn't changed. However, the "releaseDate" is different from some days, marking 1.10.6 as the newest one. For developers, selecting the latest version ensures access to the most recent enhancements and fixes within the SWC ecosystem, optimizing their build processes and application performance, therefore 1.10.6 should be chosen to maintain the software up-to-date.
The are not vulnerabilities for the version 1.10.6 of the package @swc/core