@fedify/fedify 1.6.1-dev.856 → 1.6.1-dev.871

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 (457) hide show
  1. package/dist/actor-CM3gfkH6.js +36173 -0
  2. package/dist/{vocab/actor.js → actor-D7NMuy45.js} +5 -4
  3. package/dist/{vocab/actor.d.ts → actor-lFlm8FYo.d.ts} +2 -2
  4. package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js → assert-Dv75vaGI.js} +2 -1
  5. package/dist/assert_equals-ClvzlhZu.js +1020 -0
  6. package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js → assert_instance_of--9UCVKsi.js} +2 -1
  7. package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_is_error.js → assert_is_error-D162gXcM.js} +2 -2
  8. package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_not_equals.js → assert_not_equals-Cyf5m9Ke.js} +2 -2
  9. package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js → assert_rejects-FOHCtlD2.js} +23 -3
  10. package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js → assert_throws-CRfQJvVx.js} +3 -2
  11. package/dist/{runtime/authdocloader.js → authdocloader-BKZDAq91.js} +5 -4
  12. package/dist/authdocloader-OfYZlI31.js +51 -0
  13. package/dist/{federation/builder.js → builder-DSTiU6ue.js} +18 -17
  14. package/dist/{_virtual/rolldown_runtime.js → chunk-HsBuZ-b2.js} +1 -0
  15. package/dist/client-Dw1pCSIt.d.ts +299 -0
  16. package/dist/{nodeinfo/client.js → client-RN5A1Qgw.js} +3 -2
  17. package/dist/{federation/collection.js → collection-QaGK9TVn.js} +1 -0
  18. package/dist/compat/mod.d.ts +12 -2
  19. package/dist/compat/mod.js +2 -1
  20. package/dist/compat/transformers.test.d.ts +2 -1
  21. package/dist/compat/transformers.test.js +32 -8
  22. package/dist/context-CzJXjNR8.d.ts +2034 -0
  23. package/dist/{testing/context.js → context-DZKXS0DV.js} +5 -4
  24. package/dist/{x/denokv.js → denokv-iB_ggPGm.js} +3 -1
  25. package/dist/{testing/docloader.js → docloader-09nVWLAZ.js} +1 -0
  26. package/dist/{runtime/contexts.js → docloader-BcMxZ9JH.js} +420 -1
  27. package/dist/docloader-DDFam5Xn.js +4594 -0
  28. package/dist/{runtime/docloader.d.ts → docloader-DTRsVZPo.d.ts} +1 -1
  29. package/dist/esm-BxIKwi-M.js +1221 -0
  30. package/dist/federation/builder.test.d.ts +2 -1
  31. package/dist/federation/builder.test.js +22 -7
  32. package/dist/federation/collection.test.d.ts +2 -1
  33. package/dist/federation/collection.test.js +11 -3
  34. package/dist/federation/handler.test.d.ts +2 -1
  35. package/dist/federation/handler.test.js +40 -12
  36. package/dist/federation/inbox.test.d.ts +2 -1
  37. package/dist/federation/inbox.test.js +12 -5
  38. package/dist/federation/keycache.test.d.ts +2 -1
  39. package/dist/federation/keycache.test.js +12 -7
  40. package/dist/federation/kv.test.d.ts +2 -1
  41. package/dist/federation/kv.test.js +11 -3
  42. package/dist/federation/middleware.test.d.ts +2 -1
  43. package/dist/federation/middleware.test.js +107 -26
  44. package/dist/federation/mod.d.ts +13 -13
  45. package/dist/federation/mod.js +12 -8
  46. package/dist/federation/mq.test.d.ts +2 -1
  47. package/dist/federation/mq.test.js +153 -6
  48. package/dist/federation/retry.test.d.ts +2 -1
  49. package/dist/federation/retry.test.js +5 -5
  50. package/dist/federation/router.test.d.ts +2 -1
  51. package/dist/federation/router.test.js +24 -4
  52. package/dist/federation/send.test.d.ts +2 -1
  53. package/dist/federation/send.test.js +25 -13
  54. package/dist/{federation/mq.js → federation-Bmj7soSg.js} +47 -1
  55. package/dist/{node_modules/.pnpm/@jsr_hongminhee__deno-mock-fetch@0.3.2/node_modules/@jsr/hongminhee__deno-mock-fetch/router.js → hongminhee__deno-mock-fetch-DJKLj_H-.js} +96 -1
  56. package/dist/{sig/http.js → http-BFvv3ZId.js} +5 -4
  57. package/dist/http-BImJcLfv.d.ts +258 -0
  58. package/dist/http-v1TqJ9Qa.js +720 -0
  59. package/dist/{federation/inbox.js → inbox-XV_W1qfB.js} +10 -4
  60. package/dist/key-BNM-ickE.js +16 -0
  61. package/dist/key-CVIQ7iUB.js +262 -0
  62. package/dist/{sig/key.js → key-DIk4Rloj.js} +2 -4
  63. package/dist/key-DiVhk5ik.js +10 -0
  64. package/dist/{federation/keycache.js → keycache-uTxsh7dt.js} +2 -1
  65. package/dist/{testing/keys.js → keys-D7lJqunm.js} +2 -2
  66. package/dist/{federation/kv.js → kv-DohFOP2C.js} +1 -0
  67. package/dist/{runtime/langstr.js → langstr-DbWheeIS.js} +1 -0
  68. package/dist/{sig/ld.js → ld-bOhcKpmk.js} +6 -6
  69. package/dist/{webfinger/lookup.js → lookup-B5KVF6HM.js} +1 -3
  70. package/dist/lookup-D3xTID-6.js +131 -0
  71. package/dist/{webfinger/jrd.d.ts → lookup-DAfStZtI.d.ts} +41 -1
  72. package/dist/{vocab/lookup.js → lookup-D_v0FFGL.js} +5 -5
  73. package/dist/middleware-BFedQWFA.js +33 -0
  74. package/dist/middleware-BiYIqI0b.js +3525 -0
  75. package/dist/{federation/middleware.js → middleware-CPAfRtS5.js} +957 -105
  76. package/dist/middleware-pAGwVkRf.js +17 -0
  77. package/dist/mod-1pDWKvUL.d.ts +2 -0
  78. package/dist/{runtime/key.d.ts → mod-BxwG4X3V.d.ts} +52 -7
  79. package/dist/{compat/transformers.d.ts → mod-CeLnlsqE.d.ts} +3 -4
  80. package/dist/{vocab/lookup.d.ts → mod-DysVoXOu.d.ts} +98 -3
  81. package/dist/mod-GIh5OYxW.d.ts +2 -0
  82. package/dist/{sig/ld.d.ts → mod-XT0mRthe.d.ts} +126 -4
  83. package/dist/mod-g0xFzAP9.d.ts +2 -0
  84. package/dist/mod.d.ts +18 -34
  85. package/dist/mod.js +17 -27
  86. package/dist/multibase-DeCHcK8L.js +316 -0
  87. package/dist/nodeinfo/client.test.d.ts +2 -1
  88. package/dist/nodeinfo/client.test.js +15 -4
  89. package/dist/nodeinfo/handler.test.d.ts +2 -1
  90. package/dist/nodeinfo/handler.test.js +39 -7
  91. package/dist/nodeinfo/mod.d.ts +4 -3
  92. package/dist/nodeinfo/mod.js +3 -3
  93. package/dist/nodeinfo/semver.test.d.ts +2 -1
  94. package/dist/nodeinfo/semver.test.js +11 -4
  95. package/dist/nodeinfo/types.test.d.ts +2 -1
  96. package/dist/nodeinfo/types.test.js +12 -4
  97. package/dist/{sig/owner.d.ts → owner-BjpObx-L.d.ts} +4 -6
  98. package/dist/{sig/owner.js → owner-tYPzPLFs.js} +4 -4
  99. package/dist/proof-D0cf4R25.js +595 -0
  100. package/dist/{sig/proof.js → proof-DIsZ1VTb.js} +5 -4
  101. package/dist/{federation/retry.js → retry-BiIhZWgD.js} +1 -0
  102. package/dist/{federation/router.js → router-D_aVZZUc.js} +20 -1
  103. package/dist/runtime/authdocloader.test.d.ts +2 -1
  104. package/dist/runtime/authdocloader.test.js +24 -9
  105. package/dist/runtime/docloader.test.d.ts +2 -1
  106. package/dist/runtime/docloader.test.js +15 -11
  107. package/dist/runtime/key.test.d.ts +2 -1
  108. package/dist/runtime/key.test.js +19 -4
  109. package/dist/runtime/langstr.test.d.ts +2 -1
  110. package/dist/runtime/langstr.test.js +11 -3
  111. package/dist/runtime/mod.d.ts +5 -4
  112. package/dist/runtime/mod.js +7 -4
  113. package/dist/runtime/multibase/multibase.test.d.ts +2 -1
  114. package/dist/runtime/multibase/multibase.test.js +11 -5
  115. package/dist/runtime/url.test.d.ts +2 -1
  116. package/dist/runtime/url.test.js +7 -6
  117. package/dist/{nodeinfo/semver.js → semver-CbbIgUsa.js} +1 -0
  118. package/dist/{federation/send.js → send-CFBOnY61.js} +3 -2
  119. package/dist/sig/http.test.d.ts +2 -1
  120. package/dist/sig/http.test.js +23 -12
  121. package/dist/sig/key.test.d.ts +2 -1
  122. package/dist/sig/key.test.js +21 -8
  123. package/dist/sig/ld.test.d.ts +2 -1
  124. package/dist/sig/ld.test.js +19 -11
  125. package/dist/sig/mod.d.ts +7 -5
  126. package/dist/sig/mod.js +7 -5
  127. package/dist/sig/owner.test.d.ts +2 -1
  128. package/dist/sig/owner.test.js +23 -9
  129. package/dist/sig/proof.test.d.ts +2 -1
  130. package/dist/sig/proof.test.js +22 -10
  131. package/dist/std__assert-CaBUULmX.js +151 -0
  132. package/dist/testing/docloader.test.d.ts +2 -1
  133. package/dist/testing/docloader.test.js +11 -3
  134. package/dist/testing/mod.d.ts +1 -0
  135. package/dist/testing/mod.js +2 -136
  136. package/dist/testing-jcGLO9Lp.js +143 -0
  137. package/dist/{compat/transformers.js → transformers-jxj-4o2K.js} +1 -1
  138. package/dist/{vocab/type.js → type-D2s5lmbZ.js} +1 -0
  139. package/dist/{nodeinfo/types.js → types-CqoqWDkp.js} +2 -1
  140. package/dist/types-D4p7qK8A.js +457 -0
  141. package/dist/{runtime/url.js → url-kTAI6_KP.js} +1 -0
  142. package/dist/vocab/actor.test.d.ts +2 -1
  143. package/dist/vocab/actor.test.js +5853 -14
  144. package/dist/vocab/lookup.test.d.ts +2 -1
  145. package/dist/vocab/lookup.test.js +20 -7
  146. package/dist/vocab/mod.d.ts +5 -5
  147. package/dist/vocab/mod.js +4 -5
  148. package/dist/vocab/type.test.d.ts +2 -1
  149. package/dist/vocab/type.test.js +9 -4
  150. package/dist/vocab/vocab.test.d.ts +2 -1
  151. package/dist/vocab/vocab.test.js +2440 -15
  152. package/dist/vocab-BSNlVPPE.js +172 -0
  153. package/dist/{vocab/vocab.js → vocab-BxrrllKY.js} +331 -182
  154. package/dist/{vocab/vocab.d.ts → vocab-CLWdoo7y.d.ts} +21 -9
  155. package/dist/webfinger/handler.test.d.ts +2 -1
  156. package/dist/webfinger/handler.test.js +39 -7
  157. package/dist/webfinger/lookup.test.d.ts +2 -1
  158. package/dist/webfinger/lookup.test.js +14 -4
  159. package/dist/webfinger/mod.d.ts +4 -2
  160. package/dist/webfinger/mod.js +3 -1
  161. package/dist/x/cfworkers.d.ts +49 -0
  162. package/dist/x/cfworkers.js +73 -0
  163. package/dist/x/cfworkers.test.d.ts +3 -0
  164. package/dist/x/cfworkers.test.js +153 -0
  165. package/dist/x/hono.d.ts +11 -2
  166. package/dist/x/sveltekit.d.ts +11 -2
  167. package/package.json +6 -1
  168. package/dist/codegen/fs.js +0 -23
  169. package/dist/codegen/schema.js +0 -88
  170. package/dist/codegen/type.js +0 -392
  171. package/dist/compat/types.d.ts +0 -18
  172. package/dist/deno.js +0 -137
  173. package/dist/federation/builder.d.ts +0 -19
  174. package/dist/federation/callback.d.ts +0 -211
  175. package/dist/federation/collection.d.ts +0 -36
  176. package/dist/federation/context.d.ts +0 -757
  177. package/dist/federation/federation.d.ts +0 -689
  178. package/dist/federation/handler.d.ts +0 -44
  179. package/dist/federation/handler.js +0 -543
  180. package/dist/federation/middleware.d.ts +0 -101
  181. package/dist/federation/negotiation.js +0 -63
  182. package/dist/federation/retry.d.ts +0 -71
  183. package/dist/federation/router.d.ts +0 -91
  184. package/dist/federation/send.d.ts +0 -29
  185. package/dist/node_modules/.pnpm/@jsr_hongminhee__deno-mock-fetch@0.3.2/node_modules/@jsr/hongminhee__deno-mock-fetch/mod.js +0 -101
  186. package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js +0 -49
  187. package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_exists.js +0 -32
  188. package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js +0 -26
  189. package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_greater.js +0 -34
  190. package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_greater_or_equal.js +0 -34
  191. package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_strict_equals.js +0 -53
  192. package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_string_includes.js +0 -32
  193. package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assertion_error.js +0 -33
  194. package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/equal.js +0 -79
  195. package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/mod.js +0 -19
  196. package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/assertion_state.js +0 -177
  197. package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/build_message.js +0 -101
  198. package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/diff.js +0 -274
  199. package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/diff_str.js +0 -148
  200. package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/format.js +0 -37
  201. package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/mod.js +0 -10
  202. package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/styles.js +0 -172
  203. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/assert_path.js +0 -11
  204. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/constants.js +0 -10
  205. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/dirname.js +0 -14
  206. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/from_file_url.js +0 -13
  207. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/normalize.js +0 -14
  208. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/normalize_string.js +0 -60
  209. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/strip_trailing_separators.js +0 -15
  210. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_os.js +0 -9
  211. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/extname.js +0 -4
  212. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/format.js +0 -4
  213. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/from_file_url.js +0 -34
  214. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/glob_to_regexp.js +0 -4
  215. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/is_absolute.js +0 -4
  216. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/join.js +0 -4
  217. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/join_globs.js +0 -4
  218. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/mod.js +0 -5
  219. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/normalize.js +0 -4
  220. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/normalize_glob.js +0 -4
  221. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/parse.js +0 -4
  222. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/_util.js +0 -13
  223. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/dirname.js +0 -54
  224. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/from_file_url.js +0 -27
  225. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/join.js +0 -47
  226. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/normalize.js +0 -59
  227. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/relative.js +0 -4
  228. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/resolve.js +0 -4
  229. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/to_file_url.js +0 -4
  230. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/to_namespaced_path.js +0 -4
  231. package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/windows/from_file_url.js +0 -31
  232. package/dist/node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/_strip.js +0 -17
  233. package/dist/node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/dirname.js +0 -38
  234. package/dist/node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/join.js +0 -36
  235. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_chars.js +0 -47
  236. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_dumper_state.js +0 -4
  237. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_loader_state.js +0 -884
  238. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_schema.js +0 -120
  239. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/binary.js +0 -92
  240. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/bool.js +0 -41
  241. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/float.js +0 -58
  242. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/int.js +0 -118
  243. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/map.js +0 -18
  244. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/merge.js +0 -14
  245. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/nil.js +0 -23
  246. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/omap.js +0 -31
  247. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/pairs.js +0 -22
  248. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/regexp.js +0 -29
  249. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/seq.js +0 -14
  250. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/set.js +0 -17
  251. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/str.js +0 -14
  252. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/timestamp.js +0 -57
  253. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/undefined.js +0 -24
  254. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_utils.js +0 -17
  255. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/mod.js +0 -5
  256. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/parse.js +0 -54
  257. package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/stringify.js +0 -4
  258. package/dist/node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/dist/index.js +0 -68
  259. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/AlwaysShrinkableArbitrary.js +0 -30
  260. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ArrayArbitrary.js +0 -203
  261. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ArrayInt64Arbitrary.js +0 -122
  262. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/BigIntArbitrary.js +0 -63
  263. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ConstantArbitrary.js +0 -58
  264. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/FrequencyArbitrary.js +0 -136
  265. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/IntegerArbitrary.js +0 -64
  266. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/LazyArbitrary.js +0 -29
  267. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/StringUnitArbitrary.js +0 -45
  268. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/TupleArbitrary.js +0 -74
  269. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/WithShrinkFromOtherArbitrary.js +0 -40
  270. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/AnyArbitraryBuilder.js +0 -97
  271. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/BoxedArbitraryBuilder.js +0 -13
  272. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/CharacterArbitraryBuilder.js +0 -17
  273. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/RestrictedIntegerArbitraryBuilder.js +0 -23
  274. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/TypedIntArrayArbitraryBuilder.js +0 -32
  275. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/data/GraphemeRanges.js +0 -990
  276. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/ArrayInt64.js +0 -98
  277. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/BiasNumericRange.js +0 -53
  278. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/BuildSlicedGenerator.js +0 -15
  279. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/CustomEqualSet.js +0 -27
  280. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/DepthContext.js +0 -24
  281. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/DoubleHelpers.js +0 -96
  282. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/DoubleOnlyHelpers.js +0 -25
  283. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/FloatHelpers.js +0 -57
  284. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/FloatOnlyHelpers.js +0 -26
  285. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/FloatingOnlyHelpers.js +0 -26
  286. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/GraphemeRangesHelpers.js +0 -58
  287. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/MaxLengthFromMinLength.js +0 -72
  288. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/NoUndefinedAsContext.js +0 -16
  289. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/QualifiedObjectConstraints.js +0 -58
  290. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/SameValueSet.js +0 -41
  291. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/SameValueZeroSet.js +0 -33
  292. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/ShrinkBigInt.js +0 -37
  293. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/ShrinkInteger.js +0 -41
  294. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/SlicesForStringBuilder.js +0 -74
  295. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/StrictlyEqualSet.js +0 -38
  296. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/TokenizeString.js +0 -47
  297. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/implementations/NoopSlicedGenerator.js +0 -21
  298. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/implementations/SlicedBasedGenerator.js +0 -53
  299. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/ArrayToMap.js +0 -16
  300. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/ArrayToSet.js +0 -16
  301. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/CodePointsToString.js +0 -17
  302. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/IndexToCharString.js +0 -20
  303. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/IndexToMappedConstant.js +0 -69
  304. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/IndexToPrintableIndex.js +0 -18
  305. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/KeyValuePairsToObject.js +0 -42
  306. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/PatternsToString.js +0 -32
  307. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/TimeToDate.js +0 -30
  308. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/UnboxedToBoxed.js +0 -22
  309. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/anything.js +0 -14
  310. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/array.js +0 -22
  311. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/bigInt.js +0 -38
  312. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/boolean.js +0 -24
  313. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/constant.js +0 -13
  314. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/constantFrom.js +0 -14
  315. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/date.js +0 -30
  316. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/dictionary.js +0 -27
  317. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/double.js +0 -54
  318. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/float.js +0 -60
  319. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/float32Array.js +0 -22
  320. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/float64Array.js +0 -22
  321. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/fullUnicode.js +0 -24
  322. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/fullUnicodeString.js +0 -20
  323. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/int16Array.js +0 -15
  324. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/int32Array.js +0 -15
  325. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/int8Array.js +0 -15
  326. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/integer.js +0 -26
  327. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/letrec.js +0 -28
  328. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/mapToConstant.js +0 -26
  329. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/maxSafeInteger.js +0 -15
  330. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/nat.js +0 -17
  331. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/noBias.js +0 -11
  332. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/oneof.js +0 -31
  333. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/sparseArray.js +0 -68
  334. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/string.js +0 -32
  335. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/tuple.js +0 -13
  336. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint16Array.js +0 -15
  337. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint32Array.js +0 -15
  338. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint8Array.js +0 -15
  339. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint8ClampedArray.js +0 -15
  340. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uniqueArray.js +0 -47
  341. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/arbitrary/definition/Arbitrary.js +0 -184
  342. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/arbitrary/definition/Value.js +0 -31
  343. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js +0 -19
  344. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/IRawProperty.js +0 -12
  345. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/IgnoreEqualValuesProperty.js +0 -52
  346. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/Property.generic.js +0 -77
  347. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/Property.js +0 -22
  348. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/SkipAfterProperty.js +0 -61
  349. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/TimeoutProperty.js +0 -52
  350. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/UnbiasedProperty.js +0 -29
  351. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/DecorateProperty.js +0 -26
  352. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/Runner.js +0 -61
  353. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/RunnerIterator.js +0 -47
  354. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/SourceValuesIterator.js +0 -35
  355. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/Tosser.js +0 -33
  356. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/GlobalParameters.js +0 -12
  357. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/QualifiedParameters.js +0 -121
  358. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/VerbosityLevel.js +0 -14
  359. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/reporter/ExecutionStatus.js +0 -14
  360. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/reporter/RunExecution.js +0 -116
  361. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/utils/PathWalker.js +0 -24
  362. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/utils/RunDetailsFormatter.js +0 -135
  363. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/symbols.js +0 -15
  364. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/random/generator/Random.js +0 -48
  365. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/LazyIterableIterator.js +0 -24
  366. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/Stream.js +0 -84
  367. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/StreamHelpers.js +0 -50
  368. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/apply.js +0 -28
  369. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/globals.js +0 -309
  370. package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/stringify.js +0 -217
  371. package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/CallHistory.js +0 -94
  372. package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/FetchMock.js +0 -143
  373. package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/IsSubsetOf.js +0 -103
  374. package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/Matchers.js +0 -195
  375. package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/RequestUtils.js +0 -83
  376. package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/Route.js +0 -137
  377. package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/Router.js +0 -181
  378. package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/StatusTextMap.js +0 -73
  379. package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/TypeDescriptor.js +0 -97
  380. package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/index.js +0 -11
  381. package/dist/node_modules/.pnpm/glob-to-regexp@0.4.1/node_modules/glob-to-regexp/index.js +0 -87
  382. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformArrayIntDistribution.js +0 -20
  383. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformBigIntDistribution.js +0 -20
  384. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformIntDistribution.js +0 -20
  385. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformArrayIntDistribution.js +0 -20
  386. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformBigIntDistribution.js +0 -32
  387. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformIntDistribution.js +0 -43
  388. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/ArrayInt.js +0 -139
  389. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/UnsafeUniformArrayIntDistributionInternal.js +0 -26
  390. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/UnsafeUniformIntDistributionInternal.js +0 -14
  391. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/LinearCongruential.js +0 -53
  392. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/MersenneTwister.js +0 -114
  393. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/RandomGenerator.js +0 -26
  394. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/XorShift.js +0 -83
  395. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/XoroShiro.js +0 -83
  396. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/pure-rand-default.js +0 -44
  397. package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/pure-rand.js +0 -22
  398. package/dist/node_modules/.pnpm/regexparam@3.0.0/node_modules/regexparam/dist/index.js +0 -37
  399. package/dist/nodeinfo/client.d.ts +0 -96
  400. package/dist/nodeinfo/handler.js +0 -46
  401. package/dist/nodeinfo/semver.d.ts +0 -78
  402. package/dist/nodeinfo/types.d.ts +0 -140
  403. package/dist/runtime/authdocloader.d.ts +0 -56
  404. package/dist/runtime/docloader.js +0 -291
  405. package/dist/runtime/key.js +0 -156
  406. package/dist/runtime/langstr.d.ts +0 -24
  407. package/dist/runtime/multibase/base.js +0 -32
  408. package/dist/runtime/multibase/constants.js +0 -172
  409. package/dist/runtime/multibase/index.js +0 -57
  410. package/dist/runtime/multibase/rfc4648.js +0 -61
  411. package/dist/runtime/multibase/util.js +0 -21
  412. package/dist/sig/http.d.ts +0 -143
  413. package/dist/sig/key.d.ts +0 -125
  414. package/dist/sig/proof.d.ts +0 -134
  415. package/dist/testing/fixtures/example.com/person.js +0 -29
  416. package/dist/testing/fixtures/example.com/person2.js +0 -48
  417. package/dist/vocab/constants.d.ts +0 -24
  418. package/dist/vocab/constants.js +0 -17
  419. package/dist/vocab/type.d.ts +0 -107
  420. package/dist/webfinger/handler.js +0 -140
  421. package/dist/webfinger/lookup.d.ts +0 -47
  422. /package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_object_match.js → compat-Bb5myD13.js} +0 -0
  423. /package/dist/{testing/fixtures → fixtures}/activitypub.academy/users/brauca_darradiul.json +0 -0
  424. /package/dist/{testing/fixtures → fixtures}/example.com/announce.json +0 -0
  425. /package/dist/{testing/fixtures → fixtures}/example.com/collection.json +0 -0
  426. /package/dist/{testing/fixtures → fixtures}/example.com/create.json +0 -0
  427. /package/dist/{testing/fixtures → fixtures}/example.com/cross-origin-actor.json +0 -0
  428. /package/dist/{testing/fixtures → fixtures}/example.com/hong-gildong.json +0 -0
  429. /package/dist/{testing/fixtures → fixtures}/example.com/invite.json +0 -0
  430. /package/dist/{testing/fixtures → fixtures}/example.com/key.json +0 -0
  431. /package/dist/{testing/fixtures → fixtures}/example.com/key2.json +0 -0
  432. /package/dist/{testing/fixtures → fixtures}/example.com/object.json +0 -0
  433. /package/dist/{testing/fixtures → fixtures}/example.com/orderedcollectionpage.json +0 -0
  434. /package/dist/{testing/fixtures → fixtures}/example.com/paged/a.json +0 -0
  435. /package/dist/{testing/fixtures → fixtures}/example.com/paged/b.json +0 -0
  436. /package/dist/{testing/fixtures → fixtures}/example.com/paged-collection.json +0 -0
  437. /package/dist/{testing/fixtures → fixtures}/example.com/person.json +0 -0
  438. /package/dist/{testing/fixtures → fixtures}/example.com/person2.json +0 -0
  439. /package/dist/{testing/fixtures → fixtures}/example.com/test.json +0 -0
  440. /package/dist/{testing/fixtures → fixtures}/example.com/users/handle.json +0 -0
  441. /package/dist/{testing/fixtures → fixtures}/example.com/wrong-type.json +0 -0
  442. /package/dist/{testing/fixtures → fixtures}/remote.domain/users/bob.json +0 -0
  443. /package/dist/{testing/fixtures → fixtures}/server.example/users/alice.json +0 -0
  444. /package/dist/{testing/fixtures → fixtures}/w3id.org/identity/v1.json +0 -0
  445. /package/dist/{testing/fixtures → fixtures}/w3id.org/security/data-integrity/v1.json +0 -0
  446. /package/dist/{testing/fixtures → fixtures}/w3id.org/security/multikey/v1.json +0 -0
  447. /package/dist/{testing/fixtures → fixtures}/w3id.org/security/v1.json +0 -0
  448. /package/dist/{testing/fixtures → fixtures}/wizard.casa/users/hongminhee.json +0 -0
  449. /package/dist/{testing/fixtures → fixtures}/www.w3.org/ns/activitystreams.json +0 -0
  450. /package/dist/{testing/fixtures → fixtures}/www.w3.org/ns/did/v1.json +0 -0
  451. /package/dist/{federation/kv.d.ts → kv-BmsWxOQ2.d.ts} +0 -0
  452. /package/dist/{federation/mq.d.ts → mq-Bue016Tz.d.ts} +0 -0
  453. /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/basename.js → nodeinfo-CyEbLjHs.js} +0 -0
  454. /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/common.js → runtime-BSkOVUWM.js} +0 -0
  455. /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/constants.js → sig-BXJO--F9.js} +0 -0
  456. /package/dist/{codegen → vocab}/schema.yaml +0 -0
  457. /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/dirname.js → webfinger-C3GIyXIg.js} +0 -0
@@ -1,135 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
-
5
- import { SError, SMap, safeMapGet, safePush, safeReplace } from "../../../utils/globals.js";
6
- import { VerbosityLevel } from "../configuration/VerbosityLevel.js";
7
- import { possiblyAsyncStringify, stringify } from "../../../utils/stringify.js";
8
- import { ExecutionStatus } from "../reporter/ExecutionStatus.js";
9
-
10
- //#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/utils/RunDetailsFormatter.js
11
- const safeObjectAssign = Object.assign;
12
- function formatHints(hints) {
13
- if (hints.length === 1) return `Hint: ${hints[0]}`;
14
- return hints.map((h, idx) => `Hint (${idx + 1}): ${h}`).join("\n");
15
- }
16
- function formatFailures(failures, stringifyOne) {
17
- return `Encountered failures were:\n- ${failures.map(stringifyOne).join("\n- ")}`;
18
- }
19
- function formatExecutionSummary(executionTrees, stringifyOne) {
20
- const summaryLines = [];
21
- const remainingTreesAndDepth = [];
22
- for (const tree of executionTrees.slice().reverse()) remainingTreesAndDepth.push({
23
- depth: 1,
24
- tree
25
- });
26
- while (remainingTreesAndDepth.length !== 0) {
27
- const currentTreeAndDepth = remainingTreesAndDepth.pop();
28
- const currentTree = currentTreeAndDepth.tree;
29
- const currentDepth = currentTreeAndDepth.depth;
30
- const statusIcon = currentTree.status === ExecutionStatus.Success ? "\x1B[32m√\x1B[0m" : currentTree.status === ExecutionStatus.Failure ? "\x1B[31m×\x1B[0m" : "\x1B[33m!\x1B[0m";
31
- const leftPadding = Array(currentDepth).join(". ");
32
- summaryLines.push(`${leftPadding}${statusIcon} ${stringifyOne(currentTree.value)}`);
33
- for (const tree of currentTree.children.slice().reverse()) remainingTreesAndDepth.push({
34
- depth: currentDepth + 1,
35
- tree
36
- });
37
- }
38
- return `Execution summary:\n${summaryLines.join("\n")}`;
39
- }
40
- function preFormatTooManySkipped(out, stringifyOne) {
41
- const message = `Failed to run property, too many pre-condition failures encountered\n{ seed: ${out.seed} }\n\nRan ${out.numRuns} time(s)\nSkipped ${out.numSkips} time(s)`;
42
- let details = null;
43
- const hints = ["Try to reduce the number of rejected values by combining map, flatMap and built-in arbitraries", "Increase failure tolerance by setting maxSkipsPerRun to an higher value"];
44
- if (out.verbose >= VerbosityLevel.VeryVerbose) details = formatExecutionSummary(out.executionSummary, stringifyOne);
45
- else safePush(hints, "Enable verbose mode at level VeryVerbose in order to check all generated values and their associated status");
46
- return {
47
- message,
48
- details,
49
- hints
50
- };
51
- }
52
- function preFormatFailure(out, stringifyOne) {
53
- const noErrorInMessage = out.runConfiguration.errorWithCause;
54
- const messageErrorPart = noErrorInMessage ? "" : `\nGot ${safeReplace(out.error, /^Error: /, "error: ")}`;
55
- const message = `Property failed after ${out.numRuns} tests\n{ seed: ${out.seed}, path: "${out.counterexamplePath}", endOnFailure: true }\nCounterexample: ${stringifyOne(out.counterexample)}\nShrunk ${out.numShrinks} time(s)${messageErrorPart}`;
56
- let details = null;
57
- const hints = [];
58
- if (out.verbose >= VerbosityLevel.VeryVerbose) details = formatExecutionSummary(out.executionSummary, stringifyOne);
59
- else if (out.verbose === VerbosityLevel.Verbose) details = formatFailures(out.failures, stringifyOne);
60
- else safePush(hints, "Enable verbose mode in order to have the list of all failing values encountered during the run");
61
- return {
62
- message,
63
- details,
64
- hints
65
- };
66
- }
67
- function preFormatEarlyInterrupted(out, stringifyOne) {
68
- const message = `Property interrupted after ${out.numRuns} tests\n{ seed: ${out.seed} }`;
69
- let details = null;
70
- const hints = [];
71
- if (out.verbose >= VerbosityLevel.VeryVerbose) details = formatExecutionSummary(out.executionSummary, stringifyOne);
72
- else safePush(hints, "Enable verbose mode at level VeryVerbose in order to check all generated values and their associated status");
73
- return {
74
- message,
75
- details,
76
- hints
77
- };
78
- }
79
- function defaultReportMessageInternal(out, stringifyOne) {
80
- if (!out.failed) return;
81
- const { message, details, hints } = out.counterexamplePath === null ? out.interrupted ? preFormatEarlyInterrupted(out, stringifyOne) : preFormatTooManySkipped(out, stringifyOne) : preFormatFailure(out, stringifyOne);
82
- let errorMessage = message;
83
- if (details != null) errorMessage += `\n\n${details}`;
84
- if (hints.length > 0) errorMessage += `\n\n${formatHints(hints)}`;
85
- return errorMessage;
86
- }
87
- function defaultReportMessage(out) {
88
- return defaultReportMessageInternal(out, stringify);
89
- }
90
- async function asyncDefaultReportMessage(out) {
91
- const pendingStringifieds = [];
92
- function stringifyOne(value) {
93
- const stringified = possiblyAsyncStringify(value);
94
- if (typeof stringified === "string") return stringified;
95
- pendingStringifieds.push(Promise.all([value, stringified]));
96
- return "…";
97
- }
98
- const firstTryMessage = defaultReportMessageInternal(out, stringifyOne);
99
- if (pendingStringifieds.length === 0) return firstTryMessage;
100
- const registeredValues = new SMap(await Promise.all(pendingStringifieds));
101
- function stringifySecond(value) {
102
- const asyncStringifiedIfRegistered = safeMapGet(registeredValues, value);
103
- if (asyncStringifiedIfRegistered !== void 0) return asyncStringifiedIfRegistered;
104
- return stringify(value);
105
- }
106
- return defaultReportMessageInternal(out, stringifySecond);
107
- }
108
- function buildError(errorMessage, out) {
109
- if (!out.runConfiguration.errorWithCause) throw new SError(errorMessage);
110
- const ErrorWithCause = SError;
111
- const error = new ErrorWithCause(errorMessage, { cause: out.errorInstance });
112
- if (!("cause" in error)) safeObjectAssign(error, { cause: out.errorInstance });
113
- return error;
114
- }
115
- function throwIfFailed(out) {
116
- if (!out.failed) return;
117
- throw buildError(defaultReportMessage(out), out);
118
- }
119
- async function asyncThrowIfFailed(out) {
120
- if (!out.failed) return;
121
- throw buildError(await asyncDefaultReportMessage(out), out);
122
- }
123
- function reportRunDetails(out) {
124
- if (out.runConfiguration.asyncReporter) return out.runConfiguration.asyncReporter(out);
125
- else if (out.runConfiguration.reporter) return out.runConfiguration.reporter(out);
126
- else return throwIfFailed(out);
127
- }
128
- async function asyncReportRunDetails(out) {
129
- if (out.runConfiguration.asyncReporter) return out.runConfiguration.asyncReporter(out);
130
- else if (out.runConfiguration.reporter) return out.runConfiguration.reporter(out);
131
- else return asyncThrowIfFailed(out);
132
- }
133
-
134
- //#endregion
135
- export { asyncDefaultReportMessage, asyncReportRunDetails, defaultReportMessage, reportRunDetails };
@@ -1,15 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
-
5
- //#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/symbols.js
6
- const cloneMethod = Symbol.for("fast-check/cloneMethod");
7
- function hasCloneMethod(instance) {
8
- return instance !== null && (typeof instance === "object" || typeof instance === "function") && cloneMethod in instance && typeof instance[cloneMethod] === "function";
9
- }
10
- function cloneIfNeeded(instance) {
11
- return hasCloneMethod(instance) ? instance[cloneMethod]() : instance;
12
- }
13
-
14
- //#endregion
15
- export { cloneIfNeeded, cloneMethod, hasCloneMethod };
@@ -1,48 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
-
5
- import { unsafeUniformArrayIntDistribution } from "../../../../../../../pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformArrayIntDistribution.js";
6
- import { unsafeUniformBigIntDistribution } from "../../../../../../../pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformBigIntDistribution.js";
7
- import { unsafeUniformIntDistribution } from "../../../../../../../pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformIntDistribution.js";
8
-
9
- //#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/random/generator/Random.js
10
- var Random = class Random {
11
- constructor(sourceRng) {
12
- this.internalRng = sourceRng.clone();
13
- }
14
- clone() {
15
- return new Random(this.internalRng);
16
- }
17
- next(bits) {
18
- return unsafeUniformIntDistribution(0, (1 << bits) - 1, this.internalRng);
19
- }
20
- nextBoolean() {
21
- return unsafeUniformIntDistribution(0, 1, this.internalRng) == 1;
22
- }
23
- nextInt(min, max) {
24
- return unsafeUniformIntDistribution(min == null ? Random.MIN_INT : min, max == null ? Random.MAX_INT : max, this.internalRng);
25
- }
26
- nextBigInt(min, max) {
27
- return unsafeUniformBigIntDistribution(min, max, this.internalRng);
28
- }
29
- nextArrayInt(min, max) {
30
- return unsafeUniformArrayIntDistribution(min, max, this.internalRng);
31
- }
32
- nextDouble() {
33
- const a = this.next(26);
34
- const b = this.next(27);
35
- return (a * Random.DBL_FACTOR + b) * Random.DBL_DIVISOR;
36
- }
37
- getState() {
38
- if ("getState" in this.internalRng && typeof this.internalRng.getState === "function") return this.internalRng.getState();
39
- return void 0;
40
- }
41
- };
42
- Random.MIN_INT = -2147483648;
43
- Random.MAX_INT = 2147483647;
44
- Random.DBL_FACTOR = Math.pow(2, 27);
45
- Random.DBL_DIVISOR = Math.pow(2, -53);
46
-
47
- //#endregion
48
- export { Random };
@@ -1,24 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
-
5
- //#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/LazyIterableIterator.js
6
- var LazyIterableIterator = class {
7
- constructor(producer) {
8
- this.producer = producer;
9
- }
10
- [Symbol.iterator]() {
11
- if (this.it === void 0) this.it = this.producer();
12
- return this.it;
13
- }
14
- next() {
15
- if (this.it === void 0) this.it = this.producer();
16
- return this.it.next();
17
- }
18
- };
19
- function makeLazy(producer) {
20
- return new LazyIterableIterator(producer);
21
- }
22
-
23
- //#endregion
24
- export { makeLazy };
@@ -1,84 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
-
5
- import { filterHelper, flatMapHelper, joinHelper, mapHelper, nilHelper, takeNHelper, takeWhileHelper } from "./StreamHelpers.js";
6
-
7
- //#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/Stream.js
8
- const safeSymbolIterator = Symbol.iterator;
9
- var Stream = class Stream {
10
- static nil() {
11
- return new Stream(nilHelper());
12
- }
13
- static of(...elements) {
14
- return new Stream(elements[safeSymbolIterator]());
15
- }
16
- constructor(g) {
17
- this.g = g;
18
- }
19
- next() {
20
- return this.g.next();
21
- }
22
- [Symbol.iterator]() {
23
- return this.g;
24
- }
25
- map(f) {
26
- return new Stream(mapHelper(this.g, f));
27
- }
28
- flatMap(f) {
29
- return new Stream(flatMapHelper(this.g, f));
30
- }
31
- dropWhile(f) {
32
- let foundEligible = false;
33
- function* helper(v) {
34
- if (foundEligible || !f(v)) {
35
- foundEligible = true;
36
- yield v;
37
- }
38
- }
39
- return this.flatMap(helper);
40
- }
41
- drop(n) {
42
- if (n <= 0) return this;
43
- let idx = 0;
44
- function helper() {
45
- return idx++ < n;
46
- }
47
- return this.dropWhile(helper);
48
- }
49
- takeWhile(f) {
50
- return new Stream(takeWhileHelper(this.g, f));
51
- }
52
- take(n) {
53
- return new Stream(takeNHelper(this.g, n));
54
- }
55
- filter(f) {
56
- return new Stream(filterHelper(this.g, f));
57
- }
58
- every(f) {
59
- for (const v of this.g) if (!f(v)) return false;
60
- return true;
61
- }
62
- has(f) {
63
- for (const v of this.g) if (f(v)) return [true, v];
64
- return [false, null];
65
- }
66
- join(...others) {
67
- return new Stream(joinHelper(this.g, others));
68
- }
69
- getNthOrLast(nth) {
70
- let remaining = nth;
71
- let last = null;
72
- for (const v of this.g) {
73
- if (remaining-- === 0) return v;
74
- last = v;
75
- }
76
- return last;
77
- }
78
- };
79
- function stream(g) {
80
- return new Stream(g);
81
- }
82
-
83
- //#endregion
84
- export { Stream, stream };
@@ -1,50 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
-
5
- //#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/StreamHelpers.js
6
- var Nil = class {
7
- [Symbol.iterator]() {
8
- return this;
9
- }
10
- next(value) {
11
- return {
12
- value,
13
- done: true
14
- };
15
- }
16
- };
17
- Nil.nil = new Nil();
18
- function nilHelper() {
19
- return Nil.nil;
20
- }
21
- function* mapHelper(g, f) {
22
- for (const v of g) yield f(v);
23
- }
24
- function* flatMapHelper(g, f) {
25
- for (const v of g) yield* f(v);
26
- }
27
- function* filterHelper(g, f) {
28
- for (const v of g) if (f(v)) yield v;
29
- }
30
- function* takeNHelper(g, n) {
31
- for (let i = 0; i < n; ++i) {
32
- const cur = g.next();
33
- if (cur.done) break;
34
- yield cur.value;
35
- }
36
- }
37
- function* takeWhileHelper(g, f) {
38
- let cur = g.next();
39
- while (!cur.done && f(cur.value)) {
40
- yield cur.value;
41
- cur = g.next();
42
- }
43
- }
44
- function* joinHelper(g, others) {
45
- for (let cur = g.next(); !cur.done; cur = g.next()) yield cur.value;
46
- for (const s of others) for (let cur = s.next(); !cur.done; cur = s.next()) yield cur.value;
47
- }
48
-
49
- //#endregion
50
- export { filterHelper, flatMapHelper, joinHelper, mapHelper, nilHelper, takeNHelper, takeWhileHelper };
@@ -1,28 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
-
5
- //#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/apply.js
6
- const untouchedApply = Function.prototype.apply;
7
- const ApplySymbol = Symbol("apply");
8
- function safeExtractApply(f) {
9
- try {
10
- return f.apply;
11
- } catch (err) {
12
- return void 0;
13
- }
14
- }
15
- function safeApplyHacky(f, instance, args) {
16
- const ff = f;
17
- ff[ApplySymbol] = untouchedApply;
18
- const out = ff[ApplySymbol](instance, args);
19
- delete ff[ApplySymbol];
20
- return out;
21
- }
22
- function safeApply(f, instance, args) {
23
- if (safeExtractApply(f) === untouchedApply) return f.apply(instance, args);
24
- return safeApplyHacky(f, instance, args);
25
- }
26
-
27
- //#endregion
28
- export { safeApply };
@@ -1,309 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
-
5
- import { safeApply } from "./apply.js";
6
-
7
- //#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/globals.js
8
- const SArray = typeof Array !== "undefined" ? Array : void 0;
9
- const SBigInt = typeof BigInt !== "undefined" ? BigInt : void 0;
10
- const SBoolean = typeof Boolean !== "undefined" ? Boolean : void 0;
11
- const SDate = typeof Date !== "undefined" ? Date : void 0;
12
- const SError = typeof Error !== "undefined" ? Error : void 0;
13
- const SFloat32Array = typeof Float32Array !== "undefined" ? Float32Array : void 0;
14
- const SFloat64Array = typeof Float64Array !== "undefined" ? Float64Array : void 0;
15
- const SInt8Array = typeof Int8Array !== "undefined" ? Int8Array : void 0;
16
- const SInt16Array = typeof Int16Array !== "undefined" ? Int16Array : void 0;
17
- const SInt32Array = typeof Int32Array !== "undefined" ? Int32Array : void 0;
18
- const SNumber = typeof Number !== "undefined" ? Number : void 0;
19
- const SString = typeof String !== "undefined" ? String : void 0;
20
- const SSet = typeof Set !== "undefined" ? Set : void 0;
21
- const SUint8Array = typeof Uint8Array !== "undefined" ? Uint8Array : void 0;
22
- const SUint8ClampedArray = typeof Uint8ClampedArray !== "undefined" ? Uint8ClampedArray : void 0;
23
- const SUint16Array = typeof Uint16Array !== "undefined" ? Uint16Array : void 0;
24
- const SUint32Array = typeof Uint32Array !== "undefined" ? Uint32Array : void 0;
25
- const SMap = Map;
26
- const SSymbol = Symbol;
27
- const untouchedForEach = Array.prototype.forEach;
28
- const untouchedIndexOf = Array.prototype.indexOf;
29
- const untouchedJoin = Array.prototype.join;
30
- const untouchedMap = Array.prototype.map;
31
- const untouchedFilter = Array.prototype.filter;
32
- const untouchedPush = Array.prototype.push;
33
- const untouchedPop = Array.prototype.pop;
34
- const untouchedSplice = Array.prototype.splice;
35
- const untouchedSlice = Array.prototype.slice;
36
- const untouchedSort = Array.prototype.sort;
37
- const untouchedEvery = Array.prototype.every;
38
- function extractForEach(instance) {
39
- try {
40
- return instance.forEach;
41
- } catch (err) {
42
- return void 0;
43
- }
44
- }
45
- function extractIndexOf(instance) {
46
- try {
47
- return instance.indexOf;
48
- } catch (err) {
49
- return void 0;
50
- }
51
- }
52
- function extractJoin(instance) {
53
- try {
54
- return instance.join;
55
- } catch (err) {
56
- return void 0;
57
- }
58
- }
59
- function extractMap(instance) {
60
- try {
61
- return instance.map;
62
- } catch (err) {
63
- return void 0;
64
- }
65
- }
66
- function extractFilter(instance) {
67
- try {
68
- return instance.filter;
69
- } catch (err) {
70
- return void 0;
71
- }
72
- }
73
- function extractPush(instance) {
74
- try {
75
- return instance.push;
76
- } catch (err) {
77
- return void 0;
78
- }
79
- }
80
- function extractPop(instance) {
81
- try {
82
- return instance.pop;
83
- } catch (err) {
84
- return void 0;
85
- }
86
- }
87
- function extractSlice(instance) {
88
- try {
89
- return instance.slice;
90
- } catch (err) {
91
- return void 0;
92
- }
93
- }
94
- function extractEvery(instance) {
95
- try {
96
- return instance.every;
97
- } catch (err) {
98
- return void 0;
99
- }
100
- }
101
- function safeForEach(instance, fn) {
102
- if (extractForEach(instance) === untouchedForEach) return instance.forEach(fn);
103
- return safeApply(untouchedForEach, instance, [fn]);
104
- }
105
- function safeIndexOf(instance, ...args) {
106
- if (extractIndexOf(instance) === untouchedIndexOf) return instance.indexOf(...args);
107
- return safeApply(untouchedIndexOf, instance, args);
108
- }
109
- function safeJoin(instance, ...args) {
110
- if (extractJoin(instance) === untouchedJoin) return instance.join(...args);
111
- return safeApply(untouchedJoin, instance, args);
112
- }
113
- function safeMap(instance, fn) {
114
- if (extractMap(instance) === untouchedMap) return instance.map(fn);
115
- return safeApply(untouchedMap, instance, [fn]);
116
- }
117
- function safeFilter(instance, predicate) {
118
- if (extractFilter(instance) === untouchedFilter) return instance.filter(predicate);
119
- return safeApply(untouchedFilter, instance, [predicate]);
120
- }
121
- function safePush(instance, ...args) {
122
- if (extractPush(instance) === untouchedPush) return instance.push(...args);
123
- return safeApply(untouchedPush, instance, args);
124
- }
125
- function safePop(instance) {
126
- if (extractPop(instance) === untouchedPop) return instance.pop();
127
- return safeApply(untouchedPop, instance, []);
128
- }
129
- function safeSlice(instance, ...args) {
130
- if (extractSlice(instance) === untouchedSlice) return instance.slice(...args);
131
- return safeApply(untouchedSlice, instance, args);
132
- }
133
- function safeEvery(instance, ...args) {
134
- if (extractEvery(instance) === untouchedEvery) return instance.every(...args);
135
- return safeApply(untouchedEvery, instance, args);
136
- }
137
- const untouchedGetTime = Date.prototype.getTime;
138
- const untouchedToISOString = Date.prototype.toISOString;
139
- function extractGetTime(instance) {
140
- try {
141
- return instance.getTime;
142
- } catch (err) {
143
- return void 0;
144
- }
145
- }
146
- function extractToISOString(instance) {
147
- try {
148
- return instance.toISOString;
149
- } catch (err) {
150
- return void 0;
151
- }
152
- }
153
- function safeGetTime(instance) {
154
- if (extractGetTime(instance) === untouchedGetTime) return instance.getTime();
155
- return safeApply(untouchedGetTime, instance, []);
156
- }
157
- function safeToISOString(instance) {
158
- if (extractToISOString(instance) === untouchedToISOString) return instance.toISOString();
159
- return safeApply(untouchedToISOString, instance, []);
160
- }
161
- const untouchedAdd = Set.prototype.add;
162
- const untouchedHas = Set.prototype.has;
163
- function extractAdd(instance) {
164
- try {
165
- return instance.add;
166
- } catch (err) {
167
- return void 0;
168
- }
169
- }
170
- function extractHas(instance) {
171
- try {
172
- return instance.has;
173
- } catch (err) {
174
- return void 0;
175
- }
176
- }
177
- function safeAdd(instance, value) {
178
- if (extractAdd(instance) === untouchedAdd) return instance.add(value);
179
- return safeApply(untouchedAdd, instance, [value]);
180
- }
181
- function safeHas(instance, value) {
182
- if (extractHas(instance) === untouchedHas) return instance.has(value);
183
- return safeApply(untouchedHas, instance, [value]);
184
- }
185
- const untouchedSet = WeakMap.prototype.set;
186
- const untouchedGet = WeakMap.prototype.get;
187
- function extractSet(instance) {
188
- try {
189
- return instance.set;
190
- } catch (err) {
191
- return void 0;
192
- }
193
- }
194
- function extractGet(instance) {
195
- try {
196
- return instance.get;
197
- } catch (err) {
198
- return void 0;
199
- }
200
- }
201
- function safeSet(instance, key, value) {
202
- if (extractSet(instance) === untouchedSet) return instance.set(key, value);
203
- return safeApply(untouchedSet, instance, [key, value]);
204
- }
205
- function safeGet(instance, key) {
206
- if (extractGet(instance) === untouchedGet) return instance.get(key);
207
- return safeApply(untouchedGet, instance, [key]);
208
- }
209
- const untouchedMapSet = Map.prototype.set;
210
- const untouchedMapGet = Map.prototype.get;
211
- function extractMapSet(instance) {
212
- try {
213
- return instance.set;
214
- } catch (err) {
215
- return void 0;
216
- }
217
- }
218
- function extractMapGet(instance) {
219
- try {
220
- return instance.get;
221
- } catch (err) {
222
- return void 0;
223
- }
224
- }
225
- function safeMapSet(instance, key, value) {
226
- if (extractMapSet(instance) === untouchedMapSet) return instance.set(key, value);
227
- return safeApply(untouchedMapSet, instance, [key, value]);
228
- }
229
- function safeMapGet(instance, key) {
230
- if (extractMapGet(instance) === untouchedMapGet) return instance.get(key);
231
- return safeApply(untouchedMapGet, instance, [key]);
232
- }
233
- const untouchedSplit = String.prototype.split;
234
- const untouchedStartsWith = String.prototype.startsWith;
235
- const untouchedEndsWith = String.prototype.endsWith;
236
- const untouchedSubstring = String.prototype.substring;
237
- const untouchedToLowerCase = String.prototype.toLowerCase;
238
- const untouchedToUpperCase = String.prototype.toUpperCase;
239
- const untouchedPadStart = String.prototype.padStart;
240
- const untouchedCharCodeAt = String.prototype.charCodeAt;
241
- const untouchedNormalize = String.prototype.normalize;
242
- const untouchedReplace = String.prototype.replace;
243
- function extractSplit(instance) {
244
- try {
245
- return instance.split;
246
- } catch (err) {
247
- return void 0;
248
- }
249
- }
250
- function extractSubstring(instance) {
251
- try {
252
- return instance.substring;
253
- } catch (err) {
254
- return void 0;
255
- }
256
- }
257
- function extractCharCodeAt(instance) {
258
- try {
259
- return instance.charCodeAt;
260
- } catch (err) {
261
- return void 0;
262
- }
263
- }
264
- function extractNormalize(instance) {
265
- try {
266
- return instance.normalize;
267
- } catch (err) {
268
- return void 0;
269
- }
270
- }
271
- function extractReplace(instance) {
272
- try {
273
- return instance.replace;
274
- } catch (err) {
275
- return void 0;
276
- }
277
- }
278
- function safeSplit(instance, ...args) {
279
- if (extractSplit(instance) === untouchedSplit) return instance.split(...args);
280
- return safeApply(untouchedSplit, instance, args);
281
- }
282
- function safeSubstring(instance, ...args) {
283
- if (extractSubstring(instance) === untouchedSubstring) return instance.substring(...args);
284
- return safeApply(untouchedSubstring, instance, args);
285
- }
286
- function safeCharCodeAt(instance, index) {
287
- if (extractCharCodeAt(instance) === untouchedCharCodeAt) return instance.charCodeAt(index);
288
- return safeApply(untouchedCharCodeAt, instance, [index]);
289
- }
290
- function safeNormalize(instance, form) {
291
- if (extractNormalize(instance) === untouchedNormalize) return instance.normalize(form);
292
- return safeApply(untouchedNormalize, instance, [form]);
293
- }
294
- function safeReplace(instance, pattern, replacement) {
295
- if (extractReplace(instance) === untouchedReplace) return instance.replace(pattern, replacement);
296
- return safeApply(untouchedReplace, instance, [pattern, replacement]);
297
- }
298
- const untouchedNumberToString = Number.prototype.toString;
299
- const untouchedHasOwnProperty = Object.prototype.hasOwnProperty;
300
- const untouchedToString = Object.prototype.toString;
301
- function safeHasOwnProperty(instance, v) {
302
- return safeApply(untouchedHasOwnProperty, instance, [v]);
303
- }
304
- function safeToString(instance) {
305
- return safeApply(untouchedToString, instance, []);
306
- }
307
-
308
- //#endregion
309
- export { SArray, SBigInt, SBoolean, SDate, SError, SFloat32Array, SFloat64Array, SInt16Array, SInt32Array, SInt8Array, SMap, SNumber, SSet, SString, SSymbol, SUint16Array, SUint32Array, SUint8Array, SUint8ClampedArray, safeAdd, safeCharCodeAt, safeEvery, safeFilter, safeForEach, safeGet, safeGetTime, safeHas, safeHasOwnProperty, safeIndexOf, safeJoin, safeMap, safeMapGet, safeMapSet, safeNormalize, safePop, safePush, safeReplace, safeSet, safeSlice, safeSplit, safeSubstring, safeToISOString, safeToString };