@fedify/fedify 1.6.1-dev.869 → 1.6.1-dev.873
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{vocab/actor.js → actor-DhyIYEBl.js} +5 -4
- package/dist/{vocab/actor.d.ts → actor-lFlm8FYo.d.ts} +2 -2
- package/dist/actor-trV1ExpS.js +36173 -0
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js → assert-Dv75vaGI.js} +2 -1
- package/dist/assert_equals-ClvzlhZu.js +1020 -0
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js → assert_instance_of--9UCVKsi.js} +2 -1
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_is_error.js → assert_is_error-D162gXcM.js} +2 -2
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_not_equals.js → assert_not_equals-Cyf5m9Ke.js} +2 -2
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js → assert_rejects-FOHCtlD2.js} +23 -3
- package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js → assert_throws-CRfQJvVx.js} +3 -2
- package/dist/authdocloader-4i4HAp9R.js +51 -0
- package/dist/{runtime/authdocloader.js → authdocloader-BXgFJugo.js} +5 -4
- package/dist/{federation/builder.js → builder-Bh56oIkr.js} +6 -5
- package/dist/{_virtual/rolldown_runtime.js → chunk-HsBuZ-b2.js} +1 -0
- package/dist/{nodeinfo/client.js → client-BoT1mhNh.js} +3 -2
- package/dist/client-Dw1pCSIt.d.ts +299 -0
- package/dist/{federation/collection.js → collection-QaGK9TVn.js} +1 -0
- package/dist/compat/mod.d.ts +12 -2
- package/dist/compat/mod.js +2 -1
- package/dist/compat/transformers.test.d.ts +2 -1
- package/dist/compat/transformers.test.js +32 -8
- package/dist/{testing/context.js → context-B2499YhO.js} +5 -4
- package/dist/context-CzJXjNR8.d.ts +2034 -0
- package/dist/{x/denokv.js → denokv-iB_ggPGm.js} +3 -1
- package/dist/{testing/docloader.js → docloader-09nVWLAZ.js} +1 -0
- package/dist/{runtime/contexts.js → docloader-CMlE_DQr.js} +420 -1
- package/dist/{runtime/docloader.d.ts → docloader-DTRsVZPo.d.ts} +1 -1
- package/dist/docloader-lJiW6zUk.js +4594 -0
- package/dist/esm-BxIKwi-M.js +1221 -0
- package/dist/federation/builder.test.d.ts +2 -1
- package/dist/federation/builder.test.js +21 -7
- package/dist/federation/collection.test.d.ts +2 -1
- package/dist/federation/collection.test.js +11 -3
- package/dist/federation/handler.test.d.ts +2 -1
- package/dist/federation/handler.test.js +40 -12
- package/dist/federation/inbox.test.d.ts +2 -1
- package/dist/federation/inbox.test.js +12 -5
- package/dist/federation/keycache.test.d.ts +2 -1
- package/dist/federation/keycache.test.js +12 -7
- package/dist/federation/kv.test.d.ts +2 -1
- package/dist/federation/kv.test.js +11 -3
- package/dist/federation/middleware.test.d.ts +2 -1
- package/dist/federation/middleware.test.js +107 -26
- package/dist/federation/mod.d.ts +13 -13
- package/dist/federation/mod.js +12 -8
- package/dist/federation/mq.test.d.ts +2 -1
- package/dist/federation/mq.test.js +153 -6
- package/dist/federation/retry.test.d.ts +2 -1
- package/dist/federation/retry.test.js +5 -5
- package/dist/federation/router.test.d.ts +2 -1
- package/dist/federation/router.test.js +11 -6
- package/dist/federation/send.test.d.ts +2 -1
- package/dist/federation/send.test.js +25 -13
- package/dist/{federation/mq.js → federation-Bmj7soSg.js} +47 -1
- package/dist/{node_modules/.pnpm/@jsr_hongminhee__deno-mock-fetch@0.3.2/node_modules/@jsr/hongminhee__deno-mock-fetch/router.js → hongminhee__deno-mock-fetch-DJKLj_H-.js} +96 -1
- package/dist/http-BImJcLfv.d.ts +258 -0
- package/dist/{sig/http.js → http-CFQSpmJT.js} +5 -4
- package/dist/http-DtHTiemN.js +720 -0
- package/dist/{federation/inbox.js → inbox-DkHjiHqX.js} +4 -3
- package/dist/key-B5Eb05gk.js +16 -0
- package/dist/key-BYBj-UD-.js +10 -0
- package/dist/key-CkoTQfVN.js +262 -0
- package/dist/{sig/key.js → key-a7_2L5_Z.js} +2 -4
- package/dist/{federation/keycache.js → keycache-D8j8RFWf.js} +2 -1
- package/dist/{testing/keys.js → keys-DxEMe-K1.js} +2 -2
- package/dist/{federation/kv.js → kv-DohFOP2C.js} +1 -0
- package/dist/{runtime/langstr.js → langstr-DbWheeIS.js} +1 -0
- package/dist/{sig/ld.js → ld-I1s-XiQ5.js} +6 -6
- package/dist/{vocab/lookup.js → lookup--9t_F8FE.js} +5 -5
- package/dist/lookup-BDLFt_tc.js +131 -0
- package/dist/{webfinger/lookup.js → lookup-BUFWWv5q.js} +1 -3
- package/dist/{webfinger/jrd.d.ts → lookup-DAfStZtI.d.ts} +41 -1
- package/dist/middleware-BPXHlM9G.js +17 -0
- package/dist/middleware-ByU_X6O9.js +33 -0
- package/dist/middleware-CNVKIPYL.js +3525 -0
- package/dist/{federation/middleware.js → middleware-ewowwb4s.js} +957 -105
- package/dist/mod-1pDWKvUL.d.ts +2 -0
- package/dist/{runtime/key.d.ts → mod-BxwG4X3V.d.ts} +52 -7
- package/dist/{compat/transformers.d.ts → mod-CeLnlsqE.d.ts} +3 -4
- package/dist/{vocab/lookup.d.ts → mod-DysVoXOu.d.ts} +98 -3
- package/dist/mod-GIh5OYxW.d.ts +2 -0
- package/dist/{sig/ld.d.ts → mod-XT0mRthe.d.ts} +126 -4
- package/dist/mod-g0xFzAP9.d.ts +2 -0
- package/dist/mod.d.ts +18 -34
- package/dist/mod.js +17 -27
- package/dist/multibase-DeCHcK8L.js +316 -0
- package/dist/nodeinfo/client.test.d.ts +2 -1
- package/dist/nodeinfo/client.test.js +15 -4
- package/dist/nodeinfo/handler.test.d.ts +2 -1
- package/dist/nodeinfo/handler.test.js +39 -7
- package/dist/nodeinfo/mod.d.ts +4 -3
- package/dist/nodeinfo/mod.js +3 -3
- package/dist/nodeinfo/semver.test.d.ts +2 -1
- package/dist/nodeinfo/semver.test.js +11 -4
- package/dist/nodeinfo/types.test.d.ts +2 -1
- package/dist/nodeinfo/types.test.js +12 -4
- package/dist/{sig/owner.js → owner-2Gouxs6Y.js} +4 -4
- package/dist/{sig/owner.d.ts → owner-BjpObx-L.d.ts} +4 -6
- package/dist/proof-BcNfBguh.js +595 -0
- package/dist/{sig/proof.js → proof-CJ291J94.js} +5 -4
- package/dist/{federation/retry.js → retry-BiIhZWgD.js} +1 -0
- package/dist/{federation/router.js → router-D_aVZZUc.js} +1 -0
- package/dist/runtime/authdocloader.test.d.ts +2 -1
- package/dist/runtime/authdocloader.test.js +24 -9
- package/dist/runtime/docloader.test.d.ts +2 -1
- package/dist/runtime/docloader.test.js +15 -11
- package/dist/runtime/key.test.d.ts +2 -1
- package/dist/runtime/key.test.js +19 -4
- package/dist/runtime/langstr.test.d.ts +2 -1
- package/dist/runtime/langstr.test.js +11 -3
- package/dist/runtime/mod.d.ts +5 -4
- package/dist/runtime/mod.js +7 -4
- package/dist/runtime/multibase/multibase.test.d.ts +2 -1
- package/dist/runtime/multibase/multibase.test.js +11 -5
- package/dist/runtime/url.test.d.ts +2 -1
- package/dist/runtime/url.test.js +7 -6
- package/dist/{nodeinfo/semver.js → semver-CbbIgUsa.js} +1 -0
- package/dist/{federation/send.js → send-BFMnzlj7.js} +3 -2
- package/dist/sig/http.test.d.ts +2 -1
- package/dist/sig/http.test.js +23 -12
- package/dist/sig/key.test.d.ts +2 -1
- package/dist/sig/key.test.js +21 -8
- package/dist/sig/ld.test.d.ts +2 -1
- package/dist/sig/ld.test.js +19 -11
- package/dist/sig/mod.d.ts +7 -5
- package/dist/sig/mod.js +7 -5
- package/dist/sig/owner.test.d.ts +2 -1
- package/dist/sig/owner.test.js +23 -9
- package/dist/sig/proof.test.d.ts +2 -1
- package/dist/sig/proof.test.js +22 -10
- package/dist/std__assert-CaBUULmX.js +151 -0
- package/dist/testing/docloader.test.d.ts +2 -1
- package/dist/testing/docloader.test.js +11 -3
- package/dist/testing/mod.d.ts +1 -0
- package/dist/testing/mod.js +2 -136
- package/dist/testing-jcGLO9Lp.js +143 -0
- package/dist/{compat/transformers.js → transformers-jxj-4o2K.js} +1 -1
- package/dist/{vocab/type.js → type-D2s5lmbZ.js} +1 -0
- package/dist/{nodeinfo/types.js → types-CqoqWDkp.js} +2 -1
- package/dist/types-Cx0IUMu0.js +457 -0
- package/dist/{runtime/url.js → url-kTAI6_KP.js} +1 -0
- package/dist/vocab/actor.test.d.ts +2 -1
- package/dist/vocab/actor.test.js +5853 -14
- package/dist/vocab/lookup.test.d.ts +2 -1
- package/dist/vocab/lookup.test.js +20 -7
- package/dist/vocab/mod.d.ts +5 -5
- package/dist/vocab/mod.js +4 -5
- package/dist/vocab/type.test.d.ts +2 -1
- package/dist/vocab/type.test.js +9 -4
- package/dist/vocab/vocab.test.d.ts +2 -1
- package/dist/vocab/vocab.test.js +2440 -15
- package/dist/{vocab/vocab.d.ts → vocab-CLWdoo7y.d.ts} +21 -9
- package/dist/{vocab/vocab.js → vocab-Dwop3xOF.js} +331 -182
- package/dist/vocab-uQObf7P6.js +172 -0
- package/dist/webfinger/handler.test.d.ts +2 -1
- package/dist/webfinger/handler.test.js +39 -7
- package/dist/webfinger/lookup.test.d.ts +2 -1
- package/dist/webfinger/lookup.test.js +14 -4
- package/dist/webfinger/mod.d.ts +4 -2
- package/dist/webfinger/mod.js +3 -1
- package/dist/x/cfworkers.d.ts +49 -0
- package/dist/x/cfworkers.js +73 -0
- package/dist/x/cfworkers.test.d.ts +3 -0
- package/dist/x/cfworkers.test.js +153 -0
- package/dist/x/hono.d.ts +11 -2
- package/dist/x/sveltekit.d.ts +11 -2
- package/package.json +6 -1
- package/dist/codegen/fs.js +0 -23
- package/dist/codegen/schema.js +0 -88
- package/dist/codegen/type.js +0 -392
- package/dist/compat/types.d.ts +0 -18
- package/dist/deno.js +0 -137
- package/dist/federation/builder.d.ts +0 -19
- package/dist/federation/callback.d.ts +0 -211
- package/dist/federation/collection.d.ts +0 -36
- package/dist/federation/context.d.ts +0 -757
- package/dist/federation/federation.d.ts +0 -689
- package/dist/federation/handler.d.ts +0 -44
- package/dist/federation/handler.js +0 -543
- package/dist/federation/middleware.d.ts +0 -101
- package/dist/federation/negotiation.js +0 -63
- package/dist/federation/retry.d.ts +0 -71
- package/dist/federation/router.d.ts +0 -92
- package/dist/federation/send.d.ts +0 -29
- package/dist/node_modules/.pnpm/@jsr_hongminhee__deno-mock-fetch@0.3.2/node_modules/@jsr/hongminhee__deno-mock-fetch/mod.js +0 -101
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js +0 -49
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_exists.js +0 -32
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js +0 -26
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_greater.js +0 -34
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_greater_or_equal.js +0 -34
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_strict_equals.js +0 -53
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_string_includes.js +0 -32
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assertion_error.js +0 -33
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/equal.js +0 -79
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/mod.js +0 -19
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/assertion_state.js +0 -177
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/build_message.js +0 -101
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/diff.js +0 -274
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/diff_str.js +0 -148
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/format.js +0 -37
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/mod.js +0 -10
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/styles.js +0 -172
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/assert_path.js +0 -11
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/constants.js +0 -10
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/dirname.js +0 -14
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/from_file_url.js +0 -13
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/normalize.js +0 -14
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/normalize_string.js +0 -60
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/strip_trailing_separators.js +0 -15
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_os.js +0 -9
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/extname.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/format.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/from_file_url.js +0 -34
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/glob_to_regexp.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/is_absolute.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/join.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/join_globs.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/mod.js +0 -5
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/normalize.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/normalize_glob.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/parse.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/_util.js +0 -13
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/dirname.js +0 -54
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/from_file_url.js +0 -27
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/join.js +0 -47
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/normalize.js +0 -59
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/relative.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/resolve.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/to_file_url.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/to_namespaced_path.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/windows/from_file_url.js +0 -31
- package/dist/node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/_strip.js +0 -17
- package/dist/node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/dirname.js +0 -38
- package/dist/node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/join.js +0 -36
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_chars.js +0 -47
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_dumper_state.js +0 -4
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_loader_state.js +0 -884
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_schema.js +0 -120
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/binary.js +0 -92
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/bool.js +0 -41
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/float.js +0 -58
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/int.js +0 -118
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/map.js +0 -18
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/merge.js +0 -14
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/nil.js +0 -23
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/omap.js +0 -31
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/pairs.js +0 -22
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/regexp.js +0 -29
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/seq.js +0 -14
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/set.js +0 -17
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/str.js +0 -14
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/timestamp.js +0 -57
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/undefined.js +0 -24
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_utils.js +0 -17
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/mod.js +0 -5
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/parse.js +0 -54
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/stringify.js +0 -4
- package/dist/node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/dist/index.js +0 -68
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/AlwaysShrinkableArbitrary.js +0 -30
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ArrayArbitrary.js +0 -203
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ArrayInt64Arbitrary.js +0 -122
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/BigIntArbitrary.js +0 -63
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ConstantArbitrary.js +0 -58
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/FrequencyArbitrary.js +0 -136
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/IntegerArbitrary.js +0 -64
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/LazyArbitrary.js +0 -29
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/StringUnitArbitrary.js +0 -45
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/TupleArbitrary.js +0 -74
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/WithShrinkFromOtherArbitrary.js +0 -40
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/AnyArbitraryBuilder.js +0 -97
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/BoxedArbitraryBuilder.js +0 -13
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/CharacterArbitraryBuilder.js +0 -17
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/RestrictedIntegerArbitraryBuilder.js +0 -23
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/TypedIntArrayArbitraryBuilder.js +0 -32
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/data/GraphemeRanges.js +0 -990
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/ArrayInt64.js +0 -98
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/BiasNumericRange.js +0 -53
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/BuildSlicedGenerator.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/CustomEqualSet.js +0 -27
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/DepthContext.js +0 -24
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/DoubleHelpers.js +0 -96
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/DoubleOnlyHelpers.js +0 -25
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/FloatHelpers.js +0 -57
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/FloatOnlyHelpers.js +0 -26
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/FloatingOnlyHelpers.js +0 -26
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/GraphemeRangesHelpers.js +0 -58
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/MaxLengthFromMinLength.js +0 -72
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/NoUndefinedAsContext.js +0 -16
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/QualifiedObjectConstraints.js +0 -58
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/SameValueSet.js +0 -41
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/SameValueZeroSet.js +0 -33
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/ShrinkBigInt.js +0 -37
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/ShrinkInteger.js +0 -41
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/SlicesForStringBuilder.js +0 -74
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/StrictlyEqualSet.js +0 -38
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/TokenizeString.js +0 -47
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/implementations/NoopSlicedGenerator.js +0 -21
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/implementations/SlicedBasedGenerator.js +0 -53
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/ArrayToMap.js +0 -16
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/ArrayToSet.js +0 -16
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/CodePointsToString.js +0 -17
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/IndexToCharString.js +0 -20
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/IndexToMappedConstant.js +0 -69
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/IndexToPrintableIndex.js +0 -18
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/KeyValuePairsToObject.js +0 -42
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/PatternsToString.js +0 -32
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/TimeToDate.js +0 -30
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/UnboxedToBoxed.js +0 -22
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/anything.js +0 -14
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/array.js +0 -22
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/bigInt.js +0 -38
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/boolean.js +0 -24
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/constant.js +0 -13
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/constantFrom.js +0 -14
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/date.js +0 -30
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/dictionary.js +0 -27
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/double.js +0 -54
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/float.js +0 -60
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/float32Array.js +0 -22
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/float64Array.js +0 -22
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/fullUnicode.js +0 -24
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/fullUnicodeString.js +0 -20
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/int16Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/int32Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/int8Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/integer.js +0 -26
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/letrec.js +0 -28
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/mapToConstant.js +0 -26
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/maxSafeInteger.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/nat.js +0 -17
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/noBias.js +0 -11
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/oneof.js +0 -31
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/sparseArray.js +0 -68
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/string.js +0 -32
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/tuple.js +0 -13
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint16Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint32Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint8Array.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint8ClampedArray.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uniqueArray.js +0 -47
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/arbitrary/definition/Arbitrary.js +0 -184
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/arbitrary/definition/Value.js +0 -31
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js +0 -19
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/IRawProperty.js +0 -12
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/IgnoreEqualValuesProperty.js +0 -52
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/Property.generic.js +0 -77
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/Property.js +0 -22
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/SkipAfterProperty.js +0 -61
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/TimeoutProperty.js +0 -52
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/UnbiasedProperty.js +0 -29
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/DecorateProperty.js +0 -26
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/Runner.js +0 -61
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/RunnerIterator.js +0 -47
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/SourceValuesIterator.js +0 -35
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/Tosser.js +0 -33
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/GlobalParameters.js +0 -12
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/QualifiedParameters.js +0 -121
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/VerbosityLevel.js +0 -14
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/reporter/ExecutionStatus.js +0 -14
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/reporter/RunExecution.js +0 -116
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/utils/PathWalker.js +0 -24
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/utils/RunDetailsFormatter.js +0 -135
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/symbols.js +0 -15
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/random/generator/Random.js +0 -48
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/LazyIterableIterator.js +0 -24
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/Stream.js +0 -84
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/StreamHelpers.js +0 -50
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/apply.js +0 -28
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/globals.js +0 -309
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/stringify.js +0 -217
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/CallHistory.js +0 -94
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/FetchMock.js +0 -143
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/IsSubsetOf.js +0 -103
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/Matchers.js +0 -195
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/RequestUtils.js +0 -83
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/Route.js +0 -137
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/Router.js +0 -181
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/StatusTextMap.js +0 -73
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/TypeDescriptor.js +0 -97
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/index.js +0 -11
- package/dist/node_modules/.pnpm/glob-to-regexp@0.4.1/node_modules/glob-to-regexp/index.js +0 -87
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformArrayIntDistribution.js +0 -20
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformBigIntDistribution.js +0 -20
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformIntDistribution.js +0 -20
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformArrayIntDistribution.js +0 -20
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformBigIntDistribution.js +0 -32
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformIntDistribution.js +0 -43
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/ArrayInt.js +0 -139
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/UnsafeUniformArrayIntDistributionInternal.js +0 -26
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/UnsafeUniformIntDistributionInternal.js +0 -14
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/LinearCongruential.js +0 -53
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/MersenneTwister.js +0 -114
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/RandomGenerator.js +0 -26
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/XorShift.js +0 -83
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/XoroShiro.js +0 -83
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/pure-rand-default.js +0 -44
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/pure-rand.js +0 -22
- package/dist/node_modules/.pnpm/regexparam@3.0.0/node_modules/regexparam/dist/index.js +0 -37
- package/dist/nodeinfo/client.d.ts +0 -96
- package/dist/nodeinfo/handler.js +0 -46
- package/dist/nodeinfo/semver.d.ts +0 -78
- package/dist/nodeinfo/types.d.ts +0 -140
- package/dist/runtime/authdocloader.d.ts +0 -56
- package/dist/runtime/docloader.js +0 -291
- package/dist/runtime/key.js +0 -156
- package/dist/runtime/langstr.d.ts +0 -24
- package/dist/runtime/multibase/base.js +0 -32
- package/dist/runtime/multibase/constants.js +0 -172
- package/dist/runtime/multibase/index.js +0 -57
- package/dist/runtime/multibase/rfc4648.js +0 -61
- package/dist/runtime/multibase/util.js +0 -21
- package/dist/sig/http.d.ts +0 -143
- package/dist/sig/key.d.ts +0 -125
- package/dist/sig/proof.d.ts +0 -134
- package/dist/testing/fixtures/example.com/person.js +0 -29
- package/dist/testing/fixtures/example.com/person2.js +0 -48
- package/dist/vocab/constants.d.ts +0 -24
- package/dist/vocab/constants.js +0 -17
- package/dist/vocab/type.d.ts +0 -107
- package/dist/webfinger/handler.js +0 -140
- package/dist/webfinger/lookup.d.ts +0 -47
- /package/dist/{node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_object_match.js → compat-Bb5myD13.js} +0 -0
- /package/dist/{testing/fixtures → fixtures}/activitypub.academy/users/brauca_darradiul.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/announce.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/collection.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/create.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/cross-origin-actor.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/hong-gildong.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/invite.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/key.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/key2.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/object.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/orderedcollectionpage.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/paged/a.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/paged/b.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/paged-collection.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/person.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/person2.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/test.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/users/handle.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/example.com/wrong-type.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/remote.domain/users/bob.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/server.example/users/alice.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/w3id.org/identity/v1.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/w3id.org/security/data-integrity/v1.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/w3id.org/security/multikey/v1.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/w3id.org/security/v1.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/wizard.casa/users/hongminhee.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/www.w3.org/ns/activitystreams.json +0 -0
- /package/dist/{testing/fixtures → fixtures}/www.w3.org/ns/did/v1.json +0 -0
- /package/dist/{federation/kv.d.ts → kv-BmsWxOQ2.d.ts} +0 -0
- /package/dist/{federation/mq.d.ts → mq-Bue016Tz.d.ts} +0 -0
- /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/basename.js → nodeinfo-CyEbLjHs.js} +0 -0
- /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/common.js → runtime-BSkOVUWM.js} +0 -0
- /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/constants.js → sig-BXJO--F9.js} +0 -0
- /package/dist/{codegen → vocab}/schema.yaml +0 -0
- /package/dist/{node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/dirname.js → webfinger-C3GIyXIg.js} +0 -0
@@ -1,61 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { PreconditionFailure } from "../precondition/PreconditionFailure.js";
|
6
|
-
|
7
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/SkipAfterProperty.js
|
8
|
-
function interruptAfter(timeMs, setTimeoutSafe, clearTimeoutSafe) {
|
9
|
-
let timeoutHandle = null;
|
10
|
-
const promise = new Promise((resolve) => {
|
11
|
-
timeoutHandle = setTimeoutSafe(() => {
|
12
|
-
const preconditionFailure = new PreconditionFailure(true);
|
13
|
-
resolve(preconditionFailure);
|
14
|
-
}, timeMs);
|
15
|
-
});
|
16
|
-
return {
|
17
|
-
clear: () => clearTimeoutSafe(timeoutHandle),
|
18
|
-
promise
|
19
|
-
};
|
20
|
-
}
|
21
|
-
var SkipAfterProperty = class {
|
22
|
-
constructor(property, getTime, timeLimit, interruptExecution, setTimeoutSafe, clearTimeoutSafe) {
|
23
|
-
this.property = property;
|
24
|
-
this.getTime = getTime;
|
25
|
-
this.interruptExecution = interruptExecution;
|
26
|
-
this.setTimeoutSafe = setTimeoutSafe;
|
27
|
-
this.clearTimeoutSafe = clearTimeoutSafe;
|
28
|
-
this.skipAfterTime = this.getTime() + timeLimit;
|
29
|
-
if (this.property.runBeforeEach !== void 0 && this.property.runAfterEach !== void 0) {
|
30
|
-
this.runBeforeEach = () => this.property.runBeforeEach();
|
31
|
-
this.runAfterEach = () => this.property.runAfterEach();
|
32
|
-
}
|
33
|
-
}
|
34
|
-
isAsync() {
|
35
|
-
return this.property.isAsync();
|
36
|
-
}
|
37
|
-
generate(mrng, runId) {
|
38
|
-
return this.property.generate(mrng, runId);
|
39
|
-
}
|
40
|
-
shrink(value) {
|
41
|
-
return this.property.shrink(value);
|
42
|
-
}
|
43
|
-
run(v, dontRunHook) {
|
44
|
-
const remainingTime = this.skipAfterTime - this.getTime();
|
45
|
-
if (remainingTime <= 0) {
|
46
|
-
const preconditionFailure = new PreconditionFailure(this.interruptExecution);
|
47
|
-
if (this.isAsync()) return Promise.resolve(preconditionFailure);
|
48
|
-
else return preconditionFailure;
|
49
|
-
}
|
50
|
-
if (this.interruptExecution && this.isAsync()) {
|
51
|
-
const t = interruptAfter(remainingTime, this.setTimeoutSafe, this.clearTimeoutSafe);
|
52
|
-
const propRun = Promise.race([this.property.run(v, dontRunHook), t.promise]);
|
53
|
-
propRun.then(t.clear, t.clear);
|
54
|
-
return propRun;
|
55
|
-
}
|
56
|
-
return this.property.run(v, dontRunHook);
|
57
|
-
}
|
58
|
-
};
|
59
|
-
|
60
|
-
//#endregion
|
61
|
-
export { SkipAfterProperty };
|
@@ -1,52 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { SError } from "../../utils/globals.js";
|
6
|
-
|
7
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/TimeoutProperty.js
|
8
|
-
const timeoutAfter = (timeMs, setTimeoutSafe, clearTimeoutSafe) => {
|
9
|
-
let timeoutHandle = null;
|
10
|
-
const promise = new Promise((resolve) => {
|
11
|
-
timeoutHandle = setTimeoutSafe(() => {
|
12
|
-
resolve({
|
13
|
-
error: new SError(`Property timeout: exceeded limit of ${timeMs} milliseconds`),
|
14
|
-
errorMessage: `Property timeout: exceeded limit of ${timeMs} milliseconds`
|
15
|
-
});
|
16
|
-
}, timeMs);
|
17
|
-
});
|
18
|
-
return {
|
19
|
-
clear: () => clearTimeoutSafe(timeoutHandle),
|
20
|
-
promise
|
21
|
-
};
|
22
|
-
};
|
23
|
-
var TimeoutProperty = class {
|
24
|
-
constructor(property, timeMs, setTimeoutSafe, clearTimeoutSafe) {
|
25
|
-
this.property = property;
|
26
|
-
this.timeMs = timeMs;
|
27
|
-
this.setTimeoutSafe = setTimeoutSafe;
|
28
|
-
this.clearTimeoutSafe = clearTimeoutSafe;
|
29
|
-
if (this.property.runBeforeEach !== void 0 && this.property.runAfterEach !== void 0) {
|
30
|
-
this.runBeforeEach = () => Promise.resolve(this.property.runBeforeEach());
|
31
|
-
this.runAfterEach = () => Promise.resolve(this.property.runAfterEach());
|
32
|
-
}
|
33
|
-
}
|
34
|
-
isAsync() {
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
generate(mrng, runId) {
|
38
|
-
return this.property.generate(mrng, runId);
|
39
|
-
}
|
40
|
-
shrink(value) {
|
41
|
-
return this.property.shrink(value);
|
42
|
-
}
|
43
|
-
async run(v, dontRunHook) {
|
44
|
-
const t = timeoutAfter(this.timeMs, this.setTimeoutSafe, this.clearTimeoutSafe);
|
45
|
-
const propRun = Promise.race([this.property.run(v, dontRunHook), t.promise]);
|
46
|
-
propRun.then(t.clear, t.clear);
|
47
|
-
return propRun;
|
48
|
-
}
|
49
|
-
};
|
50
|
-
|
51
|
-
//#endregion
|
52
|
-
export { TimeoutProperty };
|
@@ -1,29 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/UnbiasedProperty.js
|
6
|
-
var UnbiasedProperty = class {
|
7
|
-
constructor(property) {
|
8
|
-
this.property = property;
|
9
|
-
if (this.property.runBeforeEach !== void 0 && this.property.runAfterEach !== void 0) {
|
10
|
-
this.runBeforeEach = () => this.property.runBeforeEach();
|
11
|
-
this.runAfterEach = () => this.property.runAfterEach();
|
12
|
-
}
|
13
|
-
}
|
14
|
-
isAsync() {
|
15
|
-
return this.property.isAsync();
|
16
|
-
}
|
17
|
-
generate(mrng, _runId) {
|
18
|
-
return this.property.generate(mrng, void 0);
|
19
|
-
}
|
20
|
-
shrink(value) {
|
21
|
-
return this.property.shrink(value);
|
22
|
-
}
|
23
|
-
run(v, dontRunHook) {
|
24
|
-
return this.property.run(v, dontRunHook);
|
25
|
-
}
|
26
|
-
};
|
27
|
-
|
28
|
-
//#endregion
|
29
|
-
export { UnbiasedProperty };
|
@@ -1,26 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { SkipAfterProperty } from "../property/SkipAfterProperty.js";
|
6
|
-
import { TimeoutProperty } from "../property/TimeoutProperty.js";
|
7
|
-
import { UnbiasedProperty } from "../property/UnbiasedProperty.js";
|
8
|
-
import { IgnoreEqualValuesProperty } from "../property/IgnoreEqualValuesProperty.js";
|
9
|
-
|
10
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/DecorateProperty.js
|
11
|
-
const safeDateNow = Date.now;
|
12
|
-
const safeSetTimeout = setTimeout;
|
13
|
-
const safeClearTimeout = clearTimeout;
|
14
|
-
function decorateProperty(rawProperty, qParams) {
|
15
|
-
let prop = rawProperty;
|
16
|
-
if (rawProperty.isAsync() && qParams.timeout != null) prop = new TimeoutProperty(prop, qParams.timeout, safeSetTimeout, safeClearTimeout);
|
17
|
-
if (qParams.unbiased) prop = new UnbiasedProperty(prop);
|
18
|
-
if (qParams.skipAllAfterTimeLimit != null) prop = new SkipAfterProperty(prop, safeDateNow, qParams.skipAllAfterTimeLimit, false, safeSetTimeout, safeClearTimeout);
|
19
|
-
if (qParams.interruptAfterTimeLimit != null) prop = new SkipAfterProperty(prop, safeDateNow, qParams.interruptAfterTimeLimit, true, safeSetTimeout, safeClearTimeout);
|
20
|
-
if (qParams.skipEqualValues) prop = new IgnoreEqualValuesProperty(prop, true);
|
21
|
-
if (qParams.ignoreEqualValues) prop = new IgnoreEqualValuesProperty(prop, false);
|
22
|
-
return prop;
|
23
|
-
}
|
24
|
-
|
25
|
-
//#endregion
|
26
|
-
export { decorateProperty };
|
@@ -1,61 +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 { readConfigureGlobal } from "./configuration/GlobalParameters.js";
|
7
|
-
import { QualifiedParameters } from "./configuration/QualifiedParameters.js";
|
8
|
-
import { decorateProperty } from "./DecorateProperty.js";
|
9
|
-
import { RunnerIterator } from "./RunnerIterator.js";
|
10
|
-
import { SourceValuesIterator } from "./SourceValuesIterator.js";
|
11
|
-
import { lazyToss, toss } from "./Tosser.js";
|
12
|
-
import { pathWalk } from "./utils/PathWalker.js";
|
13
|
-
import { asyncReportRunDetails, reportRunDetails } from "./utils/RunDetailsFormatter.js";
|
14
|
-
|
15
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/Runner.js
|
16
|
-
const safeObjectAssign = Object.assign;
|
17
|
-
function runIt(property, shrink, sourceValues, verbose, interruptedAsFailure) {
|
18
|
-
const isModernProperty = property.runBeforeEach !== void 0 && property.runAfterEach !== void 0;
|
19
|
-
const runner = new RunnerIterator(sourceValues, shrink, verbose, interruptedAsFailure);
|
20
|
-
for (const v of runner) {
|
21
|
-
if (isModernProperty) property.runBeforeEach();
|
22
|
-
const out = property.run(v, isModernProperty);
|
23
|
-
if (isModernProperty) property.runAfterEach();
|
24
|
-
runner.handleResult(out);
|
25
|
-
}
|
26
|
-
return runner.runExecution;
|
27
|
-
}
|
28
|
-
async function asyncRunIt(property, shrink, sourceValues, verbose, interruptedAsFailure) {
|
29
|
-
const isModernProperty = property.runBeforeEach !== void 0 && property.runAfterEach !== void 0;
|
30
|
-
const runner = new RunnerIterator(sourceValues, shrink, verbose, interruptedAsFailure);
|
31
|
-
for (const v of runner) {
|
32
|
-
if (isModernProperty) await property.runBeforeEach();
|
33
|
-
const out = await property.run(v, isModernProperty);
|
34
|
-
if (isModernProperty) await property.runAfterEach();
|
35
|
-
runner.handleResult(out);
|
36
|
-
}
|
37
|
-
return runner.runExecution;
|
38
|
-
}
|
39
|
-
function check(rawProperty, params) {
|
40
|
-
if (rawProperty == null || rawProperty.generate == null) throw new Error("Invalid property encountered, please use a valid property");
|
41
|
-
if (rawProperty.run == null) throw new Error("Invalid property encountered, please use a valid property not an arbitrary");
|
42
|
-
const qParams = QualifiedParameters.read(safeObjectAssign(safeObjectAssign({}, readConfigureGlobal()), params));
|
43
|
-
if (qParams.reporter !== null && qParams.asyncReporter !== null) throw new Error("Invalid parameters encountered, reporter and asyncReporter cannot be specified together");
|
44
|
-
if (qParams.asyncReporter !== null && !rawProperty.isAsync()) throw new Error("Invalid parameters encountered, only asyncProperty can be used when asyncReporter specified");
|
45
|
-
const property = decorateProperty(rawProperty, qParams);
|
46
|
-
const maxInitialIterations = qParams.path.length === 0 || qParams.path.indexOf(":") === -1 ? qParams.numRuns : -1;
|
47
|
-
const maxSkips = qParams.numRuns * qParams.maxSkipsPerRun;
|
48
|
-
const shrink = (...args) => property.shrink(...args);
|
49
|
-
const initialValues = qParams.path.length === 0 ? toss(property, qParams.seed, qParams.randomType, qParams.examples) : pathWalk(qParams.path, stream(lazyToss(property, qParams.seed, qParams.randomType, qParams.examples)), shrink);
|
50
|
-
const sourceValues = new SourceValuesIterator(initialValues, maxInitialIterations, maxSkips);
|
51
|
-
const finalShrink = !qParams.endOnFailure ? shrink : Stream.nil;
|
52
|
-
return property.isAsync() ? asyncRunIt(property, finalShrink, sourceValues, qParams.verbose, qParams.markInterruptAsFailure).then((e) => e.toRunDetails(qParams.seed, qParams.path, maxSkips, qParams)) : runIt(property, finalShrink, sourceValues, qParams.verbose, qParams.markInterruptAsFailure).toRunDetails(qParams.seed, qParams.path, maxSkips, qParams);
|
53
|
-
}
|
54
|
-
function assert(property, params) {
|
55
|
-
const out = check(property, params);
|
56
|
-
if (property.isAsync()) return out.then(asyncReportRunDetails);
|
57
|
-
else reportRunDetails(out);
|
58
|
-
}
|
59
|
-
|
60
|
-
//#endregion
|
61
|
-
export { assert as assert$1, check };
|
@@ -1,47 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { PreconditionFailure } from "../precondition/PreconditionFailure.js";
|
6
|
-
import { RunExecution } from "./reporter/RunExecution.js";
|
7
|
-
|
8
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/RunnerIterator.js
|
9
|
-
var RunnerIterator = class {
|
10
|
-
constructor(sourceValues, shrink, verbose, interruptedAsFailure) {
|
11
|
-
this.sourceValues = sourceValues;
|
12
|
-
this.shrink = shrink;
|
13
|
-
this.runExecution = new RunExecution(verbose, interruptedAsFailure);
|
14
|
-
this.currentIdx = -1;
|
15
|
-
this.nextValues = sourceValues;
|
16
|
-
}
|
17
|
-
[Symbol.iterator]() {
|
18
|
-
return this;
|
19
|
-
}
|
20
|
-
next() {
|
21
|
-
const nextValue = this.nextValues.next();
|
22
|
-
if (nextValue.done || this.runExecution.interrupted) return {
|
23
|
-
done: true,
|
24
|
-
value: void 0
|
25
|
-
};
|
26
|
-
this.currentValue = nextValue.value;
|
27
|
-
++this.currentIdx;
|
28
|
-
return {
|
29
|
-
done: false,
|
30
|
-
value: nextValue.value.value_
|
31
|
-
};
|
32
|
-
}
|
33
|
-
handleResult(result) {
|
34
|
-
if (result != null && typeof result === "object" && !PreconditionFailure.isFailure(result)) {
|
35
|
-
this.runExecution.fail(this.currentValue.value_, this.currentIdx, result);
|
36
|
-
this.currentIdx = -1;
|
37
|
-
this.nextValues = this.shrink(this.currentValue);
|
38
|
-
} else if (result != null) if (!result.interruptExecution) {
|
39
|
-
this.runExecution.skip(this.currentValue.value_);
|
40
|
-
this.sourceValues.skippedOne();
|
41
|
-
} else this.runExecution.interrupt();
|
42
|
-
else this.runExecution.success(this.currentValue.value_);
|
43
|
-
}
|
44
|
-
};
|
45
|
-
|
46
|
-
//#endregion
|
47
|
-
export { RunnerIterator };
|
@@ -1,35 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/SourceValuesIterator.js
|
6
|
-
var SourceValuesIterator = class {
|
7
|
-
constructor(initialValues, maxInitialIterations, remainingSkips) {
|
8
|
-
this.initialValues = initialValues;
|
9
|
-
this.maxInitialIterations = maxInitialIterations;
|
10
|
-
this.remainingSkips = remainingSkips;
|
11
|
-
}
|
12
|
-
[Symbol.iterator]() {
|
13
|
-
return this;
|
14
|
-
}
|
15
|
-
next() {
|
16
|
-
if (--this.maxInitialIterations !== -1 && this.remainingSkips >= 0) {
|
17
|
-
const n = this.initialValues.next();
|
18
|
-
if (!n.done) return {
|
19
|
-
value: n.value,
|
20
|
-
done: false
|
21
|
-
};
|
22
|
-
}
|
23
|
-
return {
|
24
|
-
value: void 0,
|
25
|
-
done: true
|
26
|
-
};
|
27
|
-
}
|
28
|
-
skippedOne() {
|
29
|
-
--this.remainingSkips;
|
30
|
-
++this.maxInitialIterations;
|
31
|
-
}
|
32
|
-
};
|
33
|
-
|
34
|
-
//#endregion
|
35
|
-
export { SourceValuesIterator };
|
@@ -1,33 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { Value } from "../arbitrary/definition/Value.js";
|
6
|
-
import { safeMap } from "../../utils/globals.js";
|
7
|
-
import { skipN } from "../../../../../../../pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/RandomGenerator.js";
|
8
|
-
import { Random } from "../../random/generator/Random.js";
|
9
|
-
|
10
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/Tosser.js
|
11
|
-
function tossNext(generator, rng, index) {
|
12
|
-
rng.unsafeJump();
|
13
|
-
return generator.generate(new Random(rng), index);
|
14
|
-
}
|
15
|
-
function* toss(generator, seed, random, examples) {
|
16
|
-
for (let idx = 0; idx !== examples.length; ++idx) yield new Value(examples[idx], void 0);
|
17
|
-
for (let idx = 0, rng = random(seed);; ++idx) yield tossNext(generator, rng, idx);
|
18
|
-
}
|
19
|
-
function lazyGenerate(generator, rng, idx) {
|
20
|
-
return () => generator.generate(new Random(rng), idx);
|
21
|
-
}
|
22
|
-
function* lazyToss(generator, seed, random, examples) {
|
23
|
-
yield* safeMap(examples, (e) => () => new Value(e, void 0));
|
24
|
-
let idx = 0;
|
25
|
-
let rng = random(seed);
|
26
|
-
for (;;) {
|
27
|
-
rng = rng.jump ? rng.jump() : skipN(rng, 42);
|
28
|
-
yield lazyGenerate(generator, rng, idx++);
|
29
|
-
}
|
30
|
-
}
|
31
|
-
|
32
|
-
//#endregion
|
33
|
-
export { lazyToss, toss };
|
@@ -1,12 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/GlobalParameters.js
|
6
|
-
let globalParameters = {};
|
7
|
-
function readConfigureGlobal() {
|
8
|
-
return globalParameters;
|
9
|
-
}
|
10
|
-
|
11
|
-
//#endregion
|
12
|
-
export { readConfigureGlobal };
|
@@ -1,121 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { unsafeSkipN } from "../../../../../../../../pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/RandomGenerator.js";
|
6
|
-
import { pure_rand_default } from "../../../../../../../../pure-rand@6.1.0/node_modules/pure-rand/lib/esm/pure-rand.js";
|
7
|
-
import { VerbosityLevel } from "./VerbosityLevel.js";
|
8
|
-
|
9
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/QualifiedParameters.js
|
10
|
-
const safeDateNow = Date.now;
|
11
|
-
const safeMathMin = Math.min;
|
12
|
-
const safeMathRandom = Math.random;
|
13
|
-
var QualifiedParameters = class QualifiedParameters {
|
14
|
-
constructor(op) {
|
15
|
-
const p = op || {};
|
16
|
-
this.seed = QualifiedParameters.readSeed(p);
|
17
|
-
this.randomType = QualifiedParameters.readRandomType(p);
|
18
|
-
this.numRuns = QualifiedParameters.readNumRuns(p);
|
19
|
-
this.verbose = QualifiedParameters.readVerbose(p);
|
20
|
-
this.maxSkipsPerRun = QualifiedParameters.readOrDefault(p, "maxSkipsPerRun", 100);
|
21
|
-
this.timeout = QualifiedParameters.safeTimeout(QualifiedParameters.readOrDefault(p, "timeout", null));
|
22
|
-
this.skipAllAfterTimeLimit = QualifiedParameters.safeTimeout(QualifiedParameters.readOrDefault(p, "skipAllAfterTimeLimit", null));
|
23
|
-
this.interruptAfterTimeLimit = QualifiedParameters.safeTimeout(QualifiedParameters.readOrDefault(p, "interruptAfterTimeLimit", null));
|
24
|
-
this.markInterruptAsFailure = QualifiedParameters.readBoolean(p, "markInterruptAsFailure");
|
25
|
-
this.skipEqualValues = QualifiedParameters.readBoolean(p, "skipEqualValues");
|
26
|
-
this.ignoreEqualValues = QualifiedParameters.readBoolean(p, "ignoreEqualValues");
|
27
|
-
this.logger = QualifiedParameters.readOrDefault(p, "logger", (v) => {
|
28
|
-
console.log(v);
|
29
|
-
});
|
30
|
-
this.path = QualifiedParameters.readOrDefault(p, "path", "");
|
31
|
-
this.unbiased = QualifiedParameters.readBoolean(p, "unbiased");
|
32
|
-
this.examples = QualifiedParameters.readOrDefault(p, "examples", []);
|
33
|
-
this.endOnFailure = QualifiedParameters.readBoolean(p, "endOnFailure");
|
34
|
-
this.reporter = QualifiedParameters.readOrDefault(p, "reporter", null);
|
35
|
-
this.asyncReporter = QualifiedParameters.readOrDefault(p, "asyncReporter", null);
|
36
|
-
this.errorWithCause = QualifiedParameters.readBoolean(p, "errorWithCause");
|
37
|
-
}
|
38
|
-
toParameters() {
|
39
|
-
const orUndefined = (value) => value !== null ? value : void 0;
|
40
|
-
const parameters = {
|
41
|
-
seed: this.seed,
|
42
|
-
randomType: this.randomType,
|
43
|
-
numRuns: this.numRuns,
|
44
|
-
maxSkipsPerRun: this.maxSkipsPerRun,
|
45
|
-
timeout: orUndefined(this.timeout),
|
46
|
-
skipAllAfterTimeLimit: orUndefined(this.skipAllAfterTimeLimit),
|
47
|
-
interruptAfterTimeLimit: orUndefined(this.interruptAfterTimeLimit),
|
48
|
-
markInterruptAsFailure: this.markInterruptAsFailure,
|
49
|
-
skipEqualValues: this.skipEqualValues,
|
50
|
-
ignoreEqualValues: this.ignoreEqualValues,
|
51
|
-
path: this.path,
|
52
|
-
logger: this.logger,
|
53
|
-
unbiased: this.unbiased,
|
54
|
-
verbose: this.verbose,
|
55
|
-
examples: this.examples,
|
56
|
-
endOnFailure: this.endOnFailure,
|
57
|
-
reporter: orUndefined(this.reporter),
|
58
|
-
asyncReporter: orUndefined(this.asyncReporter),
|
59
|
-
errorWithCause: this.errorWithCause
|
60
|
-
};
|
61
|
-
return parameters;
|
62
|
-
}
|
63
|
-
static read(op) {
|
64
|
-
return new QualifiedParameters(op);
|
65
|
-
}
|
66
|
-
};
|
67
|
-
QualifiedParameters.createQualifiedRandomGenerator = (random) => {
|
68
|
-
return (seed) => {
|
69
|
-
const rng = random(seed);
|
70
|
-
if (rng.unsafeJump === void 0) rng.unsafeJump = () => unsafeSkipN(rng, 42);
|
71
|
-
return rng;
|
72
|
-
};
|
73
|
-
};
|
74
|
-
QualifiedParameters.readSeed = (p) => {
|
75
|
-
if (p.seed == null) return safeDateNow() ^ safeMathRandom() * 4294967296;
|
76
|
-
const seed32 = p.seed | 0;
|
77
|
-
if (p.seed === seed32) return seed32;
|
78
|
-
const gap = p.seed - seed32;
|
79
|
-
return seed32 ^ gap * 4294967296;
|
80
|
-
};
|
81
|
-
QualifiedParameters.readRandomType = (p) => {
|
82
|
-
if (p.randomType == null) return pure_rand_default.xorshift128plus;
|
83
|
-
if (typeof p.randomType === "string") switch (p.randomType) {
|
84
|
-
case "mersenne": return QualifiedParameters.createQualifiedRandomGenerator(pure_rand_default.mersenne);
|
85
|
-
case "congruential":
|
86
|
-
case "congruential32": return QualifiedParameters.createQualifiedRandomGenerator(pure_rand_default.congruential32);
|
87
|
-
case "xorshift128plus": return pure_rand_default.xorshift128plus;
|
88
|
-
case "xoroshiro128plus": return pure_rand_default.xoroshiro128plus;
|
89
|
-
default: throw new Error(`Invalid random specified: '${p.randomType}'`);
|
90
|
-
}
|
91
|
-
const mrng = p.randomType(0);
|
92
|
-
if ("min" in mrng && mrng.min !== -2147483648) throw new Error(`Invalid random number generator: min must equal -0x80000000, got ${String(mrng.min)}`);
|
93
|
-
if ("max" in mrng && mrng.max !== 2147483647) throw new Error(`Invalid random number generator: max must equal 0x7fffffff, got ${String(mrng.max)}`);
|
94
|
-
if ("unsafeJump" in mrng) return p.randomType;
|
95
|
-
return QualifiedParameters.createQualifiedRandomGenerator(p.randomType);
|
96
|
-
};
|
97
|
-
QualifiedParameters.readNumRuns = (p) => {
|
98
|
-
const defaultValue = 100;
|
99
|
-
if (p.numRuns != null) return p.numRuns;
|
100
|
-
if (p.num_runs != null) return p.num_runs;
|
101
|
-
return defaultValue;
|
102
|
-
};
|
103
|
-
QualifiedParameters.readVerbose = (p) => {
|
104
|
-
if (p.verbose == null) return VerbosityLevel.None;
|
105
|
-
if (typeof p.verbose === "boolean") return p.verbose === true ? VerbosityLevel.Verbose : VerbosityLevel.None;
|
106
|
-
if (p.verbose <= VerbosityLevel.None) return VerbosityLevel.None;
|
107
|
-
if (p.verbose >= VerbosityLevel.VeryVerbose) return VerbosityLevel.VeryVerbose;
|
108
|
-
return p.verbose | 0;
|
109
|
-
};
|
110
|
-
QualifiedParameters.readBoolean = (p, key) => p[key] === true;
|
111
|
-
QualifiedParameters.readOrDefault = (p, key, defaultValue) => {
|
112
|
-
const value = p[key];
|
113
|
-
return value != null ? value : defaultValue;
|
114
|
-
};
|
115
|
-
QualifiedParameters.safeTimeout = (value) => {
|
116
|
-
if (value === null) return null;
|
117
|
-
return safeMathMin(value, 2147483647);
|
118
|
-
};
|
119
|
-
|
120
|
-
//#endregion
|
121
|
-
export { QualifiedParameters };
|
@@ -1,14 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/VerbosityLevel.js
|
6
|
-
var VerbosityLevel;
|
7
|
-
(function(VerbosityLevel$1) {
|
8
|
-
VerbosityLevel$1[VerbosityLevel$1["None"] = 0] = "None";
|
9
|
-
VerbosityLevel$1[VerbosityLevel$1["Verbose"] = 1] = "Verbose";
|
10
|
-
VerbosityLevel$1[VerbosityLevel$1["VeryVerbose"] = 2] = "VeryVerbose";
|
11
|
-
})(VerbosityLevel || (VerbosityLevel = {}));
|
12
|
-
|
13
|
-
//#endregion
|
14
|
-
export { VerbosityLevel };
|
@@ -1,14 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/reporter/ExecutionStatus.js
|
6
|
-
var ExecutionStatus;
|
7
|
-
(function(ExecutionStatus$1) {
|
8
|
-
ExecutionStatus$1[ExecutionStatus$1["Success"] = 0] = "Success";
|
9
|
-
ExecutionStatus$1[ExecutionStatus$1["Skipped"] = -1] = "Skipped";
|
10
|
-
ExecutionStatus$1[ExecutionStatus$1["Failure"] = 1] = "Failure";
|
11
|
-
})(ExecutionStatus || (ExecutionStatus = {}));
|
12
|
-
|
13
|
-
//#endregion
|
14
|
-
export { ExecutionStatus };
|
@@ -1,116 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { safeSplit } from "../../../utils/globals.js";
|
6
|
-
import { VerbosityLevel } from "../configuration/VerbosityLevel.js";
|
7
|
-
import { ExecutionStatus } from "./ExecutionStatus.js";
|
8
|
-
|
9
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/reporter/RunExecution.js
|
10
|
-
var RunExecution = class RunExecution {
|
11
|
-
constructor(verbosity, interruptedAsFailure) {
|
12
|
-
this.verbosity = verbosity;
|
13
|
-
this.interruptedAsFailure = interruptedAsFailure;
|
14
|
-
this.isSuccess = () => this.pathToFailure == null;
|
15
|
-
this.firstFailure = () => this.pathToFailure ? +safeSplit(this.pathToFailure, ":")[0] : -1;
|
16
|
-
this.numShrinks = () => this.pathToFailure ? safeSplit(this.pathToFailure, ":").length - 1 : 0;
|
17
|
-
this.rootExecutionTrees = [];
|
18
|
-
this.currentLevelExecutionTrees = this.rootExecutionTrees;
|
19
|
-
this.failure = null;
|
20
|
-
this.numSkips = 0;
|
21
|
-
this.numSuccesses = 0;
|
22
|
-
this.interrupted = false;
|
23
|
-
}
|
24
|
-
appendExecutionTree(status, value) {
|
25
|
-
const currentTree = {
|
26
|
-
status,
|
27
|
-
value,
|
28
|
-
children: []
|
29
|
-
};
|
30
|
-
this.currentLevelExecutionTrees.push(currentTree);
|
31
|
-
return currentTree;
|
32
|
-
}
|
33
|
-
fail(value, id, failure) {
|
34
|
-
if (this.verbosity >= VerbosityLevel.Verbose) {
|
35
|
-
const currentTree = this.appendExecutionTree(ExecutionStatus.Failure, value);
|
36
|
-
this.currentLevelExecutionTrees = currentTree.children;
|
37
|
-
}
|
38
|
-
if (this.pathToFailure == null) this.pathToFailure = `${id}`;
|
39
|
-
else this.pathToFailure += `:${id}`;
|
40
|
-
this.value = value;
|
41
|
-
this.failure = failure;
|
42
|
-
}
|
43
|
-
skip(value) {
|
44
|
-
if (this.verbosity >= VerbosityLevel.VeryVerbose) this.appendExecutionTree(ExecutionStatus.Skipped, value);
|
45
|
-
if (this.pathToFailure == null) ++this.numSkips;
|
46
|
-
}
|
47
|
-
success(value) {
|
48
|
-
if (this.verbosity >= VerbosityLevel.VeryVerbose) this.appendExecutionTree(ExecutionStatus.Success, value);
|
49
|
-
if (this.pathToFailure == null) ++this.numSuccesses;
|
50
|
-
}
|
51
|
-
interrupt() {
|
52
|
-
this.interrupted = true;
|
53
|
-
}
|
54
|
-
extractFailures() {
|
55
|
-
if (this.isSuccess()) return [];
|
56
|
-
const failures = [];
|
57
|
-
let cursor = this.rootExecutionTrees;
|
58
|
-
while (cursor.length > 0 && cursor[cursor.length - 1].status === ExecutionStatus.Failure) {
|
59
|
-
const failureTree = cursor[cursor.length - 1];
|
60
|
-
failures.push(failureTree.value);
|
61
|
-
cursor = failureTree.children;
|
62
|
-
}
|
63
|
-
return failures;
|
64
|
-
}
|
65
|
-
toRunDetails(seed, basePath, maxSkips, qParams) {
|
66
|
-
if (!this.isSuccess()) return {
|
67
|
-
failed: true,
|
68
|
-
interrupted: this.interrupted,
|
69
|
-
numRuns: this.firstFailure() + 1 - this.numSkips,
|
70
|
-
numSkips: this.numSkips,
|
71
|
-
numShrinks: this.numShrinks(),
|
72
|
-
seed,
|
73
|
-
counterexample: this.value,
|
74
|
-
counterexamplePath: RunExecution.mergePaths(basePath, this.pathToFailure),
|
75
|
-
error: this.failure.errorMessage,
|
76
|
-
errorInstance: this.failure.error,
|
77
|
-
failures: this.extractFailures(),
|
78
|
-
executionSummary: this.rootExecutionTrees,
|
79
|
-
verbose: this.verbosity,
|
80
|
-
runConfiguration: qParams.toParameters()
|
81
|
-
};
|
82
|
-
const considerInterruptedAsFailure = this.interruptedAsFailure || this.numSuccesses === 0;
|
83
|
-
const failed = this.numSkips > maxSkips || this.interrupted && considerInterruptedAsFailure;
|
84
|
-
const out = {
|
85
|
-
failed,
|
86
|
-
interrupted: this.interrupted,
|
87
|
-
numRuns: this.numSuccesses,
|
88
|
-
numSkips: this.numSkips,
|
89
|
-
numShrinks: 0,
|
90
|
-
seed,
|
91
|
-
counterexample: null,
|
92
|
-
counterexamplePath: null,
|
93
|
-
error: null,
|
94
|
-
errorInstance: null,
|
95
|
-
failures: [],
|
96
|
-
executionSummary: this.rootExecutionTrees,
|
97
|
-
verbose: this.verbosity,
|
98
|
-
runConfiguration: qParams.toParameters()
|
99
|
-
};
|
100
|
-
return out;
|
101
|
-
}
|
102
|
-
};
|
103
|
-
RunExecution.mergePaths = (offsetPath, path) => {
|
104
|
-
if (offsetPath.length === 0) return path;
|
105
|
-
const offsetItems = offsetPath.split(":");
|
106
|
-
const remainingItems = path.split(":");
|
107
|
-
const middle = +offsetItems[offsetItems.length - 1] + +remainingItems[0];
|
108
|
-
return [
|
109
|
-
...offsetItems.slice(0, offsetItems.length - 1),
|
110
|
-
`${middle}`,
|
111
|
-
...remainingItems.slice(1)
|
112
|
-
].join(":");
|
113
|
-
};
|
114
|
-
|
115
|
-
//#endregion
|
116
|
-
export { RunExecution };
|
@@ -1,24 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/utils/PathWalker.js
|
6
|
-
function produce(producer) {
|
7
|
-
return producer();
|
8
|
-
}
|
9
|
-
function pathWalk(path, initialProducers, shrink) {
|
10
|
-
const producers = initialProducers;
|
11
|
-
const segments = path.split(":").map((text) => +text);
|
12
|
-
if (segments.length === 0) return producers.map(produce);
|
13
|
-
if (!segments.every((v) => !Number.isNaN(v))) throw new Error(`Unable to replay, got invalid path=${path}`);
|
14
|
-
let values = producers.drop(segments[0]).map(produce);
|
15
|
-
for (const s of segments.slice(1)) {
|
16
|
-
const valueToShrink = values.getNthOrLast(0);
|
17
|
-
if (valueToShrink === null) throw new Error(`Unable to replay, got wrong path=${path}`);
|
18
|
-
values = shrink(valueToShrink).drop(s);
|
19
|
-
}
|
20
|
-
return values;
|
21
|
-
}
|
22
|
-
|
23
|
-
//#endregion
|
24
|
-
export { pathWalk };
|