@fedify/fedify 1.6.1 → 1.6.2

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.
Files changed (67) hide show
  1. package/dist/{actor-BRHV5zJ-.js → actor-BMhjtSSP.js} +179 -179
  2. package/dist/{actor-BPpr69o_.js → actor-sID3ZxDC.js} +3 -3
  3. package/dist/{authdocloader-BZFGEwwq.js → authdocloader-C0NAukol.js} +3 -3
  4. package/dist/{authdocloader-BekmxF5u.js → authdocloader-Cx832_tB.js} +3 -3
  5. package/dist/{builder-6d3Dz5mx.js → builder-D3RO7FNo.js} +3 -3
  6. package/dist/{client-DQIcIlJU.js → client-C41u40q8.js} +1 -1
  7. package/dist/compat/transformers.test.js +17 -17
  8. package/dist/{context-hZKmfLXY.js → context-BJas1P69.js} +2 -2
  9. package/dist/{docloader-CFuioPSY.js → docloader-BvrnWgo_.js} +1 -1
  10. package/dist/{docloader-COHp0QgR.js → docloader-sQOhKEBJ.js} +1 -1
  11. package/dist/{esm-Btx3E8og.js → esm-e_d5TL5c.js} +16 -10
  12. package/dist/federation/builder.test.js +4 -4
  13. package/dist/federation/handler.test.js +19 -19
  14. package/dist/federation/inbox.test.js +3 -3
  15. package/dist/federation/keycache.test.js +3 -3
  16. package/dist/federation/middleware.test.js +19 -19
  17. package/dist/federation/mod.js +10 -10
  18. package/dist/federation/send.test.js +10 -10
  19. package/dist/{http-C0ueQROD.js → http-Bg69S5M3.js} +4 -4
  20. package/dist/{http-D523RJVL.js → http-CRixLRRg.js} +4 -4
  21. package/dist/{inbox-5eiuvsES.js → inbox-DOqV2pzD.js} +2 -2
  22. package/dist/{key-CrAjL8Th.js → key-B8GvtVuo.js} +5 -5
  23. package/dist/{key-D5LOMkXp.js → key-C165LPcE.js} +3 -3
  24. package/dist/{key-DlqwkdF6.js → key-CjznLZb-.js} +2 -2
  25. package/dist/{key-PLMRBhyq.js → key-MStTavXZ.js} +4 -4
  26. package/dist/{keycache-CyjJMAa8.js → keycache-B1a4V1bo.js} +1 -1
  27. package/dist/{keys-DQ2kNLQQ.js → keys-ClfspZmG.js} +1 -1
  28. package/dist/{ld-rLvDkwUL.js → ld-Bgne7jyu.js} +3 -3
  29. package/dist/{lookup-B4JQ9FvE.js → lookup-BfzH97Bi.js} +1 -1
  30. package/dist/{lookup-CRjlBmyh.js → lookup-Cj7hv3cS.js} +3 -3
  31. package/dist/{lookup-oLKN3HSl.js → lookup-bR-W7dO1.js} +1 -1
  32. package/dist/middleware-9potsc1r.js +33 -0
  33. package/dist/middleware-BfaA_Kfc.js +17 -0
  34. package/dist/{middleware-B0uCxn1o.js → middleware-Cc1LwuPX.js} +15 -15
  35. package/dist/{middleware-83KxItnw.js → middleware-Cth2CRY9.js} +10 -10
  36. package/dist/mod.js +10 -10
  37. package/dist/nodeinfo/client.test.js +3 -3
  38. package/dist/nodeinfo/handler.test.js +18 -18
  39. package/dist/nodeinfo/mod.js +2 -2
  40. package/dist/{owner-B5sR7_Qw.js → owner-BwbNQA42.js} +3 -3
  41. package/dist/{proof-BVprztx-.js → proof-D8juaMAC.js} +3 -3
  42. package/dist/{proof-AL0P3h_I.js → proof-VM7AiB-j.js} +3 -3
  43. package/dist/runtime/authdocloader.test.js +9 -9
  44. package/dist/runtime/docloader.test.js +2 -2
  45. package/dist/runtime/key.test.js +5 -5
  46. package/dist/runtime/mod.js +6 -6
  47. package/dist/{send-BjLRJdee.js → send-E1bEkesZ.js} +2 -2
  48. package/dist/sig/http.test.js +8 -8
  49. package/dist/sig/key.test.js +6 -6
  50. package/dist/sig/ld.test.js +7 -7
  51. package/dist/sig/mod.js +6 -6
  52. package/dist/sig/owner.test.js +8 -8
  53. package/dist/sig/proof.test.js +7 -7
  54. package/dist/{types-DegZ8FlT.js → types-CIrnA1uA.js} +1 -1
  55. package/dist/vocab/actor.test.js +5 -5
  56. package/dist/vocab/lookup.test.js +5 -5
  57. package/dist/vocab/mod.js +4 -4
  58. package/dist/vocab/type.test.js +2 -2
  59. package/dist/vocab/vocab.test.js +60 -30
  60. package/dist/{vocab-uVrsB2D1.js → vocab-BOhnfQ4Q.js} +178 -178
  61. package/dist/{vocab-BY68bjvE.js → vocab-DMwazFlI.js} +3 -3
  62. package/dist/webfinger/handler.test.js +18 -18
  63. package/dist/webfinger/lookup.test.js +3 -3
  64. package/dist/webfinger/mod.js +2 -2
  65. package/package.json +1 -1
  66. package/dist/middleware-CtQDr_8l.js +0 -17
  67. package/dist/middleware-DbguxGNt.js +0 -33
@@ -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-CFuioPSY.js";
9
+ import "../docloader-BvrnWgo_.js";
10
10
  import "../url-kTAI6_KP.js";
11
11
  import "../multibase-DeCHcK8L.js";
12
- import { Create } from "../vocab-uVrsB2D1.js";
12
+ import { Create } from "../vocab-BOhnfQ4Q.js";
13
13
  import "../langstr-DbWheeIS.js";
14
- import "../lookup-oLKN3HSl.js";
14
+ import "../lookup-bR-W7dO1.js";
15
15
  import "../type-D2s5lmbZ.js";
16
- import "../actor-BPpr69o_.js";
17
- import "../key-D5LOMkXp.js";
18
- import { doesActorOwnKey, getKeyOwner } from "../owner-B5sR7_Qw.js";
19
- import { lookupObject } from "../lookup-CRjlBmyh.js";
16
+ import "../actor-sID3ZxDC.js";
17
+ import "../key-C165LPcE.js";
18
+ import { doesActorOwnKey, getKeyOwner } from "../owner-BwbNQA42.js";
19
+ import { lookupObject } from "../lookup-Cj7hv3cS.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-DQ2kNLQQ.js";
27
+ import { rsaPublicKey1, rsaPublicKey2 } from "../keys-ClfspZmG.js";
28
28
 
29
29
  //#region sig/owner.test.ts
30
30
  test("doesActorOwnKey()", async () => {
@@ -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-CFuioPSY.js";
9
+ import "../docloader-BvrnWgo_.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-uVrsB2D1.js";
12
+ import { Create, DataIntegrityProof, Multikey, Note, Place, importMultibaseKey } from "../vocab-BOhnfQ4Q.js";
13
13
  import "../langstr-DbWheeIS.js";
14
- import "../lookup-oLKN3HSl.js";
14
+ import "../lookup-bR-W7dO1.js";
15
15
  import "../type-D2s5lmbZ.js";
16
- import "../actor-BPpr69o_.js";
17
- import "../key-D5LOMkXp.js";
18
- import { createProof, signObject, verifyObject, verifyProof } from "../proof-BVprztx-.js";
16
+ import "../actor-sID3ZxDC.js";
17
+ import "../key-C165LPcE.js";
18
+ import { createProof, signObject, verifyObject, verifyProof } from "../proof-D8juaMAC.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-DQ2kNLQQ.js";
26
+ import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-ClfspZmG.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-COHp0QgR.js";
5
+ import { getUserAgent } from "./docloader-sQOhKEBJ.js";
6
6
  import { getLogger } from "@logtape/logtape";
7
7
 
8
8
  //#region nodeinfo/semver.ts
@@ -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-CFuioPSY.js";
10
+ import "../docloader-BvrnWgo_.js";
11
11
  import "../url-kTAI6_KP.js";
12
12
  import "../multibase-DeCHcK8L.js";
13
- import { Application, Group, Organization, Person, Service } from "../vocab-uVrsB2D1.js";
13
+ import { Application, Group, Organization, Person, Service } from "../vocab-BOhnfQ4Q.js";
14
14
  import "../langstr-DbWheeIS.js";
15
- import "../lookup-oLKN3HSl.js";
15
+ import "../lookup-bR-W7dO1.js";
16
16
  import "../type-D2s5lmbZ.js";
17
- import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-BPpr69o_.js";
17
+ import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-sID3ZxDC.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-Btx3E8og.js";
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-CFuioPSY.js";
9
+ import "../docloader-BvrnWgo_.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-uVrsB2D1.js";
12
+ import { Collection, Note, Object as Object$1, Person } from "../vocab-BOhnfQ4Q.js";
13
13
  import "../langstr-DbWheeIS.js";
14
- import "../lookup-oLKN3HSl.js";
14
+ import "../lookup-bR-W7dO1.js";
15
15
  import "../type-D2s5lmbZ.js";
16
- import { lookupObject, traverseCollection } from "../lookup-CRjlBmyh.js";
16
+ import { lookupObject, traverseCollection } from "../lookup-Cj7hv3cS.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-Btx3E8og.js";
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-COHp0QgR.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-BRHV5zJ-.js";
7
- import "../lookup-B4JQ9FvE.js";
8
- import { PUBLIC_COLLECTION, lookupObject, traverseCollection } from "../vocab-BY68bjvE.js";
5
+ import "../docloader-sQOhKEBJ.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-BMhjtSSP.js";
7
+ import "../lookup-BfzH97Bi.js";
8
+ import { PUBLIC_COLLECTION, lookupObject, traverseCollection } from "../vocab-DMwazFlI.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 };
@@ -4,10 +4,10 @@
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
6
  import { assertEquals } from "../assert_equals-Dnj7ejjL.js";
7
- import "../docloader-CFuioPSY.js";
7
+ import "../docloader-BvrnWgo_.js";
8
8
  import "../url-kTAI6_KP.js";
9
9
  import "../multibase-DeCHcK8L.js";
10
- import { Person } from "../vocab-uVrsB2D1.js";
10
+ import { Person } from "../vocab-BOhnfQ4Q.js";
11
11
  import "../langstr-DbWheeIS.js";
12
12
  import { getTypeId } from "../type-D2s5lmbZ.js";
13
13
  import { test } from "../testing-jcGLO9Lp.js";
@@ -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-CFuioPSY.js";
9
+ import "../docloader-BvrnWgo_.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-uVrsB2D1.js";
12
+ import { Activity, Announce, Create, CryptographicKey, Follow, Hashtag, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Source, vocab_exports } from "../vocab-BOhnfQ4Q.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-DQ2kNLQQ.js";
21
+ import { ed25519PublicKey, rsaPublicKey1 } from "../keys-ClfspZmG.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.7/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.7/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.7/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.7/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.7/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 = 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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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 = 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.7/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.7/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.7/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;
@@ -1252,7 +1252,12 @@ var LoaderState = class {
1252
1252
  }
1253
1253
  }
1254
1254
  const line = this.line;
1255
- this.composeNode(nodeIndent, CONTEXT_BLOCK_IN, false, true);
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(nodeIndent, CONTEXT_FLOW_IN, false, true);
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(nodeIndent, CONTEXT_FLOW_IN, false, true);
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(flowIndent, CONTEXT_FLOW_OUT, false, true)) if (this.line === line) {
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(nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) if (atExplicitKey) keyNode = this.result;
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(this.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
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.7/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
1923
1953
  function sanitizeInput(input) {
1924
1954
  input = String(input);
1925
1955
  if (input.length > 0) {