@abaplint/cli 2.118.6 → 2.118.8
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 +17 -4
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -17647,6 +17647,8 @@ class Submit {
|
|
|
17647
17647
|
const exporting = (0, combi_1.str)("EXPORTING LIST TO MEMORY");
|
|
17648
17648
|
const spool = (0, combi_1.seq)("SPOOL PARAMETERS", expressions_1.Source);
|
|
17649
17649
|
const archive = (0, combi_1.seq)("ARCHIVE PARAMETERS", expressions_1.Source);
|
|
17650
|
+
const archiveMode = (0, combi_1.seq)("ARCHIVE MODE", expressions_1.Source);
|
|
17651
|
+
const receiver = (0, combi_1.seq)("RECEIVER", expressions_1.Source);
|
|
17650
17652
|
const lineSize = (0, combi_1.seq)("LINE-SIZE", expressions_1.Source);
|
|
17651
17653
|
const lineCount = (0, combi_1.seq)("LINE-COUNT", expressions_1.Source);
|
|
17652
17654
|
const user = (0, combi_1.seq)("USER", expressions_1.Source);
|
|
@@ -17665,7 +17667,7 @@ class Submit {
|
|
|
17665
17667
|
const imm = (0, combi_1.seq)("IMMEDIATELY", expressions_1.Source);
|
|
17666
17668
|
const dest = (0, combi_1.seq)("DESTINATION", expressions_1.Source);
|
|
17667
17669
|
const language = (0, combi_1.seq)("LANGUAGE", expressions_1.Source);
|
|
17668
|
-
const perm = (0, combi_1.per)((0, combi_1.plus)(awith), selectionTable, (0, combi_1.plus)(awith), spool, lineSize, lineCount, archive, user, sset, ssetp, keep, cover, imm, layout, dest, coverText, listName, language, free, newList, uss, copies, datasetExpiration, "TO SAP-SPOOL", "WITHOUT SPOOL DYNPRO", "VIA SELECTION-SCREEN", exporting, expressions_1.AndReturn, job);
|
|
17670
|
+
const perm = (0, combi_1.per)((0, combi_1.plus)(awith), selectionTable, (0, combi_1.plus)(awith), (0, combi_1.plus)(awith), spool, lineSize, lineCount, archive, archiveMode, receiver, user, sset, ssetp, keep, cover, imm, layout, dest, coverText, listName, language, free, newList, uss, copies, datasetExpiration, "TO SAP-SPOOL", "WITHOUT SPOOL DYNPRO", "VIA SELECTION-SCREEN", exporting, expressions_1.AndReturn, job);
|
|
17669
17671
|
const ret = (0, combi_1.seq)("SUBMIT", prog, (0, combi_1.opt)(perm));
|
|
17670
17672
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
17671
17673
|
}
|
|
@@ -24473,7 +24475,7 @@ class BasicTypes {
|
|
|
24473
24475
|
}
|
|
24474
24476
|
}
|
|
24475
24477
|
this.input.scope.addReference(token, typ, _reference_1.ReferenceType.TypeReference, this.input.filename);
|
|
24476
|
-
return typ.getType();
|
|
24478
|
+
return this.cloneType(typ.getType(), qualifiedName);
|
|
24477
24479
|
}
|
|
24478
24480
|
const type = (_a = this.input.scope.findTypePoolType(chainText)) === null || _a === void 0 ? void 0 : _a.getType();
|
|
24479
24481
|
if (type) {
|
|
@@ -56037,7 +56039,7 @@ class Registry {
|
|
|
56037
56039
|
}
|
|
56038
56040
|
static abaplintVersion() {
|
|
56039
56041
|
// magic, see build script "version.sh"
|
|
56040
|
-
return "2.118.
|
|
56042
|
+
return "2.118.8";
|
|
56041
56043
|
}
|
|
56042
56044
|
getDDICReferences() {
|
|
56043
56045
|
return this.ddicReferences;
|
|
@@ -57722,11 +57724,17 @@ MODIFY TABLE foo FROM bar.`,
|
|
|
57722
57724
|
match = this.tryMatch(statement, this.reg, Statements.DeleteDatabase);
|
|
57723
57725
|
}
|
|
57724
57726
|
else if (statement.get() instanceof Statements.ModifyInternal) {
|
|
57725
|
-
match = this.tryMatch(statement, this.reg, Statements.ModifyDatabase);
|
|
57727
|
+
match = this.tryMatch(statement, this.reg, Statements.ModifyDatabase) || this.isBareStatement(statement);
|
|
57726
57728
|
}
|
|
57727
57729
|
else if (statement.get() instanceof Statements.ModifyDatabase) {
|
|
57728
57730
|
match = this.tryMatch(statement, this.reg, Statements.ModifyInternal);
|
|
57729
57731
|
}
|
|
57732
|
+
else if (statement.get() instanceof Statements.InsertDatabase) {
|
|
57733
|
+
match = this.isBareStatement(statement);
|
|
57734
|
+
}
|
|
57735
|
+
else if (statement.get() instanceof Statements.UpdateDatabase) {
|
|
57736
|
+
match = this.isBareStatement(statement);
|
|
57737
|
+
}
|
|
57730
57738
|
if (match) {
|
|
57731
57739
|
const issue = issue_1.Issue.atStatement(file, statement, this.getMessage(), this.getMetadata().key, this.conf.severity);
|
|
57732
57740
|
issues.push(issue);
|
|
@@ -57734,6 +57742,11 @@ MODIFY TABLE foo FROM bar.`,
|
|
|
57734
57742
|
}
|
|
57735
57743
|
return issues;
|
|
57736
57744
|
}
|
|
57745
|
+
isBareStatement(st) {
|
|
57746
|
+
const tokens = st.getTokens().slice(0);
|
|
57747
|
+
tokens.pop();
|
|
57748
|
+
return tokens.length === 2;
|
|
57749
|
+
}
|
|
57737
57750
|
tryMatch(st, reg, type1) {
|
|
57738
57751
|
const ver = reg.getConfig().getVersion();
|
|
57739
57752
|
const tokens = st.getTokens().slice(0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.118.
|
|
3
|
+
"version": "2.118.8",
|
|
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.118.
|
|
41
|
+
"@abaplint/core": "^2.118.8",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|