@fedify/fedify 1.7.8 → 1.7.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 (113) hide show
  1. package/dist/{actor-BP-NTJ2m.js → actor-C9RnX-Fl.js} +3 -3
  2. package/dist/{actor-E2ennwBD.js → actor-m_MgQ1Da.js} +179 -179
  3. package/dist/{authdocloader-Banw__l6.js → authdocloader-7OXAs5XI.js} +3 -3
  4. package/dist/{authdocloader-CFeH0dJ-.js → authdocloader-cdK4XSRT.js} +3 -3
  5. package/dist/{builder-EdzpUb9N.js → builder-C7nJE1zO.js} +3 -3
  6. package/dist/{client-rv6n0nKR.js → client-DXIsEekV.js} +1 -1
  7. package/dist/compat/transformers.test.d.ts +2 -1
  8. package/dist/compat/transformers.test.js +19 -18
  9. package/dist/{context-Buzj1YKD.js → context-Bts52fbz.js} +2 -2
  10. package/dist/{docloader-b8Rvguvo.js → docloader-BK2Fp3AJ.js} +2 -2
  11. package/dist/{docloader-C8mmLN-Y.js → docloader-CgkbWVNz.js} +2 -2
  12. package/dist/federation/builder.test.d.ts +2 -1
  13. package/dist/federation/builder.test.js +6 -5
  14. package/dist/federation/collection.test.d.ts +2 -1
  15. package/dist/federation/collection.test.js +2 -1
  16. package/dist/federation/handler.test.d.ts +2 -1
  17. package/dist/federation/handler.test.js +79 -20
  18. package/dist/federation/inbox.test.d.ts +2 -1
  19. package/dist/federation/inbox.test.js +5 -4
  20. package/dist/federation/keycache.test.d.ts +2 -1
  21. package/dist/federation/keycache.test.js +5 -4
  22. package/dist/federation/kv.test.d.ts +2 -1
  23. package/dist/federation/kv.test.js +2 -1
  24. package/dist/federation/middleware.test.d.ts +2 -1
  25. package/dist/federation/middleware.test.js +20 -19
  26. package/dist/federation/mod.js +10 -10
  27. package/dist/federation/mq.test.d.ts +2 -1
  28. package/dist/federation/mq.test.js +2 -1
  29. package/dist/federation/retry.test.d.ts +2 -1
  30. package/dist/federation/retry.test.js +2 -1
  31. package/dist/federation/router.test.d.ts +2 -1
  32. package/dist/federation/router.test.js +2 -1
  33. package/dist/federation/send.test.d.ts +2 -1
  34. package/dist/federation/send.test.js +11 -10
  35. package/dist/{http-DLI_ZQS-.js → http-CwQqD0nE.js} +3 -3
  36. package/dist/{http-BmfI6U39.js → http-D1IBucdD.js} +3 -3
  37. package/dist/{inbox-AwdJVoMZ.js → inbox-BrMkm2b5.js} +2 -2
  38. package/dist/{key-BNa6EpJl.js → key-C6phFgFq.js} +2 -2
  39. package/dist/{key-CLy1OKnR.js → key-Do-Pud3s.js} +4 -4
  40. package/dist/{key-CPSlDkCj.js → key-DtQ4rLnr.js} +3 -3
  41. package/dist/{key-y9w9Y2OM.js → key-ZtjFeVO8.js} +5 -5
  42. package/dist/{keycache-BPwY_Up0.js → keycache-B_99o7Nj.js} +1 -1
  43. package/dist/{keys-CtFc865v.js → keys-BgLpfFXK.js} +1 -1
  44. package/dist/{ld-D9kk1Uy2.js → ld-AzOj4-js.js} +3 -3
  45. package/dist/{lookup-DNXR408t.js → lookup-CBbanOdu.js} +3 -3
  46. package/dist/{lookup-Ozuw-rxN.js → lookup-ChtUDlB-.js} +1 -1
  47. package/dist/{lookup-Q9UB5zay.js → lookup-DJgGrigh.js} +1 -1
  48. package/dist/{middleware-DlU2_Djj.js → middleware-BS_et69x.js} +29 -29
  49. package/dist/middleware-BVMzYv1x.js +33 -0
  50. package/dist/middleware-CnpuCK_K.js +17 -0
  51. package/dist/{middleware-DaSuFmHu.js → middleware-R0UobiAQ.js} +24 -24
  52. package/dist/mod.js +10 -10
  53. package/dist/nodeinfo/client.test.d.ts +2 -1
  54. package/dist/nodeinfo/client.test.js +4 -3
  55. package/dist/nodeinfo/handler.test.d.ts +2 -1
  56. package/dist/nodeinfo/handler.test.js +20 -19
  57. package/dist/nodeinfo/mod.js +2 -2
  58. package/dist/nodeinfo/semver.test.d.ts +2 -1
  59. package/dist/nodeinfo/semver.test.js +2 -1
  60. package/dist/nodeinfo/types.test.d.ts +2 -1
  61. package/dist/nodeinfo/types.test.js +2 -1
  62. package/dist/{owner-DF6Fg4-s.js → owner-Ces3Cs3s.js} +3 -3
  63. package/dist/{proof-Blo9MEVW.js → proof-BKV4HiE8.js} +3 -3
  64. package/dist/{proof-13QPysOU.js → proof-BOQF8Trx.js} +3 -3
  65. package/dist/runtime/authdocloader.test.d.ts +2 -1
  66. package/dist/runtime/authdocloader.test.js +10 -9
  67. package/dist/runtime/docloader.test.d.ts +2 -1
  68. package/dist/runtime/docloader.test.js +27 -2
  69. package/dist/runtime/key.test.d.ts +2 -1
  70. package/dist/runtime/key.test.js +7 -6
  71. package/dist/runtime/langstr.test.d.ts +2 -1
  72. package/dist/runtime/langstr.test.js +2 -1
  73. package/dist/runtime/mod.js +6 -6
  74. package/dist/runtime/multibase/multibase.test.d.ts +2 -1
  75. package/dist/runtime/multibase/multibase.test.js +2 -1
  76. package/dist/runtime/url.test.d.ts +2 -1
  77. package/dist/runtime/url.test.js +2 -1
  78. package/dist/{send-CaL5Xv1F.js → send-aAmnTqe8.js} +2 -2
  79. package/dist/sig/http.test.d.ts +2 -1
  80. package/dist/sig/http.test.js +9 -8
  81. package/dist/sig/key.test.d.ts +2 -1
  82. package/dist/sig/key.test.js +8 -7
  83. package/dist/sig/ld.test.d.ts +2 -1
  84. package/dist/sig/ld.test.js +9 -8
  85. package/dist/sig/mod.js +6 -6
  86. package/dist/sig/owner.test.d.ts +2 -1
  87. package/dist/sig/owner.test.js +10 -9
  88. package/dist/sig/proof.test.d.ts +2 -1
  89. package/dist/sig/proof.test.js +9 -8
  90. package/dist/testing/docloader.test.d.ts +2 -1
  91. package/dist/testing/docloader.test.js +2 -1
  92. package/dist/{types-CGJsS8Cg.js → types-DBIKpLqH.js} +1 -1
  93. package/dist/vocab/actor.test.d.ts +2 -1
  94. package/dist/vocab/actor.test.js +6 -6
  95. package/dist/vocab/lookup.test.d.ts +2 -1
  96. package/dist/vocab/lookup.test.js +6 -5
  97. package/dist/vocab/mod.js +4 -4
  98. package/dist/vocab/type.test.d.ts +2 -1
  99. package/dist/vocab/type.test.js +4 -3
  100. package/dist/vocab/vocab.test.d.ts +2 -1
  101. package/dist/vocab/vocab.test.js +19 -18
  102. package/dist/{vocab-dDpPQ0fF.js → vocab-BOerhowX.js} +178 -178
  103. package/dist/{vocab-C3GyhklV.js → vocab-F6vbRsQh.js} +3 -3
  104. package/dist/webfinger/handler.test.d.ts +2 -1
  105. package/dist/webfinger/handler.test.js +20 -19
  106. package/dist/webfinger/lookup.test.d.ts +2 -1
  107. package/dist/webfinger/lookup.test.js +4 -3
  108. package/dist/webfinger/mod.js +2 -2
  109. package/dist/x/cfworkers.test.d.ts +2 -1
  110. package/dist/x/cfworkers.test.js +2 -1
  111. package/package.json +1 -1
  112. package/dist/middleware-B9LOv9Q4.js +0 -17
  113. package/dist/middleware-CPNmYc_Q.js +0 -33
@@ -4,10 +4,10 @@
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
6
  import { assertEquals } from "../assert_equals-CTYbeopb.js";
7
- import "../docloader-C8mmLN-Y.js";
7
+ import "../docloader-CgkbWVNz.js";
8
8
  import "../url-kTAI6_KP.js";
9
9
  import "../multibase-DeCHcK8L.js";
10
- import { Person } from "../vocab-dDpPQ0fF.js";
10
+ import { Person } from "../vocab-BOerhowX.js";
11
11
  import "../langstr-DbWheeIS.js";
12
12
  import { getTypeId } from "../type-D2s5lmbZ.js";
13
13
  import { test } from "../testing-BZ0dJ4qn.js";
@@ -26,4 +26,5 @@ test("getTypeId()", () => {
26
26
  assertEquals(getTypeId(obj5), void 0);
27
27
  });
28
28
 
29
- //#endregion
29
+ //#endregion
30
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -6,10 +6,10 @@
6
6
  import { assertEquals, isWindows } from "../assert_equals-CTYbeopb.js";
7
7
  import { assert } from "../assert-DmFG7ppO.js";
8
8
  import { assertInstanceOf } from "../assert_instance_of-CF09JHYM.js";
9
- import "../docloader-C8mmLN-Y.js";
9
+ import "../docloader-CgkbWVNz.js";
10
10
  import "../url-kTAI6_KP.js";
11
11
  import { decode } from "../multibase-DeCHcK8L.js";
12
- import { Activity, Announce, Create, CryptographicKey, Follow, Hashtag, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, vocab_exports } from "../vocab-dDpPQ0fF.js";
12
+ import { Activity, Announce, Create, CryptographicKey, Follow, Hashtag, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, vocab_exports } from "../vocab-BOerhowX.js";
13
13
  import { LanguageString } from "../langstr-DbWheeIS.js";
14
14
  import { test } from "../testing-BZ0dJ4qn.js";
15
15
  import "../std__assert-vp0TKMS1.js";
@@ -18,20 +18,20 @@ import "../assert_is_error-nrwA1GeT.js";
18
18
  import { assertNotEquals } from "../assert_not_equals-Dc7y-V5Q.js";
19
19
  import { assertThrows } from "../assert_throws-Cn9C6Jur.js";
20
20
  import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
21
- import { ed25519PublicKey, rsaPublicKey1 } from "../keys-CtFc865v.js";
21
+ import { ed25519PublicKey, rsaPublicKey1 } from "../keys-BgLpfFXK.js";
22
22
  import { pascalCase } from "@es-toolkit/es-toolkit";
23
23
  import { parseLanguageTag } from "@phensley/language-tag";
24
24
  import { Validator } from "@cfworker/json-schema";
25
25
  import { readFile, readdir } from "node:fs/promises";
26
26
  import { join } from "node:path";
27
27
 
28
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/_common/assert_path.js
28
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/assert_path.js
29
29
  function assertPath(path) {
30
30
  if (typeof path !== "string") throw new TypeError(`Path must be a string, received "${JSON.stringify(path)}"`);
31
31
  }
32
32
 
33
33
  //#endregion
34
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/_common/from_file_url.js
34
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/from_file_url.js
35
35
  function assertArg$2(url) {
36
36
  url = url instanceof URL ? url : new URL(url);
37
37
  if (url.protocol !== "file:") throw new TypeError(`URL must be a file URL: received "${url.protocol}"`);
@@ -39,7 +39,7 @@ function assertArg$2(url) {
39
39
  }
40
40
 
41
41
  //#endregion
42
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/posix/from_file_url.js
42
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/posix/from_file_url.js
43
43
  /**
44
44
  * Converts a file URL to a path string.
45
45
  *
@@ -59,7 +59,7 @@ function assertArg$2(url) {
59
59
  }
60
60
 
61
61
  //#endregion
62
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/_common/strip_trailing_separators.js
62
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/strip_trailing_separators.js
63
63
  function stripTrailingSeparators(segment, isSep) {
64
64
  if (segment.length <= 1) return segment;
65
65
  let end = segment.length;
@@ -69,18 +69,18 @@ function stripTrailingSeparators(segment, isSep) {
69
69
  }
70
70
 
71
71
  //#endregion
72
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/_common/constants.js
72
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/constants.js
73
73
  const CHAR_DOT = 46;
74
74
  const CHAR_FORWARD_SLASH = 47;
75
75
 
76
76
  //#endregion
77
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/posix/_util.js
77
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/posix/_util.js
78
78
  function isPosixPathSeparator(code) {
79
79
  return code === CHAR_FORWARD_SLASH;
80
80
  }
81
81
 
82
82
  //#endregion
83
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/windows/from_file_url.js
83
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/windows/from_file_url.js
84
84
  /**
85
85
  * Converts a file URL to a path string.
86
86
  *
@@ -104,14 +104,14 @@ function isPosixPathSeparator(code) {
104
104
  }
105
105
 
106
106
  //#endregion
107
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/_common/dirname.js
107
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/dirname.js
108
108
  function assertArg$1(path) {
109
109
  assertPath(path);
110
110
  if (path.length === 0) return ".";
111
111
  }
112
112
 
113
113
  //#endregion
114
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/posix/dirname.js
114
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/posix/dirname.js
115
115
  /**
116
116
  * Return the directory path of a `path`.
117
117
  *
@@ -155,7 +155,7 @@ function assertArg$1(path) {
155
155
  }
156
156
 
157
157
  //#endregion
158
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/from_file_url.js
158
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/from_file_url.js
159
159
  /**
160
160
  * Converts a file URL to a path string.
161
161
  *
@@ -180,14 +180,14 @@ function assertArg$1(path) {
180
180
  }
181
181
 
182
182
  //#endregion
183
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/_common/normalize.js
183
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/normalize.js
184
184
  function assertArg(path) {
185
185
  assertPath(path);
186
186
  if (path.length === 0) return ".";
187
187
  }
188
188
 
189
189
  //#endregion
190
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/_common/normalize_string.js
190
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/normalize_string.js
191
191
  function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
192
192
  let res = "";
193
193
  let lastSegmentLength = 0;
@@ -240,7 +240,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
240
240
  }
241
241
 
242
242
  //#endregion
243
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/posix/normalize.js
243
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/posix/normalize.js
244
244
  /**
245
245
  * Normalize the `path`, resolving `'..'` and `'.'` segments.
246
246
  * Note that resolving these segments does not necessarily mean that all will be eliminated.
@@ -288,7 +288,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
288
288
  }
289
289
 
290
290
  //#endregion
291
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/posix/join.js
291
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/posix/join.js
292
292
  /**
293
293
  * Join all given a sequence of `paths`,then normalizes the resulting path.
294
294
  *
@@ -3303,4 +3303,5 @@ for (const typeUri in types) {
3303
3303
  });
3304
3304
  }
3305
3305
 
3306
- //#endregion
3306
+ //#endregion
3307
+ export { };