@lokascript/compilation-service 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.
@@ -2768,7 +2768,7 @@ var CompilationService = class _CompilationService {
2768
2768
  initValidation({
2769
2769
  validateSemanticResult: semantic.validateSemanticResult
2770
2770
  });
2771
- const aot = await import("./dist-A6VWPCPB.js");
2771
+ const aot = await import("./dist-3TBAKHJP.js");
2772
2772
  const compiler = aot.createCompiler();
2773
2773
  initBridge(
2774
2774
  {
@@ -3206,4 +3206,4 @@ export {
3206
3206
  SvelteRenderer,
3207
3207
  CompilationService
3208
3208
  };
3209
- //# sourceMappingURL=chunk-PVQF6QYP.js.map
3209
+ //# sourceMappingURL=chunk-5VQO5CSQ.js.map
@@ -24,7 +24,7 @@ function convertCoreASTToAOT(node) {
24
24
  return node;
25
25
  }
26
26
  async function createCoreParserAdapter() {
27
- const core = await import("./dist-CYO3JGTJ.js");
27
+ const core = await import("./dist-TXRKL7PN.js");
28
28
  const api = core.hyperscript ?? core.default ?? core;
29
29
  if (!api?.compileSync) {
30
30
  throw new Error(
@@ -46,4 +46,4 @@ export {
46
46
  convertCoreASTToAOT,
47
47
  createCoreParserAdapter
48
48
  };
49
- //# sourceMappingURL=chunk-ZQ3GX55O.js.map
49
+ //# sourceMappingURL=chunk-YFCEVGOM.js.map
@@ -2,11 +2,11 @@ import {
2
2
  CoreParserAdapter,
3
3
  convertCoreASTToAOT,
4
4
  createCoreParserAdapter
5
- } from "./chunk-ZQ3GX55O.js";
5
+ } from "./chunk-YFCEVGOM.js";
6
6
  import "./chunk-GBPMR66W.js";
7
7
  export {
8
8
  CoreParserAdapter,
9
9
  convertCoreASTToAOT,
10
10
  createCoreParserAdapter
11
11
  };
12
- //# sourceMappingURL=core-parser-adapter-VCJB52SO-7T2PARW4.js.map
12
+ //# sourceMappingURL=core-parser-adapter-VCJB52SO-VNI2RAC6.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CoreParserAdapter,
3
3
  createCoreParserAdapter
4
- } from "./chunk-ZQ3GX55O.js";
4
+ } from "./chunk-YFCEVGOM.js";
5
5
  import {
6
6
  SemanticParserAdapter,
7
7
  createSemanticAdapter
@@ -4217,7 +4217,7 @@ async function compileHyperscript(code, options) {
4217
4217
  async function createMultilingualCompiler() {
4218
4218
  const compiler = new AOTCompiler();
4219
4219
  try {
4220
- const { createCoreParserAdapter: createCoreParserAdapter2 } = await import("./core-parser-adapter-VCJB52SO-7T2PARW4.js");
4220
+ const { createCoreParserAdapter: createCoreParserAdapter2 } = await import("./core-parser-adapter-VCJB52SO-VNI2RAC6.js");
4221
4221
  compiler.setParser(await createCoreParserAdapter2());
4222
4222
  } catch {
4223
4223
  }
@@ -4270,4 +4270,4 @@ export {
4270
4270
  sanitizeSelector,
4271
4271
  scanFiles
4272
4272
  };
4273
- //# sourceMappingURL=dist-A6VWPCPB.js.map
4273
+ //# sourceMappingURL=dist-3TBAKHJP.js.map
@@ -440,7 +440,8 @@ function tokenize$1(input) {
440
440
  const isCommandContext = prevToken && prevToken.kind === TokenKind.IDENTIFIER && COMMANDS.has(prevToken.value.toLowerCase());
441
441
  const isKeywordContext = prevToken && prevToken.kind === TokenKind.IDENTIFIER && SELECTOR_CONTEXT_KEYWORDS.has(prevToken.value.toLowerCase());
442
442
  const isCSSSelectorContext = !prevToken || prevToken.kind === TokenKind.OPERATOR && prevToken.value !== ")" && prevToken.value !== "]" || isCommandContext || isKeywordContext || prevToken.value === "(" || prevToken.value === "[" || prevToken.value === "{" || prevToken.value === "," || prevToken.value === ";";
443
- if (isCSSSelectorContext && isAlpha(peek(tokenizer))) {
443
+ const isAdjacentToPrev = prevToken && prevToken.end === tokenizer.position;
444
+ if (isCSSSelectorContext && !isAdjacentToPrev && isAlpha(peek(tokenizer))) {
444
445
  tokenizeCSSSelector(tokenizer);
445
446
  continue;
446
447
  }
@@ -74673,4 +74674,4 @@ export {
74673
74674
  toCoreAST,
74674
74675
  validatePartialContent
74675
74676
  };
74676
- //# sourceMappingURL=dist-CYO3JGTJ.js.map
74677
+ //# sourceMappingURL=dist-TXRKL7PN.js.map