UglifyJS, a well-established JavaScript toolkit for parsing, mangling, compressing, and beautifying code, has seen a recent update from version 3.16.1 to 3.16.2. Both versions share the same core dependencies, relying on acorn (version ~8.2.1) for parsing and semver (version ~6.3.0) for semantic versioning. They are licensed under the BSD-2-Clause license and maintain the same repository location on GitHub. The author and description remain identical, indicating a focus on incremental improvements rather than fundamental changes.
The key difference lies in the "dist" section. Version 3.16.2 features a slightly larger unpacked size of 1254003 bytes compared to version 3.16.1's 1250346 bytes. Additionally, version 3.16.2 was released on July 4th, 2022, while version 3.16.1 was released on June 17th, 2022. This suggests that the newer version likely addresses bug fixes, performance enhancements, or minor feature additions implemented within that two-week timeframe, increasing the overall size of the unpacked package to account for these updated files. Developers should consider upgrading to version 3.16.2 to benefit from these improvements and ensure they are using the most stable and up-to-date version of the library for optimizing their JavaScript code. While the file count remains the same, the increased size highlights the potential for valuable, if subtle, alterations in the underlying code.
The are not vulnerabilities for the version 3.16.2 of the package uglify-js