@swc/core is a super-fast alternative to Babel, designed for accelerating JavaScript and TypeScript compilation. Version 1.7.9 builds upon the solid foundation of its predecessor, 1.7.6, maintaining the core functionality and dependency structure. Both versions share identical dependencies, including @swc/types and @swc/counter, and the same suite of devDependencies like jest, cross-env, typescript, and @napi-rs/cli, ensuring a consistent development experience. The peer dependency @swc/helpers remains crucial for integration within larger projects.
However, the key difference lies in the optionalDependencies, which are platform-specific binaries. Version 1.7.9 offers updated binaries tailored for various operating systems and architectures, including darwin (x64 and arm64), linux (x64-gnu, x64-musl, arm64-gnu, arm64-musl, arm-gnueabihf), and Windows (x64-msvc, ia32-msvc, arm64-msvc). These updated binaries likely contain bug fixes, performance enhancements, or new features specific to each platform. For developers, this means improved stability and potentially faster compilation times when using @swc/core across different environments. Furthermore, the release date indicates that version 1.7.9 incorporates the latest refinements and optimizations, providing a more current and reliable toolchain for building modern JavaScript and TypeScript applications. The fileCount and unpackedSize remains identical between the two at 12 and 120125 respectively.
The are not vulnerabilities for the version 1.7.9 of the package @swc/core