@fedify/fedify 1.6.1-dev.869 → 1.6.1-dev.871
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actor-CM3gfkH6.js +36173 -0
- package/dist/{vocab/actor.js → actor-D7NMuy45.js} +5 -4
- package/dist/{vocab/actor.d.ts → actor-lFlm8FYo.d.ts} +2 -2
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js → assert-Dv75vaGI.js} +2 -1
- package/dist/assert_equals-ClvzlhZu.js +1020 -0
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js → assert_instance_of--9UCVKsi.js} +2 -1
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_is_error.js → assert_is_error-D162gXcM.js} +2 -2
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_not_equals.js → assert_not_equals-Cyf5m9Ke.js} +2 -2
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js → assert_rejects-FOHCtlD2.js} +23 -3
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js → assert_throws-CRfQJvVx.js} +3 -2
- package/dist/{runtime/authdocloader.js → authdocloader-BKZDAq91.js} +5 -4
- package/dist/authdocloader-OfYZlI31.js +51 -0
- package/dist/{federation/builder.js → builder-DSTiU6ue.js} +6 -5
- package/dist/{_virtual/rolldown_runtime.js → chunk-HsBuZ-b2.js} +1 -0
- package/dist/client-Dw1pCSIt.d.ts +299 -0
- package/dist/{nodeinfo/client.js → client-RN5A1Qgw.js} +3 -2
- package/dist/{federation/collection.js → collection-QaGK9TVn.js} +1 -0
- package/dist/compat/mod.d.ts +12 -2
- package/dist/compat/mod.js +2 -1
- package/dist/compat/transformers.test.d.ts +2 -1
- package/dist/compat/transformers.test.js +32 -8
- package/dist/context-CzJXjNR8.d.ts +2034 -0
- package/dist/{testing/context.js → context-DZKXS0DV.js} +5 -4
- package/dist/{x/denokv.js → denokv-iB_ggPGm.js} +3 -1
- package/dist/{testing/docloader.js → docloader-09nVWLAZ.js} +1 -0
- package/dist/{runtime/contexts.js → docloader-BcMxZ9JH.js} +420 -1
- package/dist/docloader-DDFam5Xn.js +4594 -0
- package/dist/{runtime/docloader.d.ts → docloader-DTRsVZPo.d.ts} +1 -1
- package/dist/esm-BxIKwi-M.js +1221 -0
- package/dist/federation/builder.test.d.ts +2 -1
- package/dist/federation/builder.test.js +21 -7
- package/dist/federation/collection.test.d.ts +2 -1
- package/dist/federation/collection.test.js +11 -3
- package/dist/federation/handler.test.d.ts +2 -1
- package/dist/federation/handler.test.js +40 -12
- package/dist/federation/inbox.test.d.ts +2 -1
- package/dist/federation/inbox.test.js +12 -5
- package/dist/federation/keycache.test.d.ts +2 -1
- package/dist/federation/keycache.test.js +12 -7
- package/dist/federation/kv.test.d.ts +2 -1
- package/dist/federation/kv.test.js +11 -3
- package/dist/federation/middleware.test.d.ts +2 -1
- package/dist/federation/middleware.test.js +107 -26
- package/dist/federation/mod.d.ts +13 -13
- package/dist/federation/mod.js +12 -8
- package/dist/federation/mq.test.d.ts +2 -1
- package/dist/federation/mq.test.js +153 -6
- package/dist/federation/retry.test.d.ts +2 -1
- package/dist/federation/retry.test.js +5 -5
- package/dist/federation/router.test.d.ts +2 -1
- package/dist/federation/router.test.js +11 -6
- package/dist/federation/send.test.d.ts +2 -1
- package/dist/federation/send.test.js +25 -13
- package/dist/{federation/mq.js → federation-Bmj7soSg.js} +47 -1
- package/dist/{node_modules/.pnpm/@jsr_hongminhee__deno-mock-fetch@0.3.2/node_modules/@jsr/hongminhee__deno-mock-fetch/router.js → hongminhee__deno-mock-fetch-DJKLj_H-.js} +96 -1
- package/dist/{sig/http.js → http-BFvv3ZId.js} +5 -4
- package/dist/http-BImJcLfv.d.ts +258 -0
- package/dist/http-v1TqJ9Qa.js +720 -0
- package/dist/{federation/inbox.js → inbox-XV_W1qfB.js} +4 -3
- package/dist/key-BNM-ickE.js +16 -0
- package/dist/key-CVIQ7iUB.js +262 -0
- package/dist/{sig/key.js → key-DIk4Rloj.js} +2 -4
- package/dist/key-DiVhk5ik.js +10 -0
- package/dist/{federation/keycache.js → keycache-uTxsh7dt.js} +2 -1
- package/dist/{testing/keys.js → keys-D7lJqunm.js} +2 -2
- package/dist/{federation/kv.js → kv-DohFOP2C.js} +1 -0
- package/dist/{runtime/langstr.js → langstr-DbWheeIS.js} +1 -0
- package/dist/{sig/ld.js → ld-bOhcKpmk.js} +6 -6
- package/dist/{webfinger/lookup.js → lookup-B5KVF6HM.js} +1 -3
- package/dist/lookup-D3xTID-6.js +131 -0
- package/dist/{webfinger/jrd.d.ts → lookup-DAfStZtI.d.ts} +41 -1
- package/dist/{vocab/lookup.js → lookup-D_v0FFGL.js} +5 -5
- package/dist/middleware-BFedQWFA.js +33 -0
- package/dist/middleware-BiYIqI0b.js +3525 -0
- package/dist/{federation/middleware.js → middleware-CPAfRtS5.js} +957 -105
- package/dist/middleware-pAGwVkRf.js +17 -0
- package/dist/mod-1pDWKvUL.d.ts +2 -0
- package/dist/{runtime/key.d.ts → mod-BxwG4X3V.d.ts} +52 -7
- package/dist/{compat/transformers.d.ts → mod-CeLnlsqE.d.ts} +3 -4
- package/dist/{vocab/lookup.d.ts → mod-DysVoXOu.d.ts} +98 -3
- package/dist/mod-GIh5OYxW.d.ts +2 -0
- package/dist/{sig/ld.d.ts → mod-XT0mRthe.d.ts} +126 -4
- package/dist/mod-g0xFzAP9.d.ts +2 -0
- package/dist/mod.d.ts +18 -34
- package/dist/mod.js +17 -27
- package/dist/multibase-DeCHcK8L.js +316 -0
- package/dist/nodeinfo/client.test.d.ts +2 -1
- package/dist/nodeinfo/client.test.js +15 -4
- package/dist/nodeinfo/handler.test.d.ts +2 -1
- package/dist/nodeinfo/handler.test.js +39 -7
- package/dist/nodeinfo/mod.d.ts +4 -3
- package/dist/nodeinfo/mod.js +3 -3
- package/dist/nodeinfo/semver.test.d.ts +2 -1
- package/dist/nodeinfo/semver.test.js +11 -4
- package/dist/nodeinfo/types.test.d.ts +2 -1
- package/dist/nodeinfo/types.test.js +12 -4
- package/dist/{sig/owner.d.ts → owner-BjpObx-L.d.ts} +4 -6
- package/dist/{sig/owner.js → owner-tYPzPLFs.js} +4 -4
- package/dist/proof-D0cf4R25.js +595 -0
- package/dist/{sig/proof.js → proof-DIsZ1VTb.js} +5 -4
- package/dist/{federation/retry.js → retry-BiIhZWgD.js} +1 -0
- package/dist/{federation/router.js → router-D_aVZZUc.js} +1 -0
- package/dist/runtime/authdocloader.test.d.ts +2 -1
- package/dist/runtime/authdocloader.test.js +24 -9
- package/dist/runtime/docloader.test.d.ts +2 -1
- package/dist/runtime/docloader.test.js +15 -11
- package/dist/runtime/key.test.d.ts +2 -1
- package/dist/runtime/key.test.js +19 -4
- package/dist/runtime/langstr.test.d.ts +2 -1
- package/dist/runtime/langstr.test.js +11 -3
- package/dist/runtime/mod.d.ts +5 -4
- package/dist/runtime/mod.js +7 -4
- package/dist/runtime/multibase/multibase.test.d.ts +2 -1
- package/dist/runtime/multibase/multibase.test.js +11 -5
- package/dist/runtime/url.test.d.ts +2 -1
- package/dist/runtime/url.test.js +7 -6
- package/dist/{nodeinfo/semver.js → semver-CbbIgUsa.js} +1 -0
- package/dist/{federation/send.js → send-CFBOnY61.js} +3 -2
- package/dist/sig/http.test.d.ts +2 -1
- package/dist/sig/http.test.js +23 -12
- package/dist/sig/key.test.d.ts +2 -1
- package/dist/sig/key.test.js +21 -8
- package/dist/sig/ld.test.d.ts +2 -1
- package/dist/sig/ld.test.js +19 -11
- package/dist/sig/mod.d.ts +7 -5
- package/dist/sig/mod.js +7 -5
- package/dist/sig/owner.test.d.ts +2 -1
- package/dist/sig/owner.test.js +23 -9
- package/dist/sig/proof.test.d.ts +2 -1
- package/dist/sig/proof.test.js +22 -10
- package/dist/std__assert-CaBUULmX.js +151 -0
- package/dist/testing/docloader.test.d.ts +2 -1
- package/dist/testing/docloader.test.js +11 -3
- package/dist/testing/mod.d.ts +1 -0
- package/dist/testing/mod.js +2 -136
- package/dist/testing-jcGLO9Lp.js +143 -0
- package/dist/{compat/transformers.js → transformers-jxj-4o2K.js} +1 -1
- package/dist/{vocab/type.js → type-D2s5lmbZ.js} +1 -0
- package/dist/{nodeinfo/types.js → types-CqoqWDkp.js} +2 -1
- package/dist/types-D4p7qK8A.js +457 -0
- package/dist/{runtime/url.js → url-kTAI6_KP.js} +1 -0
- package/dist/vocab/actor.test.d.ts +2 -1
- package/dist/vocab/actor.test.js +5853 -14
- package/dist/vocab/lookup.test.d.ts +2 -1
- package/dist/vocab/lookup.test.js +20 -7
- package/dist/vocab/mod.d.ts +5 -5
- package/dist/vocab/mod.js +4 -5
- package/dist/vocab/type.test.d.ts +2 -1
- package/dist/vocab/type.test.js +9 -4
- package/dist/vocab/vocab.test.d.ts +2 -1
- package/dist/vocab/vocab.test.js +2440 -15
- package/dist/vocab-BSNlVPPE.js +172 -0
- package/dist/{vocab/vocab.js → vocab-BxrrllKY.js} +331 -182
- package/dist/{vocab/vocab.d.ts → vocab-CLWdoo7y.d.ts} +21 -9
- package/dist/webfinger/handler.test.d.ts +2 -1
- package/dist/webfinger/handler.test.js +39 -7
- package/dist/webfinger/lookup.test.d.ts +2 -1
- package/dist/webfinger/lookup.test.js +14 -4
- package/dist/webfinger/mod.d.ts +4 -2
- package/dist/webfinger/mod.js +3 -1
- package/dist/x/cfworkers.d.ts +49 -0
- package/dist/x/cfworkers.js +73 -0
- package/dist/x/cfworkers.test.d.ts +3 -0
- package/dist/x/cfworkers.test.js +153 -0
- package/dist/x/hono.d.ts +11 -2
- package/dist/x/sveltekit.d.ts +11 -2
- package/package.json +6 -1
- package/dist/codegen/fs.js +0 -23
- package/dist/codegen/schema.js +0 -88
- package/dist/codegen/type.js +0 -392
- package/dist/compat/types.d.ts +0 -18
- package/dist/deno.js +0 -137
- package/dist/federation/builder.d.ts +0 -19
- package/dist/federation/callback.d.ts +0 -211
- package/dist/federation/collection.d.ts +0 -36
- package/dist/federation/context.d.ts +0 -757
- package/dist/federation/federation.d.ts +0 -689
- package/dist/federation/handler.d.ts +0 -44
- package/dist/federation/handler.js +0 -543
- package/dist/federation/middleware.d.ts +0 -101
- package/dist/federation/negotiation.js +0 -63
- package/dist/federation/retry.d.ts +0 -71
- package/dist/federation/router.d.ts +0 -92
- package/dist/federation/send.d.ts +0 -29
- package/dist/node_modules/.pnpm/@jsr_hongminhee__deno-mock-fetch@0.3.2/node_modules/@jsr/hongminhee__deno-mock-fetch/mod.js +0 -101
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js +0 -49
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_exists.js +0 -32
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js +0 -26
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_greater.js +0 -34
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_greater_or_equal.js +0 -34
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_strict_equals.js +0 -53
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_string_includes.js +0 -32
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assertion_error.js +0 -33
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/equal.js +0 -79
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/mod.js +0 -19
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/assertion_state.js +0 -177
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/build_message.js +0 -101
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/diff.js +0 -274
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/diff_str.js +0 -148
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/format.js +0 -37
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/mod.js +0 -10
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/styles.js +0 -172
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/assert_path.js +0 -11
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/constants.js +0 -10
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/dirname.js +0 -14
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/from_file_url.js +0 -13
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/normalize.js +0 -14
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/normalize_string.js +0 -60
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/strip_trailing_separators.js +0 -15
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_os.js +0 -9
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/extname.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/format.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/from_file_url.js +0 -34
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/glob_to_regexp.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/is_absolute.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/join.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/join_globs.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/mod.js +0 -5
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/normalize.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/normalize_glob.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/parse.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/_util.js +0 -13
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/dirname.js +0 -54
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/from_file_url.js +0 -27
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/join.js +0 -47
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/normalize.js +0 -59
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/relative.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/resolve.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/to_file_url.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/to_namespaced_path.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/windows/from_file_url.js +0 -31
- package/dist/node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/_strip.js +0 -17
- package/dist/node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/dirname.js +0 -38
- package/dist/node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/join.js +0 -36
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_chars.js +0 -47
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_dumper_state.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_loader_state.js +0 -884
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_schema.js +0 -120
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/binary.js +0 -92
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/bool.js +0 -41
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/float.js +0 -58
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/int.js +0 -118
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/map.js +0 -18
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/merge.js +0 -14
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/nil.js +0 -23
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/omap.js +0 -31
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/pairs.js +0 -22
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/regexp.js +0 -29
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/seq.js +0 -14
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/set.js +0 -17
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/str.js +0 -14
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/timestamp.js +0 -57
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/undefined.js +0 -24
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_utils.js +0 -17
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/mod.js +0 -5
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/parse.js +0 -54
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/stringify.js +0 -4
- package/dist/node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/dist/index.js +0 -68
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/AlwaysShrinkableArbitrary.js +0 -30
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ArrayArbitrary.js +0 -203
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ArrayInt64Arbitrary.js +0 -122
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/BigIntArbitrary.js +0 -63
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ConstantArbitrary.js +0 -58
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/FrequencyArbitrary.js +0 -136
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/IntegerArbitrary.js +0 -64
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/LazyArbitrary.js +0 -29
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/StringUnitArbitrary.js +0 -45
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/TupleArbitrary.js +0 -74
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/WithShrinkFromOtherArbitrary.js +0 -40
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/AnyArbitraryBuilder.js +0 -97
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/BoxedArbitraryBuilder.js +0 -13
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/CharacterArbitraryBuilder.js +0 -17
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/RestrictedIntegerArbitraryBuilder.js +0 -23
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/TypedIntArrayArbitraryBuilder.js +0 -32
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/data/GraphemeRanges.js +0 -990
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/ArrayInt64.js +0 -98
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/BiasNumericRange.js +0 -53
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/BuildSlicedGenerator.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/CustomEqualSet.js +0 -27
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/DepthContext.js +0 -24
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/DoubleHelpers.js +0 -96
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/DoubleOnlyHelpers.js +0 -25
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/FloatHelpers.js +0 -57
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/FloatOnlyHelpers.js +0 -26
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/FloatingOnlyHelpers.js +0 -26
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/GraphemeRangesHelpers.js +0 -58
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/MaxLengthFromMinLength.js +0 -72
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/NoUndefinedAsContext.js +0 -16
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/QualifiedObjectConstraints.js +0 -58
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/SameValueSet.js +0 -41
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/SameValueZeroSet.js +0 -33
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/ShrinkBigInt.js +0 -37
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/ShrinkInteger.js +0 -41
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/SlicesForStringBuilder.js +0 -74
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/StrictlyEqualSet.js +0 -38
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/TokenizeString.js +0 -47
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/implementations/NoopSlicedGenerator.js +0 -21
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/implementations/SlicedBasedGenerator.js +0 -53
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/ArrayToMap.js +0 -16
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/ArrayToSet.js +0 -16
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/CodePointsToString.js +0 -17
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/IndexToCharString.js +0 -20
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/IndexToMappedConstant.js +0 -69
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/IndexToPrintableIndex.js +0 -18
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/KeyValuePairsToObject.js +0 -42
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/PatternsToString.js +0 -32
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/TimeToDate.js +0 -30
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/UnboxedToBoxed.js +0 -22
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/anything.js +0 -14
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/array.js +0 -22
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/bigInt.js +0 -38
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/boolean.js +0 -24
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/constant.js +0 -13
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/constantFrom.js +0 -14
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/date.js +0 -30
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/dictionary.js +0 -27
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/double.js +0 -54
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/float.js +0 -60
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/float32Array.js +0 -22
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/float64Array.js +0 -22
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/fullUnicode.js +0 -24
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/fullUnicodeString.js +0 -20
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/int16Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/int32Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/int8Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/integer.js +0 -26
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/letrec.js +0 -28
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/mapToConstant.js +0 -26
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/maxSafeInteger.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/nat.js +0 -17
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/noBias.js +0 -11
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/oneof.js +0 -31
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/sparseArray.js +0 -68
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/string.js +0 -32
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/tuple.js +0 -13
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint16Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint32Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint8Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint8ClampedArray.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uniqueArray.js +0 -47
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/arbitrary/definition/Arbitrary.js +0 -184
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/arbitrary/definition/Value.js +0 -31
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js +0 -19
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/IRawProperty.js +0 -12
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/IgnoreEqualValuesProperty.js +0 -52
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/Property.generic.js +0 -77
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/Property.js +0 -22
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/SkipAfterProperty.js +0 -61
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/TimeoutProperty.js +0 -52
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/UnbiasedProperty.js +0 -29
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/DecorateProperty.js +0 -26
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/Runner.js +0 -61
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/RunnerIterator.js +0 -47
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/SourceValuesIterator.js +0 -35
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/Tosser.js +0 -33
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/GlobalParameters.js +0 -12
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/QualifiedParameters.js +0 -121
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/VerbosityLevel.js +0 -14
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/reporter/ExecutionStatus.js +0 -14
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/reporter/RunExecution.js +0 -116
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/utils/PathWalker.js +0 -24
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/utils/RunDetailsFormatter.js +0 -135
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/symbols.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/random/generator/Random.js +0 -48
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/LazyIterableIterator.js +0 -24
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/Stream.js +0 -84
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/StreamHelpers.js +0 -50
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/apply.js +0 -28
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/globals.js +0 -309
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/stringify.js +0 -217
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/CallHistory.js +0 -94
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/FetchMock.js +0 -143
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/IsSubsetOf.js +0 -103
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/Matchers.js +0 -195
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/RequestUtils.js +0 -83
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/Route.js +0 -137
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/Router.js +0 -181
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/StatusTextMap.js +0 -73
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/TypeDescriptor.js +0 -97
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/index.js +0 -11
- package/dist/node_modules/.pnpm/glob-to-regexp@0.4.1/node_modules/glob-to-regexp/index.js +0 -87
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformArrayIntDistribution.js +0 -20
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformBigIntDistribution.js +0 -20
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformIntDistribution.js +0 -20
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformArrayIntDistribution.js +0 -20
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformBigIntDistribution.js +0 -32
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformIntDistribution.js +0 -43
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/ArrayInt.js +0 -139
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/UnsafeUniformArrayIntDistributionInternal.js +0 -26
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/UnsafeUniformIntDistributionInternal.js +0 -14
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/LinearCongruential.js +0 -53
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/MersenneTwister.js +0 -114
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/RandomGenerator.js +0 -26
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/XorShift.js +0 -83
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/XoroShiro.js +0 -83
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/pure-rand-default.js +0 -44
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/pure-rand.js +0 -22
- package/dist/node_modules/.pnpm/regexparam@3.0.0/node_modules/regexparam/dist/index.js +0 -37
- package/dist/nodeinfo/client.d.ts +0 -96
- package/dist/nodeinfo/handler.js +0 -46
- package/dist/nodeinfo/semver.d.ts +0 -78
- package/dist/nodeinfo/types.d.ts +0 -140
- package/dist/runtime/authdocloader.d.ts +0 -56
- package/dist/runtime/docloader.js +0 -291
- package/dist/runtime/key.js +0 -156
- package/dist/runtime/langstr.d.ts +0 -24
- package/dist/runtime/multibase/base.js +0 -32
- package/dist/runtime/multibase/constants.js +0 -172
- package/dist/runtime/multibase/index.js +0 -57
- package/dist/runtime/multibase/rfc4648.js +0 -61
- package/dist/runtime/multibase/util.js +0 -21
- package/dist/sig/http.d.ts +0 -143
- package/dist/sig/key.d.ts +0 -125
- package/dist/sig/proof.d.ts +0 -134
- package/dist/testing/fixtures/example.com/person.js +0 -29
- package/dist/testing/fixtures/example.com/person2.js +0 -48
- package/dist/vocab/constants.d.ts +0 -24
- package/dist/vocab/constants.js +0 -17
- package/dist/vocab/type.d.ts +0 -107
- package/dist/webfinger/handler.js +0 -140
- package/dist/webfinger/lookup.d.ts +0 -47
- /package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_object_match.js → compat-Bb5myD13.js} +0 -0
- /package/dist/{testing/fixtures → fixtures}/activitypub.academy/users/brauca_darradiul.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/announce.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/collection.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/create.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/cross-origin-actor.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/hong-gildong.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/invite.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/key.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/key2.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/object.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/orderedcollectionpage.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/paged/a.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/paged/b.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/paged-collection.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/person.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/person2.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/test.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/users/handle.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/wrong-type.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/remote.domain/users/bob.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/server.example/users/alice.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/w3id.org/identity/v1.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/w3id.org/security/data-integrity/v1.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/w3id.org/security/multikey/v1.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/w3id.org/security/v1.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/wizard.casa/users/hongminhee.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/www.w3.org/ns/activitystreams.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/www.w3.org/ns/did/v1.json +0 -0
- /package/dist/{federation/kv.d.ts → kv-BmsWxOQ2.d.ts} +0 -0
- /package/dist/{federation/mq.d.ts → mq-Bue016Tz.d.ts} +0 -0
- /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/basename.js → nodeinfo-CyEbLjHs.js} +0 -0
- /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/common.js → runtime-BSkOVUWM.js} +0 -0
- /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/constants.js → sig-BXJO--F9.js} +0 -0
- /package/dist/{codegen → vocab}/schema.yaml +0 -0
- /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/dirname.js → webfinger-C3GIyXIg.js} +0 -0
package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/undefined.js
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/undefined.js
|
6
|
-
const undefinedType = {
|
7
|
-
tag: "tag:yaml.org,2002:js/undefined",
|
8
|
-
kind: "scalar",
|
9
|
-
resolve() {
|
10
|
-
return true;
|
11
|
-
},
|
12
|
-
construct() {
|
13
|
-
return void 0;
|
14
|
-
},
|
15
|
-
predicate(object) {
|
16
|
-
return typeof object === "undefined";
|
17
|
-
},
|
18
|
-
represent() {
|
19
|
-
return "";
|
20
|
-
}
|
21
|
-
};
|
22
|
-
|
23
|
-
//#endregion
|
24
|
-
export { undefinedType };
|
@@ -1,17 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.6/node_modules/@jsr/std__yaml/_utils.js
|
6
|
-
function isObject(value) {
|
7
|
-
return value !== null && typeof value === "object";
|
8
|
-
}
|
9
|
-
function isNegativeZero(i) {
|
10
|
-
return i === 0 && Number.NEGATIVE_INFINITY === 1 / i;
|
11
|
-
}
|
12
|
-
function isPlainObject(object) {
|
13
|
-
return Object.prototype.toString.call(object) === "[object Object]";
|
14
|
-
}
|
15
|
-
|
16
|
-
//#endregion
|
17
|
-
export { isNegativeZero, isObject, isPlainObject };
|
@@ -1,54 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { isEOL } from "./_chars.js";
|
6
|
-
import { SCHEMA_MAP } from "./_schema.js";
|
7
|
-
import { LoaderState } from "./_loader_state.js";
|
8
|
-
|
9
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.6/node_modules/@jsr/std__yaml/parse.js
|
10
|
-
function sanitizeInput(input) {
|
11
|
-
input = String(input);
|
12
|
-
if (input.length > 0) {
|
13
|
-
if (!isEOL(input.charCodeAt(input.length - 1))) input += "\n";
|
14
|
-
if (input.charCodeAt(0) === 65279) input = input.slice(1);
|
15
|
-
}
|
16
|
-
input += "\0";
|
17
|
-
return input;
|
18
|
-
}
|
19
|
-
/**
|
20
|
-
* Parse and return a YAML string as a parsed YAML document object.
|
21
|
-
*
|
22
|
-
* Note: This does not support functions. Untrusted data is safe to parse.
|
23
|
-
*
|
24
|
-
* @example Usage
|
25
|
-
* ```ts
|
26
|
-
* import { parse } from "@std/yaml/parse";
|
27
|
-
* import { assertEquals } from "@std/assert";
|
28
|
-
*
|
29
|
-
* const data = parse(`
|
30
|
-
* id: 1
|
31
|
-
* name: Alice
|
32
|
-
* `);
|
33
|
-
*
|
34
|
-
* assertEquals(data, { id: 1, name: "Alice" });
|
35
|
-
* ```
|
36
|
-
*
|
37
|
-
* @throws {SyntaxError} Throws error on invalid YAML.
|
38
|
-
* @param content YAML string to parse.
|
39
|
-
* @param options Parsing options.
|
40
|
-
* @returns Parsed document.
|
41
|
-
*/ function parse(content, options = {}) {
|
42
|
-
content = sanitizeInput(content);
|
43
|
-
const state = new LoaderState(content, {
|
44
|
-
...options,
|
45
|
-
schema: SCHEMA_MAP.get(options.schema)
|
46
|
-
});
|
47
|
-
const documentGenerator = state.readDocuments();
|
48
|
-
const document = documentGenerator.next().value;
|
49
|
-
if (!documentGenerator.next().done) throw new SyntaxError("Found more than 1 document in the stream: expected a single document");
|
50
|
-
return document ?? null;
|
51
|
-
}
|
52
|
-
|
53
|
-
//#endregion
|
54
|
-
export { parse };
|
@@ -1,68 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/dist/index.mjs
|
6
|
-
var has = Object.prototype.hasOwnProperty;
|
7
|
-
function find(iter, tar, key) {
|
8
|
-
for (key of iter.keys()) if (dequal(key, tar)) return key;
|
9
|
-
}
|
10
|
-
function dequal(foo, bar) {
|
11
|
-
var ctor, len, tmp;
|
12
|
-
if (foo === bar) return true;
|
13
|
-
if (foo && bar && (ctor = foo.constructor) === bar.constructor) {
|
14
|
-
if (ctor === Date) return foo.getTime() === bar.getTime();
|
15
|
-
if (ctor === RegExp) return foo.toString() === bar.toString();
|
16
|
-
if (ctor === Array) {
|
17
|
-
if ((len = foo.length) === bar.length) while (len-- && dequal(foo[len], bar[len]));
|
18
|
-
return len === -1;
|
19
|
-
}
|
20
|
-
if (ctor === Set) {
|
21
|
-
if (foo.size !== bar.size) return false;
|
22
|
-
for (len of foo) {
|
23
|
-
tmp = len;
|
24
|
-
if (tmp && typeof tmp === "object") {
|
25
|
-
tmp = find(bar, tmp);
|
26
|
-
if (!tmp) return false;
|
27
|
-
}
|
28
|
-
if (!bar.has(tmp)) return false;
|
29
|
-
}
|
30
|
-
return true;
|
31
|
-
}
|
32
|
-
if (ctor === Map) {
|
33
|
-
if (foo.size !== bar.size) return false;
|
34
|
-
for (len of foo) {
|
35
|
-
tmp = len[0];
|
36
|
-
if (tmp && typeof tmp === "object") {
|
37
|
-
tmp = find(bar, tmp);
|
38
|
-
if (!tmp) return false;
|
39
|
-
}
|
40
|
-
if (!dequal(len[1], bar.get(tmp))) return false;
|
41
|
-
}
|
42
|
-
return true;
|
43
|
-
}
|
44
|
-
if (ctor === ArrayBuffer) {
|
45
|
-
foo = new Uint8Array(foo);
|
46
|
-
bar = new Uint8Array(bar);
|
47
|
-
} else if (ctor === DataView) {
|
48
|
-
if ((len = foo.byteLength) === bar.byteLength) while (len-- && foo.getInt8(len) === bar.getInt8(len));
|
49
|
-
return len === -1;
|
50
|
-
}
|
51
|
-
if (ArrayBuffer.isView(foo)) {
|
52
|
-
if ((len = foo.byteLength) === bar.byteLength) while (len-- && foo[len] === bar[len]);
|
53
|
-
return len === -1;
|
54
|
-
}
|
55
|
-
if (!ctor || typeof foo === "object") {
|
56
|
-
len = 0;
|
57
|
-
for (ctor in foo) {
|
58
|
-
if (has.call(foo, ctor) && ++len && !has.call(bar, ctor)) return false;
|
59
|
-
if (!(ctor in bar) || !dequal(foo[ctor], bar[ctor])) return false;
|
60
|
-
}
|
61
|
-
return Object.keys(bar).length === len;
|
62
|
-
}
|
63
|
-
}
|
64
|
-
return foo !== foo && bar !== bar;
|
65
|
-
}
|
66
|
-
|
67
|
-
//#endregion
|
68
|
-
export { dequal };
|
@@ -1,30 +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 { Arbitrary } from "../../check/arbitrary/definition/Arbitrary.js";
|
7
|
-
import { UndefinedContextPlaceholder, noUndefinedAsContext } from "./helpers/NoUndefinedAsContext.js";
|
8
|
-
|
9
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/AlwaysShrinkableArbitrary.js
|
10
|
-
var AlwaysShrinkableArbitrary = class extends Arbitrary {
|
11
|
-
constructor(arb) {
|
12
|
-
super();
|
13
|
-
this.arb = arb;
|
14
|
-
}
|
15
|
-
generate(mrng, biasFactor) {
|
16
|
-
const value = this.arb.generate(mrng, biasFactor);
|
17
|
-
return noUndefinedAsContext(value);
|
18
|
-
}
|
19
|
-
canShrinkWithoutContext(value) {
|
20
|
-
return true;
|
21
|
-
}
|
22
|
-
shrink(value, context) {
|
23
|
-
if (context === void 0 && !this.arb.canShrinkWithoutContext(value)) return Stream.nil();
|
24
|
-
const safeContext = context !== UndefinedContextPlaceholder ? context : void 0;
|
25
|
-
return this.arb.shrink(value, safeContext).map(noUndefinedAsContext);
|
26
|
-
}
|
27
|
-
};
|
28
|
-
|
29
|
-
//#endregion
|
30
|
-
export { AlwaysShrinkableArbitrary };
|
@@ -1,203 +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
|
-
import { integer } from "../integer.js";
|
12
|
-
import { getDepthContextFor } from "./helpers/DepthContext.js";
|
13
|
-
import { buildSlicedGenerator } from "./helpers/BuildSlicedGenerator.js";
|
14
|
-
|
15
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ArrayArbitrary.js
|
16
|
-
const safeMathFloor = Math.floor;
|
17
|
-
const safeMathLog = Math.log;
|
18
|
-
const safeMathMax = Math.max;
|
19
|
-
const safeArrayIsArray = Array.isArray;
|
20
|
-
function biasedMaxLength(minLength, maxLength) {
|
21
|
-
if (minLength === maxLength) return minLength;
|
22
|
-
return minLength + safeMathFloor(safeMathLog(maxLength - minLength) / safeMathLog(2));
|
23
|
-
}
|
24
|
-
var ArrayArbitrary = class ArrayArbitrary extends Arbitrary {
|
25
|
-
constructor(arb, minLength, maxGeneratedLength, maxLength, depthIdentifier, setBuilder, customSlices) {
|
26
|
-
super();
|
27
|
-
this.arb = arb;
|
28
|
-
this.minLength = minLength;
|
29
|
-
this.maxGeneratedLength = maxGeneratedLength;
|
30
|
-
this.maxLength = maxLength;
|
31
|
-
this.setBuilder = setBuilder;
|
32
|
-
this.customSlices = customSlices;
|
33
|
-
this.lengthArb = integer({
|
34
|
-
min: minLength,
|
35
|
-
max: maxGeneratedLength
|
36
|
-
});
|
37
|
-
this.depthContext = getDepthContextFor(depthIdentifier);
|
38
|
-
}
|
39
|
-
preFilter(tab) {
|
40
|
-
if (this.setBuilder === void 0) return tab;
|
41
|
-
const s = this.setBuilder();
|
42
|
-
for (let index = 0; index !== tab.length; ++index) s.tryAdd(tab[index]);
|
43
|
-
return s.getData();
|
44
|
-
}
|
45
|
-
static makeItCloneable(vs, shrinkables) {
|
46
|
-
vs[cloneMethod] = () => {
|
47
|
-
const cloned = [];
|
48
|
-
for (let idx = 0; idx !== shrinkables.length; ++idx) safePush(cloned, shrinkables[idx].value);
|
49
|
-
this.makeItCloneable(cloned, shrinkables);
|
50
|
-
return cloned;
|
51
|
-
};
|
52
|
-
return vs;
|
53
|
-
}
|
54
|
-
generateNItemsNoDuplicates(setBuilder, N, mrng, biasFactorItems) {
|
55
|
-
let numSkippedInRow = 0;
|
56
|
-
const s = setBuilder();
|
57
|
-
const slicedGenerator = buildSlicedGenerator(this.arb, mrng, this.customSlices, biasFactorItems);
|
58
|
-
while (s.size() < N && numSkippedInRow < this.maxGeneratedLength) {
|
59
|
-
const current = slicedGenerator.next();
|
60
|
-
if (s.tryAdd(current)) numSkippedInRow = 0;
|
61
|
-
else numSkippedInRow += 1;
|
62
|
-
}
|
63
|
-
return s.getData();
|
64
|
-
}
|
65
|
-
safeGenerateNItemsNoDuplicates(setBuilder, N, mrng, biasFactorItems) {
|
66
|
-
const depthImpact = safeMathMax(0, N - biasedMaxLength(this.minLength, this.maxGeneratedLength));
|
67
|
-
this.depthContext.depth += depthImpact;
|
68
|
-
try {
|
69
|
-
return this.generateNItemsNoDuplicates(setBuilder, N, mrng, biasFactorItems);
|
70
|
-
} finally {
|
71
|
-
this.depthContext.depth -= depthImpact;
|
72
|
-
}
|
73
|
-
}
|
74
|
-
generateNItems(N, mrng, biasFactorItems) {
|
75
|
-
const items = [];
|
76
|
-
const slicedGenerator = buildSlicedGenerator(this.arb, mrng, this.customSlices, biasFactorItems);
|
77
|
-
slicedGenerator.attemptExact(N);
|
78
|
-
for (let index = 0; index !== N; ++index) {
|
79
|
-
const current = slicedGenerator.next();
|
80
|
-
safePush(items, current);
|
81
|
-
}
|
82
|
-
return items;
|
83
|
-
}
|
84
|
-
safeGenerateNItems(N, mrng, biasFactorItems) {
|
85
|
-
const depthImpact = safeMathMax(0, N - biasedMaxLength(this.minLength, this.maxGeneratedLength));
|
86
|
-
this.depthContext.depth += depthImpact;
|
87
|
-
try {
|
88
|
-
return this.generateNItems(N, mrng, biasFactorItems);
|
89
|
-
} finally {
|
90
|
-
this.depthContext.depth -= depthImpact;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
wrapper(itemsRaw, shrunkOnce, itemsRawLengthContext, startIndex) {
|
94
|
-
const items = shrunkOnce ? this.preFilter(itemsRaw) : itemsRaw;
|
95
|
-
let cloneable = false;
|
96
|
-
const vs = [];
|
97
|
-
const itemsContexts = [];
|
98
|
-
for (let idx = 0; idx !== items.length; ++idx) {
|
99
|
-
const s = items[idx];
|
100
|
-
cloneable = cloneable || s.hasToBeCloned;
|
101
|
-
safePush(vs, s.value);
|
102
|
-
safePush(itemsContexts, s.context);
|
103
|
-
}
|
104
|
-
if (cloneable) ArrayArbitrary.makeItCloneable(vs, items);
|
105
|
-
const context = {
|
106
|
-
shrunkOnce,
|
107
|
-
lengthContext: itemsRaw.length === items.length && itemsRawLengthContext !== void 0 ? itemsRawLengthContext : void 0,
|
108
|
-
itemsContexts,
|
109
|
-
startIndex
|
110
|
-
};
|
111
|
-
return new Value(vs, context);
|
112
|
-
}
|
113
|
-
generate(mrng, biasFactor) {
|
114
|
-
const biasMeta = this.applyBias(mrng, biasFactor);
|
115
|
-
const targetSize = biasMeta.size;
|
116
|
-
const items = this.setBuilder !== void 0 ? this.safeGenerateNItemsNoDuplicates(this.setBuilder, targetSize, mrng, biasMeta.biasFactorItems) : this.safeGenerateNItems(targetSize, mrng, biasMeta.biasFactorItems);
|
117
|
-
return this.wrapper(items, false, void 0, 0);
|
118
|
-
}
|
119
|
-
applyBias(mrng, biasFactor) {
|
120
|
-
if (biasFactor === void 0) return { size: this.lengthArb.generate(mrng, void 0).value };
|
121
|
-
if (this.minLength === this.maxGeneratedLength) return {
|
122
|
-
size: this.lengthArb.generate(mrng, void 0).value,
|
123
|
-
biasFactorItems: biasFactor
|
124
|
-
};
|
125
|
-
if (mrng.nextInt(1, biasFactor) !== 1) return { size: this.lengthArb.generate(mrng, void 0).value };
|
126
|
-
if (mrng.nextInt(1, biasFactor) !== 1 || this.minLength === this.maxGeneratedLength) return {
|
127
|
-
size: this.lengthArb.generate(mrng, void 0).value,
|
128
|
-
biasFactorItems: biasFactor
|
129
|
-
};
|
130
|
-
const maxBiasedLength = biasedMaxLength(this.minLength, this.maxGeneratedLength);
|
131
|
-
const targetSizeValue = integer({
|
132
|
-
min: this.minLength,
|
133
|
-
max: maxBiasedLength
|
134
|
-
}).generate(mrng, void 0);
|
135
|
-
return {
|
136
|
-
size: targetSizeValue.value,
|
137
|
-
biasFactorItems: biasFactor
|
138
|
-
};
|
139
|
-
}
|
140
|
-
canShrinkWithoutContext(value) {
|
141
|
-
if (!safeArrayIsArray(value) || this.minLength > value.length || value.length > this.maxLength) return false;
|
142
|
-
for (let index = 0; index !== value.length; ++index) {
|
143
|
-
if (!(index in value)) return false;
|
144
|
-
if (!this.arb.canShrinkWithoutContext(value[index])) return false;
|
145
|
-
}
|
146
|
-
const filtered = this.preFilter(safeMap(value, (item) => new Value(item, void 0)));
|
147
|
-
return filtered.length === value.length;
|
148
|
-
}
|
149
|
-
shrinkItemByItem(value, safeContext, endIndex) {
|
150
|
-
const shrinks = [];
|
151
|
-
for (let index = safeContext.startIndex; index < endIndex; ++index) safePush(shrinks, makeLazy(() => this.arb.shrink(value[index], safeContext.itemsContexts[index]).map((v) => {
|
152
|
-
const beforeCurrent = safeMap(safeSlice(value, 0, index), (v$1, i) => new Value(cloneIfNeeded(v$1), safeContext.itemsContexts[i]));
|
153
|
-
const afterCurrent = safeMap(safeSlice(value, index + 1), (v$1, i) => new Value(cloneIfNeeded(v$1), safeContext.itemsContexts[i + index + 1]));
|
154
|
-
return [
|
155
|
-
[
|
156
|
-
...beforeCurrent,
|
157
|
-
v,
|
158
|
-
...afterCurrent
|
159
|
-
],
|
160
|
-
void 0,
|
161
|
-
index
|
162
|
-
];
|
163
|
-
})));
|
164
|
-
return Stream.nil().join(...shrinks);
|
165
|
-
}
|
166
|
-
shrinkImpl(value, context) {
|
167
|
-
if (value.length === 0) return Stream.nil();
|
168
|
-
const safeContext = context !== void 0 ? context : {
|
169
|
-
shrunkOnce: false,
|
170
|
-
lengthContext: void 0,
|
171
|
-
itemsContexts: [],
|
172
|
-
startIndex: 0
|
173
|
-
};
|
174
|
-
return this.lengthArb.shrink(value.length, safeContext.lengthContext).drop(safeContext.shrunkOnce && safeContext.lengthContext === void 0 && value.length > this.minLength + 1 ? 1 : 0).map((lengthValue) => {
|
175
|
-
const sliceStart = value.length - lengthValue.value;
|
176
|
-
return [
|
177
|
-
safeMap(safeSlice(value, sliceStart), (v, index) => new Value(cloneIfNeeded(v), safeContext.itemsContexts[index + sliceStart])),
|
178
|
-
lengthValue.context,
|
179
|
-
0
|
180
|
-
];
|
181
|
-
}).join(makeLazy(() => value.length > this.minLength ? this.shrinkItemByItem(value, safeContext, 1) : this.shrinkItemByItem(value, safeContext, value.length))).join(value.length > this.minLength ? makeLazy(() => {
|
182
|
-
const subContext = {
|
183
|
-
shrunkOnce: false,
|
184
|
-
lengthContext: void 0,
|
185
|
-
itemsContexts: safeSlice(safeContext.itemsContexts, 1),
|
186
|
-
startIndex: 0
|
187
|
-
};
|
188
|
-
return this.shrinkImpl(safeSlice(value, 1), subContext).filter((v) => this.minLength <= v[0].length + 1).map((v) => {
|
189
|
-
return [
|
190
|
-
[new Value(cloneIfNeeded(value[0]), safeContext.itemsContexts[0]), ...v[0]],
|
191
|
-
void 0,
|
192
|
-
0
|
193
|
-
];
|
194
|
-
});
|
195
|
-
}) : Stream.nil());
|
196
|
-
}
|
197
|
-
shrink(value, context) {
|
198
|
-
return this.shrinkImpl(value, context).map((contextualValue) => this.wrapper(contextualValue[0], true, contextualValue[1], contextualValue[2]));
|
199
|
-
}
|
200
|
-
};
|
201
|
-
|
202
|
-
//#endregion
|
203
|
-
export { ArrayArbitrary };
|
@@ -1,122 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { Stream, 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 { Unit64, Zero64, add64, halve64, isEqual64, isStrictlyNegative64, isStrictlyPositive64, isStrictlySmaller64, isZero64, logLike64, substract64 } from "./helpers/ArrayInt64.js";
|
9
|
-
|
10
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ArrayInt64Arbitrary.js
|
11
|
-
var ArrayInt64Arbitrary = class ArrayInt64Arbitrary extends Arbitrary {
|
12
|
-
constructor(min, max) {
|
13
|
-
super();
|
14
|
-
this.min = min;
|
15
|
-
this.max = max;
|
16
|
-
this.biasedRanges = null;
|
17
|
-
}
|
18
|
-
generate(mrng, biasFactor) {
|
19
|
-
const range = this.computeGenerateRange(mrng, biasFactor);
|
20
|
-
const uncheckedValue = mrng.nextArrayInt(range.min, range.max);
|
21
|
-
if (uncheckedValue.data.length === 1) uncheckedValue.data.unshift(0);
|
22
|
-
return new Value(uncheckedValue, void 0);
|
23
|
-
}
|
24
|
-
computeGenerateRange(mrng, biasFactor) {
|
25
|
-
if (biasFactor === void 0 || mrng.nextInt(1, biasFactor) !== 1) return {
|
26
|
-
min: this.min,
|
27
|
-
max: this.max
|
28
|
-
};
|
29
|
-
const ranges = this.retrieveBiasedRanges();
|
30
|
-
if (ranges.length === 1) return ranges[0];
|
31
|
-
const id = mrng.nextInt(-2 * (ranges.length - 1), ranges.length - 2);
|
32
|
-
return id < 0 ? ranges[0] : ranges[id + 1];
|
33
|
-
}
|
34
|
-
canShrinkWithoutContext(value) {
|
35
|
-
const unsafeValue = value;
|
36
|
-
return typeof value === "object" && value !== null && (unsafeValue.sign === -1 || unsafeValue.sign === 1) && Array.isArray(unsafeValue.data) && unsafeValue.data.length === 2 && (isStrictlySmaller64(this.min, unsafeValue) && isStrictlySmaller64(unsafeValue, this.max) || isEqual64(this.min, unsafeValue) || isEqual64(this.max, unsafeValue));
|
37
|
-
}
|
38
|
-
shrinkArrayInt64(value, target, tryTargetAsap) {
|
39
|
-
const realGap = substract64(value, target);
|
40
|
-
function* shrinkGen() {
|
41
|
-
let previous = tryTargetAsap ? void 0 : target;
|
42
|
-
const gap = tryTargetAsap ? realGap : halve64(realGap);
|
43
|
-
for (let toremove = gap; !isZero64(toremove); toremove = halve64(toremove)) {
|
44
|
-
const next = substract64(value, toremove);
|
45
|
-
yield new Value(next, previous);
|
46
|
-
previous = next;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
return stream(shrinkGen());
|
50
|
-
}
|
51
|
-
shrink(current, context) {
|
52
|
-
if (!ArrayInt64Arbitrary.isValidContext(current, context)) {
|
53
|
-
const target = this.defaultTarget();
|
54
|
-
return this.shrinkArrayInt64(current, target, true);
|
55
|
-
}
|
56
|
-
if (this.isLastChanceTry(current, context)) return Stream.of(new Value(context, void 0));
|
57
|
-
return this.shrinkArrayInt64(current, context, false);
|
58
|
-
}
|
59
|
-
defaultTarget() {
|
60
|
-
if (!isStrictlyPositive64(this.min) && !isStrictlyNegative64(this.max)) return Zero64;
|
61
|
-
return isStrictlyNegative64(this.min) ? this.max : this.min;
|
62
|
-
}
|
63
|
-
isLastChanceTry(current, context) {
|
64
|
-
if (isZero64(current)) return false;
|
65
|
-
if (current.sign === 1) return isEqual64(current, add64(context, Unit64)) && isStrictlyPositive64(substract64(current, this.min));
|
66
|
-
else return isEqual64(current, substract64(context, Unit64)) && isStrictlyNegative64(substract64(current, this.max));
|
67
|
-
}
|
68
|
-
static isValidContext(_current, context) {
|
69
|
-
if (context === void 0) return false;
|
70
|
-
if (typeof context !== "object" || context === null || !("sign" in context) || !("data" in context)) throw new Error(`Invalid context type passed to ArrayInt64Arbitrary (#1)`);
|
71
|
-
return true;
|
72
|
-
}
|
73
|
-
retrieveBiasedRanges() {
|
74
|
-
if (this.biasedRanges != null) return this.biasedRanges;
|
75
|
-
if (isEqual64(this.min, this.max)) {
|
76
|
-
this.biasedRanges = [{
|
77
|
-
min: this.min,
|
78
|
-
max: this.max
|
79
|
-
}];
|
80
|
-
return this.biasedRanges;
|
81
|
-
}
|
82
|
-
const minStrictlySmallerZero = isStrictlyNegative64(this.min);
|
83
|
-
const maxStrictlyGreaterZero = isStrictlyPositive64(this.max);
|
84
|
-
if (minStrictlySmallerZero && maxStrictlyGreaterZero) {
|
85
|
-
const logMin = logLike64(this.min);
|
86
|
-
const logMax = logLike64(this.max);
|
87
|
-
this.biasedRanges = [
|
88
|
-
{
|
89
|
-
min: logMin,
|
90
|
-
max: logMax
|
91
|
-
},
|
92
|
-
{
|
93
|
-
min: substract64(this.max, logMax),
|
94
|
-
max: this.max
|
95
|
-
},
|
96
|
-
{
|
97
|
-
min: this.min,
|
98
|
-
max: substract64(this.min, logMin)
|
99
|
-
}
|
100
|
-
];
|
101
|
-
} else {
|
102
|
-
const logGap = logLike64(substract64(this.max, this.min));
|
103
|
-
const arbCloseToMin = {
|
104
|
-
min: this.min,
|
105
|
-
max: add64(this.min, logGap)
|
106
|
-
};
|
107
|
-
const arbCloseToMax = {
|
108
|
-
min: substract64(this.max, logGap),
|
109
|
-
max: this.max
|
110
|
-
};
|
111
|
-
this.biasedRanges = minStrictlySmallerZero ? [arbCloseToMax, arbCloseToMin] : [arbCloseToMin, arbCloseToMax];
|
112
|
-
}
|
113
|
-
return this.biasedRanges;
|
114
|
-
}
|
115
|
-
};
|
116
|
-
function arrayInt64(min, max) {
|
117
|
-
const arb = new ArrayInt64Arbitrary(min, max);
|
118
|
-
return arb;
|
119
|
-
}
|
120
|
-
|
121
|
-
//#endregion
|
122
|
-
export { arrayInt64 };
|
@@ -1,63 +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 { SBigInt } from "../../utils/globals.js";
|
9
|
-
import { biasNumericRange, bigIntLogLike } from "./helpers/BiasNumericRange.js";
|
10
|
-
import { shrinkBigInt } from "./helpers/ShrinkBigInt.js";
|
11
|
-
|
12
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/BigIntArbitrary.js
|
13
|
-
var BigIntArbitrary = class BigIntArbitrary extends Arbitrary {
|
14
|
-
constructor(min, max) {
|
15
|
-
super();
|
16
|
-
this.min = min;
|
17
|
-
this.max = max;
|
18
|
-
}
|
19
|
-
generate(mrng, biasFactor) {
|
20
|
-
const range = this.computeGenerateRange(mrng, biasFactor);
|
21
|
-
return new Value(mrng.nextBigInt(range.min, range.max), void 0);
|
22
|
-
}
|
23
|
-
computeGenerateRange(mrng, biasFactor) {
|
24
|
-
if (biasFactor === void 0 || mrng.nextInt(1, biasFactor) !== 1) return {
|
25
|
-
min: this.min,
|
26
|
-
max: this.max
|
27
|
-
};
|
28
|
-
const ranges = biasNumericRange(this.min, this.max, bigIntLogLike);
|
29
|
-
if (ranges.length === 1) return ranges[0];
|
30
|
-
const id = mrng.nextInt(-2 * (ranges.length - 1), ranges.length - 2);
|
31
|
-
return id < 0 ? ranges[0] : ranges[id + 1];
|
32
|
-
}
|
33
|
-
canShrinkWithoutContext(value) {
|
34
|
-
return typeof value === "bigint" && this.min <= value && value <= this.max;
|
35
|
-
}
|
36
|
-
shrink(current, context) {
|
37
|
-
if (!BigIntArbitrary.isValidContext(current, context)) {
|
38
|
-
const target = this.defaultTarget();
|
39
|
-
return shrinkBigInt(current, target, true);
|
40
|
-
}
|
41
|
-
if (this.isLastChanceTry(current, context)) return Stream.of(new Value(context, void 0));
|
42
|
-
return shrinkBigInt(current, context, false);
|
43
|
-
}
|
44
|
-
defaultTarget() {
|
45
|
-
if (this.min <= 0 && this.max >= 0) return SBigInt(0);
|
46
|
-
return this.min < 0 ? this.max : this.min;
|
47
|
-
}
|
48
|
-
isLastChanceTry(current, context) {
|
49
|
-
if (current > 0) return current === context + SBigInt(1) && current > this.min;
|
50
|
-
if (current < 0) return current === context - SBigInt(1) && current < this.max;
|
51
|
-
return false;
|
52
|
-
}
|
53
|
-
static isValidContext(current, context) {
|
54
|
-
if (context === void 0) return false;
|
55
|
-
if (typeof context !== "bigint") throw new Error(`Invalid context type passed to BigIntArbitrary (#1)`);
|
56
|
-
const differentSigns = current > 0 && context < 0 || current < 0 && context > 0;
|
57
|
-
if (context !== SBigInt(0) && differentSigns) throw new Error(`Invalid context value passed to BigIntArbitrary (#2)`);
|
58
|
-
return true;
|
59
|
-
}
|
60
|
-
};
|
61
|
-
|
62
|
-
//#endregion
|
63
|
-
export { BigIntArbitrary };
|
@@ -1,58 +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 "../../check/symbols.js";
|
7
|
-
import { Value } from "../../check/arbitrary/definition/Value.js";
|
8
|
-
import { Arbitrary } from "../../check/arbitrary/definition/Arbitrary.js";
|
9
|
-
import { SSet, safeHas } from "../../utils/globals.js";
|
10
|
-
|
11
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ConstantArbitrary.js
|
12
|
-
const safeObjectIs = Object.is;
|
13
|
-
var ConstantArbitrary = class extends Arbitrary {
|
14
|
-
constructor(values) {
|
15
|
-
super();
|
16
|
-
this.values = values;
|
17
|
-
}
|
18
|
-
generate(mrng, _biasFactor) {
|
19
|
-
const idx = this.values.length === 1 ? 0 : mrng.nextInt(0, this.values.length - 1);
|
20
|
-
const value = this.values[idx];
|
21
|
-
if (!hasCloneMethod(value)) return new Value(value, idx);
|
22
|
-
return new Value(value, idx, () => value[cloneMethod]());
|
23
|
-
}
|
24
|
-
canShrinkWithoutContext(value) {
|
25
|
-
if (this.values.length === 1) return safeObjectIs(this.values[0], value);
|
26
|
-
if (this.fastValues === void 0) this.fastValues = new FastConstantValuesLookup(this.values);
|
27
|
-
return this.fastValues.has(value);
|
28
|
-
}
|
29
|
-
shrink(value, context) {
|
30
|
-
if (context === 0 || safeObjectIs(value, this.values[0])) return Stream.nil();
|
31
|
-
return Stream.of(new Value(this.values[0], 0));
|
32
|
-
}
|
33
|
-
};
|
34
|
-
var FastConstantValuesLookup = class {
|
35
|
-
constructor(values) {
|
36
|
-
this.values = values;
|
37
|
-
this.fastValues = new SSet(this.values);
|
38
|
-
let hasMinusZero = false;
|
39
|
-
let hasPlusZero = false;
|
40
|
-
if (safeHas(this.fastValues, 0)) for (let idx = 0; idx !== this.values.length; ++idx) {
|
41
|
-
const value = this.values[idx];
|
42
|
-
hasMinusZero = hasMinusZero || safeObjectIs(value, -0);
|
43
|
-
hasPlusZero = hasPlusZero || safeObjectIs(value, 0);
|
44
|
-
}
|
45
|
-
this.hasMinusZero = hasMinusZero;
|
46
|
-
this.hasPlusZero = hasPlusZero;
|
47
|
-
}
|
48
|
-
has(value) {
|
49
|
-
if (value === 0) {
|
50
|
-
if (safeObjectIs(value, 0)) return this.hasPlusZero;
|
51
|
-
return this.hasMinusZero;
|
52
|
-
}
|
53
|
-
return safeHas(this.fastValues, value);
|
54
|
-
}
|
55
|
-
};
|
56
|
-
|
57
|
-
//#endregion
|
58
|
-
export { ConstantArbitrary };
|