@abaplint/runtime 2.10.58 → 2.10.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.
@@ -18,6 +18,9 @@ async function deleteInternal(target, options) {
18
18
  && options?.fromValue === undefined
19
19
  && options?.from === undefined
20
20
  && options?.to === undefined) {
21
+ if (options.index.get() === 0) {
22
+ throw new Error("TABLE_INVALID_INDEX");
23
+ }
21
24
  if (target.array()[options.index.get() - 1] === undefined) {
22
25
  // @ts-ignore
23
26
  abap.builtin.sy.get().subrc.set(4);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.10.58",
3
+ "version": "2.10.60",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",