@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/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/TypeDescriptor.js
DELETED
@@ -1,97 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/TypeDescriptor.js
|
6
|
-
const valueTypes = new Set([
|
7
|
-
"boolean",
|
8
|
-
"number",
|
9
|
-
"null",
|
10
|
-
"string",
|
11
|
-
"undefined"
|
12
|
-
]);
|
13
|
-
const referenceTypes = new Set([
|
14
|
-
"array",
|
15
|
-
"function",
|
16
|
-
"object",
|
17
|
-
"symbol"
|
18
|
-
]);
|
19
|
-
const detectableTypes = new Set([
|
20
|
-
"boolean",
|
21
|
-
"function",
|
22
|
-
"number",
|
23
|
-
"string",
|
24
|
-
"symbol"
|
25
|
-
]);
|
26
|
-
const typeConstructors = new Set([
|
27
|
-
Boolean,
|
28
|
-
Number,
|
29
|
-
String
|
30
|
-
]);
|
31
|
-
var TypeDescriptor = class TypeDescriptor {
|
32
|
-
constructor(value) {
|
33
|
-
this.name = TypeDescriptor.of(value);
|
34
|
-
this.isValueType = TypeDescriptor.isValueType(value);
|
35
|
-
this.isReferenceType = TypeDescriptor.isReferenceType(value);
|
36
|
-
this.isArray = TypeDescriptor.isArray(value);
|
37
|
-
this.isBoolean = TypeDescriptor.isBoolean(value);
|
38
|
-
this.isFunction = TypeDescriptor.isFunction(value);
|
39
|
-
this.isNull = TypeDescriptor.isNull(value);
|
40
|
-
this.isNumber = TypeDescriptor.isNumber(value);
|
41
|
-
this.isObject = TypeDescriptor.isObject(value);
|
42
|
-
this.isString = TypeDescriptor.isString(value);
|
43
|
-
this.isSymbol = TypeDescriptor.isSymbol(value);
|
44
|
-
this.isUndefined = TypeDescriptor.isUndefined(value);
|
45
|
-
}
|
46
|
-
static of(value) {
|
47
|
-
if (value === null) return "null";
|
48
|
-
if (value === void 0) return "undefined";
|
49
|
-
const detectedType = typeof value;
|
50
|
-
if (detectableTypes.has(detectedType)) return detectedType;
|
51
|
-
if (detectedType === "object") {
|
52
|
-
if (Array.isArray(value)) return "array";
|
53
|
-
if (typeConstructors.has(value.constructor)) return value.constructor.name.toLowerCase();
|
54
|
-
return detectedType;
|
55
|
-
}
|
56
|
-
throw new Error("Failed due to an unknown type.");
|
57
|
-
}
|
58
|
-
static from(value) {
|
59
|
-
return new TypeDescriptor(value);
|
60
|
-
}
|
61
|
-
static isValueType(value) {
|
62
|
-
return valueTypes.has(TypeDescriptor.of(value));
|
63
|
-
}
|
64
|
-
static isReferenceType(value) {
|
65
|
-
return referenceTypes.has(TypeDescriptor.of(value));
|
66
|
-
}
|
67
|
-
static isArray(value) {
|
68
|
-
return TypeDescriptor.of(value) === "array";
|
69
|
-
}
|
70
|
-
static isBoolean(value) {
|
71
|
-
return TypeDescriptor.of(value) === "boolean";
|
72
|
-
}
|
73
|
-
static isFunction(value) {
|
74
|
-
return TypeDescriptor.of(value) === "function";
|
75
|
-
}
|
76
|
-
static isNull(value) {
|
77
|
-
return TypeDescriptor.of(value) === "null";
|
78
|
-
}
|
79
|
-
static isNumber(value) {
|
80
|
-
return TypeDescriptor.of(value) === "number";
|
81
|
-
}
|
82
|
-
static isObject(value) {
|
83
|
-
return TypeDescriptor.of(value) === "object";
|
84
|
-
}
|
85
|
-
static isString(value) {
|
86
|
-
return TypeDescriptor.of(value) === "string";
|
87
|
-
}
|
88
|
-
static isSymbol(value) {
|
89
|
-
return TypeDescriptor.of(value) === "symbol";
|
90
|
-
}
|
91
|
-
static isUndefined(value) {
|
92
|
-
return TypeDescriptor.of(value) === "undefined";
|
93
|
-
}
|
94
|
-
};
|
95
|
-
|
96
|
-
//#endregion
|
97
|
-
export { TypeDescriptor };
|
@@ -1,11 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { FetchMock, FetchMock_default, defaultFetchMockConfig } from "./FetchMock.js";
|
6
|
-
|
7
|
-
//#region node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/index.js
|
8
|
-
var esm_default = FetchMock_default;
|
9
|
-
|
10
|
-
//#endregion
|
11
|
-
export { esm_default };
|
@@ -1,87 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
6
|
-
|
7
|
-
//#region node_modules/.pnpm/glob-to-regexp@0.4.1/node_modules/glob-to-regexp/index.js
|
8
|
-
var require_glob_to_regexp = __commonJS({ "node_modules/.pnpm/glob-to-regexp@0.4.1/node_modules/glob-to-regexp/index.js"(exports, module) {
|
9
|
-
module.exports = function(glob, opts) {
|
10
|
-
if (typeof glob !== "string") throw new TypeError("Expected a string");
|
11
|
-
var str = String(glob);
|
12
|
-
var reStr = "";
|
13
|
-
var extended = opts ? !!opts.extended : false;
|
14
|
-
var globstar = opts ? !!opts.globstar : false;
|
15
|
-
var inGroup = false;
|
16
|
-
var flags = opts && typeof opts.flags === "string" ? opts.flags : "";
|
17
|
-
var c;
|
18
|
-
for (var i = 0, len = str.length; i < len; i++) {
|
19
|
-
c = str[i];
|
20
|
-
switch (c) {
|
21
|
-
case "/":
|
22
|
-
case "$":
|
23
|
-
case "^":
|
24
|
-
case "+":
|
25
|
-
case ".":
|
26
|
-
case "(":
|
27
|
-
case ")":
|
28
|
-
case "=":
|
29
|
-
case "!":
|
30
|
-
case "|":
|
31
|
-
reStr += "\\" + c;
|
32
|
-
break;
|
33
|
-
case "?": if (extended) {
|
34
|
-
reStr += ".";
|
35
|
-
break;
|
36
|
-
}
|
37
|
-
case "[":
|
38
|
-
case "]": if (extended) {
|
39
|
-
reStr += c;
|
40
|
-
break;
|
41
|
-
}
|
42
|
-
case "{": if (extended) {
|
43
|
-
inGroup = true;
|
44
|
-
reStr += "(";
|
45
|
-
break;
|
46
|
-
}
|
47
|
-
case "}": if (extended) {
|
48
|
-
inGroup = false;
|
49
|
-
reStr += ")";
|
50
|
-
break;
|
51
|
-
}
|
52
|
-
case ",":
|
53
|
-
if (inGroup) {
|
54
|
-
reStr += "|";
|
55
|
-
break;
|
56
|
-
}
|
57
|
-
reStr += "\\" + c;
|
58
|
-
break;
|
59
|
-
case "*":
|
60
|
-
var prevChar = str[i - 1];
|
61
|
-
var starCount = 1;
|
62
|
-
while (str[i + 1] === "*") {
|
63
|
-
starCount++;
|
64
|
-
i++;
|
65
|
-
}
|
66
|
-
var nextChar = str[i + 1];
|
67
|
-
if (!globstar) reStr += ".*";
|
68
|
-
else {
|
69
|
-
var isGlobstar = starCount > 1 && (prevChar === "/" || prevChar === void 0) && (nextChar === "/" || nextChar === void 0);
|
70
|
-
if (isGlobstar) {
|
71
|
-
reStr += "((?:[^/]*(?:/|$))*)";
|
72
|
-
i++;
|
73
|
-
} else reStr += "([^/]*)";
|
74
|
-
}
|
75
|
-
break;
|
76
|
-
default: reStr += c;
|
77
|
-
}
|
78
|
-
}
|
79
|
-
if (!flags || !~flags.indexOf("g")) reStr = "^" + reStr + "$";
|
80
|
-
return new RegExp(reStr, flags);
|
81
|
-
};
|
82
|
-
} });
|
83
|
-
|
84
|
-
//#endregion
|
85
|
-
export default require_glob_to_regexp();
|
86
|
-
|
87
|
-
export { require_glob_to_regexp };
|
@@ -1,20 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { unsafeUniformArrayIntDistribution } from "./UnsafeUniformArrayIntDistribution.js";
|
6
|
-
|
7
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformArrayIntDistribution.js
|
8
|
-
function uniformArrayIntDistribution(from, to, rng) {
|
9
|
-
if (rng != null) {
|
10
|
-
var nextRng = rng.clone();
|
11
|
-
return [unsafeUniformArrayIntDistribution(from, to, nextRng), nextRng];
|
12
|
-
}
|
13
|
-
return function(rng$1) {
|
14
|
-
var nextRng$1 = rng$1.clone();
|
15
|
-
return [unsafeUniformArrayIntDistribution(from, to, nextRng$1), nextRng$1];
|
16
|
-
};
|
17
|
-
}
|
18
|
-
|
19
|
-
//#endregion
|
20
|
-
export { uniformArrayIntDistribution };
|
@@ -1,20 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { unsafeUniformBigIntDistribution } from "./UnsafeUniformBigIntDistribution.js";
|
6
|
-
|
7
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformBigIntDistribution.js
|
8
|
-
function uniformBigIntDistribution(from, to, rng) {
|
9
|
-
if (rng != null) {
|
10
|
-
var nextRng = rng.clone();
|
11
|
-
return [unsafeUniformBigIntDistribution(from, to, nextRng), nextRng];
|
12
|
-
}
|
13
|
-
return function(rng$1) {
|
14
|
-
var nextRng$1 = rng$1.clone();
|
15
|
-
return [unsafeUniformBigIntDistribution(from, to, nextRng$1), nextRng$1];
|
16
|
-
};
|
17
|
-
}
|
18
|
-
|
19
|
-
//#endregion
|
20
|
-
export { uniformBigIntDistribution };
|
@@ -1,20 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { unsafeUniformIntDistribution } from "./UnsafeUniformIntDistribution.js";
|
6
|
-
|
7
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformIntDistribution.js
|
8
|
-
function uniformIntDistribution(from, to, rng) {
|
9
|
-
if (rng != null) {
|
10
|
-
var nextRng = rng.clone();
|
11
|
-
return [unsafeUniformIntDistribution(from, to, nextRng), nextRng];
|
12
|
-
}
|
13
|
-
return function(rng$1) {
|
14
|
-
var nextRng$1 = rng$1.clone();
|
15
|
-
return [unsafeUniformIntDistribution(from, to, nextRng$1), nextRng$1];
|
16
|
-
};
|
17
|
-
}
|
18
|
-
|
19
|
-
//#endregion
|
20
|
-
export { uniformIntDistribution };
|
@@ -1,20 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { addArrayIntToNew, addOneToPositiveArrayInt, substractArrayIntToNew, trimArrayIntInplace } from "./internals/ArrayInt.js";
|
6
|
-
import { unsafeUniformArrayIntDistributionInternal } from "./internals/UnsafeUniformArrayIntDistributionInternal.js";
|
7
|
-
|
8
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformArrayIntDistribution.js
|
9
|
-
function unsafeUniformArrayIntDistribution(from, to, rng) {
|
10
|
-
var rangeSize = trimArrayIntInplace(addOneToPositiveArrayInt(substractArrayIntToNew(to, from)));
|
11
|
-
var emptyArrayIntData = rangeSize.data.slice(0);
|
12
|
-
var g = unsafeUniformArrayIntDistributionInternal(emptyArrayIntData, rangeSize.data, rng);
|
13
|
-
return trimArrayIntInplace(addArrayIntToNew({
|
14
|
-
sign: 1,
|
15
|
-
data: g
|
16
|
-
}, from));
|
17
|
-
}
|
18
|
-
|
19
|
-
//#endregion
|
20
|
-
export { unsafeUniformArrayIntDistribution };
|
@@ -1,32 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformBigIntDistribution.js
|
6
|
-
var SBigInt = typeof BigInt !== "undefined" ? BigInt : void 0;
|
7
|
-
function unsafeUniformBigIntDistribution(from, to, rng) {
|
8
|
-
var diff = to - from + SBigInt(1);
|
9
|
-
var MinRng = SBigInt(-2147483648);
|
10
|
-
var NumValues = SBigInt(4294967296);
|
11
|
-
var FinalNumValues = NumValues;
|
12
|
-
var NumIterations = 1;
|
13
|
-
while (FinalNumValues < diff) {
|
14
|
-
FinalNumValues *= NumValues;
|
15
|
-
++NumIterations;
|
16
|
-
}
|
17
|
-
var MaxAcceptedRandom = FinalNumValues - FinalNumValues % diff;
|
18
|
-
while (true) {
|
19
|
-
var value = SBigInt(0);
|
20
|
-
for (var num = 0; num !== NumIterations; ++num) {
|
21
|
-
var out = rng.unsafeNext();
|
22
|
-
value = NumValues * value + (SBigInt(out) - MinRng);
|
23
|
-
}
|
24
|
-
if (value < MaxAcceptedRandom) {
|
25
|
-
var inDiff = value % diff;
|
26
|
-
return inDiff + from;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
}
|
30
|
-
|
31
|
-
//#endregion
|
32
|
-
export { unsafeUniformBigIntDistribution };
|
@@ -1,43 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { fromNumberToArrayInt64, substractArrayInt64 } from "./internals/ArrayInt.js";
|
6
|
-
import { unsafeUniformIntDistributionInternal } from "./internals/UnsafeUniformIntDistributionInternal.js";
|
7
|
-
import { unsafeUniformArrayIntDistributionInternal } from "./internals/UnsafeUniformArrayIntDistributionInternal.js";
|
8
|
-
|
9
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformIntDistribution.js
|
10
|
-
var safeNumberMaxSafeInteger = Number.MAX_SAFE_INTEGER;
|
11
|
-
var sharedA = {
|
12
|
-
sign: 1,
|
13
|
-
data: [0, 0]
|
14
|
-
};
|
15
|
-
var sharedB = {
|
16
|
-
sign: 1,
|
17
|
-
data: [0, 0]
|
18
|
-
};
|
19
|
-
var sharedC = {
|
20
|
-
sign: 1,
|
21
|
-
data: [0, 0]
|
22
|
-
};
|
23
|
-
var sharedData = [0, 0];
|
24
|
-
function uniformLargeIntInternal(from, to, rangeSize, rng) {
|
25
|
-
var rangeSizeArrayIntValue = rangeSize <= safeNumberMaxSafeInteger ? fromNumberToArrayInt64(sharedC, rangeSize) : substractArrayInt64(sharedC, fromNumberToArrayInt64(sharedA, to), fromNumberToArrayInt64(sharedB, from));
|
26
|
-
if (rangeSizeArrayIntValue.data[1] === 4294967295) {
|
27
|
-
rangeSizeArrayIntValue.data[0] += 1;
|
28
|
-
rangeSizeArrayIntValue.data[1] = 0;
|
29
|
-
} else rangeSizeArrayIntValue.data[1] += 1;
|
30
|
-
unsafeUniformArrayIntDistributionInternal(sharedData, rangeSizeArrayIntValue.data, rng);
|
31
|
-
return sharedData[0] * 4294967296 + sharedData[1] + from;
|
32
|
-
}
|
33
|
-
function unsafeUniformIntDistribution(from, to, rng) {
|
34
|
-
var rangeSize = to - from;
|
35
|
-
if (rangeSize <= 4294967295) {
|
36
|
-
var g = unsafeUniformIntDistributionInternal(rangeSize + 1, rng);
|
37
|
-
return g + from;
|
38
|
-
}
|
39
|
-
return uniformLargeIntInternal(from, to, rangeSize, rng);
|
40
|
-
}
|
41
|
-
|
42
|
-
//#endregion
|
43
|
-
export { unsafeUniformIntDistribution };
|
@@ -1,139 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/ArrayInt.js
|
6
|
-
function addArrayIntToNew(arrayIntA, arrayIntB) {
|
7
|
-
if (arrayIntA.sign !== arrayIntB.sign) return substractArrayIntToNew(arrayIntA, {
|
8
|
-
sign: -arrayIntB.sign,
|
9
|
-
data: arrayIntB.data
|
10
|
-
});
|
11
|
-
var data = [];
|
12
|
-
var reminder = 0;
|
13
|
-
var dataA = arrayIntA.data;
|
14
|
-
var dataB = arrayIntB.data;
|
15
|
-
for (var indexA = dataA.length - 1, indexB = dataB.length - 1; indexA >= 0 || indexB >= 0; --indexA, --indexB) {
|
16
|
-
var vA = indexA >= 0 ? dataA[indexA] : 0;
|
17
|
-
var vB = indexB >= 0 ? dataB[indexB] : 0;
|
18
|
-
var current = vA + vB + reminder;
|
19
|
-
data.push(current >>> 0);
|
20
|
-
reminder = ~~(current / 4294967296);
|
21
|
-
}
|
22
|
-
if (reminder !== 0) data.push(reminder);
|
23
|
-
return {
|
24
|
-
sign: arrayIntA.sign,
|
25
|
-
data: data.reverse()
|
26
|
-
};
|
27
|
-
}
|
28
|
-
function addOneToPositiveArrayInt(arrayInt) {
|
29
|
-
arrayInt.sign = 1;
|
30
|
-
var data = arrayInt.data;
|
31
|
-
for (var index = data.length - 1; index >= 0; --index) if (data[index] === 4294967295) data[index] = 0;
|
32
|
-
else {
|
33
|
-
data[index] += 1;
|
34
|
-
return arrayInt;
|
35
|
-
}
|
36
|
-
data.unshift(1);
|
37
|
-
return arrayInt;
|
38
|
-
}
|
39
|
-
function isStrictlySmaller(dataA, dataB) {
|
40
|
-
var maxLength = Math.max(dataA.length, dataB.length);
|
41
|
-
for (var index = 0; index < maxLength; ++index) {
|
42
|
-
var indexA = index + dataA.length - maxLength;
|
43
|
-
var indexB = index + dataB.length - maxLength;
|
44
|
-
var vA = indexA >= 0 ? dataA[indexA] : 0;
|
45
|
-
var vB = indexB >= 0 ? dataB[indexB] : 0;
|
46
|
-
if (vA < vB) return true;
|
47
|
-
if (vA > vB) return false;
|
48
|
-
}
|
49
|
-
return false;
|
50
|
-
}
|
51
|
-
function substractArrayIntToNew(arrayIntA, arrayIntB) {
|
52
|
-
if (arrayIntA.sign !== arrayIntB.sign) return addArrayIntToNew(arrayIntA, {
|
53
|
-
sign: -arrayIntB.sign,
|
54
|
-
data: arrayIntB.data
|
55
|
-
});
|
56
|
-
var dataA = arrayIntA.data;
|
57
|
-
var dataB = arrayIntB.data;
|
58
|
-
if (isStrictlySmaller(dataA, dataB)) {
|
59
|
-
var out = substractArrayIntToNew(arrayIntB, arrayIntA);
|
60
|
-
out.sign = -out.sign;
|
61
|
-
return out;
|
62
|
-
}
|
63
|
-
var data = [];
|
64
|
-
var reminder = 0;
|
65
|
-
for (var indexA = dataA.length - 1, indexB = dataB.length - 1; indexA >= 0 || indexB >= 0; --indexA, --indexB) {
|
66
|
-
var vA = indexA >= 0 ? dataA[indexA] : 0;
|
67
|
-
var vB = indexB >= 0 ? dataB[indexB] : 0;
|
68
|
-
var current = vA - vB - reminder;
|
69
|
-
data.push(current >>> 0);
|
70
|
-
reminder = current < 0 ? 1 : 0;
|
71
|
-
}
|
72
|
-
return {
|
73
|
-
sign: arrayIntA.sign,
|
74
|
-
data: data.reverse()
|
75
|
-
};
|
76
|
-
}
|
77
|
-
function trimArrayIntInplace(arrayInt) {
|
78
|
-
var data = arrayInt.data;
|
79
|
-
var firstNonZero = 0;
|
80
|
-
for (; firstNonZero !== data.length && data[firstNonZero] === 0; ++firstNonZero);
|
81
|
-
if (firstNonZero === data.length) {
|
82
|
-
arrayInt.sign = 1;
|
83
|
-
arrayInt.data = [0];
|
84
|
-
return arrayInt;
|
85
|
-
}
|
86
|
-
data.splice(0, firstNonZero);
|
87
|
-
return arrayInt;
|
88
|
-
}
|
89
|
-
function fromNumberToArrayInt64(out, n) {
|
90
|
-
if (n < 0) {
|
91
|
-
var posN = -n;
|
92
|
-
out.sign = -1;
|
93
|
-
out.data[0] = ~~(posN / 4294967296);
|
94
|
-
out.data[1] = posN >>> 0;
|
95
|
-
} else {
|
96
|
-
out.sign = 1;
|
97
|
-
out.data[0] = ~~(n / 4294967296);
|
98
|
-
out.data[1] = n >>> 0;
|
99
|
-
}
|
100
|
-
return out;
|
101
|
-
}
|
102
|
-
function substractArrayInt64(out, arrayIntA, arrayIntB) {
|
103
|
-
var lowA = arrayIntA.data[1];
|
104
|
-
var highA = arrayIntA.data[0];
|
105
|
-
var signA = arrayIntA.sign;
|
106
|
-
var lowB = arrayIntB.data[1];
|
107
|
-
var highB = arrayIntB.data[0];
|
108
|
-
var signB = arrayIntB.sign;
|
109
|
-
out.sign = 1;
|
110
|
-
if (signA === 1 && signB === -1) {
|
111
|
-
var low_1 = lowA + lowB;
|
112
|
-
var high = highA + highB + (low_1 > 4294967295 ? 1 : 0);
|
113
|
-
out.data[0] = high >>> 0;
|
114
|
-
out.data[1] = low_1 >>> 0;
|
115
|
-
return out;
|
116
|
-
}
|
117
|
-
var lowFirst = lowA;
|
118
|
-
var highFirst = highA;
|
119
|
-
var lowSecond = lowB;
|
120
|
-
var highSecond = highB;
|
121
|
-
if (signA === -1) {
|
122
|
-
lowFirst = lowB;
|
123
|
-
highFirst = highB;
|
124
|
-
lowSecond = lowA;
|
125
|
-
highSecond = highA;
|
126
|
-
}
|
127
|
-
var reminderLow = 0;
|
128
|
-
var low = lowFirst - lowSecond;
|
129
|
-
if (low < 0) {
|
130
|
-
reminderLow = 1;
|
131
|
-
low = low >>> 0;
|
132
|
-
}
|
133
|
-
out.data[0] = highFirst - highSecond - reminderLow;
|
134
|
-
out.data[1] = low;
|
135
|
-
return out;
|
136
|
-
}
|
137
|
-
|
138
|
-
//#endregion
|
139
|
-
export { addArrayIntToNew, addOneToPositiveArrayInt, fromNumberToArrayInt64, substractArrayInt64, substractArrayIntToNew, trimArrayIntInplace };
|
@@ -1,26 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import { unsafeUniformIntDistributionInternal } from "./UnsafeUniformIntDistributionInternal.js";
|
6
|
-
|
7
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/UnsafeUniformArrayIntDistributionInternal.js
|
8
|
-
function unsafeUniformArrayIntDistributionInternal(out, rangeSize, rng) {
|
9
|
-
var rangeLength = rangeSize.length;
|
10
|
-
while (true) {
|
11
|
-
for (var index = 0; index !== rangeLength; ++index) {
|
12
|
-
var indexRangeSize = index === 0 ? rangeSize[0] + 1 : 4294967296;
|
13
|
-
var g = unsafeUniformIntDistributionInternal(indexRangeSize, rng);
|
14
|
-
out[index] = g;
|
15
|
-
}
|
16
|
-
for (var index = 0; index !== rangeLength; ++index) {
|
17
|
-
var current = out[index];
|
18
|
-
var currentInRange = rangeSize[index];
|
19
|
-
if (current < currentInRange) return out;
|
20
|
-
else if (current > currentInRange) break;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
//#endregion
|
26
|
-
export { unsafeUniformArrayIntDistributionInternal };
|
@@ -1,14 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/UnsafeUniformIntDistributionInternal.js
|
6
|
-
function unsafeUniformIntDistributionInternal(rangeSize, rng) {
|
7
|
-
var MaxAllowed = rangeSize > 2 ? ~~(4294967296 / rangeSize) * rangeSize : 4294967296;
|
8
|
-
var deltaV = rng.unsafeNext() + 2147483648;
|
9
|
-
while (deltaV >= MaxAllowed) deltaV = rng.unsafeNext() + 2147483648;
|
10
|
-
return deltaV % rangeSize;
|
11
|
-
}
|
12
|
-
|
13
|
-
//#endregion
|
14
|
-
export { unsafeUniformIntDistributionInternal };
|
@@ -1,53 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
//#region node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/LinearCongruential.js
|
6
|
-
var MULTIPLIER = 214013;
|
7
|
-
var INCREMENT = 2531011;
|
8
|
-
var MASK = 4294967295;
|
9
|
-
var MASK_2 = (1 << 31) - 1;
|
10
|
-
var computeNextSeed = function(seed) {
|
11
|
-
return seed * MULTIPLIER + INCREMENT & MASK;
|
12
|
-
};
|
13
|
-
var computeValueFromNextSeed = function(nextseed) {
|
14
|
-
return (nextseed & MASK_2) >> 16;
|
15
|
-
};
|
16
|
-
var LinearCongruential32 = function() {
|
17
|
-
function LinearCongruential32$1(seed) {
|
18
|
-
this.seed = seed;
|
19
|
-
}
|
20
|
-
LinearCongruential32$1.prototype.clone = function() {
|
21
|
-
return new LinearCongruential32$1(this.seed);
|
22
|
-
};
|
23
|
-
LinearCongruential32$1.prototype.next = function() {
|
24
|
-
var nextRng = new LinearCongruential32$1(this.seed);
|
25
|
-
var out = nextRng.unsafeNext();
|
26
|
-
return [out, nextRng];
|
27
|
-
};
|
28
|
-
LinearCongruential32$1.prototype.unsafeNext = function() {
|
29
|
-
var s1 = computeNextSeed(this.seed);
|
30
|
-
var v1 = computeValueFromNextSeed(s1);
|
31
|
-
var s2 = computeNextSeed(s1);
|
32
|
-
var v2 = computeValueFromNextSeed(s2);
|
33
|
-
this.seed = computeNextSeed(s2);
|
34
|
-
var v3 = computeValueFromNextSeed(this.seed);
|
35
|
-
var vnext = v3 + (v2 + (v1 << 15) << 15);
|
36
|
-
return vnext | 0;
|
37
|
-
};
|
38
|
-
LinearCongruential32$1.prototype.getState = function() {
|
39
|
-
return [this.seed];
|
40
|
-
};
|
41
|
-
return LinearCongruential32$1;
|
42
|
-
}();
|
43
|
-
function fromState(state) {
|
44
|
-
var valid = state.length === 1;
|
45
|
-
if (!valid) throw new Error("The state must have been produced by a congruential32 RandomGenerator");
|
46
|
-
return new LinearCongruential32(state[0]);
|
47
|
-
}
|
48
|
-
var congruential32 = Object.assign(function(seed) {
|
49
|
-
return new LinearCongruential32(seed);
|
50
|
-
}, { fromState });
|
51
|
-
|
52
|
-
//#endregion
|
53
|
-
export { congruential32 };
|