@fedify/fedify 1.6.1-dev.856 → 1.6.1-dev.871
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actor-CM3gfkH6.js +36173 -0
- package/dist/{vocab/actor.js → actor-D7NMuy45.js} +5 -4
- package/dist/{vocab/actor.d.ts → actor-lFlm8FYo.d.ts} +2 -2
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js → assert-Dv75vaGI.js} +2 -1
- package/dist/assert_equals-ClvzlhZu.js +1020 -0
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js → assert_instance_of--9UCVKsi.js} +2 -1
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_is_error.js → assert_is_error-D162gXcM.js} +2 -2
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_not_equals.js → assert_not_equals-Cyf5m9Ke.js} +2 -2
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js → assert_rejects-FOHCtlD2.js} +23 -3
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js → assert_throws-CRfQJvVx.js} +3 -2
- package/dist/{runtime/authdocloader.js → authdocloader-BKZDAq91.js} +5 -4
- package/dist/authdocloader-OfYZlI31.js +51 -0
- package/dist/{federation/builder.js → builder-DSTiU6ue.js} +18 -17
- package/dist/{_virtual/rolldown_runtime.js → chunk-HsBuZ-b2.js} +1 -0
- package/dist/client-Dw1pCSIt.d.ts +299 -0
- package/dist/{nodeinfo/client.js → client-RN5A1Qgw.js} +3 -2
- package/dist/{federation/collection.js → collection-QaGK9TVn.js} +1 -0
- package/dist/compat/mod.d.ts +12 -2
- package/dist/compat/mod.js +2 -1
- package/dist/compat/transformers.test.d.ts +2 -1
- package/dist/compat/transformers.test.js +32 -8
- package/dist/context-CzJXjNR8.d.ts +2034 -0
- package/dist/{testing/context.js → context-DZKXS0DV.js} +5 -4
- package/dist/{x/denokv.js → denokv-iB_ggPGm.js} +3 -1
- package/dist/{testing/docloader.js → docloader-09nVWLAZ.js} +1 -0
- package/dist/{runtime/contexts.js → docloader-BcMxZ9JH.js} +420 -1
- package/dist/docloader-DDFam5Xn.js +4594 -0
- package/dist/{runtime/docloader.d.ts → docloader-DTRsVZPo.d.ts} +1 -1
- package/dist/esm-BxIKwi-M.js +1221 -0
- package/dist/federation/builder.test.d.ts +2 -1
- package/dist/federation/builder.test.js +22 -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 +24 -4
- package/dist/federation/send.test.d.ts +2 -1
- package/dist/federation/send.test.js +25 -13
- package/dist/{federation/mq.js → federation-Bmj7soSg.js} +47 -1
- package/dist/{node_modules/.pnpm/@jsr_hongminhee__deno-mock-fetch@0.3.2/node_modules/@jsr/hongminhee__deno-mock-fetch/router.js → hongminhee__deno-mock-fetch-DJKLj_H-.js} +96 -1
- package/dist/{sig/http.js → http-BFvv3ZId.js} +5 -4
- package/dist/http-BImJcLfv.d.ts +258 -0
- package/dist/http-v1TqJ9Qa.js +720 -0
- package/dist/{federation/inbox.js → inbox-XV_W1qfB.js} +10 -4
- package/dist/key-BNM-ickE.js +16 -0
- package/dist/key-CVIQ7iUB.js +262 -0
- package/dist/{sig/key.js → key-DIk4Rloj.js} +2 -4
- package/dist/key-DiVhk5ik.js +10 -0
- package/dist/{federation/keycache.js → keycache-uTxsh7dt.js} +2 -1
- package/dist/{testing/keys.js → keys-D7lJqunm.js} +2 -2
- package/dist/{federation/kv.js → kv-DohFOP2C.js} +1 -0
- package/dist/{runtime/langstr.js → langstr-DbWheeIS.js} +1 -0
- package/dist/{sig/ld.js → ld-bOhcKpmk.js} +6 -6
- package/dist/{webfinger/lookup.js → lookup-B5KVF6HM.js} +1 -3
- package/dist/lookup-D3xTID-6.js +131 -0
- package/dist/{webfinger/jrd.d.ts → lookup-DAfStZtI.d.ts} +41 -1
- package/dist/{vocab/lookup.js → lookup-D_v0FFGL.js} +5 -5
- package/dist/middleware-BFedQWFA.js +33 -0
- package/dist/middleware-BiYIqI0b.js +3525 -0
- package/dist/{federation/middleware.js → middleware-CPAfRtS5.js} +957 -105
- package/dist/middleware-pAGwVkRf.js +17 -0
- package/dist/mod-1pDWKvUL.d.ts +2 -0
- package/dist/{runtime/key.d.ts → mod-BxwG4X3V.d.ts} +52 -7
- package/dist/{compat/transformers.d.ts → mod-CeLnlsqE.d.ts} +3 -4
- package/dist/{vocab/lookup.d.ts → mod-DysVoXOu.d.ts} +98 -3
- package/dist/mod-GIh5OYxW.d.ts +2 -0
- package/dist/{sig/ld.d.ts → mod-XT0mRthe.d.ts} +126 -4
- package/dist/mod-g0xFzAP9.d.ts +2 -0
- package/dist/mod.d.ts +18 -34
- package/dist/mod.js +17 -27
- package/dist/multibase-DeCHcK8L.js +316 -0
- package/dist/nodeinfo/client.test.d.ts +2 -1
- package/dist/nodeinfo/client.test.js +15 -4
- package/dist/nodeinfo/handler.test.d.ts +2 -1
- package/dist/nodeinfo/handler.test.js +39 -7
- package/dist/nodeinfo/mod.d.ts +4 -3
- package/dist/nodeinfo/mod.js +3 -3
- package/dist/nodeinfo/semver.test.d.ts +2 -1
- package/dist/nodeinfo/semver.test.js +11 -4
- package/dist/nodeinfo/types.test.d.ts +2 -1
- package/dist/nodeinfo/types.test.js +12 -4
- package/dist/{sig/owner.d.ts → owner-BjpObx-L.d.ts} +4 -6
- package/dist/{sig/owner.js → owner-tYPzPLFs.js} +4 -4
- package/dist/proof-D0cf4R25.js +595 -0
- package/dist/{sig/proof.js → proof-DIsZ1VTb.js} +5 -4
- package/dist/{federation/retry.js → retry-BiIhZWgD.js} +1 -0
- package/dist/{federation/router.js → router-D_aVZZUc.js} +20 -1
- package/dist/runtime/authdocloader.test.d.ts +2 -1
- package/dist/runtime/authdocloader.test.js +24 -9
- package/dist/runtime/docloader.test.d.ts +2 -1
- package/dist/runtime/docloader.test.js +15 -11
- package/dist/runtime/key.test.d.ts +2 -1
- package/dist/runtime/key.test.js +19 -4
- package/dist/runtime/langstr.test.d.ts +2 -1
- package/dist/runtime/langstr.test.js +11 -3
- package/dist/runtime/mod.d.ts +5 -4
- package/dist/runtime/mod.js +7 -4
- package/dist/runtime/multibase/multibase.test.d.ts +2 -1
- package/dist/runtime/multibase/multibase.test.js +11 -5
- package/dist/runtime/url.test.d.ts +2 -1
- package/dist/runtime/url.test.js +7 -6
- package/dist/{nodeinfo/semver.js → semver-CbbIgUsa.js} +1 -0
- package/dist/{federation/send.js → send-CFBOnY61.js} +3 -2
- package/dist/sig/http.test.d.ts +2 -1
- package/dist/sig/http.test.js +23 -12
- package/dist/sig/key.test.d.ts +2 -1
- package/dist/sig/key.test.js +21 -8
- package/dist/sig/ld.test.d.ts +2 -1
- package/dist/sig/ld.test.js +19 -11
- package/dist/sig/mod.d.ts +7 -5
- package/dist/sig/mod.js +7 -5
- package/dist/sig/owner.test.d.ts +2 -1
- package/dist/sig/owner.test.js +23 -9
- package/dist/sig/proof.test.d.ts +2 -1
- package/dist/sig/proof.test.js +22 -10
- package/dist/std__assert-CaBUULmX.js +151 -0
- package/dist/testing/docloader.test.d.ts +2 -1
- package/dist/testing/docloader.test.js +11 -3
- package/dist/testing/mod.d.ts +1 -0
- package/dist/testing/mod.js +2 -136
- package/dist/testing-jcGLO9Lp.js +143 -0
- package/dist/{compat/transformers.js → transformers-jxj-4o2K.js} +1 -1
- package/dist/{vocab/type.js → type-D2s5lmbZ.js} +1 -0
- package/dist/{nodeinfo/types.js → types-CqoqWDkp.js} +2 -1
- package/dist/types-D4p7qK8A.js +457 -0
- package/dist/{runtime/url.js → url-kTAI6_KP.js} +1 -0
- package/dist/vocab/actor.test.d.ts +2 -1
- package/dist/vocab/actor.test.js +5853 -14
- package/dist/vocab/lookup.test.d.ts +2 -1
- package/dist/vocab/lookup.test.js +20 -7
- package/dist/vocab/mod.d.ts +5 -5
- package/dist/vocab/mod.js +4 -5
- package/dist/vocab/type.test.d.ts +2 -1
- package/dist/vocab/type.test.js +9 -4
- package/dist/vocab/vocab.test.d.ts +2 -1
- package/dist/vocab/vocab.test.js +2440 -15
- package/dist/vocab-BSNlVPPE.js +172 -0
- package/dist/{vocab/vocab.js → vocab-BxrrllKY.js} +331 -182
- package/dist/{vocab/vocab.d.ts → vocab-CLWdoo7y.d.ts} +21 -9
- package/dist/webfinger/handler.test.d.ts +2 -1
- package/dist/webfinger/handler.test.js +39 -7
- package/dist/webfinger/lookup.test.d.ts +2 -1
- package/dist/webfinger/lookup.test.js +14 -4
- package/dist/webfinger/mod.d.ts +4 -2
- package/dist/webfinger/mod.js +3 -1
- package/dist/x/cfworkers.d.ts +49 -0
- package/dist/x/cfworkers.js +73 -0
- package/dist/x/cfworkers.test.d.ts +3 -0
- package/dist/x/cfworkers.test.js +153 -0
- package/dist/x/hono.d.ts +11 -2
- package/dist/x/sveltekit.d.ts +11 -2
- package/package.json +6 -1
- package/dist/codegen/fs.js +0 -23
- package/dist/codegen/schema.js +0 -88
- package/dist/codegen/type.js +0 -392
- package/dist/compat/types.d.ts +0 -18
- package/dist/deno.js +0 -137
- package/dist/federation/builder.d.ts +0 -19
- package/dist/federation/callback.d.ts +0 -211
- package/dist/federation/collection.d.ts +0 -36
- package/dist/federation/context.d.ts +0 -757
- package/dist/federation/federation.d.ts +0 -689
- package/dist/federation/handler.d.ts +0 -44
- package/dist/federation/handler.js +0 -543
- package/dist/federation/middleware.d.ts +0 -101
- package/dist/federation/negotiation.js +0 -63
- package/dist/federation/retry.d.ts +0 -71
- package/dist/federation/router.d.ts +0 -91
- 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,136 +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 { Value } from "../../check/arbitrary/definition/Value.js";
|
7
|
-
import { Arbitrary } from "../../check/arbitrary/definition/Arbitrary.js";
|
8
|
-
import { safePush } from "../../utils/globals.js";
|
9
|
-
import { getDepthContextFor } from "./helpers/DepthContext.js";
|
10
|
-
import { depthBiasFromSizeForArbitrary } from "./helpers/MaxLengthFromMinLength.js";
|
11
|
-
|
12
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/FrequencyArbitrary.js
|
13
|
-
const safePositiveInfinity = Number.POSITIVE_INFINITY;
|
14
|
-
const safeMaxSafeInteger = Number.MAX_SAFE_INTEGER;
|
15
|
-
const safeNumberIsInteger = Number.isInteger;
|
16
|
-
const safeMathFloor = Math.floor;
|
17
|
-
const safeMathPow = Math.pow;
|
18
|
-
const safeMathMin = Math.min;
|
19
|
-
var FrequencyArbitrary = class FrequencyArbitrary extends Arbitrary {
|
20
|
-
static from(warbs, constraints, label) {
|
21
|
-
if (warbs.length === 0) throw new Error(`${label} expects at least one weighted arbitrary`);
|
22
|
-
let totalWeight = 0;
|
23
|
-
for (let idx = 0; idx !== warbs.length; ++idx) {
|
24
|
-
const currentArbitrary = warbs[idx].arbitrary;
|
25
|
-
if (currentArbitrary === void 0) throw new Error(`${label} expects arbitraries to be specified`);
|
26
|
-
const currentWeight = warbs[idx].weight;
|
27
|
-
totalWeight += currentWeight;
|
28
|
-
if (!safeNumberIsInteger(currentWeight)) throw new Error(`${label} expects weights to be integer values`);
|
29
|
-
if (currentWeight < 0) throw new Error(`${label} expects weights to be superior or equal to 0`);
|
30
|
-
}
|
31
|
-
if (totalWeight <= 0) throw new Error(`${label} expects the sum of weights to be strictly superior to 0`);
|
32
|
-
const sanitizedConstraints = {
|
33
|
-
depthBias: depthBiasFromSizeForArbitrary(constraints.depthSize, constraints.maxDepth !== void 0),
|
34
|
-
maxDepth: constraints.maxDepth != void 0 ? constraints.maxDepth : safePositiveInfinity,
|
35
|
-
withCrossShrink: !!constraints.withCrossShrink
|
36
|
-
};
|
37
|
-
return new FrequencyArbitrary(warbs, sanitizedConstraints, getDepthContextFor(constraints.depthIdentifier));
|
38
|
-
}
|
39
|
-
constructor(warbs, constraints, context) {
|
40
|
-
super();
|
41
|
-
this.warbs = warbs;
|
42
|
-
this.constraints = constraints;
|
43
|
-
this.context = context;
|
44
|
-
let currentWeight = 0;
|
45
|
-
this.cumulatedWeights = [];
|
46
|
-
for (let idx = 0; idx !== warbs.length; ++idx) {
|
47
|
-
currentWeight += warbs[idx].weight;
|
48
|
-
safePush(this.cumulatedWeights, currentWeight);
|
49
|
-
}
|
50
|
-
this.totalWeight = currentWeight;
|
51
|
-
}
|
52
|
-
generate(mrng, biasFactor) {
|
53
|
-
if (this.mustGenerateFirst()) return this.safeGenerateForIndex(mrng, 0, biasFactor);
|
54
|
-
const selected = mrng.nextInt(this.computeNegDepthBenefit(), this.totalWeight - 1);
|
55
|
-
for (let idx = 0; idx !== this.cumulatedWeights.length; ++idx) if (selected < this.cumulatedWeights[idx]) return this.safeGenerateForIndex(mrng, idx, biasFactor);
|
56
|
-
throw new Error(`Unable to generate from fc.frequency`);
|
57
|
-
}
|
58
|
-
canShrinkWithoutContext(value) {
|
59
|
-
return this.canShrinkWithoutContextIndex(value) !== -1;
|
60
|
-
}
|
61
|
-
shrink(value, context) {
|
62
|
-
if (context !== void 0) {
|
63
|
-
const safeContext = context;
|
64
|
-
const selectedIndex = safeContext.selectedIndex;
|
65
|
-
const originalBias = safeContext.originalBias;
|
66
|
-
const originalArbitrary = this.warbs[selectedIndex].arbitrary;
|
67
|
-
const originalShrinks = originalArbitrary.shrink(value, safeContext.originalContext).map((v) => this.mapIntoValue(selectedIndex, v, null, originalBias));
|
68
|
-
if (safeContext.clonedMrngForFallbackFirst !== null) {
|
69
|
-
if (safeContext.cachedGeneratedForFirst === void 0) safeContext.cachedGeneratedForFirst = this.safeGenerateForIndex(safeContext.clonedMrngForFallbackFirst, 0, originalBias);
|
70
|
-
const valueFromFirst = safeContext.cachedGeneratedForFirst;
|
71
|
-
return Stream.of(valueFromFirst).join(originalShrinks);
|
72
|
-
}
|
73
|
-
return originalShrinks;
|
74
|
-
}
|
75
|
-
const potentialSelectedIndex = this.canShrinkWithoutContextIndex(value);
|
76
|
-
if (potentialSelectedIndex === -1) return Stream.nil();
|
77
|
-
return this.defaultShrinkForFirst(potentialSelectedIndex).join(this.warbs[potentialSelectedIndex].arbitrary.shrink(value, void 0).map((v) => this.mapIntoValue(potentialSelectedIndex, v, null, void 0)));
|
78
|
-
}
|
79
|
-
defaultShrinkForFirst(selectedIndex) {
|
80
|
-
++this.context.depth;
|
81
|
-
try {
|
82
|
-
if (!this.mustFallbackToFirstInShrink(selectedIndex) || this.warbs[0].fallbackValue === void 0) return Stream.nil();
|
83
|
-
} finally {
|
84
|
-
--this.context.depth;
|
85
|
-
}
|
86
|
-
const rawShrinkValue = new Value(this.warbs[0].fallbackValue.default, void 0);
|
87
|
-
return Stream.of(this.mapIntoValue(0, rawShrinkValue, null, void 0));
|
88
|
-
}
|
89
|
-
canShrinkWithoutContextIndex(value) {
|
90
|
-
if (this.mustGenerateFirst()) return this.warbs[0].arbitrary.canShrinkWithoutContext(value) ? 0 : -1;
|
91
|
-
try {
|
92
|
-
++this.context.depth;
|
93
|
-
for (let idx = 0; idx !== this.warbs.length; ++idx) {
|
94
|
-
const warb = this.warbs[idx];
|
95
|
-
if (warb.weight !== 0 && warb.arbitrary.canShrinkWithoutContext(value)) return idx;
|
96
|
-
}
|
97
|
-
return -1;
|
98
|
-
} finally {
|
99
|
-
--this.context.depth;
|
100
|
-
}
|
101
|
-
}
|
102
|
-
mapIntoValue(idx, value, clonedMrngForFallbackFirst, biasFactor) {
|
103
|
-
const context = {
|
104
|
-
selectedIndex: idx,
|
105
|
-
originalBias: biasFactor,
|
106
|
-
originalContext: value.context,
|
107
|
-
clonedMrngForFallbackFirst
|
108
|
-
};
|
109
|
-
return new Value(value.value, context);
|
110
|
-
}
|
111
|
-
safeGenerateForIndex(mrng, idx, biasFactor) {
|
112
|
-
++this.context.depth;
|
113
|
-
try {
|
114
|
-
const value = this.warbs[idx].arbitrary.generate(mrng, biasFactor);
|
115
|
-
const clonedMrngForFallbackFirst = this.mustFallbackToFirstInShrink(idx) ? mrng.clone() : null;
|
116
|
-
return this.mapIntoValue(idx, value, clonedMrngForFallbackFirst, biasFactor);
|
117
|
-
} finally {
|
118
|
-
--this.context.depth;
|
119
|
-
}
|
120
|
-
}
|
121
|
-
mustGenerateFirst() {
|
122
|
-
return this.constraints.maxDepth <= this.context.depth;
|
123
|
-
}
|
124
|
-
mustFallbackToFirstInShrink(idx) {
|
125
|
-
return idx !== 0 && this.constraints.withCrossShrink && this.warbs[0].weight !== 0;
|
126
|
-
}
|
127
|
-
computeNegDepthBenefit() {
|
128
|
-
const depthBias = this.constraints.depthBias;
|
129
|
-
if (depthBias <= 0 || this.warbs[0].weight === 0) return 0;
|
130
|
-
const depthBenefit = safeMathFloor(safeMathPow(1 + depthBias, this.context.depth)) - 1;
|
131
|
-
return -safeMathMin(this.totalWeight * depthBenefit, safeMaxSafeInteger) || 0;
|
132
|
-
}
|
133
|
-
};
|
134
|
-
|
135
|
-
//#endregion
|
136
|
-
export { FrequencyArbitrary };
|
@@ -1,64 +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 { Value } from "../../check/arbitrary/definition/Value.js";
|
7
|
-
import { Arbitrary } from "../../check/arbitrary/definition/Arbitrary.js";
|
8
|
-
import { biasNumericRange, integerLogLike } from "./helpers/BiasNumericRange.js";
|
9
|
-
import { shrinkInteger } from "./helpers/ShrinkInteger.js";
|
10
|
-
|
11
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/IntegerArbitrary.js
|
12
|
-
const safeMathSign = Math.sign;
|
13
|
-
const safeNumberIsInteger = Number.isInteger;
|
14
|
-
const safeObjectIs = Object.is;
|
15
|
-
var IntegerArbitrary = class IntegerArbitrary extends Arbitrary {
|
16
|
-
constructor(min, max) {
|
17
|
-
super();
|
18
|
-
this.min = min;
|
19
|
-
this.max = max;
|
20
|
-
}
|
21
|
-
generate(mrng, biasFactor) {
|
22
|
-
const range = this.computeGenerateRange(mrng, biasFactor);
|
23
|
-
return new Value(mrng.nextInt(range.min, range.max), void 0);
|
24
|
-
}
|
25
|
-
canShrinkWithoutContext(value) {
|
26
|
-
return typeof value === "number" && safeNumberIsInteger(value) && !safeObjectIs(value, -0) && this.min <= value && value <= this.max;
|
27
|
-
}
|
28
|
-
shrink(current, context) {
|
29
|
-
if (!IntegerArbitrary.isValidContext(current, context)) {
|
30
|
-
const target = this.defaultTarget();
|
31
|
-
return shrinkInteger(current, target, true);
|
32
|
-
}
|
33
|
-
if (this.isLastChanceTry(current, context)) return Stream.of(new Value(context, void 0));
|
34
|
-
return shrinkInteger(current, context, false);
|
35
|
-
}
|
36
|
-
defaultTarget() {
|
37
|
-
if (this.min <= 0 && this.max >= 0) return 0;
|
38
|
-
return this.min < 0 ? this.max : this.min;
|
39
|
-
}
|
40
|
-
computeGenerateRange(mrng, biasFactor) {
|
41
|
-
if (biasFactor === void 0 || mrng.nextInt(1, biasFactor) !== 1) return {
|
42
|
-
min: this.min,
|
43
|
-
max: this.max
|
44
|
-
};
|
45
|
-
const ranges = biasNumericRange(this.min, this.max, integerLogLike);
|
46
|
-
if (ranges.length === 1) return ranges[0];
|
47
|
-
const id = mrng.nextInt(-2 * (ranges.length - 1), ranges.length - 2);
|
48
|
-
return id < 0 ? ranges[0] : ranges[id + 1];
|
49
|
-
}
|
50
|
-
isLastChanceTry(current, context) {
|
51
|
-
if (current > 0) return current === context + 1 && current > this.min;
|
52
|
-
if (current < 0) return current === context - 1 && current < this.max;
|
53
|
-
return false;
|
54
|
-
}
|
55
|
-
static isValidContext(current, context) {
|
56
|
-
if (context === void 0) return false;
|
57
|
-
if (typeof context !== "number") throw new Error(`Invalid context type passed to IntegerArbitrary (#1)`);
|
58
|
-
if (context !== 0 && safeMathSign(current) !== safeMathSign(context)) throw new Error(`Invalid context value passed to IntegerArbitrary (#2)`);
|
59
|
-
return true;
|
60
|
-
}
|
61
|
-
};
|
62
|
-
|
63
|
-
//#endregion
|
64
|
-
export { IntegerArbitrary };
|
@@ -1,29 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { Arbitrary } from "../../check/arbitrary/definition/Arbitrary.js";
|
6
|
-
|
7
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/LazyArbitrary.js
|
8
|
-
var LazyArbitrary = class extends Arbitrary {
|
9
|
-
constructor(name) {
|
10
|
-
super();
|
11
|
-
this.name = name;
|
12
|
-
this.underlying = null;
|
13
|
-
}
|
14
|
-
generate(mrng, biasFactor) {
|
15
|
-
if (!this.underlying) throw new Error(`Lazy arbitrary ${JSON.stringify(this.name)} not correctly initialized`);
|
16
|
-
return this.underlying.generate(mrng, biasFactor);
|
17
|
-
}
|
18
|
-
canShrinkWithoutContext(value) {
|
19
|
-
if (!this.underlying) throw new Error(`Lazy arbitrary ${JSON.stringify(this.name)} not correctly initialized`);
|
20
|
-
return this.underlying.canShrinkWithoutContext(value);
|
21
|
-
}
|
22
|
-
shrink(value, context) {
|
23
|
-
if (!this.underlying) throw new Error(`Lazy arbitrary ${JSON.stringify(this.name)} not correctly initialized`);
|
24
|
-
return this.underlying.shrink(value, context);
|
25
|
-
}
|
26
|
-
};
|
27
|
-
|
28
|
-
//#endregion
|
29
|
-
export { LazyArbitrary };
|
@@ -1,45 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { safeNormalize, safePush } from "../../utils/globals.js";
|
6
|
-
import { mapToConstant } from "../mapToConstant.js";
|
7
|
-
import { asciiAlphabetRanges, autonomousDecomposableGraphemeRanges, autonomousGraphemeRanges, fullAlphabetRanges } from "./data/GraphemeRanges.js";
|
8
|
-
import { convertGraphemeRangeToMapToConstantEntry, intersectGraphemeRanges } from "./helpers/GraphemeRangesHelpers.js";
|
9
|
-
|
10
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/StringUnitArbitrary.js
|
11
|
-
const registeredStringUnitInstancesMap = Object.create(null);
|
12
|
-
function getAlphabetRanges(alphabet) {
|
13
|
-
switch (alphabet) {
|
14
|
-
case "full": return fullAlphabetRanges;
|
15
|
-
case "ascii": return asciiAlphabetRanges;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
function getOrCreateStringUnitInstance(type, alphabet) {
|
19
|
-
const key = `${type}:${alphabet}`;
|
20
|
-
const registered = registeredStringUnitInstancesMap[key];
|
21
|
-
if (registered !== void 0) return registered;
|
22
|
-
const alphabetRanges = getAlphabetRanges(alphabet);
|
23
|
-
const ranges = type === "binary" ? alphabetRanges : intersectGraphemeRanges(alphabetRanges, autonomousGraphemeRanges);
|
24
|
-
const entries = [];
|
25
|
-
for (const range of ranges) safePush(entries, convertGraphemeRangeToMapToConstantEntry(range));
|
26
|
-
if (type === "grapheme") {
|
27
|
-
const decomposedRanges = intersectGraphemeRanges(alphabetRanges, autonomousDecomposableGraphemeRanges);
|
28
|
-
for (const range of decomposedRanges) {
|
29
|
-
const rawEntry = convertGraphemeRangeToMapToConstantEntry(range);
|
30
|
-
safePush(entries, {
|
31
|
-
num: rawEntry.num,
|
32
|
-
build: (idInGroup) => safeNormalize(rawEntry.build(idInGroup), "NFD")
|
33
|
-
});
|
34
|
-
}
|
35
|
-
}
|
36
|
-
const stringUnitInstance = mapToConstant(...entries);
|
37
|
-
registeredStringUnitInstancesMap[key] = stringUnitInstance;
|
38
|
-
return stringUnitInstance;
|
39
|
-
}
|
40
|
-
function stringUnit(type, alphabet) {
|
41
|
-
return getOrCreateStringUnitInstance(type, alphabet);
|
42
|
-
}
|
43
|
-
|
44
|
-
//#endregion
|
45
|
-
export { stringUnit };
|
@@ -1,74 +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 { cloneIfNeeded, cloneMethod } from "../../check/symbols.js";
|
7
|
-
import { Value } from "../../check/arbitrary/definition/Value.js";
|
8
|
-
import { Arbitrary } from "../../check/arbitrary/definition/Arbitrary.js";
|
9
|
-
import { safeMap, safePush, safeSlice } from "../../utils/globals.js";
|
10
|
-
import { makeLazy } from "../../stream/LazyIterableIterator.js";
|
11
|
-
|
12
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/TupleArbitrary.js
|
13
|
-
const safeArrayIsArray = Array.isArray;
|
14
|
-
const safeObjectDefineProperty = Object.defineProperty;
|
15
|
-
function tupleMakeItCloneable(vs, values) {
|
16
|
-
return safeObjectDefineProperty(vs, cloneMethod, { value: () => {
|
17
|
-
const cloned = [];
|
18
|
-
for (let idx = 0; idx !== values.length; ++idx) safePush(cloned, values[idx].value);
|
19
|
-
tupleMakeItCloneable(cloned, values);
|
20
|
-
return cloned;
|
21
|
-
} });
|
22
|
-
}
|
23
|
-
function tupleWrapper(values) {
|
24
|
-
let cloneable = false;
|
25
|
-
const vs = [];
|
26
|
-
const ctxs = [];
|
27
|
-
for (let idx = 0; idx !== values.length; ++idx) {
|
28
|
-
const v = values[idx];
|
29
|
-
cloneable = cloneable || v.hasToBeCloned;
|
30
|
-
safePush(vs, v.value);
|
31
|
-
safePush(ctxs, v.context);
|
32
|
-
}
|
33
|
-
if (cloneable) tupleMakeItCloneable(vs, values);
|
34
|
-
return new Value(vs, ctxs);
|
35
|
-
}
|
36
|
-
function tupleShrink(arbs, value, context) {
|
37
|
-
const shrinks = [];
|
38
|
-
const safeContext = safeArrayIsArray(context) ? context : [];
|
39
|
-
for (let idx = 0; idx !== arbs.length; ++idx) safePush(shrinks, makeLazy(() => arbs[idx].shrink(value[idx], safeContext[idx]).map((v) => {
|
40
|
-
const nextValues = safeMap(value, (v$1, idx$1) => new Value(cloneIfNeeded(v$1), safeContext[idx$1]));
|
41
|
-
return [
|
42
|
-
...safeSlice(nextValues, 0, idx),
|
43
|
-
v,
|
44
|
-
...safeSlice(nextValues, idx + 1)
|
45
|
-
];
|
46
|
-
}).map(tupleWrapper)));
|
47
|
-
return Stream.nil().join(...shrinks);
|
48
|
-
}
|
49
|
-
var TupleArbitrary = class extends Arbitrary {
|
50
|
-
constructor(arbs) {
|
51
|
-
super();
|
52
|
-
this.arbs = arbs;
|
53
|
-
for (let idx = 0; idx !== arbs.length; ++idx) {
|
54
|
-
const arb = arbs[idx];
|
55
|
-
if (arb == null || arb.generate == null) throw new Error(`Invalid parameter encountered at index ${idx}: expecting an Arbitrary`);
|
56
|
-
}
|
57
|
-
}
|
58
|
-
generate(mrng, biasFactor) {
|
59
|
-
const mapped = [];
|
60
|
-
for (let idx = 0; idx !== this.arbs.length; ++idx) safePush(mapped, this.arbs[idx].generate(mrng, biasFactor));
|
61
|
-
return tupleWrapper(mapped);
|
62
|
-
}
|
63
|
-
canShrinkWithoutContext(value) {
|
64
|
-
if (!safeArrayIsArray(value) || value.length !== this.arbs.length) return false;
|
65
|
-
for (let index = 0; index !== this.arbs.length; ++index) if (!this.arbs[index].canShrinkWithoutContext(value[index])) return false;
|
66
|
-
return true;
|
67
|
-
}
|
68
|
-
shrink(value, context) {
|
69
|
-
return tupleShrink(this.arbs, value, context);
|
70
|
-
}
|
71
|
-
};
|
72
|
-
|
73
|
-
//#endregion
|
74
|
-
export { TupleArbitrary };
|
@@ -1,40 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { Value } from "../../check/arbitrary/definition/Value.js";
|
6
|
-
import { Arbitrary } from "../../check/arbitrary/definition/Arbitrary.js";
|
7
|
-
|
8
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/WithShrinkFromOtherArbitrary.js
|
9
|
-
function isSafeContext(context) {
|
10
|
-
return context !== void 0;
|
11
|
-
}
|
12
|
-
function toGeneratorValue(value) {
|
13
|
-
if (value.hasToBeCloned) return new Value(value.value_, { generatorContext: value.context }, () => value.value);
|
14
|
-
return new Value(value.value_, { generatorContext: value.context });
|
15
|
-
}
|
16
|
-
function toShrinkerValue(value) {
|
17
|
-
if (value.hasToBeCloned) return new Value(value.value_, { shrinkerContext: value.context }, () => value.value);
|
18
|
-
return new Value(value.value_, { shrinkerContext: value.context });
|
19
|
-
}
|
20
|
-
var WithShrinkFromOtherArbitrary = class extends Arbitrary {
|
21
|
-
constructor(generatorArbitrary, shrinkerArbitrary) {
|
22
|
-
super();
|
23
|
-
this.generatorArbitrary = generatorArbitrary;
|
24
|
-
this.shrinkerArbitrary = shrinkerArbitrary;
|
25
|
-
}
|
26
|
-
generate(mrng, biasFactor) {
|
27
|
-
return toGeneratorValue(this.generatorArbitrary.generate(mrng, biasFactor));
|
28
|
-
}
|
29
|
-
canShrinkWithoutContext(value) {
|
30
|
-
return this.shrinkerArbitrary.canShrinkWithoutContext(value);
|
31
|
-
}
|
32
|
-
shrink(value, context) {
|
33
|
-
if (!isSafeContext(context)) return this.shrinkerArbitrary.shrink(value, void 0).map(toShrinkerValue);
|
34
|
-
if ("generatorContext" in context) return this.generatorArbitrary.shrink(value, context.generatorContext).map(toGeneratorValue);
|
35
|
-
return this.shrinkerArbitrary.shrink(value, context.shrinkerContext).map(toShrinkerValue);
|
36
|
-
}
|
37
|
-
};
|
38
|
-
|
39
|
-
//#endregion
|
40
|
-
export { WithShrinkFromOtherArbitrary };
|
@@ -1,97 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { tuple } from "../../tuple.js";
|
6
|
-
import { stringify } from "../../../utils/stringify.js";
|
7
|
-
import { createDepthIdentifier } from "../helpers/DepthContext.js";
|
8
|
-
import { array } from "../../array.js";
|
9
|
-
import { bigInt } from "../../bigInt.js";
|
10
|
-
import { date } from "../../date.js";
|
11
|
-
import { uniqueArray } from "../../uniqueArray.js";
|
12
|
-
import { dictionary } from "../../dictionary.js";
|
13
|
-
import { oneof } from "../../oneof.js";
|
14
|
-
import { letrec } from "../../letrec.js";
|
15
|
-
import { float32Array } from "../../float32Array.js";
|
16
|
-
import { float64Array } from "../../float64Array.js";
|
17
|
-
import { int16Array } from "../../int16Array.js";
|
18
|
-
import { int32Array } from "../../int32Array.js";
|
19
|
-
import { int8Array } from "../../int8Array.js";
|
20
|
-
import { uint16Array } from "../../uint16Array.js";
|
21
|
-
import { uint32Array } from "../../uint32Array.js";
|
22
|
-
import { uint8Array } from "../../uint8Array.js";
|
23
|
-
import { uint8ClampedArray } from "../../uint8ClampedArray.js";
|
24
|
-
import { sparseArray } from "../../sparseArray.js";
|
25
|
-
import { arrayToMapMapper, arrayToMapUnmapper } from "../mappers/ArrayToMap.js";
|
26
|
-
import { arrayToSetMapper, arrayToSetUnmapper } from "../mappers/ArrayToSet.js";
|
27
|
-
|
28
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/AnyArbitraryBuilder.js
|
29
|
-
function mapOf(ka, va, maxKeys, size, depthIdentifier) {
|
30
|
-
return uniqueArray(tuple(ka, va), {
|
31
|
-
maxLength: maxKeys,
|
32
|
-
size,
|
33
|
-
comparator: "SameValueZero",
|
34
|
-
selector: (t) => t[0],
|
35
|
-
depthIdentifier
|
36
|
-
}).map(arrayToMapMapper, arrayToMapUnmapper);
|
37
|
-
}
|
38
|
-
function dictOf(ka, va, maxKeys, size, depthIdentifier, withNullPrototype) {
|
39
|
-
return dictionary(ka, va, {
|
40
|
-
maxKeys,
|
41
|
-
noNullPrototype: !withNullPrototype,
|
42
|
-
size,
|
43
|
-
depthIdentifier
|
44
|
-
});
|
45
|
-
}
|
46
|
-
function setOf(va, maxKeys, size, depthIdentifier) {
|
47
|
-
return uniqueArray(va, {
|
48
|
-
maxLength: maxKeys,
|
49
|
-
size,
|
50
|
-
comparator: "SameValueZero",
|
51
|
-
depthIdentifier
|
52
|
-
}).map(arrayToSetMapper, arrayToSetUnmapper);
|
53
|
-
}
|
54
|
-
function typedArray(constraints) {
|
55
|
-
return oneof(int8Array(constraints), uint8Array(constraints), uint8ClampedArray(constraints), int16Array(constraints), uint16Array(constraints), int32Array(constraints), uint32Array(constraints), float32Array(constraints), float64Array(constraints));
|
56
|
-
}
|
57
|
-
function anyArbitraryBuilder(constraints) {
|
58
|
-
const arbitrariesForBase = constraints.values;
|
59
|
-
const depthSize = constraints.depthSize;
|
60
|
-
const depthIdentifier = createDepthIdentifier();
|
61
|
-
const maxDepth = constraints.maxDepth;
|
62
|
-
const maxKeys = constraints.maxKeys;
|
63
|
-
const size = constraints.size;
|
64
|
-
const baseArb = oneof(...arbitrariesForBase, ...constraints.withBigInt ? [bigInt()] : [], ...constraints.withDate ? [date()] : []);
|
65
|
-
return letrec((tie) => ({
|
66
|
-
anything: oneof({
|
67
|
-
maxDepth,
|
68
|
-
depthSize,
|
69
|
-
depthIdentifier
|
70
|
-
}, baseArb, tie("array"), tie("object"), ...constraints.withMap ? [tie("map")] : [], ...constraints.withSet ? [tie("set")] : [], ...constraints.withObjectString ? [tie("anything").map((o) => stringify(o))] : [], ...constraints.withTypedArray ? [typedArray({
|
71
|
-
maxLength: maxKeys,
|
72
|
-
size
|
73
|
-
})] : [], ...constraints.withSparseArray ? [sparseArray(tie("anything"), {
|
74
|
-
maxNumElements: maxKeys,
|
75
|
-
size,
|
76
|
-
depthIdentifier
|
77
|
-
})] : []),
|
78
|
-
keys: constraints.withObjectString ? oneof({
|
79
|
-
arbitrary: constraints.key,
|
80
|
-
weight: 10
|
81
|
-
}, {
|
82
|
-
arbitrary: tie("anything").map((o) => stringify(o)),
|
83
|
-
weight: 1
|
84
|
-
}) : constraints.key,
|
85
|
-
array: array(tie("anything"), {
|
86
|
-
maxLength: maxKeys,
|
87
|
-
size,
|
88
|
-
depthIdentifier
|
89
|
-
}),
|
90
|
-
set: setOf(tie("anything"), maxKeys, size, depthIdentifier),
|
91
|
-
map: oneof(mapOf(tie("keys"), tie("anything"), maxKeys, size, depthIdentifier), mapOf(tie("anything"), tie("anything"), maxKeys, size, depthIdentifier)),
|
92
|
-
object: dictOf(tie("keys"), tie("anything"), maxKeys, size, depthIdentifier, constraints.withNullPrototype)
|
93
|
-
})).anything;
|
94
|
-
}
|
95
|
-
|
96
|
-
//#endregion
|
97
|
-
export { anyArbitraryBuilder };
|
@@ -1,13 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { unboxedToBoxedMapper, unboxedToBoxedUnmapper } from "../mappers/UnboxedToBoxed.js";
|
6
|
-
|
7
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/BoxedArbitraryBuilder.js
|
8
|
-
function boxedArbitraryBuilder(arb) {
|
9
|
-
return arb.map(unboxedToBoxedMapper, unboxedToBoxedUnmapper);
|
10
|
-
}
|
11
|
-
|
12
|
-
//#endregion
|
13
|
-
export { boxedArbitraryBuilder };
|
@@ -1,17 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { integer } from "../../integer.js";
|
6
|
-
import { indexToCharStringMapper, indexToCharStringUnmapper } from "../mappers/IndexToCharString.js";
|
7
|
-
|
8
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/CharacterArbitraryBuilder.js
|
9
|
-
function buildCharacterArbitrary(min, max, mapToCode, unmapFromCode) {
|
10
|
-
return integer({
|
11
|
-
min,
|
12
|
-
max
|
13
|
-
}).map((n) => indexToCharStringMapper(mapToCode(n)), (c) => unmapFromCode(indexToCharStringUnmapper(c)));
|
14
|
-
}
|
15
|
-
|
16
|
-
//#endregion
|
17
|
-
export { buildCharacterArbitrary };
|
@@ -1,23 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { integer } from "../../integer.js";
|
6
|
-
import { WithShrinkFromOtherArbitrary } from "../WithShrinkFromOtherArbitrary.js";
|
7
|
-
|
8
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/RestrictedIntegerArbitraryBuilder.js
|
9
|
-
function restrictedIntegerArbitraryBuilder(min, maxGenerated, max) {
|
10
|
-
const generatorArbitrary = integer({
|
11
|
-
min,
|
12
|
-
max: maxGenerated
|
13
|
-
});
|
14
|
-
if (maxGenerated === max) return generatorArbitrary;
|
15
|
-
const shrinkerArbitrary = integer({
|
16
|
-
min,
|
17
|
-
max
|
18
|
-
});
|
19
|
-
return new WithShrinkFromOtherArbitrary(generatorArbitrary, shrinkerArbitrary);
|
20
|
-
}
|
21
|
-
|
22
|
-
//#endregion
|
23
|
-
export { restrictedIntegerArbitraryBuilder };
|
@@ -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
|
-
|
7
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/TypedIntArrayArbitraryBuilder.js
|
8
|
-
var __rest = void 0 && (void 0).__rest || function(s, e) {
|
9
|
-
var t = {};
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
11
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") {
|
12
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
13
|
-
}
|
14
|
-
return t;
|
15
|
-
};
|
16
|
-
function typedIntArrayArbitraryArbitraryBuilder(constraints, defaultMin, defaultMax, TypedArrayClass, arbitraryBuilder) {
|
17
|
-
const generatorName = TypedArrayClass.name;
|
18
|
-
const { min = defaultMin, max = defaultMax } = constraints, arrayConstraints = __rest(constraints, ["min", "max"]);
|
19
|
-
if (min > max) throw new Error(`Invalid range passed to ${generatorName}: min must be lower than or equal to max`);
|
20
|
-
if (min < defaultMin) throw new Error(`Invalid min value passed to ${generatorName}: min must be greater than or equal to ${defaultMin}`);
|
21
|
-
if (max > defaultMax) throw new Error(`Invalid max value passed to ${generatorName}: max must be lower than or equal to ${defaultMax}`);
|
22
|
-
return array(arbitraryBuilder({
|
23
|
-
min,
|
24
|
-
max
|
25
|
-
}), arrayConstraints).map((data) => TypedArrayClass.from(data), (value) => {
|
26
|
-
if (!(value instanceof TypedArrayClass)) throw new Error("Invalid type");
|
27
|
-
return [...value];
|
28
|
-
});
|
29
|
-
}
|
30
|
-
|
31
|
-
//#endregion
|
32
|
-
export { typedIntArrayArbitraryArbitraryBuilder };
|