@abaplint/transpiler-cli 2.7.70 → 2.7.71
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/bundle.js +8 -3
- package/package.json +3 -3
package/build/bundle.js
CHANGED
|
@@ -80099,11 +80099,15 @@ class TranspileTypes {
|
|
|
80099
80099
|
else if (type instanceof abaplint.BasicTypes.StructureType) {
|
|
80100
80100
|
resolved = "Structure";
|
|
80101
80101
|
const list = [];
|
|
80102
|
-
const
|
|
80102
|
+
const suffix = {};
|
|
80103
|
+
const asInclude = {};
|
|
80103
80104
|
for (const c of type.getComponents()) {
|
|
80104
80105
|
list.push(`"` + c.name.toLowerCase() + `": ` + this.toType(c.type));
|
|
80105
80106
|
if (c.suffix) {
|
|
80106
|
-
|
|
80107
|
+
suffix[c.name.toLowerCase()] = c.suffix;
|
|
80108
|
+
}
|
|
80109
|
+
if (c.asInclude) {
|
|
80110
|
+
asInclude[c.name.toLowerCase()] = true;
|
|
80107
80111
|
}
|
|
80108
80112
|
}
|
|
80109
80113
|
extra = "{" + list.join(", ") + "}";
|
|
@@ -80119,7 +80123,8 @@ class TranspileTypes {
|
|
|
80119
80123
|
else {
|
|
80120
80124
|
extra += ", undefined";
|
|
80121
80125
|
}
|
|
80122
|
-
extra += ", " + JSON.stringify(
|
|
80126
|
+
extra += ", " + JSON.stringify(suffix);
|
|
80127
|
+
extra += ", " + JSON.stringify(asInclude);
|
|
80123
80128
|
}
|
|
80124
80129
|
else if (type instanceof abaplint.BasicTypes.CLikeType
|
|
80125
80130
|
|| type instanceof abaplint.BasicTypes.CGenericType
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.71",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"author": "abaplint",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@abaplint/transpiler": "^2.7.
|
|
29
|
+
"@abaplint/transpiler": "^2.7.71",
|
|
30
30
|
"@types/glob": "^7.2.0",
|
|
31
31
|
"glob": "=7.2.0",
|
|
32
32
|
"@types/progress": "^2.0.5",
|
|
33
|
-
"@types/node": "^20.4.
|
|
33
|
+
"@types/node": "^20.4.9",
|
|
34
34
|
"@abaplint/core": "^2.102.17",
|
|
35
35
|
"progress": "^2.0.3",
|
|
36
36
|
"webpack": "^5.88.2",
|