@swc/core, a high-performance alternative to Babel, has a new version, 1.5.19, released on May 29, 2024. Compared to the previous stable version, 1.5.11 released just a day before, some key changes include dependency updates and a streamlined packaging approach. One notable difference is in the dependencies section. While 1.5.11 uses "workspace:^" for @swc/types, version 1.5.19 specifies a concrete version range of "^0.1.7". This change likely aims for more explicit version management and potentially avoids compatibility issues arising from workspace-managed dependencies. Furthermore, version 1.5.11 included several optional dependencies specific to different operating systems and architectures, such as @swc/core-darwin-x64 and @swc/core-linux-arm64-musl. These are no longer present in 1.5.19, suggesting a shift in how the package is distributed, possibly relying on a more platform-agnostic build or a different installation mechanism that handles platform-specific binaries separately. The dist section also reveals a significant reduction in the unpackedSize, going from 99952 bytes in 1.5.11 to only 11917 bytes in 1.5.19, pointing towards a leaner package.
Both versions share the same core description, development dependencies (like Jest, cross-env, and TypeScript), peer dependencies on @swc/helpers, license, repository, author, and funding information, highlighting the stability of the project's core values and development practices. Developers should take note of the dependency changes when upgrading, particularly regarding @swc/types and the handling of platform-specific binaries, to ensure seamless integration.
The are not vulnerabilities for the version 1.5.19 of the package @swc/core