@fedify/fedify 1.7.0-dev.887 → 1.7.0-dev.892
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-D-9qJ3V5.js → actor-CMv9mxQZ.js} +3 -3
- package/dist/{actor-DzovCADh.js → actor-CP7N6awJ.js} +179 -179
- package/dist/{authdocloader-1prk3606.js → authdocloader-ClW2wfPp.js} +3 -3
- package/dist/{authdocloader-DiYcSM7x.js → authdocloader-De44L3A0.js} +3 -3
- package/dist/{builder-DV1la2SX.js → builder-DfIwMEXW.js} +3 -3
- package/dist/{client-DSy0ry-S.js → client-Dsh4qTIG.js} +1 -1
- package/dist/compat/transformers.test.js +17 -17
- package/dist/{context-b6D90GV5.js → context-BXuMDRli.js} +2 -2
- package/dist/{docloader-DzFFH1W2.js → docloader-BPtRzK3Y.js} +1 -1
- package/dist/{docloader-DnHtxVIk.js → docloader-GeO-zxQ8.js} +1 -1
- package/dist/{esm-Btx3E8og.js → esm-e_d5TL5c.js} +16 -10
- package/dist/federation/builder.test.js +4 -4
- package/dist/federation/handler.test.js +19 -19
- package/dist/federation/inbox.test.js +3 -3
- package/dist/federation/keycache.test.js +3 -3
- package/dist/federation/middleware.test.js +19 -19
- package/dist/federation/mod.js +10 -10
- package/dist/federation/send.test.js +10 -10
- package/dist/{http-Jpv_4K_J.js → http-DRqXicI4.js} +4 -4
- package/dist/{http-mPUwRCsb.js → http-DwJZ7Y4z.js} +4 -4
- package/dist/{inbox-CZFKnWFY.js → inbox-CBDqGLMS.js} +2 -2
- package/dist/{key-DZsyKwhm.js → key-7iRdcl3r.js} +2 -2
- package/dist/{key-Cb0qglhB.js → key-CDLXX1lE.js} +5 -5
- package/dist/{key-BlmNTw5K.js → key-ROMFw9Ku.js} +3 -3
- package/dist/{key-CvsMGSBN.js → key-zqAokCqz.js} +4 -4
- package/dist/{keycache-K_JZIBdY.js → keycache-9NrIJj7N.js} +1 -1
- package/dist/{keys-DuH2TQta.js → keys-DMAyFLne.js} +1 -1
- package/dist/{ld-9zoQoByu.js → ld-QqcVvmDH.js} +3 -3
- package/dist/{lookup-Bd837Vtz.js → lookup-BUWMwD1J.js} +1 -1
- package/dist/{lookup-DW-c2ipm.js → lookup-Bcrl8lBP.js} +3 -3
- package/dist/{lookup-Bd7kzvi0.js → lookup-a5fxtsD6.js} +1 -1
- package/dist/{middleware-BHUKqYhG.js → middleware-BmmxNS-Q.js} +10 -10
- package/dist/{middleware-BLRKgoj9.js → middleware-CMTra_Zk.js} +15 -15
- package/dist/middleware-Ctq4CeOT.js +17 -0
- package/dist/middleware-Duv6THn6.js +33 -0
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +3 -3
- package/dist/nodeinfo/handler.test.js +18 -18
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/{owner-DKkM9XBB.js → owner-C6x6Q_tx.js} +3 -3
- package/dist/{proof-vt6oUeU5.js → proof-CEy4GKrW.js} +3 -3
- package/dist/{proof-8JRtgDVK.js → proof-CqjGNQVl.js} +3 -3
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +2 -2
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/mod.js +6 -6
- package/dist/{send-DGxO2l9M.js → send-B5mV95e5.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.js +6 -6
- package/dist/sig/owner.test.js +8 -8
- package/dist/sig/proof.test.js +7 -7
- package/dist/{types-BPJDfFPR.js → types-C_HJzSZq.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +5 -5
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +60 -30
- package/dist/{vocab-BEmVtvJ1.js → vocab-BRLUhT7m.js} +178 -178
- package/dist/{vocab-s_hECEtk.js → vocab-CJNNE8qD.js} +3 -3
- package/dist/webfinger/handler.test.js +18 -18
- package/dist/webfinger/lookup.test.js +3 -3
- package/dist/webfinger/mod.js +2 -2
- package/package.json +1 -1
- package/dist/middleware-CuoU6TNS.js +0 -33
- package/dist/middleware-Y-adfimv.js +0 -17
package/dist/sig/owner.test.js
CHANGED
@@ -6,17 +6,17 @@
|
|
6
6
|
import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
|
7
7
|
import { assert } from "../assert-YJk-1DlZ.js";
|
8
8
|
import "../assert_instance_of-DBIoG5k7.js";
|
9
|
-
import "../docloader-
|
9
|
+
import "../docloader-GeO-zxQ8.js";
|
10
10
|
import "../url-kTAI6_KP.js";
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
12
|
-
import { Create } from "../vocab-
|
12
|
+
import { Create } from "../vocab-BRLUhT7m.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-a5fxtsD6.js";
|
15
15
|
import "../type-D2s5lmbZ.js";
|
16
|
-
import "../actor-
|
17
|
-
import "../key-
|
18
|
-
import { doesActorOwnKey, getKeyOwner } from "../owner-
|
19
|
-
import { lookupObject } from "../lookup-
|
16
|
+
import "../actor-CMv9mxQZ.js";
|
17
|
+
import "../key-ROMFw9Ku.js";
|
18
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-C6x6Q_tx.js";
|
19
|
+
import { lookupObject } from "../lookup-Bcrl8lBP.js";
|
20
20
|
import { test } from "../testing-jcGLO9Lp.js";
|
21
21
|
import "../std__assert-CHXwj7zk.js";
|
22
22
|
import { assertFalse } from "../assert_rejects-BZjUwo62.js";
|
@@ -24,7 +24,7 @@ import "../assert_is_error-jyzqjHud.js";
|
|
24
24
|
import "../assert_not_equals-wx-SRs4i.js";
|
25
25
|
import "../assert_throws-gBPv3v2V.js";
|
26
26
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
27
|
-
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-
|
27
|
+
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-DMAyFLne.js";
|
28
28
|
|
29
29
|
//#region sig/owner.test.ts
|
30
30
|
test("doesActorOwnKey()", async () => {
|
package/dist/sig/proof.test.js
CHANGED
@@ -6,16 +6,16 @@
|
|
6
6
|
import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
|
7
7
|
import "../assert-YJk-1DlZ.js";
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of-DBIoG5k7.js";
|
9
|
-
import "../docloader-
|
9
|
+
import "../docloader-GeO-zxQ8.js";
|
10
10
|
import "../url-kTAI6_KP.js";
|
11
11
|
import { decode } from "../multibase-DeCHcK8L.js";
|
12
|
-
import { Create, DataIntegrityProof, Multikey, Note, Place, importMultibaseKey } from "../vocab-
|
12
|
+
import { Create, DataIntegrityProof, Multikey, Note, Place, importMultibaseKey } from "../vocab-BRLUhT7m.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-a5fxtsD6.js";
|
15
15
|
import "../type-D2s5lmbZ.js";
|
16
|
-
import "../actor-
|
17
|
-
import "../key-
|
18
|
-
import { createProof, signObject, verifyObject, verifyProof } from "../proof-
|
16
|
+
import "../actor-CMv9mxQZ.js";
|
17
|
+
import "../key-ROMFw9Ku.js";
|
18
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-CEy4GKrW.js";
|
19
19
|
import { test } from "../testing-jcGLO9Lp.js";
|
20
20
|
import "../std__assert-CHXwj7zk.js";
|
21
21
|
import { assertRejects } from "../assert_rejects-BZjUwo62.js";
|
@@ -23,7 +23,7 @@ import "../assert_is_error-jyzqjHud.js";
|
|
23
23
|
import "../assert_not_equals-wx-SRs4i.js";
|
24
24
|
import "../assert_throws-gBPv3v2V.js";
|
25
25
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
26
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
26
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-DMAyFLne.js";
|
27
27
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
28
28
|
|
29
29
|
//#region sig/proof.test.ts
|
@@ -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-BPtRzK3Y.js";
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
7
7
|
|
8
8
|
//#region nodeinfo/semver.ts
|
package/dist/vocab/actor.test.js
CHANGED
@@ -7,21 +7,21 @@ import { __export } from "../chunk-HsBuZ-b2.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
|
8
8
|
import { assert } from "../assert-YJk-1DlZ.js";
|
9
9
|
import "../assert_instance_of-DBIoG5k7.js";
|
10
|
-
import "../docloader-
|
10
|
+
import "../docloader-GeO-zxQ8.js";
|
11
11
|
import "../url-kTAI6_KP.js";
|
12
12
|
import "../multibase-DeCHcK8L.js";
|
13
|
-
import { Application, Group, Organization, Person, Service } from "../vocab-
|
13
|
+
import { Application, Group, Organization, Person, Service } from "../vocab-BRLUhT7m.js";
|
14
14
|
import "../langstr-DbWheeIS.js";
|
15
|
-
import "../lookup-
|
15
|
+
import "../lookup-a5fxtsD6.js";
|
16
16
|
import "../type-D2s5lmbZ.js";
|
17
|
-
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-
|
17
|
+
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-CMv9mxQZ.js";
|
18
18
|
import { test } from "../testing-jcGLO9Lp.js";
|
19
19
|
import { assertStrictEquals } from "../std__assert-CHXwj7zk.js";
|
20
20
|
import { assertFalse, assertRejects } from "../assert_rejects-BZjUwo62.js";
|
21
21
|
import "../assert_is_error-jyzqjHud.js";
|
22
22
|
import "../assert_not_equals-wx-SRs4i.js";
|
23
23
|
import { assertThrows } from "../assert_throws-gBPv3v2V.js";
|
24
|
-
import { esm_default } from "../esm-
|
24
|
+
import { esm_default } from "../esm-e_d5TL5c.js";
|
25
25
|
|
26
26
|
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
|
27
27
|
var PreconditionFailure = class PreconditionFailure extends Error {
|
@@ -6,14 +6,14 @@
|
|
6
6
|
import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
|
7
7
|
import "../assert-YJk-1DlZ.js";
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of-DBIoG5k7.js";
|
9
|
-
import "../docloader-
|
9
|
+
import "../docloader-GeO-zxQ8.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-BRLUhT7m.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-a5fxtsD6.js";
|
15
15
|
import "../type-D2s5lmbZ.js";
|
16
|
-
import { lookupObject, traverseCollection } from "../lookup-
|
16
|
+
import { lookupObject, traverseCollection } from "../lookup-Bcrl8lBP.js";
|
17
17
|
import { test } from "../testing-jcGLO9Lp.js";
|
18
18
|
import "../std__assert-CHXwj7zk.js";
|
19
19
|
import "../assert_rejects-BZjUwo62.js";
|
@@ -21,7 +21,7 @@ import "../assert_is_error-jyzqjHud.js";
|
|
21
21
|
import "../assert_not_equals-wx-SRs4i.js";
|
22
22
|
import "../assert_throws-gBPv3v2V.js";
|
23
23
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
24
|
-
import { esm_default } from "../esm-
|
24
|
+
import { esm_default } from "../esm-e_d5TL5c.js";
|
25
25
|
|
26
26
|
//#region vocab/lookup.test.ts
|
27
27
|
test("lookupObject()", async (t) => {
|
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-BPtRzK3Y.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-CP7N6awJ.js";
|
7
|
+
import "../lookup-BUWMwD1J.js";
|
8
|
+
import { PUBLIC_COLLECTION, lookupObject, traverseCollection } from "../vocab-CJNNE8qD.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
@@ -4,10 +4,10 @@
|
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
6
|
import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
|
7
|
-
import "../docloader-
|
7
|
+
import "../docloader-GeO-zxQ8.js";
|
8
8
|
import "../url-kTAI6_KP.js";
|
9
9
|
import "../multibase-DeCHcK8L.js";
|
10
|
-
import { Person } from "../vocab-
|
10
|
+
import { Person } from "../vocab-BRLUhT7m.js";
|
11
11
|
import "../langstr-DbWheeIS.js";
|
12
12
|
import { getTypeId } from "../type-D2s5lmbZ.js";
|
13
13
|
import { test } from "../testing-jcGLO9Lp.js";
|
package/dist/vocab/vocab.test.js
CHANGED
@@ -6,10 +6,10 @@
|
|
6
6
|
import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
|
7
7
|
import "../assert-YJk-1DlZ.js";
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of-DBIoG5k7.js";
|
9
|
-
import "../docloader-
|
9
|
+
import "../docloader-GeO-zxQ8.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, Source, vocab_exports } from "../vocab-
|
12
|
+
import { Activity, Announce, Create, CryptographicKey, Follow, Hashtag, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Source, vocab_exports } from "../vocab-BRLUhT7m.js";
|
13
13
|
import { LanguageString } from "../langstr-DbWheeIS.js";
|
14
14
|
import { test } from "../testing-jcGLO9Lp.js";
|
15
15
|
import "../std__assert-CHXwj7zk.js";
|
@@ -18,7 +18,7 @@ import "../assert_is_error-jyzqjHud.js";
|
|
18
18
|
import { assertNotEquals } from "../assert_not_equals-wx-SRs4i.js";
|
19
19
|
import { assertThrows } from "../assert_throws-gBPv3v2V.js";
|
20
20
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
21
|
-
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-
|
21
|
+
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-DMAyFLne.js";
|
22
22
|
import { pascalCase } from "@es-toolkit/es-toolkit";
|
23
23
|
import { parseLanguageTag } from "@phensley/language-tag";
|
24
24
|
import { Validator } from "@cfworker/json-schema";
|
@@ -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.
|
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.
|
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.
|
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.
|
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.
|
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 = 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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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 = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");
|
879
879
|
const YAML_TIMESTAMP_REGEXP = 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.
|
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.
|
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.
|
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;
|
@@ -1252,7 +1252,12 @@ var LoaderState = class {
|
|
1252
1252
|
}
|
1253
1253
|
}
|
1254
1254
|
const line = this.line;
|
1255
|
-
this.composeNode(
|
1255
|
+
this.composeNode({
|
1256
|
+
parentIndent: nodeIndent,
|
1257
|
+
nodeContext: CONTEXT_BLOCK_IN,
|
1258
|
+
allowToSeek: false,
|
1259
|
+
allowCompact: true
|
1260
|
+
});
|
1256
1261
|
result.push(this.result);
|
1257
1262
|
this.skipSeparationSpace(true, -1);
|
1258
1263
|
ch = this.peek();
|
@@ -1535,7 +1540,12 @@ var LoaderState = class {
|
|
1535
1540
|
}
|
1536
1541
|
}
|
1537
1542
|
line = this.line;
|
1538
|
-
this.composeNode(
|
1543
|
+
this.composeNode({
|
1544
|
+
parentIndent: nodeIndent,
|
1545
|
+
nodeContext: CONTEXT_FLOW_IN,
|
1546
|
+
allowToSeek: false,
|
1547
|
+
allowCompact: true
|
1548
|
+
});
|
1539
1549
|
keyTag = this.tag || null;
|
1540
1550
|
keyNode = this.result;
|
1541
1551
|
this.skipSeparationSpace(true, nodeIndent);
|
@@ -1544,7 +1554,12 @@ var LoaderState = class {
|
|
1544
1554
|
isPair = true;
|
1545
1555
|
ch = this.next();
|
1546
1556
|
this.skipSeparationSpace(true, nodeIndent);
|
1547
|
-
this.composeNode(
|
1557
|
+
this.composeNode({
|
1558
|
+
parentIndent: nodeIndent,
|
1559
|
+
nodeContext: CONTEXT_FLOW_IN,
|
1560
|
+
allowToSeek: false,
|
1561
|
+
allowCompact: true
|
1562
|
+
});
|
1548
1563
|
valueNode = this.result;
|
1549
1564
|
}
|
1550
1565
|
if (isMapping) this.storeMappingPair(result, overridableKeys, keyTag, keyNode, valueNode);
|
@@ -1665,7 +1680,12 @@ var LoaderState = class {
|
|
1665
1680
|
} else throw this.#createError("Cannot read block as explicit mapping pair is incomplete: a key node is missed or followed by a non-tabulated empty line");
|
1666
1681
|
this.position += 1;
|
1667
1682
|
ch = following;
|
1668
|
-
} else if (this.composeNode(
|
1683
|
+
} else if (this.composeNode({
|
1684
|
+
parentIndent: flowIndent,
|
1685
|
+
nodeContext: CONTEXT_FLOW_OUT,
|
1686
|
+
allowToSeek: false,
|
1687
|
+
allowCompact: true
|
1688
|
+
})) if (this.line === line) {
|
1669
1689
|
ch = this.peek();
|
1670
1690
|
this.skipWhitespaces();
|
1671
1691
|
ch = this.peek();
|
@@ -1697,7 +1717,12 @@ var LoaderState = class {
|
|
1697
1717
|
}
|
1698
1718
|
else break;
|
1699
1719
|
if (this.line === line || this.lineIndent > nodeIndent) {
|
1700
|
-
if (this.composeNode(
|
1720
|
+
if (this.composeNode({
|
1721
|
+
parentIndent: nodeIndent,
|
1722
|
+
nodeContext: CONTEXT_BLOCK_OUT,
|
1723
|
+
allowToSeek: true,
|
1724
|
+
allowCompact
|
1725
|
+
})) if (atExplicitKey) keyNode = this.result;
|
1701
1726
|
else valueNode = this.result;
|
1702
1727
|
if (!atExplicitKey) {
|
1703
1728
|
this.storeMappingPair(result, overridableKeys, keyTag, keyNode, valueNode, line, pos);
|
@@ -1788,7 +1813,7 @@ var LoaderState = class {
|
|
1788
1813
|
this.skipSeparationSpace(true, -1);
|
1789
1814
|
return true;
|
1790
1815
|
}
|
1791
|
-
composeNode(parentIndent, nodeContext, allowToSeek, allowCompact) {
|
1816
|
+
composeNode({ parentIndent, nodeContext, allowToSeek, allowCompact }) {
|
1792
1817
|
let indentStatus = 1;
|
1793
1818
|
let atNewLine = false;
|
1794
1819
|
let hasContent = false;
|
@@ -1902,7 +1927,12 @@ var LoaderState = class {
|
|
1902
1927
|
this.position += 3;
|
1903
1928
|
this.skipSeparationSpace(true, -1);
|
1904
1929
|
} else if (hasDirectives) throw this.#createError("Cannot read document: directives end mark is expected");
|
1905
|
-
this.composeNode(
|
1930
|
+
this.composeNode({
|
1931
|
+
parentIndent: this.lineIndent - 1,
|
1932
|
+
nodeContext: CONTEXT_BLOCK_OUT,
|
1933
|
+
allowToSeek: false,
|
1934
|
+
allowCompact: true
|
1935
|
+
});
|
1906
1936
|
this.skipSeparationSpace(true, -1);
|
1907
1937
|
if (this.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(this.input.slice(documentStart, this.position))) this.dispatchWarning("non-ASCII line breaks are interpreted as content");
|
1908
1938
|
if (this.position === this.lineStart && this.testDocumentSeparator()) {
|
@@ -1919,7 +1949,7 @@ var LoaderState = class {
|
|
1919
1949
|
};
|
1920
1950
|
|
1921
1951
|
//#endregion
|
1922
|
-
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.
|
1952
|
+
//#region node_modules/.pnpm/@jsr+std__yaml@1.0.8/node_modules/@jsr/std__yaml/parse.js
|
1923
1953
|
function sanitizeInput(input) {
|
1924
1954
|
input = String(input);
|
1925
1955
|
if (input.length > 0) {
|