@fedify/fedify 1.9.2-dev.1890 → 1.9.3
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-C2kxp5Fl.cjs → actor-DI8IbUF8.cjs} +187 -187
- package/dist/{actor-LJkP7iVc.js → actor-DbFByrMf.js} +187 -187
- package/dist/{actor-DyfGDQJB.js → actor-iYbm4aQ-.js} +1 -1
- package/dist/{authdocloader-Djn6Z8TB.js → authdocloader-DjQmVALO.js} +3 -3
- package/dist/{authdocloader-DaFhFZWS.cjs → authdocloader-DtsY1Uq8.cjs} +3 -3
- package/dist/{authdocloader-8jtTmnjn.js → authdocloader-R4CcnPXT.js} +3 -3
- package/dist/{builder-DG1srBKu.js → builder-B7n1LpUn.js} +4 -4
- package/dist/{client-Dq-zkC8Y.js → client-UyXATd3z.js} +1 -1
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{docloader-B_A2nB2W.js → docloader-69yVXU46.js} +30 -21
- package/dist/{docloader-Uh0ciwr4.cjs → docloader-CrKODJqd.cjs} +30 -21
- package/dist/{esm-D-py171v.js → esm-BR76iLi6.js} +1 -1
- package/dist/federation/builder.test.js +5 -5
- package/dist/federation/collection.test.js +3 -3
- package/dist/federation/handler.test.js +17 -17
- package/dist/federation/idempotency.test.js +17 -17
- package/dist/federation/inbox.test.js +4 -4
- package/dist/federation/keycache.test.js +4 -4
- package/dist/federation/kv.test.js +3 -3
- package/dist/federation/middleware.test.js +18 -18
- package/dist/federation/mod.cjs +10 -10
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.js +3 -3
- package/dist/federation/retry.test.js +3 -3
- package/dist/federation/router.test.js +3 -3
- package/dist/federation/send.test.js +10 -10
- package/dist/{http-DNoRdF3N.cjs → http-DJ4gYZQA.cjs} +3 -3
- package/dist/{http-CJ7SfCok.js → http-DodYCfzg.js} +3 -3
- package/dist/{http-jrUnvC1R.js → http-O7-fNqws.js} +2 -2
- package/dist/{inbox-C3N4s1QJ.js → inbox-D3aFvhBV.js} +1 -1
- package/dist/{key-CtByaj7Q.js → key-4sDr0hIf.js} +4 -4
- package/dist/key-B_XFcx-2.cjs +10 -0
- package/dist/{key-CAH7GCWj.js → key-CHJTHOIP.js} +2 -2
- package/dist/{key-D-Vs5Xls.js → key-Cs9EsPd7.js} +3 -3
- package/dist/{key-Ci7FKLpn.js → key-Cxwp-Wc9.js} +2 -2
- package/dist/{key-CkxzRYsV.cjs → key-cnQa6cjH.cjs} +2 -2
- package/dist/{keycache-CEs327f0.js → keycache-CJzT6JVZ.js} +1 -1
- package/dist/{keys-BgYAMY7I.js → keys-BxylN5h6.js} +1 -1
- package/dist/{ld-CF-_Iv3N.js → ld-BjXCqsYT.js} +2 -2
- package/dist/{lookup-BqEeMRXW.cjs → lookup-B17tKBNu.cjs} +1 -1
- package/dist/{lookup-BA3bNgf4.js → lookup-B4LuRdZ0.js} +1 -1
- package/dist/{lookup-DqmSkJVj.js → lookup-CUgGXbq0.js} +1 -1
- package/dist/middleware-BETbLjyn.cjs +17 -0
- package/dist/{middleware-8Utrfm2B.js → middleware-CUWKimyZ.js} +13 -13
- package/dist/middleware-CfzS7u_F.js +17 -0
- package/dist/{middleware-DFDGXfT5.js → middleware-CplMLehu.js} +10 -10
- package/dist/middleware-Cq6kOKVB.js +26 -0
- package/dist/{middleware-BhU7xqzl.cjs → middleware-DtcFe5Dc.cjs} +10 -10
- package/dist/mod.cjs +10 -10
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +5 -5
- package/dist/nodeinfo/handler.test.js +16 -16
- package/dist/nodeinfo/mod.cjs +2 -2
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +3 -3
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/{owner-D2N6v5Gm.js → owner-CrHwjWNW.js} +2 -2
- package/dist/{proof-GwNAN3ln.js → proof-DQ5r_YOf.js} +2 -2
- package/dist/{proof-XCcYDcHk.js → proof-DnQcSoPU.js} +3 -3
- package/dist/{proof-CbitzfgJ.cjs → proof-PJUxg7xU.cjs} +3 -3
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +16 -5
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/langstr.test.js +3 -3
- package/dist/runtime/link.test.js +3 -3
- package/dist/runtime/mod.cjs +6 -6
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/{send-D_f3mgyD.js → send--ZTXG8E1.js} +2 -2
- package/dist/sig/http.test.js +8 -8
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.cjs +6 -6
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +7 -7
- package/dist/sig/proof.test.js +7 -7
- package/dist/testing/docloader.test.js +3 -3
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-hVeFvsZ9.js → testing-DrJgQvWR.js} +2 -2
- package/dist/{type-CfrcT6D9.js → type-WTbw_6r2.js} +217 -208
- package/dist/{types-apcavnI7.js → types-BAT5en6S.js} +1 -1
- package/dist/{types-DvsdrWOg.cjs → types-C0EEW1Jc.cjs} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.cjs +4 -4
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +4 -4
- package/dist/{vocab-DGzlpjfi.js → vocab-B4uz2kDA.js} +3 -3
- package/dist/{vocab-0FCIW9qL.cjs → vocab-ukvEebUZ.cjs} +3 -3
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.cjs +2 -2
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/package.json +1 -1
- package/dist/key-CEK-2eTr.cjs +0 -10
- package/dist/middleware-BQ3VcPQj.js +0 -17
- package/dist/middleware-BxBgtIG4.js +0 -26
- package/dist/middleware-UJYNu-kk.cjs +0 -17
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../type-
|
|
6
|
+
import "../type-WTbw_6r2.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
10
|
import "../semver-dArNLkR9.js";
|
|
11
|
-
import "../lookup-
|
|
11
|
+
import "../lookup-B4LuRdZ0.js";
|
|
12
12
|
import { nodeInfoToJson } from "../types-BIgY6c-l.js";
|
|
13
|
-
import { test } from "../testing-
|
|
13
|
+
import { test } from "../testing-DrJgQvWR.js";
|
|
14
14
|
import "../std__assert-X-_kMxKM.js";
|
|
15
15
|
import "../assert_rejects-DiIiJbZn.js";
|
|
16
16
|
import "../assert_is_error-BPGph1Jx.js";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { CryptographicKey, Object as Object$1, getDocumentLoader } from "./type-
|
|
7
|
-
import { isActor } from "./actor-
|
|
6
|
+
import { CryptographicKey, Object as Object$1, getDocumentLoader } from "./type-WTbw_6r2.js";
|
|
7
|
+
import { isActor } from "./actor-iYbm4aQ-.js";
|
|
8
8
|
import { trace } from "@opentelemetry/api";
|
|
9
9
|
|
|
10
10
|
//#region src/sig/owner.ts
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { Activity, DataIntegrityProof, Multikey, deno_default, getTypeId } from "./type-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
6
|
+
import { Activity, DataIntegrityProof, Multikey, deno_default, getTypeId } from "./type-WTbw_6r2.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-Cxwp-Wc9.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
import { encodeHex } from "byte-encodings/hex";
|
|
@@ -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 { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
5
|
+
import { deno_default, getDocumentLoader } from "./docloader-69yVXU46.js";
|
|
6
|
+
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-DbFByrMf.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-CHJTHOIP.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
import jsonld from "jsonld";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
5
|
const require_chunk = require('./chunk-DqRYRqnO.cjs');
|
|
6
|
-
const require_docloader = require('./docloader-
|
|
7
|
-
const require_actor = require('./actor-
|
|
8
|
-
const require_key = require('./key-
|
|
6
|
+
const require_docloader = require('./docloader-CrKODJqd.cjs');
|
|
7
|
+
const require_actor = require('./actor-DI8IbUF8.cjs');
|
|
8
|
+
const require_key = require('./key-cnQa6cjH.cjs');
|
|
9
9
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
|
10
10
|
const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
|
|
11
11
|
const jsonld = require_chunk.__toESM(require("jsonld"));
|
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { UrlError } from "../type-
|
|
6
|
+
import { UrlError } from "../type-WTbw_6r2.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 "../key-
|
|
13
|
-
import { verifyRequest } from "../http-
|
|
14
|
-
import { getAuthenticatedDocumentLoader } from "../authdocloader-
|
|
15
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
10
|
+
import "../lookup-B4LuRdZ0.js";
|
|
11
|
+
import "../actor-iYbm4aQ-.js";
|
|
12
|
+
import "../key-Cxwp-Wc9.js";
|
|
13
|
+
import { verifyRequest } from "../http-O7-fNqws.js";
|
|
14
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-R4CcnPXT.js";
|
|
15
|
+
import { mockDocumentLoader, test } from "../testing-DrJgQvWR.js";
|
|
16
16
|
import "../std__assert-X-_kMxKM.js";
|
|
17
17
|
import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
|
18
18
|
import "../assert_is_error-BPGph1Jx.js";
|
|
19
19
|
import "../assert_not_equals-f3m3epl3.js";
|
|
20
20
|
import "../assert_throws-BOO88avQ.js";
|
|
21
|
-
import { rsaPrivateKey2 } from "../keys-
|
|
22
|
-
import { esm_default } from "../esm-
|
|
21
|
+
import { rsaPrivateKey2 } from "../keys-BxylN5h6.js";
|
|
22
|
+
import { esm_default } from "../esm-BR76iLi6.js";
|
|
23
23
|
|
|
24
24
|
//#region src/runtime/authdocloader.test.ts
|
|
25
25
|
test("getAuthenticatedDocumentLoader()", async (t) => {
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { FetchError, UrlError, contexts_default, deno_default, getDocumentLoader, getUserAgent, kvCache } from "../type-
|
|
6
|
+
import { FetchError, UrlError, contexts_default, deno_default, getDocumentLoader, getUserAgent, kvCache } from "../type-WTbw_6r2.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
|
-
import "../assert-MZs1qjMx.js";
|
|
8
|
+
import { assert } from "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
|
11
|
-
import "../lookup-
|
|
12
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
11
|
+
import "../lookup-B4LuRdZ0.js";
|
|
12
|
+
import { mockDocumentLoader, test } from "../testing-DrJgQvWR.js";
|
|
13
13
|
import "../std__assert-X-_kMxKM.js";
|
|
14
14
|
import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
|
15
15
|
import "../assert_is_error-BPGph1Jx.js";
|
|
16
16
|
import "../assert_not_equals-f3m3epl3.js";
|
|
17
17
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
|
18
|
-
import { esm_default } from "../esm-
|
|
18
|
+
import { esm_default } from "../esm-BR76iLi6.js";
|
|
19
19
|
import process from "node:process";
|
|
20
20
|
|
|
21
21
|
//#region src/runtime/docloader.test.ts
|
|
@@ -286,6 +286,17 @@ test("getDocumentLoader()", async (t) => {
|
|
|
286
286
|
assertEquals(await fetchDocumentLoader2("https://example.com/localhost-redirect"), expected);
|
|
287
287
|
assertEquals(await fetchDocumentLoader2("https://example.com/localhost-link"), expected);
|
|
288
288
|
});
|
|
289
|
+
const maliciousPayload = "<a" + " a=\"b\"".repeat(30) + " ";
|
|
290
|
+
esm_default.get("https://example.com/redos", {
|
|
291
|
+
body: maliciousPayload,
|
|
292
|
+
headers: { "Content-Type": "text/html; charset=utf-8" }
|
|
293
|
+
});
|
|
294
|
+
await t.step("ReDoS resistance (CVE-2025-68475)", async () => {
|
|
295
|
+
const start = performance.now();
|
|
296
|
+
await assertRejects(() => fetchDocumentLoader("https://example.com/redos"), SyntaxError);
|
|
297
|
+
const elapsed = performance.now() - start;
|
|
298
|
+
assert(elapsed < 1e3, `Potential ReDoS vulnerability detected: ${elapsed}ms (expected < 1000ms)`);
|
|
299
|
+
});
|
|
289
300
|
esm_default.hardReset();
|
|
290
301
|
});
|
|
291
302
|
test("kvCache()", async (t) => {
|
package/dist/runtime/key.test.js
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../type-
|
|
6
|
+
import { exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../type-WTbw_6r2.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, importJwk } from "../key-
|
|
13
|
-
import { test } from "../testing-
|
|
10
|
+
import "../lookup-B4LuRdZ0.js";
|
|
11
|
+
import "../actor-iYbm4aQ-.js";
|
|
12
|
+
import { exportJwk, importJwk } from "../key-Cxwp-Wc9.js";
|
|
13
|
+
import { test } from "../testing-DrJgQvWR.js";
|
|
14
14
|
import "../std__assert-X-_kMxKM.js";
|
|
15
15
|
import "../assert_rejects-DiIiJbZn.js";
|
|
16
16
|
import "../assert_is_error-BPGph1Jx.js";
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { LanguageString } from "../type-
|
|
6
|
+
import { LanguageString } from "../type-WTbw_6r2.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 { test } from "../testing-
|
|
10
|
+
import "../lookup-B4LuRdZ0.js";
|
|
11
|
+
import { test } from "../testing-DrJgQvWR.js";
|
|
12
12
|
import "../std__assert-X-_kMxKM.js";
|
|
13
13
|
import "../assert_rejects-DiIiJbZn.js";
|
|
14
14
|
import "../assert_is_error-BPGph1Jx.js";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { HttpHeaderLink } from "../type-
|
|
7
|
-
import "../lookup-
|
|
8
|
-
import { test } from "../testing-
|
|
6
|
+
import { HttpHeaderLink } from "../type-WTbw_6r2.js";
|
|
7
|
+
import "../lookup-B4LuRdZ0.js";
|
|
8
|
+
import { test } from "../testing-DrJgQvWR.js";
|
|
9
9
|
import { deepStrictEqual, throws } from "node:assert";
|
|
10
10
|
|
|
11
11
|
//#region src/runtime/link.test.ts
|
package/dist/runtime/mod.cjs
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
|
-
const require_docloader = require('../docloader-
|
|
6
|
-
const require_actor = require('../actor-
|
|
7
|
-
require('../lookup-
|
|
8
|
-
require('../key-
|
|
9
|
-
require('../http-
|
|
10
|
-
const require_authdocloader = require('../authdocloader-
|
|
5
|
+
const require_docloader = require('../docloader-CrKODJqd.cjs');
|
|
6
|
+
const require_actor = require('../actor-DI8IbUF8.cjs');
|
|
7
|
+
require('../lookup-B17tKBNu.cjs');
|
|
8
|
+
require('../key-cnQa6cjH.cjs');
|
|
9
|
+
require('../http-DJ4gYZQA.cjs');
|
|
10
|
+
const require_authdocloader = require('../authdocloader-DtsY1Uq8.cjs');
|
|
11
11
|
require('../runtime-C58AJWSv.cjs');
|
|
12
12
|
|
|
13
13
|
exports.FetchError = require_docloader.FetchError;
|
package/dist/runtime/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 { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "../docloader-
|
|
6
|
-
import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-
|
|
7
|
-
import "../lookup-
|
|
8
|
-
import "../key-
|
|
9
|
-
import "../http-
|
|
10
|
-
import { getAuthenticatedDocumentLoader } from "../authdocloader-
|
|
5
|
+
import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "../docloader-69yVXU46.js";
|
|
6
|
+
import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-DbFByrMf.js";
|
|
7
|
+
import "../lookup-CUgGXbq0.js";
|
|
8
|
+
import "../key-CHJTHOIP.js";
|
|
9
|
+
import "../http-DodYCfzg.js";
|
|
10
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-DjQmVALO.js";
|
|
11
11
|
import "../runtime-DPYEDf-o.js";
|
|
12
12
|
|
|
13
13
|
export { FetchError, LanguageString, exportMultibaseKey, exportSpki, fetchDocumentLoader, getAuthenticatedDocumentLoader, getDocumentLoader, getUserAgent, importMultibaseKey, importPem, importPkcs1, importSpki, kvCache };
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { codes, decode, decodeText, encode, encodeText, names } from "../../type-
|
|
6
|
+
import { codes, decode, decodeText, encode, encodeText, names } from "../../type-WTbw_6r2.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 { test } from "../../testing-
|
|
10
|
+
import "../../lookup-B4LuRdZ0.js";
|
|
11
|
+
import { test } from "../../testing-DrJgQvWR.js";
|
|
12
12
|
import "../../std__assert-X-_kMxKM.js";
|
|
13
13
|
import "../../assert_rejects-DiIiJbZn.js";
|
|
14
14
|
import "../../assert_is_error-BPGph1Jx.js";
|
package/dist/runtime/url.test.js
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { UrlError, expandIPv6Address, isValidPublicIPv4Address, isValidPublicIPv6Address, validatePublicUrl } from "../type-
|
|
6
|
+
import { UrlError, expandIPv6Address, isValidPublicIPv4Address, isValidPublicIPv6Address, validatePublicUrl } from "../type-WTbw_6r2.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
|
9
|
-
import "../lookup-
|
|
10
|
-
import { test } from "../testing-
|
|
9
|
+
import "../lookup-B4LuRdZ0.js";
|
|
10
|
+
import { test } from "../testing-DrJgQvWR.js";
|
|
11
11
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
|
12
12
|
import "../assert_is_error-BPGph1Jx.js";
|
|
13
13
|
|
|
@@ -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-WTbw_6r2.js";
|
|
7
|
+
import { doubleKnock } from "./http-O7-fNqws.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-WTbw_6r2.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-
|
|
10
|
+
import "../lookup-B4LuRdZ0.js";
|
|
11
|
+
import "../actor-iYbm4aQ-.js";
|
|
12
|
+
import { exportJwk } from "../key-Cxwp-Wc9.js";
|
|
13
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-O7-fNqws.js";
|
|
14
|
+
import { mockDocumentLoader, test } from "../testing-DrJgQvWR.js";
|
|
15
15
|
import { assertExists, assertStringIncludes } from "../std__assert-X-_kMxKM.js";
|
|
16
16
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
|
17
17
|
import "../assert_is_error-BPGph1Jx.js";
|
|
18
18
|
import "../assert_not_equals-f3m3epl3.js";
|
|
19
19
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
|
20
|
-
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-
|
|
21
|
-
import { esm_default } from "../esm-
|
|
20
|
+
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-BxylN5h6.js";
|
|
21
|
+
import { esm_default } from "../esm-BR76iLi6.js";
|
|
22
22
|
import { encodeBase64 } from "byte-encodings/base64";
|
|
23
23
|
|
|
24
24
|
//#region src/sig/http.test.ts
|
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-WTbw_6r2.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-
|
|
10
|
+
import "../lookup-B4LuRdZ0.js";
|
|
11
|
+
import "../actor-iYbm4aQ-.js";
|
|
12
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-Cxwp-Wc9.js";
|
|
13
|
+
import { mockDocumentLoader, test } from "../testing-DrJgQvWR.js";
|
|
14
14
|
import "../std__assert-X-_kMxKM.js";
|
|
15
15
|
import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
|
16
16
|
import "../assert_is_error-BPGph1Jx.js";
|
|
17
17
|
import "../assert_not_equals-f3m3epl3.js";
|
|
18
18
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
|
19
|
-
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
|
19
|
+
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-BxylN5h6.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-WTbw_6r2.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-
|
|
9
|
+
import "../lookup-B4LuRdZ0.js";
|
|
10
|
+
import "../actor-iYbm4aQ-.js";
|
|
11
|
+
import { generateCryptoKeyPair } from "../key-Cxwp-Wc9.js";
|
|
12
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-BjXCqsYT.js";
|
|
13
|
+
import { mockDocumentLoader, test } from "../testing-DrJgQvWR.js";
|
|
14
14
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
|
15
15
|
import "../assert_is_error-BPGph1Jx.js";
|
|
16
16
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
|
17
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
|
17
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-BxylN5h6.js";
|
|
18
18
|
import { encodeBase64 } from "byte-encodings/base64";
|
|
19
19
|
|
|
20
20
|
//#region src/sig/ld.test.ts
|
package/dist/sig/mod.cjs
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
|
-
require('../docloader-
|
|
6
|
-
require('../actor-
|
|
7
|
-
require('../lookup-
|
|
8
|
-
const require_key = require('../key-
|
|
9
|
-
const require_http = require('../http-
|
|
10
|
-
const require_proof = require('../proof-
|
|
5
|
+
require('../docloader-CrKODJqd.cjs');
|
|
6
|
+
require('../actor-DI8IbUF8.cjs');
|
|
7
|
+
require('../lookup-B17tKBNu.cjs');
|
|
8
|
+
const require_key = require('../key-cnQa6cjH.cjs');
|
|
9
|
+
const require_http = require('../http-DJ4gYZQA.cjs');
|
|
10
|
+
const require_proof = require('../proof-PJUxg7xU.cjs');
|
|
11
11
|
require('../sig-ByHXzqUi.cjs');
|
|
12
12
|
|
|
13
13
|
exports.attachSignature = require_proof.attachSignature;
|
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-69yVXU46.js";
|
|
6
|
+
import "../actor-DbFByrMf.js";
|
|
7
|
+
import "../lookup-CUgGXbq0.js";
|
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-CHJTHOIP.js";
|
|
9
|
+
import { signRequest, verifyRequest } from "../http-DodYCfzg.js";
|
|
10
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-DnQcSoPU.js";
|
|
11
11
|
import "../sig-Cj3tk-ig.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-WTbw_6r2.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-
|
|
10
|
+
import { lookupObject } from "../lookup-B4LuRdZ0.js";
|
|
11
|
+
import "../actor-iYbm4aQ-.js";
|
|
12
|
+
import "../key-Cxwp-Wc9.js";
|
|
13
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-CrHwjWNW.js";
|
|
14
|
+
import { mockDocumentLoader, test } from "../testing-DrJgQvWR.js";
|
|
15
15
|
import "../std__assert-X-_kMxKM.js";
|
|
16
16
|
import { assertFalse } from "../assert_rejects-DiIiJbZn.js";
|
|
17
17
|
import "../assert_is_error-BPGph1Jx.js";
|
|
18
18
|
import "../assert_not_equals-f3m3epl3.js";
|
|
19
19
|
import "../assert_throws-BOO88avQ.js";
|
|
20
|
-
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-
|
|
20
|
+
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-BxylN5h6.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-WTbw_6r2.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-
|
|
10
|
+
import "../lookup-B4LuRdZ0.js";
|
|
11
|
+
import "../actor-iYbm4aQ-.js";
|
|
12
|
+
import "../key-Cxwp-Wc9.js";
|
|
13
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-DQ5r_YOf.js";
|
|
14
|
+
import { mockDocumentLoader, test } from "../testing-DrJgQvWR.js";
|
|
15
15
|
import "../std__assert-X-_kMxKM.js";
|
|
16
16
|
import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
|
17
17
|
import "../assert_is_error-BPGph1Jx.js";
|
|
18
18
|
import "../assert_not_equals-f3m3epl3.js";
|
|
19
19
|
import "../assert_throws-BOO88avQ.js";
|
|
20
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
|
20
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-BxylN5h6.js";
|
|
21
21
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
|
22
22
|
|
|
23
23
|
//#region src/sig/proof.test.ts
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../type-
|
|
6
|
+
import "../type-WTbw_6r2.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-
|
|
10
|
+
import "../lookup-B4LuRdZ0.js";
|
|
11
|
+
import { mockDocumentLoader, test } from "../testing-DrJgQvWR.js";
|
|
12
12
|
import "../std__assert-X-_kMxKM.js";
|
|
13
13
|
import "../assert_rejects-DiIiJbZn.js";
|
|
14
14
|
import "../assert_is_error-BPGph1Jx.js";
|
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-WTbw_6r2.js";
|
|
7
|
+
import "../lookup-B4LuRdZ0.js";
|
|
8
|
+
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-DrJgQvWR.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-WTbw_6r2.js";
|
|
7
|
+
import { RouterError, lookupObject, traverseCollection } from "./lookup-B4LuRdZ0.js";
|
|
8
8
|
import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
|
|
9
9
|
import { trace } from "@opentelemetry/api";
|
|
10
10
|
|