simple-graph-query 1.2.2 → 1.2.3

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.
@@ -48632,9 +48632,9 @@ class ForgeExprEvaluator extends AbstractParseTreeVisitor_1.AbstractParseTreeVis
48632
48632
  }
48633
48633
  // helper function to get the label for a value (used for @: operator)
48634
48634
  getLabelForValue(value) {
48635
- // For primitive values (numbers, booleans), the label is the value itself
48635
+ // // For primitive values (numbers, booleans), the label is the value itself
48636
48636
  if (typeof value === "number" || typeof value === "boolean") {
48637
- return value;
48637
+ return String(value); // [SP: Labels are always strings, so convert numbers/booleans to strings]
48638
48638
  }
48639
48639
  // For string values, try to find the corresponding atom and return its label
48640
48640
  if (typeof value === "string") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simple-graph-query",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "TypeScript evaluator for Forge expressions with browser-compatible UMD bundle",
5
5
  "main": "dist/simple-graph-query.bundle.js",
6
6
  "types": "dist/index.d.ts",