@gmitch215/folio 1.1.0 → 1.2.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.
Files changed (122) hide show
  1. package/README.md +78 -810
  2. package/dist/boot.d.ts +1 -0
  3. package/dist/boot.js +1 -0
  4. package/dist/browser/index.d.ts +73 -0
  5. package/dist/browser/index.js +277 -0
  6. package/dist/browser.d.ts +1 -68
  7. package/dist/browser.js +1 -274
  8. package/dist/continuation.d.ts +1 -0
  9. package/dist/continuation.js +1 -0
  10. package/dist/{compiler.d.ts → execution/compiler.d.ts} +1 -1
  11. package/dist/{compiler.js → execution/compiler.js} +5 -12
  12. package/dist/{coordinator.d.ts → execution/coordinator.d.ts} +1 -1
  13. package/dist/{coordinator.js → execution/coordinator.js} +5 -5
  14. package/dist/{extract.d.ts → execution/extract.d.ts} +3 -13
  15. package/dist/{extract.js → execution/extract.js} +7 -8
  16. package/dist/{fold.d.ts → execution/fold.d.ts} +15 -3
  17. package/dist/{guards.d.ts → execution/guards.d.ts} +2 -1
  18. package/dist/execution/types.d.ts +221 -0
  19. package/dist/{affine-state.d.ts → folds/affine-state.d.ts} +18 -47
  20. package/dist/{affine-state.js → folds/affine-state.js} +18 -44
  21. package/dist/{affine.d.ts → folds/affine.d.ts} +12 -24
  22. package/dist/{affine.js → folds/affine.js} +8 -17
  23. package/dist/{boundaries.d.ts → folds/boundaries.d.ts} +7 -18
  24. package/dist/{boundaries.js → folds/boundaries.js} +5 -13
  25. package/dist/{certified.d.ts → folds/certified.d.ts} +13 -24
  26. package/dist/{certified.js → folds/certified.js} +12 -26
  27. package/dist/{certify.d.ts → folds/certify.d.ts} +11 -22
  28. package/dist/{certify.js → folds/certify.js} +24 -41
  29. package/dist/{memo.d.ts → footprints/memo.d.ts} +8 -33
  30. package/dist/{memo.js → footprints/memo.js} +8 -2
  31. package/dist/{ranges.js → footprints/ranges.js} +1 -1
  32. package/dist/{read-scan.js → footprints/read-scan.js} +1 -1
  33. package/dist/{read-windows.d.ts → footprints/read-windows.d.ts} +6 -32
  34. package/dist/{read-windows.js → footprints/read-windows.js} +8 -7
  35. package/dist/index.d.ts +16 -4
  36. package/dist/index.js +14 -2
  37. package/dist/{iteration-admission.d.ts → iteration/admission.d.ts} +2 -38
  38. package/dist/{iteration.d.ts → iteration/index.d.ts} +8 -98
  39. package/dist/{iteration.js → iteration/index.js} +28 -28
  40. package/dist/{inline.js → iteration/inline.js} +2 -9
  41. package/dist/{iteration-owner.d.ts → iteration/owner.d.ts} +3 -3
  42. package/dist/{iteration-owner.js → iteration/owner.js} +4 -3
  43. package/dist/{iteration-worker.js → iteration/worker.js} +3 -3
  44. package/dist/{managed.d.ts → managed/index.d.ts} +3 -3
  45. package/dist/{managed.js → managed/index.js} +7 -9
  46. package/dist/managed/outbox.d.ts +128 -0
  47. package/dist/managed/outbox.js +156 -0
  48. package/dist/managed/pool.d.ts +221 -0
  49. package/dist/managed/pool.js +310 -0
  50. package/dist/managed/tasks.d.ts +154 -0
  51. package/dist/managed/tasks.js +183 -0
  52. package/dist/{bake.d.ts → memory/bake.d.ts} +12 -6
  53. package/dist/{bake.js → memory/bake.js} +9 -7
  54. package/dist/memory/continuation.d.ts +141 -0
  55. package/dist/memory/continuation.js +495 -0
  56. package/dist/memory/elastic-peer.d.ts +20 -0
  57. package/dist/memory/elastic-peer.js +39 -0
  58. package/dist/memory/elastic-sql.d.ts +11 -0
  59. package/dist/memory/elastic-sql.js +35 -0
  60. package/dist/memory/elastic.d.ts +130 -0
  61. package/dist/memory/elastic.js +475 -0
  62. package/dist/memory/growth-governor.d.ts +16 -0
  63. package/dist/memory/growth-governor.js +42 -0
  64. package/dist/memory/imports.d.ts +10 -0
  65. package/dist/memory/imports.js +89 -0
  66. package/dist/{iteration-layout.d.ts → memory/iteration-layout.d.ts} +1 -1
  67. package/dist/{pages.d.ts → memory/pages.d.ts} +3 -3
  68. package/dist/memory.d.ts +5 -10
  69. package/dist/memory.js +5 -89
  70. package/dist/{context.d.ts → node/context.d.ts} +1 -1
  71. package/dist/{host.d.ts → node/host.d.ts} +1 -1
  72. package/dist/{host.js → node/host.js} +2 -2
  73. package/dist/{node.d.ts → node/index.d.ts} +4 -49
  74. package/dist/{node.js → node/index.js} +16 -17
  75. package/dist/{tasks.d.ts → node/tasks.d.ts} +2 -13
  76. package/dist/{worker.js → node/worker.js} +2 -2
  77. package/dist/{ownership.js → ownership/index.js} +7 -10
  78. package/dist/{ownership-redirect.d.ts → ownership/redirect.d.ts} +2 -2
  79. package/dist/{ownership-redirect.js → ownership/redirect.js} +2 -2
  80. package/dist/{ownership-slices.d.ts → ownership/slices.d.ts} +3 -3
  81. package/dist/{ownership-slices.js → ownership/slices.js} +3 -3
  82. package/dist/{frames.d.ts → remote/frames.d.ts} +1 -1
  83. package/dist/{frames.js → remote/frames.js} +2 -2
  84. package/dist/{remote.d.ts → remote/index.d.ts} +7 -2
  85. package/dist/{remote.js → remote/index.js} +7 -2
  86. package/dist/{router.d.ts → routing/index.d.ts} +3 -3
  87. package/dist/{router.js → routing/index.js} +19 -15
  88. package/dist/{router-worker.js → routing/worker.js} +1 -1
  89. package/dist/{slices.d.ts → slices/index.d.ts} +2 -2
  90. package/dist/{slices.js → slices/index.js} +5 -5
  91. package/dist/slices/worker.d.ts +1 -0
  92. package/dist/{slices-worker.js → slices/worker.js} +2 -2
  93. package/dist/workers.d.ts +5 -0
  94. package/dist/workers.js +5 -0
  95. package/package.json +30 -80
  96. /package/dist/{browser-worker.d.ts → browser/worker.d.ts} +0 -0
  97. /package/dist/{browser-worker.js → browser/worker.js} +0 -0
  98. /package/dist/{fold.js → execution/fold.js} +0 -0
  99. /package/dist/{guards.js → execution/guards.js} +0 -0
  100. /package/dist/{import-order.d.ts → execution/import-order.d.ts} +0 -0
  101. /package/dist/{import-order.js → execution/import-order.js} +0 -0
  102. /package/dist/{runs.d.ts → execution/runs.d.ts} +0 -0
  103. /package/dist/{runs.js → execution/runs.js} +0 -0
  104. /package/dist/{transaction.d.ts → execution/transaction.d.ts} +0 -0
  105. /package/dist/{transaction.js → execution/transaction.js} +0 -0
  106. /package/dist/{iteration-worker.d.ts → execution/types.js} +0 -0
  107. /package/dist/{ranges.d.ts → footprints/ranges.d.ts} +0 -0
  108. /package/dist/{read-scan.d.ts → footprints/read-scan.d.ts} +0 -0
  109. /package/dist/{iteration-admission.js → iteration/admission.js} +0 -0
  110. /package/dist/{inline.d.ts → iteration/inline.d.ts} +0 -0
  111. /package/dist/{worker.d.ts → iteration/worker.d.ts} +0 -0
  112. /package/dist/{iteration-layout.js → memory/iteration-layout.js} +0 -0
  113. /package/dist/{lease.d.ts → memory/lease.d.ts} +0 -0
  114. /package/dist/{lease.js → memory/lease.js} +0 -0
  115. /package/dist/{pages.js → memory/pages.js} +0 -0
  116. /package/dist/{context.js → node/context.js} +0 -0
  117. /package/dist/{tasks.js → node/tasks.js} +0 -0
  118. /package/dist/{router-worker.d.ts → node/worker.d.ts} +0 -0
  119. /package/dist/{ownership.d.ts → ownership/index.d.ts} +0 -0
  120. /package/dist/{values.d.ts → remote/values.d.ts} +0 -0
  121. /package/dist/{values.js → remote/values.js} +0 -0
  122. /package/dist/{slices-worker.d.ts → routing/worker.d.ts} +0 -0
@@ -11,14 +11,14 @@ import { createHash } from 'node:crypto';
11
11
  import { createRequire } from 'node:module';
12
12
  import { availableParallelism } from 'node:os';
13
13
  import { Worker } from 'node:worker_threads';
14
- import { foldCertified, installPrefill, reconstructCertified, shareCertified } from "./certified.js";
15
- import { certifyStream, CHECKER } from "./certify.js";
16
- import { iterationAdmissionConstants } from "./iteration-admission.js";
17
- import { Folio } from "./node.js";
18
- import { OwnershipSlices } from "./ownership-slices.js";
19
- import { certifyOwnership, guardRecords, OWNERSHIP_CHECKER } from "./ownership.js";
20
- import { decodeValues, encodeValues, sharedMemoryImport } from "./slices.js";
21
- import { TaskPool } from "./tasks.js";
14
+ import { foldCertified, installPrefill, reconstructCertified, shareCertified } from "../folds/certified.js";
15
+ import { certifyStream, CHECKER } from "../folds/certify.js";
16
+ import { iterationAdmissionConstants } from "../iteration/admission.js";
17
+ import { Folio } from "../node/index.js";
18
+ import { TaskPool } from "../node/tasks.js";
19
+ import { certifyOwnership, guardRecords, OWNERSHIP_CHECKER } from "../ownership/index.js";
20
+ import { OwnershipSlices } from "../ownership/slices.js";
21
+ import { decodeValues, encodeValues, sharedMemoryImport } from "../slices/index.js";
22
22
  /** @since 1.1.0 */
23
23
  export const ROUTER_VERSION = 'folio-router-2';
24
24
  /** Every decision names one of these. The first four are routes taken, the rest are refusals. */
@@ -50,7 +50,7 @@ export const ROUTER_REASONS = [
50
50
  * five paired runs of `aes-cbc-decrypt-shared` at 8 workers beat serial by 1.25 (4 records, 0.82
51
51
  * ms; 3 records at 0.69 ms did not). The summary length is the smallest size at which every paired
52
52
  * run of two hand stream modules did (1 MiB; 256 KiB did not). One driver and two hand modules,
53
- * Mac, loaded: `scratchpad/v11/w3/dev/fit-*.jsonl`.
53
+ * Mac, loaded.
54
54
  */
55
55
  export const routerConstants = {
56
56
  trackedFloorMs: iterationAdmissionConstants.fixedMs * iterationAdmissionConstants.margin,
@@ -291,7 +291,8 @@ export function decide(bytes, call, options) {
291
291
  const plain = certifyOwnership(bytes, { entry: call.entry, ...options.ownership });
292
292
  if (plain.kind === 'certificate' || !ownership.prefixFallback)
293
293
  return plain;
294
- // the prefix option is not a superset of the plain check, so it runs second and a refusal keeps the plain reason
294
+ // the prefix option is not a superset of the plain check, so it runs second
295
+ // and a refusal keeps the plain reason
295
296
  const prefixed = certifyOwnership(bytes, {
296
297
  entry: call.entry,
297
298
  ...options.ownership,
@@ -329,7 +330,8 @@ export function decide(bytes, call, options) {
329
330
  const last = considered[considered.length - 1];
330
331
  return finish('serial', last.reason, last.detail);
331
332
  }
332
- // allocator statics move to a slot-private window the route validates, and the loss rule ends a dispatch that does not pay
333
+ // allocator statics move to a slot-private window the route validates
334
+ // and the loss rule ends a dispatch that does not pay
333
335
  const why = ownershipReason(refusal);
334
336
  if (why !== 'no-certificate' && why !== 'allocator-state')
335
337
  return finish('serial', why, `${refusal.reason}: ${refusal.detail}`);
@@ -576,7 +578,8 @@ export class Router {
576
578
  this.#owner(...call.args(0, call.count));
577
579
  return done('serial', 'below-floor');
578
580
  }
579
- // the first record pays the compile and the cold caches, so a probe of several takes the least of the rest
581
+ // the first record pays the compile and cold caches, so a probe of several
582
+ // takes the least of the rest
580
583
  const probed = Math.max(1, Math.min(PROBE_RECORDS, call.count >> 2));
581
584
  const times = [];
582
585
  for (let i = 0; i < probed; i++) {
@@ -590,7 +593,8 @@ export class Router {
590
593
  }
591
594
  return this.#after(call, 0, undefined, started);
592
595
  }
593
- // two dispatches in a row past the first that cost more than the serial time of their records end the dispatch
596
+ // two dispatches in a row past the first that cost more than the serial time
597
+ // of their records end the dispatch
594
598
  #judge(ms, left) {
595
599
  this.#dispatches++;
596
600
  if (this.#dispatches < 2)
@@ -634,7 +638,7 @@ export class Router {
634
638
  if (this.#route === 'tracked') {
635
639
  const rest = call.args(from, call.count);
636
640
  const report = await this.#folio.run(call.entry, rest);
637
- // a loop the iteration route did not dispatch pays its lowered owner on every call: stop asking
641
+ // a loop the iteration route skipped pays its lowered owner on every call: stop asking
638
642
  if (!report.iteration?.batches) {
639
643
  this.#route = 'serial';
640
644
  this.#why = 'below-floor';
@@ -663,5 +667,5 @@ export class Router {
663
667
  }
664
668
  }
665
669
  }
666
- const workerUrl = () => new URL(`./router-worker.${import.meta.url.endsWith('.ts') ? 'ts' : 'js'}`, import.meta.url);
670
+ const workerUrl = () => new URL(`./worker.${import.meta.url.endsWith('.ts') ? 'ts' : 'js'}`, import.meta.url);
667
671
  export const openRouter = Router.open;
@@ -1,4 +1,4 @@
1
1
  import { workerData } from 'node:worker_threads';
2
- import { serveCertified } from "./certified.js";
2
+ import { serveCertified } from "../folds/certified.js";
3
3
  const { link, module, memory, layout } = workerData;
4
4
  serveCertified(link, { module, memory, layout });
@@ -1,5 +1,5 @@
1
- import type { OwnershipPlan } from './extract.ts';
2
- import { type TaskRecord } from './tasks.ts';
1
+ import type { OwnershipPlan } from '../execution/extract.ts';
2
+ import { type TaskRecord } from '../node/tasks.ts';
3
3
  /** Options for `SlicePool.open`. */
4
4
  export interface SlicePoolOptions {
5
5
  /**
@@ -8,8 +8,8 @@ var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExte
8
8
  };
9
9
  import { availableParallelism } from 'node:os';
10
10
  import { Worker } from 'node:worker_threads';
11
- import { prepareContext } from "./compiler.js";
12
- import { TaskPool } from "./tasks.js";
11
+ import { prepareContext } from "../execution/compiler.js";
12
+ import { TaskPool } from "../node/tasks.js";
13
13
  const PAGE = 65536;
14
14
  const SNAPSHOT_LIMIT = 1 << 26;
15
15
  /** The audit found the parallel run differs from the serial one. */
@@ -262,7 +262,7 @@ export class SlicePool {
262
262
  await Promise.all(Array.from({ length: width }, (_, index) => {
263
263
  const link = tasks.link(index);
264
264
  return new Promise((resolve, reject) => {
265
- const worker = new Worker(new URL(`./slices-worker.${extension}`, import.meta.url), {
265
+ const worker = new Worker(new URL(`./worker.${extension}`, import.meta.url), {
266
266
  workerData: {
267
267
  module,
268
268
  memory,
@@ -337,8 +337,8 @@ export class SlicePool {
337
337
  ownership: owned
338
338
  };
339
339
  }
340
- // A trap leaves the writes of records after it in place, so the serial run decides: put the
341
- // writes back, whose only other writers are private (windows, stacks), and run in place.
340
+ // a trap leaves the writes of later records in place, so the serial run decides: put them back
341
+ // (the other writers are private windows and stacks) and run in place
342
342
  async #runOwned(own, entry, calls, options) {
343
343
  const writes = options.writes;
344
344
  const bytes = new Uint8Array(this.#memory.buffer);
@@ -0,0 +1 @@
1
+ export {};
@@ -7,8 +7,8 @@ var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExte
7
7
  return path;
8
8
  };
9
9
  import { parentPort, workerData } from 'node:worker_threads';
10
- import { decodeValues, encodeValues } from "./slices.js";
11
- import { serveTasks } from "./tasks.js";
10
+ import { serveTasks } from "../node/tasks.js";
11
+ import { decodeValues, encodeValues } from "./index.js";
12
12
  const data = workerData;
13
13
  (async () => {
14
14
  const extra = data.imports ? (await import(__rewriteRelativeImportExtension(data.imports))).default() : {};
@@ -0,0 +1,5 @@
1
+ export * from './managed/index.ts';
2
+ export * from './managed/outbox.ts';
3
+ export * from './managed/pool.ts';
4
+ export * from './managed/tasks.ts';
5
+ export * from './remote/index.ts';
@@ -0,0 +1,5 @@
1
+ export * from "./managed/index.js";
2
+ export * from "./managed/outbox.js";
3
+ export * from "./managed/pool.js";
4
+ export * from "./managed/tasks.js";
5
+ export * from "./remote/index.js";
package/package.json CHANGED
@@ -1,15 +1,20 @@
1
1
  {
2
2
  "name": "@gmitch215/folio",
3
- "version": "1.1.0",
4
- "description": "Shared WASM memory and ordered speculative execution across isolates",
3
+ "version": "1.2.0",
4
+ "description": "WebAssembly tooling for Node, Workers and browsers: shared-memory parallelism, instance resets, boot images and memory caps",
5
5
  "keywords": [
6
6
  "webassembly",
7
7
  "wasm",
8
+ "tooling",
8
9
  "parallel",
9
10
  "worker_threads",
10
11
  "sharedarraybuffer",
12
+ "checkpoint",
13
+ "snapshot",
14
+ "memory",
11
15
  "cloudflare-workers",
12
- "workerd"
16
+ "workerd",
17
+ "browser"
13
18
  ],
14
19
  "license": "MIT",
15
20
  "author": "Gregory Mitchell <me@gmitch215.xyz>",
@@ -22,81 +27,25 @@
22
27
  "types": "./dist/index.d.ts",
23
28
  "import": "./dist/index.js"
24
29
  },
25
- "./node": {
26
- "types": "./dist/node.d.ts",
27
- "import": "./dist/node.js"
28
- },
29
- "./compiler": {
30
- "types": "./dist/compiler.d.ts",
31
- "import": "./dist/compiler.js"
32
- },
33
- "./remote": {
34
- "types": "./dist/remote.d.ts",
35
- "import": "./dist/remote.js"
36
- },
37
- "./host": {
38
- "types": "./dist/host.d.ts",
39
- "import": "./dist/host.js"
40
- },
41
- "./managed": {
42
- "types": "./dist/managed.d.ts",
43
- "import": "./dist/managed.js"
30
+ "./workers": {
31
+ "types": "./dist/workers.d.ts",
32
+ "import": "./dist/workers.js"
44
33
  },
45
34
  "./browser": {
46
35
  "types": "./dist/browser.d.ts",
47
36
  "import": "./dist/browser.js"
48
37
  },
49
- "./pages": {
50
- "types": "./dist/pages.d.ts",
51
- "import": "./dist/pages.js"
52
- },
53
- "./bake": {
54
- "types": "./dist/bake.d.ts",
55
- "import": "./dist/bake.js"
56
- },
57
- "./tasks": {
58
- "types": "./dist/tasks.d.ts",
59
- "import": "./dist/tasks.js"
60
- },
61
- "./slices": {
62
- "types": "./dist/slices.d.ts",
63
- "import": "./dist/slices.js"
64
- },
65
- "./fold": {
66
- "types": "./dist/fold.d.ts",
67
- "import": "./dist/fold.js"
68
- },
69
- "./context": {
70
- "types": "./dist/context.d.ts",
71
- "import": "./dist/context.js"
72
- },
73
- "./affine": {
74
- "types": "./dist/affine.d.ts",
75
- "import": "./dist/affine.js"
76
- },
77
- "./certify": {
78
- "types": "./dist/certify.d.ts",
79
- "import": "./dist/certify.js"
80
- },
81
- "./ownership": {
82
- "types": "./dist/ownership.d.ts",
83
- "import": "./dist/ownership.js"
84
- },
85
- "./ownership-redirect": {
86
- "types": "./dist/ownership-redirect.d.ts",
87
- "import": "./dist/ownership-redirect.js"
88
- },
89
- "./ownership-slices": {
90
- "types": "./dist/ownership-slices.d.ts",
91
- "import": "./dist/ownership-slices.js"
38
+ "./memory": {
39
+ "types": "./dist/memory.d.ts",
40
+ "import": "./dist/memory.js"
92
41
  },
93
- "./router": {
94
- "types": "./dist/router.d.ts",
95
- "import": "./dist/router.js"
42
+ "./boot": {
43
+ "types": "./dist/boot.d.ts",
44
+ "import": "./dist/boot.js"
96
45
  },
97
- "./certified": {
98
- "types": "./dist/certified.d.ts",
99
- "import": "./dist/certified.js"
46
+ "./continuation": {
47
+ "types": "./dist/continuation.d.ts",
48
+ "import": "./dist/continuation.js"
100
49
  },
101
50
  "./package.json": "./package.json"
102
51
  },
@@ -113,7 +62,7 @@
113
62
  "build:c": "bun scripts/build/fixtures.ts",
114
63
  "build:prepared": "bun scripts/build/prepare.ts",
115
64
  "build:experiments": "node experiments/managed/prepare.ts && node experiments/browser/prepare.ts && node experiments/browser/extraction/prepare.ts && node experiments/consumer/prepare.ts kernel-control && node experiments/ranges/prepare.ts && node experiments/elastic-ladder/prepare.ts",
116
- "typecheck": "bun run build:c && bun run build:experiments && tsc --noEmit -p tsconfig.json && tsc --noEmit -p experiments/cloud/tsconfig.json && tsc --noEmit -p experiments/managed/tsconfig.json && tsc --noEmit -p experiments/elastic/tsconfig.json && tsc --noEmit -p experiments/elastic-limits/tsconfig.json && tsc --noEmit -p experiments/elastic-ladder/tsconfig.json && tsc --noEmit -p experiments/browser/tsconfig.json && tsc --noEmit -p experiments/consumer/tsconfig.json && tsc --noEmit -p experiments/rpc/tsconfig.json && tsc --noEmit -p experiments/ranges/tsconfig.json && tsc --noEmit -p experiments/concurrency/tsconfig.json && tsc --noEmit -p experiments/sqlite-lanes/tsconfig.json",
65
+ "typecheck": "bun run build:c && bun run build:experiments && tsc --noEmit -p tsconfig.json && tsc --noEmit -p experiments/cloud/tsconfig.json && tsc --noEmit -p experiments/managed/tsconfig.json && tsc --noEmit -p experiments/elastic/tsconfig.json && tsc --noEmit -p experiments/elastic-limits/tsconfig.json && tsc --noEmit -p experiments/elastic-ladder/tsconfig.json && tsc --noEmit -p experiments/browser/tsconfig.json && tsc --noEmit -p experiments/consumer/tsconfig.json && tsc --noEmit -p experiments/rpc/tsconfig.json && tsc --noEmit -p experiments/ranges/tsconfig.json && tsc --noEmit -p experiments/concurrency/tsconfig.json && tsc --noEmit -p experiments/sqlite-lanes/tsconfig.json && tsc --noEmit -p experiments/lane-pool/tsconfig.json && tsc --noEmit -p experiments/continuation/tsconfig.json && bun scripts/docs/fences.ts",
117
66
  "typecheck:php": "node experiments/consumer/php/prepare.ts && tsc --noEmit -p experiments/consumer/php/tsconfig.json",
118
67
  "typecheck:bootimage": "node experiments/bootimage/prepare.ts && tsc --noEmit -p experiments/bootimage/tsconfig.json",
119
68
  "test": "vitest run --project unit",
@@ -124,7 +73,8 @@
124
73
  "test:e2e": "vitest run --project e2e",
125
74
  "example": "node examples/basic.ts",
126
75
  "analyze": "bun scripts/analyze/run.ts",
127
- "docs:build": "typedoc",
76
+ "docs:build": "typedoc && bun scripts/docs/nav.ts",
77
+ "docs:check": "bun scripts/docs/check.ts",
128
78
  "docs:serve": "typedoc --watch",
129
79
  "prettier": "prettier --write .",
130
80
  "prettier:check": "prettier --check .",
@@ -136,19 +86,19 @@
136
86
  },
137
87
  "devDependencies": {
138
88
  "@cloudflare/playwright": "1.4.0",
139
- "@cloudflare/workers-types": "^5.20260925.1",
140
- "@types/node": "^26.0.0",
141
- "@vitest/coverage-v8": "^5.0.1",
89
+ "@cloudflare/workers-types": "^5.20261121.1",
90
+ "@types/node": "^26.6.6",
91
+ "@vitest/coverage-v8": "^5.1.1",
142
92
  "esbuild": "0.28.2",
143
93
  "husky": "^9.1.7",
144
- "lint-staged": "^17.6.0",
145
- "prettier": "^3.9.10",
94
+ "lint-staged": "^17.6.1",
95
+ "prettier": "^3.10.1",
146
96
  "prettier-plugin-organize-imports": "^4.3.0",
147
97
  "prettier-plugin-sh": "^0.20.2",
148
98
  "typedoc": "^0.28.20",
149
99
  "typescript": "^5.9.3",
150
- "vitest": "^5.0.1",
151
- "wrangler": "^4.139.0"
100
+ "vitest": "^5.1.1",
101
+ "wrangler": "^4.166.0"
152
102
  },
153
103
  "publishConfig": {
154
104
  "access": "public"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes