@abaplint/cli 2.101.6 → 2.101.7

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 +12 -3
  2. package/package.json +4 -4
package/build/cli.js CHANGED
@@ -43035,7 +43035,14 @@ class DataDefinition extends _abstract_object_1.AbstractObject {
43035
43035
  }
43036
43036
  findFieldNames(tree) {
43037
43037
  var _a, _b;
43038
- for (const e of tree.findAllExpressions(expressions_1.CDSElement)) {
43038
+ let expr = tree.findFirstExpression(expressions_1.CDSSelect);
43039
+ if (expr === undefined) {
43040
+ expr = tree.findFirstExpression(expressions_1.CDSAnnotate);
43041
+ }
43042
+ if (expr === undefined) {
43043
+ expr = tree.findFirstExpression(expressions_1.CDSDefineProjection);
43044
+ }
43045
+ for (const e of (expr === null || expr === void 0 ? void 0 : expr.findDirectExpressions(expressions_1.CDSElement)) || []) {
43039
43046
  let found = (_a = e.findDirectExpression(expressions_1.CDSAs)) === null || _a === void 0 ? void 0 : _a.findDirectExpression(expressions_1.CDSName);
43040
43047
  if (found === undefined) {
43041
43048
  const list = e.findDirectExpressions(expressions_1.CDSName);
@@ -48032,7 +48039,7 @@ class Registry {
48032
48039
  }
48033
48040
  static abaplintVersion() {
48034
48041
  // magic, see build script "version.sh"
48035
- return "2.101.6";
48042
+ return "2.101.7";
48036
48043
  }
48037
48044
  getDDICReferences() {
48038
48045
  return this.ddicReferences;
@@ -52765,7 +52772,9 @@ Current rules:
52765
52772
  * ENUMs, but does not nessesarily give the correct type and value
52766
52773
  * MESSAGE with non simple source
52767
52774
 
52768
- Only one transformation is applied to a statement at a time, so multiple steps might be required to do the full downport.`,
52775
+ Only one transformation is applied to a statement at a time, so multiple steps might be required to do the full downport.
52776
+
52777
+ Make sure to test the downported code, it might not always be completely correct.`,
52769
52778
  tags: [_irule_1.RuleTag.Downport, _irule_1.RuleTag.Quickfix],
52770
52779
  };
52771
52780
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.101.6",
3
+ "version": "2.101.7",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,12 +38,12 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.101.6",
41
+ "@abaplint/core": "^2.101.7",
42
42
  "@types/chai": "^4.3.5",
43
43
  "@types/glob": "^7.2.0",
44
44
  "@types/minimist": "^1.2.2",
45
45
  "@types/mocha": "^10.0.1",
46
- "@types/node": "^20.2.3",
46
+ "@types/node": "^20.2.5",
47
47
  "@types/progress": "^2.0.5",
48
48
  "chai": "^4.3.7",
49
49
  "chalk": "^5.2.0",
@@ -55,7 +55,7 @@
55
55
  "mocha": "^10.2.0",
56
56
  "progress": "^2.0.3",
57
57
  "typescript": "^5.0.4",
58
- "webpack": "^5.84.0",
58
+ "webpack": "^5.84.1",
59
59
  "webpack-cli": "^5.1.1",
60
60
  "xml-js": "^1.6.11"
61
61
  },