@hyperfixi/core 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/README.md +8 -11
- package/dist/bundle-generator/index.js +25 -4
- package/dist/bundle-generator/index.mjs +25 -4
- package/dist/chunks/{bridge-BlRqsZT4.js → bridge-Clbh_xAj.js} +2 -2
- package/dist/chunks/browser-modular-DIOxQqhV.js +2 -0
- package/dist/chunks/{index-BDYQHwCF.js → index-DcxoRUBe.js} +2 -2
- package/dist/commands/index.js +22 -3
- package/dist/commands/index.mjs +22 -3
- package/dist/hyperfixi-classic-i18n.js +1 -1
- package/dist/hyperfixi-hx.js +1 -1
- package/dist/hyperfixi-hybrid-complete.js +1 -1
- package/dist/hyperfixi-minimal.js +1 -1
- package/dist/hyperfixi-multilingual.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 +22 -3
- package/dist/index.min.js +1 -1
- package/dist/index.mjs +22 -3
- 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/lokascript-hybrid-complete.js +1 -1
- package/dist/lokascript-hybrid-hx.js +1 -1
- package/dist/lokascript-multilingual.js +1 -1
- package/dist/parser/hybrid/index.js +7 -0
- package/dist/parser/hybrid/index.mjs +7 -0
- package/dist/parser/hybrid/parser-core.js +7 -0
- package/dist/parser/hybrid/parser-core.mjs +7 -0
- package/dist/parser/hybrid/tokenizer.js +7 -0
- package/dist/parser/hybrid/tokenizer.mjs +7 -0
- package/dist/parser/hybrid-parser.js +7 -0
- package/dist/parser/hybrid-parser.mjs +7 -0
- package/package.json +1 -1
- package/dist/chunks/browser-modular-AbV0Ql4i.js +0 -2
package/dist/hyperfixi.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{O as ObjectPool,P as Parser,R as Runtime,d as debug,h as default,a as defaultAttributeProcessor,b as detectFeatures,e as evalHyperScript,c as evalHyperScriptAsync,f as evalHyperScriptSmart,g as getLoadedFeatures,i as hyperscript,j as isFeatureLoaded,l as loadRequiredFeatures,p as preloadDocumentFeatures,k as preloadFeatures,s as styleBatcher,t as tailwindExtension,m as tokenize}from"./chunks/browser-modular-
|
|
1
|
+
export{O as ObjectPool,P as Parser,R as Runtime,d as debug,h as default,a as defaultAttributeProcessor,b as detectFeatures,e as evalHyperScript,c as evalHyperScriptAsync,f as evalHyperScriptSmart,g as getLoadedFeatures,i as hyperscript,j as isFeatureLoaded,l as loadRequiredFeatures,p as preloadDocumentFeatures,k as preloadFeatures,s as styleBatcher,t as tailwindExtension,m as tokenize}from"./chunks/browser-modular-DIOxQqhV.js";import"./chunks/feature-sockets-ClOH7vk7.js";
|
|
2
2
|
//# sourceMappingURL=hyperfixi.mjs.map
|
package/dist/index.js
CHANGED
|
@@ -17434,11 +17434,30 @@ let PutCommand = (() => {
|
|
|
17434
17434
|
const obj = targetArg.object, prop = targetArg.property;
|
|
17435
17435
|
if (obj?.type === 'selector')
|
|
17436
17436
|
targetSelector = obj.value;
|
|
17437
|
-
else if (obj?.type === 'identifier')
|
|
17438
|
-
|
|
17437
|
+
else if (obj?.type === 'identifier') {
|
|
17438
|
+
const objName = obj.name;
|
|
17439
|
+
if (objName === 'my' || objName === 'me' || objName === 'I') {
|
|
17440
|
+
if (context.me && prop?.name) {
|
|
17441
|
+
return {
|
|
17442
|
+
value,
|
|
17443
|
+
targets: [context.me],
|
|
17444
|
+
position: 'replace',
|
|
17445
|
+
memberPath: prop.name,
|
|
17446
|
+
};
|
|
17447
|
+
}
|
|
17448
|
+
}
|
|
17449
|
+
else if (objName === 'its' || objName === 'it') {
|
|
17450
|
+
const ev = await evaluator.evaluate(targetArg, context);
|
|
17451
|
+
if (typeof ev === 'string')
|
|
17452
|
+
targetSelector = ev;
|
|
17453
|
+
}
|
|
17454
|
+
else {
|
|
17455
|
+
targetSelector = objName;
|
|
17456
|
+
}
|
|
17457
|
+
}
|
|
17439
17458
|
if (targetSelector && prop?.name)
|
|
17440
17459
|
memberPath = prop.name;
|
|
17441
|
-
else {
|
|
17460
|
+
else if (!targetSelector && !memberPath) {
|
|
17442
17461
|
const ev = await evaluator.evaluate(targetArg, context);
|
|
17443
17462
|
if (typeof ev === 'string')
|
|
17444
17463
|
targetSelector = ev;
|