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.1 to 3.5.2

2

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

@@ -6,0 +6,0 @@ "cli",

@@ -25,12 +25,12 @@ # HTMLMinifier

| --------------------------------------------------------------------------- |:--------------------:| ------------:| --------:| ----------:| ------------------:|
| [Google](https://www.google.com/) | 44 | **42** | 45 | 46 | 45 |
| [HTMLMinifier](https://github.com/kangax/html-minifier) | 127 | **100** | 108 | 112 | 107 |
| [CNN](http://www.cnn.com/) | 136 | **125** | 133 | 134 | 129 |
| [Amazon](http://www.amazon.co.uk/) | 196 | **165** | 188 | 192 | n/a |
| [Stack Overflow](http://stackoverflow.com/) | 223 | **172** | 181 | 188 | 178 |
| [New York Times](http://www.nytimes.com/) | 224 | **153** | 172 | 170 | 159 |
| [BBC](http://www.bbc.co.uk/) | 236 | **194** | 229 | 236 | 223 |
| [Google](https://www.google.com/) | 46 | **43** | 46 | 48 | 46 |
| [HTMLMinifier](https://github.com/kangax/html-minifier) | 129 | **100** | 108 | 113 | 108 |
| [CNN](http://www.cnn.com/) | 134 | **123** | 131 | 132 | 127 |
| [Amazon](http://www.amazon.co.uk/) | 200 | **168** | 192 | 195 | n/a |
| [Stack Overflow](http://stackoverflow.com/) | 220 | **170** | 178 | 186 | 176 |
| [BBC](http://www.bbc.co.uk/) | 228 | **188** | 221 | 228 | 216 |
| [New York Times](http://www.nytimes.com/) | 235 | **158** | 181 | 178 | 165 |
| [Bootstrap CSS](http://getbootstrap.com/css/) | 272 | **260** | 269 | 229 | 269 |
| [Wikipedia](https://en.wikipedia.org/wiki/President_of_the_United_States) | 550 | **503** | 530 | 548 | 529 |
| [NBC](http://www.nbc.com/) | 643 | **612** | 641 | 643 | n/a |
| [Wikipedia](https://en.wikipedia.org/wiki/President_of_the_United_States) | 550 | **502** | 530 | 548 | 529 |
| [NBC](http://www.nbc.com/) | 649 | **617** | 646 | 649 | n/a |
| [Eloquent Javascript](http://eloquentjavascript.net/1st_edition/print.html) | 870 | **815** | 840 | 864 | n/a |

@@ -37,0 +37,0 @@ | [ES6 table](http://kangax.github.io/compat-table/es6/) | 4105 | **3467** | 3871 | n/a | n/a |

@@ -1001,6 +1001,6 @@ 'use strict';

}
if (!_canTrimWhitespace(tag, attrs)) {
if (!_canTrimWhitespace(tag, attrs) || stackNoTrimWhitespace.length) {
stackNoTrimWhitespace.push(tag);
}
if (!_canCollapseWhitespace(tag, attrs)) {
if (!_canCollapseWhitespace(tag, attrs) || stackNoCollapseWhitespace.length) {
stackNoCollapseWhitespace.push(tag);

@@ -1007,0 +1007,0 @@ }

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