@swc/core, a super-fast alternative to Babel, has a new release, version 1.6.0, following closely on the heels of the previous stable version, 1.5.29. Both versions share the same core dependencies: @swc/types and @swc/counter, ensuring compatibility with existing SWC ecosystems. Development dependencies like Jest, cross-env, TypeScript and @napi-rs/cli remain consistent, indicating a stable build and testing environment. The peer dependency @swc/helpers is also unchanged, suggesting no breaking changes in the helper functions. One key difference lies in the optional dependencies. While both versions offer pre-built binaries for a range of platforms (Darwin, Linux, and Windows, across various architectures like x64, ARM64, and IA32), version 1.6.0 relies on binaries specifically tagged with the 1.6.0 version while 1.5.29 relies on the binaries tagged with 1.5.29. This ensures that developers get the correct pre-compiled binaries for their target operating system and CPU architecture, potentially leading to improved performance and reduced compatibility issues. The unpacked size is slightly different with 1.6.0 being 120124, while 1.5.29 is 120135. This could lead to slightly faster install times. Finally, version 1.6.0 was released on June 15, 2024, just two days after version 1.5.29. For developers, upgrading to 1.6.0 offers the benefits of the newest features bundled in the newest binaries. Be sure to check the SWC changelog to observe more granular details about the changes.
The are not vulnerabilities for the version 1.6.0 of the package @swc/core