@abaplint/transpiler-cli 2.13.24 → 2.13.26

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 +11 -6
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -80724,17 +80724,21 @@ class DatabaseSetup {
80724
80724
  insert.push(...populateTables.insertWWWPARAMS(obj));
80725
80725
  }
80726
80726
  else if (obj instanceof abaplint.Objects.Class
80727
- || obj instanceof abaplint.Objects.Interface) {
80727
+ || obj instanceof abaplint.Objects.Interface
80728
+ || obj instanceof abaplint.Objects.Program) {
80728
80729
  if (options?.populateTables?.reposrc !== false) {
80729
80730
  insert.push(populateTables.insertREPOSRC(obj));
80730
80731
  }
80731
- if (options?.populateTables?.seosubco !== false) {
80732
+ if ((obj instanceof abaplint.Objects.Class || obj instanceof abaplint.Objects.Interface)
80733
+ && options?.populateTables?.seosubco !== false) {
80732
80734
  insert.push(...populateTables.insertSEOSUBCO(obj));
80733
80735
  }
80734
- if (options?.populateTables?.seosubcodf !== false) {
80736
+ if ((obj instanceof abaplint.Objects.Class || obj instanceof abaplint.Objects.Interface)
80737
+ && options?.populateTables?.seosubcodf !== false) {
80735
80738
  insert.push(...populateTables.insertSEOSUBCODF(obj));
80736
80739
  }
80737
- if (options?.populateTables?.seosubcotx !== false) {
80740
+ if ((obj instanceof abaplint.Objects.Class || obj instanceof abaplint.Objects.Interface)
80741
+ && options?.populateTables?.seosubcotx !== false) {
80738
80742
  insert.push(...populateTables.insertSEOSUBCOTX(obj));
80739
80743
  }
80740
80744
  }
@@ -80894,7 +80898,8 @@ class PopulateTables {
80894
80898
  }
80895
80899
  const type = obj.getType().toUpperCase();
80896
80900
  const name = obj.getName().toUpperCase();
80897
- return `INSERT INTO "tadir" ("pgmid", "object", "obj_name", "devclass") VALUES ('R3TR', '${type}', '${this.escape(name)}', '$TMP');`;
80901
+ return `INSERT INTO "tadir" ("pgmid", "object", "obj_name", "devclass", "korrnum", "srcsystem", "delflag", "genflag", "edtflag", "masterlang")
80902
+ VALUES ('R3TR', '${type}', '${this.escape(name)}', '$TMP', '', 'ABC', '', '', '', 'E');`;
80898
80903
  }
80899
80904
  insertWWWPARAMS(obj) {
80900
80905
  if (!this.hasWWWPARAMS) {
@@ -91646,7 +91651,7 @@ class ReadReportTranspiler {
91646
91651
  if (stateNode) {
91647
91652
  options.push("state: " + new expressions_1.SourceTranspiler().transpile(stateNode, traversal).getCode());
91648
91653
  }
91649
- return new chunk_1.Chunk().appendString(`abap.statements.readReport(`)
91654
+ return new chunk_1.Chunk().appendString(`await abap.statements.readReport(`)
91650
91655
  .appendChunk(reportChunk)
91651
91656
  .appendString(", {" + options.join(",") + "}")
91652
91657
  .appendString(");");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.13.24",
3
+ "version": "2.13.26",
4
4
  "description": "Transpiler - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -28,7 +28,7 @@
28
28
  "license": "MIT",
29
29
  "devDependencies": {
30
30
  "@abaplint/core": "^2.119.19",
31
- "@abaplint/transpiler": "^2.13.24",
31
+ "@abaplint/transpiler": "^2.13.26",
32
32
  "@types/glob": "^8.1.0",
33
33
  "@types/node": "^24.12.2",
34
34
  "@types/progress": "^2.0.7",