@abaplint/runtime 2.7.133 → 2.7.134
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.
|
@@ -7,12 +7,17 @@ const insert_internal_1 = require("./insert_internal");
|
|
|
7
7
|
const read_table_1 = require("./read_table");
|
|
8
8
|
function modifyInternal(table, options) {
|
|
9
9
|
let found = false;
|
|
10
|
+
// console.dir(options);
|
|
10
11
|
if (options.index) {
|
|
11
12
|
const index = options.index.get() - 1;
|
|
12
|
-
|
|
13
|
+
const element = table.array()[index];
|
|
14
|
+
found = element !== undefined;
|
|
13
15
|
if (found) {
|
|
16
|
+
element.set(options.from);
|
|
17
|
+
/*
|
|
14
18
|
table.deleteIndex(index);
|
|
15
19
|
table.insertIndex(options.from, index);
|
|
20
|
+
*/
|
|
16
21
|
}
|
|
17
22
|
}
|
|
18
23
|
else if (options.where && options.transporting && options.from) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/runtime",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.134",
|
|
4
4
|
"description": "Transpiler - Runtime",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/src/index.d.ts",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"author": "abaplint",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@types/chai": "^4.3.
|
|
33
|
-
"@types/mocha": "^10.0.
|
|
32
|
+
"@types/chai": "^4.3.10",
|
|
33
|
+
"@types/mocha": "^10.0.4",
|
|
34
34
|
"chai": "^4.3.10",
|
|
35
35
|
"mocha": "^10.2.0",
|
|
36
36
|
"source-map-support": "^0.5.21",
|