@swc/core, a super-fast alternative to Babel, released version 1.2.0 shortly after version 1.1.58. Both versions share the same core dependencies like mkdirp, progress, node-fetch, and true-case-path. They also maintain identical developer dependencies, including testing frameworks like jest, utility libraries such as lodash, and Babel-related tooling for compatibility and development purposes. This consistent dev dependency list indicates a stable and ongoing commitment to build tooling and compatibility layers.
The key differences lie in the dist object, signifying changes in the packaged and published artifact. Version 1.2.0 features a larger fileCount of 453 compared to 1.1.58's 421, alongside a bigger unpackedSize of 3508025 versus 3412824. This increase suggests that v1.2.0 includes either more functionality, more comprehensive test cases, or internal code improvements resulting to the increase in size. For developers, these changes mean potentially enhanced features, bug fixes, or performance improvements, though the specifics aren't detailed directly. The releases were close in time: Version 1.2.0 was launched on 2020-06-14, merely a day after 1.1.58 on 2020-06-13. For developers deciding which version to use, they should prioritize v1.2.0 for the latest enhancements and fixes, assuming no immediate regressions are reported after its release.
The are not vulnerabilities for the version 1.2.0 of the package @swc/core