@lokascript/compilation-service 2.3.0 → 2.3.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/{chunk-BHZMWRBA.js → chunk-E5HS7EYK.js} +2 -2
- package/dist/{chunk-BW34XOBT.js → chunk-IZIF5G26.js} +2 -2
- package/dist/{core-parser-adapter-VCJB52SO-I5AIPWJQ.js → core-parser-adapter-VCJB52SO-UNDWZLXO.js} +2 -2
- package/dist/{dist-CXRMMXI7.js → dist-37BGWHOT.js} +3 -3
- package/dist/{dist-5S22WYM3.js → dist-QPI3MUNN.js} +21 -4
- package/dist/{dist-5S22WYM3.js.map → dist-QPI3MUNN.js.map} +1 -1
- package/dist/http.cjs +20 -3
- package/dist/http.cjs.map +1 -1
- package/dist/http.js +1 -1
- package/dist/index.cjs +20 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-BHZMWRBA.js.map → chunk-E5HS7EYK.js.map} +0 -0
- /package/dist/{chunk-BW34XOBT.js.map → chunk-IZIF5G26.js.map} +0 -0
- /package/dist/{core-parser-adapter-VCJB52SO-I5AIPWJQ.js.map → core-parser-adapter-VCJB52SO-UNDWZLXO.js.map} +0 -0
- /package/dist/{dist-CXRMMXI7.js.map → dist-37BGWHOT.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-37BGWHOT.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-
|
|
3209
|
+
//# sourceMappingURL=chunk-E5HS7EYK.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-QPI3MUNN.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-IZIF5G26.js.map
|
package/dist/{core-parser-adapter-VCJB52SO-I5AIPWJQ.js → core-parser-adapter-VCJB52SO-UNDWZLXO.js}
RENAMED
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
CoreParserAdapter,
|
|
3
3
|
convertCoreASTToAOT,
|
|
4
4
|
createCoreParserAdapter
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IZIF5G26.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-UNDWZLXO.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CoreParserAdapter,
|
|
3
3
|
createCoreParserAdapter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IZIF5G26.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-
|
|
4220
|
+
const { createCoreParserAdapter: createCoreParserAdapter2 } = await import("./core-parser-adapter-VCJB52SO-UNDWZLXO.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-
|
|
4273
|
+
//# sourceMappingURL=dist-37BGWHOT.js.map
|
|
@@ -16480,11 +16480,28 @@ var PutCommand = (() => {
|
|
|
16480
16480
|
const obj = targetArg.object, prop = targetArg.property;
|
|
16481
16481
|
if (obj?.type === "selector")
|
|
16482
16482
|
targetSelector = obj.value;
|
|
16483
|
-
else if (obj?.type === "identifier")
|
|
16484
|
-
|
|
16483
|
+
else if (obj?.type === "identifier") {
|
|
16484
|
+
const objName = obj.name;
|
|
16485
|
+
if (objName === "my" || objName === "me" || objName === "I") {
|
|
16486
|
+
if (context.me && prop?.name) {
|
|
16487
|
+
return {
|
|
16488
|
+
value,
|
|
16489
|
+
targets: [context.me],
|
|
16490
|
+
position: "replace",
|
|
16491
|
+
memberPath: prop.name
|
|
16492
|
+
};
|
|
16493
|
+
}
|
|
16494
|
+
} else if (objName === "its" || objName === "it") {
|
|
16495
|
+
const ev = await evaluator.evaluate(targetArg, context);
|
|
16496
|
+
if (typeof ev === "string")
|
|
16497
|
+
targetSelector = ev;
|
|
16498
|
+
} else {
|
|
16499
|
+
targetSelector = objName;
|
|
16500
|
+
}
|
|
16501
|
+
}
|
|
16485
16502
|
if (targetSelector && prop?.name)
|
|
16486
16503
|
memberPath = prop.name;
|
|
16487
|
-
else {
|
|
16504
|
+
else if (!targetSelector && !memberPath) {
|
|
16488
16505
|
const ev = await evaluator.evaluate(targetArg, context);
|
|
16489
16506
|
if (typeof ev === "string")
|
|
16490
16507
|
targetSelector = ev;
|
|
@@ -74736,4 +74753,4 @@ export {
|
|
|
74736
74753
|
toCoreAST,
|
|
74737
74754
|
validatePartialContent
|
|
74738
74755
|
};
|
|
74739
|
-
//# sourceMappingURL=dist-
|
|
74756
|
+
//# sourceMappingURL=dist-QPI3MUNN.js.map
|