UglifyJS, a vital tool for JavaScript developers, offers parsing, mangling, compression, and beautification functionalities. Examining versions 3.12.2 and 3.12.1 reveals subtle yet potentially important differences. Both versions share the same core description, development dependencies (Acorn ~7.1.0 and Semver ~6.3.0), a BSD-2-Clause license, and the same author, Mihai Bazon. They're both hosted on the same GitHub repository.
The key differences lie in the dist section and the releaseDate. Version 3.12.2 was released on December 16, 2020, while 3.12.1 was released on November 30, 2020. More significantly, the unpacked size of 3.12.2 is 968013 bytes, larger than version 3.12.1's 951133 bytes. Both versions have the same 20 files.
For developers, this difference in unpacked size hints at internal code changes, potentially including bug fixes, performance improvements, or new features. While the changelog isn't directly provided here, the increased size usually signifies that something was added or significantly altered. Consequently, developers should investigate official release notes or commit history on the UglifyJS GitHub repository to understand exactly what changed between these two releases. It is generally recommended to upgrade to the latest stable release (3.12.2 in this case) of UglifyJS to benefit from the improvements.
The are not vulnerabilities for the version 3.12.2 of the package uglify-js