@swc/core is a high-performance alternative to Babel, designed for blazing-fast JavaScript and TypeScript compilation. Version 1.6.6 introduces subtle but important updates over the previous stable version, 1.6.5. While core dependencies like @swc/types and @swc/counter, along with development dependencies such as Jest, cross-env, TypeScript, and @napi-rs/cli remain consistent, developers should note the potential for bug fixes and incremental improvements under the hood leading to enhanced stability and potentially faster compilation times compared to 1.6.5.
A key detail to observe revolves around the optional dependencies, specifically the platform-specific binaries (@swc/core-*). In version 1.6.6, these are updated to 1.6.6 reflecting the change inline with the package version, whereas the 1.6.5 package includes version 1.6.5 of the same files. This ensures optimal performance and compatibility across various operating systems (Darwin, Linux, Windows) and architectures (x64, ARM64, ARM).
The packages' release dates highlight the recency of version 1.6.6 (June 29, 2024), emphasizing that it incorporates the latest fixes and optimizations. For developers seeking the most up-to-date and potentially most performant version of @swc/core, upgrading to 1.6.6 is recommended, ensuring they are leveraging the latest advancements in this super-fast JavaScript/TypeScript compiler. Both versions maintain the Apache-2.0 license and are part of the swc-project on GitHub, backed by community funding through Open Collective.
The are not vulnerabilities for the version 1.6.6 of the package @swc/core