@graphrefly/graphrefly 0.13.0 → 0.15.0
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.
- package/README.md +1 -1
- package/dist/{chunk-HA6QMDKQ.js → chunk-2ZICUAUJ.js} +4 -4
- package/dist/{chunk-H4UFM6WD.js → chunk-4APC3AFN.js} +3 -3
- package/dist/{chunk-UQI4GAHD.js → chunk-CRACCCJY.js} +3 -3
- package/dist/{chunk-UPC5OEB5.js → chunk-GKRKDYNT.js} +3 -3
- package/dist/{chunk-6B2ZCCNN.js → chunk-H243FWYP.js} +12 -13
- package/dist/chunk-H243FWYP.js.map +1 -0
- package/dist/{chunk-KNGOJEYP.js → chunk-QVYZD65U.js} +2 -2
- package/dist/{chunk-PFMXKG4Y.js → chunk-XQ4UMAU7.js} +2 -2
- package/dist/{chunk-5RN7NBNG.js → chunk-YW6LFCFS.js} +3 -3
- package/dist/{chunk-QOGWU5K7.js → chunk-ZHTHUX5D.js} +3 -3
- package/dist/compat/nestjs/index.cjs +11 -12
- package/dist/compat/nestjs/index.cjs.map +1 -1
- package/dist/compat/nestjs/index.js +7 -7
- package/dist/core/index.cjs +11 -12
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.js +3 -3
- package/dist/extra/index.cjs +11 -12
- package/dist/extra/index.cjs.map +1 -1
- package/dist/extra/index.js +3 -3
- package/dist/graph/index.cjs +3 -0
- package/dist/graph/index.cjs.map +1 -1
- package/dist/graph/index.js +4 -4
- package/dist/index.cjs +425 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +368 -56
- package/dist/index.d.ts +368 -56
- package/dist/index.js +426 -13
- package/dist/index.js.map +1 -1
- package/dist/patterns/reactive-layout/index.cjs +3 -0
- package/dist/patterns/reactive-layout/index.cjs.map +1 -1
- package/dist/patterns/reactive-layout/index.js +4 -4
- package/package.json +5 -2
- package/dist/chunk-6B2ZCCNN.js.map +0 -1
- /package/dist/{chunk-HA6QMDKQ.js.map → chunk-2ZICUAUJ.js.map} +0 -0
- /package/dist/{chunk-H4UFM6WD.js.map → chunk-4APC3AFN.js.map} +0 -0
- /package/dist/{chunk-UQI4GAHD.js.map → chunk-CRACCCJY.js.map} +0 -0
- /package/dist/{chunk-UPC5OEB5.js.map → chunk-GKRKDYNT.js.map} +0 -0
- /package/dist/{chunk-KNGOJEYP.js.map → chunk-QVYZD65U.js.map} +0 -0
- /package/dist/{chunk-PFMXKG4Y.js.map → chunk-XQ4UMAU7.js.map} +0 -0
- /package/dist/{chunk-5RN7NBNG.js.map → chunk-YW6LFCFS.js.map} +0 -0
- /package/dist/{chunk-QOGWU5K7.js.map → chunk-ZHTHUX5D.js.map} +0 -0
package/dist/core/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_DOWN,
|
|
3
3
|
bridge
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-YW6LFCFS.js";
|
|
5
5
|
import {
|
|
6
6
|
ResettableTimer
|
|
7
7
|
} from "../chunk-WZ2Z2CRV.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
describeNode,
|
|
10
10
|
metaSnapshot,
|
|
11
11
|
resolveDescribeFields
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-XQ4UMAU7.js";
|
|
13
13
|
import {
|
|
14
14
|
CLEANUP_RESULT,
|
|
15
15
|
COMPLETE,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
propagatesToMeta,
|
|
53
53
|
state,
|
|
54
54
|
wallClockNs
|
|
55
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-H243FWYP.js";
|
|
56
56
|
export {
|
|
57
57
|
CLEANUP_RESULT,
|
|
58
58
|
COMPLETE,
|
package/dist/extra/index.cjs
CHANGED
|
@@ -267,8 +267,7 @@ function drainPending() {
|
|
|
267
267
|
if (ownsFlush) {
|
|
268
268
|
flushInProgress = true;
|
|
269
269
|
}
|
|
270
|
-
|
|
271
|
-
let hasError = false;
|
|
270
|
+
const errors = [];
|
|
272
271
|
try {
|
|
273
272
|
let iterations = 0;
|
|
274
273
|
while (pendingPhase2.length > 0 || pendingPhase3.length > 0) {
|
|
@@ -286,10 +285,7 @@ function drainPending() {
|
|
|
286
285
|
try {
|
|
287
286
|
run();
|
|
288
287
|
} catch (e) {
|
|
289
|
-
|
|
290
|
-
firstError = e;
|
|
291
|
-
hasError = true;
|
|
292
|
-
}
|
|
288
|
+
errors.push(e);
|
|
293
289
|
}
|
|
294
290
|
}
|
|
295
291
|
}
|
|
@@ -307,10 +303,7 @@ function drainPending() {
|
|
|
307
303
|
try {
|
|
308
304
|
run();
|
|
309
305
|
} catch (e) {
|
|
310
|
-
|
|
311
|
-
firstError = e;
|
|
312
|
-
hasError = true;
|
|
313
|
-
}
|
|
306
|
+
errors.push(e);
|
|
314
307
|
}
|
|
315
308
|
}
|
|
316
309
|
}
|
|
@@ -320,8 +313,11 @@ function drainPending() {
|
|
|
320
313
|
flushInProgress = false;
|
|
321
314
|
}
|
|
322
315
|
}
|
|
323
|
-
if (
|
|
324
|
-
throw
|
|
316
|
+
if (errors.length === 1) {
|
|
317
|
+
throw errors[0];
|
|
318
|
+
}
|
|
319
|
+
if (errors.length > 1) {
|
|
320
|
+
throw new AggregateError(errors, "batch drain: multiple callbacks threw");
|
|
325
321
|
}
|
|
326
322
|
}
|
|
327
323
|
function partitionForBatch(messages) {
|
|
@@ -892,6 +888,9 @@ var NodeImpl = class {
|
|
|
892
888
|
for (const m of messages) {
|
|
893
889
|
const t = m[0];
|
|
894
890
|
if (t === DATA) {
|
|
891
|
+
if (m.length < 2) {
|
|
892
|
+
continue;
|
|
893
|
+
}
|
|
895
894
|
this._cached = m[1];
|
|
896
895
|
if (this._versioning != null) {
|
|
897
896
|
advanceVersion(this._versioning, m[1], this._hashFn);
|