html-minifier-next 6.2.4 → 6.2.6

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 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 = process.stderr.isTTY ? '\x1b[31m' : '';
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 = process.stderr.isTTY ? '\x1b[0m' : '';
66
+ const MARK_RESET = process.stderr.isTTY ? '\x1b[0m' : '';
67
67
 
68
68
  const program = new Command();
69
69
  program.name(pkg.name);
@@ -1028,7 +1028,6 @@ const presets = {
1028
1028
  collapseAttributeWhitespace: true,
1029
1029
  collapseBooleanAttributes: true,
1030
1030
  collapseWhitespace: true,
1031
- continueOnParseError: true,
1032
1031
  decodeEntities: true,
1033
1032
  mergeScripts: true,
1034
1033
  minifyCSS: true,
@@ -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":"AA0CA;;;;GAIG;AACH,gCAHW,MAAM,GACJ,MAAM,GAAC,IAAI,CAMvB;AAED;;;GAGG;AACH,kCAFa,MAAM,EAAE,CAIpB"}
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
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "author": "Jens Oliver Meiert",
3
3
  "bin": {
4
- "html-minifier-next": "./cli.js"
4
+ "html-minifier-next": "./cli.js",
5
+ "hmn": "./cli.js"
5
6
  },
6
7
  "bugs": "https://github.com/j9t/html-minifier-next/issues",
7
8
  "dependencies": {
@@ -96,5 +97,5 @@
96
97
  },
97
98
  "type": "module",
98
99
  "types": "./dist/types/htmlminifier.d.ts",
99
- "version": "6.2.4"
100
+ "version": "6.2.6"
100
101
  }
package/src/presets.js CHANGED
@@ -22,7 +22,6 @@ export const presets = {
22
22
  collapseAttributeWhitespace: true,
23
23
  collapseBooleanAttributes: true,
24
24
  collapseWhitespace: true,
25
- continueOnParseError: true,
26
25
  decodeEntities: true,
27
26
  mergeScripts: true,
28
27
  minifyCSS: true,