html-validate 9.2.0 → 9.2.1

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.
@@ -3,7 +3,7 @@ import path from 'node:path';
3
3
  import kleur from 'kleur';
4
4
  import minimist from 'minimist';
5
5
  import { Y as name, v as version, o as SchemaValidationError, q as isUserError, Z as bugs } from './core.js';
6
- import { M as Mode, m as modeToFlag, h as haveImportMetaResolve, I as ImportResolveMissingError, l as lint, i as init, p as printConfig, d as dump, a as handleSchemaValidationError, C as CLI } from './cli.js';
6
+ import { M as Mode, m as modeToFlag, C as CLI, h as haveImportMetaResolve, I as ImportResolveMissingError, l as lint, i as init, p as printConfig, d as dump, a as handleSchemaValidationError } from './cli.js';
7
7
  import 'ajv';
8
8
  import './elements.js';
9
9
  import './meta-helper.js';
package/dist/es/jest.js CHANGED
@@ -1,10 +1,8 @@
1
- import { c as createMatcher, a as createMatcher$1, b as createMatcher$2, d as createMatcher$3, e as createMatcher$4 } from './matchers.js';
2
- import { c as createMatcher$5, a as createMatcher$6 } from './matchers-jestonly.js';
1
+ import { c as createMatcher, a as createMatcher$1 } from './matchers-jestonly.js';
2
+ import { c as createMatcher$2, a as createMatcher$3, b as createMatcher$4, d as createMatcher$5, e as createMatcher$6 } from './matchers.js';
3
3
  import { d as diff } from './jest-diff.js';
4
- import './matcher-utils.js';
5
- import 'node:worker_threads';
6
- import './core-nodejs.js';
7
- import 'node:path';
4
+ import 'kleur';
5
+ import 'jest-snapshot';
8
6
  import './core.js';
9
7
  import 'ajv';
10
8
  import './elements.js';
@@ -12,21 +10,23 @@ import './meta-helper.js';
12
10
  import './utils/natural-join.js';
13
11
  import '@sidvind/better-ajv-errors';
14
12
  import 'node:fs';
15
- import 'kleur';
16
13
  import '@html-validate/stylish';
17
14
  import 'semver';
15
+ import './matcher-utils.js';
16
+ import 'node:worker_threads';
17
+ import './core-nodejs.js';
18
+ import 'node:path';
18
19
  import 'node:fs/promises';
19
20
  import 'node:module';
20
- import 'jest-snapshot';
21
21
  import 'jest-diff';
22
22
 
23
23
  expect.extend({
24
- toBeValid: createMatcher(),
25
- toBeInvalid: createMatcher$1(),
26
- toHTMLValidate: createMatcher$2(expect, diff),
24
+ toBeValid: createMatcher$6(),
25
+ toBeInvalid: createMatcher$5(),
26
+ toHTMLValidate: createMatcher$4(expect, diff),
27
27
  toHaveError: createMatcher$3(expect, diff),
28
- toHaveErrors: createMatcher$4(expect, diff),
29
- toMatchCodeframe: createMatcher$5(),
30
- toMatchInlineCodeframe: createMatcher$6()
28
+ toHaveErrors: createMatcher$2(expect, diff),
29
+ toMatchCodeframe: createMatcher$1(),
30
+ toMatchInlineCodeframe: createMatcher()
31
31
  });
32
32
  //# sourceMappingURL=jest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"jest.js","sources":["../../src/jest/jest.ts"],"sourcesContent":["import \"./augmentation\";\n\nimport {\n\ttoBeValid,\n\ttoBeInvalid,\n\ttoHTMLValidate,\n\ttoHaveError,\n\ttoHaveErrors,\n\ttoMatchCodeframe,\n\ttoMatchInlineCodeframe,\n} from \"./matchers\";\nimport { diff } from \"./utils\";\n\nexpect.extend({\n\ttoBeValid: toBeValid(),\n\ttoBeInvalid: toBeInvalid(),\n\ttoHTMLValidate: toHTMLValidate(expect, diff),\n\ttoHaveError: toHaveError(expect, diff),\n\ttoHaveErrors: toHaveErrors(expect, diff),\n\ttoMatchCodeframe: toMatchCodeframe(),\n\ttoMatchInlineCodeframe: toMatchInlineCodeframe(),\n});\n"],"names":["toBeValid","toBeInvalid","toHTMLValidate","toHaveError","toHaveErrors","toMatchCodeframe","toMatchInlineCodeframe"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAaA,MAAA,CAAO,MAAO,CAAA;AAAA,EACb,WAAWA,aAAU,EAAA;AAAA,EACrB,aAAaC,eAAY,EAAA;AAAA,EACzB,cAAA,EAAgBC,eAAe,CAAA,MAAA,EAAQ,IAAI,CAAA;AAAA,EAC3C,WAAA,EAAaC,eAAY,CAAA,MAAA,EAAQ,IAAI,CAAA;AAAA,EACrC,YAAA,EAAcC,eAAa,CAAA,MAAA,EAAQ,IAAI,CAAA;AAAA,EACvC,kBAAkBC,eAAiB,EAAA;AAAA,EACnC,wBAAwBC,eAAuB;AAChD,CAAC,CAAA"}
1
+ {"version":3,"file":"jest.js","sources":["../../src/jest/jest.ts"],"sourcesContent":["import \"./augmentation\";\n\nimport {\n\ttoBeValid,\n\ttoBeInvalid,\n\ttoHTMLValidate,\n\ttoHaveError,\n\ttoHaveErrors,\n\ttoMatchCodeframe,\n\ttoMatchInlineCodeframe,\n} from \"./matchers\";\nimport { diff } from \"./utils\";\n\nexpect.extend({\n\ttoBeValid: toBeValid(),\n\ttoBeInvalid: toBeInvalid(),\n\ttoHTMLValidate: toHTMLValidate(expect, diff),\n\ttoHaveError: toHaveError(expect, diff),\n\ttoHaveErrors: toHaveErrors(expect, diff),\n\ttoMatchCodeframe: toMatchCodeframe(),\n\ttoMatchInlineCodeframe: toMatchInlineCodeframe(),\n});\n"],"names":["toBeValid","toBeInvalid","toHTMLValidate","toHaveError","toHaveErrors","toMatchCodeframe","toMatchInlineCodeframe"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAaA,MAAA,CAAO,MAAO,CAAA;AAAA,EACb,WAAWA,eAAU,EAAA;AAAA,EACrB,aAAaC,eAAY,EAAA;AAAA,EACzB,cAAA,EAAgBC,eAAe,CAAA,MAAA,EAAQ,IAAI,CAAA;AAAA,EAC3C,WAAA,EAAaC,eAAY,CAAA,MAAA,EAAQ,IAAI,CAAA;AAAA,EACrC,YAAA,EAAcC,eAAa,CAAA,MAAA,EAAQ,IAAI,CAAA;AAAA,EACvC,kBAAkBC,eAAiB,EAAA;AAAA,EACnC,wBAAwBC,aAAuB;AAChD,CAAC,CAAA"}
@@ -55,5 +55,5 @@ function createMatcher() {
55
55
  return toMatchInlineCodeframe;
56
56
  }
57
57
 
58
- export { createMatcher as a, createMatcher$1 as c };
58
+ export { createMatcher$1 as a, createMatcher as c };
59
59
  //# sourceMappingURL=matchers-jestonly.js.map
@@ -226,5 +226,5 @@ function getResults(filename, value) {
226
226
  }
227
227
  }
228
228
 
229
- export { createMatcher$3 as a, createMatcher$2 as b, createMatcher$4 as c, createMatcher$1 as d, createMatcher as e, getResults as g };
229
+ export { createMatcher$1 as a, createMatcher$2 as b, createMatcher as c, createMatcher$3 as d, createMatcher$4 as e, getResults as g };
230
230
  //# sourceMappingURL=matchers.js.map
package/dist/es/vitest.js CHANGED
@@ -18,10 +18,10 @@ import 'node:fs/promises';
18
18
  import 'node:module';
19
19
 
20
20
  expect.extend({
21
- toBeValid: createMatcher(),
22
- toBeInvalid: createMatcher$1(),
21
+ toBeValid: createMatcher$4(),
22
+ toBeInvalid: createMatcher$3(),
23
23
  toHTMLValidate: createMatcher$2(expect, undefined),
24
- toHaveError: createMatcher$3(expect, undefined),
25
- toHaveErrors: createMatcher$4(expect, undefined)
24
+ toHaveError: createMatcher$1(expect, undefined),
25
+ toHaveErrors: createMatcher(expect, undefined)
26
26
  });
27
27
  //# sourceMappingURL=vitest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vitest.js","sources":["../../src/vitest/vitest.ts"],"sourcesContent":["import \"./augmentation\";\n\nimport { expect } from \"vitest\";\nimport {\n\ttoBeValid,\n\ttoBeInvalid,\n\ttoHTMLValidate,\n\ttoHaveError,\n\ttoHaveErrors,\n} from \"../jest/matchers\";\n\nexpect.extend({\n\ttoBeValid: toBeValid(),\n\ttoBeInvalid: toBeInvalid(),\n\ttoHTMLValidate: toHTMLValidate(expect, undefined),\n\ttoHaveError: toHaveError(expect, undefined),\n\ttoHaveErrors: toHaveErrors(expect, undefined),\n});\n"],"names":["toBeValid","toBeInvalid","toHTMLValidate","toHaveError","toHaveErrors"],"mappings":";;;;;;;;;;;;;;;;;;;AAWA,MAAA,CAAO,MAAO,CAAA;AAAA,EACb,WAAWA,aAAU,EAAA;AAAA,EACrB,aAAaC,eAAY,EAAA;AAAA,EACzB,cAAA,EAAgBC,eAAe,CAAA,MAAA,EAAQ,SAAS,CAAA;AAAA,EAChD,WAAA,EAAaC,eAAY,CAAA,MAAA,EAAQ,SAAS,CAAA;AAAA,EAC1C,YAAA,EAAcC,eAAa,CAAA,MAAA,EAAQ,SAAS;AAC7C,CAAC,CAAA"}
1
+ {"version":3,"file":"vitest.js","sources":["../../src/vitest/vitest.ts"],"sourcesContent":["import \"./augmentation\";\n\nimport { expect } from \"vitest\";\nimport {\n\ttoBeValid,\n\ttoBeInvalid,\n\ttoHTMLValidate,\n\ttoHaveError,\n\ttoHaveErrors,\n} from \"../jest/matchers\";\n\nexpect.extend({\n\ttoBeValid: toBeValid(),\n\ttoBeInvalid: toBeInvalid(),\n\ttoHTMLValidate: toHTMLValidate(expect, undefined),\n\ttoHaveError: toHaveError(expect, undefined),\n\ttoHaveErrors: toHaveErrors(expect, undefined),\n});\n"],"names":["toBeValid","toBeInvalid","toHTMLValidate","toHaveError","toHaveErrors"],"mappings":";;;;;;;;;;;;;;;;;;;AAWA,MAAA,CAAO,MAAO,CAAA;AAAA,EACb,WAAWA,eAAU,EAAA;AAAA,EACrB,aAAaC,eAAY,EAAA;AAAA,EACzB,cAAA,EAAgBC,eAAe,CAAA,MAAA,EAAQ,SAAS,CAAA;AAAA,EAChD,WAAA,EAAaC,eAAY,CAAA,MAAA,EAAQ,SAAS,CAAA;AAAA,EAC1C,YAAA,EAAcC,aAAa,CAAA,MAAA,EAAQ,SAAS;AAC7C,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "html-validate",
3
- "version": "9.2.0",
3
+ "version": "9.2.1",
4
4
  "description": "Offline html5 validator",
5
5
  "keywords": [
6
6
  "html",