html-validate 7.12.2 → 7.13.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.
- package/dist/cjs/browser.d.ts +1 -1
- package/dist/cjs/browser.js +1 -0
- package/dist/cjs/browser.js.map +1 -1
- package/dist/cjs/cli.js +3 -6
- package/dist/cjs/cli.js.map +1 -1
- package/dist/cjs/core.d.ts +213 -20
- package/dist/cjs/core.js +234 -25
- package/dist/cjs/core.js.map +1 -1
- package/dist/cjs/html-validate.js +5 -5
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/browser.d.ts +1 -1
- package/dist/es/browser.js +1 -1
- package/dist/es/cli.js +2 -5
- package/dist/es/cli.js.map +1 -1
- package/dist/es/core.d.ts +213 -20
- package/dist/es/core.js +234 -26
- package/dist/es/core.js.map +1 -1
- package/dist/es/html-validate.js +5 -5
- package/dist/es/index.d.ts +1 -1
- package/dist/es/index.js +1 -1
- package/package.json +9 -8
package/dist/es/html-validate.js
CHANGED
|
@@ -2,20 +2,20 @@ import path from 'path';
|
|
|
2
2
|
import kleur from 'kleur';
|
|
3
3
|
import minimist from 'minimist';
|
|
4
4
|
import { x as name, v as version, e as SchemaValidationError, U as UserError, y as bugs } from './core.js';
|
|
5
|
+
import { M as Mode, m as modeToFlag, C as CLI, l as lint, i as init, p as printConfig, d as dump } from './cli.js';
|
|
5
6
|
import 'fs';
|
|
7
|
+
import '@sidvind/better-ajv-errors';
|
|
6
8
|
import './rules-helper.js';
|
|
7
9
|
import 'ajv';
|
|
8
10
|
import 'deepmerge';
|
|
9
|
-
import 'semver';
|
|
10
|
-
import { M as Mode, m as modeToFlag, C as CLI, l as lint, i as init, p as printConfig, d as dump } from './cli.js';
|
|
11
|
-
import '@babel/code-frame';
|
|
12
|
-
import '@html-validate/stylish';
|
|
13
|
-
import '@sidvind/better-ajv-errors';
|
|
14
11
|
import 'espree';
|
|
15
12
|
import 'acorn-walk';
|
|
13
|
+
import 'semver';
|
|
16
14
|
import './elements.js';
|
|
17
15
|
import './meta-helper.js';
|
|
18
16
|
import 'module';
|
|
17
|
+
import '@babel/code-frame';
|
|
18
|
+
import '@html-validate/stylish';
|
|
19
19
|
import 'glob';
|
|
20
20
|
import 'ignore';
|
|
21
21
|
import 'prompts';
|
package/dist/es/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z as Report, c as ConfigLoader, H as HtmlValidate, a as ConfigData } from './core.js';
|
|
2
|
-
export { e as Attribute, A as AttributeData,
|
|
2
|
+
export { e as Attribute, A as AttributeData, ab as AttributeEvent, g as CSSStyleDeclaration, ar as CompatibilityOptions, ad as ConditionalEvent, C as Config, b as ConfigError, a2 as ConfigReadyEvent, ag as DOMLoadEvent, ah as DOMReadyEvent, I as DeferredMessage, ae as DirectiveEvent, af as DoctypeEvent, D as DynamicValue, aa as ElementReadyEvent, a1 as Event, a0 as EventCallback, E as EventDump, $ as EventHandler, an as FileSystemConfigLoader, ao as Formatter, f as HtmlElement, am as ListenEventMap, L as Location, F as Message, m as MetaAttribute, n as MetaAttributeAllowedCallback, q as MetaCopyableProperty, M as MetaData, k as MetaDataTable, l as MetaElement, o as MetaTable, j as NestedError, N as NodeClosed, aj as ParseBeginEvent, ak as ParseEndEvent, Z as Parser, Q as Plugin, P as ProcessAttributeCallback, w as ProcessElementCallback, x as ProcessElementContext, B as Reporter, G as Result, R as Rule, r as RuleConstructor, s as RuleDocumentation, ai as RuleErrorEvent, i as SchemaValidationError, X as SchemaValidationPatch, S as Severity, t as Source, u as SourceHooks, a3 as SourceReadyEvent, d as StaticConfigLoader, a8 as TagCloseEvent, a7 as TagEndEvent, a6 as TagOpenEvent, a9 as TagReadyEvent, a5 as TagStartEvent, O as TemplateExtractor, T as TextNode, h as TokenDump, a4 as TokenEvent, J as TransformContext, K as Transformer, al as TriggerEventMap, U as UserError, V as Validator, ac as WhitespaceEvent, W as WrappedError, aq as compatibilityCheck, p as configPresets, Y as definePlugin, ap as formatterFactory, _ as ruleExists, y as sliceLocation, v as version } from './core.js';
|
|
3
3
|
export { d as defineMetadata, m as metadataHelper } from './meta-helper.js';
|
|
4
4
|
export { I as IncludeExcludeOptions, T as TextClassification, c as classifyNodeText, k as keywordPatternMatcher } from './rules-helper.js';
|
|
5
5
|
export { SchemaObject } from 'ajv';
|
package/dist/es/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as Attribute, C as Config, a as ConfigError, b as ConfigLoader, D as DynamicValue, E as EventHandler, F as FileSystemConfigLoader, d as HtmlElement, H as HtmlValidate, g as MetaCopyableProperty, M as MetaTable, f as NestedError, N as NodeClosed, P as Parser, h as Reporter, R as Rule, e as SchemaValidationError, S as Severity, c as StaticConfigLoader, i as TemplateExtractor, T as TextNode, U as UserError, W as WrappedError, o as compatibilityCheck, p as configPresets, j as definePlugin, k as formatterFactory, r as ruleExists, s as sliceLocation, v as version } from './core.js';
|
|
1
|
+
export { A as Attribute, C as Config, a as ConfigError, b as ConfigLoader, D as DynamicValue, E as EventHandler, F as FileSystemConfigLoader, d as HtmlElement, H as HtmlValidate, g as MetaCopyableProperty, M as MetaTable, f as NestedError, N as NodeClosed, P as Parser, h as Reporter, R as Rule, e as SchemaValidationError, S as Severity, c as StaticConfigLoader, i as TemplateExtractor, T as TextNode, U as UserError, V as Validator, W as WrappedError, o as compatibilityCheck, p as configPresets, j as definePlugin, k as formatterFactory, r as ruleExists, s as sliceLocation, v as version } from './core.js';
|
|
2
2
|
import 'fs';
|
|
3
3
|
export { d as defineMetadata, m as metadataHelper } from './meta-helper.js';
|
|
4
4
|
export { T as TextClassification, c as classifyNodeText, k as keywordPatternMatcher } from './rules-helper.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "html-validate",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.13.1",
|
|
4
4
|
"description": "Offline html5 validator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"html",
|
|
@@ -166,16 +166,17 @@
|
|
|
166
166
|
},
|
|
167
167
|
"devDependencies": {
|
|
168
168
|
"@html-validate/commitlint-config": "3.0.9",
|
|
169
|
-
"@html-validate/eslint-config": "5.5.
|
|
169
|
+
"@html-validate/eslint-config": "5.5.19",
|
|
170
170
|
"@html-validate/eslint-config-jest": "5.5.18",
|
|
171
|
-
"@html-validate/eslint-config-typescript": "5.5.
|
|
171
|
+
"@html-validate/eslint-config-typescript": "5.5.19",
|
|
172
172
|
"@html-validate/eslint-config-typescript-typeinfo": "5.5.0",
|
|
173
173
|
"@html-validate/jest-config": "3.6.2",
|
|
174
|
-
"@html-validate/prettier-config": "2.3.
|
|
174
|
+
"@html-validate/prettier-config": "2.3.3",
|
|
175
175
|
"@html-validate/release-scripts": "3.5.9",
|
|
176
176
|
"@rollup/plugin-json": "6.0.0",
|
|
177
|
+
"@rollup/plugin-node-resolve": "15.0.1",
|
|
177
178
|
"@rollup/plugin-replace": "5.0.2",
|
|
178
|
-
"@rollup/plugin-typescript": "
|
|
179
|
+
"@rollup/plugin-typescript": "11.0.0",
|
|
179
180
|
"@rollup/plugin-virtual": "3.0.1",
|
|
180
181
|
"@types/babar": "0.2.1",
|
|
181
182
|
"@types/babel__code-frame": "7.0.3",
|
|
@@ -193,13 +194,13 @@
|
|
|
193
194
|
"jest-diff": "29.3.1",
|
|
194
195
|
"jest-environment-jsdom": "29.3.1",
|
|
195
196
|
"jest-snapshot": "29.3.1",
|
|
196
|
-
"npm-pkg-lint": "1.11.
|
|
197
|
+
"npm-pkg-lint": "1.11.2",
|
|
197
198
|
"npm-run-all": "4.1.5",
|
|
198
|
-
"rollup": "3.
|
|
199
|
+
"rollup": "3.10.0",
|
|
199
200
|
"rollup-plugin-copy": "3.4.0",
|
|
200
201
|
"rollup-plugin-dts": "5.1.1",
|
|
201
202
|
"stream-buffers": "3.0.2",
|
|
202
|
-
"ts-jest": "29.0.
|
|
203
|
+
"ts-jest": "29.0.5",
|
|
203
204
|
"typescript": "4.9.4"
|
|
204
205
|
},
|
|
205
206
|
"peerDependencies": {
|