@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
@@ -1,68 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { SArray, safeMap, safeSlice } from "../utils/globals.js";
|
6
|
-
import { tuple } from "./tuple.js";
|
7
|
-
import { MaxLengthUpperBound, maxGeneratedLengthFromSizeForArbitrary } from "./_internals/helpers/MaxLengthFromMinLength.js";
|
8
|
-
import { uniqueArray } from "./uniqueArray.js";
|
9
|
-
import { restrictedIntegerArbitraryBuilder } from "./_internals/builders/RestrictedIntegerArbitraryBuilder.js";
|
10
|
-
|
11
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/sparseArray.js
|
12
|
-
const safeMathMin = Math.min;
|
13
|
-
const safeMathMax = Math.max;
|
14
|
-
const safeArrayIsArray = SArray.isArray;
|
15
|
-
const safeObjectEntries = Object.entries;
|
16
|
-
function extractMaxIndex(indexesAndValues) {
|
17
|
-
let maxIndex = -1;
|
18
|
-
for (let index = 0; index !== indexesAndValues.length; ++index) maxIndex = safeMathMax(maxIndex, indexesAndValues[index][0]);
|
19
|
-
return maxIndex;
|
20
|
-
}
|
21
|
-
function arrayFromItems(length, indexesAndValues) {
|
22
|
-
const array = SArray(length);
|
23
|
-
for (let index = 0; index !== indexesAndValues.length; ++index) {
|
24
|
-
const it = indexesAndValues[index];
|
25
|
-
if (it[0] < length) array[it[0]] = it[1];
|
26
|
-
}
|
27
|
-
return array;
|
28
|
-
}
|
29
|
-
function sparseArray(arb, constraints = {}) {
|
30
|
-
const { size, minNumElements = 0, maxLength = MaxLengthUpperBound, maxNumElements = maxLength, noTrailingHole, depthIdentifier } = constraints;
|
31
|
-
const maxGeneratedNumElements = maxGeneratedLengthFromSizeForArbitrary(size, minNumElements, maxNumElements, constraints.maxNumElements !== void 0);
|
32
|
-
const maxGeneratedLength = maxGeneratedLengthFromSizeForArbitrary(size, maxGeneratedNumElements, maxLength, constraints.maxLength !== void 0);
|
33
|
-
if (minNumElements > maxLength) throw new Error(`The minimal number of non-hole elements cannot be higher than the maximal length of the array`);
|
34
|
-
if (minNumElements > maxNumElements) throw new Error(`The minimal number of non-hole elements cannot be higher than the maximal number of non-holes`);
|
35
|
-
const resultedMaxNumElements = safeMathMin(maxNumElements, maxLength);
|
36
|
-
const resultedSizeMaxNumElements = constraints.maxNumElements !== void 0 || size !== void 0 ? size : "=";
|
37
|
-
const maxGeneratedIndexAuthorized = safeMathMax(maxGeneratedLength - 1, 0);
|
38
|
-
const maxIndexAuthorized = safeMathMax(maxLength - 1, 0);
|
39
|
-
const sparseArrayNoTrailingHole = uniqueArray(tuple(restrictedIntegerArbitraryBuilder(0, maxGeneratedIndexAuthorized, maxIndexAuthorized), arb), {
|
40
|
-
size: resultedSizeMaxNumElements,
|
41
|
-
minLength: minNumElements,
|
42
|
-
maxLength: resultedMaxNumElements,
|
43
|
-
selector: (item) => item[0],
|
44
|
-
depthIdentifier
|
45
|
-
}).map((items) => {
|
46
|
-
const lastIndex = extractMaxIndex(items);
|
47
|
-
return arrayFromItems(lastIndex + 1, items);
|
48
|
-
}, (value) => {
|
49
|
-
if (!safeArrayIsArray(value)) throw new Error("Not supported entry type");
|
50
|
-
if (noTrailingHole && value.length !== 0 && !(value.length - 1 in value)) throw new Error("No trailing hole");
|
51
|
-
return safeMap(safeObjectEntries(value), (entry) => [Number(entry[0]), entry[1]]);
|
52
|
-
});
|
53
|
-
if (noTrailingHole || maxLength === minNumElements) return sparseArrayNoTrailingHole;
|
54
|
-
return tuple(sparseArrayNoTrailingHole, restrictedIntegerArbitraryBuilder(minNumElements, maxGeneratedLength, maxLength)).map((data) => {
|
55
|
-
const sparse = data[0];
|
56
|
-
const targetLength = data[1];
|
57
|
-
if (sparse.length >= targetLength) return sparse;
|
58
|
-
const longerSparse = safeSlice(sparse);
|
59
|
-
longerSparse.length = targetLength;
|
60
|
-
return longerSparse;
|
61
|
-
}, (value) => {
|
62
|
-
if (!safeArrayIsArray(value)) throw new Error("Not supported entry type");
|
63
|
-
return [value, value.length];
|
64
|
-
});
|
65
|
-
}
|
66
|
-
|
67
|
-
//#endregion
|
68
|
-
export { sparseArray };
|
@@ -1,32 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { array } from "./array.js";
|
6
|
-
import { patternsToStringMapper, patternsToStringUnmapperFor } from "./_internals/mappers/PatternsToString.js";
|
7
|
-
import { createSlicesForString } from "./_internals/helpers/SlicesForStringBuilder.js";
|
8
|
-
import { stringUnit } from "./_internals/StringUnitArbitrary.js";
|
9
|
-
|
10
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/string.js
|
11
|
-
const safeObjectAssign = Object.assign;
|
12
|
-
function extractUnitArbitrary(constraints) {
|
13
|
-
if (typeof constraints.unit === "object") return constraints.unit;
|
14
|
-
switch (constraints.unit) {
|
15
|
-
case "grapheme": return stringUnit("grapheme", "full");
|
16
|
-
case "grapheme-composite": return stringUnit("composite", "full");
|
17
|
-
case "grapheme-ascii":
|
18
|
-
case void 0: return stringUnit("grapheme", "ascii");
|
19
|
-
case "binary": return stringUnit("binary", "full");
|
20
|
-
case "binary-ascii": return stringUnit("binary", "ascii");
|
21
|
-
}
|
22
|
-
}
|
23
|
-
function string(constraints = {}) {
|
24
|
-
const charArbitrary = extractUnitArbitrary(constraints);
|
25
|
-
const unmapper = patternsToStringUnmapperFor(charArbitrary, constraints);
|
26
|
-
const experimentalCustomSlices = createSlicesForString(charArbitrary, constraints);
|
27
|
-
const enrichedConstraints = safeObjectAssign(safeObjectAssign({}, constraints), { experimentalCustomSlices });
|
28
|
-
return array(charArbitrary, enrichedConstraints).map(patternsToStringMapper, unmapper);
|
29
|
-
}
|
30
|
-
|
31
|
-
//#endregion
|
32
|
-
export { string };
|
package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/tuple.js
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { TupleArbitrary } from "./_internals/TupleArbitrary.js";
|
6
|
-
|
7
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/tuple.js
|
8
|
-
function tuple(...arbs) {
|
9
|
-
return new TupleArbitrary(arbs);
|
10
|
-
}
|
11
|
-
|
12
|
-
//#endregion
|
13
|
-
export { tuple };
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { SUint16Array } from "../utils/globals.js";
|
6
|
-
import { integer } from "./integer.js";
|
7
|
-
import { typedIntArrayArbitraryArbitraryBuilder } from "./_internals/builders/TypedIntArrayArbitraryBuilder.js";
|
8
|
-
|
9
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint16Array.js
|
10
|
-
function uint16Array(constraints = {}) {
|
11
|
-
return typedIntArrayArbitraryArbitraryBuilder(constraints, 0, 65535, SUint16Array, integer);
|
12
|
-
}
|
13
|
-
|
14
|
-
//#endregion
|
15
|
-
export { uint16Array };
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { SUint32Array } from "../utils/globals.js";
|
6
|
-
import { integer } from "./integer.js";
|
7
|
-
import { typedIntArrayArbitraryArbitraryBuilder } from "./_internals/builders/TypedIntArrayArbitraryBuilder.js";
|
8
|
-
|
9
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint32Array.js
|
10
|
-
function uint32Array(constraints = {}) {
|
11
|
-
return typedIntArrayArbitraryArbitraryBuilder(constraints, 0, 4294967295, SUint32Array, integer);
|
12
|
-
}
|
13
|
-
|
14
|
-
//#endregion
|
15
|
-
export { uint32Array };
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { SUint8Array } from "../utils/globals.js";
|
6
|
-
import { integer } from "./integer.js";
|
7
|
-
import { typedIntArrayArbitraryArbitraryBuilder } from "./_internals/builders/TypedIntArrayArbitraryBuilder.js";
|
8
|
-
|
9
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint8Array.js
|
10
|
-
function uint8Array(constraints = {}) {
|
11
|
-
return typedIntArrayArbitraryArbitraryBuilder(constraints, 0, 255, SUint8Array, integer);
|
12
|
-
}
|
13
|
-
|
14
|
-
//#endregion
|
15
|
-
export { uint8Array };
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { SUint8ClampedArray } from "../utils/globals.js";
|
6
|
-
import { integer } from "./integer.js";
|
7
|
-
import { typedIntArrayArbitraryArbitraryBuilder } from "./_internals/builders/TypedIntArrayArbitraryBuilder.js";
|
8
|
-
|
9
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint8ClampedArray.js
|
10
|
-
function uint8ClampedArray(constraints = {}) {
|
11
|
-
return typedIntArrayArbitraryArbitraryBuilder(constraints, 0, 255, SUint8ClampedArray, integer);
|
12
|
-
}
|
13
|
-
|
14
|
-
//#endregion
|
15
|
-
export { uint8ClampedArray };
|
@@ -1,47 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { ArrayArbitrary } from "./_internals/ArrayArbitrary.js";
|
6
|
-
import { MaxLengthUpperBound, maxGeneratedLengthFromSizeForArbitrary } from "./_internals/helpers/MaxLengthFromMinLength.js";
|
7
|
-
import { CustomEqualSet } from "./_internals/helpers/CustomEqualSet.js";
|
8
|
-
import { StrictlyEqualSet } from "./_internals/helpers/StrictlyEqualSet.js";
|
9
|
-
import { SameValueSet } from "./_internals/helpers/SameValueSet.js";
|
10
|
-
import { SameValueZeroSet } from "./_internals/helpers/SameValueZeroSet.js";
|
11
|
-
|
12
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uniqueArray.js
|
13
|
-
function buildUniqueArraySetBuilder(constraints) {
|
14
|
-
if (typeof constraints.comparator === "function") {
|
15
|
-
if (constraints.selector === void 0) {
|
16
|
-
const comparator$1 = constraints.comparator;
|
17
|
-
const isEqualForBuilder$1 = (nextA, nextB) => comparator$1(nextA.value_, nextB.value_);
|
18
|
-
return () => new CustomEqualSet(isEqualForBuilder$1);
|
19
|
-
}
|
20
|
-
const comparator = constraints.comparator;
|
21
|
-
const selector$1 = constraints.selector;
|
22
|
-
const refinedSelector$1 = (next) => selector$1(next.value_);
|
23
|
-
const isEqualForBuilder = (nextA, nextB) => comparator(refinedSelector$1(nextA), refinedSelector$1(nextB));
|
24
|
-
return () => new CustomEqualSet(isEqualForBuilder);
|
25
|
-
}
|
26
|
-
const selector = constraints.selector || ((v) => v);
|
27
|
-
const refinedSelector = (next) => selector(next.value_);
|
28
|
-
switch (constraints.comparator) {
|
29
|
-
case "IsStrictlyEqual": return () => new StrictlyEqualSet(refinedSelector);
|
30
|
-
case "SameValueZero": return () => new SameValueZeroSet(refinedSelector);
|
31
|
-
case "SameValue":
|
32
|
-
case void 0: return () => new SameValueSet(refinedSelector);
|
33
|
-
}
|
34
|
-
}
|
35
|
-
function uniqueArray(arb, constraints = {}) {
|
36
|
-
const minLength = constraints.minLength !== void 0 ? constraints.minLength : 0;
|
37
|
-
const maxLength = constraints.maxLength !== void 0 ? constraints.maxLength : MaxLengthUpperBound;
|
38
|
-
const maxGeneratedLength = maxGeneratedLengthFromSizeForArbitrary(constraints.size, minLength, maxLength, constraints.maxLength !== void 0);
|
39
|
-
const depthIdentifier = constraints.depthIdentifier;
|
40
|
-
const setBuilder = buildUniqueArraySetBuilder(constraints);
|
41
|
-
const arrayArb = new ArrayArbitrary(arb, minLength, maxGeneratedLength, maxLength, depthIdentifier, setBuilder, []);
|
42
|
-
if (minLength === 0) return arrayArb;
|
43
|
-
return arrayArb.filter((tab) => tab.length >= minLength);
|
44
|
-
}
|
45
|
-
|
46
|
-
//#endregion
|
47
|
-
export { uniqueArray };
|
@@ -1,184 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { Stream } from "../../../stream/Stream.js";
|
6
|
-
import { cloneMethod, hasCloneMethod } from "../../symbols.js";
|
7
|
-
import { Value } from "./Value.js";
|
8
|
-
|
9
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/arbitrary/definition/Arbitrary.js
|
10
|
-
const safeObjectAssign = Object.assign;
|
11
|
-
var Arbitrary = class {
|
12
|
-
filter(refinement) {
|
13
|
-
return new FilterArbitrary(this, refinement);
|
14
|
-
}
|
15
|
-
map(mapper, unmapper) {
|
16
|
-
return new MapArbitrary(this, mapper, unmapper);
|
17
|
-
}
|
18
|
-
chain(chainer) {
|
19
|
-
return new ChainArbitrary(this, chainer);
|
20
|
-
}
|
21
|
-
noShrink() {
|
22
|
-
return new NoShrinkArbitrary(this);
|
23
|
-
}
|
24
|
-
noBias() {
|
25
|
-
return new NoBiasArbitrary(this);
|
26
|
-
}
|
27
|
-
};
|
28
|
-
var ChainArbitrary = class extends Arbitrary {
|
29
|
-
constructor(arb, chainer) {
|
30
|
-
super();
|
31
|
-
this.arb = arb;
|
32
|
-
this.chainer = chainer;
|
33
|
-
}
|
34
|
-
generate(mrng, biasFactor) {
|
35
|
-
const clonedMrng = mrng.clone();
|
36
|
-
const src = this.arb.generate(mrng, biasFactor);
|
37
|
-
return this.valueChainer(src, mrng, clonedMrng, biasFactor);
|
38
|
-
}
|
39
|
-
canShrinkWithoutContext(value) {
|
40
|
-
return false;
|
41
|
-
}
|
42
|
-
shrink(value, context) {
|
43
|
-
if (this.isSafeContext(context)) return (!context.stoppedForOriginal ? this.arb.shrink(context.originalValue, context.originalContext).map((v) => this.valueChainer(v, context.clonedMrng.clone(), context.clonedMrng, context.originalBias)) : Stream.nil()).join(context.chainedArbitrary.shrink(value, context.chainedContext).map((dst) => {
|
44
|
-
const newContext = safeObjectAssign(safeObjectAssign({}, context), {
|
45
|
-
chainedContext: dst.context,
|
46
|
-
stoppedForOriginal: true
|
47
|
-
});
|
48
|
-
return new Value(dst.value_, newContext);
|
49
|
-
}));
|
50
|
-
return Stream.nil();
|
51
|
-
}
|
52
|
-
valueChainer(v, generateMrng, clonedMrng, biasFactor) {
|
53
|
-
const chainedArbitrary = this.chainer(v.value_);
|
54
|
-
const dst = chainedArbitrary.generate(generateMrng, biasFactor);
|
55
|
-
const context = {
|
56
|
-
originalBias: biasFactor,
|
57
|
-
originalValue: v.value_,
|
58
|
-
originalContext: v.context,
|
59
|
-
stoppedForOriginal: false,
|
60
|
-
chainedArbitrary,
|
61
|
-
chainedContext: dst.context,
|
62
|
-
clonedMrng
|
63
|
-
};
|
64
|
-
return new Value(dst.value_, context);
|
65
|
-
}
|
66
|
-
isSafeContext(context) {
|
67
|
-
return context != null && typeof context === "object" && "originalBias" in context && "originalValue" in context && "originalContext" in context && "stoppedForOriginal" in context && "chainedArbitrary" in context && "chainedContext" in context && "clonedMrng" in context;
|
68
|
-
}
|
69
|
-
};
|
70
|
-
var MapArbitrary = class extends Arbitrary {
|
71
|
-
constructor(arb, mapper, unmapper) {
|
72
|
-
super();
|
73
|
-
this.arb = arb;
|
74
|
-
this.mapper = mapper;
|
75
|
-
this.unmapper = unmapper;
|
76
|
-
this.bindValueMapper = (v) => this.valueMapper(v);
|
77
|
-
}
|
78
|
-
generate(mrng, biasFactor) {
|
79
|
-
const g = this.arb.generate(mrng, biasFactor);
|
80
|
-
return this.valueMapper(g);
|
81
|
-
}
|
82
|
-
canShrinkWithoutContext(value) {
|
83
|
-
if (this.unmapper !== void 0) try {
|
84
|
-
const unmapped = this.unmapper(value);
|
85
|
-
return this.arb.canShrinkWithoutContext(unmapped);
|
86
|
-
} catch (_err) {
|
87
|
-
return false;
|
88
|
-
}
|
89
|
-
return false;
|
90
|
-
}
|
91
|
-
shrink(value, context) {
|
92
|
-
if (this.isSafeContext(context)) return this.arb.shrink(context.originalValue, context.originalContext).map(this.bindValueMapper);
|
93
|
-
if (this.unmapper !== void 0) {
|
94
|
-
const unmapped = this.unmapper(value);
|
95
|
-
return this.arb.shrink(unmapped, void 0).map(this.bindValueMapper);
|
96
|
-
}
|
97
|
-
return Stream.nil();
|
98
|
-
}
|
99
|
-
mapperWithCloneIfNeeded(v) {
|
100
|
-
const sourceValue = v.value;
|
101
|
-
const mappedValue = this.mapper(sourceValue);
|
102
|
-
if (v.hasToBeCloned && (typeof mappedValue === "object" && mappedValue !== null || typeof mappedValue === "function") && Object.isExtensible(mappedValue) && !hasCloneMethod(mappedValue)) Object.defineProperty(mappedValue, cloneMethod, { get: () => () => this.mapperWithCloneIfNeeded(v)[0] });
|
103
|
-
return [mappedValue, sourceValue];
|
104
|
-
}
|
105
|
-
valueMapper(v) {
|
106
|
-
const [mappedValue, sourceValue] = this.mapperWithCloneIfNeeded(v);
|
107
|
-
const context = {
|
108
|
-
originalValue: sourceValue,
|
109
|
-
originalContext: v.context
|
110
|
-
};
|
111
|
-
return new Value(mappedValue, context);
|
112
|
-
}
|
113
|
-
isSafeContext(context) {
|
114
|
-
return context != null && typeof context === "object" && "originalValue" in context && "originalContext" in context;
|
115
|
-
}
|
116
|
-
};
|
117
|
-
var FilterArbitrary = class extends Arbitrary {
|
118
|
-
constructor(arb, refinement) {
|
119
|
-
super();
|
120
|
-
this.arb = arb;
|
121
|
-
this.refinement = refinement;
|
122
|
-
this.bindRefinementOnValue = (v) => this.refinementOnValue(v);
|
123
|
-
}
|
124
|
-
generate(mrng, biasFactor) {
|
125
|
-
while (true) {
|
126
|
-
const g = this.arb.generate(mrng, biasFactor);
|
127
|
-
if (this.refinementOnValue(g)) return g;
|
128
|
-
}
|
129
|
-
}
|
130
|
-
canShrinkWithoutContext(value) {
|
131
|
-
return this.arb.canShrinkWithoutContext(value) && this.refinement(value);
|
132
|
-
}
|
133
|
-
shrink(value, context) {
|
134
|
-
return this.arb.shrink(value, context).filter(this.bindRefinementOnValue);
|
135
|
-
}
|
136
|
-
refinementOnValue(v) {
|
137
|
-
return this.refinement(v.value);
|
138
|
-
}
|
139
|
-
};
|
140
|
-
var NoShrinkArbitrary = class extends Arbitrary {
|
141
|
-
constructor(arb) {
|
142
|
-
super();
|
143
|
-
this.arb = arb;
|
144
|
-
}
|
145
|
-
generate(mrng, biasFactor) {
|
146
|
-
return this.arb.generate(mrng, biasFactor);
|
147
|
-
}
|
148
|
-
canShrinkWithoutContext(value) {
|
149
|
-
return this.arb.canShrinkWithoutContext(value);
|
150
|
-
}
|
151
|
-
shrink(_value, _context) {
|
152
|
-
return Stream.nil();
|
153
|
-
}
|
154
|
-
noShrink() {
|
155
|
-
return this;
|
156
|
-
}
|
157
|
-
};
|
158
|
-
var NoBiasArbitrary = class extends Arbitrary {
|
159
|
-
constructor(arb) {
|
160
|
-
super();
|
161
|
-
this.arb = arb;
|
162
|
-
}
|
163
|
-
generate(mrng, _biasFactor) {
|
164
|
-
return this.arb.generate(mrng, void 0);
|
165
|
-
}
|
166
|
-
canShrinkWithoutContext(value) {
|
167
|
-
return this.arb.canShrinkWithoutContext(value);
|
168
|
-
}
|
169
|
-
shrink(value, context) {
|
170
|
-
return this.arb.shrink(value, context);
|
171
|
-
}
|
172
|
-
noBias() {
|
173
|
-
return this;
|
174
|
-
}
|
175
|
-
};
|
176
|
-
function isArbitrary(instance) {
|
177
|
-
return typeof instance === "object" && instance !== null && "generate" in instance && "shrink" in instance && "canShrinkWithoutContext" in instance;
|
178
|
-
}
|
179
|
-
function assertIsArbitrary(instance) {
|
180
|
-
if (!isArbitrary(instance)) throw new Error("Unexpected value received: not an instance of Arbitrary");
|
181
|
-
}
|
182
|
-
|
183
|
-
//#endregion
|
184
|
-
export { Arbitrary, assertIsArbitrary, isArbitrary };
|
@@ -1,31 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { cloneMethod, hasCloneMethod } from "../../symbols.js";
|
6
|
-
|
7
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/arbitrary/definition/Value.js
|
8
|
-
const safeObjectDefineProperty = Object.defineProperty;
|
9
|
-
var Value = class {
|
10
|
-
constructor(value_, context, customGetValue = void 0) {
|
11
|
-
this.value_ = value_;
|
12
|
-
this.context = context;
|
13
|
-
this.hasToBeCloned = customGetValue !== void 0 || hasCloneMethod(value_);
|
14
|
-
this.readOnce = false;
|
15
|
-
if (this.hasToBeCloned) safeObjectDefineProperty(this, "value", { get: customGetValue !== void 0 ? customGetValue : this.getValue });
|
16
|
-
else this.value = value_;
|
17
|
-
}
|
18
|
-
getValue() {
|
19
|
-
if (this.hasToBeCloned) {
|
20
|
-
if (!this.readOnce) {
|
21
|
-
this.readOnce = true;
|
22
|
-
return this.value_;
|
23
|
-
}
|
24
|
-
return this.value_[cloneMethod]();
|
25
|
-
}
|
26
|
-
return this.value_;
|
27
|
-
}
|
28
|
-
};
|
29
|
-
|
30
|
-
//#endregion
|
31
|
-
export { Value };
|
@@ -1,19 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
|
6
|
-
var PreconditionFailure = class PreconditionFailure extends Error {
|
7
|
-
constructor(interruptExecution = false) {
|
8
|
-
super();
|
9
|
-
this.interruptExecution = interruptExecution;
|
10
|
-
this.footprint = PreconditionFailure.SharedFootPrint;
|
11
|
-
}
|
12
|
-
static isFailure(err) {
|
13
|
-
return err != null && err.footprint === PreconditionFailure.SharedFootPrint;
|
14
|
-
}
|
15
|
-
};
|
16
|
-
PreconditionFailure.SharedFootPrint = Symbol.for("fast-check/PreconditionFailure");
|
17
|
-
|
18
|
-
//#endregion
|
19
|
-
export { PreconditionFailure };
|
@@ -1,12 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/IRawProperty.js
|
6
|
-
const safeMathLog = Math.log;
|
7
|
-
function runIdToFrequency(runId) {
|
8
|
-
return 2 + ~~(safeMathLog(runId + 1) * .4342944819032518);
|
9
|
-
}
|
10
|
-
|
11
|
-
//#endregion
|
12
|
-
export { runIdToFrequency };
|
@@ -1,52 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { PreconditionFailure } from "../precondition/PreconditionFailure.js";
|
6
|
-
import { stringify } from "../../utils/stringify.js";
|
7
|
-
|
8
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/IgnoreEqualValuesProperty.js
|
9
|
-
function fromSyncCached(cachedValue) {
|
10
|
-
return cachedValue === null ? new PreconditionFailure() : cachedValue;
|
11
|
-
}
|
12
|
-
function fromCached(...data) {
|
13
|
-
if (data[1]) return data[0].then(fromSyncCached);
|
14
|
-
return fromSyncCached(data[0]);
|
15
|
-
}
|
16
|
-
function fromCachedUnsafe(cachedValue, isAsync) {
|
17
|
-
return fromCached(cachedValue, isAsync);
|
18
|
-
}
|
19
|
-
var IgnoreEqualValuesProperty = class {
|
20
|
-
constructor(property, skipRuns) {
|
21
|
-
this.property = property;
|
22
|
-
this.skipRuns = skipRuns;
|
23
|
-
this.coveredCases = new Map();
|
24
|
-
if (this.property.runBeforeEach !== void 0 && this.property.runAfterEach !== void 0) {
|
25
|
-
this.runBeforeEach = () => this.property.runBeforeEach();
|
26
|
-
this.runAfterEach = () => this.property.runAfterEach();
|
27
|
-
}
|
28
|
-
}
|
29
|
-
isAsync() {
|
30
|
-
return this.property.isAsync();
|
31
|
-
}
|
32
|
-
generate(mrng, runId) {
|
33
|
-
return this.property.generate(mrng, runId);
|
34
|
-
}
|
35
|
-
shrink(value) {
|
36
|
-
return this.property.shrink(value);
|
37
|
-
}
|
38
|
-
run(v, dontRunHook) {
|
39
|
-
const stringifiedValue = stringify(v);
|
40
|
-
if (this.coveredCases.has(stringifiedValue)) {
|
41
|
-
const lastOutput = this.coveredCases.get(stringifiedValue);
|
42
|
-
if (!this.skipRuns) return lastOutput;
|
43
|
-
return fromCachedUnsafe(lastOutput, this.property.isAsync());
|
44
|
-
}
|
45
|
-
const out = this.property.run(v, dontRunHook);
|
46
|
-
this.coveredCases.set(stringifiedValue, out);
|
47
|
-
return out;
|
48
|
-
}
|
49
|
-
};
|
50
|
-
|
51
|
-
//#endregion
|
52
|
-
export { IgnoreEqualValuesProperty };
|
@@ -1,77 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { PreconditionFailure } from "../precondition/PreconditionFailure.js";
|
6
|
-
import { Stream } from "../../stream/Stream.js";
|
7
|
-
import { SError, SString } from "../../utils/globals.js";
|
8
|
-
import { runIdToFrequency } from "./IRawProperty.js";
|
9
|
-
import { readConfigureGlobal } from "../runner/configuration/GlobalParameters.js";
|
10
|
-
import { UndefinedContextPlaceholder, noUndefinedAsContext } from "../../arbitrary/_internals/helpers/NoUndefinedAsContext.js";
|
11
|
-
|
12
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/Property.generic.js
|
13
|
-
var Property = class Property {
|
14
|
-
constructor(arb, predicate) {
|
15
|
-
this.arb = arb;
|
16
|
-
this.predicate = predicate;
|
17
|
-
const { beforeEach = Property.dummyHook, afterEach = Property.dummyHook, asyncBeforeEach, asyncAfterEach } = readConfigureGlobal() || {};
|
18
|
-
if (asyncBeforeEach !== void 0) throw SError("\"asyncBeforeEach\" can't be set when running synchronous properties");
|
19
|
-
if (asyncAfterEach !== void 0) throw SError("\"asyncAfterEach\" can't be set when running synchronous properties");
|
20
|
-
this.beforeEachHook = beforeEach;
|
21
|
-
this.afterEachHook = afterEach;
|
22
|
-
}
|
23
|
-
isAsync() {
|
24
|
-
return false;
|
25
|
-
}
|
26
|
-
generate(mrng, runId) {
|
27
|
-
const value = this.arb.generate(mrng, runId != null ? runIdToFrequency(runId) : void 0);
|
28
|
-
return noUndefinedAsContext(value);
|
29
|
-
}
|
30
|
-
shrink(value) {
|
31
|
-
if (value.context === void 0 && !this.arb.canShrinkWithoutContext(value.value_)) return Stream.nil();
|
32
|
-
const safeContext = value.context !== UndefinedContextPlaceholder ? value.context : void 0;
|
33
|
-
return this.arb.shrink(value.value_, safeContext).map(noUndefinedAsContext);
|
34
|
-
}
|
35
|
-
runBeforeEach() {
|
36
|
-
this.beforeEachHook();
|
37
|
-
}
|
38
|
-
runAfterEach() {
|
39
|
-
this.afterEachHook();
|
40
|
-
}
|
41
|
-
run(v, dontRunHook) {
|
42
|
-
if (!dontRunHook) this.beforeEachHook();
|
43
|
-
try {
|
44
|
-
const output = this.predicate(v);
|
45
|
-
return output == null || output === true ? null : {
|
46
|
-
error: new SError("Property failed by returning false"),
|
47
|
-
errorMessage: "Error: Property failed by returning false"
|
48
|
-
};
|
49
|
-
} catch (err) {
|
50
|
-
if (PreconditionFailure.isFailure(err)) return err;
|
51
|
-
if (err instanceof SError && err.stack) return {
|
52
|
-
error: err,
|
53
|
-
errorMessage: err.stack
|
54
|
-
};
|
55
|
-
return {
|
56
|
-
error: err,
|
57
|
-
errorMessage: SString(err)
|
58
|
-
};
|
59
|
-
} finally {
|
60
|
-
if (!dontRunHook) this.afterEachHook();
|
61
|
-
}
|
62
|
-
}
|
63
|
-
beforeEach(hookFunction) {
|
64
|
-
const previousBeforeEachHook = this.beforeEachHook;
|
65
|
-
this.beforeEachHook = () => hookFunction(previousBeforeEachHook);
|
66
|
-
return this;
|
67
|
-
}
|
68
|
-
afterEach(hookFunction) {
|
69
|
-
const previousAfterEachHook = this.afterEachHook;
|
70
|
-
this.afterEachHook = () => hookFunction(previousAfterEachHook);
|
71
|
-
return this;
|
72
|
-
}
|
73
|
-
};
|
74
|
-
Property.dummyHook = () => {};
|
75
|
-
|
76
|
-
//#endregion
|
77
|
-
export { Property };
|
@@ -1,22 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { assertIsArbitrary } from "../arbitrary/definition/Arbitrary.js";
|
6
|
-
import { safeForEach, safeMap, safeSlice } from "../../utils/globals.js";
|
7
|
-
import { tuple } from "../../arbitrary/tuple.js";
|
8
|
-
import { AlwaysShrinkableArbitrary } from "../../arbitrary/_internals/AlwaysShrinkableArbitrary.js";
|
9
|
-
import { Property } from "./Property.generic.js";
|
10
|
-
|
11
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/Property.js
|
12
|
-
function property(...args) {
|
13
|
-
if (args.length < 2) throw new Error("property expects at least two parameters");
|
14
|
-
const arbs = safeSlice(args, 0, args.length - 1);
|
15
|
-
const p = args[args.length - 1];
|
16
|
-
safeForEach(arbs, assertIsArbitrary);
|
17
|
-
const mappedArbs = safeMap(arbs, (arb) => new AlwaysShrinkableArbitrary(arb));
|
18
|
-
return new Property(tuple(...mappedArbs), (t) => p(...t));
|
19
|
-
}
|
20
|
-
|
21
|
-
//#endregion
|
22
|
-
export { property };
|