@fedify/fedify 2.0.0-dev.1566 → 2.0.0-dev.1604
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-BKxX_F1w.js → actor-BC3XtGTj.js} +191 -190
- package/dist/{actor-DI_YpFlI.js → actor-CmRlosMl.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-BilVqAPe.js → authdocloader-CzpPQC01.js} +3 -3
- package/dist/{authdocloader-UdvnssIx.js → authdocloader-D-DICGXT.js} +3 -3
- package/dist/{builder-B2I70zuM.js → builder-D9zidAqR.js} +4 -4
- package/dist/{client-BVDUd3WA.js → client-Bsj0vQPr.js} +3 -22
- 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-4XS4XdXc.js → docloader-CkASOfZ5.js} +1 -1
- package/dist/{esm-eH43VACi.js → esm-CXF1VoeR.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-Cdjyj7h1.js → http-B_pxY5of.js} +4 -4
- package/dist/{http-BE2S7wC2.js → http-CSYNybkH.js} +3 -3
- package/dist/{inbox-CtcEN1S1.js → inbox-DoJlwIE4.js} +1 -1
- package/dist/{key-q4xxkABj.js → key-BOzqiGbl.js} +2 -2
- package/dist/{key-C2_QSigr.js → key-Bif4eMj7.js} +2 -2
- package/dist/{key-Ck2-lYS5.js → key-BteSu1lX.js} +4 -4
- package/dist/{key-II1NsE_S.js → key-DWWqeyaq.js} +3 -3
- package/dist/{keycache-CtCHz6HR.js → keycache--NYDYifd.js} +1 -1
- package/dist/{keys-BiuLoxwK.js → keys-MacD9GP6.js} +1 -1
- package/dist/{ld-PkXepnwg.js → ld-D9oTBLrs.js} +4 -4
- package/dist/{lookup-DVlWgAsd.js → lookup-Cz9VSYxw.js} +1 -1
- package/dist/{lookup-DCIN2EFw.js → lookup-DuzrBbTj.js} +1 -1
- package/dist/{middleware-HDts7zkt.js → middleware-C0w2M0tb.js} +10 -10
- package/dist/middleware-CNfiKLIZ.js +25 -0
- package/dist/{middleware-BQHcEUgM.js → middleware-CgNm3XOJ.js} +16 -16
- package/dist/middleware-CnvU63kV.js +17 -0
- 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-DZ5zP8JS.js → owner-gB-pDKA-.js} +2 -2
- package/dist/{proof-ohtusUSV.js → proof-CScVkkIT.js} +3 -3
- package/dist/{proof-D8S7qgEZ.js → proof-VPikK_0V.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-BBi1tzS8.js → send-flZ7H10-.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-CWE5Nn0S.js → testing-CdBSI4xF.js} +2 -2
- package/dist/{type-B7_rMIU9.js → type-CAteiET0.js} +190 -189
- package/dist/{types-BIgY6c-l.js → types-BSuWJsOm.js} +1 -3
- package/dist/{types-CTYFFnQp.js → types-Vo0qKhN7.js} +5 -166
- 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-3Eie7Ze4.js → vocab-89qErSc9.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-CTQfgVW8.js +0 -17
- package/dist/middleware-D3rOl6Au.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-CAteiET0.js";
|
7
|
+
import { doubleKnock } from "./http-CSYNybkH.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-CAteiET0.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-DuzrBbTj.js";
|
11
|
+
import "../actor-CmRlosMl.js";
|
12
|
+
import { exportJwk } from "../key-BOzqiGbl.js";
|
13
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-CSYNybkH.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-CdBSI4xF.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-MacD9GP6.js";
|
21
|
+
import { esm_default } from "../esm-CXF1VoeR.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-CAteiET0.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-DuzrBbTj.js";
|
11
|
+
import "../actor-CmRlosMl.js";
|
12
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-BOzqiGbl.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-CdBSI4xF.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-MacD9GP6.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-CAteiET0.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-DuzrBbTj.js";
|
10
|
+
import "../actor-CmRlosMl.js";
|
11
|
+
import { generateCryptoKeyPair } from "../key-BOzqiGbl.js";
|
12
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-D9oTBLrs.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-CdBSI4xF.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-MacD9GP6.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-CkASOfZ5.js";
|
6
|
+
import "../actor-BC3XtGTj.js";
|
7
|
+
import "../lookup-Cz9VSYxw.js";
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-Bif4eMj7.js";
|
9
|
+
import { signRequest, verifyRequest } from "../http-B_pxY5of.js";
|
10
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-VPikK_0V.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-CAteiET0.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-DuzrBbTj.js";
|
11
|
+
import "../actor-CmRlosMl.js";
|
12
|
+
import "../key-BOzqiGbl.js";
|
13
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-gB-pDKA-.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-CdBSI4xF.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-MacD9GP6.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-CAteiET0.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-DuzrBbTj.js";
|
11
|
+
import "../actor-CmRlosMl.js";
|
12
|
+
import "../key-BOzqiGbl.js";
|
13
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-CScVkkIT.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-CdBSI4xF.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-MacD9GP6.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-CAteiET0.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-DuzrBbTj.js";
|
11
|
+
import { mockDocumentLoader, test } from "../testing-CdBSI4xF.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-CAteiET0.js";
|
7
|
+
import "../lookup-DuzrBbTj.js";
|
8
|
+
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-CdBSI4xF.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-CAteiET0.js";
|
7
|
+
import { RouterError, lookupObject, traverseCollection } from "./lookup-DuzrBbTj.js";
|
8
8
|
import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
|
9
9
|
import { trace } from "@opentelemetry/api";
|
10
10
|
|