@abaplint/cli 2.113.138 → 2.113.139

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.
Files changed (2) hide show
  1. package/build/cli.js +9 -5
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -49079,12 +49079,14 @@ class FunctionGroup extends _abap_object_1.ABAPObject {
49079
49079
  }
49080
49080
  if ((i.startsWith("L") || namespaced) && f.getFilename().includes(search.toLowerCase() + ".")) {
49081
49081
  ret.push({ file: f, name: i });
49082
+ break;
49082
49083
  }
49083
49084
  // fix for URL encoded? Uris
49084
49085
  if (namespaced) {
49085
49086
  search = i.replace(/\//g, "%23");
49086
49087
  if (f.getFilename().includes(search.toLowerCase() + ".")) {
49087
49088
  ret.push({ file: f, name: i });
49089
+ break;
49088
49090
  }
49089
49091
  }
49090
49092
  }
@@ -54573,7 +54575,7 @@ class Registry {
54573
54575
  }
54574
54576
  static abaplintVersion() {
54575
54577
  // magic, see build script "version.sh"
54576
- return "2.113.138";
54578
+ return "2.113.139";
54577
54579
  }
54578
54580
  getDDICReferences() {
54579
54581
  return this.ddicReferences;
@@ -77853,7 +77855,9 @@ class Graph {
77853
77855
  this.edges = {};
77854
77856
  }
77855
77857
  addVertex(vertex) {
77856
- this.verticesIncludenameIndex[vertex.includeName.toUpperCase()] = vertex;
77858
+ if (vertex.includeName !== undefined) {
77859
+ this.verticesIncludenameIndex[vertex.includeName.toUpperCase()] = vertex;
77860
+ }
77857
77861
  this.verticesFilenameIndex[vertex.filename.toUpperCase()] = vertex;
77858
77862
  }
77859
77863
  findVertexViaIncludename(includeName) {
@@ -77984,7 +77988,7 @@ class IncludeGraph {
77984
77988
  if (file) {
77985
77989
  this.graph.addVertex({
77986
77990
  filename: file.getFilename(),
77987
- includeName: o.getName(),
77991
+ includeName: undefined,
77988
77992
  include: false
77989
77993
  });
77990
77994
  }
@@ -77993,7 +77997,7 @@ class IncludeGraph {
77993
77997
  for (const f of o.getSequencedFiles()) {
77994
77998
  this.graph.addVertex({
77995
77999
  filename: f.getFilename(),
77996
- includeName: o.getName(),
78000
+ includeName: undefined,
77997
78001
  include: false
77998
78002
  });
77999
78003
  }
@@ -78010,7 +78014,7 @@ class IncludeGraph {
78010
78014
  if (file) {
78011
78015
  this.graph.addVertex({
78012
78016
  filename: file.getFilename(),
78013
- includeName: o.getName(),
78017
+ includeName: undefined, // this is the SAPL program
78014
78018
  include: false
78015
78019
  });
78016
78020
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.138",
3
+ "version": "2.113.139",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.138",
41
+ "@abaplint/core": "^2.113.139",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",