@fedify/fedify 1.9.0-pr.389.1473 → 2.0.0-dev.1485
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-DrrMDNqv.js → actor-7ivEf1H3.js} +1 -1
- package/dist/{actor-Ch5yFYFG.d.ts → actor-C22bXuuC.d.ts} +1 -1
- package/dist/{actor-DShwuAW7.js → actor-DXTdNCfp.js} +228 -225
- package/dist/{authdocloader-BZCuUFmO.js → authdocloader-Bq0gEHRj.js} +3 -3
- package/dist/{authdocloader-CtGBVUbq.js → authdocloader-D_IvQE4z.js} +3 -3
- package/dist/{builder-CWFAyvz9.js → builder-BPGqEvtB.js} +4 -4
- package/dist/{client-Ck6ylBd-.js → client-g2FDBoeY.js} +1 -1
- package/dist/compat/mod.d.ts +7 -7
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{context-DJQB_Zv4.d.ts → context-DmlbRh9p.d.ts} +5 -5
- package/dist/{docloader-CrcUGZRH.js → docloader-BlVueewg.js} +1 -2
- package/dist/{esm-C7mlSU3h.js → esm-CPZhxxGc.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/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.d.ts +6 -6
- 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-kVoJo0eT.js → http-C7rxW7Kh.js} +2 -2
- package/dist/{http-D8Q4xH0d.d.ts → http-DqSNLFNY.d.ts} +1 -1
- package/dist/{http-Bz4Cwwej.js → http-zsOxPKCt.js} +3 -3
- package/dist/{inbox-C0GeOL55.js → inbox-eK2W2MF3.js} +1 -1
- package/dist/{key-B8qAJkEU.js → key-CYOcZ9G5.js} +2 -2
- package/dist/{key-BGv80RsN.js → key-Dn7Lram-.js} +2 -2
- package/dist/{key-CPohPFp7.js → key-S7WllAWz.js} +3 -3
- package/dist/{key-By_kiZeG.js → key-rRCUafNm.js} +4 -4
- package/dist/{keycache-BlGGiXHf.js → keycache-BLq6GT4_.js} +1 -1
- package/dist/{keys-BaSnGay2.js → keys-BIwlbtMN.js} +1 -1
- package/dist/{ld-C6ME6fYr.js → ld-DWwLYT4e.js} +2 -2
- package/dist/{lookup-t2yHYjMW.js → lookup-BHYMosdS.js} +1 -1
- package/dist/{lookup-pXnm85UX.js → lookup-DNQyH8UQ.js} +1 -1
- package/dist/{middleware-BPtgFrAv.js → middleware-BcVqlHyD.js} +10 -10
- package/dist/middleware-CWbGhXnl.js +26 -0
- package/dist/middleware-D-OlNiyj.js +17 -0
- package/dist/{middleware-6jQAofhT.js → middleware-DakCaqXu.js} +13 -13
- package/dist/{mod-eBo9RUEr.d.ts → mod-0EysZ-dJ.d.ts} +2 -2
- package/dist/{mod-Cy6pkZSn.d.ts → mod-Cxt4Kpf6.d.ts} +1 -1
- package/dist/{mod-B7Pc0I7F.d.ts → mod-Drmz72EK.d.ts} +2 -2
- package/dist/{mod-BAuhKa9d.d.ts → mod-TFoH2Ql8.d.ts} +1 -1
- package/dist/mod.d.ts +9 -9
- 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.js +2 -2
- package/dist/nodeinfo/semver.test.js +3 -3
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/{owner-D38zBIMc.d.ts → owner-CQPnQVtf.d.ts} +2 -2
- package/dist/{owner-BN5pZJ_w.js → owner-smArESGi.js} +2 -2
- package/dist/{proof-hhnma8Mn.js → proof-C6z-uqeO.js} +2 -2
- package/dist/{proof-CHYROkSg.js → proof-CT1SITRP.js} +3 -3
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +4 -4
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/langstr.test.js +5 -6
- package/dist/runtime/mod.d.ts +3 -3
- 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-CvrFNwFY.js → send-1zdmNlUo.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.d.ts +5 -5
- 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.d.ts +13 -10
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-CgaO6vV1.js → testing-BG_8Fyas.js} +2 -2
- package/dist/{type-BR1INN9y.js → type-I68qwqmo.js} +227 -225
- package/dist/{types-I04dvraP.js → types-BzyGRkRt.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.d.ts +3 -3
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +11 -12
- package/dist/{vocab-4lLiGEm1.js → vocab-Bg1J3mu4.js} +3 -3
- package/dist/{vocab-BEEm2I6u.d.ts → vocab-SOE1ifCr.d.ts} +15 -12
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.d.ts +6 -6
- package/dist/x/sveltekit.d.ts +6 -6
- package/package.json +1 -2
- package/dist/middleware-X_op4prS.js +0 -17
- package/dist/middleware-hZp6qf-l.js +0 -26
@@ -2,7 +2,7 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { getUserAgent } from "./docloader-
|
5
|
+
import { getUserAgent } from "./docloader-BlVueewg.js";
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
7
7
|
|
8
8
|
//#region src/nodeinfo/semver.ts
|
package/dist/vocab/actor.test.js
CHANGED
@@ -3,19 +3,19 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Application, Group, Organization, Person, Service, __export } from "../type-
|
6
|
+
import { Application, Group, Organization, Person, Service, __export } from "../type-I68qwqmo.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 { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-
|
12
|
-
import { test } from "../testing-
|
10
|
+
import "../lookup-DNQyH8UQ.js";
|
11
|
+
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-7ivEf1H3.js";
|
12
|
+
import { test } from "../testing-BG_8Fyas.js";
|
13
13
|
import { assertStrictEquals } from "../std__assert-X-_kMxKM.js";
|
14
14
|
import { assertFalse, 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-CPZhxxGc.js";
|
19
19
|
|
20
20
|
//#region ../../node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
|
21
21
|
var PreconditionFailure = class PreconditionFailure extends Error {
|
@@ -3,18 +3,18 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Collection, Note, Object as Object$1, Person } from "../type-
|
6
|
+
import { Collection, Note, Object as Object$1, Person } from "../type-I68qwqmo.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 { lookupObject, traverseCollection } from "../lookup-
|
11
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import { lookupObject, traverseCollection } from "../lookup-DNQyH8UQ.js";
|
11
|
+
import { mockDocumentLoader, test } from "../testing-BG_8Fyas.js";
|
12
12
|
import "../std__assert-X-_kMxKM.js";
|
13
13
|
import "../assert_rejects-DiIiJbZn.js";
|
14
14
|
import "../assert_is_error-BPGph1Jx.js";
|
15
15
|
import "../assert_not_equals-f3m3epl3.js";
|
16
16
|
import "../assert_throws-BOO88avQ.js";
|
17
|
-
import { esm_default } from "../esm-
|
17
|
+
import { esm_default } from "../esm-CPZhxxGc.js";
|
18
18
|
|
19
19
|
//#region src/vocab/lookup.test.ts
|
20
20
|
test("lookupObject()", {
|
package/dist/vocab/mod.d.ts
CHANGED
@@ -2,7 +2,7 @@ import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
3
|
import "../kv-C7sopW2E.js";
|
4
4
|
import "../docloader-CxWcuWqQ.js";
|
5
|
-
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View } from "../vocab-
|
6
|
-
import { Actor, ActorTypeName, GetActorHandleOptions, NormalizeActorHandleOptions, Recipient, getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-
|
7
|
-
import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../mod-
|
5
|
+
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View } from "../vocab-SOE1ifCr.js";
|
6
|
+
import { Actor, ActorTypeName, GetActorHandleOptions, NormalizeActorHandleOptions, Recipient, getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-C22bXuuC.js";
|
7
|
+
import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../mod-Cxt4Kpf6.js";
|
8
8
|
export { Accept, Activity, Actor, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, FediverseHandle, Flag, Follow, GetActorHandleOptions, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, LookupObjectOptions, Mention, Move, Multikey, NormalizeActorHandleOptions, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Recipient, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, isFediverseHandle, lookupObject, normalizeActorHandle, parseFediverseHandle, toAcctUrl, traverseCollection };
|
package/dist/vocab/mod.js
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "../docloader-
|
6
|
-
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-
|
7
|
-
import "../lookup-
|
8
|
-
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-
|
5
|
+
import "../docloader-BlVueewg.js";
|
6
|
+
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-DXTdNCfp.js";
|
7
|
+
import "../lookup-BHYMosdS.js";
|
8
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-Bg1J3mu4.js";
|
9
9
|
|
10
10
|
export { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, isFediverseHandle, lookupObject, normalizeActorHandle, parseFediverseHandle, toAcctUrl, traverseCollection };
|
package/dist/vocab/type.test.js
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Person, getTypeId } from "../type-
|
6
|
+
import { Person, getTypeId } from "../type-I68qwqmo.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
|
-
import "../lookup-
|
9
|
-
import { test } from "../testing-
|
8
|
+
import "../lookup-DNQyH8UQ.js";
|
9
|
+
import { test } from "../testing-BG_8Fyas.js";
|
10
10
|
|
11
11
|
//#region src/vocab/type.test.ts
|
12
12
|
test("getTypeId()", () => {
|
package/dist/vocab/vocab.test.js
CHANGED
@@ -3,20 +3,19 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, Announce, Collection, Create, CryptographicKey, Follow, Hashtag, LanguageString, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, decode, vocab_exports } from "../type-
|
6
|
+
import { Activity, Announce, Collection, Create, CryptographicKey, Follow, Hashtag, LanguageString, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, decode, vocab_exports } from "../type-I68qwqmo.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import "../lookup-
|
11
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../lookup-DNQyH8UQ.js";
|
11
|
+
import { mockDocumentLoader, test } from "../testing-BG_8Fyas.js";
|
12
12
|
import "../std__assert-X-_kMxKM.js";
|
13
13
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
14
14
|
import "../assert_is_error-BPGph1Jx.js";
|
15
15
|
import { assertNotEquals } from "../assert_not_equals-f3m3epl3.js";
|
16
16
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
17
|
-
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-
|
17
|
+
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-BIwlbtMN.js";
|
18
18
|
import { pascalCase } from "es-toolkit";
|
19
|
-
import { parseLanguageTag } from "@phensley/language-tag";
|
20
19
|
import { Validator } from "@cfworker/json-schema";
|
21
20
|
import { readFile, readdir } from "node:fs/promises";
|
22
21
|
import { join } from "node:path";
|
@@ -2217,7 +2216,7 @@ const scalarTypes = {
|
|
2217
2216
|
encoder(v) {
|
2218
2217
|
return `{
|
2219
2218
|
"@value": ${v}.toString(),
|
2220
|
-
"@language": ${v}.
|
2219
|
+
"@language": ${v}.locale.baseName,
|
2221
2220
|
}`;
|
2222
2221
|
},
|
2223
2222
|
dataCheck(v) {
|
@@ -2324,22 +2323,22 @@ const scalarTypes = {
|
|
2324
2323
|
}
|
2325
2324
|
},
|
2326
2325
|
"fedify:langTag": {
|
2327
|
-
name: "
|
2326
|
+
name: "Intl.Locale",
|
2328
2327
|
typeGuard(v) {
|
2329
|
-
return `${v} instanceof
|
2328
|
+
return `${v} instanceof Intl.Locale`;
|
2330
2329
|
},
|
2331
2330
|
encoder(v) {
|
2332
|
-
return `{ "@value": ${v}.
|
2331
|
+
return `{ "@value": ${v}.baseName }`;
|
2333
2332
|
},
|
2334
2333
|
compactEncoder(v) {
|
2335
|
-
return `${v}.
|
2334
|
+
return `${v}.baseName`;
|
2336
2335
|
},
|
2337
2336
|
dataCheck(v) {
|
2338
2337
|
return `typeof ${v} === "object" && "@value" in ${v}
|
2339
2338
|
&& typeof ${v}["@value"] === "string" && !("@language" in ${v})`;
|
2340
2339
|
},
|
2341
2340
|
decoder(v) {
|
2342
|
-
return `
|
2341
|
+
return `new Intl.Locale(${v}["@value"])`;
|
2343
2342
|
}
|
2344
2343
|
},
|
2345
2344
|
"fedify:url": {
|
@@ -3106,7 +3105,7 @@ const sampleValues = {
|
|
3106
3105
|
243,
|
3107
3106
|
7
|
3108
3107
|
]),
|
3109
|
-
"fedify:langTag":
|
3108
|
+
"fedify:langTag": new Intl.Locale("en-Latn-US"),
|
3110
3109
|
"fedify:url": new URL("https://fedify.dev/"),
|
3111
3110
|
"fedify:publicKey": rsaPublicKey1.publicKey,
|
3112
3111
|
"fedify:multibaseKey": ed25519PublicKey.publicKey,
|
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
6
|
-
import { Object as Object$1, getTypeId } from "./actor-
|
7
|
-
import { lookupWebFinger } from "./lookup-
|
5
|
+
import { deno_default, getDocumentLoader } from "./docloader-BlVueewg.js";
|
6
|
+
import { Object as Object$1, getTypeId } from "./actor-DXTdNCfp.js";
|
7
|
+
import { lookupWebFinger } from "./lookup-BHYMosdS.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
import { delay } from "es-toolkit";
|
@@ -2,21 +2,24 @@ import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
3
|
import { DocumentLoader } from "./docloader-CxWcuWqQ.js";
|
4
4
|
import { Span, TracerProvider } from "@opentelemetry/api";
|
5
|
-
import { LanguageTag } from "@phensley/language-tag";
|
6
5
|
|
7
6
|
//#region src/runtime/langstr.d.ts
|
8
7
|
/**
|
9
8
|
* A language-tagged string which corresponds to the `rdf:langString` type.
|
10
9
|
*/
|
11
10
|
declare class LanguageString extends String {
|
12
|
-
|
11
|
+
/**
|
12
|
+
* The locale of the string.
|
13
|
+
* @since 2.0.0
|
14
|
+
*/
|
15
|
+
readonly locale: Intl.Locale;
|
13
16
|
/**
|
14
17
|
* Constructs a new `LanguageString`.
|
15
18
|
* @param value A string value written in the given language.
|
16
|
-
* @param
|
17
|
-
*
|
19
|
+
* @param locale The language of the string. If a string is given, it will
|
20
|
+
* be parsed as a `Intl.Locale` object.
|
18
21
|
*/
|
19
|
-
constructor(value: string, language:
|
22
|
+
constructor(value: string, language: Intl.Locale | string);
|
20
23
|
}
|
21
24
|
//#endregion
|
22
25
|
//#region src/vocab/vocab.d.ts
|
@@ -7240,7 +7243,7 @@ declare class Link {
|
|
7240
7243
|
mediaType?: string | null;
|
7241
7244
|
name?: string | LanguageString | null;
|
7242
7245
|
names?: ((string | LanguageString))[];
|
7243
|
-
language?:
|
7246
|
+
language?: Intl.Locale | null;
|
7244
7247
|
height?: number | null;
|
7245
7248
|
width?: number | null;
|
7246
7249
|
previews?: (Link | Object$1 | URL)[];
|
@@ -7263,7 +7266,7 @@ declare class Link {
|
|
7263
7266
|
mediaType?: string | null;
|
7264
7267
|
name?: string | LanguageString | null;
|
7265
7268
|
names?: ((string | LanguageString))[];
|
7266
|
-
language?:
|
7269
|
+
language?: Intl.Locale | null;
|
7267
7270
|
height?: number | null;
|
7268
7271
|
width?: number | null;
|
7269
7272
|
previews?: (Link | Object$1 | URL)[];
|
@@ -7307,7 +7310,7 @@ declare class Link {
|
|
7307
7310
|
/** Hints as to the language used by the target resource.
|
7308
7311
|
* Value MUST be a BCP 47 Language-Tag.
|
7309
7312
|
*/
|
7310
|
-
get language():
|
7313
|
+
get language(): Intl.Locale | null;
|
7311
7314
|
/** On a {@link Link}, specifies a hint as to the rendering height in
|
7312
7315
|
* device-independent pixels of the linked resource.
|
7313
7316
|
*/
|
@@ -7391,7 +7394,7 @@ declare class Hashtag extends Link {
|
|
7391
7394
|
mediaType?: string | null;
|
7392
7395
|
name?: string | LanguageString | null;
|
7393
7396
|
names?: ((string | LanguageString))[];
|
7394
|
-
language?:
|
7397
|
+
language?: Intl.Locale | null;
|
7395
7398
|
height?: number | null;
|
7396
7399
|
width?: number | null;
|
7397
7400
|
previews?: (Link | Object$1 | URL)[];
|
@@ -7414,7 +7417,7 @@ declare class Hashtag extends Link {
|
|
7414
7417
|
mediaType?: string | null;
|
7415
7418
|
name?: string | LanguageString | null;
|
7416
7419
|
names?: ((string | LanguageString))[];
|
7417
|
-
language?:
|
7420
|
+
language?: Intl.Locale | null;
|
7418
7421
|
height?: number | null;
|
7419
7422
|
width?: number | null;
|
7420
7423
|
previews?: (Link | Object$1 | URL)[];
|
@@ -8797,7 +8800,7 @@ declare class Mention extends Link {
|
|
8797
8800
|
mediaType?: string | null;
|
8798
8801
|
name?: string | LanguageString | null;
|
8799
8802
|
names?: ((string | LanguageString))[];
|
8800
|
-
language?:
|
8803
|
+
language?: Intl.Locale | null;
|
8801
8804
|
height?: number | null;
|
8802
8805
|
width?: number | null;
|
8803
8806
|
previews?: (Link | Object$1 | URL)[];
|
@@ -8820,7 +8823,7 @@ declare class Mention extends Link {
|
|
8820
8823
|
mediaType?: string | null;
|
8821
8824
|
name?: string | LanguageString | null;
|
8822
8825
|
names?: ((string | LanguageString))[];
|
8823
|
-
language?:
|
8826
|
+
language?: Intl.Locale | null;
|
8824
8827
|
height?: number | null;
|
8825
8828
|
width?: number | null;
|
8826
8829
|
previews?: (Link | Object$1 | URL)[];
|
@@ -3,30 +3,30 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Image, Link, Person } from "../type-
|
6
|
+
import { Image, Link, Person } from "../type-I68qwqmo.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 { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
11
|
-
import { createFederation, handleWebFinger } from "../middleware-
|
11
|
+
import { createFederation, handleWebFinger } from "../middleware-DakCaqXu.js";
|
12
12
|
import "../semver-dArNLkR9.js";
|
13
|
-
import "../client-
|
14
|
-
import "../lookup-
|
13
|
+
import "../client-g2FDBoeY.js";
|
14
|
+
import "../lookup-DNQyH8UQ.js";
|
15
15
|
import "../types-BIgY6c-l.js";
|
16
|
-
import "../actor-
|
17
|
-
import "../key-
|
18
|
-
import "../http-
|
19
|
-
import "../authdocloader-
|
20
|
-
import "../ld-
|
21
|
-
import "../owner-
|
22
|
-
import "../proof-
|
23
|
-
import "../inbox-
|
24
|
-
import "../builder-
|
16
|
+
import "../actor-7ivEf1H3.js";
|
17
|
+
import "../key-CYOcZ9G5.js";
|
18
|
+
import "../http-C7rxW7Kh.js";
|
19
|
+
import "../authdocloader-D_IvQE4z.js";
|
20
|
+
import "../ld-DWwLYT4e.js";
|
21
|
+
import "../owner-smArESGi.js";
|
22
|
+
import "../proof-C6z-uqeO.js";
|
23
|
+
import "../inbox-eK2W2MF3.js";
|
24
|
+
import "../builder-BPGqEvtB.js";
|
25
25
|
import "../collection-CSzG2j1P.js";
|
26
|
-
import "../keycache-
|
26
|
+
import "../keycache-BLq6GT4_.js";
|
27
27
|
import "../retry-D4GJ670a.js";
|
28
|
-
import "../send-
|
29
|
-
import { createRequestContext, test } from "../testing-
|
28
|
+
import "../send-1zdmNlUo.js";
|
29
|
+
import { createRequestContext, test } from "../testing-BG_8Fyas.js";
|
30
30
|
import "../std__assert-X-_kMxKM.js";
|
31
31
|
import "../assert_rejects-DiIiJbZn.js";
|
32
32
|
import "../assert_is_error-BPGph1Jx.js";
|
@@ -3,18 +3,18 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { lookupWebFinger } from "../type-
|
6
|
+
import { lookupWebFinger } from "../type-I68qwqmo.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-DNQyH8UQ.js";
|
11
|
+
import { test } from "../testing-BG_8Fyas.js";
|
12
12
|
import "../std__assert-X-_kMxKM.js";
|
13
13
|
import "../assert_rejects-DiIiJbZn.js";
|
14
14
|
import "../assert_is_error-BPGph1Jx.js";
|
15
15
|
import "../assert_not_equals-f3m3epl3.js";
|
16
16
|
import "../assert_throws-BOO88avQ.js";
|
17
|
-
import { esm_default } from "../esm-
|
17
|
+
import { esm_default } from "../esm-CPZhxxGc.js";
|
18
18
|
import { withTimeout } from "es-toolkit";
|
19
19
|
|
20
20
|
//#region src/webfinger/lookup.test.ts
|
package/dist/webfinger/mod.js
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "../docloader-
|
6
|
-
import { lookupWebFinger } from "../lookup-
|
5
|
+
import "../docloader-BlVueewg.js";
|
6
|
+
import { lookupWebFinger } from "../lookup-BHYMosdS.js";
|
7
7
|
import "../webfinger-C3GIyXIg.js";
|
8
8
|
|
9
9
|
export { lookupWebFinger };
|
package/dist/x/cfworkers.test.js
CHANGED
@@ -3,12 +3,12 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-I68qwqmo.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-DNQyH8UQ.js";
|
11
|
+
import { test } from "../testing-BG_8Fyas.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/x/hono.d.ts
CHANGED
@@ -3,13 +3,13 @@ import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import "../kv-C7sopW2E.js";
|
4
4
|
import "../docloader-CxWcuWqQ.js";
|
5
5
|
import "../client-DF8anIB5.js";
|
6
|
-
import "../vocab-
|
7
|
-
import "../actor-
|
8
|
-
import "../http-
|
9
|
-
import "../owner-
|
10
|
-
import "../mod-
|
6
|
+
import "../vocab-SOE1ifCr.js";
|
7
|
+
import "../actor-C22bXuuC.js";
|
8
|
+
import "../http-DqSNLFNY.js";
|
9
|
+
import "../owner-CQPnQVtf.js";
|
10
|
+
import "../mod-Cxt4Kpf6.js";
|
11
11
|
import "../lookup-3czM5mmU.js";
|
12
|
-
import { Federation } from "../context-
|
12
|
+
import { Federation } from "../context-DmlbRh9p.js";
|
13
13
|
import "../mq-CRGm1e_F.js";
|
14
14
|
|
15
15
|
//#region src/x/hono.d.ts
|
package/dist/x/sveltekit.d.ts
CHANGED
@@ -3,13 +3,13 @@ import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import "../kv-C7sopW2E.js";
|
4
4
|
import "../docloader-CxWcuWqQ.js";
|
5
5
|
import "../client-DF8anIB5.js";
|
6
|
-
import "../vocab-
|
7
|
-
import "../actor-
|
8
|
-
import "../http-
|
9
|
-
import "../owner-
|
10
|
-
import "../mod-
|
6
|
+
import "../vocab-SOE1ifCr.js";
|
7
|
+
import "../actor-C22bXuuC.js";
|
8
|
+
import "../http-DqSNLFNY.js";
|
9
|
+
import "../owner-CQPnQVtf.js";
|
10
|
+
import "../mod-Cxt4Kpf6.js";
|
11
11
|
import "../lookup-3czM5mmU.js";
|
12
|
-
import { Federation } from "../context-
|
12
|
+
import { Federation } from "../context-DmlbRh9p.js";
|
13
13
|
import "../mq-CRGm1e_F.js";
|
14
14
|
|
15
15
|
//#region src/x/sveltekit.d.ts
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fedify/fedify",
|
3
|
-
"version": "
|
3
|
+
"version": "2.0.0-dev.1485+e1b5f5bc",
|
4
4
|
"description": "An ActivityPub server framework",
|
5
5
|
"keywords": [
|
6
6
|
"ActivityPub",
|
@@ -101,7 +101,6 @@
|
|
101
101
|
"@multiformats/base-x": "^4.0.1",
|
102
102
|
"@opentelemetry/api": "^1.9.0",
|
103
103
|
"@opentelemetry/semantic-conventions": "^1.27.0",
|
104
|
-
"@phensley/language-tag": "^1.9.0",
|
105
104
|
"asn1js": "^3.0.5",
|
106
105
|
"byte-encodings": "^1.0.11",
|
107
106
|
"es-toolkit": "^1.39.5",
|
@@ -1,17 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import "./transformers-Dna8Fg7k.js";
|
6
|
-
import "./docloader-CrcUGZRH.js";
|
7
|
-
import "./actor-DShwuAW7.js";
|
8
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-BPtgFrAv.js";
|
9
|
-
import "./lookup-t2yHYjMW.js";
|
10
|
-
import "./key-BGv80RsN.js";
|
11
|
-
import "./http-Bz4Cwwej.js";
|
12
|
-
import "./proof-CHYROkSg.js";
|
13
|
-
import "./types-I04dvraP.js";
|
14
|
-
import "./authdocloader-BZCuUFmO.js";
|
15
|
-
import "./vocab-4lLiGEm1.js";
|
16
|
-
|
17
|
-
export { FederationImpl };
|
@@ -1,26 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
globalThis.addEventListener = () => {};
|
5
|
-
|
6
|
-
import "./type-BR1INN9y.js";
|
7
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-6jQAofhT.js";
|
8
|
-
import "./semver-dArNLkR9.js";
|
9
|
-
import "./client-Ck6ylBd-.js";
|
10
|
-
import "./lookup-pXnm85UX.js";
|
11
|
-
import "./types-BIgY6c-l.js";
|
12
|
-
import "./actor-DrrMDNqv.js";
|
13
|
-
import "./key-B8qAJkEU.js";
|
14
|
-
import "./http-kVoJo0eT.js";
|
15
|
-
import "./authdocloader-CtGBVUbq.js";
|
16
|
-
import "./ld-C6ME6fYr.js";
|
17
|
-
import "./owner-BN5pZJ_w.js";
|
18
|
-
import "./proof-hhnma8Mn.js";
|
19
|
-
import "./inbox-C0GeOL55.js";
|
20
|
-
import "./builder-CWFAyvz9.js";
|
21
|
-
import "./collection-CSzG2j1P.js";
|
22
|
-
import "./keycache-BlGGiXHf.js";
|
23
|
-
import "./retry-D4GJ670a.js";
|
24
|
-
import "./send-CvrFNwFY.js";
|
25
|
-
|
26
|
-
export { FederationImpl };
|