@abaplint/cli 2.104.4 → 2.104.6
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 +9 -3
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -28216,7 +28216,7 @@ const dynamic_1 = __webpack_require__(/*! ../expressions/dynamic */ "./node_modu
|
|
|
28216
28216
|
const _type_utils_1 = __webpack_require__(/*! ../_type_utils */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/_type_utils.js");
|
|
28217
28217
|
class Assign {
|
|
28218
28218
|
runSyntax(node, scope, filename) {
|
|
28219
|
-
var _a;
|
|
28219
|
+
var _a, _b;
|
|
28220
28220
|
const assignSource = node.findDirectExpression(Expressions.AssignSource);
|
|
28221
28221
|
const sources = (assignSource === null || assignSource === void 0 ? void 0 : assignSource.findDirectExpressionsMulti([Expressions.Source, Expressions.SimpleSource3])) || [];
|
|
28222
28222
|
const theSource = sources[sources.length - 1];
|
|
@@ -28251,7 +28251,12 @@ class Assign {
|
|
|
28251
28251
|
}
|
|
28252
28252
|
const target = node.findDirectExpression(Expressions.FSTarget);
|
|
28253
28253
|
if (target) {
|
|
28254
|
-
|
|
28254
|
+
if (((_b = assignSource === null || assignSource === void 0 ? void 0 : assignSource.getFirstChild()) === null || _b === void 0 ? void 0 : _b.concatTokens().toUpperCase()) === "COMPONENT") {
|
|
28255
|
+
new fstarget_1.FSTarget().runSyntax(target, scope, filename, new basic_1.AnyType());
|
|
28256
|
+
}
|
|
28257
|
+
else {
|
|
28258
|
+
new fstarget_1.FSTarget().runSyntax(target, scope, filename, sourceType);
|
|
28259
|
+
}
|
|
28255
28260
|
}
|
|
28256
28261
|
for (const s of node.findAllExpressions(Expressions.Source)) {
|
|
28257
28262
|
if (s === theSource) {
|
|
@@ -48725,6 +48730,7 @@ class RenameTable {
|
|
|
48725
48730
|
let changes = [];
|
|
48726
48731
|
const helper = new renamer_helper_1.RenamerHelper(this.reg);
|
|
48727
48732
|
changes = changes.concat(helper.buildXMLFileEdits(obj, "TABNAME", oldName, newName));
|
|
48733
|
+
changes = changes.concat(helper.buildXMLFileEdits(obj, "FORTABLE", oldName, newName));
|
|
48728
48734
|
changes = changes.concat(helper.renameFiles(obj, oldName, newName));
|
|
48729
48735
|
changes = changes.concat(helper.renameDDICCodeReferences(obj, oldName, newName));
|
|
48730
48736
|
changes = changes.concat(helper.renameDDICTABLReferences(obj, oldName, newName));
|
|
@@ -51036,7 +51042,7 @@ class Registry {
|
|
|
51036
51042
|
}
|
|
51037
51043
|
static abaplintVersion() {
|
|
51038
51044
|
// magic, see build script "version.sh"
|
|
51039
|
-
return "2.104.
|
|
51045
|
+
return "2.104.6";
|
|
51040
51046
|
}
|
|
51041
51047
|
getDDICReferences() {
|
|
51042
51048
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.104.
|
|
3
|
+
"version": "2.104.6",
|
|
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.104.
|
|
41
|
+
"@abaplint/core": "^2.104.6",
|
|
42
42
|
"@types/chai": "^4.3.11",
|
|
43
43
|
"@types/glob": "^7.2.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|