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

html-minifier-terser

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-minifier-terser - npm Package Compare versions

Comparing version 6.0.1 to 6.0.2

4

cli.js

@@ -234,3 +234,3 @@ #!/usr/bin/env node

function processFile(inputFile, outputFile) {
fs.readFile(inputFile, { encoding: 'utf8' }, function(err, data) {
fs.readFile(inputFile, { encoding: 'utf8' }, async function(err, data) {
if (err) {

@@ -241,3 +241,3 @@ fatal('Cannot read ' + inputFile + '\n' + err.message);

try {
minified = minify(data, createOptions());
minified = await minify(data, createOptions());
}

@@ -244,0 +244,0 @@ catch (e) {

{
"name": "html-minifier-terser",
"description": "Highly configurable, well-tested, JavaScript-based HTML minifier.",
"version": "6.0.1",
"version": "6.0.2",
"keywords": [

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

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