express-minify-html icon indicating copy to clipboard operation
express-minify-html copied to clipboard

Express middleware wrapper around HTML minifier

Results 10 express-minify-html issues
Sort by recently updated
recently updated
newest added

express-minify-html uses an outdated version of [clean-css](https://github.com/clean-css/clean-css) and becomes vulnerable to Regular Expression Denial of Service attacks. The vulnerability cannot be resolved by a simple `npm audit fix --force` on...

The source code declares an object with some default values, but I don't see `minifyJS` there. Is this assumed to be false by default?

Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.6 to 4.7.6. Changelog Sourced from handlebars's changelog. v4.7.6 - April 3rd, 2020 Chore/Housekeeping: #1672 - Switch cmd parser to latest minimist (@dougwilson Compatibility notes: Restored Node.js...

dependencies

Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.0 to 4.6.2. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=lodash.merge&package-manager=npm_and_yarn&previous-version=4.6.0&new-version=4.6.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Most recent: https://www.npmjs.com/advisories/1066

Hi! The guys at npm found a security vulnerability with lodash, which was fixed in 4.6.2: ![image](https://user-images.githubusercontent.com/2386064/61361747-4f86e980-a881-11e9-8726-957dc934e4f1.png)

Content of `pre`, `textarea` and `code` tags should not be minified, even if HTML whitespace collapsing is enabled (must be an exception like inside of tags & props).

In my scenario if html-minify has error then whole server is down! I think, that html-minify must be in try{...}catch(err){...} to prevent server down, and if err then return original...

Hi, I ran into some problems with the middleware when the `minify` library throws an exception.

I set `minifyJS` to `true`, but my inline JavaScript snippets are not being minified. Could express-minify-html minify inline JS, and inline CSS as well? That could also reduce our bandwidth...