@hyperfixi/core 2.2.0 → 2.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/chunks/{bridge-D2DBo02Z.js → bridge-BELRwj7r.js} +2 -2
- package/dist/chunks/browser-modular-B7Bb-ABs.js +2 -0
- package/dist/chunks/{index-C6Fn0jGB.js → index-lsDi6izr.js} +2 -2
- package/dist/hyperfixi-classic-i18n.js +1 -1
- package/dist/hyperfixi-minimal.js +1 -1
- package/dist/hyperfixi-standard.js +1 -1
- package/dist/hyperfixi.js +1 -1
- package/dist/hyperfixi.mjs +1 -1
- package/dist/index.js +2 -1
- package/dist/index.min.js +1 -1
- package/dist/index.mjs +2 -1
- package/dist/lokascript-browser-classic-i18n.js +1 -1
- package/dist/lokascript-browser-minimal.js +1 -1
- package/dist/lokascript-browser-standard.js +1 -1
- package/dist/lokascript-browser.js +1 -1
- package/dist/parser/full-parser.js +2 -1
- package/dist/parser/full-parser.mjs +2 -1
- package/package.json +2 -2
- package/dist/chunks/browser-modular-BA3JFmkq.js +0 -2
|
@@ -455,7 +455,8 @@ function tokenize(input) {
|
|
|
455
455
|
prevToken.value === '{' ||
|
|
456
456
|
prevToken.value === ',' ||
|
|
457
457
|
prevToken.value === ';';
|
|
458
|
-
|
|
458
|
+
const isAdjacentToPrev = prevToken && prevToken.end === tokenizer.position;
|
|
459
|
+
if (isCSSSelectorContext && !isAdjacentToPrev && isAlpha(peek(tokenizer))) {
|
|
459
460
|
tokenizeCSSSelector(tokenizer);
|
|
460
461
|
continue;
|
|
461
462
|
}
|
|
@@ -453,7 +453,8 @@ function tokenize(input) {
|
|
|
453
453
|
prevToken.value === '{' ||
|
|
454
454
|
prevToken.value === ',' ||
|
|
455
455
|
prevToken.value === ';';
|
|
456
|
-
|
|
456
|
+
const isAdjacentToPrev = prevToken && prevToken.end === tokenizer.position;
|
|
457
|
+
if (isCSSSelectorContext && !isAdjacentToPrev && isAlpha(peek(tokenizer))) {
|
|
457
458
|
tokenizeCSSSelector(tokenizer);
|
|
458
459
|
continue;
|
|
459
460
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperfixi/core",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "Multilingual, tree-shakeable hyperscript",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
"@vitest/coverage-v8": "^4.0.17",
|
|
237
237
|
"@vitest/ui": "^4.0.17",
|
|
238
238
|
"better-sqlite3": "^12.6.2",
|
|
239
|
-
"esbuild": "0.27.
|
|
239
|
+
"esbuild": "0.27.4",
|
|
240
240
|
"eslint": "^8.57.1",
|
|
241
241
|
"eslint-config-prettier": "^9.0.0",
|
|
242
242
|
"eslint-plugin-prettier": "^5.0.0",
|