@fedify/fedify 1.7.2 → 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-kNI1Kuu5.js → actor-BniCOS3i.js} +3 -3
- package/dist/{actor-C_sd2LSx.js → actor-W-6h4XlQ.js} +179 -179
- 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-B6BfM9cL.js → authdocloader-e8Qhqry3.js} +3 -3
- package/dist/{authdocloader-if5ggdqv.js → authdocloader-o-F5aHAH.js} +3 -3
- package/dist/{builder-BfWHOJkZ.js → builder-6s4wCL2c.js} +4 -4
- package/dist/{client-BiG9LrWB.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-lMHWYYW2.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-Y76fz1QR.js → docloader-BZBrUZeZ.js} +2 -2
- package/dist/{docloader-Q42SMRIB.d.ts → docloader-BeCtcTOJ.d.ts} +1 -1
- package/dist/{docloader-ps0DMWjv.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-D2kxx0MM.js → http-BrJcn5xX.js} +8 -22
- package/dist/{http-B8EiSgi2.d.ts → http-CP2ZUALI.d.ts} +2 -2
- package/dist/{http-xny2jgU9.js → http-CWcmmHS3.js} +8 -22
- package/dist/{inbox-DYa89dK3.js → inbox-DXGMgg5A.js} +2 -2
- package/dist/{key-CW6VucYV.js → key-CKQt2QuX.js} +4 -4
- package/dist/{key-CbN6XqfG.js → key-CL8xpd53.js} +5 -5
- package/dist/{key-C4ZA8dqv.js → key-CNh0_4UK.js} +2 -2
- package/dist/{key-B--oybmj.js → key-CQZCHGYL.js} +3 -3
- package/dist/{keycache-B3XsWKuN.js → keycache-2xuv5jk-.js} +1 -1
- package/dist/{keys-CSt26-hj.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-liCYh9NF.js → ld-CyHD6QTx.js} +3 -3
- package/dist/{lookup-QgCHmE_h.js → lookup-B3Ji9Hri.js} +1 -1
- package/dist/{lookup-UHy_h_Ub.js → lookup-CO7jWozP.js} +4 -4
- package/dist/{lookup-154aM5KD.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-BeTfacPC.js → middleware-BrK09zm5.js} +11 -11
- package/dist/{middleware-CfHPRgJ8.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-CrtnBHX7.js → owner-D3kbnehv.js} +3 -3
- package/dist/{proof-DPvYSJvz.js → proof-BIg4cgPU.js} +3 -3
- package/dist/{proof-JaQW7dZG.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-BHD0sfF3.js → send-rnqPOKSI.js} +2 -2
- package/dist/sig/http.test.js +16 -44
- 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-kUNFKQc-.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 +53 -49
- package/dist/{vocab-B-3Rb7jH.js → vocab-BIhg0gCj.js} +178 -178
- package/dist/{vocab-DZnMWLHx.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-DLfV8p8d.js +0 -17
- package/dist/middleware-qG5pwbUh.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,35 +3,39 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals
|
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.
|
28
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_os.js
|
29
|
+
const isWindows = globalThis.Deno?.build.os === "windows" || globalThis.navigator?.platform?.startsWith("Win") || globalThis.process?.platform?.startsWith("win") || false;
|
30
|
+
|
31
|
+
//#endregion
|
32
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/assert_path.js
|
29
33
|
function assertPath(path) {
|
30
34
|
if (typeof path !== "string") throw new TypeError(`Path must be a string, received "${JSON.stringify(path)}"`);
|
31
35
|
}
|
32
36
|
|
33
37
|
//#endregion
|
34
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
38
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/from_file_url.js
|
35
39
|
function assertArg$2(url) {
|
36
40
|
url = url instanceof URL ? url : new URL(url);
|
37
41
|
if (url.protocol !== "file:") throw new TypeError(`URL must be a file URL: received "${url.protocol}"`);
|
@@ -39,7 +43,7 @@ function assertArg$2(url) {
|
|
39
43
|
}
|
40
44
|
|
41
45
|
//#endregion
|
42
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
46
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/posix/from_file_url.js
|
43
47
|
/**
|
44
48
|
* Converts a file URL to a path string.
|
45
49
|
*
|
@@ -59,7 +63,7 @@ function assertArg$2(url) {
|
|
59
63
|
}
|
60
64
|
|
61
65
|
//#endregion
|
62
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
66
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/strip_trailing_separators.js
|
63
67
|
function stripTrailingSeparators(segment, isSep) {
|
64
68
|
if (segment.length <= 1) return segment;
|
65
69
|
let end = segment.length;
|
@@ -69,18 +73,18 @@ function stripTrailingSeparators(segment, isSep) {
|
|
69
73
|
}
|
70
74
|
|
71
75
|
//#endregion
|
72
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
76
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/constants.js
|
73
77
|
const CHAR_DOT = 46;
|
74
78
|
const CHAR_FORWARD_SLASH = 47;
|
75
79
|
|
76
80
|
//#endregion
|
77
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
81
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/posix/_util.js
|
78
82
|
function isPosixPathSeparator(code) {
|
79
83
|
return code === CHAR_FORWARD_SLASH;
|
80
84
|
}
|
81
85
|
|
82
86
|
//#endregion
|
83
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
87
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/windows/from_file_url.js
|
84
88
|
/**
|
85
89
|
* Converts a file URL to a path string.
|
86
90
|
*
|
@@ -104,14 +108,14 @@ function isPosixPathSeparator(code) {
|
|
104
108
|
}
|
105
109
|
|
106
110
|
//#endregion
|
107
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
111
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/dirname.js
|
108
112
|
function assertArg$1(path) {
|
109
113
|
assertPath(path);
|
110
114
|
if (path.length === 0) return ".";
|
111
115
|
}
|
112
116
|
|
113
117
|
//#endregion
|
114
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
118
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/posix/dirname.js
|
115
119
|
/**
|
116
120
|
* Return the directory path of a `path`.
|
117
121
|
*
|
@@ -155,7 +159,7 @@ function assertArg$1(path) {
|
|
155
159
|
}
|
156
160
|
|
157
161
|
//#endregion
|
158
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
162
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/from_file_url.js
|
159
163
|
/**
|
160
164
|
* Converts a file URL to a path string.
|
161
165
|
*
|
@@ -180,14 +184,14 @@ function assertArg$1(path) {
|
|
180
184
|
}
|
181
185
|
|
182
186
|
//#endregion
|
183
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
187
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/normalize.js
|
184
188
|
function assertArg(path) {
|
185
189
|
assertPath(path);
|
186
190
|
if (path.length === 0) return ".";
|
187
191
|
}
|
188
192
|
|
189
193
|
//#endregion
|
190
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
194
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/_common/normalize_string.js
|
191
195
|
function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
192
196
|
let res = "";
|
193
197
|
let lastSegmentLength = 0;
|
@@ -240,7 +244,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
240
244
|
}
|
241
245
|
|
242
246
|
//#endregion
|
243
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
247
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/posix/normalize.js
|
244
248
|
/**
|
245
249
|
* Normalize the `path`, resolving `'..'` and `'.'` segments.
|
246
250
|
* Note that resolving these segments does not necessarily mean that all will be eliminated.
|
@@ -288,7 +292,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
288
292
|
}
|
289
293
|
|
290
294
|
//#endregion
|
291
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
295
|
+
//#region ../node_modules/.pnpm/@jsr+std__path@1.1.0/node_modules/@jsr/std__path/posix/join.js
|
292
296
|
/**
|
293
297
|
* Join all given a sequence of `paths`,then normalizes the resulting path.
|
294
298
|
*
|
@@ -327,7 +331,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
327
331
|
}
|
328
332
|
|
329
333
|
//#endregion
|
330
|
-
//#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
|
331
335
|
/**
|
332
336
|
* Strips any hash (eg. `#header`) or search parameters (eg. `?foo=bar`) from the provided URL.
|
333
337
|
*
|
@@ -339,7 +343,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
339
343
|
}
|
340
344
|
|
341
345
|
//#endregion
|
342
|
-
//#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
|
343
347
|
/**
|
344
348
|
* Returns the directory path URL of a URL or URL string.
|
345
349
|
*
|
@@ -369,7 +373,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
369
373
|
}
|
370
374
|
|
371
375
|
//#endregion
|
372
|
-
//#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
|
373
377
|
/**
|
374
378
|
* Joins a base URL or URL string, and a sequence of path segments together,
|
375
379
|
* then normalizes the resulting URL.
|
@@ -398,7 +402,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
398
402
|
}
|
399
403
|
|
400
404
|
//#endregion
|
401
|
-
//#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
|
402
406
|
const TAB = 9;
|
403
407
|
const LINE_FEED = 10;
|
404
408
|
const CARRIAGE_RETURN = 13;
|
@@ -440,7 +444,7 @@ function isFlowIndicator(c) {
|
|
440
444
|
}
|
441
445
|
|
442
446
|
//#endregion
|
443
|
-
//#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
|
444
448
|
const BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
|
445
449
|
function resolveYamlBinary(data) {
|
446
450
|
if (data === null) return false;
|
@@ -527,7 +531,7 @@ const binary = {
|
|
527
531
|
};
|
528
532
|
|
529
533
|
//#endregion
|
530
|
-
//#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
|
531
535
|
const YAML_TRUE_BOOLEANS = [
|
532
536
|
"true",
|
533
537
|
"True",
|
@@ -563,7 +567,7 @@ const bool = {
|
|
563
567
|
};
|
564
568
|
|
565
569
|
//#endregion
|
566
|
-
//#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
|
567
571
|
function isObject(value) {
|
568
572
|
return value !== null && typeof value === "object";
|
569
573
|
}
|
@@ -575,7 +579,7 @@ function isPlainObject(object) {
|
|
575
579
|
}
|
576
580
|
|
577
581
|
//#endregion
|
578
|
-
//#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
|
579
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))$");
|
580
584
|
function resolveYamlFloat(data) {
|
581
585
|
if (!YAML_FLOAT_PATTERN.test(data) || data[data.length - 1] === "_") return false;
|
@@ -626,7 +630,7 @@ const float = {
|
|
626
630
|
};
|
627
631
|
|
628
632
|
//#endregion
|
629
|
-
//#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
|
630
634
|
function isCharCodeInRange(c, lower, upper) {
|
631
635
|
return lower <= c && c <= upper;
|
632
636
|
}
|
@@ -737,7 +741,7 @@ const int = {
|
|
737
741
|
};
|
738
742
|
|
739
743
|
//#endregion
|
740
|
-
//#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
|
741
745
|
const map = {
|
742
746
|
tag: "tag:yaml.org,2002:map",
|
743
747
|
resolve() {
|
@@ -750,7 +754,7 @@ const map = {
|
|
750
754
|
};
|
751
755
|
|
752
756
|
//#endregion
|
753
|
-
//#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
|
754
758
|
const merge = {
|
755
759
|
tag: "tag:yaml.org,2002:merge",
|
756
760
|
kind: "scalar",
|
@@ -759,7 +763,7 @@ const merge = {
|
|
759
763
|
};
|
760
764
|
|
761
765
|
//#endregion
|
762
|
-
//#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
|
763
767
|
const nil = {
|
764
768
|
tag: "tag:yaml.org,2002:null",
|
765
769
|
kind: "scalar",
|
@@ -777,7 +781,7 @@ const nil = {
|
|
777
781
|
};
|
778
782
|
|
779
783
|
//#endregion
|
780
|
-
//#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
|
781
785
|
function resolveYamlOmap(data) {
|
782
786
|
const objectKeys = /* @__PURE__ */ new Set();
|
783
787
|
for (const object of data) {
|
@@ -801,7 +805,7 @@ const omap = {
|
|
801
805
|
};
|
802
806
|
|
803
807
|
//#endregion
|
804
|
-
//#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
|
805
809
|
function resolveYamlPairs(data) {
|
806
810
|
if (data === null) return true;
|
807
811
|
return data.every((it) => isPlainObject(it) && Object.keys(it).length === 1);
|
@@ -816,7 +820,7 @@ const pairs = {
|
|
816
820
|
};
|
817
821
|
|
818
822
|
//#endregion
|
819
|
-
//#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
|
820
824
|
const REGEXP = /^\/(?<regexp>[\s\S]+)\/(?<modifiers>[gismuy]*)$/;
|
821
825
|
const regexp = {
|
822
826
|
tag: "tag:yaml.org,2002:js/regexp",
|
@@ -840,7 +844,7 @@ const regexp = {
|
|
840
844
|
};
|
841
845
|
|
842
846
|
//#endregion
|
843
|
-
//#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
|
844
848
|
const seq = {
|
845
849
|
tag: "tag:yaml.org,2002:seq",
|
846
850
|
kind: "sequence",
|
@@ -849,7 +853,7 @@ const seq = {
|
|
849
853
|
};
|
850
854
|
|
851
855
|
//#endregion
|
852
|
-
//#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
|
853
857
|
const set = {
|
854
858
|
tag: "tag:yaml.org,2002:set",
|
855
859
|
kind: "mapping",
|
@@ -861,7 +865,7 @@ const set = {
|
|
861
865
|
};
|
862
866
|
|
863
867
|
//#endregion
|
864
|
-
//#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
|
865
869
|
const str = {
|
866
870
|
tag: "tag:yaml.org,2002:str",
|
867
871
|
kind: "scalar",
|
@@ -870,7 +874,7 @@ const str = {
|
|
870
874
|
};
|
871
875
|
|
872
876
|
//#endregion
|
873
|
-
//#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
|
874
878
|
const YAML_DATE_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");
|
875
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]))?))?$");
|
876
880
|
function resolveYamlTimestamp(data) {
|
@@ -922,7 +926,7 @@ const timestamp = {
|
|
922
926
|
};
|
923
927
|
|
924
928
|
//#endregion
|
925
|
-
//#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
|
926
930
|
const undefinedType = {
|
927
931
|
tag: "tag:yaml.org,2002:js/undefined",
|
928
932
|
kind: "scalar",
|
@@ -941,7 +945,7 @@ const undefinedType = {
|
|
941
945
|
};
|
942
946
|
|
943
947
|
//#endregion
|
944
|
-
//#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
|
945
949
|
function createTypeMap(implicitTypes, explicitTypes) {
|
946
950
|
const result = {
|
947
951
|
fallback: /* @__PURE__ */ new Map(),
|
@@ -1040,7 +1044,7 @@ const SCHEMA_MAP = new Map([
|
|
1040
1044
|
]);
|
1041
1045
|
|
1042
1046
|
//#endregion
|
1043
|
-
//#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
|
1044
1048
|
const CONTEXT_FLOW_IN = 1;
|
1045
1049
|
const CONTEXT_FLOW_OUT = 2;
|
1046
1050
|
const CONTEXT_BLOCK_IN = 3;
|
@@ -1945,7 +1949,7 @@ var LoaderState = class {
|
|
1945
1949
|
};
|
1946
1950
|
|
1947
1951
|
//#endregion
|
1948
|
-
//#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
|
1949
1953
|
function sanitizeInput(input) {
|
1950
1954
|
input = String(input);
|
1951
1955
|
if (input.length > 0) {
|