@swc/core saw a minor update from version 1.3.49 to 1.3.50, released on April 13, 2023. While both versions share the same core functionality as a super-fast alternative to Babel, focusing on speed and efficiency, a few key differences are worth noting for developers considering an upgrade.
Across both versions, dependencies are structurally the same which means the core support for various platforms like Darwin (macOS), Linux and Windows across different architectures (x64, arm64, ia32) remains consistent. This highlights the project's ongoing commitment to cross-platform compatibility. The core dependencies are also mirrored on the optional dependencies which reinforces the modular download approach that the package is structured with.
The most notable change lies within the devDependencies. While most dependencies remain at the same versions, @swc/plugin-jest was bumped from version 1.5.56 to 1.5.59. This suggests that the newer version likely includes improvements or bug fixes related to Jest integration, which are vital for developers using SWC in testing environments. If you rely heavily on Jest for testing your SWC-transpiled code, upgrading to 1.3.50 is probably useful.
The unpackedSize also changed, going from 736505 bytes to 738767 bytes, a jump of around 2KB which might reflect minor enhancements, potentially new features, related to the @swc/plugin-jest update or other internal changes. Be careful about how this might affect you, especially if you are deploying to an edge function or a serverless environment.
Finally the update was published 3 days after the old version meaning that this update is likely a bugfix on top of the 1.3.49 release.
The are not vulnerabilities for the version 1.3.50 of the package @swc/core