@swc/core, a blazing-fast Babel alternative, has a new release, version 1.7.22, succeeding the previous stable version 1.7.21. While seemingly incremental, staying current is crucial for developers leveraging SWC's superior performance in JavaScript and TypeScript compilation. Both versions share core dependencies like @swc/types and @swc/counter, development dependencies including testing framework jest, cross-env, typescript and @napi-rs/cli, peer dependency on @swc/helpers, and a comprehensive list of optional dependencies catering to specific operating systems and architectures (Darwin, Linux (gnu and musl), and Windows across x64, arm64, ia32 and arm). These optional dependencies provide pre-built binaries optimized for different platforms ensuring compatibility and optimal performance.
The key difference lies primarily in the version numbers within the optional dependencies; version 1.7.22 now points to the latest binaries for each platform, ensuring access to the most recent improvements and bug fixes. The releaseDate property confirms the recency of the new version, released on August 30, 2024, a slight update from version 1.7.21 released on August 28, 2024. Keeping @swc/core updated ensures better performance, new features (if any), and resolved bugs compared to older releases. Always consult the changelog for specific details on the changes incorporated between these versions for detailed information.
The are not vulnerabilities for the version 1.7.22 of the package @swc/core