@abaplint/cli 2.110.5 → 2.110.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 +9 -3
- package/package.json +4 -4
package/build/cli.js
CHANGED
|
@@ -7994,6 +7994,7 @@ exports.SQLCompare = void 0;
|
|
|
7994
7994
|
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
7995
7995
|
const _1 = __webpack_require__(/*! . */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
|
|
7996
7996
|
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
7997
|
+
const tokens_1 = __webpack_require__(/*! ../../1_lexer/tokens */ "./node_modules/@abaplint/core/build/src/abap/1_lexer/tokens/index.js");
|
|
7997
7998
|
class SQLCompare extends combi_1.Expression {
|
|
7998
7999
|
getRunnable() {
|
|
7999
8000
|
const subSelect = (0, combi_1.seq)("(", _1.Select, ")");
|
|
@@ -8003,7 +8004,9 @@ class SQLCompare extends combi_1.Expression {
|
|
|
8003
8004
|
const source = new _1.SQLSource();
|
|
8004
8005
|
const sub = (0, combi_1.seq)((0, combi_1.optPrio)((0, combi_1.altPrio)("ALL", "ANY", "SOME")), subSelect);
|
|
8005
8006
|
const arith = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.plusPrio)((0, combi_1.seq)((0, combi_1.altPrio)("+", "-", "*", "/"), _1.SQLFieldName)));
|
|
8006
|
-
const
|
|
8007
|
+
const paren = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.ParenLeftW), _1.Source, (0, combi_1.tok)(tokens_1.WParenRightW));
|
|
8008
|
+
const at = (0, combi_1.ver)(version_1.Version.v740sp05, (0, combi_1.seq)((0, combi_1.tok)(tokens_1.WAt), (0, combi_1.altPrio)(_1.SimpleSource3, paren)));
|
|
8009
|
+
const rett = (0, combi_1.seq)((0, combi_1.altPrio)(_1.SQLFunction, (0, combi_1.seq)(_1.SQLFieldName, (0, combi_1.optPrio)(arith)), at), (0, combi_1.altPrio)((0, combi_1.seq)(_1.SQLCompareOperator, (0, combi_1.altPrio)(sub, source)), (0, combi_1.seq)((0, combi_1.optPrio)("NOT"), (0, combi_1.altPrio)(_1.SQLIn, like, between)), nul));
|
|
8007
8010
|
const exists = (0, combi_1.seq)("EXISTS", subSelect);
|
|
8008
8011
|
return (0, combi_1.altPrio)(exists, _1.Dynamic, rett);
|
|
8009
8012
|
}
|
|
@@ -33405,7 +33408,10 @@ class Data {
|
|
|
33405
33408
|
// INCLUDES
|
|
33406
33409
|
const typeToken = (_a = c.findFirstExpression(Expressions.TypeName)) === null || _a === void 0 ? void 0 : _a.getFirstToken();
|
|
33407
33410
|
const typeName = typeToken === null || typeToken === void 0 ? void 0 : typeToken.getStr();
|
|
33408
|
-
|
|
33411
|
+
let foundId = scope.findType(typeName);
|
|
33412
|
+
if (foundId === undefined) {
|
|
33413
|
+
foundId = scope.findVariable(typeName);
|
|
33414
|
+
}
|
|
33409
33415
|
let found = foundId === null || foundId === void 0 ? void 0 : foundId.getType();
|
|
33410
33416
|
if (found === undefined) {
|
|
33411
33417
|
const f = scope.getDDIC().lookupTableOrView(typeName).type;
|
|
@@ -51781,7 +51787,7 @@ class Registry {
|
|
|
51781
51787
|
}
|
|
51782
51788
|
static abaplintVersion() {
|
|
51783
51789
|
// magic, see build script "version.sh"
|
|
51784
|
-
return "2.110.
|
|
51790
|
+
return "2.110.7";
|
|
51785
51791
|
}
|
|
51786
51792
|
getDDICReferences() {
|
|
51787
51793
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.110.
|
|
3
|
+
"version": "2.110.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.110.
|
|
41
|
+
"@abaplint/core": "^2.110.7",
|
|
42
42
|
"@types/chai": "^4.3.16",
|
|
43
43
|
"@types/glob": "^8.1.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|
|
45
45
|
"@types/mocha": "^10.0.7",
|
|
46
|
-
"@types/node": "^20.14.
|
|
46
|
+
"@types/node": "^20.14.10",
|
|
47
47
|
"@types/progress": "^2.0.7",
|
|
48
48
|
"chai": "^4.4.1",
|
|
49
49
|
"chalk": "^5.3.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"mocha": "^10.6.0",
|
|
56
56
|
"progress": "^2.0.3",
|
|
57
57
|
"typescript": "^5.5.3",
|
|
58
|
-
"webpack": "^5.
|
|
58
|
+
"webpack": "^5.93.0",
|
|
59
59
|
"webpack-cli": "^5.1.4",
|
|
60
60
|
"xml-js": "^1.6.11"
|
|
61
61
|
},
|