Socket
Socket
Sign inDemoInstall

html-minifier

Package Overview
Dependencies
Maintainers
2
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-minifier - npm Package Compare versions

Comparing version 3.5.6 to 3.5.7

8

package.json
{
"name": "html-minifier",
"description": "Highly configurable, well-tested, JavaScript-based HTML minifier.",
"version": "3.5.6",
"version": "3.5.7",
"keywords": [

@@ -59,3 +59,3 @@ "cli",

"clean-css": "4.1.x",
"commander": "2.11.x",
"commander": "2.12.x",
"he": "1.1.x",

@@ -65,3 +65,3 @@ "ncname": "1.0.x",

"relateurl": "0.2.x",
"uglify-js": "3.1.x"
"uglify-js": "3.2.x"
},

@@ -78,3 +78,3 @@ "devDependencies": {

"brotli": "1.3.x",
"chalk": "2.1.x",
"chalk": "2.3.x",
"cli-table": "0.3.x",

@@ -81,0 +81,0 @@ "lzma": "2.3.x",

@@ -25,15 +25,15 @@ # HTMLMinifier

| ---------------------------------------------------------------------------- |:--------------------:| ------------:| --------:| ----------:| ------------------:|
| [Google](https://www.google.com/) | 45 | **42** | 45 | 47 | 45 |
| [HTMLMinifier](https://github.com/kangax/html-minifier) | 133 | **104** | 112 | 116 | 112 |
| [Amazon](https://www.amazon.co.uk/) | 212 | **179** | 204 | 208 | n/a |
| [New York Times](https://www.nytimes.com/) | 231 | **157** | 180 | 176 | 165 |
| [Stack Overflow](https://stackoverflow.com/) | 244 | **191** | 200 | 208 | 198 |
| [Google](https://www.google.com/) | 46 | **43** | 46 | 48 | 46 |
| [HTMLMinifier](https://github.com/kangax/html-minifier) | 134 | **104** | 112 | 117 | 112 |
| [New York Times](https://www.nytimes.com/) | 209 | **140** | 159 | 158 | 147 |
| [Stack Overflow](https://stackoverflow.com/) | 252 | **197** | 207 | 215 | 204 |
| [BBC](https://www.bbc.co.uk/) | 260 | **213** | 252 | 259 | 245 |
| [Bootstrap CSS](https://getbootstrap.com/docs/3.3/css/) | 272 | **260** | 269 | 229 | 269 |
| [BBC](https://www.bbc.co.uk/) | 274 | **225** | 266 | 273 | 258 |
| [Twitter](https://twitter.com/) | 319 | **237** | 283 | 311 | 283 |
| [Wikipedia](https://en.wikipedia.org/wiki/President_of_the_United_States) | 466 | **435** | 451 | 466 | 450 |
| [NBC](https://www.nbc.com/) | 624 | **593** | 620 | 623 | n/a |
| [Twitter](https://twitter.com/) | 333 | **248** | 297 | 326 | 297 |
| [Wikipedia](https://en.wikipedia.org/wiki/President_of_the_United_States) | 466 | **435** | 451 | 465 | 450 |
| [Amazon](https://www.amazon.co.uk/) | 476 | **409** | 462 | 466 | n/a |
| [NBC](https://www.nbc.com/) | 625 | **595** | 622 | 625 | n/a |
| [Eloquent Javascript](https://eloquentjavascript.net/1st_edition/print.html) | 870 | **815** | 840 | 864 | n/a |
| [ES6 table](https://kangax.github.io/compat-table/es6/) | 4083 | **3463** | 3861 | n/a | n/a |
| [ES6 draft](https://tc39.github.io/ecma262/) | 5700 | **5086** | 5235 | n/a | n/a |
| [ES6 table](https://kangax.github.io/compat-table/es6/) | 4174 | **3538** | 3944 | n/a | n/a |
| [ES6 draft](https://tc39.github.io/ecma262/) | 5717 | **5101** | 5250 | n/a | n/a |

@@ -40,0 +40,0 @@ ## Options Quick Reference

@@ -286,3 +286,3 @@ 'use strict';

if (/;$/.test(attrValue) && !/&#?[0-9a-zA-Z]+;$/.test(attrValue)) {
attrValue = attrValue.replace(/\s*;$/, '');
attrValue = attrValue.replace(/\s*;$/, ';');
}

@@ -289,0 +289,0 @@ attrValue = unwrapInlineCSS(options.minifyCSS(wrapInlineCSS(attrValue)));

@@ -73,3 +73,3 @@ /*!

// (and which close themselves)
var closeSelf = makeMap('colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source');
var closeSelf = makeMap('colgroup,dd,dt,li,option,p,td,tfoot,th,thead,tr,source');

@@ -76,0 +76,0 @@ // Attributes that have their values filled in disabled='disabled'

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc