@abaplint/cli 2.101.5 → 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.
- package/build/cli.js +18 -3
- package/package.json +4 -4
package/build/cli.js
CHANGED
|
@@ -29846,6 +29846,9 @@ class Raise {
|
|
|
29846
29846
|
else {
|
|
29847
29847
|
throw new Error("RAISE, unknown class " + className);
|
|
29848
29848
|
}
|
|
29849
|
+
if (method === undefined) {
|
|
29850
|
+
method = new basic_1.VoidType(className);
|
|
29851
|
+
}
|
|
29849
29852
|
}
|
|
29850
29853
|
const c = node.findExpressionAfterToken("EXCEPTION");
|
|
29851
29854
|
if (c instanceof nodes_1.ExpressionNode && (c.get() instanceof Expressions.SimpleSource2 || c.get() instanceof Expressions.Source)) {
|
|
@@ -29861,6 +29864,9 @@ class Raise {
|
|
|
29861
29864
|
throw new Error("RAISE EXCEPTION, must be object reference, got " + type.constructor.name);
|
|
29862
29865
|
}
|
|
29863
29866
|
}
|
|
29867
|
+
if (method === undefined) {
|
|
29868
|
+
method = new basic_1.VoidType("Exception");
|
|
29869
|
+
}
|
|
29864
29870
|
// check parameters vs constructor
|
|
29865
29871
|
const param = node.findDirectExpression(Expressions.ParameterListS);
|
|
29866
29872
|
if (param) {
|
|
@@ -43029,7 +43035,14 @@ class DataDefinition extends _abstract_object_1.AbstractObject {
|
|
|
43029
43035
|
}
|
|
43030
43036
|
findFieldNames(tree) {
|
|
43031
43037
|
var _a, _b;
|
|
43032
|
-
|
|
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)) || []) {
|
|
43033
43046
|
let found = (_a = e.findDirectExpression(expressions_1.CDSAs)) === null || _a === void 0 ? void 0 : _a.findDirectExpression(expressions_1.CDSName);
|
|
43034
43047
|
if (found === undefined) {
|
|
43035
43048
|
const list = e.findDirectExpressions(expressions_1.CDSName);
|
|
@@ -48026,7 +48039,7 @@ class Registry {
|
|
|
48026
48039
|
}
|
|
48027
48040
|
static abaplintVersion() {
|
|
48028
48041
|
// magic, see build script "version.sh"
|
|
48029
|
-
return "2.101.
|
|
48042
|
+
return "2.101.7";
|
|
48030
48043
|
}
|
|
48031
48044
|
getDDICReferences() {
|
|
48032
48045
|
return this.ddicReferences;
|
|
@@ -52759,7 +52772,9 @@ Current rules:
|
|
|
52759
52772
|
* ENUMs, but does not nessesarily give the correct type and value
|
|
52760
52773
|
* MESSAGE with non simple source
|
|
52761
52774
|
|
|
52762
|
-
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.`,
|
|
52763
52778
|
tags: [_irule_1.RuleTag.Downport, _irule_1.RuleTag.Quickfix],
|
|
52764
52779
|
};
|
|
52765
52780
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.101.
|
|
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.
|
|
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.
|
|
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.
|
|
58
|
+
"webpack": "^5.84.1",
|
|
59
59
|
"webpack-cli": "^5.1.1",
|
|
60
60
|
"xml-js": "^1.6.11"
|
|
61
61
|
},
|