@swc/core, a blazing-fast alternative to Babel, has released version 1.7.12, succeeding the previous stable version 1.7.11. Both versions retain the core functionality of accelerating JavaScript and TypeScript compilation. Dependency-wise, they are identical, relying on the same versions of @swc/types and @swc/counter for type definitions and performance tracking, respectively. Development dependencies like Jest, cross-env, TypeScript, and @napi-rs/cli also remain consistent, indicating a stable development environment. The peer dependency on @swc/helpers stays the same, ensuring compatibility with SWC's helper functions.
The key difference lies in the optional dependencies, specifically the pre-built binaries for various platforms. Version 1.7.12 includes updated binaries for operating systems like Darwin (macOS), Linux, and Windows across different architectures such as x64, arm64, and ia32. Each binary @swc/core-{platform} suffix is updated to the new version number 1.7.12. These platform-specific binaries are crucial for developers as they provide native performance enhancements, optimizing compilation speeds for their target environments. The change suggests bug fixes or improvements for specific platforms. The updated release data (2024-08-19 for 1.7.12 vs. 2024-08-14 for 1.7.11) confirms that 1.7.12 is the most recent release. Developers should update to 1.7.12 to take advantage of the latest platform-specific optimizations and potential bug fixes. Both versions maintain the Apache-2.0 license and are part of the SWC project, funded through Open Collective, showcasing its commitment to open-source development.
The are not vulnerabilities for the version 1.7.12 of the package @swc/core