@hyperfixi/core 3.2.0 → 3.3.0
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/bundle-generator/index.cjs +12 -8
- package/dist/bundle-generator/index.mjs +12 -8
- package/dist/chunks/{bridge-Cnj8dQFV.js → bridge-CI9SOl8u.js} +2 -2
- package/dist/chunks/browser-modular-7CpI5VF2.js +2 -0
- package/dist/chunks/{index-LLuwEQp0.js → index-BwXDEK0m.js} +2 -2
- package/dist/commands/index.cjs +9 -0
- package/dist/commands/index.mjs +9 -0
- package/dist/hyperfixi-browser-classic-i18n.js +1 -1
- package/dist/hyperfixi-browser.js +1 -1
- package/dist/hyperfixi-classic-i18n.js +1 -1
- package/dist/hyperfixi-hx-v4.js +1 -1
- package/dist/hyperfixi-hx.js +1 -1
- package/dist/hyperfixi-hybrid-complete.js +1 -1
- package/dist/hyperfixi-hybrid-hx.js +1 -1
- package/dist/hyperfixi-multilingual.js +1 -1
- package/dist/hyperfixi.js +1 -1
- package/dist/hyperfixi.mjs +1 -1
- package/dist/index.cjs +10 -1
- package/dist/index.min.js +1 -1
- package/dist/index.mjs +10 -1
- package/dist/lokascript-browser-classic-i18n.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/metadata.cjs +1 -1
- package/dist/metadata.d.ts +1 -1
- package/dist/metadata.mjs +1 -1
- package/dist/parser/full-parser.cjs +9 -0
- package/dist/parser/full-parser.mjs +9 -0
- package/dist/registry/index.cjs +9 -0
- package/dist/registry/index.mjs +9 -0
- package/dist/version.d.ts +1 -1
- package/package.json +5 -5
- package/dist/chunks/browser-modular-BNDYF6Dq.js +0 -2
package/dist/index.mjs
CHANGED
|
@@ -3945,6 +3945,15 @@ function parseToggleCommand(ctx, identifierNode) {
|
|
|
3945
3945
|
args.push(classArg.expression);
|
|
3946
3946
|
modifiers['as'] = literalModifier(mode);
|
|
3947
3947
|
}
|
|
3948
|
+
else if (classArg?.type === 'binaryExpression' &&
|
|
3949
|
+
classArg.operator === 'of' &&
|
|
3950
|
+
classArg.left?.type === 'selector' &&
|
|
3951
|
+
typeof classArg.left.value === 'string' &&
|
|
3952
|
+
classArg.left.value.startsWith('*') &&
|
|
3953
|
+
classArg.right) {
|
|
3954
|
+
args.push(classArg.left);
|
|
3955
|
+
modifiers['on'] = classArg.right;
|
|
3956
|
+
}
|
|
3948
3957
|
else if (classArg) {
|
|
3949
3958
|
args.push(classArg);
|
|
3950
3959
|
}
|
|
@@ -26452,7 +26461,7 @@ function updateDebugStats(event) {
|
|
|
26452
26461
|
stats.confidenceHistory.reduce((a, b) => a + b, 0) / stats.confidenceHistory.length;
|
|
26453
26462
|
}
|
|
26454
26463
|
|
|
26455
|
-
const VERSION = '3.
|
|
26464
|
+
const VERSION = '3.3.0';
|
|
26456
26465
|
|
|
26457
26466
|
function createHistorySwap(config) {
|
|
26458
26467
|
const { target, strategy = 'morph', useViewTransition = false, fetchOptions = {}, transformUrl, onBeforeFetch, onAfterSwap, onError, } = config;
|