@abaplint/cli 2.113.67 → 2.113.68
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 -2
- package/package.json +5 -5
package/build/cli.js
CHANGED
|
@@ -14754,7 +14754,7 @@ class MethodDef {
|
|
|
14754
14754
|
const parameters = (0, combi_1.seq)((0, combi_1.optPrio)((0, combi_1.altPrio)("FINAL", def, expressions_1.Abstract)), (0, combi_1.optPrio)(expressions_1.MethodDefImporting), (0, combi_1.optPrio)(expressions_1.MethodDefExporting), (0, combi_1.optPrio)(expressions_1.MethodDefChanging), (0, combi_1.optPrio)(expressions_1.MethodDefReturning), (0, combi_1.optPrio)((0, combi_1.altPrio)(expressions_1.MethodDefRaising, expressions_1.MethodDefExceptions)));
|
|
14755
14755
|
const testing = (0, combi_1.seq)((0, combi_1.optPrio)(expressions_1.Abstract), "FOR TESTING", (0, combi_1.optPrio)((0, combi_1.altPrio)(expressions_1.MethodDefRaising, expressions_1.MethodDefExceptions)));
|
|
14756
14756
|
// todo, this is only from version something
|
|
14757
|
-
const tableFunction = (0, combi_1.seq)("TABLE FUNCTION",
|
|
14757
|
+
const tableFunction = (0, combi_1.seq)("TABLE FUNCTION", expressions_1.NamespaceSimpleName);
|
|
14758
14758
|
// todo, this is only from version something
|
|
14759
14759
|
const ddl = "DDL OBJECT OPTIONS CDS SESSION CLIENT REQUIRED";
|
|
14760
14760
|
const result = (0, combi_1.seq)("RESULT", expressions_1.MethodParamName);
|
|
@@ -53234,7 +53234,7 @@ class Registry {
|
|
|
53234
53234
|
}
|
|
53235
53235
|
static abaplintVersion() {
|
|
53236
53236
|
// magic, see build script "version.sh"
|
|
53237
|
-
return "2.113.
|
|
53237
|
+
return "2.113.68";
|
|
53238
53238
|
}
|
|
53239
53239
|
getDDICReferences() {
|
|
53240
53240
|
return this.ddicReferences;
|
|
@@ -64130,6 +64130,7 @@ const ddic_1 = __webpack_require__(/*! ../ddic */ "./node_modules/@abaplint/core
|
|
|
64130
64130
|
const position_1 = __webpack_require__(/*! ../position */ "./node_modules/@abaplint/core/build/src/position.js");
|
|
64131
64131
|
const virtual_position_1 = __webpack_require__(/*! ../virtual_position */ "./node_modules/@abaplint/core/build/src/virtual_position.js");
|
|
64132
64132
|
const edit_helper_1 = __webpack_require__(/*! ../edit_helper */ "./node_modules/@abaplint/core/build/src/edit_helper.js");
|
|
64133
|
+
const _statement_1 = __webpack_require__(/*! ../abap/2_statements/statements/_statement */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/_statement.js");
|
|
64133
64134
|
class IndentationConf extends _basic_rule_config_1.BasicRuleConfig {
|
|
64134
64135
|
constructor() {
|
|
64135
64136
|
super(...arguments);
|
|
@@ -64241,6 +64242,9 @@ ENDCLASS.`,
|
|
|
64241
64242
|
continue;
|
|
64242
64243
|
}
|
|
64243
64244
|
}
|
|
64245
|
+
if (statement.get() instanceof _statement_1.NativeSQL) {
|
|
64246
|
+
continue;
|
|
64247
|
+
}
|
|
64244
64248
|
// only apply for the first statement in a chain
|
|
64245
64249
|
if (statement.getColon() !== undefined
|
|
64246
64250
|
&& (previous === null || previous === void 0 ? void 0 : previous.getColon()) !== undefined
|
|
@@ -64935,6 +64939,7 @@ class Skip {
|
|
|
64935
64939
|
skipStatement(statement) {
|
|
64936
64940
|
const get = statement.get();
|
|
64937
64941
|
if (get instanceof _statement_1.Unknown
|
|
64942
|
+
|| get instanceof _statement_1.NativeSQL
|
|
64938
64943
|
|| get instanceof _statement_1.MacroContent
|
|
64939
64944
|
|| get instanceof _statement_1.MacroCall
|
|
64940
64945
|
|| statement.getFirstToken().getStart() instanceof virtual_position_1.VirtualPosition
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.68",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,23 +38,23 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.113.
|
|
41
|
+
"@abaplint/core": "^2.113.68",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/glob": "^8.1.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|
|
45
45
|
"@types/mocha": "^10.0.10",
|
|
46
|
-
"@types/node": "^22.
|
|
46
|
+
"@types/node": "^22.10.1",
|
|
47
47
|
"@types/progress": "^2.0.7",
|
|
48
48
|
"chai": "^4.5.0",
|
|
49
49
|
"chalk": "^5.3.0",
|
|
50
|
-
"eslint": "^9.
|
|
50
|
+
"eslint": "^9.15.0",
|
|
51
51
|
"glob": "^7.2.3",
|
|
52
52
|
"json5": "^2.2.3",
|
|
53
53
|
"memfs": "^4.14.0",
|
|
54
54
|
"minimist": "^1.2.8",
|
|
55
55
|
"mocha": "^10.8.2",
|
|
56
56
|
"progress": "^2.0.3",
|
|
57
|
-
"typescript": "^5.
|
|
57
|
+
"typescript": "^5.7.2",
|
|
58
58
|
"webpack": "^5.96.1",
|
|
59
59
|
"webpack-cli": "^5.1.4",
|
|
60
60
|
"xml-js": "^1.6.11"
|