@fedify/fedify 1.6.1-dev.869 → 1.6.1-dev.873
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/{vocab/actor.js → actor-DhyIYEBl.js} +5 -4
- package/dist/{vocab/actor.d.ts → actor-lFlm8FYo.d.ts} +2 -2
- package/dist/actor-trV1ExpS.js +36173 -0
- 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/authdocloader-4i4HAp9R.js +51 -0
- package/dist/{runtime/authdocloader.js → authdocloader-BXgFJugo.js} +5 -4
- package/dist/{federation/builder.js → builder-Bh56oIkr.js} +6 -5
- package/dist/{_virtual/rolldown_runtime.js → chunk-HsBuZ-b2.js} +1 -0
- package/dist/{nodeinfo/client.js → client-BoT1mhNh.js} +3 -2
- package/dist/client-Dw1pCSIt.d.ts +299 -0
- 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/{testing/context.js → context-B2499YhO.js} +5 -4
- package/dist/context-CzJXjNR8.d.ts +2034 -0
- 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-CMlE_DQr.js} +420 -1
- package/dist/{runtime/docloader.d.ts → docloader-DTRsVZPo.d.ts} +1 -1
- package/dist/docloader-lJiW6zUk.js +4594 -0
- 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/http-BImJcLfv.d.ts +258 -0
- package/dist/{sig/http.js → http-CFQSpmJT.js} +5 -4
- package/dist/http-DtHTiemN.js +720 -0
- package/dist/{federation/inbox.js → inbox-DkHjiHqX.js} +4 -3
- package/dist/key-B5Eb05gk.js +16 -0
- package/dist/key-BYBj-UD-.js +10 -0
- package/dist/key-CkoTQfVN.js +262 -0
- package/dist/{sig/key.js → key-a7_2L5_Z.js} +2 -4
- package/dist/{federation/keycache.js → keycache-D8j8RFWf.js} +2 -1
- package/dist/{testing/keys.js → keys-DxEMe-K1.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-I1s-XiQ5.js} +6 -6
- package/dist/{vocab/lookup.js → lookup--9t_F8FE.js} +5 -5
- package/dist/lookup-BDLFt_tc.js +131 -0
- package/dist/{webfinger/lookup.js → lookup-BUFWWv5q.js} +1 -3
- package/dist/{webfinger/jrd.d.ts → lookup-DAfStZtI.d.ts} +41 -1
- package/dist/middleware-BPXHlM9G.js +17 -0
- package/dist/middleware-ByU_X6O9.js +33 -0
- package/dist/middleware-CNVKIPYL.js +3525 -0
- package/dist/{federation/middleware.js → middleware-ewowwb4s.js} +957 -105
- 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.js → owner-2Gouxs6Y.js} +4 -4
- package/dist/{sig/owner.d.ts → owner-BjpObx-L.d.ts} +4 -6
- package/dist/proof-BcNfBguh.js +595 -0
- package/dist/{sig/proof.js → proof-CJ291J94.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-BFMnzlj7.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-Cx0IUMu0.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/vocab.d.ts → vocab-CLWdoo7y.d.ts} +21 -9
- package/dist/{vocab/vocab.js → vocab-Dwop3xOF.js} +331 -182
- package/dist/vocab-uQObf7P6.js +172 -0
- 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
package/dist/codegen/schema.js
DELETED
@@ -1,88 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { fromFileUrl } from "../node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/from_file_url.js";
|
6
|
-
import { dirname } from "../node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/dirname.js";
|
7
|
-
import { join } from "../node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/join.js";
|
8
|
-
import { parse } from "../node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/parse.js";
|
9
|
-
import { readDirRecursive } from "./fs.js";
|
10
|
-
import { Validator } from "@cfworker/json-schema";
|
11
|
-
import { readFile } from "node:fs/promises";
|
12
|
-
import { join as join$1 } from "node:path";
|
13
|
-
|
14
|
-
//#region codegen/schema.ts
|
15
|
-
/**
|
16
|
-
* An error that occurred while loading a schema file.
|
17
|
-
*/
|
18
|
-
var SchemaError = class extends Error {
|
19
|
-
/**
|
20
|
-
* The path of the schema file.
|
21
|
-
*/
|
22
|
-
path;
|
23
|
-
/**
|
24
|
-
* Constructs a new `SchemaError`.
|
25
|
-
* @param path The path of the schema file.
|
26
|
-
* @param message The error message.
|
27
|
-
*/
|
28
|
-
constructor(path, message) {
|
29
|
-
super(message);
|
30
|
-
this.path = path;
|
31
|
-
}
|
32
|
-
};
|
33
|
-
async function loadSchemaValidator() {
|
34
|
-
const thisFile = new URL(import.meta.url);
|
35
|
-
const schemaFile = join(dirname(thisFile), "schema.yaml");
|
36
|
-
let content;
|
37
|
-
if (schemaFile.protocol !== "file:") {
|
38
|
-
const response = await fetch(schemaFile);
|
39
|
-
content = await response.text();
|
40
|
-
} else content = await readFile(fromFileUrl(schemaFile), { encoding: "utf-8" });
|
41
|
-
const schemaObject = parse(content);
|
42
|
-
return new Validator(schemaObject);
|
43
|
-
}
|
44
|
-
let schemaValidator = void 0;
|
45
|
-
async function loadSchema(path) {
|
46
|
-
const content = await readFile(path, { encoding: "utf-8" });
|
47
|
-
const schema = parse(content);
|
48
|
-
if (schemaValidator == null) schemaValidator = await loadSchemaValidator();
|
49
|
-
const result = schemaValidator.validate(schema);
|
50
|
-
const errors = [];
|
51
|
-
if (result.valid) return schema;
|
52
|
-
for (const e of result.errors) errors.push(new SchemaError(path, `${path}:${e.instanceLocation}: ${e.error}`));
|
53
|
-
throw new AggregateError(errors);
|
54
|
-
}
|
55
|
-
/**
|
56
|
-
* Loads all schema files in the directory.
|
57
|
-
* @param dir The path of the directory to load schema files from.
|
58
|
-
* @returns A map from the qualified URI of a type to its {@link SchemaFile}.
|
59
|
-
* @throws {@link AggregateError} if any schema file is invalid. It contains
|
60
|
-
* all {@link SchemaError}s of the invalid schema files.
|
61
|
-
*/
|
62
|
-
async function loadSchemaFiles(dir) {
|
63
|
-
if (typeof dir !== "string") throw new TypeError("Expected a directory path in string");
|
64
|
-
const result = {};
|
65
|
-
const errors = [];
|
66
|
-
for await (const relPath of readDirRecursive(dir)) {
|
67
|
-
if (!relPath.match(/\.ya?ml$/i)) continue;
|
68
|
-
const path = join$1(dir, relPath);
|
69
|
-
let schema;
|
70
|
-
try {
|
71
|
-
schema = await loadSchema(path);
|
72
|
-
} catch (e) {
|
73
|
-
if (e instanceof AggregateError && e.errors.length > 0 && e.errors[0] instanceof SchemaError) {
|
74
|
-
errors.push(...e.errors);
|
75
|
-
continue;
|
76
|
-
}
|
77
|
-
throw e;
|
78
|
-
}
|
79
|
-
result[schema.uri] = schema;
|
80
|
-
}
|
81
|
-
if (errors.length > 0) throw new AggregateError(errors);
|
82
|
-
const entries = Object.entries(result);
|
83
|
-
entries.sort(([a], [b]) => a < b ? -1 : a > b ? 1 : 0);
|
84
|
-
return Object.fromEntries(entries);
|
85
|
-
}
|
86
|
-
|
87
|
-
//#endregion
|
88
|
-
export { loadSchemaFiles };
|
package/dist/codegen/type.js
DELETED
@@ -1,392 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region codegen/type.ts
|
6
|
-
const scalarTypes = {
|
7
|
-
"http://www.w3.org/2001/XMLSchema#boolean": {
|
8
|
-
name: "boolean",
|
9
|
-
typeGuard(v) {
|
10
|
-
return `typeof ${v} === "boolean"`;
|
11
|
-
},
|
12
|
-
encoder(v) {
|
13
|
-
return `{ "@value": ${v} }`;
|
14
|
-
},
|
15
|
-
compactEncoder(v) {
|
16
|
-
return v;
|
17
|
-
},
|
18
|
-
dataCheck(v) {
|
19
|
-
return `typeof ${v} === "object" && "@value" in ${v}
|
20
|
-
&& typeof ${v}["@value"] === "boolean"`;
|
21
|
-
},
|
22
|
-
decoder(v) {
|
23
|
-
return `${v}["@value"]`;
|
24
|
-
}
|
25
|
-
},
|
26
|
-
"http://www.w3.org/2001/XMLSchema#integer": {
|
27
|
-
name: "number",
|
28
|
-
typeGuard(v) {
|
29
|
-
return `typeof ${v} === "number" && Number.isInteger(${v})`;
|
30
|
-
},
|
31
|
-
encoder(v) {
|
32
|
-
return `{
|
33
|
-
"@type": "http://www.w3.org/2001/XMLSchema#integer",
|
34
|
-
"@value": ${v},
|
35
|
-
}`;
|
36
|
-
},
|
37
|
-
compactEncoder(v) {
|
38
|
-
return v;
|
39
|
-
},
|
40
|
-
dataCheck(v) {
|
41
|
-
return `typeof ${v} === "object" && "@type" in ${v}
|
42
|
-
&& ${v}["@type"] === "http://www.w3.org/2001/XMLSchema#integer"
|
43
|
-
&& "@value" in ${v} && typeof ${v}["@value"] === "number"`;
|
44
|
-
},
|
45
|
-
decoder(v) {
|
46
|
-
return `${v}["@value"] as number`;
|
47
|
-
}
|
48
|
-
},
|
49
|
-
"http://www.w3.org/2001/XMLSchema#nonNegativeInteger": {
|
50
|
-
name: "number",
|
51
|
-
typeGuard(v) {
|
52
|
-
return `typeof ${v} === "number" && Number.isInteger(${v}) && ${v} >= 0`;
|
53
|
-
},
|
54
|
-
encoder(v) {
|
55
|
-
return `{
|
56
|
-
"@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger",
|
57
|
-
"@value": ${v},
|
58
|
-
}`;
|
59
|
-
},
|
60
|
-
compactEncoder(v) {
|
61
|
-
return v;
|
62
|
-
},
|
63
|
-
dataCheck(v) {
|
64
|
-
return `typeof ${v} === "object" && "@type" in ${v}
|
65
|
-
&& ${v}["@type"] === "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
|
66
|
-
&& "@value" in ${v} && typeof ${v}["@value"] === "number"`;
|
67
|
-
},
|
68
|
-
decoder(v) {
|
69
|
-
return `${v}["@value"]`;
|
70
|
-
}
|
71
|
-
},
|
72
|
-
"http://www.w3.org/2001/XMLSchema#float": {
|
73
|
-
name: "number",
|
74
|
-
typeGuard(v) {
|
75
|
-
return `typeof ${v} === "number" && !Number.isNaN(${v})`;
|
76
|
-
},
|
77
|
-
encoder(v) {
|
78
|
-
return `{
|
79
|
-
"@type": "http://www.w3.org/2001/XMLSchema#float",
|
80
|
-
"@value": ${v},
|
81
|
-
}`;
|
82
|
-
},
|
83
|
-
compactEncoder(v) {
|
84
|
-
return v;
|
85
|
-
},
|
86
|
-
dataCheck(v) {
|
87
|
-
return `typeof ${v} === "object" && "@type" in ${v}
|
88
|
-
&& ${v}["@type"] === "http://www.w3.org/2001/XMLSchema#float"
|
89
|
-
&& "@value" in ${v} && typeof ${v}["@value"] === "number"`;
|
90
|
-
},
|
91
|
-
decoder(v) {
|
92
|
-
return `${v}["@value"]`;
|
93
|
-
}
|
94
|
-
},
|
95
|
-
"http://www.w3.org/2001/XMLSchema#string": {
|
96
|
-
name: "string",
|
97
|
-
typeGuard(v) {
|
98
|
-
return `typeof ${v} === "string"`;
|
99
|
-
},
|
100
|
-
encoder(v) {
|
101
|
-
return `{ "@value": ${v} }`;
|
102
|
-
},
|
103
|
-
compactEncoder(v) {
|
104
|
-
return v;
|
105
|
-
},
|
106
|
-
dataCheck(v) {
|
107
|
-
return `typeof ${v} === "object" && "@value" in ${v}
|
108
|
-
&& typeof ${v}["@value"] === "string" && !("@language" in ${v})`;
|
109
|
-
},
|
110
|
-
decoder(v) {
|
111
|
-
return `${v}["@value"]`;
|
112
|
-
}
|
113
|
-
},
|
114
|
-
"http://www.w3.org/2001/XMLSchema#anyURI": {
|
115
|
-
name: "URL",
|
116
|
-
typeGuard(v) {
|
117
|
-
return `${v} instanceof URL`;
|
118
|
-
},
|
119
|
-
encoder(v) {
|
120
|
-
return `{ "@id": ${v}.href }`;
|
121
|
-
},
|
122
|
-
compactEncoder(v) {
|
123
|
-
return `${v}.href`;
|
124
|
-
},
|
125
|
-
dataCheck(v) {
|
126
|
-
return `typeof ${v} === "object" && "@id" in ${v}
|
127
|
-
&& typeof ${v}["@id"] === "string"
|
128
|
-
&& ${v}["@id"] !== "" && ${v}["@id"] !== "/"`;
|
129
|
-
},
|
130
|
-
decoder(v) {
|
131
|
-
return `new URL(${v}["@id"])`;
|
132
|
-
}
|
133
|
-
},
|
134
|
-
"http://www.w3.org/1999/02/22-rdf-syntax-ns#langString": {
|
135
|
-
name: "LanguageString",
|
136
|
-
typeGuard(v) {
|
137
|
-
return `${v} instanceof LanguageString`;
|
138
|
-
},
|
139
|
-
encoder(v) {
|
140
|
-
return `{
|
141
|
-
"@value": ${v}.toString(),
|
142
|
-
"@language": ${v}.language.compact(),
|
143
|
-
}`;
|
144
|
-
},
|
145
|
-
dataCheck(v) {
|
146
|
-
return `typeof ${v} === "object" && "@language" in ${v} && "@value" in ${v}
|
147
|
-
&& typeof ${v}["@language"] === "string"
|
148
|
-
&& typeof ${v}["@value"] === "string"`;
|
149
|
-
},
|
150
|
-
decoder(v) {
|
151
|
-
return `new LanguageString(${v}["@value"], ${v}["@language"])`;
|
152
|
-
}
|
153
|
-
},
|
154
|
-
"http://www.w3.org/2001/XMLSchema#dateTime": {
|
155
|
-
name: "Temporal.Instant",
|
156
|
-
typeGuard(v) {
|
157
|
-
return `${v} instanceof Temporal.Instant`;
|
158
|
-
},
|
159
|
-
encoder(v) {
|
160
|
-
return `{
|
161
|
-
"@type": "http://www.w3.org/2001/XMLSchema#dateTime",
|
162
|
-
"@value": ${v}.toString(),
|
163
|
-
}`;
|
164
|
-
},
|
165
|
-
compactEncoder(v) {
|
166
|
-
return `${v}.toString()`;
|
167
|
-
},
|
168
|
-
dataCheck(v) {
|
169
|
-
return `typeof ${v} === "object" && "@type" in ${v}
|
170
|
-
&& "@value" in ${v} && typeof ${v}["@value"] === "string"
|
171
|
-
&& ${v}["@type"] === "http://www.w3.org/2001/XMLSchema#dateTime"
|
172
|
-
// Check if the value is a valid RFC 3339 date-time string
|
173
|
-
&& new Date(${v}["@value"]).toString() !== "Invalid Date"
|
174
|
-
`;
|
175
|
-
},
|
176
|
-
decoder(v) {
|
177
|
-
return `Temporal.Instant.from(
|
178
|
-
${v}["@value"].substring(19).match(/[Z+-]/)
|
179
|
-
? ${v}["@value"]
|
180
|
-
: ${v}["@value"] + "Z"
|
181
|
-
)`;
|
182
|
-
}
|
183
|
-
},
|
184
|
-
"http://www.w3.org/2001/XMLSchema#duration": {
|
185
|
-
name: "Temporal.Duration",
|
186
|
-
typeGuard(v) {
|
187
|
-
return `${v} instanceof Temporal.Duration`;
|
188
|
-
},
|
189
|
-
encoder(v) {
|
190
|
-
return `{
|
191
|
-
"@type": "http://www.w3.org/2001/XMLSchema#duration",
|
192
|
-
"@value": ${v}.toString(),
|
193
|
-
}`;
|
194
|
-
},
|
195
|
-
compactEncoder(v) {
|
196
|
-
return `${v}.toString()`;
|
197
|
-
},
|
198
|
-
dataCheck(v) {
|
199
|
-
return `typeof ${v} === "object" && "@type" in ${v}
|
200
|
-
&& "@value" in ${v} && typeof ${v}["@value"] === "string"
|
201
|
-
&& ${v}["@type"] === "http://www.w3.org/2001/XMLSchema#duration"`;
|
202
|
-
},
|
203
|
-
decoder(v) {
|
204
|
-
return `Temporal.Duration.from(${v}["@value"])`;
|
205
|
-
}
|
206
|
-
},
|
207
|
-
"https://w3id.org/security#cryptosuiteString": {
|
208
|
-
name: "\"eddsa-jcs-2022\"",
|
209
|
-
typeGuard(v) {
|
210
|
-
return `${v} == "eddsa-jcs-2022"`;
|
211
|
-
},
|
212
|
-
encoder(v) {
|
213
|
-
return `{ "@value": ${v} }`;
|
214
|
-
},
|
215
|
-
compactEncoder(v) {
|
216
|
-
return v;
|
217
|
-
},
|
218
|
-
dataCheck(v) {
|
219
|
-
return `typeof ${v} === "object" && "@value" in ${v}
|
220
|
-
&& !("@language" in ${v}) && ${v}["@value"] === "eddsa-jcs-2022"`;
|
221
|
-
},
|
222
|
-
decoder(v) {
|
223
|
-
return `${v}["@value"]`;
|
224
|
-
}
|
225
|
-
},
|
226
|
-
"https://w3id.org/security#multibase": {
|
227
|
-
name: "Uint8Array",
|
228
|
-
typeGuard(v) {
|
229
|
-
return `${v} instanceof Uint8Array`;
|
230
|
-
},
|
231
|
-
encoder(v) {
|
232
|
-
return `{
|
233
|
-
"@type": "https://w3id.org/security#multibase",
|
234
|
-
"@value": new TextDecoder().decode(encodeMultibase("base58btc", ${v})),
|
235
|
-
}`;
|
236
|
-
},
|
237
|
-
compactEncoder(v) {
|
238
|
-
return `new TextDecoder().decode(encodeMultibase("base58btc", ${v}))`;
|
239
|
-
},
|
240
|
-
dataCheck(v) {
|
241
|
-
return `typeof ${v} === "object" && "@value" in ${v}
|
242
|
-
&& typeof ${v}["@value"] === "string"`;
|
243
|
-
},
|
244
|
-
decoder(v) {
|
245
|
-
return `decodeMultibase(${v}["@value"])`;
|
246
|
-
}
|
247
|
-
},
|
248
|
-
"fedify:langTag": {
|
249
|
-
name: "LanguageTag",
|
250
|
-
typeGuard(v) {
|
251
|
-
return `${v} instanceof LanguageTag`;
|
252
|
-
},
|
253
|
-
encoder(v) {
|
254
|
-
return `{ "@value": ${v}.compact() }`;
|
255
|
-
},
|
256
|
-
compactEncoder(v) {
|
257
|
-
return `${v}.compact()`;
|
258
|
-
},
|
259
|
-
dataCheck(v) {
|
260
|
-
return `typeof ${v} === "object" && "@value" in ${v}
|
261
|
-
&& typeof ${v}["@value"] === "string" && !("@language" in ${v})`;
|
262
|
-
},
|
263
|
-
decoder(v) {
|
264
|
-
return `parseLanguageTag(${v}["@value"])`;
|
265
|
-
}
|
266
|
-
},
|
267
|
-
"fedify:url": {
|
268
|
-
name: "URL",
|
269
|
-
typeGuard(v) {
|
270
|
-
return `${v} instanceof URL`;
|
271
|
-
},
|
272
|
-
encoder(v) {
|
273
|
-
return `{ "@value": ${v}.href }`;
|
274
|
-
},
|
275
|
-
compactEncoder(v) {
|
276
|
-
return `${v}.href`;
|
277
|
-
},
|
278
|
-
dataCheck(v) {
|
279
|
-
return `typeof ${v} === "object" && "@value" in ${v}
|
280
|
-
&& typeof ${v}["@value"] === "string"
|
281
|
-
&& ${v}["@value"] !== "" && ${v}["@value"] !== "/"`;
|
282
|
-
},
|
283
|
-
decoder(v) {
|
284
|
-
return `new URL(${v}["@value"])`;
|
285
|
-
}
|
286
|
-
},
|
287
|
-
"fedify:publicKey": {
|
288
|
-
name: "CryptoKey",
|
289
|
-
typeGuard(v) {
|
290
|
-
return `
|
291
|
-
// @ts-ignore: CryptoKey exists in the global scope.
|
292
|
-
${v} instanceof CryptoKey
|
293
|
-
`;
|
294
|
-
},
|
295
|
-
encoder(v) {
|
296
|
-
return `{ "@value": await exportSpki(${v}) }`;
|
297
|
-
},
|
298
|
-
compactEncoder(v) {
|
299
|
-
return `await exportSpki(${v})`;
|
300
|
-
},
|
301
|
-
dataCheck(v) {
|
302
|
-
return `typeof ${v} === "object" && "@value" in ${v}
|
303
|
-
&& typeof ${v}["@value"] === "string"`;
|
304
|
-
},
|
305
|
-
decoder(v) {
|
306
|
-
return `await importPem(${v}["@value"])`;
|
307
|
-
}
|
308
|
-
},
|
309
|
-
"fedify:multibaseKey": {
|
310
|
-
name: "CryptoKey",
|
311
|
-
typeGuard(v) {
|
312
|
-
return `
|
313
|
-
// @ts-ignore: CryptoKey exists in the global scope.
|
314
|
-
${v} instanceof CryptoKey
|
315
|
-
`;
|
316
|
-
},
|
317
|
-
encoder(v) {
|
318
|
-
return `{
|
319
|
-
"@type": "https://w3id.org/security#multibase",
|
320
|
-
"@value": await exportMultibaseKey(${v}),
|
321
|
-
}`;
|
322
|
-
},
|
323
|
-
compactEncoder(v) {
|
324
|
-
return `await exportMultibaseKey(${v})`;
|
325
|
-
},
|
326
|
-
dataCheck(v) {
|
327
|
-
return `typeof ${v} === "object" && "@value" in ${v}
|
328
|
-
&& typeof ${v}["@value"] === "string"`;
|
329
|
-
},
|
330
|
-
decoder(v) {
|
331
|
-
return `await importMultibaseKey(${v}["@value"])`;
|
332
|
-
}
|
333
|
-
},
|
334
|
-
"fedify:proofPurpose": {
|
335
|
-
name: "\"assertionMethod\" | \"authentication\" | \"capabilityInvocation\" | \"capabilityDelegation\" | \"keyAgreement\"",
|
336
|
-
typeGuard(v) {
|
337
|
-
return `${v} === "assertionMethod" || ${v} === "authentication" ||
|
338
|
-
${v} === "capabilityInvocation" || ${v} === "capabilityDelegation" ||
|
339
|
-
${v} === "keyAgreement"`;
|
340
|
-
},
|
341
|
-
encoder(v) {
|
342
|
-
return `{
|
343
|
-
"@id": "https://w3id.org/security#" + ${v},
|
344
|
-
}`;
|
345
|
-
},
|
346
|
-
compactEncoder(v) {
|
347
|
-
return v;
|
348
|
-
},
|
349
|
-
dataCheck(v) {
|
350
|
-
return `typeof ${v} === "object" && "@id" in ${v}
|
351
|
-
&& typeof ${v}["@id"] === "string"
|
352
|
-
&& ${v}["@id"].startsWith("https://w3id.org/security#")
|
353
|
-
&& [
|
354
|
-
"assertionMethod", "authentication", "capabilityInvocation",
|
355
|
-
"capabilityDelegation", "keyAgreement",
|
356
|
-
].includes(${v}["@id"].substring(26))`;
|
357
|
-
},
|
358
|
-
decoder(v) {
|
359
|
-
return `${v}["@id"].substring(26)`;
|
360
|
-
}
|
361
|
-
},
|
362
|
-
"fedify:units": {
|
363
|
-
name: "\"cm\" | \"feet\" | \"inches\" | \"km\" | \"m\" | \"miles\"",
|
364
|
-
typeGuard(v) {
|
365
|
-
return `${v} == "cm" || ${v} == "feet" || ${v} == "inches" || ${v} == "km" || ${v} == "m" || ${v} == "miles"`;
|
366
|
-
},
|
367
|
-
encoder(v) {
|
368
|
-
return `{ "@value": ${v} }`;
|
369
|
-
},
|
370
|
-
compactEncoder(v) {
|
371
|
-
return v;
|
372
|
-
},
|
373
|
-
dataCheck(v) {
|
374
|
-
return `typeof ${v} === "object" && "@value" in ${v}
|
375
|
-
&& (${v}["@value"] == "cm" || ${v}["@value"] == "feet" || ${v}["@value"] == "inches" || ${v}["@value"] == "km" || ${v}["@value"] == "m" || ${v}["@value"] == "miles")`;
|
376
|
-
},
|
377
|
-
decoder(v) {
|
378
|
-
return `${v}["@value"]`;
|
379
|
-
}
|
380
|
-
}
|
381
|
-
};
|
382
|
-
function isScalarType(typeUri, types) {
|
383
|
-
if (typeUri in scalarTypes) return true;
|
384
|
-
else if (typeUri in types) return !types[typeUri].entity;
|
385
|
-
throw new Error(`Unknown type: ${typeUri}`);
|
386
|
-
}
|
387
|
-
function areAllScalarTypes(typeUris, types) {
|
388
|
-
return typeUris.every((typeUri) => isScalarType(typeUri, types));
|
389
|
-
}
|
390
|
-
|
391
|
-
//#endregion
|
392
|
-
export { areAllScalarTypes };
|
package/dist/compat/types.d.ts
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
import { Temporal } from "@js-temporal/polyfill";
|
2
|
-
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import { Activity$1 as Activity } from "../vocab/vocab.js";
|
4
|
-
import { Context } from "../federation/context.js";
|
5
|
-
|
6
|
-
//#region compat/types.d.ts
|
7
|
-
/**
|
8
|
-
* A function that transforms an activity object.
|
9
|
-
* @since 1.4.0
|
10
|
-
*/
|
11
|
-
/**
|
12
|
-
* A function that transforms an activity object.
|
13
|
-
* @since 1.4.0
|
14
|
-
*/
|
15
|
-
type ActivityTransformer<TContextData> = (activity: Activity, context: Context<TContextData>) => Activity;
|
16
|
-
|
17
|
-
//#endregion
|
18
|
-
export { ActivityTransformer };
|
package/dist/deno.js
DELETED
@@ -1,137 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region deno.json
|
6
|
-
var name = "@fedify/fedify";
|
7
|
-
var version = "1.6.1-dev.869+94f077ee";
|
8
|
-
var license = "MIT";
|
9
|
-
var exports = {
|
10
|
-
".": "./mod.ts",
|
11
|
-
"./compat": "./compat/mod.ts",
|
12
|
-
"./federation": "./federation/mod.ts",
|
13
|
-
"./nodeinfo": "./nodeinfo/mod.ts",
|
14
|
-
"./runtime": "./runtime/mod.ts",
|
15
|
-
"./sig": "./sig/mod.ts",
|
16
|
-
"./vocab": "./vocab/mod.ts",
|
17
|
-
"./webfinger": "./webfinger/mod.ts",
|
18
|
-
"./x/denokv": "./x/denokv.ts",
|
19
|
-
"./x/fresh": "./x/fresh.ts",
|
20
|
-
"./x/hono": "./x/hono.ts",
|
21
|
-
"./x/sveltekit": "./x/sveltekit.ts"
|
22
|
-
};
|
23
|
-
var imports = {
|
24
|
-
"@cfworker/json-schema": "npm:@cfworker/json-schema@^4.1.1",
|
25
|
-
"@es-toolkit/es-toolkit": "jsr:@es-toolkit/es-toolkit@^1.38.0",
|
26
|
-
"@hongminhee/deno-mock-fetch": "jsr:@hongminhee/deno-mock-fetch@^0.3.2",
|
27
|
-
"@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2",
|
28
|
-
"@multiformats/base-x": "npm:@multiformats/base-x@^4.0.1",
|
29
|
-
"@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
|
30
|
-
"@opentelemetry/semantic-conventions": "npm:@opentelemetry/semantic-conventions@^1.27.0",
|
31
|
-
"@phensley/language-tag": "npm:@phensley/language-tag@^1.9.0",
|
32
|
-
"@std/assert": "jsr:@std/assert@^0.226.0",
|
33
|
-
"@std/testing": "jsr:@std/testing@^0.224.0",
|
34
|
-
"@std/url": "jsr:@std/url@^0.225.1",
|
35
|
-
"@std/yaml": "jsr:@std/yaml@^0.224.3",
|
36
|
-
"asn1js": "npm:asn1js@^3.0.5",
|
37
|
-
"byte-encodings": "npm:byte-encodings@^1.0.11",
|
38
|
-
"fast-check": "npm:fast-check@^3.22.0",
|
39
|
-
"fetch-mock": "npm:fetch-mock@^12.5.2",
|
40
|
-
"json-canon": "npm:json-canon@^1.0.1",
|
41
|
-
"jsonld": "npm:jsonld@^8.3.2",
|
42
|
-
"multicodec": "npm:multicodec@^3.2.1",
|
43
|
-
"pkijs": "npm:pkijs@^3.2.4",
|
44
|
-
"structured-field-values": "npm:structured-field-values@^2.0.4",
|
45
|
-
"tsdown": "npm:tsdown@^0.12.2",
|
46
|
-
"uri-template-router": "npm:uri-template-router@^0.0.17",
|
47
|
-
"url-template": "npm:url-template@^3.1.1"
|
48
|
-
};
|
49
|
-
var include = ["vocab/vocab.ts"];
|
50
|
-
var exclude = [
|
51
|
-
"apidoc/",
|
52
|
-
"cfworkers/dist/",
|
53
|
-
"cfworkers/fixtures/",
|
54
|
-
"cfworkers/imports.ts",
|
55
|
-
"cfworkers/README.md",
|
56
|
-
"cfworkers/server.ts",
|
57
|
-
"cfworkers/server.js",
|
58
|
-
"cfworkers/server.js.map",
|
59
|
-
"codegen/schema.yaml",
|
60
|
-
"dist/",
|
61
|
-
"node_modules/",
|
62
|
-
"npm/",
|
63
|
-
"pnpm-lock.yaml",
|
64
|
-
"vocab/*.yaml",
|
65
|
-
"!vocab/vocab.ts"
|
66
|
-
];
|
67
|
-
var tasks = {
|
68
|
-
"codegen": "deno run --allow-read --allow-write --check codegen/main.ts vocab/ ../runtime/ > vocab/vocab.ts && deno fmt vocab/vocab.ts && deno cache vocab/vocab.ts && deno check vocab/vocab.ts",
|
69
|
-
"check-version": "deno run --allow-read=package.json scripts/check_version.ts && deno run ../cli/scripts/check_version.ts",
|
70
|
-
"sync-version": "deno run --allow-read=package.json --allow-write=package.json scripts/sync_version.ts && deno run --allow-read=../cli/deno.json --allow-write=../cli/deno.json ../cli/scripts/sync_version.ts",
|
71
|
-
"cache": {
|
72
|
-
"command": "deno cache mod.ts",
|
73
|
-
"dependencies": ["check-version", "codegen"]
|
74
|
-
},
|
75
|
-
"check": {
|
76
|
-
"command": "deno fmt --check && deno lint && deno check */*.ts",
|
77
|
-
"dependencies": ["codegen"]
|
78
|
-
},
|
79
|
-
"test": {
|
80
|
-
"command": "deno test --check --doc --allow-read --allow-write --allow-env --unstable-kv --trace-leaks --parallel",
|
81
|
-
"dependencies": ["codegen"]
|
82
|
-
},
|
83
|
-
"coverage": "deno task test --clean --coverage && deno coverage --html coverage",
|
84
|
-
"bench": {
|
85
|
-
"command": "deno bench --allow-read --allow-write --allow-net --allow-env --allow-run --unstable-kv",
|
86
|
-
"dependencies": ["codegen"]
|
87
|
-
},
|
88
|
-
"apidoc": {
|
89
|
-
"command": "deno doc --html --name=Fedify --output=apidoc/ mod.ts",
|
90
|
-
"dependencies": ["codegen"]
|
91
|
-
},
|
92
|
-
"publish": {
|
93
|
-
"command": "deno publish",
|
94
|
-
"dependencies": ["check-version", "codegen"]
|
95
|
-
},
|
96
|
-
"pnpm:install": "pnpm install",
|
97
|
-
"pnpm:build": {
|
98
|
-
"command": "pnpm exec tsdown",
|
99
|
-
"dependencies": ["codegen", "pnpm:install"]
|
100
|
-
},
|
101
|
-
"npm": {
|
102
|
-
"command": "pnpm pack",
|
103
|
-
"dependencies": ["sync-version", "pnpm:install"]
|
104
|
-
},
|
105
|
-
"test:node": {
|
106
|
-
"command": "cd dist/ && node --test",
|
107
|
-
"dependencies": ["pnpm:build"]
|
108
|
-
},
|
109
|
-
"test:bun": {
|
110
|
-
"command": "cd dist/ && bun test --timeout 60000",
|
111
|
-
"dependencies": ["pnpm:build"]
|
112
|
-
},
|
113
|
-
"test:cfworkers": {
|
114
|
-
"command": "pnpm exec wrangler deploy --dry-run --outdir cfworkers && node --import=tsx cfworkers/client.ts",
|
115
|
-
"dependencies": ["pnpm:build"]
|
116
|
-
},
|
117
|
-
"test-all": { "dependencies": [
|
118
|
-
"check",
|
119
|
-
"test",
|
120
|
-
"test:node",
|
121
|
-
"test:bun",
|
122
|
-
"test:cfworkers"
|
123
|
-
] }
|
124
|
-
};
|
125
|
-
var deno_default = {
|
126
|
-
name,
|
127
|
-
version,
|
128
|
-
license,
|
129
|
-
exports,
|
130
|
-
imports,
|
131
|
-
include,
|
132
|
-
exclude,
|
133
|
-
tasks
|
134
|
-
};
|
135
|
-
|
136
|
-
//#endregion
|
137
|
-
export { deno_default };
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { Temporal } from "@js-temporal/polyfill";
|
2
|
-
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import { FederationBuilder } from "./federation.js";
|
4
|
-
import "@opentelemetry/api";
|
5
|
-
|
6
|
-
//#region federation/builder.d.ts
|
7
|
-
/**
|
8
|
-
* Creates a new {@link FederationBuilder} instance.
|
9
|
-
* @returns A new {@link FederationBuilder} instance.
|
10
|
-
* @since 1.6.0
|
11
|
-
*/
|
12
|
-
|
13
|
-
/**
|
14
|
-
* Creates a new {@link FederationBuilder} instance.
|
15
|
-
* @returns A new {@link FederationBuilder} instance.
|
16
|
-
* @since 1.6.0
|
17
|
-
*/
|
18
|
-
declare function createFederationBuilder<TContextData>(): FederationBuilder<TContextData>; //#endregion
|
19
|
-
export { createFederationBuilder as createFederationBuilder$1 };
|