html-validate 7.3.1 → 7.3.2
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/core.js +2 -2
- package/dist/cjs/core.js.map +1 -1
- package/dist/es/core.js +2 -2
- package/dist/es/core.js.map +1 -1
- package/package.json +2 -2
package/dist/es/core.js
CHANGED
|
@@ -3156,7 +3156,7 @@ var TRANSFORMER_API;
|
|
|
3156
3156
|
/** @public */
|
|
3157
3157
|
const name = "html-validate";
|
|
3158
3158
|
/** @public */
|
|
3159
|
-
const version = "7.3.
|
|
3159
|
+
const version = "7.3.2";
|
|
3160
3160
|
/** @public */
|
|
3161
3161
|
const homepage = "https://html-validate.org";
|
|
3162
3162
|
/** @public */
|
|
@@ -11589,7 +11589,7 @@ class Parser {
|
|
|
11589
11589
|
consumeDirective(token) {
|
|
11590
11590
|
const [text, , action, directive, end] = token.data;
|
|
11591
11591
|
if (end === "") {
|
|
11592
|
-
throw new
|
|
11592
|
+
throw new ParserError(token.location, `Missing end bracket "]" on directive "${text}"`);
|
|
11593
11593
|
}
|
|
11594
11594
|
const match = directive.match(/^(.*?)(?:\s*(?:--|:)\s*(.*))?$/);
|
|
11595
11595
|
/* istanbul ignore next: should not be possible, would be emitted as comment token */
|