@abaplint/cli 2.113.151 → 2.113.152
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 +19 -13
- package/package.json +8 -8
package/build/cli.js
CHANGED
|
@@ -34092,6 +34092,7 @@ const target_1 = __webpack_require__(/*! ../expressions/target */ "./node_module
|
|
|
34092
34092
|
const dynamic_1 = __webpack_require__(/*! ../expressions/dynamic */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/dynamic.js");
|
|
34093
34093
|
const basic_1 = __webpack_require__(/*! ../../types/basic */ "./node_modules/@abaplint/core/build/src/abap/types/basic/index.js");
|
|
34094
34094
|
const _syntax_input_1 = __webpack_require__(/*! ../_syntax_input */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/_syntax_input.js");
|
|
34095
|
+
const component_chain_1 = __webpack_require__(/*! ../expressions/component_chain */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/component_chain.js");
|
|
34095
34096
|
class Sort {
|
|
34096
34097
|
runSyntax(node, input) {
|
|
34097
34098
|
var _a, _b;
|
|
@@ -34112,23 +34113,24 @@ class Sort {
|
|
|
34112
34113
|
&& !(rowType instanceof basic_1.UnknownType)
|
|
34113
34114
|
&& !(rowType instanceof basic_1.AnyType)) {
|
|
34114
34115
|
for (const component of node.findAllExpressions(Expressions.ComponentChain)) {
|
|
34116
|
+
component_chain_1.ComponentChain.runSyntax(rowType, component, input);
|
|
34117
|
+
/*
|
|
34115
34118
|
if (component.getChildren().length > 1) {
|
|
34116
|
-
|
|
34119
|
+
continue;
|
|
34117
34120
|
}
|
|
34118
34121
|
const cname = component.concatTokens().toUpperCase();
|
|
34119
34122
|
if (cname === "TABLE_LINE") {
|
|
34120
|
-
|
|
34121
|
-
}
|
|
34122
|
-
|
|
34123
|
-
|
|
34124
|
-
|
|
34125
|
-
|
|
34126
|
-
|
|
34127
|
-
|
|
34128
|
-
|
|
34129
|
-
input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
|
|
34130
|
-
return;
|
|
34123
|
+
continue;
|
|
34124
|
+
} else if (!(rowType instanceof StructureType)) {
|
|
34125
|
+
const message = "SORT, table row is not structured";
|
|
34126
|
+
input.issues.push(syntaxIssue(input, tnode.getFirstToken(), message));
|
|
34127
|
+
return;
|
|
34128
|
+
} else if (rowType.getComponentByName(cname) === undefined) {
|
|
34129
|
+
const message = `Field ${cname} does not exist in table row structure`;
|
|
34130
|
+
input.issues.push(syntaxIssue(input, node.getFirstToken(), message));
|
|
34131
|
+
return;
|
|
34131
34132
|
}
|
|
34133
|
+
*/
|
|
34132
34134
|
}
|
|
34133
34135
|
}
|
|
34134
34136
|
}
|
|
@@ -54696,7 +54698,7 @@ class Registry {
|
|
|
54696
54698
|
}
|
|
54697
54699
|
static abaplintVersion() {
|
|
54698
54700
|
// magic, see build script "version.sh"
|
|
54699
|
-
return "2.113.
|
|
54701
|
+
return "2.113.152";
|
|
54700
54702
|
}
|
|
54701
54703
|
getDDICReferences() {
|
|
54702
54704
|
return this.ddicReferences;
|
|
@@ -79349,6 +79351,10 @@ function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
|
|
|
79349
79351
|
return 3;
|
|
79350
79352
|
}
|
|
79351
79353
|
|
|
79354
|
+
if (env.TERM === 'xterm-ghostty') {
|
|
79355
|
+
return 3;
|
|
79356
|
+
}
|
|
79357
|
+
|
|
79352
79358
|
if ('TERM_PROGRAM' in env) {
|
|
79353
79359
|
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
|
79354
79360
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.152",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,24 +38,24 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.113.
|
|
41
|
+
"@abaplint/core": "^2.113.152",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|
|
45
|
-
"@types/node": "^24.
|
|
45
|
+
"@types/node": "^24.2.0",
|
|
46
46
|
"@types/progress": "^2.0.7",
|
|
47
47
|
"chai": "^4.5.0",
|
|
48
48
|
"p-limit": "^3.1.0",
|
|
49
|
-
"chalk": "^5.
|
|
50
|
-
"eslint": "^9.
|
|
49
|
+
"chalk": "^5.5.0",
|
|
50
|
+
"eslint": "^9.32.0",
|
|
51
51
|
"glob": "^11.0.3",
|
|
52
52
|
"json5": "^2.2.3",
|
|
53
|
-
"memfs": "^4.
|
|
53
|
+
"memfs": "^4.36.0",
|
|
54
54
|
"minimist": "^1.2.8",
|
|
55
55
|
"mocha": "^11.7.1",
|
|
56
56
|
"progress": "^2.0.3",
|
|
57
|
-
"typescript": "^5.
|
|
58
|
-
"webpack": "^5.
|
|
57
|
+
"typescript": "^5.9.2",
|
|
58
|
+
"webpack": "^5.101.0",
|
|
59
59
|
"webpack-cli": "^6.0.1",
|
|
60
60
|
"xml-js": "^1.6.11"
|
|
61
61
|
}
|