@abaplint/cli 2.113.195 → 2.113.197
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 +12 -4
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -8334,7 +8334,7 @@ const sql_function_1 = __webpack_require__(/*! ./sql_function */ "./node_modules
|
|
|
8334
8334
|
const sql_path_1 = __webpack_require__(/*! ./sql_path */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_path.js");
|
|
8335
8335
|
class SQLField extends combi_1.Expression {
|
|
8336
8336
|
getRunnable() {
|
|
8337
|
-
const abap = (0, combi_1.ver)(version_1.Version.v740sp05, (0, combi_1.seq)((0, combi_1.tok)(tokens_1.WAt), _1.SimpleFieldChain2));
|
|
8337
|
+
const abap = (0, combi_1.ver)(version_1.Version.v740sp05, (0, combi_1.seq)((0, combi_1.tok)(tokens_1.WAt), _1.SimpleFieldChain2), version_1.Version.OpenABAP);
|
|
8338
8338
|
const as = (0, combi_1.seq)("AS", _1.SQLAsName);
|
|
8339
8339
|
const field = (0, combi_1.altPrio)(_1.SQLAggregation, _1.SQLCase, sql_function_1.SQLFunction, sql_path_1.SQLPath, _1.SQLFieldName, abap, _1.Constant);
|
|
8340
8340
|
const sub = (0, combi_1.plusPrio)((0, combi_1.seq)((0, combi_1.altPrio)("+", "-", "*", "/", "&&"), (0, combi_1.optPrio)((0, combi_1.tok)(tokens_1.WParenLeftW)), field, (0, combi_1.optPrio)((0, combi_1.tok)(tokens_1.WParenRightW))));
|
|
@@ -8750,9 +8750,10 @@ class SQLIn extends combi_1.Expression {
|
|
|
8750
8750
|
getRunnable() {
|
|
8751
8751
|
const val = new _1.SQLSource();
|
|
8752
8752
|
const short = new _1.SQLSourceNoSpace();
|
|
8753
|
-
const listOld = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.WParenLeft), (0, combi_1.alt)((0, combi_1.ver)(version_1.Version.v740sp05, short), val), (0, combi_1.starPrio)((0, combi_1.seq)(",", val)), (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.ParenRight), (0, combi_1.tok)(tokens_1.ParenRightW), (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
8753
|
+
const listOld = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.WParenLeft), (0, combi_1.alt)((0, combi_1.ver)(version_1.Version.v740sp05, short, version_1.Version.OpenABAP), val), (0, combi_1.starPrio)((0, combi_1.seq)(",", val)), (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.ParenRight), (0, combi_1.tok)(tokens_1.ParenRightW), (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
8754
8754
|
const listNew = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.WParenLeftW), val, (0, combi_1.starPrio)((0, combi_1.seq)(",", (0, combi_1.altPrio)(short, val))), (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.WParenRight), (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
8755
|
-
|
|
8755
|
+
// version is a guess, https://github.com/abaplint/abaplint/issues/2530
|
|
8756
|
+
const list = (0, combi_1.alt)(listOld, (0, combi_1.ver)(version_1.Version.v740sp02, listNew, version_1.Version.OpenABAP));
|
|
8756
8757
|
const subSelect = (0, combi_1.seq)("(", _1.Select, ")");
|
|
8757
8758
|
const inn = (0, combi_1.seq)("IN", (0, combi_1.altPrio)(_1.SQLSource, list, subSelect));
|
|
8758
8759
|
return inn;
|
|
@@ -46587,6 +46588,13 @@ class AbstractObject {
|
|
|
46587
46588
|
}
|
|
46588
46589
|
addFile(file) {
|
|
46589
46590
|
this.setDirty();
|
|
46591
|
+
// update if it already exists
|
|
46592
|
+
for (let i = 0; i < this.files.length; i++) {
|
|
46593
|
+
if (this.files[i].getFilename() === file.getFilename()) {
|
|
46594
|
+
this.files[i] = file;
|
|
46595
|
+
return;
|
|
46596
|
+
}
|
|
46597
|
+
}
|
|
46590
46598
|
this.files.push(file);
|
|
46591
46599
|
}
|
|
46592
46600
|
getFiles() {
|
|
@@ -54977,7 +54985,7 @@ class Registry {
|
|
|
54977
54985
|
}
|
|
54978
54986
|
static abaplintVersion() {
|
|
54979
54987
|
// magic, see build script "version.sh"
|
|
54980
|
-
return "2.113.
|
|
54988
|
+
return "2.113.197";
|
|
54981
54989
|
}
|
|
54982
54990
|
getDDICReferences() {
|
|
54983
54991
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.197",
|
|
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.
|
|
41
|
+
"@abaplint/core": "^2.113.197",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|