@fedify/fedify 2.0.0-pr.414.1564 → 2.0.0-pr.433.1601
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-BhInH4oZ.js → actor-BYk33gpL.js} +191 -190
- package/dist/{actor-Cq32HWgK.js → actor-DhgsJz-4.js} +1 -1
- package/dist/{assert_rejects-DiIiJbZn.js → assert_rejects-7UF4R_Qs.js} +1 -1
- package/dist/{assert_throws-BOO88avQ.js → assert_throws-53_pKeP3.js} +1 -1
- package/dist/{authdocloader-DtDrq1sG.js → authdocloader-Bnyhgo9N.js} +3 -3
- package/dist/{authdocloader-Ba74t_YH.js → authdocloader-Dcu0wNV2.js} +3 -3
- package/dist/{builder-DlzFtIWT.js → builder-QxLyGSq9.js} +4 -4
- package/dist/{client-4jrXxpoy.js → client-apb-XuqD.js} +5 -19
- package/dist/{client-DF8anIB5.d.ts → client-bgSdkFa2.d.ts} +2 -74
- package/dist/compat/mod.d.ts +3 -3
- package/dist/compat/transformers.test.js +19 -20
- package/dist/{context-9gCpIkiz.d.ts → context-CDSZdQHD.d.ts} +1 -1
- package/dist/{docloader-CZemSYsi.js → docloader-C5a95do5.js} +1 -1
- package/dist/{esm-DeqyJlBJ.js → esm-Bgz4xida.js} +1 -1
- package/dist/federation/builder.test.js +11 -12
- package/dist/federation/collection.test.js +9 -9
- package/dist/federation/handler.test.js +25 -26
- package/dist/federation/inbox.test.js +6 -6
- package/dist/federation/keycache.test.js +4 -4
- package/dist/federation/kv.test.js +8 -8
- package/dist/federation/middleware.test.js +29 -44
- package/dist/federation/mod.d.ts +2 -2
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.js +10 -10
- package/dist/federation/retry.test.js +5 -5
- package/dist/federation/router.test.js +8 -8
- package/dist/federation/send.test.js +15 -15
- package/dist/{http-3nEiLw6I.js → http-DNI66-5x.js} +3 -3
- package/dist/{http-WTTEhIdD.js → http-JY6wHpzI.js} +4 -4
- package/dist/{inbox-C51btT1E.js → inbox-DQ8L0DJL.js} +1 -1
- package/dist/{key-BStmDdLA.js → key-5IrrMBg5.js} +2 -2
- package/dist/{key-BG7qNPDV.js → key-BLStGL0R.js} +4 -4
- package/dist/{key-ZWsblvUW.js → key-BPlyixfT.js} +2 -2
- package/dist/{key-DbjShZ2d.js → key-Be6l1ofa.js} +3 -3
- package/dist/{keycache-B3XY0rLO.js → keycache-C4ahXsL4.js} +1 -1
- package/dist/{keys-rSswK8mf.js → keys-DJSYNKDA.js} +1 -1
- package/dist/{ld-Dk7mgTRD.js → ld-CWJxBIBV.js} +4 -4
- package/dist/{lookup-mNEBpjV4.js → lookup-BnXYO054.js} +1 -1
- package/dist/{lookup-aegNYjaH.js → lookup-C7LsgCJN.js} +1 -1
- package/dist/middleware-D2diREI8.js +17 -0
- package/dist/middleware-D5PCuUVh.js +25 -0
- package/dist/{middleware-dCL8wpgm.js → middleware-DfHez8_s.js} +16 -16
- package/dist/{middleware-D8Z6nM2k.js → middleware-exe_8YIh.js} +10 -10
- package/dist/{mod-Bqxcp7eN.d.ts → mod-RI3-KvUI.d.ts} +1 -1
- package/dist/mod.d.ts +4 -4
- package/dist/mod.js +11 -11
- package/dist/nodeinfo/client.test.js +32 -111
- package/dist/nodeinfo/handler.test.js +25 -26
- package/dist/nodeinfo/mod.d.ts +2 -2
- package/dist/nodeinfo/mod.js +3 -3
- package/dist/nodeinfo/types.test.js +10 -15
- package/dist/{owner-DLzgE2bz.js → owner-CM_3htrf.js} +2 -2
- package/dist/{proof-D28-VFfl.js → proof-B13S28BP.js} +3 -3
- package/dist/{proof-BdKzT1Pe.js → proof-WqatqDcH.js} +6 -6
- package/dist/runtime/authdocloader.test.js +14 -14
- package/dist/runtime/docloader.test.js +9 -9
- package/dist/runtime/key.test.js +10 -10
- package/dist/runtime/langstr.test.js +8 -8
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +8 -8
- package/dist/runtime/url.test.js +5 -5
- package/dist/{send-C-aS15nl.js → send-BcaNFUhd.js} +2 -2
- package/dist/sig/http.test.js +14 -14
- package/dist/sig/key.test.js +11 -11
- package/dist/sig/ld.test.js +10 -10
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +12 -12
- package/dist/sig/proof.test.js +12 -12
- package/dist/testing/docloader.test.js +8 -8
- package/dist/testing/mod.d.ts +1 -28
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-B7yveQZ-.js → testing-CakwOL23.js} +2 -2
- package/dist/{type-DTf4QhSw.js → type-BKY_LVaq.js} +190 -189
- package/dist/{types-BIgY6c-l.js → types-BSuWJsOm.js} +1 -3
- package/dist/{types-CnNtfsCf.js → types-zVT9nODh.js} +7 -163
- package/dist/vocab/actor.test.js +10 -10
- package/dist/vocab/lookup.test.js +9 -9
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +9 -9
- package/dist/{vocab-DgfnkPwl.js → vocab-ClXayeh5.js} +3 -3
- package/dist/webfinger/handler.test.js +24 -25
- package/dist/webfinger/lookup.test.js +9 -9
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +8 -8
- package/dist/x/hono.d.ts +2 -2
- package/dist/x/sveltekit.d.ts +2 -2
- package/package.json +1 -1
- package/dist/middleware-AekFfoNw.js +0 -17
- package/dist/middleware-B2FCS5ia.js +0 -26
- package/dist/nodeinfo/semver.test.d.ts +0 -3
- package/dist/nodeinfo/semver.test.js +0 -143
- package/dist/semver-dArNLkR9.js +0 -149
- /package/dist/{assert_is_error-BPGph1Jx.js → assert_is_error-B035L3om.js} +0 -0
- /package/dist/{assert_not_equals-f3m3epl3.js → assert_not_equals-C80BG-_5.js} +0 -0
- /package/dist/{collection-CSzG2j1P.js → collection-CcnIw1qY.js} +0 -0
- /package/dist/{denokv-Bv33Xxea.js → denokv-jZ0Z2h0M.js} +0 -0
- /package/dist/{retry-D4GJ670a.js → retry-CfF8Gn4d.js} +0 -0
- /package/dist/{std__assert-X-_kMxKM.js → std__assert-DWivtrGR.js} +0 -0
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default } from "./type-
|
7
|
-
import { doubleKnock } from "./http-
|
6
|
+
import { deno_default } from "./type-BKY_LVaq.js";
|
7
|
+
import { doubleKnock } from "./http-DNI66-5x.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
|
package/dist/sig/http.test.js
CHANGED
@@ -3,22 +3,22 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { exportSpki } from "../type-
|
6
|
+
import { exportSpki } from "../type-BKY_LVaq.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import "../lookup-
|
11
|
-
import "../actor-
|
12
|
-
import { exportJwk } from "../key-
|
13
|
-
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-
|
14
|
-
import { mockDocumentLoader, test } from "../testing-
|
15
|
-
import { assertExists, assertStringIncludes } from "../std__assert-
|
16
|
-
import { assertFalse, assertRejects } from "../assert_rejects-
|
17
|
-
import "../assert_is_error-
|
18
|
-
import "../assert_not_equals-
|
19
|
-
import { assertThrows } from "../assert_throws-
|
20
|
-
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-
|
21
|
-
import { esm_default } from "../esm-
|
10
|
+
import "../lookup-C7LsgCJN.js";
|
11
|
+
import "../actor-DhgsJz-4.js";
|
12
|
+
import { exportJwk } from "../key-BPlyixfT.js";
|
13
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-DNI66-5x.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-CakwOL23.js";
|
15
|
+
import { assertExists, assertStringIncludes } from "../std__assert-DWivtrGR.js";
|
16
|
+
import { assertFalse, assertRejects } from "../assert_rejects-7UF4R_Qs.js";
|
17
|
+
import "../assert_is_error-B035L3om.js";
|
18
|
+
import "../assert_not_equals-C80BG-_5.js";
|
19
|
+
import { assertThrows } from "../assert_throws-53_pKeP3.js";
|
20
|
+
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-DJSYNKDA.js";
|
21
|
+
import { esm_default } from "../esm-Bgz4xida.js";
|
22
22
|
import { encodeBase64 } from "byte-encodings/base64";
|
23
23
|
|
24
24
|
//#region src/sig/http.test.ts
|
@@ -381,7 +381,7 @@ test("verifyRequest() [rfc9421] manual POST verification", async () => {
|
|
381
381
|
headers: new Headers(signedPostRequest.headers)
|
382
382
|
});
|
383
383
|
const signatureBase = createRfc9421SignatureBase(manualRequest, parsedInput.sig1.components, parsedInput.sig1.parameters);
|
384
|
-
const signatureVerified = await crypto.subtle.verify("RSASSA-PKCS1-v1_5", rsaPublicKey2.publicKey, parsedSignature.sig1, new TextEncoder().encode(signatureBase));
|
384
|
+
const signatureVerified = await crypto.subtle.verify("RSASSA-PKCS1-v1_5", rsaPublicKey2.publicKey, parsedSignature.sig1.slice(), new TextEncoder().encode(signatureBase));
|
385
385
|
assert(signatureVerified, "Manual verification of POST signature should succeed");
|
386
386
|
});
|
387
387
|
test("verifyRequest() [rfc9421] error cases and edge cases", async () => {
|
package/dist/sig/key.test.js
CHANGED
@@ -3,20 +3,20 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, Multikey } from "../type-
|
6
|
+
import { CryptographicKey, Multikey } from "../type-BKY_LVaq.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import "../lookup-
|
11
|
-
import "../actor-
|
12
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
14
|
-
import "../std__assert-
|
15
|
-
import { assertRejects } from "../assert_rejects-
|
16
|
-
import "../assert_is_error-
|
17
|
-
import "../assert_not_equals-
|
18
|
-
import { assertThrows } from "../assert_throws-
|
19
|
-
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
10
|
+
import "../lookup-C7LsgCJN.js";
|
11
|
+
import "../actor-DhgsJz-4.js";
|
12
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-BPlyixfT.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-CakwOL23.js";
|
14
|
+
import "../std__assert-DWivtrGR.js";
|
15
|
+
import { assertRejects } from "../assert_rejects-7UF4R_Qs.js";
|
16
|
+
import "../assert_is_error-B035L3om.js";
|
17
|
+
import "../assert_not_equals-C80BG-_5.js";
|
18
|
+
import { assertThrows } from "../assert_throws-53_pKeP3.js";
|
19
|
+
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-DJSYNKDA.js";
|
20
20
|
|
21
21
|
//#region src/sig/key.test.ts
|
22
22
|
test("validateCryptoKey()", async () => {
|
package/dist/sig/ld.test.js
CHANGED
@@ -3,18 +3,18 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey } from "../type-
|
6
|
+
import { CryptographicKey } from "../type-BKY_LVaq.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
|
-
import "../lookup-
|
10
|
-
import "../actor-
|
11
|
-
import { generateCryptoKeyPair } from "../key-
|
12
|
-
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
14
|
-
import { assertFalse, assertRejects } from "../assert_rejects-
|
15
|
-
import "../assert_is_error-
|
16
|
-
import { assertThrows } from "../assert_throws-
|
17
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
9
|
+
import "../lookup-C7LsgCJN.js";
|
10
|
+
import "../actor-DhgsJz-4.js";
|
11
|
+
import { generateCryptoKeyPair } from "../key-BPlyixfT.js";
|
12
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-CWJxBIBV.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-CakwOL23.js";
|
14
|
+
import { assertFalse, assertRejects } from "../assert_rejects-7UF4R_Qs.js";
|
15
|
+
import "../assert_is_error-B035L3om.js";
|
16
|
+
import { assertThrows } from "../assert_throws-53_pKeP3.js";
|
17
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-DJSYNKDA.js";
|
18
18
|
import { encodeBase64 } from "byte-encodings/base64";
|
19
19
|
|
20
20
|
//#region src/sig/ld.test.ts
|
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-C5a95do5.js";
|
6
|
+
import "../actor-BYk33gpL.js";
|
7
|
+
import "../lookup-BnXYO054.js";
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-5IrrMBg5.js";
|
9
|
+
import { signRequest, verifyRequest } from "../http-JY6wHpzI.js";
|
10
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-WqatqDcH.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
@@ -3,21 +3,21 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Create } from "../type-
|
6
|
+
import { Create } from "../type-BKY_LVaq.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import { lookupObject } from "../lookup-
|
11
|
-
import "../actor-
|
12
|
-
import "../key-
|
13
|
-
import { doesActorOwnKey, getKeyOwner } from "../owner-
|
14
|
-
import { mockDocumentLoader, test } from "../testing-
|
15
|
-
import "../std__assert-
|
16
|
-
import { assertFalse } from "../assert_rejects-
|
17
|
-
import "../assert_is_error-
|
18
|
-
import "../assert_not_equals-
|
19
|
-
import "../assert_throws-
|
20
|
-
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-
|
10
|
+
import { lookupObject } from "../lookup-C7LsgCJN.js";
|
11
|
+
import "../actor-DhgsJz-4.js";
|
12
|
+
import "../key-BPlyixfT.js";
|
13
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-CM_3htrf.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-CakwOL23.js";
|
15
|
+
import "../std__assert-DWivtrGR.js";
|
16
|
+
import { assertFalse } from "../assert_rejects-7UF4R_Qs.js";
|
17
|
+
import "../assert_is_error-B035L3om.js";
|
18
|
+
import "../assert_not_equals-C80BG-_5.js";
|
19
|
+
import "../assert_throws-53_pKeP3.js";
|
20
|
+
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-DJSYNKDA.js";
|
21
21
|
|
22
22
|
//#region src/sig/owner.test.ts
|
23
23
|
test("doesActorOwnKey()", async () => {
|
package/dist/sig/proof.test.js
CHANGED
@@ -3,21 +3,21 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Create, DataIntegrityProof, Multikey, Note, Place, decode, importMultibaseKey } from "../type-
|
6
|
+
import { Create, DataIntegrityProof, Multikey, Note, Place, decode, importMultibaseKey } from "../type-BKY_LVaq.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../assert-MZs1qjMx.js";
|
9
9
|
import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import "../lookup-
|
11
|
-
import "../actor-
|
12
|
-
import "../key-
|
13
|
-
import { createProof, signObject, verifyObject, verifyProof } from "../proof-
|
14
|
-
import { mockDocumentLoader, test } from "../testing-
|
15
|
-
import "../std__assert-
|
16
|
-
import { assertRejects } from "../assert_rejects-
|
17
|
-
import "../assert_is_error-
|
18
|
-
import "../assert_not_equals-
|
19
|
-
import "../assert_throws-
|
20
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
10
|
+
import "../lookup-C7LsgCJN.js";
|
11
|
+
import "../actor-DhgsJz-4.js";
|
12
|
+
import "../key-BPlyixfT.js";
|
13
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-B13S28BP.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-CakwOL23.js";
|
15
|
+
import "../std__assert-DWivtrGR.js";
|
16
|
+
import { assertRejects } from "../assert_rejects-7UF4R_Qs.js";
|
17
|
+
import "../assert_is_error-B035L3om.js";
|
18
|
+
import "../assert_not_equals-C80BG-_5.js";
|
19
|
+
import "../assert_throws-53_pKeP3.js";
|
20
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-DJSYNKDA.js";
|
21
21
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
22
22
|
|
23
23
|
//#region src/sig/proof.test.ts
|
@@ -3,17 +3,17 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-BKY_LVaq.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import "../lookup-
|
11
|
-
import { mockDocumentLoader, test } from "../testing-
|
12
|
-
import "../std__assert-
|
13
|
-
import "../assert_rejects-
|
14
|
-
import "../assert_is_error-
|
15
|
-
import "../assert_not_equals-
|
16
|
-
import "../assert_throws-
|
10
|
+
import "../lookup-C7LsgCJN.js";
|
11
|
+
import { mockDocumentLoader, test } from "../testing-CakwOL23.js";
|
12
|
+
import "../std__assert-DWivtrGR.js";
|
13
|
+
import "../assert_rejects-7UF4R_Qs.js";
|
14
|
+
import "../assert_is_error-B035L3om.js";
|
15
|
+
import "../assert_not_equals-C80BG-_5.js";
|
16
|
+
import "../assert_throws-53_pKeP3.js";
|
17
17
|
|
18
18
|
//#region src/testing/docloader.test.ts
|
19
19
|
test("mockDocumentLoader()", async () => {
|
package/dist/testing/mod.d.ts
CHANGED
@@ -70,32 +70,6 @@ interface GetUserAgentOptions {
|
|
70
70
|
* @since 1.3.0
|
71
71
|
*/
|
72
72
|
//#endregion
|
73
|
-
//#region src/nodeinfo/semver.d.ts
|
74
|
-
/**
|
75
|
-
* A SemVer object parsed into its constituent parts.
|
76
|
-
* @since 1.2.0
|
77
|
-
*/
|
78
|
-
interface SemVer {
|
79
|
-
/** The major version */
|
80
|
-
major: number;
|
81
|
-
/** The minor version */
|
82
|
-
minor: number;
|
83
|
-
/** The patch version */
|
84
|
-
patch: number;
|
85
|
-
/**
|
86
|
-
* The prerelease version
|
87
|
-
*
|
88
|
-
* @default {[]}
|
89
|
-
*/
|
90
|
-
prerelease?: (string | number)[];
|
91
|
-
/**
|
92
|
-
* The build metadata
|
93
|
-
*
|
94
|
-
* @default {[]}
|
95
|
-
*/
|
96
|
-
build?: string[];
|
97
|
-
}
|
98
|
-
//#endregion
|
99
73
|
//#region src/nodeinfo/types.d.ts
|
100
74
|
/**
|
101
75
|
* The type of the result of parsing JSON.
|
@@ -145,9 +119,8 @@ interface Software {
|
|
145
119
|
name: string;
|
146
120
|
/**
|
147
121
|
* The version of this server software.
|
148
|
-
* @see {@link parseSemVer}
|
149
122
|
*/
|
150
|
-
version:
|
123
|
+
version: string;
|
151
124
|
/**
|
152
125
|
* The URL of the source code repository of this server software.
|
153
126
|
*/
|
package/dist/testing/mod.js
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
7
|
-
import "../lookup-
|
8
|
-
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-
|
6
|
+
import "../type-BKY_LVaq.js";
|
7
|
+
import "../lookup-C7LsgCJN.js";
|
8
|
+
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-CakwOL23.js";
|
9
9
|
|
10
10
|
export { createInboxContext, createRequestContext, test, testDefinitions };
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { __require, lookupWebFinger } from "./type-
|
7
|
-
import { RouterError, lookupObject, traverseCollection } from "./lookup-
|
6
|
+
import { __require, lookupWebFinger } from "./type-BKY_LVaq.js";
|
7
|
+
import { RouterError, lookupObject, traverseCollection } from "./lookup-C7LsgCJN.js";
|
8
8
|
import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
|
9
9
|
import { trace } from "@opentelemetry/api";
|
10
10
|
|