@graphrefly/graphrefly 0.13.0 → 0.14.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 +390 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +359 -56
- package/dist/index.d.ts +359 -56
- package/dist/index.js +395 -20
- 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 +3 -1
- 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
|
@@ -31,19 +31,19 @@ import {
|
|
|
31
31
|
getNodeToken,
|
|
32
32
|
observeSSE,
|
|
33
33
|
observeSubscription
|
|
34
|
-
} from "../../chunk-
|
|
35
|
-
import "../../chunk-5RN7NBNG.js";
|
|
36
|
-
import "../../chunk-QOGWU5K7.js";
|
|
34
|
+
} from "../../chunk-2ZICUAUJ.js";
|
|
37
35
|
import {
|
|
38
36
|
observeGraph$,
|
|
39
37
|
observeNode$,
|
|
40
38
|
toMessages$,
|
|
41
39
|
toObservable
|
|
42
|
-
} from "../../chunk-
|
|
40
|
+
} from "../../chunk-QVYZD65U.js";
|
|
41
|
+
import "../../chunk-ZHTHUX5D.js";
|
|
42
|
+
import "../../chunk-YW6LFCFS.js";
|
|
43
43
|
import "../../chunk-WZ2Z2CRV.js";
|
|
44
|
-
import "../../chunk-
|
|
45
|
-
import "../../chunk-
|
|
46
|
-
import "../../chunk-
|
|
44
|
+
import "../../chunk-CRACCCJY.js";
|
|
45
|
+
import "../../chunk-XQ4UMAU7.js";
|
|
46
|
+
import "../../chunk-H243FWYP.js";
|
|
47
47
|
export {
|
|
48
48
|
ACTOR_KEY,
|
|
49
49
|
COMMAND_HANDLERS,
|
package/dist/core/index.cjs
CHANGED
|
@@ -161,8 +161,7 @@ function drainPending() {
|
|
|
161
161
|
if (ownsFlush) {
|
|
162
162
|
flushInProgress = true;
|
|
163
163
|
}
|
|
164
|
-
|
|
165
|
-
let hasError = false;
|
|
164
|
+
const errors = [];
|
|
166
165
|
try {
|
|
167
166
|
let iterations = 0;
|
|
168
167
|
while (pendingPhase2.length > 0 || pendingPhase3.length > 0) {
|
|
@@ -180,10 +179,7 @@ function drainPending() {
|
|
|
180
179
|
try {
|
|
181
180
|
run();
|
|
182
181
|
} catch (e) {
|
|
183
|
-
|
|
184
|
-
firstError = e;
|
|
185
|
-
hasError = true;
|
|
186
|
-
}
|
|
182
|
+
errors.push(e);
|
|
187
183
|
}
|
|
188
184
|
}
|
|
189
185
|
}
|
|
@@ -201,10 +197,7 @@ function drainPending() {
|
|
|
201
197
|
try {
|
|
202
198
|
run();
|
|
203
199
|
} catch (e) {
|
|
204
|
-
|
|
205
|
-
firstError = e;
|
|
206
|
-
hasError = true;
|
|
207
|
-
}
|
|
200
|
+
errors.push(e);
|
|
208
201
|
}
|
|
209
202
|
}
|
|
210
203
|
}
|
|
@@ -214,8 +207,11 @@ function drainPending() {
|
|
|
214
207
|
flushInProgress = false;
|
|
215
208
|
}
|
|
216
209
|
}
|
|
217
|
-
if (
|
|
218
|
-
throw
|
|
210
|
+
if (errors.length === 1) {
|
|
211
|
+
throw errors[0];
|
|
212
|
+
}
|
|
213
|
+
if (errors.length > 1) {
|
|
214
|
+
throw new AggregateError(errors, "batch drain: multiple callbacks threw");
|
|
219
215
|
}
|
|
220
216
|
}
|
|
221
217
|
function partitionForBatch(messages) {
|
|
@@ -856,6 +852,9 @@ var NodeImpl = class {
|
|
|
856
852
|
for (const m of messages) {
|
|
857
853
|
const t = m[0];
|
|
858
854
|
if (t === DATA) {
|
|
855
|
+
if (m.length < 2) {
|
|
856
|
+
continue;
|
|
857
|
+
}
|
|
859
858
|
this._cached = m[1];
|
|
860
859
|
if (this._versioning != null) {
|
|
861
860
|
advanceVersion(this._versioning, m[1], this._hashFn);
|