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/cjs/core.js
CHANGED
|
@@ -3187,7 +3187,7 @@ var TRANSFORMER_API;
|
|
|
3187
3187
|
/** @public */
|
|
3188
3188
|
const name = "html-validate";
|
|
3189
3189
|
/** @public */
|
|
3190
|
-
const version = "7.3.
|
|
3190
|
+
const version = "7.3.2";
|
|
3191
3191
|
/** @public */
|
|
3192
3192
|
const homepage = "https://html-validate.org";
|
|
3193
3193
|
/** @public */
|
|
@@ -11620,7 +11620,7 @@ class Parser {
|
|
|
11620
11620
|
consumeDirective(token) {
|
|
11621
11621
|
const [text, , action, directive, end] = token.data;
|
|
11622
11622
|
if (end === "") {
|
|
11623
|
-
throw new
|
|
11623
|
+
throw new ParserError(token.location, `Missing end bracket "]" on directive "${text}"`);
|
|
11624
11624
|
}
|
|
11625
11625
|
const match = directive.match(/^(.*?)(?:\s*(?:--|:)\s*(.*))?$/);
|
|
11626
11626
|
/* istanbul ignore next: should not be possible, would be emitted as comment token */
|