@swc/core is a super-fast alternative to Babel, designed for high-performance JavaScript and TypeScript compilation. Comparing versions 1.6.12 and 1.6.7 reveals subtle but potentially important changes for developers. Both versions share the same core dependencies like @swc/types and @swc/counter, as well as development dependencies including jest, cross-env, typescript, and @napi-rs/cli, suggesting a consistent development and testing environment. The peer dependency on @swc/helpers remains the same, indicating stability in the helper functions required by the core.
The key difference lies within the optionalDependencies. While both versions include platform-specific binaries such as @swc/core-darwin-x64, @swc/core-linux-x64-gnu, and others for various operating systems and architectures, version 1.6.12 uses version "1.6.12" of the optional dependencies binaries, while version 1.6.7 uses version "1.6.7". This indicates that version 1.6.12 includes updated pre-compiled binaries tailored for specific platforms, potentially offering performance improvements or bug fixes related to those environments. The dist object shows a slight increase in unpackedSize from 120124 to 120135 bytes. This could be due to optimizations or added features within the binaries. Finally the releaseDate show an update from "2024-07-03T14:52:06.696Z" to "2024-07-06T11:53:46.281Z", so a recent update to fix things. Developers should consider upgrading to 1.6.12 to benefit from these platform-specific enhancements, potentially leading to better performance and stability in their projects.
The are not vulnerabilities for the version 1.6.12 of the package @swc/core