html-minifier-next 6.2.4 → 6.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +2 -2
- package/dist/htmlminifier.cjs +0 -1
- package/dist/types/presets.d.ts +0 -1
- package/dist/types/presets.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/presets.js +0 -1
package/cli.js
CHANGED
|
@@ -60,10 +60,10 @@ const pkg = require('./package.json');
|
|
|
60
60
|
|
|
61
61
|
const DEFAULT_FILE_EXTENSIONS = ['html', 'htm', 'shtml', 'shtm'];
|
|
62
62
|
|
|
63
|
-
const MARK_ERROR
|
|
63
|
+
const MARK_ERROR = process.stderr.isTTY ? '\x1b[31m' : '';
|
|
64
64
|
const MARK_SUCCESS = process.stderr.isTTY ? '\x1b[32m' : '';
|
|
65
65
|
const MARK_WARNING = process.stderr.isTTY ? '\x1b[33m' : '';
|
|
66
|
-
const MARK_RESET
|
|
66
|
+
const MARK_RESET = process.stderr.isTTY ? '\x1b[0m' : '';
|
|
67
67
|
|
|
68
68
|
const program = new Command();
|
|
69
69
|
program.name(pkg.name);
|
package/dist/htmlminifier.cjs
CHANGED
package/dist/types/presets.d.ts
CHANGED
|
@@ -27,7 +27,6 @@ export namespace presets {
|
|
|
27
27
|
export { collapseBooleanAttributes_1 as collapseBooleanAttributes };
|
|
28
28
|
let collapseWhitespace_1: boolean;
|
|
29
29
|
export { collapseWhitespace_1 as collapseWhitespace };
|
|
30
|
-
export let continueOnParseError: boolean;
|
|
31
30
|
export let decodeEntities: boolean;
|
|
32
31
|
export let mergeScripts: boolean;
|
|
33
32
|
export let minifyCSS: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../src/presets.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../src/presets.js"],"names":[],"mappings":"AAyCA;;;;GAIG;AACH,gCAHW,MAAM,GACJ,MAAM,GAAC,IAAI,CAMvB;AAED;;;GAGG;AACH,kCAFa,MAAM,EAAE,CAIpB"}
|
package/package.json
CHANGED