tycho-components 0.28.3 → 0.28.4

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.
@@ -179,6 +179,10 @@ export default class CytoscapeTreeConverter {
179
179
  return (dominator !== null &&
180
180
  this.generateChunkId(dominator) === this.generateChunkId(chunk));
181
181
  }
182
+ const tightestDominator = this.findTightestContainingChunk(struct, token.p, token.p);
183
+ if (tightestDominator !== null) {
184
+ return (this.generateChunkId(tightestDominator) === this.generateChunkId(chunk));
185
+ }
182
186
  if (token.l !== chunk.l)
183
187
  return false;
184
188
  const dominator = this.tightestChunk(this.findContainingChunks(struct, chunk.l, token.p, token.p));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tycho-components",
3
3
  "private": false,
4
- "version": "0.28.3",
4
+ "version": "0.28.4",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {