@swc/core, a high-performance JavaScript and TypeScript compiler, has released version 1.7.2 as the current stable release, succeeding version 1.7.1. Both versions maintain the same core dependencies on @swc/types and @swc/counter, as well as development dependencies like jest, cross-env, typescript, and @napi-rs/cli, signifying a consistent development environment and testing setup. Similarly, the peer dependency on @swc/helpers remains unchanged, ensuring compatibility with existing helper libraries.
The key difference lies in the optional dependencies, where each platform-specific binary package now reflects the 1.7.2 version, updated from 1.7.1 in the previous release. This update ensures developers receive the latest compiled binaries tailored to their operating system and architecture, crucial for optimal performance. These binaries range from Darwin (macOS) to Linux (GNU and Musl) to Windows (MSVC), covering a breadth of environments on x64, ARM64, and ia32 architectures.
For developers using @swc/core, upgrading to 1.7.2 ensures they have the most recent, potentially bug-fixed and optimized native binaries. The consistent dependency structure indicates a seamless transition for existing projects already utilizing @swc/core. The library's focus on speed and broad platform support continues to be a key selling point, offering a compelling alternative to Babel for build processes. The release date of July 25, 2024, marks version 1.7.2 as the freshest iteration, giving developers a current and dependable foundation for their JavaScript/TypeScript compilation needs.
The are not vulnerabilities for the version 1.7.2 of the package @swc/core