@fedify/fedify 1.8.0-dev.909 → 1.8.0-dev.910
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/dist/{actor-CPpvuBKU.d.ts → actor-B4TBtqRP.d.ts} +2 -2
- package/dist/{actor-CyOLxmqe.js → actor-BniCOS3i.js} +3 -3
- package/dist/{actor-BITBdkks.js → actor-W-6h4XlQ.js} +179 -179
- package/dist/{assert-YJk-1DlZ.js → assert-DwEa6glZ.js} +2 -2
- package/dist/{assert_equals-Dnj7ejjL.js → assert_equals-C5gKCm6A.js} +9 -9
- package/dist/{assert_instance_of-DBIoG5k7.js → assert_instance_of-C9QtN-X9.js} +2 -2
- package/dist/{assert_is_error-jyzqjHud.js → assert_is_error-DQdKoRgb.js} +2 -2
- package/dist/{assert_not_equals-wx-SRs4i.js → assert_not_equals-7pyUM3Ib.js} +2 -2
- package/dist/{assert_rejects-BZjUwo62.js → assert_rejects-DceVjUlD.js} +4 -4
- package/dist/{assert_throws-gBPv3v2V.js → assert_throws-DTDC_gwN.js} +3 -3
- package/dist/{authdocloader-CR4ReBEM.js → authdocloader-e8Qhqry3.js} +3 -3
- package/dist/{authdocloader-C5uOgSX0.js → authdocloader-o-F5aHAH.js} +3 -3
- package/dist/{builder-Cn_dEFUY.js → builder-6s4wCL2c.js} +4 -4
- package/dist/{client-CMFozQ9u.js → client-37jfjmdY.js} +1 -1
- package/dist/{client-DvtwXO7t.d.ts → client-BQ4AQGKo.d.ts} +1 -1
- package/dist/compat/mod.d.ts +11 -11
- package/dist/compat/transformers.test.js +22 -22
- package/dist/{context-C5QfN69i.js → context-ByWT6rsc.js} +3 -3
- package/dist/{context-DPggmpB4.d.ts → context-y90aX3KP.d.ts} +9 -9
- package/dist/{denokv-CvROlGYX.js → denokv-QWKsIqML.js} +2 -0
- package/dist/{docloader-B8LwWSQH.js → docloader-BZBrUZeZ.js} +2 -2
- package/dist/{docloader-Q42SMRIB.d.ts → docloader-BeCtcTOJ.d.ts} +1 -1
- package/dist/{docloader-BGrugaWu.js → docloader-DzoNSY8I.js} +2 -2
- 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 +29 -29
- 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-LxMzqv6Y.js → http-BrJcn5xX.js} +3 -3
- package/dist/{http-B8EiSgi2.d.ts → http-CP2ZUALI.d.ts} +2 -2
- package/dist/{http-Bw-KypWQ.js → http-CWcmmHS3.js} +3 -3
- package/dist/{inbox-B3KrAg1n.js → inbox-DXGMgg5A.js} +2 -2
- package/dist/{key-c8XWz3r4.js → key-CKQt2QuX.js} +4 -4
- package/dist/{key-CC7vZuiT.js → key-CL8xpd53.js} +5 -5
- package/dist/{key-Bd0PZBDK.js → key-CNh0_4UK.js} +2 -2
- package/dist/{key-CTBNGHFy.js → key-CQZCHGYL.js} +3 -3
- package/dist/{keycache-BUHOqfY2.js → keycache-2xuv5jk-.js} +1 -1
- package/dist/{keys-DUTOB0Cy.js → keys-_CuBoyQl.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-C_ovlkZL.js → ld-CyHD6QTx.js} +3 -3
- package/dist/{lookup-DtBlAJy1.js → lookup-B3Ji9Hri.js} +1 -1
- package/dist/{lookup-CI7otoDD.js → lookup-CO7jWozP.js} +4 -4
- package/dist/{lookup-Br1lrdl-.js → lookup-CfqMiAUO.js} +1 -1
- package/dist/{lookup-Bf-K85bV.d.ts → lookup-DHNtuVcT.d.ts} +1 -1
- package/dist/middleware-BWBJQC-P.js +17 -0
- package/dist/{middleware-yeyGostM.js → middleware-BrK09zm5.js} +11 -11
- package/dist/{middleware-CMWhjpuL.js → middleware-DYZ4sFyx.js} +16 -16
- package/dist/middleware-Dx6oWBGd.js +33 -0
- package/dist/{mod-CDzlVCUF.d.ts → mod-BzLUzgBJ.d.ts} +2 -2
- package/dist/{mod-CbjCOiVh.d.ts → mod-CaGwZaei.d.ts} +2 -2
- 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.d.ts +13 -13
- package/dist/mod.js +11 -11
- 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-D0cOz8R5.d.ts → owner-CEv_PfyK.d.ts} +3 -3
- package/dist/{owner-CkLDJKtn.js → owner-D3kbnehv.js} +3 -3
- package/dist/{proof-C1975Dmq.js → proof-BIg4cgPU.js} +3 -3
- package/dist/{proof-C0PGy60K.js → proof-C8Br62yY.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-QHgSClXu.js → send-rnqPOKSI.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-CHXwj7zk.js → std__assert-B3iAixc-.js} +6 -6
- package/dist/testing/docloader.test.js +8 -8
- package/dist/{types-C1PZR_wN.js → types-CF4796nA.js} +1 -1
- package/dist/vocab/actor.test.js +142 -142
- package/dist/vocab/lookup.test.js +13 -13
- package/dist/vocab/mod.d.ts +5 -5
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +50 -50
- package/dist/{vocab-CDmoyB_X.js → vocab-BIhg0gCj.js} +178 -178
- package/dist/{vocab-caJ0egxJ.js → vocab-Ba2a4kTo.js} +4 -4
- package/dist/{vocab-CzEfWQk2.d.ts → vocab-By6mpzr-.d.ts} +1 -1
- package/dist/webfinger/handler.test.js +28 -28
- package/dist/webfinger/lookup.test.js +12 -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 +3 -3
- package/dist/middleware-D-pC2m-d.js +0 -17
- package/dist/middleware-DhHXwhPP.js +0 -33
@@ -3,25 +3,25 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import "../assert-
|
8
|
-
import { assertInstanceOf } from "../assert_instance_of-
|
9
|
-
import "../docloader-
|
6
|
+
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
7
|
+
import "../assert-DwEa6glZ.js";
|
8
|
+
import { assertInstanceOf } from "../assert_instance_of-C9QtN-X9.js";
|
9
|
+
import "../docloader-BZBrUZeZ.js";
|
10
10
|
import "../url-kTAI6_KP.js";
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
12
|
-
import { Collection, Note, Object as Object$1, Person } from "../vocab-
|
12
|
+
import { Collection, Note, Object as Object$1, Person } from "../vocab-BIhg0gCj.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-B3Ji9Hri.js";
|
15
15
|
import "../type-D2s5lmbZ.js";
|
16
|
-
import { lookupObject, traverseCollection } from "../lookup-
|
16
|
+
import { lookupObject, traverseCollection } from "../lookup-CO7jWozP.js";
|
17
17
|
import { test } from "../testing-BZ0dJ4qn.js";
|
18
|
-
import "../std__assert-
|
19
|
-
import "../assert_rejects-
|
20
|
-
import "../assert_is_error-
|
21
|
-
import "../assert_not_equals-
|
22
|
-
import "../assert_throws-
|
18
|
+
import "../std__assert-B3iAixc-.js";
|
19
|
+
import "../assert_rejects-DceVjUlD.js";
|
20
|
+
import "../assert_is_error-DQdKoRgb.js";
|
21
|
+
import "../assert_not_equals-7pyUM3Ib.js";
|
22
|
+
import "../assert_throws-DTDC_gwN.js";
|
23
23
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
24
|
-
import { esm_default } from "../esm-
|
24
|
+
import { esm_default } from "../esm-d-9EVGaP.js";
|
25
25
|
|
26
26
|
//#region vocab/lookup.test.ts
|
27
27
|
test("lookupObject()", async (t) => {
|
package/dist/vocab/mod.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import "../kv-
|
4
|
-
import "../docloader-
|
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 { LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, lookupObject, traverseCollection } from "../mod-
|
3
|
+
import "../kv-DDdb1hMa.js";
|
4
|
+
import "../docloader-BeCtcTOJ.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-By6mpzr-.js";
|
6
|
+
import { Actor, ActorTypeName, GetActorHandleOptions, NormalizeActorHandleOptions, Recipient, getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-B4TBtqRP.js";
|
7
|
+
import { LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, lookupObject, traverseCollection } from "../mod-BzLUzgBJ.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, 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, lookupObject, normalizeActorHandle, 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, lookupObject, traverseCollection } from "../vocab-
|
5
|
+
import "../docloader-DzoNSY8I.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-W-6h4XlQ.js";
|
7
|
+
import "../lookup-CfqMiAUO.js";
|
8
|
+
import { PUBLIC_COLLECTION, lookupObject, traverseCollection } from "../vocab-Ba2a4kTo.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, lookupObject, normalizeActorHandle, traverseCollection };
|
package/dist/vocab/type.test.js
CHANGED
@@ -3,11 +3,11 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import "../docloader-
|
6
|
+
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
7
|
+
import "../docloader-BZBrUZeZ.js";
|
8
8
|
import "../url-kTAI6_KP.js";
|
9
9
|
import "../multibase-DeCHcK8L.js";
|
10
|
-
import { Person } from "../vocab-
|
10
|
+
import { Person } from "../vocab-BIhg0gCj.js";
|
11
11
|
import "../langstr-DbWheeIS.js";
|
12
12
|
import { getTypeId } from "../type-D2s5lmbZ.js";
|
13
13
|
import { test } from "../testing-BZ0dJ4qn.js";
|
package/dist/vocab/vocab.test.js
CHANGED
@@ -3,39 +3,39 @@
|
|
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 "../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 "../docloader-BZBrUZeZ.js";
|
10
10
|
import "../url-kTAI6_KP.js";
|
11
11
|
import { decode } from "../multibase-DeCHcK8L.js";
|
12
|
-
import { Activity, Announce, Create, CryptographicKey, Follow, Hashtag, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, vocab_exports } from "../vocab-
|
12
|
+
import { Activity, Announce, Create, CryptographicKey, Follow, Hashtag, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, vocab_exports } from "../vocab-BIhg0gCj.js";
|
13
13
|
import { LanguageString } from "../langstr-DbWheeIS.js";
|
14
14
|
import { test } from "../testing-BZ0dJ4qn.js";
|
15
|
-
import "../std__assert-
|
16
|
-
import { assertFalse, assertRejects } from "../assert_rejects-
|
17
|
-
import "../assert_is_error-
|
18
|
-
import { assertNotEquals } from "../assert_not_equals-
|
19
|
-
import { assertThrows } from "../assert_throws-
|
15
|
+
import "../std__assert-B3iAixc-.js";
|
16
|
+
import { assertFalse, assertRejects } from "../assert_rejects-DceVjUlD.js";
|
17
|
+
import "../assert_is_error-DQdKoRgb.js";
|
18
|
+
import { assertNotEquals } from "../assert_not_equals-7pyUM3Ib.js";
|
19
|
+
import { assertThrows } from "../assert_throws-DTDC_gwN.js";
|
20
20
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
21
|
-
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-
|
22
|
-
import { pascalCase } from "
|
21
|
+
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-_CuBoyQl.js";
|
22
|
+
import { pascalCase } from "es-toolkit";
|
23
23
|
import { parseLanguageTag } from "@phensley/language-tag";
|
24
24
|
import { Validator } from "@cfworker/json-schema";
|
25
25
|
import { readFile, readdir } from "node:fs/promises";
|
26
26
|
import { join } from "node:path";
|
27
27
|
|
28
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_os.js
|
28
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_os.js
|
29
29
|
const isWindows = globalThis.Deno?.build.os === "windows" || globalThis.navigator?.platform?.startsWith("Win") || globalThis.process?.platform?.startsWith("win") || false;
|
30
30
|
|
31
31
|
//#endregion
|
32
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/assert_path.js
|
32
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/assert_path.js
|
33
33
|
function assertPath(path) {
|
34
34
|
if (typeof path !== "string") throw new TypeError(`Path must be a string, received "${JSON.stringify(path)}"`);
|
35
35
|
}
|
36
36
|
|
37
37
|
//#endregion
|
38
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/from_file_url.js
|
38
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/from_file_url.js
|
39
39
|
function assertArg$2(url) {
|
40
40
|
url = url instanceof URL ? url : new URL(url);
|
41
41
|
if (url.protocol !== "file:") throw new TypeError(`URL must be a file URL: received "${url.protocol}"`);
|
@@ -43,7 +43,7 @@ function assertArg$2(url) {
|
|
43
43
|
}
|
44
44
|
|
45
45
|
//#endregion
|
46
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/posix/from_file_url.js
|
46
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/posix/from_file_url.js
|
47
47
|
/**
|
48
48
|
* Converts a file URL to a path string.
|
49
49
|
*
|
@@ -63,7 +63,7 @@ function assertArg$2(url) {
|
|
63
63
|
}
|
64
64
|
|
65
65
|
//#endregion
|
66
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/strip_trailing_separators.js
|
66
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/strip_trailing_separators.js
|
67
67
|
function stripTrailingSeparators(segment, isSep) {
|
68
68
|
if (segment.length <= 1) return segment;
|
69
69
|
let end = segment.length;
|
@@ -73,18 +73,18 @@ function stripTrailingSeparators(segment, isSep) {
|
|
73
73
|
}
|
74
74
|
|
75
75
|
//#endregion
|
76
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/constants.js
|
76
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/constants.js
|
77
77
|
const CHAR_DOT = 46;
|
78
78
|
const CHAR_FORWARD_SLASH = 47;
|
79
79
|
|
80
80
|
//#endregion
|
81
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/posix/_util.js
|
81
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/posix/_util.js
|
82
82
|
function isPosixPathSeparator(code) {
|
83
83
|
return code === CHAR_FORWARD_SLASH;
|
84
84
|
}
|
85
85
|
|
86
86
|
//#endregion
|
87
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/windows/from_file_url.js
|
87
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/windows/from_file_url.js
|
88
88
|
/**
|
89
89
|
* Converts a file URL to a path string.
|
90
90
|
*
|
@@ -108,14 +108,14 @@ function isPosixPathSeparator(code) {
|
|
108
108
|
}
|
109
109
|
|
110
110
|
//#endregion
|
111
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/dirname.js
|
111
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/dirname.js
|
112
112
|
function assertArg$1(path) {
|
113
113
|
assertPath(path);
|
114
114
|
if (path.length === 0) return ".";
|
115
115
|
}
|
116
116
|
|
117
117
|
//#endregion
|
118
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/posix/dirname.js
|
118
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/posix/dirname.js
|
119
119
|
/**
|
120
120
|
* Return the directory path of a `path`.
|
121
121
|
*
|
@@ -159,7 +159,7 @@ function assertArg$1(path) {
|
|
159
159
|
}
|
160
160
|
|
161
161
|
//#endregion
|
162
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/from_file_url.js
|
162
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/from_file_url.js
|
163
163
|
/**
|
164
164
|
* Converts a file URL to a path string.
|
165
165
|
*
|
@@ -184,14 +184,14 @@ function assertArg$1(path) {
|
|
184
184
|
}
|
185
185
|
|
186
186
|
//#endregion
|
187
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/normalize.js
|
187
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/normalize.js
|
188
188
|
function assertArg(path) {
|
189
189
|
assertPath(path);
|
190
190
|
if (path.length === 0) return ".";
|
191
191
|
}
|
192
192
|
|
193
193
|
//#endregion
|
194
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/normalize_string.js
|
194
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/normalize_string.js
|
195
195
|
function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
196
196
|
let res = "";
|
197
197
|
let lastSegmentLength = 0;
|
@@ -244,7 +244,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
244
244
|
}
|
245
245
|
|
246
246
|
//#endregion
|
247
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/posix/normalize.js
|
247
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/posix/normalize.js
|
248
248
|
/**
|
249
249
|
* Normalize the `path`, resolving `'..'` and `'.'` segments.
|
250
250
|
* Note that resolving these segments does not necessarily mean that all will be eliminated.
|
@@ -292,7 +292,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
292
292
|
}
|
293
293
|
|
294
294
|
//#endregion
|
295
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/posix/join.js
|
295
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/posix/join.js
|
296
296
|
/**
|
297
297
|
* Join all given a sequence of `paths`,then normalizes the resulting path.
|
298
298
|
*
|
@@ -331,7 +331,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
331
331
|
}
|
332
332
|
|
333
333
|
//#endregion
|
334
|
-
//#region node_modules/.pnpm/@jsr+std__url@1.0.0-rc.3/node_modules/@jsr/std__url/_strip.js
|
334
|
+
//#region ../node_modules/.pnpm/@jsr+std__url@1.0.0-rc.3/node_modules/@jsr/std__url/_strip.js
|
335
335
|
/**
|
336
336
|
* Strips any hash (eg. `#header`) or search parameters (eg. `?foo=bar`) from the provided URL.
|
337
337
|
*
|
@@ -343,7 +343,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
343
343
|
}
|
344
344
|
|
345
345
|
//#endregion
|
346
|
-
//#region node_modules/.pnpm/@jsr+std__url@1.0.0-rc.3/node_modules/@jsr/std__url/dirname.js
|
346
|
+
//#region ../node_modules/.pnpm/@jsr+std__url@1.0.0-rc.3/node_modules/@jsr/std__url/dirname.js
|
347
347
|
/**
|
348
348
|
* Returns the directory path URL of a URL or URL string.
|
349
349
|
*
|
@@ -373,7 +373,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
373
373
|
}
|
374
374
|
|
375
375
|
//#endregion
|
376
|
-
//#region node_modules/.pnpm/@jsr+std__url@1.0.0-rc.3/node_modules/@jsr/std__url/join.js
|
376
|
+
//#region ../node_modules/.pnpm/@jsr+std__url@1.0.0-rc.3/node_modules/@jsr/std__url/join.js
|
377
377
|
/**
|
378
378
|
* Joins a base URL or URL string, and a sequence of path segments together,
|
379
379
|
* then normalizes the resulting URL.
|
@@ -402,7 +402,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
402
402
|
}
|
403
403
|
|
404
404
|
//#endregion
|
405
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_chars.js
|
405
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_chars.js
|
406
406
|
const TAB = 9;
|
407
407
|
const LINE_FEED = 10;
|
408
408
|
const CARRIAGE_RETURN = 13;
|
@@ -444,7 +444,7 @@ function isFlowIndicator(c) {
|
|
444
444
|
}
|
445
445
|
|
446
446
|
//#endregion
|
447
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/binary.js
|
447
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/binary.js
|
448
448
|
const BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
|
449
449
|
function resolveYamlBinary(data) {
|
450
450
|
if (data === null) return false;
|
@@ -531,7 +531,7 @@ const binary = {
|
|
531
531
|
};
|
532
532
|
|
533
533
|
//#endregion
|
534
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/bool.js
|
534
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/bool.js
|
535
535
|
const YAML_TRUE_BOOLEANS = [
|
536
536
|
"true",
|
537
537
|
"True",
|
@@ -567,7 +567,7 @@ const bool = {
|
|
567
567
|
};
|
568
568
|
|
569
569
|
//#endregion
|
570
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_utils.js
|
570
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_utils.js
|
571
571
|
function isObject(value) {
|
572
572
|
return value !== null && typeof value === "object";
|
573
573
|
}
|
@@ -579,7 +579,7 @@ function isPlainObject(object) {
|
|
579
579
|
}
|
580
580
|
|
581
581
|
//#endregion
|
582
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/float.js
|
582
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/float.js
|
583
583
|
const YAML_FLOAT_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
584
584
|
function resolveYamlFloat(data) {
|
585
585
|
if (!YAML_FLOAT_PATTERN.test(data) || data[data.length - 1] === "_") return false;
|
@@ -630,7 +630,7 @@ const float = {
|
|
630
630
|
};
|
631
631
|
|
632
632
|
//#endregion
|
633
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/int.js
|
633
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/int.js
|
634
634
|
function isCharCodeInRange(c, lower, upper) {
|
635
635
|
return lower <= c && c <= upper;
|
636
636
|
}
|
@@ -741,7 +741,7 @@ const int = {
|
|
741
741
|
};
|
742
742
|
|
743
743
|
//#endregion
|
744
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/map.js
|
744
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/map.js
|
745
745
|
const map = {
|
746
746
|
tag: "tag:yaml.org,2002:map",
|
747
747
|
resolve() {
|
@@ -754,7 +754,7 @@ const map = {
|
|
754
754
|
};
|
755
755
|
|
756
756
|
//#endregion
|
757
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/merge.js
|
757
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/merge.js
|
758
758
|
const merge = {
|
759
759
|
tag: "tag:yaml.org,2002:merge",
|
760
760
|
kind: "scalar",
|
@@ -763,7 +763,7 @@ const merge = {
|
|
763
763
|
};
|
764
764
|
|
765
765
|
//#endregion
|
766
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/nil.js
|
766
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/nil.js
|
767
767
|
const nil = {
|
768
768
|
tag: "tag:yaml.org,2002:null",
|
769
769
|
kind: "scalar",
|
@@ -781,7 +781,7 @@ const nil = {
|
|
781
781
|
};
|
782
782
|
|
783
783
|
//#endregion
|
784
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/omap.js
|
784
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/omap.js
|
785
785
|
function resolveYamlOmap(data) {
|
786
786
|
const objectKeys = /* @__PURE__ */ new Set();
|
787
787
|
for (const object of data) {
|
@@ -805,7 +805,7 @@ const omap = {
|
|
805
805
|
};
|
806
806
|
|
807
807
|
//#endregion
|
808
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/pairs.js
|
808
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/pairs.js
|
809
809
|
function resolveYamlPairs(data) {
|
810
810
|
if (data === null) return true;
|
811
811
|
return data.every((it) => isPlainObject(it) && Object.keys(it).length === 1);
|
@@ -820,7 +820,7 @@ const pairs = {
|
|
820
820
|
};
|
821
821
|
|
822
822
|
//#endregion
|
823
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/regexp.js
|
823
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/regexp.js
|
824
824
|
const REGEXP = /^\/(?<regexp>[\s\S]+)\/(?<modifiers>[gismuy]*)$/;
|
825
825
|
const regexp = {
|
826
826
|
tag: "tag:yaml.org,2002:js/regexp",
|
@@ -844,7 +844,7 @@ const regexp = {
|
|
844
844
|
};
|
845
845
|
|
846
846
|
//#endregion
|
847
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/seq.js
|
847
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/seq.js
|
848
848
|
const seq = {
|
849
849
|
tag: "tag:yaml.org,2002:seq",
|
850
850
|
kind: "sequence",
|
@@ -853,7 +853,7 @@ const seq = {
|
|
853
853
|
};
|
854
854
|
|
855
855
|
//#endregion
|
856
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/set.js
|
856
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/set.js
|
857
857
|
const set = {
|
858
858
|
tag: "tag:yaml.org,2002:set",
|
859
859
|
kind: "mapping",
|
@@ -865,7 +865,7 @@ const set = {
|
|
865
865
|
};
|
866
866
|
|
867
867
|
//#endregion
|
868
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/str.js
|
868
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/str.js
|
869
869
|
const str = {
|
870
870
|
tag: "tag:yaml.org,2002:str",
|
871
871
|
kind: "scalar",
|
@@ -874,7 +874,7 @@ const str = {
|
|
874
874
|
};
|
875
875
|
|
876
876
|
//#endregion
|
877
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/timestamp.js
|
877
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/timestamp.js
|
878
878
|
const YAML_DATE_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");
|
879
879
|
const YAML_TIMESTAMP_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
|
880
880
|
function resolveYamlTimestamp(data) {
|
@@ -926,7 +926,7 @@ const timestamp = {
|
|
926
926
|
};
|
927
927
|
|
928
928
|
//#endregion
|
929
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/undefined.js
|
929
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_type/undefined.js
|
930
930
|
const undefinedType = {
|
931
931
|
tag: "tag:yaml.org,2002:js/undefined",
|
932
932
|
kind: "scalar",
|
@@ -945,7 +945,7 @@ const undefinedType = {
|
|
945
945
|
};
|
946
946
|
|
947
947
|
//#endregion
|
948
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_schema.js
|
948
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_schema.js
|
949
949
|
function createTypeMap(implicitTypes, explicitTypes) {
|
950
950
|
const result = {
|
951
951
|
fallback: /* @__PURE__ */ new Map(),
|
@@ -1044,7 +1044,7 @@ const SCHEMA_MAP = new Map([
|
|
1044
1044
|
]);
|
1045
1045
|
|
1046
1046
|
//#endregion
|
1047
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_loader_state.js
|
1047
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/_loader_state.js
|
1048
1048
|
const CONTEXT_FLOW_IN = 1;
|
1049
1049
|
const CONTEXT_FLOW_OUT = 2;
|
1050
1050
|
const CONTEXT_BLOCK_IN = 3;
|
@@ -1949,7 +1949,7 @@ var LoaderState = class {
|
|
1949
1949
|
};
|
1950
1950
|
|
1951
1951
|
//#endregion
|
1952
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/parse.js
|
1952
|
+
//#region ../node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/parse.js
|
1953
1953
|
function sanitizeInput(input) {
|
1954
1954
|
input = String(input);
|
1955
1955
|
if (input.length > 0) {
|