@adaas/are-html 0.0.10 → 0.0.11

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.
@@ -395,14 +395,14 @@ var AreDirectiveFor = class extends AreDirective {
395
395
  });
396
396
  result = fn(...resolvedArgs);
397
397
  } else if (arrayExpr.includes(".")) {
398
- const parts = arrayExpr.split(".");
398
+ const parts = arrayExpr.split(".").map((p) => p.replace(/\?$/, ""));
399
399
  result = store.get(parts[0]);
400
400
  for (let i = 1; i < parts.length; i++) {
401
401
  if (result == null) break;
402
402
  result = result[parts[i]];
403
403
  }
404
404
  } else {
405
- result = store.get(arrayExpr);
405
+ result = store.get(arrayExpr.replace(/\?$/, ""));
406
406
  }
407
407
  if (result == null) return [];
408
408
  if (!Array.isArray(result))