@abaplint/cli 2.113.184 → 2.113.186
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 +7 -4
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -7618,7 +7618,7 @@ class Select extends combi_1.Expression {
|
|
|
7618
7618
|
const where = (0, combi_1.seq)("WHERE", _1.SQLCond);
|
|
7619
7619
|
const offset = (0, combi_1.ver)(version_1.Version.v751, (0, combi_1.seq)("OFFSET", _1.SQLSource));
|
|
7620
7620
|
const bypass = (0, combi_1.str)("BYPASSING BUFFER");
|
|
7621
|
-
const fields = (0, combi_1.ver)(version_1.Version.v750, _1.SQLFields);
|
|
7621
|
+
const fields = (0, combi_1.ver)(version_1.Version.v750, _1.SQLFields, version_1.Version.OpenABAP);
|
|
7622
7622
|
// todo, HINTS cannot be anywhere, need an expression dedicated for strict sql
|
|
7623
7623
|
const perm = (0, combi_1.per)(_1.SQLFrom, into, _1.SQLForAllEntries, where, _1.SQLOrderBy, sql_up_to_1.SQLUpTo, offset, _1.SQLClient, _1.SQLHaving, bypass, sql_group_by_1.SQLGroupBy, fields, _1.DatabaseConnection, _1.SQLHints);
|
|
7624
7624
|
const permSingle = (0, combi_1.per)(_1.SQLFrom, (0, combi_1.altPrio)(sql_into_structure_1.SQLIntoStructure, _1.SQLIntoList), where, _1.SQLClient, bypass, sql_group_by_1.SQLGroupBy, fields, _1.DatabaseConnection, _1.SQLHints);
|
|
@@ -9694,7 +9694,7 @@ const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@a
|
|
|
9694
9694
|
class ValueBody extends combi_1.Expression {
|
|
9695
9695
|
getRunnable() {
|
|
9696
9696
|
const strucOrTab = (0, combi_1.seq)((0, combi_1.optPrio)(_1.Let), (0, combi_1.optPrio)(_1.ValueBase), (0, combi_1.star)(_1.For), (0, combi_1.plusPrio)((0, combi_1.altPrio)(_1.FieldAssignment, _1.ValueBodyLine)));
|
|
9697
|
-
const tabdef = (0, combi_1.ver)(version_1.Version.v740sp08, (0, combi_1.altPrio)("OPTIONAL", (0, combi_1.seq)("DEFAULT", _1.Source)));
|
|
9697
|
+
const tabdef = (0, combi_1.ver)(version_1.Version.v740sp08, (0, combi_1.altPrio)("OPTIONAL", (0, combi_1.seq)("DEFAULT", _1.Source)), version_1.Version.OpenABAP);
|
|
9698
9698
|
return (0, combi_1.optPrio)((0, combi_1.altPrio)(strucOrTab, (0, combi_1.seq)(_1.Source, (0, combi_1.optPrio)(tabdef))));
|
|
9699
9699
|
}
|
|
9700
9700
|
}
|
|
@@ -54949,7 +54949,7 @@ class Registry {
|
|
|
54949
54949
|
}
|
|
54950
54950
|
static abaplintVersion() {
|
|
54951
54951
|
// magic, see build script "version.sh"
|
|
54952
|
-
return "2.113.
|
|
54952
|
+
return "2.113.186";
|
|
54953
54953
|
}
|
|
54954
54954
|
getDDICReferences() {
|
|
54955
54955
|
return this.ddicReferences;
|
|
@@ -75967,7 +75967,9 @@ ENDFORM.`,
|
|
|
75967
75967
|
continue;
|
|
75968
75968
|
}
|
|
75969
75969
|
const prev = statements[i - 1];
|
|
75970
|
-
if (prev
|
|
75970
|
+
if (prev
|
|
75971
|
+
&& prev.get() instanceof Statements.Return
|
|
75972
|
+
&& prev.getChildren().length === 2) {
|
|
75971
75973
|
if (this.conf.allowEmpty === true && statementCounter === 2) {
|
|
75972
75974
|
continue;
|
|
75973
75975
|
}
|
|
@@ -75978,6 +75980,7 @@ ENDFORM.`,
|
|
|
75978
75980
|
const prevprev = statements[i - 2];
|
|
75979
75981
|
if (prev && prevprev
|
|
75980
75982
|
&& prevprev.get() instanceof Statements.Return
|
|
75983
|
+
&& prevprev.getChildren().length === 2
|
|
75981
75984
|
&& prev.get() instanceof Statements.EndIf) {
|
|
75982
75985
|
const fix = edit_helper_1.EditHelper.deleteStatement(file, prevprev);
|
|
75983
75986
|
issues.push(issue_1.Issue.atStatement(file, prevprev, message, this.getMetadata().key, this.getConfig().severity, fix));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.186",
|
|
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.186",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|