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.4.3 to 3.4.4

2

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

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

@@ -26,14 +26,14 @@ # HTMLMinifier

| [Google](https://www.google.com/) | 44 | **42** | 45 | 46 | 45 |
| [HTMLMinifier](https://github.com/kangax/html-minifier) | 124 | **97** | 105 | 109 | 104 |
| [CNN](http://www.cnn.com/) | 131 | **121** | 129 | 130 | 124 |
| [Amazon](http://www.amazon.co.uk/) | 189 | **158** | 181 | 184 | n/a |
| [New York Times](http://www.nytimes.com/) | 200 | **131** | 149 | 148 | 139 |
| [Stack Overflow](http://stackoverflow.com/) | 223 | **172** | 181 | 189 | 178 |
| [BBC](http://www.bbc.co.uk/) | 224 | **185** | 217 | 223 | 211 |
| [HTMLMinifier](https://github.com/kangax/html-minifier) | 125 | **98** | 106 | 110 | 106 |
| [CNN](http://www.cnn.com/) | 135 | **124** | 132 | 133 | 128 |
| [Amazon](http://www.amazon.co.uk/) | 193 | **161** | 184 | 187 | n/a |
| [New York Times](http://www.nytimes.com/) | 204 | **135** | 152 | 152 | 143 |
| [Stack Overflow](http://stackoverflow.com/) | 224 | **173** | 182 | 190 | 179 |
| [BBC](http://www.bbc.co.uk/) | 225 | **186** | 219 | 225 | 213 |
| [Bootstrap CSS](http://getbootstrap.com/css/) | 272 | **260** | 269 | 229 | 269 |
| [Wikipedia](https://en.wikipedia.org/wiki/President_of_the_United_States) | 547 | **500** | 527 | 545 | 526 |
| [NBC](http://www.nbc.com/) | 572 | **549** | 570 | 572 | 555 |
| [Wikipedia](https://en.wikipedia.org/wiki/President_of_the_United_States) | 549 | **502** | 530 | 548 | 529 |
| [NBC](http://www.nbc.com/) | 634 | **603** | 632 | 634 | n/a |
| [Eloquent Javascript](http://eloquentjavascript.net/1st_edition/print.html) | 870 | **815** | 840 | 864 | n/a |
| [ES6 table](http://kangax.github.io/compat-table/es6/) | 4453 | **3763** | 4205 | n/a | n/a |
| [ES6 draft](https://tc39.github.io/ecma262/) | 5505 | **4913** | 5060 | n/a | n/a |
| [ES6 table](http://kangax.github.io/compat-table/es6/) | 4380 | **3695** | 4130 | n/a | n/a |
| [ES6 draft](https://tc39.github.io/ecma262/) | 5506 | **4913** | 5060 | n/a | n/a |

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

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

if (classChain && (options.caseSensitive ? attr.name : attr.name.toLowerCase()) === 'class') {
classChain.add(trimWhitespace(attr.value).split(/\s+/).filter(shouldSkipUIDs));
classChain.add(trimWhitespace(attr.value).split(/[ \t\n\f\r]+/).filter(shouldSkipUIDs));
}

@@ -812,3 +812,3 @@ else if (options.processScripts && attr.name.toLowerCase() === 'type') {

options.sortClassName = function(value) {
return sorter.sort(value.split(/\s+/)).join(' ');
return sorter.sort(value.split(/[ \n\f\r]+/)).join(' ');
};

@@ -815,0 +815,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