@abaplint/transpiler-cli 2.7.4 → 2.7.5

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 +5 -4
  2. package/package.json +3 -3
package/build/bundle.js CHANGED
@@ -46811,7 +46811,7 @@ class Registry {
46811
46811
  }
46812
46812
  static abaplintVersion() {
46813
46813
  // magic, see build script "version.sh"
46814
- return "2.100.3";
46814
+ return "2.100.4";
46815
46815
  }
46816
46816
  getDDICReferences() {
46817
46817
  return this.ddicReferences;
@@ -53453,11 +53453,12 @@ ${indentation} output = ${topTarget}.`;
53453
53453
  body += indentation + structureName + "-" + b.concatTokens() + ".\n";
53454
53454
  }
53455
53455
  else if (b.get() instanceof Expressions.Source) {
53456
- body += indentation + "APPEND " + b.concatTokens() + ` TO ${uniqueName}.\n`;
53456
+ // note: it wont work with APPEND for Hashed/Sorted Tables, so use INSERT,
53457
+ body += indentation + "INSERT " + b.concatTokens() + ` INTO TABLE ${uniqueName}.\n`;
53457
53458
  skip = true;
53458
53459
  }
53459
53460
  else if (b.get() instanceof Expressions.ValueBodyLines) {
53460
- body += indentation + "APPEND " + b.concatTokens() + ` TO ${uniqueName}.\n`;
53461
+ body += indentation + "INSERT " + b.concatTokens() + ` INTO TABLE ${uniqueName}.\n`;
53461
53462
  skip = true;
53462
53463
  }
53463
53464
  else if (b.concatTokens() === ")") {
@@ -53466,7 +53467,7 @@ ${indentation} output = ${topTarget}.`;
53466
53467
  added = true;
53467
53468
  }
53468
53469
  if (skip === false) {
53469
- body += indentation + `APPEND ${structureName} TO ${uniqueName}.\n`;
53470
+ body += indentation + `INSERT ${structureName} INTO TABLE ${uniqueName}.\n`;
53470
53471
  }
53471
53472
  }
53472
53473
  previous = b;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.7.4",
3
+ "version": "2.7.5",
4
4
  "description": "Transpiler - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -26,12 +26,12 @@
26
26
  "author": "abaplint",
27
27
  "license": "MIT",
28
28
  "devDependencies": {
29
- "@abaplint/transpiler": "^2.7.4",
29
+ "@abaplint/transpiler": "^2.7.5",
30
30
  "@types/glob": "^7.2.0",
31
31
  "glob": "=7.2.0",
32
32
  "@types/progress": "^2.0.5",
33
33
  "@types/node": "^20.2.1",
34
- "@abaplint/core": "^2.100.3",
34
+ "@abaplint/core": "^2.100.4",
35
35
  "progress": "^2.0.3",
36
36
  "webpack": "^5.83.1",
37
37
  "webpack-cli": "^5.1.1",