@swc/core, a super-fast alternative to Babel, has released version 1.8.0, succeeding the previous stable version 1.7.42. Both versions share the core mission of providing a high-performance JavaScript/TypeScript compiler. A key difference lies in the updated dependencies. Version 1.8.0 uses "@swc/types": "^0.1.14", while 1.7.42 relies on "^0.1.13". This update suggests potential enhancements or bug fixes within the underlying type definitions used by the compiler. Both versions maintain identical development dependencies, including testing frameworks like Jest and tools like Typescript and @napi-rs/cli, underlining a consistent development environment. The peer dependency on "@swc/helpers": "*" remains unchanged, ensuring compatibility with necessary helper functions.
The optional dependencies, crucial for platform-specific binaries, are updated to version "1.8.0" across all supported architectures (darwin, linux, win32), matching the core package version. This ensures developers receive the correct pre-compiled binary for their operating system, optimizing performance. The file count during distribution remains the same across both versions.
From a developer's perspective, upgrading to 1.8.0 offers the benefit of potential bug fixes and improvements within the type definitions. While the core functionality may remain largely unchanged, staying current ensures access to the latest optimizations and features. The consistent development environment suggests a smooth upgrade process, minimizing potential compatibility issues.
The are not vulnerabilities for the version 1.8.0 of the package @swc/core