@fedify/fedify 1.7.0-dev.892 → 1.7.0-dev.896
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-CP7N6awJ.js → actor-CJya_eDy.js} +179 -179
- package/dist/{actor-tT_B0pDn.d.ts → actor-CPpvuBKU.d.ts} +2 -2
- package/dist/{actor-CMv9mxQZ.js → actor-Coq5gJ_S.js} +3 -3
- package/dist/{authdocloader-ClW2wfPp.js → authdocloader-CfmylMQ6.js} +3 -3
- package/dist/{authdocloader-De44L3A0.js → authdocloader-DQULPMEs.js} +3 -3
- package/dist/{builder-DfIwMEXW.js → builder-BhHMyqfi.js} +3 -3
- package/dist/{client-Dsh4qTIG.js → client-BWUnWOMm.js} +2 -2
- package/dist/{client-Cd552pKL.d.ts → client-DvtwXO7t.d.ts} +1 -1
- package/dist/compat/mod.d.ts +11 -11
- package/dist/compat/transformers.test.js +21 -21
- package/dist/{context-BXuMDRli.js → context-D5oyLaE-.js} +2 -2
- package/dist/{context-DdICJaUT.d.ts → context-DPggmpB4.d.ts} +28 -9
- package/dist/{docloader-BPtRzK3Y.js → docloader-BN8NlZMg.js} +1 -1
- package/dist/{docloader-GeO-zxQ8.js → docloader-DllReFU8.js} +1 -1
- package/dist/{docloader-DlUDOVSe.d.ts → docloader-Q42SMRIB.d.ts} +2 -2
- package/dist/{esm-e_d5TL5c.js → esm-CASHO3OR.js} +2 -2
- package/dist/federation/builder.test.js +29 -7
- package/dist/federation/collection.test.js +1 -1
- package/dist/federation/handler.test.js +23 -23
- package/dist/federation/inbox.test.js +4 -4
- package/dist/federation/keycache.test.js +5 -5
- package/dist/federation/kv.test.js +2 -2
- package/dist/federation/middleware.test.js +61 -24
- package/dist/federation/mod.d.ts +10 -10
- package/dist/federation/mod.js +11 -11
- package/dist/federation/mq.test.js +1 -1
- package/dist/federation/retry.test.js +1 -1
- package/dist/federation/router.test.js +1 -1
- package/dist/federation/send.test.js +11 -11
- package/dist/{federation-lZOZyLAo.js → federation-BRIQn-GV.js} +1 -1
- package/dist/{http-BkUCISGt.d.ts → http-B8EiSgi2.d.ts} +2 -2
- package/dist/{http-DwJZ7Y4z.js → http-Ccv35XGv.js} +3 -3
- package/dist/{http-DRqXicI4.js → http-L-alQmLv.js} +3 -3
- package/dist/{inbox-CBDqGLMS.js → inbox-BvI2lUGG.js} +2 -2
- package/dist/{key-ROMFw9Ku.js → key-CwD3Zzul.js} +3 -3
- package/dist/{key-CDLXX1lE.js → key-DbkEUPZw.js} +5 -5
- package/dist/{key-zqAokCqz.js → key-VY-BrF4v.js} +4 -4
- package/dist/{key-7iRdcl3r.js → key-_b8O70K_.js} +2 -2
- package/dist/{keycache-9NrIJj7N.js → keycache-DTvMl0Yz.js} +1 -1
- package/dist/{keys-DMAyFLne.js → keys-DJpi5dqk.js} +1 -1
- package/dist/{kv-DohFOP2C.js → kv-BMY6Qf_A.js} +1 -1
- package/dist/{kv-p8sC8PTT.d.ts → kv-DRaeSXco.d.ts} +4 -4
- package/dist/{ld-QqcVvmDH.js → ld-B-S8s7zw.js} +3 -3
- package/dist/{lookup-BUWMwD1J.js → lookup-1cUlskQW.js} +1 -1
- package/dist/{lookup-Bcrl8lBP.js → lookup-BC70ikTL.js} +3 -3
- package/dist/{lookup-vJccIKCS.d.ts → lookup-Bf-K85bV.d.ts} +1 -1
- package/dist/{lookup-a5fxtsD6.js → lookup-oJGCqjmn.js} +1 -1
- package/dist/middleware-BkqqXD1Y.js +17 -0
- package/dist/{middleware-BmmxNS-Q.js → middleware-DZickJRL.js} +16 -14
- package/dist/{middleware-CMTra_Zk.js → middleware-JaZKIa-g.js} +22 -20
- package/dist/middleware-xV5-Gux5.js +33 -0
- package/dist/{mod-BTHfUeLo.d.ts → mod-C2drFqH8.d.ts} +2 -2
- package/dist/{mod-DSPyncxx.d.ts → mod-CDzlVCUF.d.ts} +2 -2
- package/dist/{mod-5orySGMZ.d.ts → mod-CbjCOiVh.d.ts} +2 -2
- package/dist/{mod-BUTm-sog.d.ts → mod-sEI6_uZ2.d.ts} +3 -3
- package/dist/mod.d.ts +13 -13
- package/dist/mod.js +11 -11
- package/dist/nodeinfo/client.test.js +5 -5
- package/dist/nodeinfo/handler.test.js +22 -22
- package/dist/nodeinfo/mod.d.ts +3 -3
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +2 -2
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/{owner-C6x6Q_tx.js → owner-CyKql97g.js} +3 -3
- package/dist/{owner-CbRc94FP.d.ts → owner-D0cOz8R5.d.ts} +3 -3
- package/dist/{proof-CEy4GKrW.js → proof-DBBmxLH9.js} +3 -3
- package/dist/{proof-CqjGNQVl.js → proof-zJ6oVUCk.js} +3 -3
- package/dist/runtime/authdocloader.test.js +10 -10
- package/dist/runtime/docloader.test.js +4 -4
- package/dist/runtime/key.test.js +6 -6
- package/dist/runtime/langstr.test.js +1 -1
- package/dist/runtime/mod.d.ts +5 -5
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +1 -1
- package/dist/runtime/url.test.js +1 -1
- package/dist/{semver-CbbIgUsa.js → semver-DWClQt_5.js} +2 -2
- package/dist/{send-B5mV95e5.js → send-Cx7SQVCT.js} +2 -2
- package/dist/sig/http.test.js +15 -15
- package/dist/sig/key.test.js +7 -7
- package/dist/sig/ld.test.js +8 -8
- package/dist/sig/mod.d.ts +7 -7
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +9 -9
- package/dist/sig/proof.test.js +8 -8
- package/dist/testing/docloader.test.js +1 -1
- package/dist/testing/mod.js +1 -1
- package/dist/{testing-jcGLO9Lp.js → testing-BZ0dJ4qn.js} +1 -1
- package/dist/{types-CqoqWDkp.js → types-C7C_l-jz.js} +1 -1
- package/dist/{types-C_HJzSZq.js → types-gd7Gb6VB.js} +3 -3
- package/dist/vocab/actor.test.js +6 -6
- package/dist/vocab/lookup.test.js +6 -6
- package/dist/vocab/mod.d.ts +5 -5
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +8 -8
- package/dist/{vocab-CJNNE8qD.js → vocab-BP5KigRG.js} +3 -3
- package/dist/{vocab-DSFLLLe6.d.ts → vocab-CzEfWQk2.d.ts} +1 -1
- package/dist/{vocab-BRLUhT7m.js → vocab-DjXjRN_-.js} +178 -178
- package/dist/webfinger/handler.test.js +22 -22
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.d.ts +3 -3
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.d.ts +1 -1
- package/dist/x/cfworkers.test.js +1 -1
- package/dist/x/hono.d.ts +10 -10
- package/dist/x/sveltekit.d.ts +10 -10
- package/package.json +2 -2
- package/dist/middleware-Ctq4CeOT.js +0 -17
- package/dist/middleware-Duv6THn6.js +0 -33
package/dist/sig/key.test.js
CHANGED
@@ -6,23 +6,23 @@
|
|
6
6
|
import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
|
7
7
|
import "../assert-YJk-1DlZ.js";
|
8
8
|
import "../assert_instance_of-DBIoG5k7.js";
|
9
|
-
import "../docloader-
|
9
|
+
import "../docloader-DllReFU8.js";
|
10
10
|
import "../url-kTAI6_KP.js";
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
12
|
-
import { CryptographicKey, Multikey } from "../vocab-
|
12
|
+
import { CryptographicKey, Multikey } from "../vocab-DjXjRN_-.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-oJGCqjmn.js";
|
15
15
|
import "../type-D2s5lmbZ.js";
|
16
|
-
import "../actor-
|
17
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-
|
18
|
-
import { test } from "../testing-
|
16
|
+
import "../actor-Coq5gJ_S.js";
|
17
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-CwD3Zzul.js";
|
18
|
+
import { test } from "../testing-BZ0dJ4qn.js";
|
19
19
|
import "../std__assert-CHXwj7zk.js";
|
20
20
|
import { assertRejects } from "../assert_rejects-BZjUwo62.js";
|
21
21
|
import "../assert_is_error-jyzqjHud.js";
|
22
22
|
import "../assert_not_equals-wx-SRs4i.js";
|
23
23
|
import { assertThrows } from "../assert_throws-gBPv3v2V.js";
|
24
24
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
25
|
-
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
25
|
+
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-DJpi5dqk.js";
|
26
26
|
|
27
27
|
//#region sig/key.test.ts
|
28
28
|
test("validateCryptoKey()", async () => {
|
package/dist/sig/ld.test.js
CHANGED
@@ -5,22 +5,22 @@
|
|
5
5
|
|
6
6
|
import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
|
7
7
|
import { assert } from "../assert-YJk-1DlZ.js";
|
8
|
-
import "../docloader-
|
8
|
+
import "../docloader-DllReFU8.js";
|
9
9
|
import "../url-kTAI6_KP.js";
|
10
10
|
import "../multibase-DeCHcK8L.js";
|
11
|
-
import { CryptographicKey } from "../vocab-
|
11
|
+
import { CryptographicKey } from "../vocab-DjXjRN_-.js";
|
12
12
|
import "../langstr-DbWheeIS.js";
|
13
|
-
import "../lookup-
|
13
|
+
import "../lookup-oJGCqjmn.js";
|
14
14
|
import "../type-D2s5lmbZ.js";
|
15
|
-
import "../actor-
|
16
|
-
import { generateCryptoKeyPair } from "../key-
|
17
|
-
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-
|
18
|
-
import { test } from "../testing-
|
15
|
+
import "../actor-Coq5gJ_S.js";
|
16
|
+
import { generateCryptoKeyPair } from "../key-CwD3Zzul.js";
|
17
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-B-S8s7zw.js";
|
18
|
+
import { test } from "../testing-BZ0dJ4qn.js";
|
19
19
|
import { assertFalse, assertRejects } from "../assert_rejects-BZjUwo62.js";
|
20
20
|
import "../assert_is_error-jyzqjHud.js";
|
21
21
|
import { assertThrows } from "../assert_throws-gBPv3v2V.js";
|
22
22
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
23
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
23
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-DJpi5dqk.js";
|
24
24
|
import { encodeBase64 } from "byte-encodings/base64";
|
25
25
|
|
26
26
|
//#region sig/ld.test.ts
|
package/dist/sig/mod.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import "../kv-
|
4
|
-
import "../docloader-
|
5
|
-
import "../vocab-
|
6
|
-
import "../actor-
|
7
|
-
import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignRequestOptions, VerifyRequestOptions, exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-
|
8
|
-
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "../owner-
|
9
|
-
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../mod-
|
3
|
+
import "../kv-DRaeSXco.js";
|
4
|
+
import "../docloader-Q42SMRIB.js";
|
5
|
+
import "../vocab-CzEfWQk2.js";
|
6
|
+
import "../actor-CPpvuBKU.js";
|
7
|
+
import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignRequestOptions, VerifyRequestOptions, exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-B8EiSgi2.js";
|
8
|
+
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "../owner-D0cOz8R5.js";
|
9
|
+
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../mod-sEI6_uZ2.js";
|
10
10
|
export { CreateProofOptions, CreateSignatureOptions, DoesActorOwnKeyOptions, FetchKeyOptions, FetchKeyResult, GetKeyOwnerOptions, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/sig/mod.js
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "../docloader-
|
6
|
-
import "../actor-
|
7
|
-
import "../lookup-
|
8
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-
|
9
|
-
import { signRequest, verifyRequest } from "../http-
|
10
|
-
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-
|
5
|
+
import "../docloader-BN8NlZMg.js";
|
6
|
+
import "../actor-CJya_eDy.js";
|
7
|
+
import "../lookup-1cUlskQW.js";
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-_b8O70K_.js";
|
9
|
+
import { signRequest, verifyRequest } from "../http-L-alQmLv.js";
|
10
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-zJ6oVUCk.js";
|
11
11
|
import "../sig-BXJO--F9.js";
|
12
12
|
|
13
13
|
export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/sig/owner.test.js
CHANGED
@@ -6,25 +6,25 @@
|
|
6
6
|
import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
|
7
7
|
import { assert } from "../assert-YJk-1DlZ.js";
|
8
8
|
import "../assert_instance_of-DBIoG5k7.js";
|
9
|
-
import "../docloader-
|
9
|
+
import "../docloader-DllReFU8.js";
|
10
10
|
import "../url-kTAI6_KP.js";
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
12
|
-
import { Create } from "../vocab-
|
12
|
+
import { Create } from "../vocab-DjXjRN_-.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-oJGCqjmn.js";
|
15
15
|
import "../type-D2s5lmbZ.js";
|
16
|
-
import "../actor-
|
17
|
-
import "../key-
|
18
|
-
import { doesActorOwnKey, getKeyOwner } from "../owner-
|
19
|
-
import { lookupObject } from "../lookup-
|
20
|
-
import { test } from "../testing-
|
16
|
+
import "../actor-Coq5gJ_S.js";
|
17
|
+
import "../key-CwD3Zzul.js";
|
18
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-CyKql97g.js";
|
19
|
+
import { lookupObject } from "../lookup-BC70ikTL.js";
|
20
|
+
import { test } from "../testing-BZ0dJ4qn.js";
|
21
21
|
import "../std__assert-CHXwj7zk.js";
|
22
22
|
import { assertFalse } from "../assert_rejects-BZjUwo62.js";
|
23
23
|
import "../assert_is_error-jyzqjHud.js";
|
24
24
|
import "../assert_not_equals-wx-SRs4i.js";
|
25
25
|
import "../assert_throws-gBPv3v2V.js";
|
26
26
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
27
|
-
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-
|
27
|
+
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-DJpi5dqk.js";
|
28
28
|
|
29
29
|
//#region sig/owner.test.ts
|
30
30
|
test("doesActorOwnKey()", async () => {
|
package/dist/sig/proof.test.js
CHANGED
@@ -6,24 +6,24 @@
|
|
6
6
|
import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
|
7
7
|
import "../assert-YJk-1DlZ.js";
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of-DBIoG5k7.js";
|
9
|
-
import "../docloader-
|
9
|
+
import "../docloader-DllReFU8.js";
|
10
10
|
import "../url-kTAI6_KP.js";
|
11
11
|
import { decode } from "../multibase-DeCHcK8L.js";
|
12
|
-
import { Create, DataIntegrityProof, Multikey, Note, Place, importMultibaseKey } from "../vocab-
|
12
|
+
import { Create, DataIntegrityProof, Multikey, Note, Place, importMultibaseKey } from "../vocab-DjXjRN_-.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-oJGCqjmn.js";
|
15
15
|
import "../type-D2s5lmbZ.js";
|
16
|
-
import "../actor-
|
17
|
-
import "../key-
|
18
|
-
import { createProof, signObject, verifyObject, verifyProof } from "../proof-
|
19
|
-
import { test } from "../testing-
|
16
|
+
import "../actor-Coq5gJ_S.js";
|
17
|
+
import "../key-CwD3Zzul.js";
|
18
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-DBBmxLH9.js";
|
19
|
+
import { test } from "../testing-BZ0dJ4qn.js";
|
20
20
|
import "../std__assert-CHXwj7zk.js";
|
21
21
|
import { assertRejects } from "../assert_rejects-BZjUwo62.js";
|
22
22
|
import "../assert_is_error-jyzqjHud.js";
|
23
23
|
import "../assert_not_equals-wx-SRs4i.js";
|
24
24
|
import "../assert_throws-gBPv3v2V.js";
|
25
25
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
26
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
26
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-DJpi5dqk.js";
|
27
27
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
28
28
|
|
29
29
|
//#region sig/proof.test.ts
|
@@ -6,7 +6,7 @@
|
|
6
6
|
import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
|
7
7
|
import "../assert-YJk-1DlZ.js";
|
8
8
|
import "../assert_instance_of-DBIoG5k7.js";
|
9
|
-
import { test } from "../testing-
|
9
|
+
import { test } from "../testing-BZ0dJ4qn.js";
|
10
10
|
import "../std__assert-CHXwj7zk.js";
|
11
11
|
import "../assert_rejects-BZjUwo62.js";
|
12
12
|
import "../assert_is_error-jyzqjHud.js";
|
package/dist/testing/mod.js
CHANGED
@@ -133,7 +133,7 @@ function caller() {
|
|
133
133
|
const Trace = Error;
|
134
134
|
const _ = Trace.prepareStackTrace;
|
135
135
|
Trace.prepareStackTrace = (_$1, stack$1) => stack$1;
|
136
|
-
const { stack } = new Error();
|
136
|
+
const { stack } = /* @__PURE__ */ new Error();
|
137
137
|
Trace.prepareStackTrace = _;
|
138
138
|
const caller$1 = stack[2];
|
139
139
|
return caller$1.getFileName().replaceAll("\\", "/");
|
@@ -2,7 +2,7 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { getUserAgent } from "./docloader-
|
5
|
+
import { getUserAgent } from "./docloader-BN8NlZMg.js";
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
7
7
|
|
8
8
|
//#region nodeinfo/semver.ts
|
@@ -41,7 +41,7 @@ const BUILD = `(?:\\+(?<buildmetadata>${BUILD_IDENTIFIER}(?:\\.${BUILD_IDENTIFIE
|
|
41
41
|
* A version, followed optionally by a pre-release version and build metadata.
|
42
42
|
*/
|
43
43
|
const FULL_VERSION = `v?${VERSION_CORE}${PRERELEASE}?${BUILD}?`;
|
44
|
-
const FULL_REGEXP = new RegExp(`^${FULL_VERSION}$`);
|
44
|
+
const FULL_REGEXP = /* @__PURE__ */ new RegExp(`^${FULL_VERSION}$`);
|
45
45
|
/**
|
46
46
|
* Attempt to parse a string as a semantic version, returning a SemVer object.
|
47
47
|
*
|
@@ -95,7 +95,7 @@ function parseSemVer(value) {
|
|
95
95
|
function isValidNumber(value) {
|
96
96
|
return typeof value === "number" && !Number.isNaN(value) && (!Number.isFinite(value) || 0 <= value && value <= Number.MAX_SAFE_INTEGER);
|
97
97
|
}
|
98
|
-
const NUMERIC_IDENTIFIER_REGEXP = new RegExp(`^${NUMERIC_IDENTIFIER}$`);
|
98
|
+
const NUMERIC_IDENTIFIER_REGEXP = /* @__PURE__ */ new RegExp(`^${NUMERIC_IDENTIFIER}$`);
|
99
99
|
function parsePrerelease(prerelease) {
|
100
100
|
return prerelease.split(".").filter(Boolean).map((id) => {
|
101
101
|
if (NUMERIC_IDENTIFIER_REGEXP.test(id)) {
|
package/dist/vocab/actor.test.js
CHANGED
@@ -7,21 +7,21 @@ import { __export } from "../chunk-HsBuZ-b2.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
|
8
8
|
import { assert } from "../assert-YJk-1DlZ.js";
|
9
9
|
import "../assert_instance_of-DBIoG5k7.js";
|
10
|
-
import "../docloader-
|
10
|
+
import "../docloader-DllReFU8.js";
|
11
11
|
import "../url-kTAI6_KP.js";
|
12
12
|
import "../multibase-DeCHcK8L.js";
|
13
|
-
import { Application, Group, Organization, Person, Service } from "../vocab-
|
13
|
+
import { Application, Group, Organization, Person, Service } from "../vocab-DjXjRN_-.js";
|
14
14
|
import "../langstr-DbWheeIS.js";
|
15
|
-
import "../lookup-
|
15
|
+
import "../lookup-oJGCqjmn.js";
|
16
16
|
import "../type-D2s5lmbZ.js";
|
17
|
-
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-
|
18
|
-
import { test } from "../testing-
|
17
|
+
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-Coq5gJ_S.js";
|
18
|
+
import { test } from "../testing-BZ0dJ4qn.js";
|
19
19
|
import { assertStrictEquals } from "../std__assert-CHXwj7zk.js";
|
20
20
|
import { assertFalse, assertRejects } from "../assert_rejects-BZjUwo62.js";
|
21
21
|
import "../assert_is_error-jyzqjHud.js";
|
22
22
|
import "../assert_not_equals-wx-SRs4i.js";
|
23
23
|
import { assertThrows } from "../assert_throws-gBPv3v2V.js";
|
24
|
-
import { esm_default } from "../esm-
|
24
|
+
import { esm_default } from "../esm-CASHO3OR.js";
|
25
25
|
|
26
26
|
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
|
27
27
|
var PreconditionFailure = class PreconditionFailure extends Error {
|
@@ -6,22 +6,22 @@
|
|
6
6
|
import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
|
7
7
|
import "../assert-YJk-1DlZ.js";
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of-DBIoG5k7.js";
|
9
|
-
import "../docloader-
|
9
|
+
import "../docloader-DllReFU8.js";
|
10
10
|
import "../url-kTAI6_KP.js";
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
12
|
-
import { Collection, Note, Object as Object$1, Person } from "../vocab-
|
12
|
+
import { Collection, Note, Object as Object$1, Person } from "../vocab-DjXjRN_-.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-oJGCqjmn.js";
|
15
15
|
import "../type-D2s5lmbZ.js";
|
16
|
-
import { lookupObject, traverseCollection } from "../lookup-
|
17
|
-
import { test } from "../testing-
|
16
|
+
import { lookupObject, traverseCollection } from "../lookup-BC70ikTL.js";
|
17
|
+
import { test } from "../testing-BZ0dJ4qn.js";
|
18
18
|
import "../std__assert-CHXwj7zk.js";
|
19
19
|
import "../assert_rejects-BZjUwo62.js";
|
20
20
|
import "../assert_is_error-jyzqjHud.js";
|
21
21
|
import "../assert_not_equals-wx-SRs4i.js";
|
22
22
|
import "../assert_throws-gBPv3v2V.js";
|
23
23
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
24
|
-
import { esm_default } from "../esm-
|
24
|
+
import { esm_default } from "../esm-CASHO3OR.js";
|
25
25
|
|
26
26
|
//#region vocab/lookup.test.ts
|
27
27
|
test("lookupObject()", async (t) => {
|
package/dist/vocab/mod.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import "../kv-
|
4
|
-
import "../docloader-
|
5
|
-
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View } from "../vocab-
|
6
|
-
import { Actor, ActorTypeName, GetActorHandleOptions, NormalizeActorHandleOptions, Recipient, getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-
|
7
|
-
import { LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, lookupObject, traverseCollection } from "../mod-
|
3
|
+
import "../kv-DRaeSXco.js";
|
4
|
+
import "../docloader-Q42SMRIB.js";
|
5
|
+
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View } from "../vocab-CzEfWQk2.js";
|
6
|
+
import { Actor, ActorTypeName, GetActorHandleOptions, NormalizeActorHandleOptions, Recipient, getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-CPpvuBKU.js";
|
7
|
+
import { LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, lookupObject, traverseCollection } from "../mod-CDzlVCUF.js";
|
8
8
|
export { Accept, Activity, Actor, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, GetActorHandleOptions, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, LookupObjectOptions, Mention, Move, Multikey, NormalizeActorHandleOptions, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Recipient, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, lookupObject, normalizeActorHandle, traverseCollection };
|
package/dist/vocab/mod.js
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "../docloader-
|
6
|
-
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-
|
7
|
-
import "../lookup-
|
8
|
-
import { PUBLIC_COLLECTION, lookupObject, traverseCollection } from "../vocab-
|
5
|
+
import "../docloader-BN8NlZMg.js";
|
6
|
+
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-CJya_eDy.js";
|
7
|
+
import "../lookup-1cUlskQW.js";
|
8
|
+
import { PUBLIC_COLLECTION, lookupObject, traverseCollection } from "../vocab-BP5KigRG.js";
|
9
9
|
|
10
10
|
export { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, lookupObject, normalizeActorHandle, traverseCollection };
|
package/dist/vocab/type.test.js
CHANGED
@@ -4,13 +4,13 @@
|
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
6
|
import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
|
7
|
-
import "../docloader-
|
7
|
+
import "../docloader-DllReFU8.js";
|
8
8
|
import "../url-kTAI6_KP.js";
|
9
9
|
import "../multibase-DeCHcK8L.js";
|
10
|
-
import { Person } from "../vocab-
|
10
|
+
import { Person } from "../vocab-DjXjRN_-.js";
|
11
11
|
import "../langstr-DbWheeIS.js";
|
12
12
|
import { getTypeId } from "../type-D2s5lmbZ.js";
|
13
|
-
import { test } from "../testing-
|
13
|
+
import { test } from "../testing-BZ0dJ4qn.js";
|
14
14
|
|
15
15
|
//#region vocab/type.test.ts
|
16
16
|
test("getTypeId()", () => {
|
package/dist/vocab/vocab.test.js
CHANGED
@@ -6,19 +6,19 @@
|
|
6
6
|
import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
|
7
7
|
import "../assert-YJk-1DlZ.js";
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of-DBIoG5k7.js";
|
9
|
-
import "../docloader-
|
9
|
+
import "../docloader-DllReFU8.js";
|
10
10
|
import "../url-kTAI6_KP.js";
|
11
11
|
import { decode } from "../multibase-DeCHcK8L.js";
|
12
|
-
import { Activity, Announce, Create, CryptographicKey, Follow, Hashtag, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Source, vocab_exports } from "../vocab-
|
12
|
+
import { Activity, Announce, Create, CryptographicKey, Follow, Hashtag, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Source, vocab_exports } from "../vocab-DjXjRN_-.js";
|
13
13
|
import { LanguageString } from "../langstr-DbWheeIS.js";
|
14
|
-
import { test } from "../testing-
|
14
|
+
import { test } from "../testing-BZ0dJ4qn.js";
|
15
15
|
import "../std__assert-CHXwj7zk.js";
|
16
16
|
import { assertFalse, assertRejects } from "../assert_rejects-BZjUwo62.js";
|
17
17
|
import "../assert_is_error-jyzqjHud.js";
|
18
18
|
import { assertNotEquals } from "../assert_not_equals-wx-SRs4i.js";
|
19
19
|
import { assertThrows } from "../assert_throws-gBPv3v2V.js";
|
20
20
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
21
|
-
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-
|
21
|
+
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-DJpi5dqk.js";
|
22
22
|
import { pascalCase } from "@es-toolkit/es-toolkit";
|
23
23
|
import { parseLanguageTag } from "@phensley/language-tag";
|
24
24
|
import { Validator } from "@cfworker/json-schema";
|
@@ -580,7 +580,7 @@ function isPlainObject(object) {
|
|
580
580
|
|
581
581
|
//#endregion
|
582
582
|
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/float.js
|
583
|
-
const YAML_FLOAT_PATTERN = new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
583
|
+
const YAML_FLOAT_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
584
584
|
function resolveYamlFloat(data) {
|
585
585
|
if (!YAML_FLOAT_PATTERN.test(data) || data[data.length - 1] === "_") return false;
|
586
586
|
return true;
|
@@ -875,8 +875,8 @@ const str = {
|
|
875
875
|
|
876
876
|
//#endregion
|
877
877
|
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/timestamp.js
|
878
|
-
const YAML_DATE_REGEXP = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");
|
879
|
-
const YAML_TIMESTAMP_REGEXP = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
|
878
|
+
const YAML_DATE_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");
|
879
|
+
const YAML_TIMESTAMP_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
|
880
880
|
function resolveYamlTimestamp(data) {
|
881
881
|
if (data === null) return false;
|
882
882
|
if (YAML_DATE_REGEXP.exec(data) !== null) return true;
|
@@ -1193,7 +1193,7 @@ var LoaderState = class {
|
|
1193
1193
|
}
|
1194
1194
|
#createError(message) {
|
1195
1195
|
const mark = markToString(this.input, this.position, this.line, this.position - this.lineStart);
|
1196
|
-
return new SyntaxError(`${message} ${mark}`);
|
1196
|
+
return /* @__PURE__ */ new SyntaxError(`${message} ${mark}`);
|
1197
1197
|
}
|
1198
1198
|
dispatchWarning(message) {
|
1199
1199
|
const error = this.#createError(message);
|
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
6
|
-
import { Object as Object$1, getTypeId } from "./actor-
|
7
|
-
import { lookupWebFinger } from "./lookup-
|
5
|
+
import { deno_default, getDocumentLoader } from "./docloader-BN8NlZMg.js";
|
6
|
+
import { Object as Object$1, getTypeId } from "./actor-CJya_eDy.js";
|
7
|
+
import { lookupWebFinger } from "./lookup-1cUlskQW.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
import { delay } from "@es-toolkit/es-toolkit";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import { DocumentLoader } from "./docloader-
|
3
|
+
import { DocumentLoader } from "./docloader-Q42SMRIB.js";
|
4
4
|
import { Span, TracerProvider } from "@opentelemetry/api";
|
5
5
|
import { LanguageTag } from "@phensley/language-tag";
|
6
6
|
|