@fedify/fedify 2.0.8 → 2.0.10

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 (203) hide show
  1. package/dist/{assert-MZs1qjMx.js → assert-ddO5KLpe.mjs} +5 -9
  2. package/dist/{assert_equals-DSbWqCm3.js → assert_equals-Ew3jOFa3.mjs} +55 -69
  3. package/dist/{assert_instance_of-DHz7EHNU.js → assert_instance_of-C4Ri6VuN.mjs} +5 -9
  4. package/dist/{assert_not_equals-C80BG-_5.js → assert_not_equals--wG9hV7u.mjs} +6 -13
  5. package/dist/{assert_rejects-Ce45JcFg.js → assert_rejects-B-qJtC9Z.mjs} +6 -11
  6. package/dist/{assert_throws-BNXdRGWP.js → assert_throws-4NwKEy2q.mjs} +5 -10
  7. package/dist/{builder-B5cKln9v.js → builder-opzCVeXZ.mjs} +32 -41
  8. package/dist/{chunk-CGaQZ11T.cjs → chunk-DDcVe30Y.cjs} +23 -24
  9. package/dist/{chunk-DJNbSFdH.js → chunk-nlSIicah.js} +8 -8
  10. package/dist/{client-CoCIaTNO.js → client-A1UrnX6I.mjs} +9 -13
  11. package/dist/{client-BxMZiQaD.d.ts → client-AtlibPOU.d.ts} +1 -1
  12. package/dist/{client-C97KOq3x.d.cts → client-z-8dc-e1.d.cts} +1 -1
  13. package/dist/{collection-CcnIw1qY.js → collection-ChgDTHLz.mjs} +7 -12
  14. package/dist/compat/mod.cjs +5 -8
  15. package/dist/compat/mod.d.cts +78 -6
  16. package/dist/compat/mod.d.ts +78 -6
  17. package/dist/compat/mod.js +4 -8
  18. package/dist/compat/transformers.test.mjs +62 -0
  19. package/dist/{context-D3QkEtZd.d.cts → context-CNIt-Qn7.d.cts} +9 -18
  20. package/dist/{context-DZJhUmzF.d.ts → context-Dyg7P1qW.d.ts} +9 -18
  21. package/dist/{context-pa9aIrwp.js → context-Juj6bdHC.mjs} +7 -11
  22. package/dist/deno-CrjRl2cm.mjs +8 -0
  23. package/dist/{docloader-CBHh0rC5.js → docloader-35wi0JO1.mjs} +8 -14
  24. package/dist/{esm-nLm00z9V.js → esm-DVILvP5e.mjs} +50 -89
  25. package/dist/federation/builder.test.d.mts +2 -0
  26. package/dist/federation/{builder.test.js → builder.test.mjs} +19 -38
  27. package/dist/federation/collection.test.d.mts +2 -0
  28. package/dist/federation/collection.test.mjs +21 -0
  29. package/dist/federation/handler.test.d.mts +2 -0
  30. package/dist/federation/{handler.test.js → handler.test.mjs} +26 -56
  31. package/dist/federation/idempotency.test.d.mts +2 -0
  32. package/dist/federation/{idempotency.test.js → idempotency.test.mjs} +31 -62
  33. package/dist/federation/inbox.test.d.mts +2 -0
  34. package/dist/federation/{inbox.test.js → inbox.test.mjs} +8 -12
  35. package/dist/federation/keycache.test.d.mts +2 -0
  36. package/dist/federation/{keycache.test.js → keycache.test.mjs} +11 -15
  37. package/dist/federation/kv.test.d.mts +2 -0
  38. package/dist/federation/{kv.test.js → kv.test.mjs} +11 -22
  39. package/dist/federation/middleware.test.d.mts +2 -0
  40. package/dist/federation/{middleware.test.js → middleware.test.mjs} +146 -225
  41. package/dist/federation/mod.cjs +327 -16
  42. package/dist/federation/mod.d.cts +3 -6
  43. package/dist/federation/mod.d.ts +3 -6
  44. package/dist/federation/mod.js +322 -13
  45. package/dist/federation/mq.test.d.mts +2 -0
  46. package/dist/federation/{mq.test.js → mq.test.mjs} +21 -35
  47. package/dist/federation/negotiation.test.d.mts +2 -0
  48. package/dist/federation/{negotiation.test.js → negotiation.test.mjs} +9 -16
  49. package/dist/federation/retry.test.d.mts +2 -0
  50. package/dist/federation/{retry.test.js → retry.test.mjs} +8 -11
  51. package/dist/federation/router.test.d.mts +2 -0
  52. package/dist/federation/{router.test.js → router.test.mjs} +11 -16
  53. package/dist/federation/send.test.d.mts +2 -0
  54. package/dist/federation/{send.test.js → send.test.mjs} +22 -29
  55. package/dist/federation/webfinger.test.d.mts +2 -0
  56. package/dist/federation/{webfinger.test.js → webfinger.test.mjs} +22 -55
  57. package/dist/{http-DkHdFfrc.d.ts → http-B2wiNmSo.d.ts} +1 -6
  58. package/dist/{http-C_RwU_oN.js → http-BGjkvEDc.js} +25 -156
  59. package/dist/{http-Cz3MlXAZ.d.cts → http-C_tEAiZj.d.cts} +1 -6
  60. package/dist/{http-DGs_78tx.cjs → http-DLnqzOtY.cjs} +110 -235
  61. package/dist/{http-Br3-1dRf.js → http-VQAKycaZ.mjs} +17 -33
  62. package/dist/{inbox-3bZUqDLE.js → inbox-B6DfJ3h9.mjs} +18 -26
  63. package/dist/{key-D7Y_J9kt.js → key-C9oV7wk8.mjs} +12 -19
  64. package/dist/{keycache-BASM0rrX.js → keycache-DaQ3ndaJ.mjs} +5 -9
  65. package/dist/{keys-ZbcByPg9.js → keys-CtZLJq76.mjs} +5 -9
  66. package/dist/{kv-QzKcOQgP.js → kv-BrZHNugx.mjs} +6 -10
  67. package/dist/{kv-BL4nlICN.d.cts → kv-CbLNp3zQ.d.cts} +1 -1
  68. package/dist/{kv-DXEUEP6z.d.ts → kv-GFYnFoOl.d.ts} +1 -1
  69. package/dist/{kv-cache-9PANi4tA.cjs → kv-cache-BAEaVRvi.cjs} +27 -34
  70. package/dist/{kv-cache-El7We5sy.js → kv-cache-OWmRLHir.mjs} +4 -8
  71. package/dist/{kv-cache-CMM5VJsc.js → kv-cache-QxhhotWv.js} +6 -13
  72. package/dist/{ld-Bjq9Z4St.js → ld-BfEccFSP.mjs} +17 -31
  73. package/dist/{middleware-Bj30TZll.js → middleware-Bc4sY_YW.js} +320 -363
  74. package/dist/middleware-CGkdTPmX.mjs +5 -0
  75. package/dist/{middleware-CQeA5yF7.cjs → middleware-Dj7uT9F8.cjs} +513 -564
  76. package/dist/middleware-DuFvBMT2.cjs +4 -0
  77. package/dist/{middleware-DozhKfB6.js → middleware-ReZIkikn.mjs} +260 -292
  78. package/dist/{mod-DPkRU3EK.d.cts → mod-1xhgsHef.d.cts} +2 -2
  79. package/dist/{mod-DUWcVv49.d.ts → mod-BGtYJZKu.d.ts} +2 -2
  80. package/dist/{mod-DXsQakeS.d.cts → mod-Bld7oeqf.d.cts} +3 -3
  81. package/dist/{mod-DnSsduJF.d.ts → mod-BnAKGh2w.d.ts} +2 -2
  82. package/dist/{mod-CwZXZJ9d.d.ts → mod-DTOUyCce.d.ts} +3 -3
  83. package/dist/{mod-Di3W5OdP.d.cts → mod-DWoQffTD.d.cts} +2 -2
  84. package/dist/mod.cjs +29 -68
  85. package/dist/mod.d.cts +11 -14
  86. package/dist/mod.d.ts +11 -15
  87. package/dist/mod.js +17 -65
  88. package/dist/{negotiation-5NPJL6zp.js → negotiation-BehA2uul.mjs} +7 -11
  89. package/dist/nodeinfo/client.test.d.mts +2 -0
  90. package/dist/nodeinfo/{client.test.js → client.test.mjs} +22 -40
  91. package/dist/nodeinfo/handler.test.d.mts +2 -0
  92. package/dist/nodeinfo/{handler.test.js → handler.test.mjs} +13 -42
  93. package/dist/nodeinfo/mod.cjs +5 -8
  94. package/dist/nodeinfo/mod.d.cts +2 -3
  95. package/dist/nodeinfo/mod.d.ts +2 -3
  96. package/dist/nodeinfo/mod.js +4 -8
  97. package/dist/nodeinfo/types.test.d.mts +2 -0
  98. package/dist/nodeinfo/{types.test.js → types.test.mjs} +9 -16
  99. package/dist/otel/exporter.test.d.mts +2 -0
  100. package/dist/otel/{exporter.test.js → exporter.test.mjs} +117 -169
  101. package/dist/otel/mod.cjs +15 -20
  102. package/dist/otel/mod.d.cts +2 -2
  103. package/dist/otel/mod.d.ts +2 -2
  104. package/dist/otel/mod.js +8 -14
  105. package/dist/{owner-gd0Q9FuU.d.ts → owner-74ARJ5TL.d.ts} +1 -1
  106. package/dist/{owner-CImU2dKz.js → owner-CRLqJlP_.mjs} +11 -16
  107. package/dist/{owner-1AbPBOOZ.d.cts → owner-CptqhsOy.d.cts} +1 -1
  108. package/dist/{proof-DLL0MLmV.js → proof-9SGtq4tE.mjs} +21 -33
  109. package/dist/{proof-UhA5do8k.cjs → proof-B4SaJCmK.cjs} +133 -157
  110. package/dist/{proof-BygvN4r5.js → proof-DvQ28mUJ.js} +32 -58
  111. package/dist/{retry-D4GJ670a.js → retry-Ddbq3AcK.mjs} +4 -7
  112. package/dist/{router-D9eI0s4b.js → router-CrMLXoOr.mjs} +4 -8
  113. package/dist/runtime/mod.cjs +11 -13
  114. package/dist/runtime/mod.d.cts +6 -2
  115. package/dist/runtime/mod.d.ts +0 -1
  116. package/dist/runtime/mod.js +4 -7
  117. package/dist/{send-DbW03azY.js → send-DN2ywoe8.mjs} +8 -13
  118. package/dist/sig/http.test.d.mts +2 -0
  119. package/dist/sig/{http.test.js → http.test.mjs} +117 -199
  120. package/dist/sig/key.test.d.mts +2 -0
  121. package/dist/sig/{key.test.js → key.test.mjs} +11 -18
  122. package/dist/sig/ld.test.d.mts +2 -0
  123. package/dist/sig/{ld.test.js → ld.test.mjs} +22 -35
  124. package/dist/sig/mod.cjs +6 -9
  125. package/dist/sig/mod.d.cts +3 -3
  126. package/dist/sig/mod.d.ts +3 -3
  127. package/dist/sig/mod.js +5 -9
  128. package/dist/sig/owner.test.d.mts +2 -0
  129. package/dist/sig/{owner.test.js → owner.test.mjs} +19 -34
  130. package/dist/sig/proof.test.d.mts +2 -0
  131. package/dist/sig/{proof.test.js → proof.test.mjs} +16 -27
  132. package/dist/{std__assert-DWivtrGR.js → std__assert-Duiq_YC9.mjs} +12 -24
  133. package/dist/testing/{mod.d.ts → mod.d.mts} +26 -78
  134. package/dist/testing/mod.mjs +6 -0
  135. package/dist/{transformers-3g8GZwkZ.cjs → transformers-NeAONrAq.cjs} +20 -25
  136. package/dist/{transformers-C3FLHUd6.js → transformers-ve6e2xcg.js} +3 -7
  137. package/dist/{types-CPz01LGH.js → types-C37hquWI.mjs} +4 -7
  138. package/dist/{types-Cd_hszr_.cjs → types-KC4QAoxe.cjs} +29 -34
  139. package/dist/{types-C93Ob9cU.js → types-hvL8ElAs.js} +8 -13
  140. package/dist/utils/docloader.test.d.mts +2 -0
  141. package/dist/utils/{docloader.test.js → docloader.test.mjs} +14 -24
  142. package/dist/utils/kv-cache.test.d.mts +2 -0
  143. package/dist/utils/{kv-cache.test.js → kv-cache.test.mjs} +25 -40
  144. package/dist/utils/mod.cjs +5 -9
  145. package/dist/utils/mod.d.cts +1 -3
  146. package/dist/utils/mod.d.ts +1 -3
  147. package/dist/utils/mod.js +4 -9
  148. package/dist/vocab/cjs.test.d.mts +2 -0
  149. package/dist/vocab/cjs.test.mjs +14 -0
  150. package/dist/vocab/mod.cjs +10 -12
  151. package/dist/vocab/mod.js +3 -5
  152. package/package.json +8 -8
  153. package/dist/compat/transformers.test.d.ts +0 -3
  154. package/dist/compat/transformers.test.js +0 -87
  155. package/dist/compat-Bb4NuTUO.js +0 -4
  156. package/dist/compat-DmDDELst.cjs +0 -4
  157. package/dist/deno-4w047OFk.js +0 -121
  158. package/dist/federation/builder.test.d.ts +0 -3
  159. package/dist/federation/collection.test.d.ts +0 -3
  160. package/dist/federation/collection.test.js +0 -32
  161. package/dist/federation/handler.test.d.ts +0 -3
  162. package/dist/federation/idempotency.test.d.ts +0 -3
  163. package/dist/federation/inbox.test.d.ts +0 -3
  164. package/dist/federation/keycache.test.d.ts +0 -3
  165. package/dist/federation/kv.test.d.ts +0 -3
  166. package/dist/federation/middleware.test.d.ts +0 -3
  167. package/dist/federation/mq.test.d.ts +0 -3
  168. package/dist/federation/negotiation.test.d.ts +0 -3
  169. package/dist/federation/retry.test.d.ts +0 -3
  170. package/dist/federation/router.test.d.ts +0 -3
  171. package/dist/federation/send.test.d.ts +0 -3
  172. package/dist/federation/webfinger.test.d.ts +0 -3
  173. package/dist/federation-Bp3HI26G.cjs +0 -350
  174. package/dist/federation-DaMfqRm4.js +0 -332
  175. package/dist/middleware-B73ZyDmk.js +0 -12
  176. package/dist/middleware-Dr61i4Jo.cjs +0 -12
  177. package/dist/middleware-_1PYruC5.js +0 -26
  178. package/dist/mod-Bh8mqlYw.d.cts +0 -9
  179. package/dist/mod-D6HodEq7.d.ts +0 -7
  180. package/dist/mod-DVwHUI_x.d.cts +0 -80
  181. package/dist/mod-DosD6NsG.d.ts +0 -82
  182. package/dist/mod-gq_Xfdz8.d.cts +0 -1
  183. package/dist/nodeinfo/client.test.d.ts +0 -3
  184. package/dist/nodeinfo/handler.test.d.ts +0 -3
  185. package/dist/nodeinfo/types.test.d.ts +0 -3
  186. package/dist/nodeinfo-DoESQxq5.js +0 -4
  187. package/dist/nodeinfo-DuMYTpbZ.cjs +0 -4
  188. package/dist/otel/exporter.test.d.ts +0 -3
  189. package/dist/runtime-c2Njxsry.cjs +0 -17
  190. package/dist/runtime-poamPCMb.js +0 -13
  191. package/dist/sig/http.test.d.ts +0 -3
  192. package/dist/sig/key.test.d.ts +0 -3
  193. package/dist/sig/ld.test.d.ts +0 -3
  194. package/dist/sig/owner.test.d.ts +0 -3
  195. package/dist/sig/proof.test.d.ts +0 -3
  196. package/dist/sig-BNhspNOf.js +0 -4
  197. package/dist/sig-vX39WyWI.cjs +0 -4
  198. package/dist/testing/mod.js +0 -10
  199. package/dist/utils/docloader.test.d.ts +0 -3
  200. package/dist/utils/kv-cache.test.d.ts +0 -3
  201. package/dist/utils-BQ9KqEK9.cjs +0 -4
  202. package/dist/utils-Dn5OPdSW.js +0 -4
  203. /package/dist/{mod-AGjRfPjT.d.ts → compat/transformers.test.d.mts} +0 -0
@@ -1,10 +1,7 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
- globalThis.addEventListener = () => {};
5
-
6
- import { AssertionError } from "./assert_equals-DSbWqCm3.js";
7
-
1
+ import "@js-temporal/polyfill";
2
+ import "urlpattern-polyfill";
3
+ globalThis.addEventListener = () => {};
4
+ import { l as AssertionError } from "./assert_equals-Ew3jOFa3.mjs";
8
5
  //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js
9
6
  /**
10
7
  * Make an assertion, error will be thrown if `expr` does not have truthy value.
@@ -22,6 +19,5 @@ import { AssertionError } from "./assert_equals-DSbWqCm3.js";
22
19
  */ function assert(expr, msg = "") {
23
20
  if (!expr) throw new AssertionError(msg);
24
21
  }
25
-
26
22
  //#endregion
27
- export { assert };
23
+ export { assert as t };
@@ -1,8 +1,6 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
- globalThis.addEventListener = () => {};
5
-
1
+ import "@js-temporal/polyfill";
2
+ import "urlpattern-polyfill";
3
+ globalThis.addEventListener = () => {};
6
4
  //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assertion_error.js
7
5
  /**
8
6
  * Error thrown when an assertion fails.
@@ -29,7 +27,6 @@
29
27
  this.name = "AssertionError";
30
28
  }
31
29
  };
32
-
33
30
  //#endregion
34
31
  //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/equal.js
35
32
  function isKeyedCollection(x) {
@@ -103,7 +100,37 @@ function constructorsEqual(a, b) {
103
100
  return false;
104
101
  }(c, d);
105
102
  }
106
-
103
+ //#endregion
104
+ //#region ../../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/format.js
105
+ /**
106
+ * Converts the input into a string. Objects, Sets and Maps are sorted so as to
107
+ * make tests less flaky.
108
+ *
109
+ * @param v Value to be formatted
110
+ *
111
+ * @returns The formatted string
112
+ *
113
+ * @example Usage
114
+ * ```ts
115
+ * import { format } from "@std/internal/format";
116
+ * import { assertEquals } from "@std/assert";
117
+ *
118
+ * assertEquals(format({ a: 1, b: 2 }), "{\n a: 1,\n b: 2,\n}");
119
+ * assertEquals(format(new Set([1, 2])), "Set(2) {\n 1,\n 2,\n}");
120
+ * assertEquals(format(new Map([[1, 2]])), "Map(1) {\n 1 => 2,\n}");
121
+ * ```
122
+ */ function format(v) {
123
+ const { Deno } = globalThis;
124
+ return typeof Deno?.inspect === "function" ? Deno.inspect(v, {
125
+ depth: Infinity,
126
+ sorted: true,
127
+ trailingComma: true,
128
+ compact: false,
129
+ iterableLimit: Infinity,
130
+ getters: true,
131
+ strAbbreviateSize: Infinity
132
+ }) : `"${String(v).replace(/(?=["\\])/g, "\\")}"`;
133
+ }
107
134
  //#endregion
108
135
  //#region ../../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/assertion_state.js
109
136
  /**
@@ -281,13 +308,11 @@ function constructorsEqual(a, b) {
281
308
  return this.#state.assertionCount !== void 0 && this.#state.assertionCount !== this.#state.assertionTriggeredCount;
282
309
  }
283
310
  };
284
- const assertionState = new AssertionState();
285
-
311
+ new AssertionState();
286
312
  //#endregion
287
313
  //#region ../../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/styles.js
288
314
  const { Deno } = globalThis;
289
- const noColor = typeof Deno?.noColor === "boolean" ? Deno.noColor : false;
290
- const enabled = !noColor;
315
+ const enabled = !(typeof Deno?.noColor === "boolean" ? Deno.noColor : false);
291
316
  function code(open, close) {
292
317
  return {
293
318
  open: `\x1b[${open.join(";")}m`,
@@ -295,8 +320,8 @@ function code(open, close) {
295
320
  regexp: new RegExp(`\\x1b\\[${close}m`, "g")
296
321
  };
297
322
  }
298
- function run(str, code$1) {
299
- return enabled ? `${code$1.open}${str.replace(code$1.regexp, code$1.open)}${code$1.close}` : str;
323
+ function run(str, code) {
324
+ return enabled ? `${code.open}${str.replace(code.regexp, code.open)}${code.close}` : str;
300
325
  }
301
326
  /**
302
327
  * Sets the style of text to be printed to bold.
@@ -449,7 +474,6 @@ const ANSI_PATTERN = new RegExp(["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-z
449
474
  */ function stripAnsiCode(string) {
450
475
  return string.replace(ANSI_PATTERN, "");
451
476
  }
452
-
453
477
  //#endregion
454
478
  //#region ../../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/build_message.js
455
479
  /**
@@ -543,7 +567,6 @@ const ANSI_PATTERN = new RegExp(["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-z
543
567
  messages.push(...stringDiff ? [diffMessages.join("")] : diffMessages, "");
544
568
  return messages;
545
569
  }
546
-
547
570
  //#endregion
548
571
  //#region ../../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/diff.js
549
572
  const REMOVED = 1;
@@ -774,20 +797,20 @@ const ADDED = 3;
774
797
  */ const routes = new Uint32Array((M * N + length + 1) * 2);
775
798
  const diffTypesPtrOffset = routes.length / 2;
776
799
  let ptr = 0;
777
- function snake(k, A$1, B$1, slide, down) {
778
- const M$1 = A$1.length;
779
- const N$1 = B$1.length;
780
- const fp$1 = createFp(k, M$1, routes, diffTypesPtrOffset, ptr, slide, down);
781
- ptr = fp$1.id;
782
- while (fp$1.y + k < M$1 && fp$1.y < N$1 && A$1[fp$1.y + k] === B$1[fp$1.y]) {
783
- const prev = fp$1.id;
800
+ function snake(k, A, B, slide, down) {
801
+ const M = A.length;
802
+ const N = B.length;
803
+ const fp = createFp(k, M, routes, diffTypesPtrOffset, ptr, slide, down);
804
+ ptr = fp.id;
805
+ while (fp.y + k < M && fp.y < N && A[fp.y + k] === B[fp.y]) {
806
+ const prev = fp.id;
784
807
  ptr++;
785
- fp$1.id = ptr;
786
- fp$1.y += 1;
808
+ fp.id = ptr;
809
+ fp.y += 1;
787
810
  routes[ptr] = prev;
788
811
  routes[ptr + diffTypesPtrOffset] = COMMON;
789
812
  }
790
- return fp$1;
813
+ return fp;
791
814
  }
792
815
  let currentFp = fp[delta + offset];
793
816
  assertFp(currentFp);
@@ -795,12 +818,12 @@ const ADDED = 3;
795
818
  while (currentFp.y < N) {
796
819
  p = p + 1;
797
820
  for (let k = -p; k < delta; ++k) {
798
- const index$1 = k + offset;
799
- fp[index$1] = snake(k, A, B, fp[index$1 - 1], fp[index$1 + 1]);
821
+ const index = k + offset;
822
+ fp[index] = snake(k, A, B, fp[index - 1], fp[index + 1]);
800
823
  }
801
824
  for (let k = delta + p; k > delta; --k) {
802
- const index$1 = k + offset;
803
- fp[index$1] = snake(k, A, B, fp[index$1 - 1], fp[index$1 + 1]);
825
+ const index = k + offset;
826
+ fp[index] = snake(k, A, B, fp[index - 1], fp[index + 1]);
804
827
  }
805
828
  const index = delta + offset;
806
829
  fp[delta + offset] = snake(delta, A, B, fp[index - 1], fp[index + 1]);
@@ -812,7 +835,6 @@ const ADDED = 3;
812
835
  value
813
836
  })), ...backTrace(A, B, currentFp, swapped, routes, diffTypesPtrOffset)];
814
837
  }
815
-
816
838
  //#endregion
817
839
  //#region ../../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/diff_str.js
818
840
  /**
@@ -953,39 +975,6 @@ const NON_WHITESPACE_REGEXP = /\S/;
953
975
  }
954
976
  return diffResult;
955
977
  }
956
-
957
- //#endregion
958
- //#region ../../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/format.js
959
- /**
960
- * Converts the input into a string. Objects, Sets and Maps are sorted so as to
961
- * make tests less flaky.
962
- *
963
- * @param v Value to be formatted
964
- *
965
- * @returns The formatted string
966
- *
967
- * @example Usage
968
- * ```ts
969
- * import { format } from "@std/internal/format";
970
- * import { assertEquals } from "@std/assert";
971
- *
972
- * assertEquals(format({ a: 1, b: 2 }), "{\n a: 1,\n b: 2,\n}");
973
- * assertEquals(format(new Set([1, 2])), "Set(2) {\n 1,\n 2,\n}");
974
- * assertEquals(format(new Map([[1, 2]])), "Map(1) {\n 1 => 2,\n}");
975
- * ```
976
- */ function format(v) {
977
- const { Deno: Deno$1 } = globalThis;
978
- return typeof Deno$1?.inspect === "function" ? Deno$1.inspect(v, {
979
- depth: Infinity,
980
- sorted: true,
981
- trailingComma: true,
982
- compact: false,
983
- iterableLimit: Infinity,
984
- getters: true,
985
- strAbbreviateSize: Infinity
986
- }) : `"${String(v).replace(/(?=["\\])/g, "\\")}"`;
987
- }
988
-
989
978
  //#endregion
990
979
  //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js
991
980
  /**
@@ -1012,16 +1001,13 @@ const NON_WHITESPACE_REGEXP = /\S/;
1012
1001
  * @param options The optional object for the assertion.
1013
1002
  */ function assertEquals(actual, expected, msg) {
1014
1003
  if (equal(actual, expected)) return;
1015
- const msgSuffix = msg ? `: ${msg}` : ".";
1016
- let message = `Values are not equal${msgSuffix}`;
1004
+ let message = `Values are not equal${msg ? `: ${msg}` : "."}`;
1017
1005
  const actualString = format(actual);
1018
1006
  const expectedString = format(expected);
1019
1007
  const stringDiff = typeof actual === "string" && typeof expected === "string";
1020
- const diffResult = stringDiff ? diffStr(actual, expected) : diff(actualString.split("\n"), expectedString.split("\n"));
1021
- const diffMsg = buildMessage(diffResult, { stringDiff }).join("\n");
1008
+ const diffMsg = buildMessage(stringDiff ? diffStr(actual, expected) : diff(actualString.split("\n"), expectedString.split("\n")), { stringDiff }).join("\n");
1022
1009
  message = `${message}\n${diffMsg}`;
1023
1010
  throw new AssertionError(message);
1024
1011
  }
1025
-
1026
1012
  //#endregion
1027
- export { AssertionError, assertEquals, buildMessage, diff, diffStr, equal, format, red, stripAnsiCode };
1013
+ export { red as a, equal as c, buildMessage as i, AssertionError as l, diffStr as n, stripAnsiCode as o, diff as r, format as s, assertEquals as t };
@@ -1,10 +1,7 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
- globalThis.addEventListener = () => {};
5
-
6
- import { AssertionError } from "./assert_equals-DSbWqCm3.js";
7
-
1
+ import "@js-temporal/polyfill";
2
+ import "urlpattern-polyfill";
3
+ globalThis.addEventListener = () => {};
4
+ import { l as AssertionError } from "./assert_equals-Ew3jOFa3.mjs";
8
5
  //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js
9
6
  /**
10
7
  * Make an assertion that `obj` is an instance of `type`.
@@ -36,6 +33,5 @@ import { AssertionError } from "./assert_equals-DSbWqCm3.js";
36
33
  else msg = `Expected object to be an instance of "${expectedTypeStr}" but was "${actualTypeStr}"${msgSuffix}`;
37
34
  throw new AssertionError(msg);
38
35
  }
39
-
40
36
  //#endregion
41
- export { assertInstanceOf };
37
+ export { assertInstanceOf as t };
@@ -1,10 +1,7 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
- globalThis.addEventListener = () => {};
5
-
6
- import { AssertionError, equal } from "./assert_equals-DSbWqCm3.js";
7
-
1
+ import "@js-temporal/polyfill";
2
+ import "urlpattern-polyfill";
3
+ globalThis.addEventListener = () => {};
4
+ import { c as equal, l as AssertionError } from "./assert_equals-Ew3jOFa3.mjs";
8
5
  //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_not_equals.js
9
6
  /**
10
7
  * Make an assertion that `actual` and `expected` are not equal, deeply.
@@ -26,11 +23,7 @@ import { AssertionError, equal } from "./assert_equals-DSbWqCm3.js";
26
23
  * @param msg The optional message to display if the assertion fails.
27
24
  */ function assertNotEquals(actual, expected, msg) {
28
25
  if (!equal(actual, expected)) return;
29
- const actualString = String(actual);
30
- const expectedString = String(expected);
31
- const msgSuffix = msg ? `: ${msg}` : ".";
32
- throw new AssertionError(`Expected actual: ${actualString} not to be: ${expectedString}${msgSuffix}`);
26
+ throw new AssertionError(`Expected actual: ${String(actual)} not to be: ${String(expected)}${msg ? `: ${msg}` : "."}`);
33
27
  }
34
-
35
28
  //#endregion
36
- export { assertNotEquals };
29
+ export { assertNotEquals as t };
@@ -1,11 +1,8 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
- globalThis.addEventListener = () => {};
5
-
6
- import { AssertionError } from "./assert_equals-DSbWqCm3.js";
7
- import { assertIsError } from "./assert_throws-BNXdRGWP.js";
8
-
1
+ import "@js-temporal/polyfill";
2
+ import "urlpattern-polyfill";
3
+ globalThis.addEventListener = () => {};
4
+ import { l as AssertionError } from "./assert_equals-Ew3jOFa3.mjs";
5
+ import { n as assertIsError } from "./assert_throws-4NwKEy2q.mjs";
9
6
  //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js
10
7
  /**
11
8
  * Make an assertion, error will be thrown if `expr` have truthy value.
@@ -23,7 +20,6 @@ import { assertIsError } from "./assert_throws-BNXdRGWP.js";
23
20
  */ function assertFalse(expr, msg = "") {
24
21
  if (expr) throw new AssertionError(msg);
25
22
  }
26
-
27
23
  //#endregion
28
24
  //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js
29
25
  async function assertRejects(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
@@ -57,6 +53,5 @@ async function assertRejects(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
57
53
  if (!doesThrow) throw new AssertionError(`Expected function to reject${msgSuffix}`);
58
54
  return err;
59
55
  }
60
-
61
56
  //#endregion
62
- export { assertFalse, assertRejects };
57
+ export { assertFalse as n, assertRejects as t };
@@ -1,10 +1,7 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
- globalThis.addEventListener = () => {};
5
-
6
- import { AssertionError, stripAnsiCode } from "./assert_equals-DSbWqCm3.js";
7
-
1
+ import "@js-temporal/polyfill";
2
+ import "urlpattern-polyfill";
3
+ globalThis.addEventListener = () => {};
4
+ import { l as AssertionError, o as stripAnsiCode } from "./assert_equals-Ew3jOFa3.mjs";
8
5
  //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_is_error.js
9
6
  /**
10
7
  * Make an assertion that `error` is an `Error`.
@@ -43,7 +40,6 @@ import { AssertionError, stripAnsiCode } from "./assert_equals-DSbWqCm3.js";
43
40
  throw new AssertionError(msg);
44
41
  }
45
42
  }
46
-
47
43
  //#endregion
48
44
  //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js
49
45
  function assertThrows(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
@@ -73,6 +69,5 @@ function assertThrows(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
73
69
  }
74
70
  return err;
75
71
  }
76
-
77
72
  //#endregion
78
- export { assertIsError, assertThrows };
73
+ export { assertIsError as n, assertThrows as t };
@@ -1,15 +1,12 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
- globalThis.addEventListener = () => {};
5
-
6
- import { deno_default } from "./deno-4w047OFk.js";
7
- import { Router, RouterError } from "./router-D9eI0s4b.js";
8
- import { InboxListenerSet } from "./inbox-3bZUqDLE.js";
1
+ import "@js-temporal/polyfill";
2
+ import "urlpattern-polyfill";
3
+ globalThis.addEventListener = () => {};
4
+ import { n as RouterError, t as Router } from "./router-CrMLXoOr.mjs";
5
+ import { n as version, t as name } from "./deno-CrjRl2cm.mjs";
6
+ import { t as InboxListenerSet } from "./inbox-B6DfJ3h9.mjs";
9
7
  import { getTypeId } from "@fedify/vocab";
10
- import { getLogger } from "@logtape/logtape";
11
8
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
12
-
9
+ import { getLogger } from "@logtape/logtape";
13
10
  //#region src/federation/builder.ts
14
11
  var FederationBuilderImpl = class {
15
12
  router;
@@ -45,7 +42,7 @@ var FederationBuilderImpl = class {
45
42
  this.collectionTypeIds = {};
46
43
  }
47
44
  async build(options) {
48
- const { FederationImpl } = await import("./middleware-_1PYruC5.js");
45
+ const { FederationImpl } = await import("./middleware-CGkdTPmX.mjs");
49
46
  const f = new FederationImpl(options);
50
47
  const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
51
48
  f.router = this.router.clone();
@@ -72,23 +69,23 @@ var FederationBuilderImpl = class {
72
69
  return f;
73
70
  }
74
71
  _getTracer() {
75
- return trace.getTracer(deno_default.name, deno_default.version);
72
+ return trace.getTracer(name, version);
76
73
  }
77
74
  setActorDispatcher(path, dispatcher) {
78
75
  if (this.router.has("actor")) throw new RouterError("Actor dispatcher already set.");
79
76
  const variables = this.router.add(path, "actor");
80
77
  if (variables.size !== 1 || !variables.has("identifier")) throw new RouterError("Path for actor dispatcher must have one variable: {identifier}");
81
- const callbacks = { dispatcher: async (context$1, identifier) => {
78
+ const callbacks = { dispatcher: async (context, identifier) => {
82
79
  const actor = await this._getTracer().startActiveSpan("activitypub.dispatch_actor", {
83
80
  kind: SpanKind.SERVER,
84
81
  attributes: { "fedify.actor.identifier": identifier }
85
82
  }, async (span) => {
86
83
  try {
87
- const actor$1 = await dispatcher(context$1, identifier);
88
- span.setAttribute("activitypub.actor.id", (actor$1?.id ?? context$1.getActorUri(identifier)).href);
89
- if (actor$1 == null) span.setStatus({ code: SpanStatusCode.ERROR });
90
- else span.setAttribute("activitypub.actor.type", getTypeId(actor$1).href);
91
- return actor$1;
84
+ const actor = await dispatcher(context, identifier);
85
+ span.setAttribute("activitypub.actor.id", (actor?.id ?? context.getActorUri(identifier)).href);
86
+ if (actor == null) span.setStatus({ code: SpanStatusCode.ERROR });
87
+ else span.setAttribute("activitypub.actor.type", getTypeId(actor).href);
88
+ return actor;
92
89
  } catch (error) {
93
90
  span.setStatus({
94
91
  code: SpanStatusCode.ERROR,
@@ -106,36 +103,36 @@ var FederationBuilderImpl = class {
106
103
  "actor"
107
104
  ]);
108
105
  if (actor.id == null) logger.warn("Actor dispatcher returned an actor without an id property. Set the property with Context.getActorUri(identifier).");
109
- else if (actor.id.href != context$1.getActorUri(identifier).href) logger.warn("Actor dispatcher returned an actor with an id property that does not match the actor URI. Set the property with Context.getActorUri(identifier).");
106
+ else if (actor.id.href != context.getActorUri(identifier).href) logger.warn("Actor dispatcher returned an actor with an id property that does not match the actor URI. Set the property with Context.getActorUri(identifier).");
110
107
  if (this.followingCallbacks != null && this.followingCallbacks.dispatcher != null) {
111
108
  if (actor.followingId == null) logger.warn("You configured a following collection dispatcher, but the actor does not have a following property. Set the property with Context.getFollowingUri(identifier).");
112
- else if (actor.followingId.href != context$1.getFollowingUri(identifier).href) logger.warn("You configured a following collection dispatcher, but the actor's following property does not match the following collection URI. Set the property with Context.getFollowingUri(identifier).");
109
+ else if (actor.followingId.href != context.getFollowingUri(identifier).href) logger.warn("You configured a following collection dispatcher, but the actor's following property does not match the following collection URI. Set the property with Context.getFollowingUri(identifier).");
113
110
  }
114
111
  if (this.followersCallbacks != null && this.followersCallbacks.dispatcher != null) {
115
112
  if (actor.followersId == null) logger.warn("You configured a followers collection dispatcher, but the actor does not have a followers property. Set the property with Context.getFollowersUri(identifier).");
116
- else if (actor.followersId.href != context$1.getFollowersUri(identifier).href) logger.warn("You configured a followers collection dispatcher, but the actor's followers property does not match the followers collection URI. Set the property with Context.getFollowersUri(identifier).");
113
+ else if (actor.followersId.href != context.getFollowersUri(identifier).href) logger.warn("You configured a followers collection dispatcher, but the actor's followers property does not match the followers collection URI. Set the property with Context.getFollowersUri(identifier).");
117
114
  }
118
115
  if (this.outboxCallbacks != null && this.outboxCallbacks.dispatcher != null) {
119
116
  if (actor?.outboxId == null) logger.warn("You configured an outbox collection dispatcher, but the actor does not have an outbox property. Set the property with Context.getOutboxUri(identifier).");
120
- else if (actor.outboxId.href != context$1.getOutboxUri(identifier).href) logger.warn("You configured an outbox collection dispatcher, but the actor's outbox property does not match the outbox collection URI. Set the property with Context.getOutboxUri(identifier).");
117
+ else if (actor.outboxId.href != context.getOutboxUri(identifier).href) logger.warn("You configured an outbox collection dispatcher, but the actor's outbox property does not match the outbox collection URI. Set the property with Context.getOutboxUri(identifier).");
121
118
  }
122
119
  if (this.likedCallbacks != null && this.likedCallbacks.dispatcher != null) {
123
120
  if (actor?.likedId == null) logger.warn("You configured a liked collection dispatcher, but the actor does not have a liked property. Set the property with Context.getLikedUri(identifier).");
124
- else if (actor.likedId.href != context$1.getLikedUri(identifier).href) logger.warn("You configured a liked collection dispatcher, but the actor's liked property does not match the liked collection URI. Set the property with Context.getLikedUri(identifier).");
121
+ else if (actor.likedId.href != context.getLikedUri(identifier).href) logger.warn("You configured a liked collection dispatcher, but the actor's liked property does not match the liked collection URI. Set the property with Context.getLikedUri(identifier).");
125
122
  }
126
123
  if (this.featuredCallbacks != null && this.featuredCallbacks.dispatcher != null) {
127
124
  if (actor?.featuredId == null) logger.warn("You configured a featured collection dispatcher, but the actor does not have a featured property. Set the property with Context.getFeaturedUri(identifier).");
128
- else if (actor.featuredId.href != context$1.getFeaturedUri(identifier).href) logger.warn("You configured a featured collection dispatcher, but the actor's featured property does not match the featured collection URI. Set the property with Context.getFeaturedUri(identifier).");
125
+ else if (actor.featuredId.href != context.getFeaturedUri(identifier).href) logger.warn("You configured a featured collection dispatcher, but the actor's featured property does not match the featured collection URI. Set the property with Context.getFeaturedUri(identifier).");
129
126
  }
130
127
  if (this.featuredTagsCallbacks != null && this.featuredTagsCallbacks.dispatcher != null) {
131
128
  if (actor?.featuredTagsId == null) logger.warn("You configured a featured tags collection dispatcher, but the actor does not have a featuredTags property. Set the property with Context.getFeaturedTagsUri(identifier).");
132
- else if (actor.featuredTagsId.href != context$1.getFeaturedTagsUri(identifier).href) logger.warn("You configured a featured tags collection dispatcher, but the actor's featuredTags property does not match the featured tags collection URI. Set the property with Context.getFeaturedTagsUri(identifier).");
129
+ else if (actor.featuredTagsId.href != context.getFeaturedTagsUri(identifier).href) logger.warn("You configured a featured tags collection dispatcher, but the actor's featuredTags property does not match the featured tags collection URI. Set the property with Context.getFeaturedTagsUri(identifier).");
133
130
  }
134
131
  if (this.router.has("inbox")) {
135
132
  if (actor.inboxId == null) logger.warn("You configured inbox listeners, but the actor does not have an inbox property. Set the property with Context.getInboxUri(identifier).");
136
- else if (actor.inboxId.href != context$1.getInboxUri(identifier).href) logger.warn("You configured inbox listeners, but the actor's inbox property does not match the inbox URI. Set the property with Context.getInboxUri(identifier).");
133
+ else if (actor.inboxId.href != context.getInboxUri(identifier).href) logger.warn("You configured inbox listeners, but the actor's inbox property does not match the inbox URI. Set the property with Context.getInboxUri(identifier).");
137
134
  if (actor.endpoints == null || actor.endpoints.sharedInbox == null) logger.warn("You configured inbox listeners, but the actor does not have a endpoints.sharedInbox property. Set the property with Context.getInboxUri().");
138
- else if (actor.endpoints.sharedInbox.href != context$1.getInboxUri().href) logger.warn("You configured inbox listeners, but the actor's endpoints.sharedInbox property does not match the shared inbox URI. Set the property with Context.getInboxUri().");
135
+ else if (actor.endpoints.sharedInbox.href != context.getInboxUri().href) logger.warn("You configured inbox listeners, but the actor's endpoints.sharedInbox property does not match the shared inbox URI. Set the property with Context.getInboxUri().");
139
136
  }
140
137
  if (callbacks.keyPairsDispatcher != null) {
141
138
  if (actor.publicKeyId == null) logger.warn("You configured a key pairs dispatcher, but the actor does not have a publicKey property. Set the property with Context.getActorKeyPairs(identifier).");
@@ -145,7 +142,7 @@ var FederationBuilderImpl = class {
145
142
  } };
146
143
  this.actorCallbacks = callbacks;
147
144
  const setters = {
148
- setKeyPairsDispatcher: (dispatcher$1) => {
145
+ setKeyPairsDispatcher: (dispatcher) => {
149
146
  callbacks.keyPairsDispatcher = (ctx, identifier) => this._getTracer().startActiveSpan("activitypub.dispatch_actor_key_pairs", {
150
147
  kind: SpanKind.SERVER,
151
148
  attributes: {
@@ -154,7 +151,7 @@ var FederationBuilderImpl = class {
154
151
  }
155
152
  }, async (span) => {
156
153
  try {
157
- return await dispatcher$1(ctx, identifier);
154
+ return await dispatcher(ctx, identifier);
158
155
  } catch (e) {
159
156
  span.setStatus({
160
157
  code: SpanStatusCode.ERROR,
@@ -184,8 +181,7 @@ var FederationBuilderImpl = class {
184
181
  }
185
182
  setNodeInfoDispatcher(path, dispatcher) {
186
183
  if (this.router.has("nodeInfo")) throw new RouterError("NodeInfo dispatcher already set.");
187
- const variables = this.router.add(path, "nodeInfo");
188
- if (variables.size !== 0) throw new RouterError("Path for NodeInfo dispatcher must have no variables.");
184
+ if (this.router.add(path, "nodeInfo").size !== 0) throw new RouterError("Path for NodeInfo dispatcher must have no variables.");
189
185
  this.nodeInfoDispatcher = dispatcher;
190
186
  }
191
187
  setWebFingerLinksDispatcher(dispatcher) {
@@ -198,8 +194,7 @@ var FederationBuilderImpl = class {
198
194
  if (variables.size < 1) throw new RouterError("Path for object dispatcher must have at least one variable.");
199
195
  const callbacks = {
200
196
  dispatcher: (ctx, values) => {
201
- const tracer = this._getTracer();
202
- return tracer.startActiveSpan("activitypub.dispatch_object", {
197
+ return this._getTracer().startActiveSpan("activitypub.dispatch_object", {
203
198
  kind: SpanKind.SERVER,
204
199
  attributes: {
205
200
  "fedify.object.type": cls.typeId.href,
@@ -430,8 +425,7 @@ var FederationBuilderImpl = class {
430
425
  this.inboxPath = inboxPath;
431
426
  }
432
427
  if (sharedInboxPath != null) {
433
- const siVars = this.router.add(sharedInboxPath, "sharedInbox");
434
- if (siVars.size !== 0) throw new RouterError("Path for shared inbox must have no variables.");
428
+ if (this.router.add(sharedInboxPath, "sharedInbox").size !== 0) throw new RouterError("Path for shared inbox must have no variables.");
435
429
  }
436
430
  const listeners = this.inboxListeners = new InboxListenerSet();
437
431
  const setters = {
@@ -465,8 +459,7 @@ var FederationBuilderImpl = class {
465
459
  const routeName = `${collectionType}:${this.#uniqueCollectionId(name)}`;
466
460
  if (this.router.has(routeName)) throw new RouterError(`Collection dispatcher for ${strName} already set.`);
467
461
  if (this.collectionCallbacks[name] != null) throw new RouterError(`Collection dispatcher for ${strName} already set.`);
468
- const variables = this.router.add(path, routeName);
469
- if (variables.size < 1) throw new RouterError("Path for collection dispatcher must have at least one variable.");
462
+ if (this.router.add(path, routeName).size < 1) throw new RouterError("Path for collection dispatcher must have at least one variable.");
470
463
  const callbacks = { dispatcher };
471
464
  this.collectionCallbacks[name] = callbacks;
472
465
  this.collectionTypeIds[name] = itemType;
@@ -501,8 +494,7 @@ var FederationBuilderImpl = class {
501
494
  getCollectionPath(name, values) {
502
495
  if (!(name in this.collectionCallbacks)) return null;
503
496
  const routeName = this.#uniqueCollectionId(name);
504
- const path = this.router.build(`collection:${routeName}`, values) ?? this.router.build(`orderedCollection:${routeName}`, values);
505
- return path;
497
+ return this.router.build(`collection:${routeName}`, values) ?? this.router.build(`orderedCollection:${routeName}`, values);
506
498
  }
507
499
  setOutboxPermanentFailureHandler(handler) {
508
500
  this.outboxPermanentFailureHandler = handler;
@@ -528,6 +520,5 @@ var FederationBuilderImpl = class {
528
520
  function createFederationBuilder() {
529
521
  return new FederationBuilderImpl();
530
522
  }
531
-
532
523
  //#endregion
533
- export { FederationBuilderImpl, createFederationBuilder };
524
+ export { createFederationBuilder as n, FederationBuilderImpl as t };
@@ -1,19 +1,20 @@
1
-
2
- const { Temporal } = require("@js-temporal/polyfill");
3
- const { URLPattern } = require("urlpattern-polyfill");
4
-
5
- //#region rolldown:runtime
1
+ const { Temporal } = require("@js-temporal/polyfill");
2
+ const { URLPattern } = require("urlpattern-polyfill");
3
+ //#region \0rolldown/runtime.js
6
4
  var __create = Object.create;
7
5
  var __defProp = Object.defineProperty;
8
6
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
7
  var __getOwnPropNames = Object.getOwnPropertyNames;
10
8
  var __getProtoOf = Object.getPrototypeOf;
11
9
  var __hasOwnProp = Object.prototype.hasOwnProperty;
12
- var __export = (target, all) => {
10
+ var __exportAll = (all, no_symbols) => {
11
+ let target = {};
13
12
  for (var name in all) __defProp(target, name, {
14
13
  get: all[name],
15
14
  enumerable: true
16
15
  });
16
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
17
+ return target;
17
18
  };
18
19
  var __copyProps = (to, from, except, desc) => {
19
20
  if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
@@ -30,24 +31,22 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
30
31
  value: mod,
31
32
  enumerable: true
32
33
  }) : target, mod));
33
-
34
34
  //#endregion
35
-
36
- Object.defineProperty(exports, '__export', {
37
- enumerable: true,
38
- get: function () {
39
- return __export;
40
- }
35
+ Object.defineProperty(exports, "__exportAll", {
36
+ enumerable: true,
37
+ get: function() {
38
+ return __exportAll;
39
+ }
40
+ });
41
+ Object.defineProperty(exports, "__reExport", {
42
+ enumerable: true,
43
+ get: function() {
44
+ return __reExport;
45
+ }
41
46
  });
42
- Object.defineProperty(exports, '__reExport', {
43
- enumerable: true,
44
- get: function () {
45
- return __reExport;
46
- }
47
+ Object.defineProperty(exports, "__toESM", {
48
+ enumerable: true,
49
+ get: function() {
50
+ return __toESM;
51
+ }
47
52
  });
48
- Object.defineProperty(exports, '__toESM', {
49
- enumerable: true,
50
- get: function () {
51
- return __toESM;
52
- }
53
- });
@@ -1,17 +1,18 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
-
5
- //#region rolldown:runtime
1
+ import "@js-temporal/polyfill";
2
+ import "urlpattern-polyfill";
3
+ //#region \0rolldown/runtime.js
6
4
  var __defProp = Object.defineProperty;
7
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
8
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
9
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
10
- var __export = (target, all) => {
8
+ var __exportAll = (all, no_symbols) => {
9
+ let target = {};
11
10
  for (var name in all) __defProp(target, name, {
12
11
  get: all[name],
13
12
  enumerable: true
14
13
  });
14
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
15
+ return target;
15
16
  };
16
17
  var __copyProps = (to, from, except, desc) => {
17
18
  if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
@@ -24,6 +25,5 @@ var __copyProps = (to, from, except, desc) => {
24
25
  return to;
25
26
  };
26
27
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
27
-
28
28
  //#endregion
29
- export { __export, __reExport };
29
+ export { __reExport as n, __exportAll as t };