@abaplint/core 2.108.11 → 2.108.12
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.
|
@@ -269,7 +269,7 @@ class Star {
|
|
|
269
269
|
return this.sta.getUsing();
|
|
270
270
|
}
|
|
271
271
|
run(r) {
|
|
272
|
-
|
|
272
|
+
let result = r;
|
|
273
273
|
try {
|
|
274
274
|
let res = r;
|
|
275
275
|
let input = [];
|
|
@@ -279,7 +279,13 @@ class Star {
|
|
|
279
279
|
if (res.length === 0) {
|
|
280
280
|
break;
|
|
281
281
|
}
|
|
282
|
-
|
|
282
|
+
if (res.length > 1000) {
|
|
283
|
+
// avoid stack overflow
|
|
284
|
+
result = result.concat(res);
|
|
285
|
+
}
|
|
286
|
+
else {
|
|
287
|
+
result.push(...res);
|
|
288
|
+
}
|
|
283
289
|
}
|
|
284
290
|
}
|
|
285
291
|
catch (err) {
|
|
@@ -412,7 +418,7 @@ class Sequence {
|
|
|
412
418
|
return this.list.reduce((a, c) => { return a.concat(c.getUsing()); }, []);
|
|
413
419
|
}
|
|
414
420
|
run(r) {
|
|
415
|
-
|
|
421
|
+
let result = [];
|
|
416
422
|
for (const input of r) {
|
|
417
423
|
let temp = [input];
|
|
418
424
|
let match = true;
|
|
@@ -424,7 +430,13 @@ class Sequence {
|
|
|
424
430
|
}
|
|
425
431
|
}
|
|
426
432
|
if (match === true) {
|
|
427
|
-
|
|
433
|
+
if (temp.length > 1000) {
|
|
434
|
+
// avoid stack overflow
|
|
435
|
+
result = result.concat(temp);
|
|
436
|
+
}
|
|
437
|
+
else {
|
|
438
|
+
result.push(...temp);
|
|
439
|
+
}
|
|
428
440
|
}
|
|
429
441
|
}
|
|
430
442
|
return result;
|
package/build/src/registry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/core",
|
|
3
|
-
"version": "2.108.
|
|
3
|
+
"version": "2.108.12",
|
|
4
4
|
"description": "abaplint - Core API",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/abaplint.d.ts",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@microsoft/api-extractor": "^7.46.2",
|
|
54
54
|
"@types/chai": "^4.3.16",
|
|
55
55
|
"@types/mocha": "^10.0.6",
|
|
56
|
-
"@types/node": "^20.
|
|
56
|
+
"@types/node": "^20.13.0",
|
|
57
57
|
"chai": "^4.4.1",
|
|
58
58
|
"eslint": "^8.57.0",
|
|
59
59
|
"mocha": "^10.4.0",
|