@abaplint/transpiler-cli 2.13.25 → 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 +9 -5
  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
  }
@@ -91647,7 +91651,7 @@ class ReadReportTranspiler {
91647
91651
  if (stateNode) {
91648
91652
  options.push("state: " + new expressions_1.SourceTranspiler().transpile(stateNode, traversal).getCode());
91649
91653
  }
91650
- return new chunk_1.Chunk().appendString(`abap.statements.readReport(`)
91654
+ return new chunk_1.Chunk().appendString(`await abap.statements.readReport(`)
91651
91655
  .appendChunk(reportChunk)
91652
91656
  .appendString(", {" + options.join(",") + "}")
91653
91657
  .appendString(");");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.13.25",
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.25",
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",