@fedify/fedify 1.7.5 → 1.8.0-dev.1004
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/LICENSE +20 -0
- package/README.md +33 -0
- package/dist/{actor-CPpvuBKU.d.ts → actor-B4TBtqRP.d.ts} +2 -2
- package/dist/{actor-CKXuhyRT.js → actor-B8rWDIpt.js} +179 -179
- package/dist/{actor-D-zfQLAH.js → actor-BhtR21im.js} +3 -3
- package/dist/{assert-0DSnLFa8.js → assert-DwEa6glZ.js} +2 -2
- package/dist/{assert_equals-XhPMqqO2.js → assert_equals-C5gKCm6A.js} +10 -22
- package/dist/{assert_instance_of-v5adm_-K.js → assert_instance_of-C9QtN-X9.js} +2 -2
- package/dist/{assert_is_error-Drwb_yQp.js → assert_is_error-DQdKoRgb.js} +2 -2
- package/dist/{assert_not_equals-BRPdeJ9D.js → assert_not_equals-7pyUM3Ib.js} +2 -2
- package/dist/{assert_rejects-D_nYI1gs.js → assert_rejects-DceVjUlD.js} +4 -4
- package/dist/{assert_throws-DNuPhPNp.js → assert_throws-DTDC_gwN.js} +3 -3
- package/dist/{authdocloader-81r40Meg.js → authdocloader-BBgKyZzE.js} +3 -3
- package/dist/{authdocloader-CFk80WJv.js → authdocloader-DQMD_u9c.js} +3 -3
- package/dist/{builder-Cmn0cpiZ.js → builder-nFrxCtz7.js} +4 -4
- package/dist/{client-DvtwXO7t.d.ts → client-BQ4AQGKo.d.ts} +1 -1
- package/dist/{client-CuYHcL1K.js → client-BxityXSf.js} +1 -1
- package/dist/compat/mod.d.ts +11 -11
- package/dist/compat/transformers.test.js +22 -22
- package/dist/{context-CFiKyaR_.js → context-CXAND7La.js} +3 -3
- package/dist/{context-DPggmpB4.d.ts → context-CrSyJrIa.d.ts} +9 -9
- package/dist/{denokv-CvROlGYX.js → denokv-QWKsIqML.js} +2 -0
- package/dist/{docloader-BLY7GyoJ.js → docloader-BBuvib5r.js} +5 -13
- package/dist/{docloader-Ck2GBnC3.js → docloader-BOETVu4C.js} +5 -13
- package/dist/{docloader-Q42SMRIB.d.ts → docloader-BeCtcTOJ.d.ts} +1 -1
- package/dist/{esm-CASHO3OR.js → esm-d-9EVGaP.js} +14 -14
- package/dist/federation/builder.test.js +14 -14
- package/dist/federation/collection.test.js +8 -8
- package/dist/federation/handler.test.js +29 -29
- package/dist/federation/inbox.test.js +6 -6
- package/dist/federation/keycache.test.js +7 -7
- package/dist/federation/kv.test.js +21 -9
- package/dist/federation/middleware.test.js +644 -630
- package/dist/federation/mod.d.ts +10 -10
- package/dist/federation/mod.js +11 -11
- package/dist/federation/mq.test.js +11 -11
- package/dist/federation/retry.test.js +2 -2
- package/dist/federation/router.test.js +9 -9
- package/dist/federation/send.test.js +18 -18
- package/dist/{federation-BRIQn-GV.js → federation-C44ekWNP.js} +28 -6
- package/dist/{http-Cmpdwx_X.js → http-C1-svcpM.js} +3 -3
- package/dist/{http-B6yJ2mAf.js → http-C9x3i-RK.js} +3 -3
- package/dist/{http-B8EiSgi2.d.ts → http-CP2ZUALI.d.ts} +2 -2
- package/dist/{inbox-CcAueP-r.js → inbox-C2GmfQ1g.js} +2 -2
- package/dist/{key-Cj0F3jFv.js → key-05pCylaT.js} +4 -4
- package/dist/{key-BAckFVRH.js → key-JaUZb56y.js} +3 -3
- package/dist/{key-rZ_Yr0Yr.js → key-oAsYNgzT.js} +5 -5
- package/dist/{key-D1uKqeD5.js → key-tZRswq7O.js} +2 -2
- package/dist/{keycache-Ce9ou6p4.js → keycache-B1zen2DS.js} +1 -1
- package/dist/{keys-DcrALCdq.js → keys-C31sOmby.js} +1 -1
- package/dist/{kv-BMY6Qf_A.js → kv-D7Yt6pnB.js} +22 -0
- package/dist/{kv-DRaeSXco.d.ts → kv-DDdb1hMa.d.ts} +14 -0
- package/dist/{ld-S8bkC8Cg.js → ld-BGqGxDyj.js} +3 -3
- package/dist/{lookup-DW0leLqq.js → lookup-DJfMTOeM.js} +62 -10
- package/dist/{lookup-CQ5H1v6m.js → lookup-DvZrDQLg.js} +4 -3
- package/dist/{lookup-Bf-K85bV.d.ts → lookup-J_m4YZg0.d.ts} +7 -1
- package/dist/{lookup-DNZf9_oN.js → lookup-amb8j2Ox.js} +4 -3
- package/dist/middleware-CdE8p_7k.js +33 -0
- package/dist/{middleware-CrCDov2d.js → middleware-DLbGu4zX.js} +16 -16
- package/dist/{middleware-Ba2-qvzk.js → middleware-DVMF563b.js} +11 -11
- package/dist/middleware-yCdQJqwz.js +17 -0
- package/dist/{mod-CDzlVCUF.d.ts → mod-BFwgZ7_K.d.ts} +77 -3
- package/dist/{mod-C2drFqH8.d.ts → mod-CytXBx8A.d.ts} +2 -2
- package/dist/{mod-sEI6_uZ2.d.ts → mod-D2uPZuP-.d.ts} +3 -3
- package/dist/{mod-CbjCOiVh.d.ts → mod-DpE8T10I.d.ts} +2 -2
- package/dist/mod.d.ts +14 -14
- package/dist/mod.js +12 -12
- package/dist/nodeinfo/client.test.js +11 -11
- package/dist/nodeinfo/handler.test.js +28 -28
- package/dist/nodeinfo/mod.d.ts +3 -3
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +8 -8
- package/dist/nodeinfo/types.test.js +8 -8
- package/dist/{owner-B5IFvDCy.js → owner-BGQ_0WQk.js} +3 -3
- package/dist/{owner-D0cOz8R5.d.ts → owner-CEv_PfyK.d.ts} +3 -3
- package/dist/{proof-C6nF-oYD.js → proof-DI6SC4hn.js} +3 -3
- package/dist/{proof-CnQWIl9G.js → proof-Dfuyj9YW.js} +3 -3
- package/dist/{router-D_aVZZUc.js → router-D3UybECj.js} +1 -1
- package/dist/runtime/authdocloader.test.js +17 -17
- package/dist/runtime/docloader.test.js +11 -11
- package/dist/runtime/key.test.js +13 -13
- package/dist/runtime/langstr.test.js +8 -8
- package/dist/runtime/mod.d.ts +5 -5
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +8 -8
- package/dist/runtime/url.test.js +4 -4
- package/dist/{send-IlYZ_CVt.js → send-COAVp7M6.js} +2 -2
- package/dist/sig/http.test.js +16 -16
- package/dist/sig/key.test.js +14 -14
- package/dist/sig/ld.test.js +12 -12
- package/dist/sig/mod.d.ts +7 -7
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +16 -16
- package/dist/sig/proof.test.js +15 -15
- package/dist/{std__assert-CmyZxqPw.js → std__assert-B3iAixc-.js} +6 -6
- package/dist/testing/docloader.test.js +8 -8
- package/dist/{types-BAIE7lzA.js → types-Dxdr_FU9.js} +1 -1
- package/dist/vocab/actor.test.js +197 -190
- package/dist/vocab/lookup.test.js +13 -13
- package/dist/vocab/mod.d.ts +6 -6
- package/dist/vocab/mod.js +5 -5
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +128 -110
- package/dist/{vocab-BdvvrpJb.js → vocab-Bc-l0Ex4.js} +84 -11
- package/dist/{vocab-CzEfWQk2.d.ts → vocab-By6mpzr-.d.ts} +1 -1
- package/dist/{vocab-Cs1Xg69m.js → vocab-CkWw9gLL.js} +178 -178
- package/dist/webfinger/handler.test.js +28 -28
- package/dist/webfinger/lookup.test.js +30 -12
- package/dist/webfinger/mod.d.ts +3 -3
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.d.ts +6 -1
- package/dist/x/cfworkers.js +5 -0
- package/dist/x/cfworkers.test.js +14 -9
- package/dist/x/hono.d.ts +10 -10
- package/dist/x/sveltekit.d.ts +10 -10
- package/package.json +7 -6
- package/dist/middleware-BBLmcWi8.js +0 -33
- package/dist/middleware-OQqgTYLn.js +0 -17
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default } from "./docloader-
|
7
|
-
import { Application, Group, Organization, Person, Service } from "./vocab-
|
8
|
-
import { lookupWebFinger } from "./lookup-
|
6
|
+
import { deno_default } from "./docloader-BBuvib5r.js";
|
7
|
+
import { Application, Group, Organization, Person, Service } from "./vocab-CkWw9gLL.js";
|
8
|
+
import { lookupWebFinger } from "./lookup-amb8j2Ox.js";
|
9
9
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
10
10
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
11
11
|
import { domainToASCII, domainToUnicode } from "node:url";
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { AssertionError } from "./assert_equals-
|
6
|
+
import { AssertionError } from "./assert_equals-C5gKCm6A.js";
|
7
7
|
|
8
|
-
//#region node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js
|
8
|
+
//#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js
|
9
9
|
/**
|
10
10
|
* Make an assertion, error will be thrown if `expr` does not have truthy value.
|
11
11
|
*
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
//#region node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assertion_error.js
|
6
|
+
//#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assertion_error.js
|
7
7
|
/**
|
8
8
|
* Error thrown when an assertion fails.
|
9
9
|
*
|
@@ -31,7 +31,7 @@
|
|
31
31
|
};
|
32
32
|
|
33
33
|
//#endregion
|
34
|
-
//#region node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/equal.js
|
34
|
+
//#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/equal.js
|
35
35
|
function isKeyedCollection(x) {
|
36
36
|
return [Symbol.iterator, "size"].every((k) => k in x);
|
37
37
|
}
|
@@ -105,7 +105,7 @@ function constructorsEqual(a, b) {
|
|
105
105
|
}
|
106
106
|
|
107
107
|
//#endregion
|
108
|
-
//#region node_modules/.pnpm/@jsr+std__internal@1.0.
|
108
|
+
//#region ../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/assertion_state.js
|
109
109
|
/**
|
110
110
|
* Check the test suite internal state
|
111
111
|
*
|
@@ -284,7 +284,7 @@ function constructorsEqual(a, b) {
|
|
284
284
|
const assertionState = new AssertionState();
|
285
285
|
|
286
286
|
//#endregion
|
287
|
-
//#region node_modules/.pnpm/@jsr+std__internal@1.0.
|
287
|
+
//#region ../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/styles.js
|
288
288
|
const { Deno } = globalThis;
|
289
289
|
const noColor = typeof Deno?.noColor === "boolean" ? Deno.noColor : false;
|
290
290
|
const enabled = !noColor;
|
@@ -451,7 +451,7 @@ const ANSI_PATTERN = new RegExp(["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-z
|
|
451
451
|
}
|
452
452
|
|
453
453
|
//#endregion
|
454
|
-
//#region node_modules/.pnpm/@jsr+std__internal@1.0.
|
454
|
+
//#region ../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/build_message.js
|
455
455
|
/**
|
456
456
|
* Colors the output of assertion diffs.
|
457
457
|
*
|
@@ -545,7 +545,7 @@ const ANSI_PATTERN = new RegExp(["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-z
|
|
545
545
|
}
|
546
546
|
|
547
547
|
//#endregion
|
548
|
-
//#region node_modules/.pnpm/@jsr+std__internal@1.0.
|
548
|
+
//#region ../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/diff.js
|
549
549
|
const REMOVED = 1;
|
550
550
|
const COMMON = 2;
|
551
551
|
const ADDED = 3;
|
@@ -814,7 +814,7 @@ const ADDED = 3;
|
|
814
814
|
}
|
815
815
|
|
816
816
|
//#endregion
|
817
|
-
//#region node_modules/.pnpm/@jsr+std__internal@1.0.
|
817
|
+
//#region ../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/diff_str.js
|
818
818
|
/**
|
819
819
|
* Unescape invisible characters.
|
820
820
|
*
|
@@ -955,7 +955,7 @@ const NON_WHITESPACE_REGEXP = /\S/;
|
|
955
955
|
}
|
956
956
|
|
957
957
|
//#endregion
|
958
|
-
//#region node_modules/.pnpm/@jsr+std__internal@1.0.
|
958
|
+
//#region ../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/format.js
|
959
959
|
/**
|
960
960
|
* Converts the input into a string. Objects, Sets and Maps are sorted so as to
|
961
961
|
* make tests less flaky.
|
@@ -987,19 +987,7 @@ const NON_WHITESPACE_REGEXP = /\S/;
|
|
987
987
|
}
|
988
988
|
|
989
989
|
//#endregion
|
990
|
-
//#region node_modules/.pnpm/@jsr+
|
991
|
-
function checkWindows() {
|
992
|
-
const global = globalThis;
|
993
|
-
const os = global.Deno?.build?.os;
|
994
|
-
return typeof os === "string" ? os === "windows" : global.navigator?.platform?.startsWith("Win") ?? global.process?.platform?.startsWith("win") ?? false;
|
995
|
-
}
|
996
|
-
|
997
|
-
//#endregion
|
998
|
-
//#region node_modules/.pnpm/@jsr+std__internal@1.0.9/node_modules/@jsr/std__internal/os.js
|
999
|
-
/** Whether the current platform is Windows */ const isWindows = checkWindows();
|
1000
|
-
|
1001
|
-
//#endregion
|
1002
|
-
//#region node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js
|
990
|
+
//#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js
|
1003
991
|
/**
|
1004
992
|
* Make an assertion that `actual` and `expected` are equal, deeply. If not
|
1005
993
|
* deeply equal, then throw.
|
@@ -1036,4 +1024,4 @@ function checkWindows() {
|
|
1036
1024
|
}
|
1037
1025
|
|
1038
1026
|
//#endregion
|
1039
|
-
export { AssertionError, assertEquals, buildMessage, diff, diffStr, equal, format,
|
1027
|
+
export { AssertionError, assertEquals, buildMessage, diff, diffStr, equal, format, red, stripAnsiCode };
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { AssertionError } from "./assert_equals-
|
6
|
+
import { AssertionError } from "./assert_equals-C5gKCm6A.js";
|
7
7
|
|
8
|
-
//#region node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js
|
8
|
+
//#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js
|
9
9
|
/**
|
10
10
|
* Make an assertion that `obj` is an instance of `type`.
|
11
11
|
* If not then throw.
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { AssertionError, stripAnsiCode } from "./assert_equals-
|
6
|
+
import { AssertionError, stripAnsiCode } from "./assert_equals-C5gKCm6A.js";
|
7
7
|
|
8
|
-
//#region node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_is_error.js
|
8
|
+
//#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_is_error.js
|
9
9
|
/**
|
10
10
|
* Make an assertion that `error` is an `Error`.
|
11
11
|
* If not then an error will be thrown.
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { AssertionError, equal } from "./assert_equals-
|
6
|
+
import { AssertionError, equal } from "./assert_equals-C5gKCm6A.js";
|
7
7
|
|
8
|
-
//#region node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_not_equals.js
|
8
|
+
//#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_not_equals.js
|
9
9
|
/**
|
10
10
|
* Make an assertion that `actual` and `expected` are not equal, deeply.
|
11
11
|
* If not then throw.
|
@@ -3,10 +3,10 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { AssertionError } from "./assert_equals-
|
7
|
-
import { assertIsError } from "./assert_is_error-
|
6
|
+
import { AssertionError } from "./assert_equals-C5gKCm6A.js";
|
7
|
+
import { assertIsError } from "./assert_is_error-DQdKoRgb.js";
|
8
8
|
|
9
|
-
//#region node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js
|
9
|
+
//#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js
|
10
10
|
/**
|
11
11
|
* Make an assertion, error will be thrown if `expr` have truthy value.
|
12
12
|
*
|
@@ -25,7 +25,7 @@ import { assertIsError } from "./assert_is_error-Drwb_yQp.js";
|
|
25
25
|
}
|
26
26
|
|
27
27
|
//#endregion
|
28
|
-
//#region node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js
|
28
|
+
//#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js
|
29
29
|
async function assertRejects(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
|
30
30
|
let ErrorClass = void 0;
|
31
31
|
let msgIncludes = void 0;
|
@@ -3,10 +3,10 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { AssertionError } from "./assert_equals-
|
7
|
-
import { assertIsError } from "./assert_is_error-
|
6
|
+
import { AssertionError } from "./assert_equals-C5gKCm6A.js";
|
7
|
+
import { assertIsError } from "./assert_is_error-DQdKoRgb.js";
|
8
8
|
|
9
|
-
//#region node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js
|
9
|
+
//#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js
|
10
10
|
function assertThrows(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
|
11
11
|
let ErrorClass = void 0;
|
12
12
|
let msgIncludes = void 0;
|
@@ -3,10 +3,10 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { createRequest, getRemoteDocument, logRequest } from "./docloader-
|
6
|
+
import { createRequest, getRemoteDocument, logRequest } from "./docloader-BBuvib5r.js";
|
7
7
|
import { UrlError, validatePublicUrl } from "./url-kTAI6_KP.js";
|
8
|
-
import { validateCryptoKey } from "./key-
|
9
|
-
import { doubleKnock } from "./http-
|
8
|
+
import { validateCryptoKey } from "./key-JaUZb56y.js";
|
9
|
+
import { doubleKnock } from "./http-C1-svcpM.js";
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
11
11
|
|
12
12
|
//#region runtime/authdocloader.ts
|
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./docloader-
|
6
|
-
import { validateCryptoKey } from "./key-
|
7
|
-
import { doubleKnock } from "./http-
|
5
|
+
import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./docloader-BOETVu4C.js";
|
6
|
+
import { validateCryptoKey } from "./key-tZRswq7O.js";
|
7
|
+
import { doubleKnock } from "./http-C9x3i-RK.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
|
10
10
|
//#region runtime/authdocloader.ts
|
@@ -3,10 +3,10 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default } from "./docloader-
|
7
|
-
import { Router, RouterError } from "./router-
|
6
|
+
import { deno_default } from "./docloader-BBuvib5r.js";
|
7
|
+
import { Router, RouterError } from "./router-D3UybECj.js";
|
8
8
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
9
|
-
import { InboxListenerSet } from "./inbox-
|
9
|
+
import { InboxListenerSet } from "./inbox-C2GmfQ1g.js";
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
11
11
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
12
12
|
|
@@ -34,7 +34,7 @@ var FederationBuilderImpl = class {
|
|
34
34
|
this.objectTypeIds = {};
|
35
35
|
}
|
36
36
|
async build(options) {
|
37
|
-
const { FederationImpl } = await import("./middleware-
|
37
|
+
const { FederationImpl } = await import("./middleware-CdE8p_7k.js");
|
38
38
|
const f = new FederationImpl(options);
|
39
39
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
40
40
|
f.router = this.router.clone();
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import { GetUserAgentOptions } from "./docloader-
|
3
|
+
import { GetUserAgentOptions } from "./docloader-BeCtcTOJ.js";
|
4
4
|
|
5
5
|
//#region nodeinfo/semver.d.ts
|
6
6
|
/**
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { getUserAgent } from "./docloader-
|
6
|
+
import { getUserAgent } from "./docloader-BBuvib5r.js";
|
7
7
|
import { parseSemVer } from "./semver-DWClQt_5.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
|
package/dist/compat/mod.d.ts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import "../kv-
|
4
|
-
import "../docloader-
|
5
|
-
import "../client-
|
6
|
-
import "../vocab-
|
7
|
-
import "../actor-
|
8
|
-
import "../http-
|
9
|
-
import "../owner-
|
10
|
-
import "../mod-
|
11
|
-
import "../lookup-
|
12
|
-
import { ActivityTransformer } from "../context-
|
3
|
+
import "../kv-DDdb1hMa.js";
|
4
|
+
import "../docloader-BeCtcTOJ.js";
|
5
|
+
import "../client-BQ4AQGKo.js";
|
6
|
+
import "../vocab-By6mpzr-.js";
|
7
|
+
import "../actor-B4TBtqRP.js";
|
8
|
+
import "../http-CP2ZUALI.js";
|
9
|
+
import "../owner-CEv_PfyK.js";
|
10
|
+
import "../mod-BFwgZ7_K.js";
|
11
|
+
import "../lookup-J_m4YZg0.js";
|
12
|
+
import { ActivityTransformer } from "../context-CrSyJrIa.js";
|
13
13
|
import "../mq-DYKDDJmp.js";
|
14
|
-
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-
|
14
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-DpE8T10I.js";
|
15
15
|
export { ActivityTransformer, actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
|
@@ -3,36 +3,36 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import { assert } from "../assert-
|
8
|
-
import { assertInstanceOf } from "../assert_instance_of-
|
9
|
-
import { MemoryKvStore } from "../kv-
|
10
|
-
import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-
|
11
|
-
import "../docloader-
|
6
|
+
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
7
|
+
import { assert } from "../assert-DwEa6glZ.js";
|
8
|
+
import { assertInstanceOf } from "../assert_instance_of-C9QtN-X9.js";
|
9
|
+
import { MemoryKvStore } from "../kv-D7Yt6pnB.js";
|
10
|
+
import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-DLbGu4zX.js";
|
11
|
+
import "../docloader-BBuvib5r.js";
|
12
12
|
import "../url-kTAI6_KP.js";
|
13
13
|
import "../semver-DWClQt_5.js";
|
14
|
-
import "../client-
|
15
|
-
import "../router-
|
14
|
+
import "../client-BxityXSf.js";
|
15
|
+
import "../router-D3UybECj.js";
|
16
16
|
import "../types-C7C_l-jz.js";
|
17
17
|
import "../multibase-DeCHcK8L.js";
|
18
|
-
import { Follow, Person } from "../vocab-
|
18
|
+
import { Follow, Person } from "../vocab-CkWw9gLL.js";
|
19
19
|
import "../langstr-DbWheeIS.js";
|
20
|
-
import "../lookup-
|
20
|
+
import "../lookup-amb8j2Ox.js";
|
21
21
|
import "../type-D2s5lmbZ.js";
|
22
|
-
import "../actor-
|
23
|
-
import "../key-
|
24
|
-
import "../http-
|
25
|
-
import "../authdocloader-
|
26
|
-
import "../ld-
|
27
|
-
import "../owner-
|
28
|
-
import "../proof-
|
29
|
-
import "../lookup-
|
30
|
-
import "../inbox-
|
31
|
-
import "../builder-
|
22
|
+
import "../actor-BhtR21im.js";
|
23
|
+
import "../key-JaUZb56y.js";
|
24
|
+
import "../http-C1-svcpM.js";
|
25
|
+
import "../authdocloader-BBgKyZzE.js";
|
26
|
+
import "../ld-BGqGxDyj.js";
|
27
|
+
import "../owner-BGQ_0WQk.js";
|
28
|
+
import "../proof-Dfuyj9YW.js";
|
29
|
+
import "../lookup-DJfMTOeM.js";
|
30
|
+
import "../inbox-C2GmfQ1g.js";
|
31
|
+
import "../builder-nFrxCtz7.js";
|
32
32
|
import "../collection-Dfb0TPno.js";
|
33
|
-
import "../keycache-
|
33
|
+
import "../keycache-B1zen2DS.js";
|
34
34
|
import "../retry-BiIhZWgD.js";
|
35
|
-
import "../send-
|
35
|
+
import "../send-COAVp7M6.js";
|
36
36
|
import { test } from "../testing-BZ0dJ4qn.js";
|
37
37
|
|
38
38
|
//#region compat/transformers.test.ts
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { RouterError } from "./router-
|
7
|
-
import { lookupWebFinger } from "./lookup-
|
8
|
-
import { lookupObject, traverseCollection } from "./lookup-
|
6
|
+
import { RouterError } from "./router-D3UybECj.js";
|
7
|
+
import { lookupWebFinger } from "./lookup-amb8j2Ox.js";
|
8
|
+
import { lookupObject, traverseCollection } from "./lookup-DJfMTOeM.js";
|
9
9
|
import { mockDocumentLoader } from "./docloader-09nVWLAZ.js";
|
10
10
|
import { trace } from "@opentelemetry/api";
|
11
11
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import { KvKey, KvStore } from "./kv-
|
4
|
-
import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, GetUserAgentOptions } from "./docloader-
|
5
|
-
import { GetNodeInfoOptions, JsonValue, NodeInfo } from "./client-
|
6
|
-
import { Activity, Collection, CryptographicKey, Hashtag, Link, Multikey, Object as Object$1 } from "./vocab-
|
7
|
-
import { Actor, Recipient } from "./actor-
|
8
|
-
import { HttpMessageSignaturesSpec } from "./http-
|
9
|
-
import { GetKeyOwnerOptions } from "./owner-
|
10
|
-
import { LookupObjectOptions, TraverseCollectionOptions } from "./mod-
|
11
|
-
import { LookupWebFingerOptions, ResourceDescriptor } from "./lookup-
|
3
|
+
import { KvKey, KvStore } from "./kv-DDdb1hMa.js";
|
4
|
+
import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, GetUserAgentOptions } from "./docloader-BeCtcTOJ.js";
|
5
|
+
import { GetNodeInfoOptions, JsonValue, NodeInfo } from "./client-BQ4AQGKo.js";
|
6
|
+
import { Activity, Collection, CryptographicKey, Hashtag, Link, Multikey, Object as Object$1 } from "./vocab-By6mpzr-.js";
|
7
|
+
import { Actor, Recipient } from "./actor-B4TBtqRP.js";
|
8
|
+
import { HttpMessageSignaturesSpec } from "./http-CP2ZUALI.js";
|
9
|
+
import { GetKeyOwnerOptions } from "./owner-CEv_PfyK.js";
|
10
|
+
import { LookupObjectOptions, TraverseCollectionOptions } from "./mod-BFwgZ7_K.js";
|
11
|
+
import { LookupWebFingerOptions, ResourceDescriptor } from "./lookup-J_m4YZg0.js";
|
12
12
|
import { MessageQueue } from "./mq-DYKDDJmp.js";
|
13
13
|
import { Span, TracerProvider } from "@opentelemetry/api";
|
14
14
|
|
@@ -10,7 +10,7 @@ import process from "node:process";
|
|
10
10
|
|
11
11
|
//#region deno.json
|
12
12
|
var name = "@fedify/fedify";
|
13
|
-
var version = "1.
|
13
|
+
var version = "1.8.0-dev.1004+d5b05e27";
|
14
14
|
var license = "MIT";
|
15
15
|
var exports = {
|
16
16
|
".": "./mod.ts",
|
@@ -29,8 +29,6 @@ var exports = {
|
|
29
29
|
};
|
30
30
|
var imports = {
|
31
31
|
"@cfworker/json-schema": "npm:@cfworker/json-schema@^4.1.1",
|
32
|
-
"@cloudflare/workers-types": "npm:@cloudflare/workers-types@^4.20250529.0",
|
33
|
-
"@es-toolkit/es-toolkit": "jsr:@es-toolkit/es-toolkit@^1.38.0",
|
34
32
|
"@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2",
|
35
33
|
"@multiformats/base-x": "npm:@multiformats/base-x@^4.0.1",
|
36
34
|
"@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
|
@@ -42,6 +40,7 @@ var imports = {
|
|
42
40
|
"@std/yaml": "jsr:@std/yaml@^0.224.3",
|
43
41
|
"asn1js": "npm:asn1js@^3.0.5",
|
44
42
|
"byte-encodings": "npm:byte-encodings@^1.0.11",
|
43
|
+
"es-toolkit": "jsr:@es-toolkit/es-toolkit@^1.39.5",
|
45
44
|
"fast-check": "npm:fast-check@^3.22.0",
|
46
45
|
"fetch-mock": "npm:fetch-mock@^12.5.2",
|
47
46
|
"json-canon": "npm:json-canon@^1.0.1",
|
@@ -49,7 +48,6 @@ var imports = {
|
|
49
48
|
"multicodec": "npm:multicodec@^3.2.1",
|
50
49
|
"pkijs": "npm:pkijs@^3.2.4",
|
51
50
|
"structured-field-values": "npm:structured-field-values@^2.0.4",
|
52
|
-
"tsdown": "npm:tsdown@^0.12.2",
|
53
51
|
"uri-template-router": "npm:uri-template-router@^0.0.17",
|
54
52
|
"url-template": "npm:url-template@^3.1.1"
|
55
53
|
};
|
@@ -73,12 +71,10 @@ var exclude = [
|
|
73
71
|
"!vocab/vocab.ts"
|
74
72
|
];
|
75
73
|
var tasks = {
|
76
|
-
"codegen": "deno run --allow-read --allow-write --check codegen/main.ts vocab/ ../runtime/ > vocab
|
77
|
-
"check-version": "deno run --allow-read=package.json scripts/check_version.ts && deno run ../cli/scripts/check_version.ts",
|
78
|
-
"sync-version": "deno run --allow-read=package.json --allow-write=package.json scripts/sync_version.ts && deno run --allow-read=../cli/deno.json --allow-write=../cli/deno.json ../cli/scripts/sync_version.ts",
|
74
|
+
"codegen": "deno run --allow-read --allow-write --check codegen/main.ts vocab/ ../runtime/ > vocab/.vocab.ts && deno fmt vocab/.vocab.ts && mv vocab/.vocab.ts vocab/vocab.ts && deno cache vocab/vocab.ts && deno check vocab/vocab.ts",
|
79
75
|
"cache": {
|
80
76
|
"command": "deno cache mod.ts",
|
81
|
-
"dependencies": ["
|
77
|
+
"dependencies": ["codegen"]
|
82
78
|
},
|
83
79
|
"check": {
|
84
80
|
"command": "deno fmt --check && deno lint && deno check */*.ts",
|
@@ -99,17 +95,13 @@ var tasks = {
|
|
99
95
|
},
|
100
96
|
"publish": {
|
101
97
|
"command": "deno publish",
|
102
|
-
"dependencies": ["
|
98
|
+
"dependencies": ["codegen"]
|
103
99
|
},
|
104
100
|
"pnpm:install": "pnpm install",
|
105
101
|
"pnpm:build": {
|
106
102
|
"command": "pnpm exec tsdown",
|
107
103
|
"dependencies": ["codegen", "pnpm:install"]
|
108
104
|
},
|
109
|
-
"npm": {
|
110
|
-
"command": "pnpm pack",
|
111
|
-
"dependencies": ["sync-version", "pnpm:install"]
|
112
|
-
},
|
113
105
|
"test:node": {
|
114
106
|
"command": "cd dist/ && node --test",
|
115
107
|
"dependencies": ["pnpm:build"]
|
@@ -10,7 +10,7 @@ import { isIP } from "node:net";
|
|
10
10
|
|
11
11
|
//#region deno.json
|
12
12
|
var name = "@fedify/fedify";
|
13
|
-
var version = "1.
|
13
|
+
var version = "1.8.0-dev.1004+d5b05e27";
|
14
14
|
var license = "MIT";
|
15
15
|
var exports = {
|
16
16
|
".": "./mod.ts",
|
@@ -29,8 +29,6 @@ var exports = {
|
|
29
29
|
};
|
30
30
|
var imports = {
|
31
31
|
"@cfworker/json-schema": "npm:@cfworker/json-schema@^4.1.1",
|
32
|
-
"@cloudflare/workers-types": "npm:@cloudflare/workers-types@^4.20250529.0",
|
33
|
-
"@es-toolkit/es-toolkit": "jsr:@es-toolkit/es-toolkit@^1.38.0",
|
34
32
|
"@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2",
|
35
33
|
"@multiformats/base-x": "npm:@multiformats/base-x@^4.0.1",
|
36
34
|
"@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
|
@@ -42,6 +40,7 @@ var imports = {
|
|
42
40
|
"@std/yaml": "jsr:@std/yaml@^0.224.3",
|
43
41
|
"asn1js": "npm:asn1js@^3.0.5",
|
44
42
|
"byte-encodings": "npm:byte-encodings@^1.0.11",
|
43
|
+
"es-toolkit": "jsr:@es-toolkit/es-toolkit@^1.39.5",
|
45
44
|
"fast-check": "npm:fast-check@^3.22.0",
|
46
45
|
"fetch-mock": "npm:fetch-mock@^12.5.2",
|
47
46
|
"json-canon": "npm:json-canon@^1.0.1",
|
@@ -49,7 +48,6 @@ var imports = {
|
|
49
48
|
"multicodec": "npm:multicodec@^3.2.1",
|
50
49
|
"pkijs": "npm:pkijs@^3.2.4",
|
51
50
|
"structured-field-values": "npm:structured-field-values@^2.0.4",
|
52
|
-
"tsdown": "npm:tsdown@^0.12.2",
|
53
51
|
"uri-template-router": "npm:uri-template-router@^0.0.17",
|
54
52
|
"url-template": "npm:url-template@^3.1.1"
|
55
53
|
};
|
@@ -73,12 +71,10 @@ var exclude = [
|
|
73
71
|
"!vocab/vocab.ts"
|
74
72
|
];
|
75
73
|
var tasks = {
|
76
|
-
"codegen": "deno run --allow-read --allow-write --check codegen/main.ts vocab/ ../runtime/ > vocab
|
77
|
-
"check-version": "deno run --allow-read=package.json scripts/check_version.ts && deno run ../cli/scripts/check_version.ts",
|
78
|
-
"sync-version": "deno run --allow-read=package.json --allow-write=package.json scripts/sync_version.ts && deno run --allow-read=../cli/deno.json --allow-write=../cli/deno.json ../cli/scripts/sync_version.ts",
|
74
|
+
"codegen": "deno run --allow-read --allow-write --check codegen/main.ts vocab/ ../runtime/ > vocab/.vocab.ts && deno fmt vocab/.vocab.ts && mv vocab/.vocab.ts vocab/vocab.ts && deno cache vocab/vocab.ts && deno check vocab/vocab.ts",
|
79
75
|
"cache": {
|
80
76
|
"command": "deno cache mod.ts",
|
81
|
-
"dependencies": ["
|
77
|
+
"dependencies": ["codegen"]
|
82
78
|
},
|
83
79
|
"check": {
|
84
80
|
"command": "deno fmt --check && deno lint && deno check */*.ts",
|
@@ -99,17 +95,13 @@ var tasks = {
|
|
99
95
|
},
|
100
96
|
"publish": {
|
101
97
|
"command": "deno publish",
|
102
|
-
"dependencies": ["
|
98
|
+
"dependencies": ["codegen"]
|
103
99
|
},
|
104
100
|
"pnpm:install": "pnpm install",
|
105
101
|
"pnpm:build": {
|
106
102
|
"command": "pnpm exec tsdown",
|
107
103
|
"dependencies": ["codegen", "pnpm:install"]
|
108
104
|
},
|
109
|
-
"npm": {
|
110
|
-
"command": "pnpm pack",
|
111
|
-
"dependencies": ["sync-version", "pnpm:install"]
|
112
|
-
},
|
113
105
|
"test:node": {
|
114
106
|
"command": "cd dist/ && node --test",
|
115
107
|
"dependencies": ["pnpm:build"]
|