Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@node-minify/html-minifier

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@node-minify/html-minifier - npm Package Compare versions

Comparing version 7.0.0 to 7.1.0

11

lib/html-minifier.js
"use strict";
var _htmlMinifier = _interopRequireDefault(require("html-minifier"));
var _utils = require("@node-minify/utils");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/*!

@@ -40,2 +37,3 @@ * node-minify

};
/**

@@ -48,3 +46,2 @@ * Run html-minifier.

*/
const minifyHTMLMinifier = ({

@@ -58,3 +55,2 @@ settings,

const contentMinified = HTMLMinifier(content, options);
if (!settings.content) {

@@ -67,14 +63,11 @@ _utils.utils.writeFile({

}
if (callback) {
return callback(null, contentMinified);
}
return contentMinified;
};
/**
* Expose `minifyHTMLMinifier()`.
*/
module.exports = minifyHTMLMinifier;

6

package.json
{
"name": "@node-minify/html-minifier",
"version": "7.0.0",
"version": "7.1.0",
"description": "html-minifier plugin for @node-minify",

@@ -36,6 +36,6 @@ "keywords": [

"dependencies": {
"@node-minify/utils": "^7.0.0",
"@node-minify/utils": "^7.1.0",
"html-minifier": "4.0.0"
},
"gitHead": "8b5bda6f1ac9fe7180006f2a19ec3253e8fff4ec"
"gitHead": "94cef2d5d653c3bddc3e603b4e25c135b0b6f4b3"
}
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