@abaplint/transpiler-cli 2.5.59 → 2.5.60

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 +1 -8
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -74454,7 +74454,6 @@ class ReadTableTranspiler {
74454
74454
  const withKeyValue = [];
74455
74455
  const withKeySimple = [];
74456
74456
  const count = compare.getChildren().length / 3;
74457
- let skipSimple = false;
74458
74457
  let usesTableLine = false;
74459
74458
  for (let i = 0; i < count; i++) {
74460
74459
  const left = compare.getChildren()[i * 3];
@@ -74469,11 +74468,7 @@ class ReadTableTranspiler {
74469
74468
  else {
74470
74469
  field = traversal.traverse(left).getCode();
74471
74470
  }
74472
- if (field.includes(".")) {
74473
- skipSimple = true;
74474
- }
74475
74471
  if (field === "table_line") {
74476
- skipSimple = true;
74477
74472
  usesTableLine = true;
74478
74473
  }
74479
74474
  if (s.includes("await")) {
@@ -74492,9 +74487,7 @@ class ReadTableTranspiler {
74492
74487
  extra.push("withKey: (i) => {return " + withKey.join(" && ") + ";}");
74493
74488
  extra.push(`withKeyValue: [${withKeyValue.join(",")}]`);
74494
74489
  extra.push(`usesTableLine: ${usesTableLine}`);
74495
- if (skipSimple !== true) {
74496
- extra.push(`withKeySimple: {${withKeySimple.join(",")}}`);
74497
- }
74490
+ extra.push(`withKeySimple: {${withKeySimple.join(",")}}`);
74498
74491
  }
74499
74492
  let concat = "";
74500
74493
  if (extra.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.5.59",
3
+ "version": "2.5.60",
4
4
  "description": "Transpiler - Command Line Interface",
5
5
  "bin": {
6
6
  "abap_transpile": "./abap_transpile"
@@ -25,7 +25,7 @@
25
25
  "author": "abaplint",
26
26
  "license": "MIT",
27
27
  "devDependencies": {
28
- "@abaplint/transpiler": "^2.5.59",
28
+ "@abaplint/transpiler": "^2.5.60",
29
29
  "@types/glob": "^7.2.0",
30
30
  "glob": "=7.2.0",
31
31
  "@types/progress": "^2.0.5",