The @swc/core package offers a high-performance alternative to Babel, designed for significantly faster JavaScript and TypeScript compilation. Comparing version 1.5.27 with the immediately preceding stable version, 1.5.25, reveals subtle but important changes for developers.
A primary difference lies in the dependencies. Version 1.5.27 updates the dependency on @swc/types from ^0.1.7 to ^0.1.8. This suggests improvements or bug fixes within the type definitions used by swc, potentially affecting type checking and overall code reliability for users employing TypeScript. While the @swc/counter dependency remains consistent at ^0.1.3, the updated @swc/types indicates ongoing refinement of the core library's internal architecture.
Both versions share identical development dependencies, including jest for testing, cross-env for cross-platform environment variable usage, typescript for, well, using typescript, and @napi-rs/cli for building native Node.js addons. Similarly, the peer dependency on @swc/helpers remains unchanged, ensuring compatibility with existing build setups that rely on shared helper functions. The optional dependencies, which provide platform-specific binaries for different operating systems and architectures, are present in both versions, differing only in their version number mirroring the core package.
Finally, version 1.5.27 was released on June 10, 2024, whereas version 1.5.25 was released on June 5, 2024. The most visible change is the updated @swc/types dependency, while the platform dependencies were only updated to the current version of the package.
The are not vulnerabilities for the version 1.5.27 of the package @swc/core