@lokascript/compilation-service 2.9.3 → 2.9.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/{chunk-JTNX5Y3D.js → chunk-MWUZGAKM.js} +2 -2
- package/dist/{chunk-DFBBRFZA.js → chunk-QPGHANJY.js} +2 -2
- package/dist/{core-parser-adapter-VCJB52SO-EPO6NENW.js → core-parser-adapter-VCJB52SO-GRFPPAPG.js} +2 -2
- package/dist/{dist-2SCMFZ5O.js → dist-FWHBOI2B.js} +4 -7
- package/dist/dist-FWHBOI2B.js.map +1 -0
- package/dist/{dist-RYFD45WA.js → dist-VGR6QDPB.js} +14952 -15154
- package/dist/dist-VGR6QDPB.js.map +1 -0
- package/dist/http.cjs +12598 -12806
- package/dist/http.cjs.map +1 -1
- package/dist/http.js +1 -1
- package/dist/index.cjs +12598 -12806
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/dist/dist-2SCMFZ5O.js.map +0 -1
- package/dist/dist-RYFD45WA.js.map +0 -1
- /package/dist/{chunk-JTNX5Y3D.js.map → chunk-MWUZGAKM.js.map} +0 -0
- /package/dist/{chunk-DFBBRFZA.js.map → chunk-QPGHANJY.js.map} +0 -0
- /package/dist/{core-parser-adapter-VCJB52SO-EPO6NENW.js.map → core-parser-adapter-VCJB52SO-GRFPPAPG.js.map} +0 -0
|
@@ -2768,7 +2768,7 @@ var CompilationService = class _CompilationService {
|
|
|
2768
2768
|
initValidation({
|
|
2769
2769
|
validateSemanticResult: semantic.validateSemanticResult
|
|
2770
2770
|
});
|
|
2771
|
-
const aot = await import("./dist-
|
|
2771
|
+
const aot = await import("./dist-FWHBOI2B.js");
|
|
2772
2772
|
const compiler = aot.createCompiler();
|
|
2773
2773
|
initBridge(
|
|
2774
2774
|
{
|
|
@@ -3326,4 +3326,4 @@ export {
|
|
|
3326
3326
|
SvelteRenderer,
|
|
3327
3327
|
CompilationService
|
|
3328
3328
|
};
|
|
3329
|
-
//# sourceMappingURL=chunk-
|
|
3329
|
+
//# sourceMappingURL=chunk-MWUZGAKM.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-
|
|
27
|
+
const core = await import("./dist-VGR6QDPB.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-
|
|
49
|
+
//# sourceMappingURL=chunk-QPGHANJY.js.map
|
package/dist/{core-parser-adapter-VCJB52SO-EPO6NENW.js → core-parser-adapter-VCJB52SO-GRFPPAPG.js}
RENAMED
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
CoreParserAdapter,
|
|
3
3
|
convertCoreASTToAOT,
|
|
4
4
|
createCoreParserAdapter
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QPGHANJY.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-
|
|
12
|
+
//# sourceMappingURL=core-parser-adapter-VCJB52SO-GRFPPAPG.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CoreParserAdapter,
|
|
3
3
|
createCoreParserAdapter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QPGHANJY.js";
|
|
5
5
|
import {
|
|
6
6
|
SemanticParserAdapter,
|
|
7
7
|
createSemanticAdapter
|
|
@@ -22,10 +22,7 @@ var DEFAULT_OPTIONS = {
|
|
|
22
22
|
};
|
|
23
23
|
function createAttributeRegex(attrName) {
|
|
24
24
|
const escaped = attrName.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
25
|
-
return new RegExp(
|
|
26
|
-
`${escaped}\\s*=\\s*(?:"([^"]*?)"|'([^']*?)'|([^\\s>]+))`,
|
|
27
|
-
"gi"
|
|
28
|
-
);
|
|
25
|
+
return new RegExp(`${escaped}\\s*=\\s*(?:"([^"]*?)"|'([^']*?)'|([^\\s>]+))`, "gi");
|
|
29
26
|
}
|
|
30
27
|
var ELEMENT_REGEX = /<([a-z][a-z0-9-]*)\s+([^>]*?)>/gi;
|
|
31
28
|
var SCRIPT_TAG_REGEX = /<script\s+[^>]*type\s*=\s*["']text\/hyperscript["'][^>]*>([\s\S]*?)<\/script>/gi;
|
|
@@ -4217,7 +4214,7 @@ async function compileHyperscript(code, options) {
|
|
|
4217
4214
|
async function createMultilingualCompiler() {
|
|
4218
4215
|
const compiler = new AOTCompiler();
|
|
4219
4216
|
try {
|
|
4220
|
-
const { createCoreParserAdapter: createCoreParserAdapter2 } = await import("./core-parser-adapter-VCJB52SO-
|
|
4217
|
+
const { createCoreParserAdapter: createCoreParserAdapter2 } = await import("./core-parser-adapter-VCJB52SO-GRFPPAPG.js");
|
|
4221
4218
|
compiler.setParser(await createCoreParserAdapter2());
|
|
4222
4219
|
} catch {
|
|
4223
4220
|
}
|
|
@@ -4270,4 +4267,4 @@ export {
|
|
|
4270
4267
|
sanitizeSelector,
|
|
4271
4268
|
scanFiles
|
|
4272
4269
|
};
|
|
4273
|
-
//# sourceMappingURL=dist-
|
|
4270
|
+
//# sourceMappingURL=dist-FWHBOI2B.js.map
|