Version 1.1.39 of @swc/core, a super-fast Babel alternative, brings forth subtle yet potentially impactful refinements compared to its predecessor, version 1.1.37. Both versions share the same core dependencies like mkdirp, progress, node-fetch, and true-case-path, ensuring continued compatibility with existing build systems. The development dependencies also remain consistent, including tools like jest for testing, lodash for utility functions, typescript for type checking, and various Babel plugins and presets necessary for broader JavaScript syntax support. This indicates a focus on maintaining existing functionality and development workflows.
The most notable difference lies within the dist object. While both versions have the same fileCount of 59, the unpackedSize has significantly decreased from 3926066 bytes in version 1.1.37 to 342756 bytes in version 1.1.39. This 10x size reduction strongly suggests significant optimizations in the compiled code or asset packaging within the package, offering potential benefits like smaller installation sizes, faster download times, and improved overall performance in resource-constrained environments. Developers should consider upgrading to version 1.1.39 to leverage these optimizations while retaining familiar features and development tools. The release date difference also signifies approximately two weeks of refinements and potential bug fixes between the two versions.
The are not vulnerabilities for the version 1.1.39 of the package @swc/core