htmljs-parser 5.2.3 → 5.2.4
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/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -780,6 +780,8 @@ function shouldTerminateConciseTagVar(code, data, pos) {
|
|
|
780
780
|
case 59 /* SEMICOLON */:
|
|
781
781
|
case 60 /* OPEN_ANGLE_BRACKET */:
|
|
782
782
|
return true;
|
|
783
|
+
case 45 /* HYPHEN */:
|
|
784
|
+
return data.charCodeAt(pos + 1) === 45 /* HYPHEN */;
|
|
783
785
|
case 58 /* COLON */:
|
|
784
786
|
return data.charCodeAt(pos + 1) === 61 /* EQUAL */;
|
|
785
787
|
default:
|
package/dist/index.mjs
CHANGED
|
@@ -755,6 +755,8 @@ function shouldTerminateConciseTagVar(code, data, pos) {
|
|
|
755
755
|
case 59 /* SEMICOLON */:
|
|
756
756
|
case 60 /* OPEN_ANGLE_BRACKET */:
|
|
757
757
|
return true;
|
|
758
|
+
case 45 /* HYPHEN */:
|
|
759
|
+
return data.charCodeAt(pos + 1) === 45 /* HYPHEN */;
|
|
758
760
|
case 58 /* COLON */:
|
|
759
761
|
return data.charCodeAt(pos + 1) === 61 /* EQUAL */;
|
|
760
762
|
default:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "htmljs-parser",
|
|
3
3
|
"description": "An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values",
|
|
4
|
-
"version": "5.2.
|
|
4
|
+
"version": "5.2.4",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@changesets/changelog-github": "^0.4.7",
|
|
7
7
|
"@changesets/cli": "^2.25.2",
|