@lokascript/compilation-service 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/http.cjs CHANGED
@@ -2349,6 +2349,9 @@ function parseToggleCommand(ctx, identifierNode) {
2349
2349
  if (classArg && mode !== void 0 && classArg.expression) {
2350
2350
  args.push(classArg.expression);
2351
2351
  modifiers["as"] = literalModifier(mode);
2352
+ } else if (classArg?.type === "binaryExpression" && classArg.operator === "of" && classArg.left?.type === "selector" && typeof classArg.left.value === "string" && classArg.left.value.startsWith("*") && classArg.right) {
2353
+ args.push(classArg.left);
2354
+ modifiers["on"] = classArg.right;
2352
2355
  } else if (classArg) {
2353
2356
  args.push(classArg);
2354
2357
  }
@@ -26633,7 +26636,7 @@ var init_dist = __esm({
26633
26636
  averageConfidence: 0,
26634
26637
  confidenceHistory: []
26635
26638
  };
26636
- VERSION = "3.2.0";
26639
+ VERSION = "3.3.0";
26637
26640
  HistorySwapBehavior = {
26638
26641
  name: "HistorySwap",
26639
26642
  init(element, params = {}) {