Minify package has a new version 7.1.0 released on September 16, 2021, following the previous stable version 7.0.2 from May 4, 2021. Both versions serve as minifiers for JavaScript, CSS, HTML, and images, streamlining web assets for improved performance. Key dependencies like terser, clean-css, and html-minifier-terser remain consistent, ensuring core minification functionality is maintained.
The primary distinctions lie in the development dependencies, signaling improvements in development tooling and code quality. Version 7.1.0 upgrades eslint to version 8.0.0-beta.2 and putout to 20.1.0, while 7.0.2 used eslint@7.0.0 and putout@17.0.0. Supertape is updated to ^6.6.0 from ^5.2.0. These upgrades suggest enhanced linting, code analysis, and testing capabilities, potentially leading to more robust and maintainable code. Also, version 7.1.0 includes find-up as a dependency which was not a dependency in 7.0.2. The added find-up dependency likely streamlined file searching within the minification process. The update also shows a slight increase in size, with unpacked size growing from 30104 to 31255.
For developers, upgrading to version 7.1.0 offers benefits from the improved developer experience. The update ensure your minified output benefits from a codebase that is likely more rigorously tested and adheres to stricter linting standards.
The are not vulnerabilities for the version 7.1.0 of the package minify