@abaplint/runtime 2.3.46 → 2.3.47

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.
@@ -6,10 +6,10 @@ function split(param) {
6
6
  const source = typeof param.source === "string" ? param.source : param.source.get();
7
7
  const at = typeof param.at === "string" ? param.at : param.at.get();
8
8
  const split = source.includes(at) ? source.split(at) : [];
9
- if (source.endsWith(at)) {
10
- split.pop();
11
- }
12
9
  if (param.table) {
10
+ if (source.endsWith(at)) {
11
+ split.pop();
12
+ }
13
13
  param.table.clear();
14
14
  for (const s of split) {
15
15
  param.table.append(new types_1.String().set(s));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.3.46",
3
+ "version": "2.3.47",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",