html-validate 7.8.0 → 7.9.0
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/core.d.ts +8 -1
- package/dist/cjs/core.js +223 -66
- package/dist/cjs/core.js.map +1 -1
- package/dist/cjs/elements.js +822 -313
- package/dist/cjs/elements.js.map +1 -1
- 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 +1 -1
- package/dist/es/core.d.ts +8 -1
- package/dist/es/core.js +223 -67
- package/dist/es/core.js.map +1 -1
- package/dist/es/elements.js +822 -313
- package/dist/es/elements.js.map +1 -1
- package/dist/es/html-validate.js +1 -1
- package/dist/es/index.d.ts +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/jest-lib.js +1 -1
- package/dist/es/rules-helper.js +1 -1
- package/package.json +7 -7
package/dist/cjs/browser.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AttributeData,
|
|
1
|
+
export { A as AttributeData, a9 as AttributeEvent, f as CSSStyleDeclaration, ab as ConditionalEvent, C as Config, a as ConfigData, b as ConfigError, c as ConfigLoader, a0 as ConfigReadyEvent, ae as DOMLoadEvent, af as DOMReadyEvent, G as DeferredMessage, ac as DirectiveEvent, ad as DoctypeEvent, D as DynamicValue, a8 as ElementReadyEvent, $ as Event, _ as EventCallback, E as EventDump, Z as EventHandler, e as HtmlElement, H as HtmlValidate, ah as ListenEventMap, L as Location, B as Message, l as MetaAttribute, m as MetaAttributeAllowedCallback, o as MetaCopyableProperty, M as MetaData, j as MetaDataTable, k as MetaElement, n as MetaTable, i as NestedError, N as NodeClosed, X as Parser, O as Plugin, P as ProcessAttributeCallback, u as ProcessElementCallback, w as ProcessElementContext, y as Report, z as Reporter, F as Result, R as Rule, q as RuleConstructor, r as RuleDocumentation, h as SchemaValidationError, Q as SchemaValidationPatch, S as Severity, s as Source, t as SourceHooks, a1 as SourceReadyEvent, d as StaticConfigLoader, a6 as TagCloseEvent, a5 as TagEndEvent, a4 as TagOpenEvent, a7 as TagReadyEvent, a3 as TagStartEvent, K as TemplateExtractor, T as TextNode, g as TokenDump, a2 as TokenEvent, I as TransformContext, J as Transformer, ag as TriggerEventMap, U as UserError, aa as WhitespaceEvent, W as WrappedError, p as configPresets, V as definePlugin, Y as ruleExists, x as sliceLocation, v as version } from './core.js';
|
|
2
2
|
export { d as defineMetadata, m as metadataHelper } from './meta-helper.js';
|
|
3
3
|
export { T as TextClassification, c as classifyNodeText } from './rules-helper.js';
|
|
4
4
|
export { SchemaObject } from 'ajv';
|
package/dist/cjs/browser.js
CHANGED
|
@@ -46,6 +46,7 @@ exports.TextNode = core.TextNode;
|
|
|
46
46
|
exports.UserError = core.UserError;
|
|
47
47
|
exports.WrappedError = core.WrappedError;
|
|
48
48
|
exports.configPresets = core.presets;
|
|
49
|
+
exports.definePlugin = core.definePlugin;
|
|
49
50
|
exports.ruleExists = core.ruleExists;
|
|
50
51
|
exports.sliceLocation = core.sliceLocation;
|
|
51
52
|
exports.version = core.version;
|
package/dist/cjs/browser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"browser.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/cjs/core.d.ts
CHANGED
|
@@ -1188,6 +1188,13 @@ interface Plugin {
|
|
|
1188
1188
|
elementSchema?: SchemaValidationPatch | null;
|
|
1189
1189
|
}
|
|
1190
1190
|
|
|
1191
|
+
/**
|
|
1192
|
+
* Helper function to assist IDE with completion and type-checking.
|
|
1193
|
+
*
|
|
1194
|
+
* @public
|
|
1195
|
+
*/
|
|
1196
|
+
declare function definePlugin(plugin: Plugin): Plugin;
|
|
1197
|
+
|
|
1191
1198
|
/**
|
|
1192
1199
|
* @public
|
|
1193
1200
|
*/
|
|
@@ -2389,4 +2396,4 @@ interface AvailableFormatters {
|
|
|
2389
2396
|
declare function getFormatter(name: keyof AvailableFormatters): Formatter;
|
|
2390
2397
|
declare function getFormatter(name: string): Formatter | null;
|
|
2391
2398
|
|
|
2392
|
-
export {
|
|
2399
|
+
export { Event as $, AttributeData as A, Message as B, Config as C, DynamicValue as D, EventDump as E, Result as F, DeferredMessage as G, HtmlValidate as H, TransformContext as I, Transformer as J, TemplateExtractor as K, Location as L, MetaData as M, NodeClosed as N, Plugin as O, ProcessAttributeCallback as P, SchemaValidationPatch as Q, Rule as R, Severity as S, TextNode as T, UserError as U, definePlugin as V, WrappedError as W, Parser as X, ruleExists as Y, EventHandler as Z, EventCallback as _, ConfigData as a, ConfigReadyEvent as a0, SourceReadyEvent as a1, TokenEvent as a2, TagStartEvent as a3, TagOpenEvent as a4, TagEndEvent as a5, TagCloseEvent as a6, TagReadyEvent as a7, ElementReadyEvent as a8, AttributeEvent as a9, WhitespaceEvent as aa, ConditionalEvent as ab, DirectiveEvent as ac, DoctypeEvent as ad, DOMLoadEvent as ae, DOMReadyEvent as af, TriggerEventMap as ag, ListenEventMap as ah, FileSystemConfigLoader as ai, Formatter as aj, getFormatter as ak, compatibilityCheck as al, CompatibilityOptions as am, ConfigError as b, ConfigLoader as c, StaticConfigLoader as d, HtmlElement as e, CSSStyleDeclaration as f, TokenDump as g, SchemaValidationError as h, NestedError as i, MetaDataTable as j, MetaElement as k, MetaAttribute as l, MetaAttributeAllowedCallback as m, MetaTable as n, MetaCopyableProperty as o, presets as p, RuleConstructor as q, RuleDocumentation as r, Source as s, SourceHooks as t, ProcessElementCallback as u, version as v, ProcessElementContext as w, sliceLocation as x, Report as y, Reporter as z };
|