html-minifier-terser
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98802