@fedify/fedify 1.6.1-dev.869 → 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.
- package/dist/actor-CM3gfkH6.js +36173 -0
- package/dist/{vocab/actor.js → actor-D7NMuy45.js} +5 -4
- package/dist/{vocab/actor.d.ts → actor-lFlm8FYo.d.ts} +2 -2
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js → assert-Dv75vaGI.js} +2 -1
- package/dist/assert_equals-ClvzlhZu.js +1020 -0
- 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
- 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
- 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
- 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
- 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
- package/dist/{runtime/authdocloader.js → authdocloader-BKZDAq91.js} +5 -4
- package/dist/authdocloader-OfYZlI31.js +51 -0
- package/dist/{federation/builder.js → builder-DSTiU6ue.js} +6 -5
- package/dist/{_virtual/rolldown_runtime.js → chunk-HsBuZ-b2.js} +1 -0
- package/dist/client-Dw1pCSIt.d.ts +299 -0
- package/dist/{nodeinfo/client.js → client-RN5A1Qgw.js} +3 -2
- package/dist/{federation/collection.js → collection-QaGK9TVn.js} +1 -0
- package/dist/compat/mod.d.ts +12 -2
- package/dist/compat/mod.js +2 -1
- package/dist/compat/transformers.test.d.ts +2 -1
- package/dist/compat/transformers.test.js +32 -8
- package/dist/context-CzJXjNR8.d.ts +2034 -0
- package/dist/{testing/context.js → context-DZKXS0DV.js} +5 -4
- package/dist/{x/denokv.js → denokv-iB_ggPGm.js} +3 -1
- package/dist/{testing/docloader.js → docloader-09nVWLAZ.js} +1 -0
- package/dist/{runtime/contexts.js → docloader-BcMxZ9JH.js} +420 -1
- package/dist/docloader-DDFam5Xn.js +4594 -0
- package/dist/{runtime/docloader.d.ts → docloader-DTRsVZPo.d.ts} +1 -1
- package/dist/esm-BxIKwi-M.js +1221 -0
- package/dist/federation/builder.test.d.ts +2 -1
- package/dist/federation/builder.test.js +21 -7
- package/dist/federation/collection.test.d.ts +2 -1
- package/dist/federation/collection.test.js +11 -3
- package/dist/federation/handler.test.d.ts +2 -1
- package/dist/federation/handler.test.js +40 -12
- package/dist/federation/inbox.test.d.ts +2 -1
- package/dist/federation/inbox.test.js +12 -5
- package/dist/federation/keycache.test.d.ts +2 -1
- package/dist/federation/keycache.test.js +12 -7
- package/dist/federation/kv.test.d.ts +2 -1
- package/dist/federation/kv.test.js +11 -3
- package/dist/federation/middleware.test.d.ts +2 -1
- package/dist/federation/middleware.test.js +107 -26
- package/dist/federation/mod.d.ts +13 -13
- package/dist/federation/mod.js +12 -8
- package/dist/federation/mq.test.d.ts +2 -1
- package/dist/federation/mq.test.js +153 -6
- package/dist/federation/retry.test.d.ts +2 -1
- package/dist/federation/retry.test.js +5 -5
- package/dist/federation/router.test.d.ts +2 -1
- package/dist/federation/router.test.js +11 -6
- package/dist/federation/send.test.d.ts +2 -1
- package/dist/federation/send.test.js +25 -13
- package/dist/{federation/mq.js → federation-Bmj7soSg.js} +47 -1
- 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
- package/dist/{sig/http.js → http-BFvv3ZId.js} +5 -4
- package/dist/http-BImJcLfv.d.ts +258 -0
- package/dist/http-v1TqJ9Qa.js +720 -0
- package/dist/{federation/inbox.js → inbox-XV_W1qfB.js} +4 -3
- package/dist/key-BNM-ickE.js +16 -0
- package/dist/key-CVIQ7iUB.js +262 -0
- package/dist/{sig/key.js → key-DIk4Rloj.js} +2 -4
- package/dist/key-DiVhk5ik.js +10 -0
- package/dist/{federation/keycache.js → keycache-uTxsh7dt.js} +2 -1
- package/dist/{testing/keys.js → keys-D7lJqunm.js} +2 -2
- package/dist/{federation/kv.js → kv-DohFOP2C.js} +1 -0
- package/dist/{runtime/langstr.js → langstr-DbWheeIS.js} +1 -0
- package/dist/{sig/ld.js → ld-bOhcKpmk.js} +6 -6
- package/dist/{webfinger/lookup.js → lookup-B5KVF6HM.js} +1 -3
- package/dist/lookup-D3xTID-6.js +131 -0
- package/dist/{webfinger/jrd.d.ts → lookup-DAfStZtI.d.ts} +41 -1
- package/dist/{vocab/lookup.js → lookup-D_v0FFGL.js} +5 -5
- package/dist/middleware-BFedQWFA.js +33 -0
- package/dist/middleware-BiYIqI0b.js +3525 -0
- package/dist/{federation/middleware.js → middleware-CPAfRtS5.js} +957 -105
- package/dist/middleware-pAGwVkRf.js +17 -0
- package/dist/mod-1pDWKvUL.d.ts +2 -0
- package/dist/{runtime/key.d.ts → mod-BxwG4X3V.d.ts} +52 -7
- package/dist/{compat/transformers.d.ts → mod-CeLnlsqE.d.ts} +3 -4
- package/dist/{vocab/lookup.d.ts → mod-DysVoXOu.d.ts} +98 -3
- package/dist/mod-GIh5OYxW.d.ts +2 -0
- package/dist/{sig/ld.d.ts → mod-XT0mRthe.d.ts} +126 -4
- package/dist/mod-g0xFzAP9.d.ts +2 -0
- package/dist/mod.d.ts +18 -34
- package/dist/mod.js +17 -27
- package/dist/multibase-DeCHcK8L.js +316 -0
- package/dist/nodeinfo/client.test.d.ts +2 -1
- package/dist/nodeinfo/client.test.js +15 -4
- package/dist/nodeinfo/handler.test.d.ts +2 -1
- package/dist/nodeinfo/handler.test.js +39 -7
- package/dist/nodeinfo/mod.d.ts +4 -3
- package/dist/nodeinfo/mod.js +3 -3
- package/dist/nodeinfo/semver.test.d.ts +2 -1
- package/dist/nodeinfo/semver.test.js +11 -4
- package/dist/nodeinfo/types.test.d.ts +2 -1
- package/dist/nodeinfo/types.test.js +12 -4
- package/dist/{sig/owner.d.ts → owner-BjpObx-L.d.ts} +4 -6
- package/dist/{sig/owner.js → owner-tYPzPLFs.js} +4 -4
- package/dist/proof-D0cf4R25.js +595 -0
- package/dist/{sig/proof.js → proof-DIsZ1VTb.js} +5 -4
- package/dist/{federation/retry.js → retry-BiIhZWgD.js} +1 -0
- package/dist/{federation/router.js → router-D_aVZZUc.js} +1 -0
- package/dist/runtime/authdocloader.test.d.ts +2 -1
- package/dist/runtime/authdocloader.test.js +24 -9
- package/dist/runtime/docloader.test.d.ts +2 -1
- package/dist/runtime/docloader.test.js +15 -11
- package/dist/runtime/key.test.d.ts +2 -1
- package/dist/runtime/key.test.js +19 -4
- package/dist/runtime/langstr.test.d.ts +2 -1
- package/dist/runtime/langstr.test.js +11 -3
- package/dist/runtime/mod.d.ts +5 -4
- package/dist/runtime/mod.js +7 -4
- package/dist/runtime/multibase/multibase.test.d.ts +2 -1
- package/dist/runtime/multibase/multibase.test.js +11 -5
- package/dist/runtime/url.test.d.ts +2 -1
- package/dist/runtime/url.test.js +7 -6
- package/dist/{nodeinfo/semver.js → semver-CbbIgUsa.js} +1 -0
- package/dist/{federation/send.js → send-CFBOnY61.js} +3 -2
- package/dist/sig/http.test.d.ts +2 -1
- package/dist/sig/http.test.js +23 -12
- package/dist/sig/key.test.d.ts +2 -1
- package/dist/sig/key.test.js +21 -8
- package/dist/sig/ld.test.d.ts +2 -1
- package/dist/sig/ld.test.js +19 -11
- package/dist/sig/mod.d.ts +7 -5
- package/dist/sig/mod.js +7 -5
- package/dist/sig/owner.test.d.ts +2 -1
- package/dist/sig/owner.test.js +23 -9
- package/dist/sig/proof.test.d.ts +2 -1
- package/dist/sig/proof.test.js +22 -10
- package/dist/std__assert-CaBUULmX.js +151 -0
- package/dist/testing/docloader.test.d.ts +2 -1
- package/dist/testing/docloader.test.js +11 -3
- package/dist/testing/mod.d.ts +1 -0
- package/dist/testing/mod.js +2 -136
- package/dist/testing-jcGLO9Lp.js +143 -0
- package/dist/{compat/transformers.js → transformers-jxj-4o2K.js} +1 -1
- package/dist/{vocab/type.js → type-D2s5lmbZ.js} +1 -0
- package/dist/{nodeinfo/types.js → types-CqoqWDkp.js} +2 -1
- package/dist/types-D4p7qK8A.js +457 -0
- package/dist/{runtime/url.js → url-kTAI6_KP.js} +1 -0
- package/dist/vocab/actor.test.d.ts +2 -1
- package/dist/vocab/actor.test.js +5853 -14
- package/dist/vocab/lookup.test.d.ts +2 -1
- package/dist/vocab/lookup.test.js +20 -7
- package/dist/vocab/mod.d.ts +5 -5
- package/dist/vocab/mod.js +4 -5
- package/dist/vocab/type.test.d.ts +2 -1
- package/dist/vocab/type.test.js +9 -4
- package/dist/vocab/vocab.test.d.ts +2 -1
- package/dist/vocab/vocab.test.js +2440 -15
- package/dist/vocab-BSNlVPPE.js +172 -0
- package/dist/{vocab/vocab.js → vocab-BxrrllKY.js} +331 -182
- package/dist/{vocab/vocab.d.ts → vocab-CLWdoo7y.d.ts} +21 -9
- package/dist/webfinger/handler.test.d.ts +2 -1
- package/dist/webfinger/handler.test.js +39 -7
- package/dist/webfinger/lookup.test.d.ts +2 -1
- package/dist/webfinger/lookup.test.js +14 -4
- package/dist/webfinger/mod.d.ts +4 -2
- package/dist/webfinger/mod.js +3 -1
- package/dist/x/cfworkers.d.ts +49 -0
- package/dist/x/cfworkers.js +73 -0
- package/dist/x/cfworkers.test.d.ts +3 -0
- package/dist/x/cfworkers.test.js +153 -0
- package/dist/x/hono.d.ts +11 -2
- package/dist/x/sveltekit.d.ts +11 -2
- package/package.json +6 -1
- package/dist/codegen/fs.js +0 -23
- package/dist/codegen/schema.js +0 -88
- package/dist/codegen/type.js +0 -392
- package/dist/compat/types.d.ts +0 -18
- package/dist/deno.js +0 -137
- package/dist/federation/builder.d.ts +0 -19
- package/dist/federation/callback.d.ts +0 -211
- package/dist/federation/collection.d.ts +0 -36
- package/dist/federation/context.d.ts +0 -757
- package/dist/federation/federation.d.ts +0 -689
- package/dist/federation/handler.d.ts +0 -44
- package/dist/federation/handler.js +0 -543
- package/dist/federation/middleware.d.ts +0 -101
- package/dist/federation/negotiation.js +0 -63
- package/dist/federation/retry.d.ts +0 -71
- package/dist/federation/router.d.ts +0 -92
- package/dist/federation/send.d.ts +0 -29
- package/dist/node_modules/.pnpm/@jsr_hongminhee__deno-mock-fetch@0.3.2/node_modules/@jsr/hongminhee__deno-mock-fetch/mod.js +0 -101
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js +0 -49
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_exists.js +0 -32
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js +0 -26
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_greater.js +0 -34
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_greater_or_equal.js +0 -34
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_strict_equals.js +0 -53
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_string_includes.js +0 -32
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assertion_error.js +0 -33
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/equal.js +0 -79
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/mod.js +0 -19
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/assertion_state.js +0 -177
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/build_message.js +0 -101
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/diff.js +0 -274
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/diff_str.js +0 -148
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/format.js +0 -37
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/mod.js +0 -10
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/styles.js +0 -172
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/assert_path.js +0 -11
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/constants.js +0 -10
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/dirname.js +0 -14
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/from_file_url.js +0 -13
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/normalize.js +0 -14
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/normalize_string.js +0 -60
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/strip_trailing_separators.js +0 -15
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_os.js +0 -9
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/extname.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/format.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/from_file_url.js +0 -34
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/glob_to_regexp.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/is_absolute.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/join.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/join_globs.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/mod.js +0 -5
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/normalize.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/normalize_glob.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/parse.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/_util.js +0 -13
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/dirname.js +0 -54
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/from_file_url.js +0 -27
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/join.js +0 -47
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/normalize.js +0 -59
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/relative.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/resolve.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/to_file_url.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/to_namespaced_path.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/windows/from_file_url.js +0 -31
- package/dist/node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/_strip.js +0 -17
- package/dist/node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/dirname.js +0 -38
- package/dist/node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/join.js +0 -36
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_chars.js +0 -47
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_dumper_state.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_loader_state.js +0 -884
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_schema.js +0 -120
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/binary.js +0 -92
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/bool.js +0 -41
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/float.js +0 -58
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/int.js +0 -118
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/map.js +0 -18
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/merge.js +0 -14
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/nil.js +0 -23
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/omap.js +0 -31
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/pairs.js +0 -22
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/regexp.js +0 -29
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/seq.js +0 -14
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/set.js +0 -17
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/str.js +0 -14
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/timestamp.js +0 -57
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/undefined.js +0 -24
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_utils.js +0 -17
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/mod.js +0 -5
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/parse.js +0 -54
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/stringify.js +0 -4
- package/dist/node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/dist/index.js +0 -68
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/AlwaysShrinkableArbitrary.js +0 -30
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ArrayArbitrary.js +0 -203
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ArrayInt64Arbitrary.js +0 -122
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/BigIntArbitrary.js +0 -63
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ConstantArbitrary.js +0 -58
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/FrequencyArbitrary.js +0 -136
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/IntegerArbitrary.js +0 -64
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/LazyArbitrary.js +0 -29
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/StringUnitArbitrary.js +0 -45
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/TupleArbitrary.js +0 -74
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/WithShrinkFromOtherArbitrary.js +0 -40
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/AnyArbitraryBuilder.js +0 -97
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/BoxedArbitraryBuilder.js +0 -13
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/CharacterArbitraryBuilder.js +0 -17
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/RestrictedIntegerArbitraryBuilder.js +0 -23
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/TypedIntArrayArbitraryBuilder.js +0 -32
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/data/GraphemeRanges.js +0 -990
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/ArrayInt64.js +0 -98
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/BiasNumericRange.js +0 -53
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/BuildSlicedGenerator.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/CustomEqualSet.js +0 -27
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/DepthContext.js +0 -24
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/DoubleHelpers.js +0 -96
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/DoubleOnlyHelpers.js +0 -25
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/FloatHelpers.js +0 -57
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/FloatOnlyHelpers.js +0 -26
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/FloatingOnlyHelpers.js +0 -26
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/GraphemeRangesHelpers.js +0 -58
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/MaxLengthFromMinLength.js +0 -72
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/NoUndefinedAsContext.js +0 -16
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/QualifiedObjectConstraints.js +0 -58
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/SameValueSet.js +0 -41
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/SameValueZeroSet.js +0 -33
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/ShrinkBigInt.js +0 -37
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/ShrinkInteger.js +0 -41
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/SlicesForStringBuilder.js +0 -74
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/StrictlyEqualSet.js +0 -38
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/TokenizeString.js +0 -47
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/implementations/NoopSlicedGenerator.js +0 -21
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/implementations/SlicedBasedGenerator.js +0 -53
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/ArrayToMap.js +0 -16
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/ArrayToSet.js +0 -16
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/CodePointsToString.js +0 -17
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/IndexToCharString.js +0 -20
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/IndexToMappedConstant.js +0 -69
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/IndexToPrintableIndex.js +0 -18
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/KeyValuePairsToObject.js +0 -42
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/PatternsToString.js +0 -32
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/TimeToDate.js +0 -30
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/UnboxedToBoxed.js +0 -22
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/anything.js +0 -14
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/array.js +0 -22
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/bigInt.js +0 -38
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/boolean.js +0 -24
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/constant.js +0 -13
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/constantFrom.js +0 -14
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/date.js +0 -30
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/dictionary.js +0 -27
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/double.js +0 -54
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/float.js +0 -60
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/float32Array.js +0 -22
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/float64Array.js +0 -22
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/fullUnicode.js +0 -24
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/fullUnicodeString.js +0 -20
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/int16Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/int32Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/int8Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/integer.js +0 -26
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/letrec.js +0 -28
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/mapToConstant.js +0 -26
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/maxSafeInteger.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/nat.js +0 -17
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/noBias.js +0 -11
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/oneof.js +0 -31
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/sparseArray.js +0 -68
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/string.js +0 -32
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/tuple.js +0 -13
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint16Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint32Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint8Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint8ClampedArray.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uniqueArray.js +0 -47
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/arbitrary/definition/Arbitrary.js +0 -184
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/arbitrary/definition/Value.js +0 -31
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js +0 -19
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/IRawProperty.js +0 -12
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/IgnoreEqualValuesProperty.js +0 -52
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/Property.generic.js +0 -77
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/Property.js +0 -22
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/SkipAfterProperty.js +0 -61
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/TimeoutProperty.js +0 -52
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/UnbiasedProperty.js +0 -29
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/DecorateProperty.js +0 -26
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/Runner.js +0 -61
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/RunnerIterator.js +0 -47
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/SourceValuesIterator.js +0 -35
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/Tosser.js +0 -33
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/GlobalParameters.js +0 -12
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/QualifiedParameters.js +0 -121
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/VerbosityLevel.js +0 -14
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/reporter/ExecutionStatus.js +0 -14
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/reporter/RunExecution.js +0 -116
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/utils/PathWalker.js +0 -24
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/utils/RunDetailsFormatter.js +0 -135
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/symbols.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/random/generator/Random.js +0 -48
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/LazyIterableIterator.js +0 -24
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/Stream.js +0 -84
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/StreamHelpers.js +0 -50
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/apply.js +0 -28
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/globals.js +0 -309
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/stringify.js +0 -217
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/CallHistory.js +0 -94
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/FetchMock.js +0 -143
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/IsSubsetOf.js +0 -103
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/Matchers.js +0 -195
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/RequestUtils.js +0 -83
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/Route.js +0 -137
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/Router.js +0 -181
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/StatusTextMap.js +0 -73
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/TypeDescriptor.js +0 -97
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/index.js +0 -11
- package/dist/node_modules/.pnpm/glob-to-regexp@0.4.1/node_modules/glob-to-regexp/index.js +0 -87
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformArrayIntDistribution.js +0 -20
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformBigIntDistribution.js +0 -20
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformIntDistribution.js +0 -20
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformArrayIntDistribution.js +0 -20
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformBigIntDistribution.js +0 -32
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformIntDistribution.js +0 -43
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/ArrayInt.js +0 -139
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/UnsafeUniformArrayIntDistributionInternal.js +0 -26
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/UnsafeUniformIntDistributionInternal.js +0 -14
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/LinearCongruential.js +0 -53
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/MersenneTwister.js +0 -114
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/RandomGenerator.js +0 -26
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/XorShift.js +0 -83
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/XoroShiro.js +0 -83
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/pure-rand-default.js +0 -44
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/pure-rand.js +0 -22
- package/dist/node_modules/.pnpm/regexparam@3.0.0/node_modules/regexparam/dist/index.js +0 -37
- package/dist/nodeinfo/client.d.ts +0 -96
- package/dist/nodeinfo/handler.js +0 -46
- package/dist/nodeinfo/semver.d.ts +0 -78
- package/dist/nodeinfo/types.d.ts +0 -140
- package/dist/runtime/authdocloader.d.ts +0 -56
- package/dist/runtime/docloader.js +0 -291
- package/dist/runtime/key.js +0 -156
- package/dist/runtime/langstr.d.ts +0 -24
- package/dist/runtime/multibase/base.js +0 -32
- package/dist/runtime/multibase/constants.js +0 -172
- package/dist/runtime/multibase/index.js +0 -57
- package/dist/runtime/multibase/rfc4648.js +0 -61
- package/dist/runtime/multibase/util.js +0 -21
- package/dist/sig/http.d.ts +0 -143
- package/dist/sig/key.d.ts +0 -125
- package/dist/sig/proof.d.ts +0 -134
- package/dist/testing/fixtures/example.com/person.js +0 -29
- package/dist/testing/fixtures/example.com/person2.js +0 -48
- package/dist/vocab/constants.d.ts +0 -24
- package/dist/vocab/constants.js +0 -17
- package/dist/vocab/type.d.ts +0 -107
- package/dist/webfinger/handler.js +0 -140
- package/dist/webfinger/lookup.d.ts +0 -47
- /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
- /package/dist/{testing/fixtures → fixtures}/activitypub.academy/users/brauca_darradiul.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/announce.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/collection.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/create.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/cross-origin-actor.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/hong-gildong.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/invite.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/key.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/key2.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/object.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/orderedcollectionpage.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/paged/a.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/paged/b.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/paged-collection.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/person.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/person2.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/test.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/users/handle.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/wrong-type.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/remote.domain/users/bob.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/server.example/users/alice.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/w3id.org/identity/v1.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/w3id.org/security/data-integrity/v1.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/w3id.org/security/multikey/v1.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/w3id.org/security/v1.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/wizard.casa/users/hongminhee.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/www.w3.org/ns/activitystreams.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/www.w3.org/ns/did/v1.json +0 -0
- /package/dist/{federation/kv.d.ts → kv-BmsWxOQ2.d.ts} +0 -0
- /package/dist/{federation/mq.d.ts → mq-Bue016Tz.d.ts} +0 -0
- /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/basename.js → nodeinfo-CyEbLjHs.js} +0 -0
- /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/common.js → runtime-BSkOVUWM.js} +0 -0
- /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/constants.js → sig-BXJO--F9.js} +0 -0
- /package/dist/{codegen → vocab}/schema.yaml +0 -0
- /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/dirname.js → webfinger-C3GIyXIg.js} +0 -0
@@ -1,114 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/MersenneTwister.js
|
6
|
-
var __read = void 0 && (void 0).__read || function(o, n) {
|
7
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
8
|
-
if (!m) return o;
|
9
|
-
var i = m.call(o), r, ar = [], e;
|
10
|
-
try {
|
11
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
12
|
-
} catch (error) {
|
13
|
-
e = { error };
|
14
|
-
} finally {
|
15
|
-
try {
|
16
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
17
|
-
} finally {
|
18
|
-
if (e) throw e.error;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
return ar;
|
22
|
-
};
|
23
|
-
var __spreadArray = void 0 && (void 0).__spreadArray || function(to, from, pack) {
|
24
|
-
if (pack || arguments.length === 2) {
|
25
|
-
for (var i = 0, l = from.length, ar; i < l; i++) if (ar || !(i in from)) {
|
26
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
27
|
-
ar[i] = from[i];
|
28
|
-
}
|
29
|
-
}
|
30
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
31
|
-
};
|
32
|
-
var MersenneTwister = function() {
|
33
|
-
function MersenneTwister$1(states, index) {
|
34
|
-
this.states = states;
|
35
|
-
this.index = index;
|
36
|
-
}
|
37
|
-
MersenneTwister$1.twist = function(prev) {
|
38
|
-
var mt = prev.slice();
|
39
|
-
for (var idx = 0; idx !== MersenneTwister$1.N - MersenneTwister$1.M; ++idx) {
|
40
|
-
var y_1 = (mt[idx] & MersenneTwister$1.MASK_UPPER) + (mt[idx + 1] & MersenneTwister$1.MASK_LOWER);
|
41
|
-
mt[idx] = mt[idx + MersenneTwister$1.M] ^ y_1 >>> 1 ^ -(y_1 & 1) & MersenneTwister$1.A;
|
42
|
-
}
|
43
|
-
for (var idx = MersenneTwister$1.N - MersenneTwister$1.M; idx !== MersenneTwister$1.N - 1; ++idx) {
|
44
|
-
var y_2 = (mt[idx] & MersenneTwister$1.MASK_UPPER) + (mt[idx + 1] & MersenneTwister$1.MASK_LOWER);
|
45
|
-
mt[idx] = mt[idx + MersenneTwister$1.M - MersenneTwister$1.N] ^ y_2 >>> 1 ^ -(y_2 & 1) & MersenneTwister$1.A;
|
46
|
-
}
|
47
|
-
var y = (mt[MersenneTwister$1.N - 1] & MersenneTwister$1.MASK_UPPER) + (mt[0] & MersenneTwister$1.MASK_LOWER);
|
48
|
-
mt[MersenneTwister$1.N - 1] = mt[MersenneTwister$1.M - 1] ^ y >>> 1 ^ -(y & 1) & MersenneTwister$1.A;
|
49
|
-
return mt;
|
50
|
-
};
|
51
|
-
MersenneTwister$1.seeded = function(seed) {
|
52
|
-
var out = Array(MersenneTwister$1.N);
|
53
|
-
out[0] = seed;
|
54
|
-
for (var idx = 1; idx !== MersenneTwister$1.N; ++idx) {
|
55
|
-
var xored = out[idx - 1] ^ out[idx - 1] >>> 30;
|
56
|
-
out[idx] = Math.imul(MersenneTwister$1.F, xored) + idx | 0;
|
57
|
-
}
|
58
|
-
return out;
|
59
|
-
};
|
60
|
-
MersenneTwister$1.from = function(seed) {
|
61
|
-
return new MersenneTwister$1(MersenneTwister$1.twist(MersenneTwister$1.seeded(seed)), 0);
|
62
|
-
};
|
63
|
-
MersenneTwister$1.prototype.clone = function() {
|
64
|
-
return new MersenneTwister$1(this.states, this.index);
|
65
|
-
};
|
66
|
-
MersenneTwister$1.prototype.next = function() {
|
67
|
-
var nextRng = new MersenneTwister$1(this.states, this.index);
|
68
|
-
var out = nextRng.unsafeNext();
|
69
|
-
return [out, nextRng];
|
70
|
-
};
|
71
|
-
MersenneTwister$1.prototype.unsafeNext = function() {
|
72
|
-
var y = this.states[this.index];
|
73
|
-
y ^= this.states[this.index] >>> MersenneTwister$1.U;
|
74
|
-
y ^= y << MersenneTwister$1.S & MersenneTwister$1.B;
|
75
|
-
y ^= y << MersenneTwister$1.T & MersenneTwister$1.C;
|
76
|
-
y ^= y >>> MersenneTwister$1.L;
|
77
|
-
if (++this.index >= MersenneTwister$1.N) {
|
78
|
-
this.states = MersenneTwister$1.twist(this.states);
|
79
|
-
this.index = 0;
|
80
|
-
}
|
81
|
-
return y;
|
82
|
-
};
|
83
|
-
MersenneTwister$1.prototype.getState = function() {
|
84
|
-
return __spreadArray([this.index], __read(this.states), false);
|
85
|
-
};
|
86
|
-
MersenneTwister$1.fromState = function(state) {
|
87
|
-
var valid = state.length === MersenneTwister$1.N + 1 && state[0] >= 0 && state[0] < MersenneTwister$1.N;
|
88
|
-
if (!valid) throw new Error("The state must have been produced by a mersenne RandomGenerator");
|
89
|
-
return new MersenneTwister$1(state.slice(1), state[0]);
|
90
|
-
};
|
91
|
-
MersenneTwister$1.N = 624;
|
92
|
-
MersenneTwister$1.M = 397;
|
93
|
-
MersenneTwister$1.R = 31;
|
94
|
-
MersenneTwister$1.A = 2567483615;
|
95
|
-
MersenneTwister$1.F = 1812433253;
|
96
|
-
MersenneTwister$1.U = 11;
|
97
|
-
MersenneTwister$1.S = 7;
|
98
|
-
MersenneTwister$1.B = 2636928640;
|
99
|
-
MersenneTwister$1.T = 15;
|
100
|
-
MersenneTwister$1.C = 4022730752;
|
101
|
-
MersenneTwister$1.L = 18;
|
102
|
-
MersenneTwister$1.MASK_LOWER = Math.pow(2, MersenneTwister$1.R) - 1;
|
103
|
-
MersenneTwister$1.MASK_UPPER = Math.pow(2, MersenneTwister$1.R);
|
104
|
-
return MersenneTwister$1;
|
105
|
-
}();
|
106
|
-
function fromState(state) {
|
107
|
-
return MersenneTwister.fromState(state);
|
108
|
-
}
|
109
|
-
var MersenneTwister_default = Object.assign(function(seed) {
|
110
|
-
return MersenneTwister.from(seed);
|
111
|
-
}, { fromState });
|
112
|
-
|
113
|
-
//#endregion
|
114
|
-
export { MersenneTwister_default };
|
@@ -1,26 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/RandomGenerator.js
|
6
|
-
function unsafeGenerateN(rng, num) {
|
7
|
-
var out = [];
|
8
|
-
for (var idx = 0; idx != num; ++idx) out.push(rng.unsafeNext());
|
9
|
-
return out;
|
10
|
-
}
|
11
|
-
function generateN(rng, num) {
|
12
|
-
var nextRng = rng.clone();
|
13
|
-
var out = unsafeGenerateN(nextRng, num);
|
14
|
-
return [out, nextRng];
|
15
|
-
}
|
16
|
-
function unsafeSkipN(rng, num) {
|
17
|
-
for (var idx = 0; idx != num; ++idx) rng.unsafeNext();
|
18
|
-
}
|
19
|
-
function skipN(rng, num) {
|
20
|
-
var nextRng = rng.clone();
|
21
|
-
unsafeSkipN(nextRng, num);
|
22
|
-
return nextRng;
|
23
|
-
}
|
24
|
-
|
25
|
-
//#endregion
|
26
|
-
export { generateN, skipN, unsafeGenerateN, unsafeSkipN };
|
package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/XorShift.js
DELETED
@@ -1,83 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/XorShift.js
|
6
|
-
var XorShift128Plus = function() {
|
7
|
-
function XorShift128Plus$1(s01, s00, s11, s10) {
|
8
|
-
this.s01 = s01;
|
9
|
-
this.s00 = s00;
|
10
|
-
this.s11 = s11;
|
11
|
-
this.s10 = s10;
|
12
|
-
}
|
13
|
-
XorShift128Plus$1.prototype.clone = function() {
|
14
|
-
return new XorShift128Plus$1(this.s01, this.s00, this.s11, this.s10);
|
15
|
-
};
|
16
|
-
XorShift128Plus$1.prototype.next = function() {
|
17
|
-
var nextRng = new XorShift128Plus$1(this.s01, this.s00, this.s11, this.s10);
|
18
|
-
var out = nextRng.unsafeNext();
|
19
|
-
return [out, nextRng];
|
20
|
-
};
|
21
|
-
XorShift128Plus$1.prototype.unsafeNext = function() {
|
22
|
-
var a0 = this.s00 ^ this.s00 << 23;
|
23
|
-
var a1 = this.s01 ^ (this.s01 << 23 | this.s00 >>> 9);
|
24
|
-
var b0 = a0 ^ this.s10 ^ (a0 >>> 18 | a1 << 14) ^ (this.s10 >>> 5 | this.s11 << 27);
|
25
|
-
var b1 = a1 ^ this.s11 ^ a1 >>> 18 ^ this.s11 >>> 5;
|
26
|
-
var out = this.s00 + this.s10 | 0;
|
27
|
-
this.s01 = this.s11;
|
28
|
-
this.s00 = this.s10;
|
29
|
-
this.s11 = b1;
|
30
|
-
this.s10 = b0;
|
31
|
-
return out;
|
32
|
-
};
|
33
|
-
XorShift128Plus$1.prototype.jump = function() {
|
34
|
-
var nextRng = new XorShift128Plus$1(this.s01, this.s00, this.s11, this.s10);
|
35
|
-
nextRng.unsafeJump();
|
36
|
-
return nextRng;
|
37
|
-
};
|
38
|
-
XorShift128Plus$1.prototype.unsafeJump = function() {
|
39
|
-
var ns01 = 0;
|
40
|
-
var ns00 = 0;
|
41
|
-
var ns11 = 0;
|
42
|
-
var ns10 = 0;
|
43
|
-
var jump = [
|
44
|
-
1667051007,
|
45
|
-
2321340297,
|
46
|
-
1548169110,
|
47
|
-
304075285
|
48
|
-
];
|
49
|
-
for (var i = 0; i !== 4; ++i) for (var mask = 1; mask; mask <<= 1) {
|
50
|
-
if (jump[i] & mask) {
|
51
|
-
ns01 ^= this.s01;
|
52
|
-
ns00 ^= this.s00;
|
53
|
-
ns11 ^= this.s11;
|
54
|
-
ns10 ^= this.s10;
|
55
|
-
}
|
56
|
-
this.unsafeNext();
|
57
|
-
}
|
58
|
-
this.s01 = ns01;
|
59
|
-
this.s00 = ns00;
|
60
|
-
this.s11 = ns11;
|
61
|
-
this.s10 = ns10;
|
62
|
-
};
|
63
|
-
XorShift128Plus$1.prototype.getState = function() {
|
64
|
-
return [
|
65
|
-
this.s01,
|
66
|
-
this.s00,
|
67
|
-
this.s11,
|
68
|
-
this.s10
|
69
|
-
];
|
70
|
-
};
|
71
|
-
return XorShift128Plus$1;
|
72
|
-
}();
|
73
|
-
function fromState(state) {
|
74
|
-
var valid = state.length === 4;
|
75
|
-
if (!valid) throw new Error("The state must have been produced by a xorshift128plus RandomGenerator");
|
76
|
-
return new XorShift128Plus(state[0], state[1], state[2], state[3]);
|
77
|
-
}
|
78
|
-
var xorshift128plus = Object.assign(function(seed) {
|
79
|
-
return new XorShift128Plus(-1, ~seed, seed | 0, 0);
|
80
|
-
}, { fromState });
|
81
|
-
|
82
|
-
//#endregion
|
83
|
-
export { xorshift128plus };
|
@@ -1,83 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/XoroShiro.js
|
6
|
-
var XoroShiro128Plus = function() {
|
7
|
-
function XoroShiro128Plus$1(s01, s00, s11, s10) {
|
8
|
-
this.s01 = s01;
|
9
|
-
this.s00 = s00;
|
10
|
-
this.s11 = s11;
|
11
|
-
this.s10 = s10;
|
12
|
-
}
|
13
|
-
XoroShiro128Plus$1.prototype.clone = function() {
|
14
|
-
return new XoroShiro128Plus$1(this.s01, this.s00, this.s11, this.s10);
|
15
|
-
};
|
16
|
-
XoroShiro128Plus$1.prototype.next = function() {
|
17
|
-
var nextRng = new XoroShiro128Plus$1(this.s01, this.s00, this.s11, this.s10);
|
18
|
-
var out = nextRng.unsafeNext();
|
19
|
-
return [out, nextRng];
|
20
|
-
};
|
21
|
-
XoroShiro128Plus$1.prototype.unsafeNext = function() {
|
22
|
-
var out = this.s00 + this.s10 | 0;
|
23
|
-
var a0 = this.s10 ^ this.s00;
|
24
|
-
var a1 = this.s11 ^ this.s01;
|
25
|
-
var s00 = this.s00;
|
26
|
-
var s01 = this.s01;
|
27
|
-
this.s00 = s00 << 24 ^ s01 >>> 8 ^ a0 ^ a0 << 16;
|
28
|
-
this.s01 = s01 << 24 ^ s00 >>> 8 ^ a1 ^ (a1 << 16 | a0 >>> 16);
|
29
|
-
this.s10 = a1 << 5 ^ a0 >>> 27;
|
30
|
-
this.s11 = a0 << 5 ^ a1 >>> 27;
|
31
|
-
return out;
|
32
|
-
};
|
33
|
-
XoroShiro128Plus$1.prototype.jump = function() {
|
34
|
-
var nextRng = new XoroShiro128Plus$1(this.s01, this.s00, this.s11, this.s10);
|
35
|
-
nextRng.unsafeJump();
|
36
|
-
return nextRng;
|
37
|
-
};
|
38
|
-
XoroShiro128Plus$1.prototype.unsafeJump = function() {
|
39
|
-
var ns01 = 0;
|
40
|
-
var ns00 = 0;
|
41
|
-
var ns11 = 0;
|
42
|
-
var ns10 = 0;
|
43
|
-
var jump = [
|
44
|
-
3639956645,
|
45
|
-
3750757012,
|
46
|
-
1261568508,
|
47
|
-
386426335
|
48
|
-
];
|
49
|
-
for (var i = 0; i !== 4; ++i) for (var mask = 1; mask; mask <<= 1) {
|
50
|
-
if (jump[i] & mask) {
|
51
|
-
ns01 ^= this.s01;
|
52
|
-
ns00 ^= this.s00;
|
53
|
-
ns11 ^= this.s11;
|
54
|
-
ns10 ^= this.s10;
|
55
|
-
}
|
56
|
-
this.unsafeNext();
|
57
|
-
}
|
58
|
-
this.s01 = ns01;
|
59
|
-
this.s00 = ns00;
|
60
|
-
this.s11 = ns11;
|
61
|
-
this.s10 = ns10;
|
62
|
-
};
|
63
|
-
XoroShiro128Plus$1.prototype.getState = function() {
|
64
|
-
return [
|
65
|
-
this.s01,
|
66
|
-
this.s00,
|
67
|
-
this.s11,
|
68
|
-
this.s10
|
69
|
-
];
|
70
|
-
};
|
71
|
-
return XoroShiro128Plus$1;
|
72
|
-
}();
|
73
|
-
function fromState(state) {
|
74
|
-
var valid = state.length === 4;
|
75
|
-
if (!valid) throw new Error("The state must have been produced by a xoroshiro128plus RandomGenerator");
|
76
|
-
return new XoroShiro128Plus(state[0], state[1], state[2], state[3]);
|
77
|
-
}
|
78
|
-
var xoroshiro128plus = Object.assign(function(seed) {
|
79
|
-
return new XoroShiro128Plus(-1, ~seed, seed | 0, 0);
|
80
|
-
}, { fromState });
|
81
|
-
|
82
|
-
//#endregion
|
83
|
-
export { xoroshiro128plus };
|
package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/pure-rand-default.js
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { __export } from "../../../../../../../_virtual/rolldown_runtime.js";
|
6
|
-
import { generateN, skipN, unsafeGenerateN, unsafeSkipN } from "./generator/RandomGenerator.js";
|
7
|
-
import { congruential32 } from "./generator/LinearCongruential.js";
|
8
|
-
import { MersenneTwister_default } from "./generator/MersenneTwister.js";
|
9
|
-
import { xorshift128plus } from "./generator/XorShift.js";
|
10
|
-
import { xoroshiro128plus } from "./generator/XoroShiro.js";
|
11
|
-
import { unsafeUniformArrayIntDistribution } from "./distribution/UnsafeUniformArrayIntDistribution.js";
|
12
|
-
import { uniformArrayIntDistribution } from "./distribution/UniformArrayIntDistribution.js";
|
13
|
-
import { unsafeUniformBigIntDistribution } from "./distribution/UnsafeUniformBigIntDistribution.js";
|
14
|
-
import { uniformBigIntDistribution } from "./distribution/UniformBigIntDistribution.js";
|
15
|
-
import { unsafeUniformIntDistribution } from "./distribution/UnsafeUniformIntDistribution.js";
|
16
|
-
import { uniformIntDistribution } from "./distribution/UniformIntDistribution.js";
|
17
|
-
|
18
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/pure-rand-default.js
|
19
|
-
var pure_rand_default_exports = {};
|
20
|
-
__export(pure_rand_default_exports, {
|
21
|
-
__commitHash: () => __commitHash,
|
22
|
-
__type: () => __type,
|
23
|
-
__version: () => __version,
|
24
|
-
congruential32: () => congruential32,
|
25
|
-
generateN: () => generateN,
|
26
|
-
mersenne: () => MersenneTwister_default,
|
27
|
-
skipN: () => skipN,
|
28
|
-
uniformArrayIntDistribution: () => uniformArrayIntDistribution,
|
29
|
-
uniformBigIntDistribution: () => uniformBigIntDistribution,
|
30
|
-
uniformIntDistribution: () => uniformIntDistribution,
|
31
|
-
unsafeGenerateN: () => unsafeGenerateN,
|
32
|
-
unsafeSkipN: () => unsafeSkipN,
|
33
|
-
unsafeUniformArrayIntDistribution: () => unsafeUniformArrayIntDistribution,
|
34
|
-
unsafeUniformBigIntDistribution: () => unsafeUniformBigIntDistribution,
|
35
|
-
unsafeUniformIntDistribution: () => unsafeUniformIntDistribution,
|
36
|
-
xoroshiro128plus: () => xoroshiro128plus,
|
37
|
-
xorshift128plus: () => xorshift128plus
|
38
|
-
});
|
39
|
-
var __type = "module";
|
40
|
-
var __version = "6.1.0";
|
41
|
-
var __commitHash = "a413dd2b721516be2ef29adffb515c5ae67bfbad";
|
42
|
-
|
43
|
-
//#endregion
|
44
|
-
export { __commitHash, __type, __version, pure_rand_default_exports };
|
@@ -1,22 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { generateN, skipN, unsafeGenerateN, unsafeSkipN } from "./generator/RandomGenerator.js";
|
6
|
-
import { congruential32 } from "./generator/LinearCongruential.js";
|
7
|
-
import { MersenneTwister_default } from "./generator/MersenneTwister.js";
|
8
|
-
import { xorshift128plus } from "./generator/XorShift.js";
|
9
|
-
import { xoroshiro128plus } from "./generator/XoroShiro.js";
|
10
|
-
import { unsafeUniformArrayIntDistribution } from "./distribution/UnsafeUniformArrayIntDistribution.js";
|
11
|
-
import { uniformArrayIntDistribution } from "./distribution/UniformArrayIntDistribution.js";
|
12
|
-
import { unsafeUniformBigIntDistribution } from "./distribution/UnsafeUniformBigIntDistribution.js";
|
13
|
-
import { uniformBigIntDistribution } from "./distribution/UniformBigIntDistribution.js";
|
14
|
-
import { unsafeUniformIntDistribution } from "./distribution/UnsafeUniformIntDistribution.js";
|
15
|
-
import { uniformIntDistribution } from "./distribution/UniformIntDistribution.js";
|
16
|
-
import { __commitHash, __type, __version, pure_rand_default_exports } from "./pure-rand-default.js";
|
17
|
-
|
18
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/pure-rand.js
|
19
|
-
var pure_rand_default = pure_rand_default_exports;
|
20
|
-
|
21
|
-
//#endregion
|
22
|
-
export { pure_rand_default };
|
@@ -1,37 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/regexparam@3.0.0/node_modules/regexparam/dist/index.mjs
|
6
|
-
/**
|
7
|
-
* @param {string|RegExp} input The route pattern
|
8
|
-
* @param {boolean} [loose] Allow open-ended matching. Ignored with `RegExp` input.
|
9
|
-
*/
|
10
|
-
function parse(input, loose) {
|
11
|
-
if (input instanceof RegExp) return {
|
12
|
-
keys: false,
|
13
|
-
pattern: input
|
14
|
-
};
|
15
|
-
var c, o, tmp, ext, keys = [], pattern = "", arr = input.split("/");
|
16
|
-
arr[0] || arr.shift();
|
17
|
-
while (tmp = arr.shift()) {
|
18
|
-
c = tmp[0];
|
19
|
-
if (c === "*") {
|
20
|
-
keys.push(c);
|
21
|
-
pattern += tmp[1] === "?" ? "(?:/(.*))?" : "/(.*)";
|
22
|
-
} else if (c === ":") {
|
23
|
-
o = tmp.indexOf("?", 1);
|
24
|
-
ext = tmp.indexOf(".", 1);
|
25
|
-
keys.push(tmp.substring(1, !!~o ? o : !!~ext ? ext : tmp.length));
|
26
|
-
pattern += !!~o && !~ext ? "(?:/([^/]+?))?" : "/([^/]+?)";
|
27
|
-
if (!!~ext) pattern += (!!~o ? "?" : "") + "\\" + tmp.substring(ext);
|
28
|
-
} else pattern += "/" + tmp;
|
29
|
-
}
|
30
|
-
return {
|
31
|
-
keys,
|
32
|
-
pattern: new RegExp("^" + pattern + (loose ? "(?=$|/)" : "/?$"), "i")
|
33
|
-
};
|
34
|
-
}
|
35
|
-
|
36
|
-
//#endregion
|
37
|
-
export { parse as parse$1 };
|
@@ -1,96 +0,0 @@
|
|
1
|
-
import { Temporal } from "@js-temporal/polyfill";
|
2
|
-
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import { GetUserAgentOptions } from "../runtime/docloader.js";
|
4
|
-
import { JsonValue, NodeInfo } from "./types.js";
|
5
|
-
|
6
|
-
//#region nodeinfo/client.d.ts
|
7
|
-
/**
|
8
|
-
* Options for {@link getNodeInfo} function.
|
9
|
-
* @since 1.2.0
|
10
|
-
*/
|
11
|
-
/**
|
12
|
-
* Options for {@link getNodeInfo} function.
|
13
|
-
* @since 1.2.0
|
14
|
-
*/
|
15
|
-
interface GetNodeInfoOptions {
|
16
|
-
/**
|
17
|
-
* Whether to directly fetch the NodeInfo document from the given URL.
|
18
|
-
* Otherwise, the NodeInfo document will be fetched from the `.well-known`
|
19
|
-
* location of the given URL.
|
20
|
-
*
|
21
|
-
* Turned off by default.
|
22
|
-
*/
|
23
|
-
direct?: boolean;
|
24
|
-
/**
|
25
|
-
* How strictly to parse the NodeInfo document.
|
26
|
-
*
|
27
|
-
* - `"strict"`: Parse the NodeInfo document strictly. If the document is
|
28
|
-
* invalid, `undefined` is returned. This is the default.
|
29
|
-
* - `"best-effort"`: Try to parse the NodeInfo document even if it is
|
30
|
-
* invalid.
|
31
|
-
* - `"none"`: Do not parse the NodeInfo document. The function will return
|
32
|
-
* the raw JSON value.
|
33
|
-
*/
|
34
|
-
parse?: "strict" | "best-effort" | "none";
|
35
|
-
/**
|
36
|
-
* The options for making `User-Agent` header.
|
37
|
-
* If a string is given, it is used as the `User-Agent` header value.
|
38
|
-
* If an object is given, it is passed to {@link getUserAgent} to generate
|
39
|
-
* the `User-Agent` header value.
|
40
|
-
* @since 1.3.0
|
41
|
-
*/
|
42
|
-
userAgent?: GetUserAgentOptions | string;
|
43
|
-
}
|
44
|
-
/**
|
45
|
-
* Fetches a NodeInfo document from the given URL.
|
46
|
-
* @param url The base URL of the server. If `options.direct` is turned off
|
47
|
-
* (default), the NodeInfo document will be fetched from
|
48
|
-
* the `.well-known` location of this URL (hence the only origin
|
49
|
-
* of the URL is used). If `options.direct` is turned on,
|
50
|
-
* the NodeInfo document will be fetched from the given URL.
|
51
|
-
* @param options Options for fetching the NodeInfo document.
|
52
|
-
* @returns The NodeInfo document if it could be fetched successfully.
|
53
|
-
* Otherwise, `undefined` is returned.
|
54
|
-
* @since 1.2.0
|
55
|
-
*/
|
56
|
-
declare function getNodeInfo(url: URL | string, options?: GetNodeInfoOptions & {
|
57
|
-
parse?: "strict" | "best-effort";
|
58
|
-
}): Promise<NodeInfo | undefined>;
|
59
|
-
/**
|
60
|
-
* Fetches a NodeInfo document from the given URL.
|
61
|
-
* @param url The base URL of the server. If `options.direct` is turned off
|
62
|
-
* (default), the NodeInfo document will be fetched from
|
63
|
-
* the `.well-known` location of this URL (hence the only origin
|
64
|
-
* of the URL is used). If `options.direct` is turned on,
|
65
|
-
* the NodeInfo document will be fetched from the given URL.
|
66
|
-
* @param options Options for fetching the NodeInfo document.
|
67
|
-
* @returns The NodeInfo document if it could be fetched successfully.
|
68
|
-
* Otherwise, `undefined` is returned.
|
69
|
-
* @since 1.2.0
|
70
|
-
*/
|
71
|
-
declare function getNodeInfo(url: URL | string, options: GetNodeInfoOptions & {
|
72
|
-
parse: "none";
|
73
|
-
}): Promise<JsonValue | undefined>;
|
74
|
-
/**
|
75
|
-
* Options for {@link parseNodeInfo} function.
|
76
|
-
* @since 1.2.0
|
77
|
-
*/
|
78
|
-
interface ParseNodeInfoOptions {
|
79
|
-
/**
|
80
|
-
* Whether to try to parse the NodeInfo document even if it is invalid.
|
81
|
-
* If turned on, the function will return a best-effort result.
|
82
|
-
*
|
83
|
-
* Turned off by default.
|
84
|
-
*/
|
85
|
-
tryBestEffort?: boolean;
|
86
|
-
}
|
87
|
-
/**
|
88
|
-
* Parses a NodeInfo document.
|
89
|
-
* @param data A JSON value that complies with the NodeInfo schema.
|
90
|
-
* @param options Options for parsing the NodeInfo document.
|
91
|
-
* @returns The parsed NodeInfo document if it is valid. Otherwise, `null`
|
92
|
-
* is returned.
|
93
|
-
* @since 1.2.0
|
94
|
-
*/
|
95
|
-
declare function parseNodeInfo(data: unknown, options?: ParseNodeInfoOptions): NodeInfo | null; //#endregion
|
96
|
-
export { GetNodeInfoOptions, ParseNodeInfoOptions, getNodeInfo as getNodeInfo$1, parseNodeInfo as parseNodeInfo$1 };
|
package/dist/nodeinfo/handler.js
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { RouterError } from "../federation/router.js";
|
6
|
-
import { nodeInfoToJson } from "./types.js";
|
7
|
-
|
8
|
-
//#region nodeinfo/handler.ts
|
9
|
-
/**
|
10
|
-
* Handles a NodeInfo request. You would not typically call this function
|
11
|
-
* directly, but instead use {@link Federation.handle} method.
|
12
|
-
* @param request The NodeInfo request to handle.
|
13
|
-
* @param parameters The parameters for handling the request.
|
14
|
-
* @returns The response to the request.
|
15
|
-
*/
|
16
|
-
async function handleNodeInfo(_request, { context, nodeInfoDispatcher }) {
|
17
|
-
const promise = nodeInfoDispatcher(context);
|
18
|
-
const nodeInfo = promise instanceof Promise ? await promise : promise;
|
19
|
-
const json = nodeInfoToJson(nodeInfo);
|
20
|
-
return new Response(JSON.stringify(json), { headers: { "Content-Type": "application/json; profile=\"http://nodeinfo.diaspora.software/ns/schema/2.1#\"" } });
|
21
|
-
}
|
22
|
-
/**
|
23
|
-
* Handles a request to `/.well-known/nodeinfo`. You would not typically call
|
24
|
-
* this function directly, but instead use {@link Federation.handle} method.
|
25
|
-
* @param request The request to handle.
|
26
|
-
* @param context The request context.
|
27
|
-
* @returns The response to the request.
|
28
|
-
*/
|
29
|
-
function handleNodeInfoJrd(_request, context) {
|
30
|
-
const links = [];
|
31
|
-
try {
|
32
|
-
links.push({
|
33
|
-
rel: "http://nodeinfo.diaspora.software/ns/schema/2.1",
|
34
|
-
href: context.getNodeInfoUri().href,
|
35
|
-
type: "application/json; profile=\"http://nodeinfo.diaspora.software/ns/schema/2.1#\""
|
36
|
-
});
|
37
|
-
} catch (e) {
|
38
|
-
if (!(e instanceof RouterError)) throw e;
|
39
|
-
}
|
40
|
-
const jrd = { links };
|
41
|
-
const response = new Response(JSON.stringify(jrd), { headers: { "Content-Type": "application/jrd+json" } });
|
42
|
-
return Promise.resolve(response);
|
43
|
-
}
|
44
|
-
|
45
|
-
//#endregion
|
46
|
-
export { handleNodeInfo, handleNodeInfoJrd };
|
@@ -1,78 +0,0 @@
|
|
1
|
-
import { Temporal } from "@js-temporal/polyfill";
|
2
|
-
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
|
4
|
-
//#region nodeinfo/semver.d.ts
|
5
|
-
/**
|
6
|
-
* A SemVer object parsed into its constituent parts.
|
7
|
-
* @since 1.2.0
|
8
|
-
*/
|
9
|
-
/**
|
10
|
-
* A SemVer object parsed into its constituent parts.
|
11
|
-
* @since 1.2.0
|
12
|
-
*/
|
13
|
-
interface SemVer {
|
14
|
-
/** The major version */
|
15
|
-
major: number;
|
16
|
-
/** The minor version */
|
17
|
-
minor: number;
|
18
|
-
/** The patch version */
|
19
|
-
patch: number;
|
20
|
-
/**
|
21
|
-
* The prerelease version
|
22
|
-
*
|
23
|
-
* @default {[]}
|
24
|
-
*/
|
25
|
-
prerelease?: (string | number)[];
|
26
|
-
/**
|
27
|
-
* The build metadata
|
28
|
-
*
|
29
|
-
* @default {[]}
|
30
|
-
*/
|
31
|
-
build?: string[];
|
32
|
-
}
|
33
|
-
/**
|
34
|
-
* Attempt to parse a string as a semantic version, returning a SemVer object.
|
35
|
-
*
|
36
|
-
* @example Usage
|
37
|
-
* ```ts
|
38
|
-
* import { parseSemVer } from "@fedify/fedify/nodeinfo";
|
39
|
-
* import { assertEquals } from "@std/assert";
|
40
|
-
*
|
41
|
-
* const version = parseSemVer("1.2.3");
|
42
|
-
* assertEquals(version, {
|
43
|
-
* major: 1,
|
44
|
-
* minor: 2,
|
45
|
-
* patch: 3,
|
46
|
-
* prerelease: [],
|
47
|
-
* build: [],
|
48
|
-
* });
|
49
|
-
* ```
|
50
|
-
*
|
51
|
-
* @throws {TypeError} If the input string is invalid.
|
52
|
-
* @param value The version string to parse
|
53
|
-
* @returns A valid SemVer
|
54
|
-
* @since 1.2.0
|
55
|
-
*/
|
56
|
-
declare function parseSemVer(value: string): SemVer;
|
57
|
-
/**
|
58
|
-
* Format a SemVer object into a string.
|
59
|
-
*
|
60
|
-
* @example Usage
|
61
|
-
* ```ts
|
62
|
-
* import { formatSemVer } from "@fedify/fedify/nodeinfo";
|
63
|
-
* import { assertEquals } from "@std/assert";
|
64
|
-
*
|
65
|
-
* const semver = {
|
66
|
-
* major: 1,
|
67
|
-
* minor: 2,
|
68
|
-
* patch: 3,
|
69
|
-
* };
|
70
|
-
* assertEquals(formatSemVer(semver), "1.2.3");
|
71
|
-
* ```
|
72
|
-
*
|
73
|
-
* @param version The SemVer to format
|
74
|
-
* @returns The string representation of a semantic version.
|
75
|
-
* @since 1.2.0
|
76
|
-
*/
|
77
|
-
declare function formatSemVer(version: SemVer): string; //#endregion
|
78
|
-
export { SemVer, formatSemVer as formatSemVer$1, parseSemVer as parseSemVer$1 };
|