@abaplint/cli 2.113.147 → 2.113.148

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 -4
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -54673,7 +54673,7 @@ class Registry {
54673
54673
  }
54674
54674
  static abaplintVersion() {
54675
54675
  // magic, see build script "version.sh"
54676
- return "2.113.147";
54676
+ return "2.113.148";
54677
54677
  }
54678
54678
  getDDICReferences() {
54679
54679
  return this.ddicReferences;
@@ -71051,15 +71051,20 @@ This rule makes sure the spaces are consistently required across the language.`,
71051
71051
  return undefined;
71052
71052
  }
71053
71053
  checkSource(cond) {
71054
+ var _a, _b;
71054
71055
  const children = cond.getAllTokens();
71055
71056
  if (children.length < 2) {
71056
71057
  return undefined;
71057
71058
  }
71058
71059
  if (children.length >= 4
71059
71060
  && children[0].getStr().toUpperCase() === "CONV") {
71060
- const first = children[2];
71061
- const second = children[3];
71062
- if (first.getRow() === second.getRow()
71061
+ const directChildren = cond.getChildren();
71062
+ const first = (_a = directChildren[2]) === null || _a === void 0 ? void 0 : _a.getLastToken();
71063
+ const second = (_b = directChildren[3]) === null || _b === void 0 ? void 0 : _b.getFirstToken();
71064
+ if (first
71065
+ && first.getStr() === "("
71066
+ && second
71067
+ && first.getRow() === second.getRow()
71063
71068
  && first.getCol() + 1 === second.getStart().getCol()) {
71064
71069
  return second.getStart();
71065
71070
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.147",
3
+ "version": "2.113.148",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,11 +38,11 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.147",
41
+ "@abaplint/core": "^2.113.148",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",
45
- "@types/node": "^24.0.15",
45
+ "@types/node": "^24.1.0",
46
46
  "@types/progress": "^2.0.7",
47
47
  "chai": "^4.5.0",
48
48
  "p-limit": "^3.1.0",