htmljs-parser 3.2.0 → 3.2.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/index.js +1 -5
- package/dist/index.mjs +1 -5
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1039,11 +1039,7 @@ var EXPRESSION = {
|
|
|
1039
1039
|
},
|
|
1040
1040
|
eol(_, expression) {
|
|
1041
1041
|
if (!expression.groupStack.length && (expression.terminatedByWhitespace || expression.terminatedByEOL)) {
|
|
1042
|
-
|
|
1043
|
-
this.forward = 1;
|
|
1044
|
-
} else {
|
|
1045
|
-
this.exitState();
|
|
1046
|
-
}
|
|
1042
|
+
this.exitState();
|
|
1047
1043
|
}
|
|
1048
1044
|
},
|
|
1049
1045
|
eof(expression) {
|
package/dist/index.mjs
CHANGED
|
@@ -1019,11 +1019,7 @@ var EXPRESSION = {
|
|
|
1019
1019
|
},
|
|
1020
1020
|
eol(_, expression) {
|
|
1021
1021
|
if (!expression.groupStack.length && (expression.terminatedByWhitespace || expression.terminatedByEOL)) {
|
|
1022
|
-
|
|
1023
|
-
this.forward = 1;
|
|
1024
|
-
} else {
|
|
1025
|
-
this.exitState();
|
|
1026
|
-
}
|
|
1022
|
+
this.exitState();
|
|
1027
1023
|
}
|
|
1028
1024
|
},
|
|
1029
1025
|
eof(expression) {
|
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": "3.2.
|
|
4
|
+
"version": "3.2.1",
|
|
5
5
|
"author": "Phillip Gates-Idem <phillip.idem@gmail.com>",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@commitlint/cli": "^16.2.3",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"scripts": {
|
|
64
64
|
"bench": "npm run build && node -r esbuild-register ./src/__tests__/bench",
|
|
65
65
|
"build": "tsc -b && node -r esbuild-register build",
|
|
66
|
-
"ci:test": "nyc npm run mocha -- --forbid-
|
|
66
|
+
"ci:test": "nyc npm run mocha -- --forbid-only",
|
|
67
67
|
"format": "npm run lint:eslint -- --fix && npm run lint:prettier -- --write && (fixpack || true)",
|
|
68
68
|
"lint": "tsc -b && npm run lint:eslint && npm run lint:prettier -- -l && fixpack",
|
|
69
69
|
"lint:eslint": "eslint -f visualstudio .",
|