@milaboratories/pl-tree 1.15.6 → 1.15.7
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/pl-tree",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.7",
|
|
4
4
|
"description": "Reactive pl tree state",
|
|
5
5
|
"files": [
|
|
6
6
|
"./dist/**/*",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"denque": "^2.1.0",
|
|
22
22
|
"utility-types": "^3.11.0",
|
|
23
23
|
"zod": "~3.25.76",
|
|
24
|
+
"@milaboratories/pl-errors": "1.4.47",
|
|
24
25
|
"@milaboratories/computable": "2.9.8",
|
|
25
|
-
"@milaboratories/pl-client": "3.17.
|
|
26
|
-
"@milaboratories/pl-errors": "1.4.46",
|
|
26
|
+
"@milaboratories/pl-client": "3.17.6",
|
|
27
27
|
"@milaboratories/ts-helpers": "1.8.6"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"typescript": "7.0.2",
|
|
33
33
|
"vitest": "^4.1.3",
|
|
34
34
|
"@milaboratories/build-configs": "2.0.2",
|
|
35
|
-
"@milaboratories/ts-
|
|
36
|
-
"@milaboratories/ts-
|
|
35
|
+
"@milaboratories/ts-builder": "1.7.2",
|
|
36
|
+
"@milaboratories/ts-configs": "1.4.0"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=22.19.0"
|
|
@@ -18,9 +18,8 @@ import tp from "timers/promises";
|
|
|
18
18
|
* Delta polling against a real backend, for correctness only. Cost (bytes and round trips per
|
|
19
19
|
* poll) is the benchmark's job, since stats are loop-internal with no public accessor.
|
|
20
20
|
*
|
|
21
|
-
* Everything here needs `treeChangedSince:v2`,
|
|
22
|
-
*
|
|
23
|
-
* one without it. The unit coverage in `delta_sync.test.ts` pins the client's own logic; what
|
|
21
|
+
* Everything here needs `treeChangedSince:v2`, so each test skips rather than fails on a
|
|
22
|
+
* backend without it. The unit coverage in `delta_sync.test.ts` pins the client's own logic; what
|
|
24
23
|
* cannot be faked, and is what these are for, is the backend's own emission rule.
|
|
25
24
|
*/
|
|
26
25
|
/** Marks the test SKIPPED, not passed, when the backend cannot serve delta.
|
|
@@ -30,7 +29,7 @@ import tp from "timers/promises";
|
|
|
30
29
|
* signals and a run summary has to be able to tell them apart. */
|
|
31
30
|
function skipUnlessDelta(pl: PlClient, ctx: { skip: (note?: string) => void }): boolean {
|
|
32
31
|
if (hasCapability(pl.serverInfo.capabilities ?? [], "treeChangedSince:v2")) return true;
|
|
33
|
-
ctx.skip("backend does not advertise treeChangedSince:v2
|
|
32
|
+
ctx.skip("backend does not advertise treeChangedSince:v2");
|
|
34
33
|
return false;
|
|
35
34
|
}
|
|
36
35
|
|