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.0.2 to 3.0.3

README.md

6

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

@@ -69,3 +69,3 @@ "cli",

"grunt-contrib-uglify": "2.0.x",
"grunt-eslint": "19.0.x",
"gruntify-eslint": "3.1.x",
"phantomjs-prebuilt": "2.1.x",

@@ -75,3 +75,3 @@ "qunitjs": "2.x"

"benchmarkDependencies": {
"brotli": "1.2.x",
"brotli": "1.3.x",
"chalk": "1.1.x",

@@ -78,0 +78,0 @@ "cli-table": "0.3.x",

@@ -1141,3 +1141,7 @@ 'use strict';

if (/^\s/.test(text)) {
trimTrailingWhitespace(buffer.length - 2, 'br');
var tagIndex = buffer.length - 1;
while (tagIndex > 0 && buffer[tagIndex].lastIndexOf('<' + prevTag) !== 0) {
tagIndex--;
}
trimTrailingWhitespace(tagIndex - 1, 'br');
}

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