@abaplint/transpiler-cli 2.7.69 → 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 +9 -3
- package/package.json +3 -3
package/build/bundle.js
CHANGED
|
@@ -70552,6 +70552,7 @@ class ConstantTranspiler {
|
|
|
70552
70552
|
|| str.includes("\r")
|
|
70553
70553
|
|| str.includes("\r")
|
|
70554
70554
|
|| str.includes("\t")
|
|
70555
|
+
|| str.includes("\f")
|
|
70555
70556
|
|| str.includes("\v")
|
|
70556
70557
|
|| str.includes("\b")) {
|
|
70557
70558
|
str = JSON.stringify(str);
|
|
@@ -80098,11 +80099,15 @@ class TranspileTypes {
|
|
|
80098
80099
|
else if (type instanceof abaplint.BasicTypes.StructureType) {
|
|
80099
80100
|
resolved = "Structure";
|
|
80100
80101
|
const list = [];
|
|
80101
|
-
const
|
|
80102
|
+
const suffix = {};
|
|
80103
|
+
const asInclude = {};
|
|
80102
80104
|
for (const c of type.getComponents()) {
|
|
80103
80105
|
list.push(`"` + c.name.toLowerCase() + `": ` + this.toType(c.type));
|
|
80104
80106
|
if (c.suffix) {
|
|
80105
|
-
|
|
80107
|
+
suffix[c.name.toLowerCase()] = c.suffix;
|
|
80108
|
+
}
|
|
80109
|
+
if (c.asInclude) {
|
|
80110
|
+
asInclude[c.name.toLowerCase()] = true;
|
|
80106
80111
|
}
|
|
80107
80112
|
}
|
|
80108
80113
|
extra = "{" + list.join(", ") + "}";
|
|
@@ -80118,7 +80123,8 @@ class TranspileTypes {
|
|
|
80118
80123
|
else {
|
|
80119
80124
|
extra += ", undefined";
|
|
80120
80125
|
}
|
|
80121
|
-
extra += ", " + JSON.stringify(
|
|
80126
|
+
extra += ", " + JSON.stringify(suffix);
|
|
80127
|
+
extra += ", " + JSON.stringify(asInclude);
|
|
80122
80128
|
}
|
|
80123
80129
|
else if (type instanceof abaplint.BasicTypes.CLikeType
|
|
80124
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",
|