clarity-pattern-parser 10.2.5 → 10.2.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarity-pattern-parser",
3
- "version": "10.2.5",
3
+ "version": "10.2.6",
4
4
  "description": "Parsing Library for Typescript and Javascript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.esm.js",
@@ -288,7 +288,7 @@ export class ExpressionPattern implements Pattern {
288
288
  return recursiveNode;
289
289
  } else {
290
290
  const recursiveNode = createNode(name, [lastUnaryNode, ...node.children]);
291
- recursiveNode.normalize(this._firstIndex);
291
+ recursiveNode.normalize(lastUnaryNode.startIndex);
292
292
  lastUnaryNode = recursiveNode;
293
293
  break;
294
294
  }