Skip to content

Releases: meszaros-lajos-gyorgy/express-minify-html-2

v2.0.0

11 Jun 18:18
Compare
Choose a tag to compare

Features

  • Extracted nested functions into pure functions outside the main exported function
  • Added alias for exception_url option: exceptionUrls to be compatible with the the casing of htmlMinifier option

Breaking

The old code was said to be compatible with nodejs 4.0.0, but html-minify-terser requires 14.13.1, so this package now also requires at least nodejs 14.0.0

I haven't tested if html-minify-terser actually requires node 14.13.1, but the code in this repo otherwise should work with node 6.0.0

v1.0.2

11 Jun 14:21
Compare
Choose a tag to compare

Replaced the no longer maintained html-minifier with html-minifier-terser because of the security issue with html-minifier.

( thank you @johnhunter for the detailed issue report! )