@swc/core version 1.2.105 is a minor release over the previous stable version 1.2.104, part of the super-fast Babel alternative aimed at improving compilation speed. Both versions share the same core functionality and maintain the "Apache-2.0 AND MIT" license, reflecting their commitment to open-source principles but the file size slightly changed.
A key difference lies in the dependency updates and platform support, version 1.2.105 includes the @swc/core-darwin-x64":"^1.2.105" dependency, while version 1.2.104 specifies the exact dependency version "@swc/core-darwin-x64":"1.2.104". This pattern applies to the optional dependencies as well, and it is consistent across all supported platform binaries. The change makes it easier to update dependent packages in the future. Version 1.2.105 also introduces a consistent use of the caret (^) range operator for platform-specific binary dependencies within the dependencies section, offering more flexibility in dependency resolution, and the updated version could pull in compatible patch releases for these platform-specific binaries.
Version 1.2.104 supports the "freebsd-x64" platform where it is missing in the next version. As a developer, while the core transformation capabilities remain consistent, you should consider these platform update considerations.
The are not vulnerabilities for the version 1.2.105 of the package @swc/core