@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.
Files changed (2) hide show
  1. package/build/bundle.js +8 -3
  2. 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 renamingSuffix = {};
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
- renamingSuffix[c.name.toLowerCase()] = c.suffix;
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(renamingSuffix);
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.70",
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.70",
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.8",
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",