@scalar/api-client 3.3.0 → 3.4.0

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 (191) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/monacoeditorwork/yaml.worker.bundle.js +92 -79
  3. package/dist/style.css +107 -73
  4. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +2 -0
  5. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  6. package/dist/v2/blocks/operation-block/OperationBlock.vue.js.map +1 -1
  7. package/dist/v2/blocks/operation-block/OperationBlock.vue.script.js +5 -0
  8. package/dist/v2/blocks/operation-block/OperationBlock.vue.script.js.map +1 -1
  9. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +4 -0
  10. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
  11. package/dist/v2/blocks/operation-block/components/Header.vue.js +1 -1
  12. package/dist/v2/blocks/operation-block/components/Header.vue.js.map +1 -1
  13. package/dist/v2/blocks/operation-block/components/Header.vue.script.js +6 -0
  14. package/dist/v2/blocks/operation-block/components/Header.vue.script.js.map +1 -1
  15. package/dist/v2/blocks/operation-block/helpers/response-cache.d.ts +2 -1
  16. package/dist/v2/blocks/operation-block/helpers/response-cache.d.ts.map +1 -1
  17. package/dist/v2/blocks/operation-block/helpers/response-cache.js +9 -2
  18. package/dist/v2/blocks/operation-block/helpers/response-cache.js.map +1 -1
  19. package/dist/v2/blocks/request-block/RequestBlock.vue.script.js.map +1 -1
  20. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +2 -2
  21. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +2 -2
  22. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +4 -0
  23. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  24. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +1 -1
  25. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js.map +1 -1
  26. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.script.js +84 -71
  27. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.script.js.map +1 -1
  28. package/dist/v2/blocks/scalar-address-bar-block/helpers/is-placeholder-path.d.ts +13 -0
  29. package/dist/v2/blocks/scalar-address-bar-block/helpers/is-placeholder-path.d.ts.map +1 -0
  30. package/dist/v2/blocks/scalar-address-bar-block/helpers/is-placeholder-path.js +28 -0
  31. package/dist/v2/blocks/scalar-address-bar-block/helpers/is-placeholder-path.js.map +1 -0
  32. package/dist/v2/blocks/scalar-address-bar-block/helpers/refocus-blur-target.d.ts +16 -0
  33. package/dist/v2/blocks/scalar-address-bar-block/helpers/refocus-blur-target.d.ts.map +1 -0
  34. package/dist/v2/blocks/scalar-address-bar-block/helpers/refocus-blur-target.js +28 -0
  35. package/dist/v2/blocks/scalar-address-bar-block/helpers/refocus-blur-target.js.map +1 -0
  36. package/dist/v2/blocks/scalar-address-bar-block/hooks/use-path-masking.d.ts +31 -0
  37. package/dist/v2/blocks/scalar-address-bar-block/hooks/use-path-masking.d.ts.map +1 -0
  38. package/dist/v2/blocks/scalar-address-bar-block/hooks/use-path-masking.js +18 -0
  39. package/dist/v2/blocks/scalar-address-bar-block/hooks/use-path-masking.js.map +1 -0
  40. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.script.js.map +1 -1
  41. package/dist/v2/components/code-input/CodeInput.vue.js +1 -1
  42. package/dist/v2/components/code-input/CodeInput.vue.js.map +1 -1
  43. package/dist/v2/components/code-input/CodeInput.vue.script.js +1 -1
  44. package/dist/v2/components/code-input/CodeInput.vue.script.js.map +1 -1
  45. package/dist/v2/components/modals/ModalClientContainer.vue.d.ts +2 -2
  46. package/dist/v2/components/modals/ModalClientContainer.vue.d.ts.map +1 -1
  47. package/dist/v2/components/modals/ModalClientContainer.vue.js +1 -1
  48. package/dist/v2/components/modals/ModalClientContainer.vue.js.map +1 -1
  49. package/dist/v2/components/modals/ModalClientContainer.vue.script.js +17 -24
  50. package/dist/v2/components/modals/ModalClientContainer.vue.script.js.map +1 -1
  51. package/dist/v2/constants.js +1 -1
  52. package/dist/v2/features/app/App.vue.d.ts +25 -1
  53. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  54. package/dist/v2/features/app/App.vue.js.map +1 -1
  55. package/dist/v2/features/app/App.vue.script.js +54 -39
  56. package/dist/v2/features/app/App.vue.script.js.map +1 -1
  57. package/dist/v2/features/app/app-events.js +4 -4
  58. package/dist/v2/features/app/app-events.js.map +1 -1
  59. package/dist/v2/features/app/app-state.d.ts +20 -14
  60. package/dist/v2/features/app/app-state.d.ts.map +1 -1
  61. package/dist/v2/features/app/app-state.js +89 -55
  62. package/dist/v2/features/app/app-state.js.map +1 -1
  63. package/dist/v2/features/app/components/AppHeader.vue.d.ts +26 -3
  64. package/dist/v2/features/app/components/AppHeader.vue.d.ts.map +1 -1
  65. package/dist/v2/features/app/components/AppHeader.vue.js.map +1 -1
  66. package/dist/v2/features/app/components/AppHeader.vue.script.js +15 -6
  67. package/dist/v2/features/app/components/AppHeader.vue.script.js.map +1 -1
  68. package/dist/v2/features/app/components/AppSidebar.vue.d.ts +2 -2
  69. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
  70. package/dist/v2/features/app/components/AppSidebar.vue.js +1 -1
  71. package/dist/v2/features/app/components/AppSidebar.vue.js.map +1 -1
  72. package/dist/v2/features/app/components/AppSidebar.vue.script.js +86 -108
  73. package/dist/v2/features/app/components/AppSidebar.vue.script.js.map +1 -1
  74. package/dist/v2/features/app/components/CreateVersionModal.vue.d.ts +28 -0
  75. package/dist/v2/features/app/components/CreateVersionModal.vue.d.ts.map +1 -0
  76. package/dist/v2/features/app/components/CreateVersionModal.vue.js +7 -0
  77. package/dist/v2/features/app/components/CreateVersionModal.vue.js.map +1 -0
  78. package/dist/v2/features/app/components/CreateVersionModal.vue.script.js +84 -0
  79. package/dist/v2/features/app/components/CreateVersionModal.vue.script.js.map +1 -0
  80. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.d.ts +26 -0
  81. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.d.ts.map +1 -0
  82. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.js +9 -0
  83. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.js.map +1 -0
  84. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.script.js +376 -0
  85. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.script.js.map +1 -0
  86. package/dist/v2/features/app/components/DocumentSyncIndicator.vue.d.ts +16 -0
  87. package/dist/v2/features/app/components/DocumentSyncIndicator.vue.d.ts.map +1 -0
  88. package/dist/v2/features/app/components/DocumentSyncIndicator.vue.js +7 -0
  89. package/dist/v2/features/app/components/DocumentSyncIndicator.vue.js.map +1 -0
  90. package/dist/v2/features/app/components/DocumentSyncIndicator.vue.script.js +51 -0
  91. package/dist/v2/features/app/components/DocumentSyncIndicator.vue.script.js.map +1 -0
  92. package/dist/v2/features/app/components/SidebarDocument.vue.d.ts +45 -0
  93. package/dist/v2/features/app/components/SidebarDocument.vue.d.ts.map +1 -0
  94. package/dist/v2/features/app/components/SidebarDocument.vue.js +7 -0
  95. package/dist/v2/features/app/components/SidebarDocument.vue.js.map +1 -0
  96. package/dist/v2/features/app/components/SidebarDocument.vue.script.js +137 -0
  97. package/dist/v2/features/app/components/SidebarDocument.vue.script.js.map +1 -0
  98. package/dist/v2/features/app/helpers/check-version-conflict.d.ts +51 -0
  99. package/dist/v2/features/app/helpers/check-version-conflict.d.ts.map +1 -0
  100. package/dist/v2/features/app/helpers/check-version-conflict.js +79 -0
  101. package/dist/v2/features/app/helpers/check-version-conflict.js.map +1 -0
  102. package/dist/v2/features/app/helpers/compute-version-status.d.ts +45 -0
  103. package/dist/v2/features/app/helpers/compute-version-status.d.ts.map +1 -0
  104. package/dist/v2/features/app/helpers/compute-version-status.js +18 -0
  105. package/dist/v2/features/app/helpers/compute-version-status.js.map +1 -0
  106. package/dist/v2/features/app/helpers/create-draft-registry-document.d.ts +39 -0
  107. package/dist/v2/features/app/helpers/create-draft-registry-document.d.ts.map +1 -0
  108. package/dist/v2/features/app/helpers/create-draft-registry-document.js +64 -0
  109. package/dist/v2/features/app/helpers/create-draft-registry-document.js.map +1 -0
  110. package/dist/v2/features/app/helpers/create-temp-operation.d.ts.map +1 -1
  111. package/dist/v2/features/app/helpers/create-temp-operation.js +5 -8
  112. package/dist/v2/features/app/helpers/create-temp-operation.js.map +1 -1
  113. package/dist/v2/features/app/helpers/detect-document-conflicts.d.ts +26 -0
  114. package/dist/v2/features/app/helpers/detect-document-conflicts.d.ts.map +1 -0
  115. package/dist/v2/features/app/helpers/detect-document-conflicts.js +27 -0
  116. package/dist/v2/features/app/helpers/detect-document-conflicts.js.map +1 -0
  117. package/dist/v2/features/app/helpers/filter-workspaces.d.ts +14 -14
  118. package/dist/v2/features/app/helpers/filter-workspaces.d.ts.map +1 -1
  119. package/dist/v2/features/app/helpers/filter-workspaces.js +15 -15
  120. package/dist/v2/features/app/helpers/filter-workspaces.js.map +1 -1
  121. package/dist/v2/features/app/helpers/group-workspaces.d.ts +23 -3
  122. package/dist/v2/features/app/helpers/group-workspaces.d.ts.map +1 -1
  123. package/dist/v2/features/app/helpers/group-workspaces.js +22 -7
  124. package/dist/v2/features/app/helpers/group-workspaces.js.map +1 -1
  125. package/dist/v2/features/app/helpers/load-registry-document.d.ts +16 -1
  126. package/dist/v2/features/app/helpers/load-registry-document.d.ts.map +1 -1
  127. package/dist/v2/features/app/helpers/load-registry-document.js +7 -6
  128. package/dist/v2/features/app/helpers/load-registry-document.js.map +1 -1
  129. package/dist/v2/features/app/helpers/routes.d.ts +5 -1
  130. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  131. package/dist/v2/features/app/helpers/routes.js +1 -1
  132. package/dist/v2/features/app/helpers/routes.js.map +1 -1
  133. package/dist/v2/features/app/helpers/version-status-presentation.d.ts +24 -0
  134. package/dist/v2/features/app/helpers/version-status-presentation.d.ts.map +1 -0
  135. package/dist/v2/features/app/helpers/version-status-presentation.js +43 -0
  136. package/dist/v2/features/app/helpers/version-status-presentation.js.map +1 -0
  137. package/dist/v2/features/app/hooks/use-active-document-version.d.ts +41 -0
  138. package/dist/v2/features/app/hooks/use-active-document-version.d.ts.map +1 -0
  139. package/dist/v2/features/app/hooks/use-active-document-version.js +60 -0
  140. package/dist/v2/features/app/hooks/use-active-document-version.js.map +1 -0
  141. package/dist/v2/features/app/hooks/use-sidebar-documents.d.ts +71 -23
  142. package/dist/v2/features/app/hooks/use-sidebar-documents.d.ts.map +1 -1
  143. package/dist/v2/features/app/hooks/use-sidebar-documents.js +167 -45
  144. package/dist/v2/features/app/hooks/use-sidebar-documents.js.map +1 -1
  145. package/dist/v2/features/app/hooks/use-version-conflict-check.d.ts +35 -0
  146. package/dist/v2/features/app/hooks/use-version-conflict-check.d.ts.map +1 -0
  147. package/dist/v2/features/app/hooks/use-version-conflict-check.js +62 -0
  148. package/dist/v2/features/app/hooks/use-version-conflict-check.js.map +1 -0
  149. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
  150. package/dist/v2/features/collection/DocumentCollection.vue.js.map +1 -1
  151. package/dist/v2/features/collection/DocumentCollection.vue.script.js +6 -1
  152. package/dist/v2/features/collection/DocumentCollection.vue.script.js.map +1 -1
  153. package/dist/v2/features/collection/OperationCollection.vue.script.js +1 -0
  154. package/dist/v2/features/collection/OperationCollection.vue.script.js.map +1 -1
  155. package/dist/v2/features/collection/WorkspaceCollection.vue.script.js +1 -0
  156. package/dist/v2/features/collection/WorkspaceCollection.vue.script.js.map +1 -1
  157. package/dist/v2/features/collection/components/Authentication.vue.script.js +1 -0
  158. package/dist/v2/features/collection/components/Authentication.vue.script.js.map +1 -1
  159. package/dist/v2/features/collection/components/Cookies.vue.script.js +1 -0
  160. package/dist/v2/features/collection/components/Cookies.vue.script.js.map +1 -1
  161. package/dist/v2/features/collection/components/Editor/Editor.vue.script.js +1 -0
  162. package/dist/v2/features/collection/components/Editor/Editor.vue.script.js.map +1 -1
  163. package/dist/v2/features/collection/components/Environment.vue.script.js +1 -0
  164. package/dist/v2/features/collection/components/Environment.vue.script.js.map +1 -1
  165. package/dist/v2/features/collection/components/GetStarted.vue.d.ts +12 -4
  166. package/dist/v2/features/collection/components/GetStarted.vue.d.ts.map +1 -1
  167. package/dist/v2/features/collection/components/GetStarted.vue.js.map +1 -1
  168. package/dist/v2/features/collection/components/GetStarted.vue.script.js +56 -13
  169. package/dist/v2/features/collection/components/GetStarted.vue.script.js.map +1 -1
  170. package/dist/v2/features/collection/components/Overview.vue.script.js +1 -0
  171. package/dist/v2/features/collection/components/Overview.vue.script.js.map +1 -1
  172. package/dist/v2/features/collection/components/Runner/components/Runner.vue.script.js +1 -0
  173. package/dist/v2/features/collection/components/Runner/components/Runner.vue.script.js.map +1 -1
  174. package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.js +2 -2
  175. package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.js.map +1 -1
  176. package/dist/v2/features/collection/components/Scripts.vue.script.js +1 -0
  177. package/dist/v2/features/collection/components/Scripts.vue.script.js.map +1 -1
  178. package/dist/v2/features/collection/components/Servers.vue.script.js +1 -0
  179. package/dist/v2/features/collection/components/Servers.vue.script.js.map +1 -1
  180. package/dist/v2/features/collection/components/Settings.vue.script.js +1 -0
  181. package/dist/v2/features/collection/components/Settings.vue.script.js.map +1 -1
  182. package/dist/v2/features/editor/hooks/use-three-way-merge-editor.js +1 -1
  183. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  184. package/dist/v2/features/operation/Operation.vue.js.map +1 -1
  185. package/dist/v2/features/operation/Operation.vue.script.js +3 -0
  186. package/dist/v2/features/operation/Operation.vue.script.js.map +1 -1
  187. package/dist/v2/helpers/safe-run.d.ts +25 -1
  188. package/dist/v2/helpers/safe-run.d.ts.map +1 -1
  189. package/dist/v2/helpers/safe-run.js +26 -2
  190. package/dist/v2/helpers/safe-run.js.map +1 -1
  191. package/package.json +17 -16
@@ -17404,7 +17404,7 @@
17404
17404
  Is3.typedArray = typedArray;
17405
17405
  })(Is || (Is = {}));
17406
17406
 
17407
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/identity.js
17407
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/identity.js
17408
17408
  var ALIAS = Symbol.for("yaml.alias");
17409
17409
  var DOC = Symbol.for("yaml.document");
17410
17410
  var MAP = Symbol.for("yaml.map");
@@ -17440,7 +17440,7 @@
17440
17440
  }
17441
17441
  var hasAnchor = (node) => (isScalar(node) || isCollection(node)) && !!node.anchor;
17442
17442
 
17443
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/visit.js
17443
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/visit.js
17444
17444
  var BREAK = Symbol("break visit");
17445
17445
  var SKIP = Symbol("skip children");
17446
17446
  var REMOVE = Symbol("remove node");
@@ -17590,7 +17590,7 @@
17590
17590
  }
17591
17591
  }
17592
17592
 
17593
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/directives.js
17593
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/doc/directives.js
17594
17594
  var escapeChars = {
17595
17595
  "!": "%21",
17596
17596
  ",": "%2C",
@@ -17753,7 +17753,7 @@
17753
17753
  Directives.defaultYaml = { explicit: false, version: "1.2" };
17754
17754
  Directives.defaultTags = { "!!": "tag:yaml.org,2002:" };
17755
17755
 
17756
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/anchors.js
17756
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/doc/anchors.js
17757
17757
  function anchorIsValid(anchor) {
17758
17758
  if (/[\x00-\x19\s,[\]{}]/.test(anchor)) {
17759
17759
  const sa2 = JSON.stringify(anchor);
@@ -17812,7 +17812,7 @@
17812
17812
  };
17813
17813
  }
17814
17814
 
17815
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/applyReviver.js
17815
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/doc/applyReviver.js
17816
17816
  function applyReviver(reviver, obj, key, val) {
17817
17817
  if (val && typeof val === "object") {
17818
17818
  if (Array.isArray(val)) {
@@ -17856,7 +17856,7 @@
17856
17856
  return reviver.call(obj, key, val);
17857
17857
  }
17858
17858
 
17859
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/toJS.js
17859
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/toJS.js
17860
17860
  function toJS(value, arg, ctx) {
17861
17861
  if (Array.isArray(value))
17862
17862
  return value.map((v3, i) => toJS(v3, String(i), ctx));
@@ -17879,7 +17879,7 @@
17879
17879
  return value;
17880
17880
  }
17881
17881
 
17882
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Node.js
17882
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/Node.js
17883
17883
  var NodeBase = class {
17884
17884
  constructor(type) {
17885
17885
  Object.defineProperty(this, NODE_TYPE, { value: type });
@@ -17911,7 +17911,7 @@
17911
17911
  }
17912
17912
  };
17913
17913
 
17914
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Alias.js
17914
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/Alias.js
17915
17915
  var Alias = class extends NodeBase {
17916
17916
  constructor(source) {
17917
17917
  super(ALIAS);
@@ -18014,7 +18014,7 @@
18014
18014
  return 1;
18015
18015
  }
18016
18016
 
18017
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Scalar.js
18017
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/Scalar.js
18018
18018
  var isScalarValue = (value) => !value || typeof value !== "function" && typeof value !== "object";
18019
18019
  var Scalar = class extends NodeBase {
18020
18020
  constructor(value) {
@@ -18034,7 +18034,7 @@
18034
18034
  Scalar.QUOTE_DOUBLE = "QUOTE_DOUBLE";
18035
18035
  Scalar.QUOTE_SINGLE = "QUOTE_SINGLE";
18036
18036
 
18037
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/createNode.js
18037
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/doc/createNode.js
18038
18038
  var defaultTagPrefix = "tag:yaml.org,2002:";
18039
18039
  function findTagObject(value, tagName, tags) {
18040
18040
  if (tagName) {
@@ -18100,7 +18100,7 @@
18100
18100
  return node;
18101
18101
  }
18102
18102
 
18103
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Collection.js
18103
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/Collection.js
18104
18104
  function collectionFromPath(schema4, path5, value) {
18105
18105
  let v3 = value;
18106
18106
  for (let i = path5.length - 1; i >= 0; --i) {
@@ -18232,7 +18232,7 @@
18232
18232
  }
18233
18233
  };
18234
18234
 
18235
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyComment.js
18235
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/stringify/stringifyComment.js
18236
18236
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
18237
18237
  function indentComment(comment, indent) {
18238
18238
  if (/^\n+$/.test(comment))
@@ -18241,7 +18241,7 @@
18241
18241
  }
18242
18242
  var lineComment = (str, indent, comment) => str.endsWith("\n") ? indentComment(comment, indent) : comment.includes("\n") ? "\n" + indentComment(comment, indent) : (str.endsWith(" ") ? "" : " ") + comment;
18243
18243
 
18244
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/foldFlowLines.js
18244
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/stringify/foldFlowLines.js
18245
18245
  var FOLD_FLOW = "flow";
18246
18246
  var FOLD_BLOCK = "block";
18247
18247
  var FOLD_QUOTED = "quoted";
@@ -18368,7 +18368,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
18368
18368
  return end;
18369
18369
  }
18370
18370
 
18371
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyString.js
18371
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/stringify/stringifyString.js
18372
18372
  var getFoldOptions = (ctx, isBlock2) => ({
18373
18373
  indentAtStart: isBlock2 ? ctx.indent.length : ctx.indentAtStart,
18374
18374
  lineWidth: ctx.options.lineWidth,
@@ -18643,7 +18643,7 @@ ${indent}`);
18643
18643
  return res;
18644
18644
  }
18645
18645
 
18646
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringify.js
18646
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/stringify/stringify.js
18647
18647
  function createStringifyContext(doc, options) {
18648
18648
  const opt = Object.assign({
18649
18649
  blockQuote: true,
@@ -18661,6 +18661,7 @@ ${indent}`);
18661
18661
  nullStr: "null",
18662
18662
  simpleKeys: false,
18663
18663
  singleQuote: null,
18664
+ trailingComma: false,
18664
18665
  trueStr: "true",
18665
18666
  verifyAliasOrder: true
18666
18667
  }, doc.schema.toStringOptions, options);
@@ -18755,7 +18756,7 @@ ${indent}`);
18755
18756
  ${ctx.indent}${str}`;
18756
18757
  }
18757
18758
 
18758
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyPair.js
18759
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/stringify/stringifyPair.js
18759
18760
  function stringifyPair({ key, value }, ctx, onComment, onChompKeep) {
18760
18761
  const { allNullValues, doc, indent, indentStep, options: { commentString, indentSeq, simpleKeys } } = ctx;
18761
18762
  let keyComment = isNode(key) && key.comment || null;
@@ -18878,14 +18879,14 @@ ${ctx.indent}`;
18878
18879
  return str;
18879
18880
  }
18880
18881
 
18881
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/log.js
18882
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/log.js
18882
18883
  function warn(logLevel, warning) {
18883
18884
  if (logLevel === "debug" || logLevel === "warn") {
18884
18885
  console.warn(warning);
18885
18886
  }
18886
18887
  }
18887
18888
 
18888
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js
18889
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js
18889
18890
  var MERGE_KEY = "<<";
18890
18891
  var merge = {
18891
18892
  identify: (value) => value === MERGE_KEY || typeof value === "symbol" && value.description === MERGE_KEY,
@@ -18932,7 +18933,7 @@ ${ctx.indent}`;
18932
18933
  return map2;
18933
18934
  }
18934
18935
 
18935
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js
18936
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js
18936
18937
  function addPairToJSMap(ctx, map2, { key, value }) {
18937
18938
  if (isNode(key) && key.addToJSMap)
18938
18939
  key.addToJSMap(ctx, map2, value);
@@ -18985,7 +18986,7 @@ ${ctx.indent}`;
18985
18986
  return JSON.stringify(jsKey);
18986
18987
  }
18987
18988
 
18988
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Pair.js
18989
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/Pair.js
18989
18990
  function createPair(key, value, ctx) {
18990
18991
  const k3 = createNode(key, void 0, ctx);
18991
18992
  const v3 = createNode(value, void 0, ctx);
@@ -19014,7 +19015,7 @@ ${ctx.indent}`;
19014
19015
  }
19015
19016
  };
19016
19017
 
19017
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyCollection.js
19018
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/stringify/stringifyCollection.js
19018
19019
  function stringifyCollection(collection, ctx, options) {
19019
19020
  const flow = ctx.inFlow ?? collection.flow;
19020
19021
  const stringify4 = flow ? stringifyFlowCollection : stringifyBlockCollection;
@@ -19111,12 +19112,19 @@ ${indent}${line}` : "\n";
19111
19112
  if (comment)
19112
19113
  reqNewline = true;
19113
19114
  let str = stringify(item, itemCtx, () => comment = null);
19114
- if (i < items.length - 1)
19115
+ reqNewline || (reqNewline = lines.length > linesAtValue || str.includes("\n"));
19116
+ if (i < items.length - 1) {
19115
19117
  str += ",";
19118
+ } else if (ctx.options.trailingComma) {
19119
+ if (ctx.options.lineWidth > 0) {
19120
+ reqNewline || (reqNewline = lines.reduce((sum, line) => sum + line.length + 2, 2) + (str.length + 2) > ctx.options.lineWidth);
19121
+ }
19122
+ if (reqNewline) {
19123
+ str += ",";
19124
+ }
19125
+ }
19116
19126
  if (comment)
19117
19127
  str += lineComment(str, itemIndent, commentString(comment));
19118
- if (!reqNewline && (lines.length > linesAtValue || str.includes("\n")))
19119
- reqNewline = true;
19120
19128
  lines.push(str);
19121
19129
  linesAtValue = lines.length;
19122
19130
  }
@@ -19149,7 +19157,7 @@ ${indent}${end}`;
19149
19157
  }
19150
19158
  }
19151
19159
 
19152
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLMap.js
19160
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/YAMLMap.js
19153
19161
  function findPair(items, key) {
19154
19162
  const k3 = isScalar(key) ? key.value : key;
19155
19163
  for (const it2 of items) {
@@ -19280,7 +19288,7 @@ ${indent}${end}`;
19280
19288
  }
19281
19289
  };
19282
19290
 
19283
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/map.js
19291
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/common/map.js
19284
19292
  var map = {
19285
19293
  collection: "map",
19286
19294
  default: true,
@@ -19294,7 +19302,7 @@ ${indent}${end}`;
19294
19302
  createNode: (schema4, obj, ctx) => YAMLMap.from(schema4, obj, ctx)
19295
19303
  };
19296
19304
 
19297
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLSeq.js
19305
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/YAMLSeq.js
19298
19306
  var YAMLSeq = class extends Collection {
19299
19307
  static get tagName() {
19300
19308
  return "tag:yaml.org,2002:seq";
@@ -19398,7 +19406,7 @@ ${indent}${end}`;
19398
19406
  return typeof idx === "number" && Number.isInteger(idx) && idx >= 0 ? idx : null;
19399
19407
  }
19400
19408
 
19401
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/seq.js
19409
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/common/seq.js
19402
19410
  var seq = {
19403
19411
  collection: "seq",
19404
19412
  default: true,
@@ -19412,7 +19420,7 @@ ${indent}${end}`;
19412
19420
  createNode: (schema4, obj, ctx) => YAMLSeq.from(schema4, obj, ctx)
19413
19421
  };
19414
19422
 
19415
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/string.js
19423
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/common/string.js
19416
19424
  var string = {
19417
19425
  identify: (value) => typeof value === "string",
19418
19426
  default: true,
@@ -19424,7 +19432,7 @@ ${indent}${end}`;
19424
19432
  }
19425
19433
  };
19426
19434
 
19427
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/null.js
19435
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/common/null.js
19428
19436
  var nullTag = {
19429
19437
  identify: (value) => value == null,
19430
19438
  createNode: () => new Scalar(null),
@@ -19435,7 +19443,7 @@ ${indent}${end}`;
19435
19443
  stringify: ({ source }, ctx) => typeof source === "string" && nullTag.test.test(source) ? source : ctx.options.nullStr
19436
19444
  };
19437
19445
 
19438
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/bool.js
19446
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/core/bool.js
19439
19447
  var boolTag = {
19440
19448
  identify: (value) => typeof value === "boolean",
19441
19449
  default: true,
@@ -19452,7 +19460,7 @@ ${indent}${end}`;
19452
19460
  }
19453
19461
  };
19454
19462
 
19455
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyNumber.js
19463
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/stringify/stringifyNumber.js
19456
19464
  function stringifyNumber({ format: format2, minFractionDigits, tag, value }) {
19457
19465
  if (typeof value === "bigint")
19458
19466
  return String(value);
@@ -19473,7 +19481,7 @@ ${indent}${end}`;
19473
19481
  return n;
19474
19482
  }
19475
19483
 
19476
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/float.js
19484
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/core/float.js
19477
19485
  var floatNaN = {
19478
19486
  identify: (value) => typeof value === "number",
19479
19487
  default: true,
@@ -19509,7 +19517,7 @@ ${indent}${end}`;
19509
19517
  stringify: stringifyNumber
19510
19518
  };
19511
19519
 
19512
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/int.js
19520
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/core/int.js
19513
19521
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
19514
19522
  var intResolve = (str, offset, radix, { intAsBigInt }) => intAsBigInt ? BigInt(str) : parseInt(str.substring(offset), radix);
19515
19523
  function intStringify(node, radix, prefix) {
@@ -19545,7 +19553,7 @@ ${indent}${end}`;
19545
19553
  stringify: (node) => intStringify(node, 16, "0x")
19546
19554
  };
19547
19555
 
19548
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/schema.js
19556
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/core/schema.js
19549
19557
  var schema = [
19550
19558
  map,
19551
19559
  seq,
@@ -19560,7 +19568,7 @@ ${indent}${end}`;
19560
19568
  float
19561
19569
  ];
19562
19570
 
19563
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/json/schema.js
19571
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/json/schema.js
19564
19572
  function intIdentify2(value) {
19565
19573
  return typeof value === "bigint" || Number.isInteger(value);
19566
19574
  }
@@ -19618,7 +19626,7 @@ ${indent}${end}`;
19618
19626
  };
19619
19627
  var schema2 = [map, seq].concat(jsonScalars, jsonError);
19620
19628
 
19621
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js
19629
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js
19622
19630
  var binary = {
19623
19631
  identify: (value) => value instanceof Uint8Array,
19624
19632
  // Buffer inherits from Uint8Array
@@ -19671,7 +19679,7 @@ ${indent}${end}`;
19671
19679
  }
19672
19680
  };
19673
19681
 
19674
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js
19682
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js
19675
19683
  function resolvePairs(seq2, onError) {
19676
19684
  if (isSeq(seq2)) {
19677
19685
  for (let i = 0; i < seq2.items.length; ++i) {
@@ -19737,7 +19745,7 @@ ${cn2.comment}` : item.comment;
19737
19745
  createNode: createPairs
19738
19746
  };
19739
19747
 
19740
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js
19748
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js
19741
19749
  var YAMLOMap = class _YAMLOMap extends YAMLSeq {
19742
19750
  constructor() {
19743
19751
  super();
@@ -19803,7 +19811,7 @@ ${cn2.comment}` : item.comment;
19803
19811
  createNode: (schema4, iterable, ctx) => YAMLOMap.from(schema4, iterable, ctx)
19804
19812
  };
19805
19813
 
19806
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js
19814
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js
19807
19815
  function boolStringify({ value, source }, ctx) {
19808
19816
  const boolObj = value ? trueTag : falseTag;
19809
19817
  if (source && boolObj.test.test(source))
@@ -19827,7 +19835,7 @@ ${cn2.comment}` : item.comment;
19827
19835
  stringify: boolStringify
19828
19836
  };
19829
19837
 
19830
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js
19838
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js
19831
19839
  var floatNaN2 = {
19832
19840
  identify: (value) => typeof value === "number",
19833
19841
  default: true,
@@ -19866,7 +19874,7 @@ ${cn2.comment}` : item.comment;
19866
19874
  stringify: stringifyNumber
19867
19875
  };
19868
19876
 
19869
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js
19877
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js
19870
19878
  var intIdentify3 = (value) => typeof value === "bigint" || Number.isInteger(value);
19871
19879
  function intResolve2(str, offset, radix, { intAsBigInt }) {
19872
19880
  const sign = str[0];
@@ -19935,7 +19943,7 @@ ${cn2.comment}` : item.comment;
19935
19943
  stringify: (node) => intStringify2(node, 16, "0x")
19936
19944
  };
19937
19945
 
19938
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js
19946
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js
19939
19947
  var YAMLSet = class _YAMLSet extends YAMLMap {
19940
19948
  constructor(schema4) {
19941
19949
  super(schema4);
@@ -20014,7 +20022,7 @@ ${cn2.comment}` : item.comment;
20014
20022
  }
20015
20023
  };
20016
20024
 
20017
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js
20025
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js
20018
20026
  function parseSexagesimal(str, asBigInt) {
20019
20027
  const sign = str[0];
20020
20028
  const parts = sign === "-" || sign === "+" ? str.substring(1) : str;
@@ -20093,7 +20101,7 @@ ${cn2.comment}` : item.comment;
20093
20101
  stringify: ({ value }) => value?.toISOString().replace(/(T00:00:00)?\.000Z$/, "") ?? ""
20094
20102
  };
20095
20103
 
20096
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js
20104
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js
20097
20105
  var schema3 = [
20098
20106
  map,
20099
20107
  seq,
@@ -20118,7 +20126,7 @@ ${cn2.comment}` : item.comment;
20118
20126
  timestamp
20119
20127
  ];
20120
20128
 
20121
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/tags.js
20129
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/tags.js
20122
20130
  var schemas = /* @__PURE__ */ new Map([
20123
20131
  ["core", schema],
20124
20132
  ["failsafe", [map, seq, string]],
@@ -20189,7 +20197,7 @@ ${cn2.comment}` : item.comment;
20189
20197
  }, []);
20190
20198
  }
20191
20199
 
20192
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/Schema.js
20200
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/Schema.js
20193
20201
  var sortMapEntriesByKey = (a2, b3) => a2.key < b3.key ? -1 : a2.key > b3.key ? 1 : 0;
20194
20202
  var Schema = class _Schema {
20195
20203
  constructor({ compat, customTags, merge: merge2, resolveKnownTags, schema: schema4, sortMapEntries, toStringDefaults }) {
@@ -20210,7 +20218,7 @@ ${cn2.comment}` : item.comment;
20210
20218
  }
20211
20219
  };
20212
20220
 
20213
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyDocument.js
20221
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/stringify/stringifyDocument.js
20214
20222
  function stringifyDocument(doc, options) {
20215
20223
  const lines = [];
20216
20224
  let hasDirectives = options.directives === true;
@@ -20281,7 +20289,7 @@ ${cn2.comment}` : item.comment;
20281
20289
  return lines.join("\n") + "\n";
20282
20290
  }
20283
20291
 
20284
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/Document.js
20292
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/doc/Document.js
20285
20293
  var Document = class _Document {
20286
20294
  constructor(value, replacer, options) {
20287
20295
  this.commentBefore = null;
@@ -20573,7 +20581,7 @@ ${cn2.comment}` : item.comment;
20573
20581
  throw new Error("Expected a YAML collection as document contents");
20574
20582
  }
20575
20583
 
20576
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/errors.js
20584
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/errors.js
20577
20585
  var YAMLError = class extends Error {
20578
20586
  constructor(name, pos, code, message) {
20579
20587
  super();
@@ -20629,7 +20637,7 @@ ${pointer}
20629
20637
  }
20630
20638
  };
20631
20639
 
20632
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-props.js
20640
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/resolve-props.js
20633
20641
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
20634
20642
  let spaceBefore = false;
20635
20643
  let atNewline = startOnNewline;
@@ -20757,7 +20765,7 @@ ${pointer}
20757
20765
  };
20758
20766
  }
20759
20767
 
20760
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-contains-newline.js
20768
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/util-contains-newline.js
20761
20769
  function containsNewline(key) {
20762
20770
  if (!key)
20763
20771
  return null;
@@ -20793,7 +20801,7 @@ ${pointer}
20793
20801
  }
20794
20802
  }
20795
20803
 
20796
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js
20804
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js
20797
20805
  function flowIndentCheck(indent, fc, onError) {
20798
20806
  if (fc?.type === "flow-collection") {
20799
20807
  const end = fc.end[0];
@@ -20804,7 +20812,7 @@ ${pointer}
20804
20812
  }
20805
20813
  }
20806
20814
 
20807
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-map-includes.js
20815
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/util-map-includes.js
20808
20816
  function mapIncludes(ctx, items, search) {
20809
20817
  const { uniqueKeys } = ctx.options;
20810
20818
  if (uniqueKeys === false)
@@ -20813,7 +20821,7 @@ ${pointer}
20813
20821
  return items.some((pair) => isEqual(pair.key, search));
20814
20822
  }
20815
20823
 
20816
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-map.js
20824
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/resolve-block-map.js
20817
20825
  var startColMsg = "All mapping items must start at the same column";
20818
20826
  function resolveBlockMap({ composeNode: composeNode2, composeEmptyNode: composeEmptyNode2 }, ctx, bm, onError, tag) {
20819
20827
  const NodeClass = tag?.nodeClass ?? YAMLMap;
@@ -20909,7 +20917,7 @@ ${pointer}
20909
20917
  return map2;
20910
20918
  }
20911
20919
 
20912
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-seq.js
20920
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/resolve-block-seq.js
20913
20921
  function resolveBlockSeq({ composeNode: composeNode2, composeEmptyNode: composeEmptyNode2 }, ctx, bs, onError, tag) {
20914
20922
  const NodeClass = tag?.nodeClass ?? YAMLSeq;
20915
20923
  const seq2 = new NodeClass(ctx.schema);
@@ -20951,7 +20959,7 @@ ${pointer}
20951
20959
  return seq2;
20952
20960
  }
20953
20961
 
20954
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-end.js
20962
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/resolve-end.js
20955
20963
  function resolveEnd(end, offset, reqSpace, onError) {
20956
20964
  let comment = "";
20957
20965
  if (end) {
@@ -20988,7 +20996,7 @@ ${pointer}
20988
20996
  return { comment, offset };
20989
20997
  }
20990
20998
 
20991
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js
20999
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js
20992
21000
  var blockMsg = "Block collections are not allowed within flow collections";
20993
21001
  var isBlock = (token) => token && (token.type === "block-map" || token.type === "block-seq");
20994
21002
  function resolveFlowCollection({ composeNode: composeNode2, composeEmptyNode: composeEmptyNode2 }, ctx, fc, onError, tag) {
@@ -21168,7 +21176,7 @@ ${pointer}
21168
21176
  return coll;
21169
21177
  }
21170
21178
 
21171
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-collection.js
21179
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/compose-collection.js
21172
21180
  function resolveCollection(CN2, ctx, token, onError, tagName, tag) {
21173
21181
  const coll = token.type === "block-map" ? resolveBlockMap(CN2, ctx, token, onError, tag) : token.type === "block-seq" ? resolveBlockSeq(CN2, ctx, token, onError, tag) : resolveFlowCollection(CN2, ctx, token, onError, tag);
21174
21182
  const Coll = coll.constructor;
@@ -21220,7 +21228,7 @@ ${pointer}
21220
21228
  return node;
21221
21229
  }
21222
21230
 
21223
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js
21231
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js
21224
21232
  function resolveBlockScalar(ctx, scalar, onError) {
21225
21233
  const start2 = scalar.offset;
21226
21234
  const header = parseBlockScalarHeader(scalar, ctx.options.strict, onError);
@@ -21396,7 +21404,7 @@ ${pointer}
21396
21404
  return lines;
21397
21405
  }
21398
21406
 
21399
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js
21407
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js
21400
21408
  function resolveFlowScalar(scalar, strict, onError) {
21401
21409
  const { offset, type, source, end } = scalar;
21402
21410
  let _type;
@@ -21607,7 +21615,7 @@ ${pointer}
21607
21615
  return String.fromCodePoint(code);
21608
21616
  }
21609
21617
 
21610
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-scalar.js
21618
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/compose-scalar.js
21611
21619
  function composeScalar(ctx, token, tagToken, onError) {
21612
21620
  const { value, type, comment, range } = token.type === "block-scalar" ? resolveBlockScalar(ctx, token, onError) : resolveFlowScalar(token, ctx.options.strict, onError);
21613
21621
  const tagName = tagToken ? ctx.directives.tagName(tagToken.source, (msg) => onError(tagToken, "TAG_RESOLVE_FAILED", msg)) : null;
@@ -21678,7 +21686,7 @@ ${pointer}
21678
21686
  return tag;
21679
21687
  }
21680
21688
 
21681
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js
21689
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js
21682
21690
  function emptyScalarPosition(offset, before, pos) {
21683
21691
  if (before) {
21684
21692
  pos ?? (pos = before.length);
@@ -21702,7 +21710,7 @@ ${pointer}
21702
21710
  return offset;
21703
21711
  }
21704
21712
 
21705
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-node.js
21713
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/compose-node.js
21706
21714
  var CN = { composeNode, composeEmptyNode };
21707
21715
  function composeNode(ctx, token, props, onError) {
21708
21716
  const atKey = ctx.atKey;
@@ -21726,17 +21734,22 @@ ${pointer}
21726
21734
  case "block-map":
21727
21735
  case "block-seq":
21728
21736
  case "flow-collection":
21729
- node = composeCollection(CN, ctx, token, props, onError);
21730
- if (anchor)
21731
- node.anchor = anchor.source.substring(1);
21737
+ try {
21738
+ node = composeCollection(CN, ctx, token, props, onError);
21739
+ if (anchor)
21740
+ node.anchor = anchor.source.substring(1);
21741
+ } catch (error) {
21742
+ const message = error instanceof Error ? error.message : String(error);
21743
+ onError(token, "RESOURCE_EXHAUSTION", message);
21744
+ }
21732
21745
  break;
21733
21746
  default: {
21734
21747
  const message = token.type === "error" ? token.message : `Unsupported token (type: ${token.type})`;
21735
21748
  onError(token, "UNEXPECTED_TOKEN", message);
21736
- node = composeEmptyNode(ctx, token.offset, void 0, null, props, onError);
21737
21749
  isSrcToken = false;
21738
21750
  }
21739
21751
  }
21752
+ node ?? (node = composeEmptyNode(ctx, token.offset, void 0, null, props, onError));
21740
21753
  if (anchor && node.anchor === "")
21741
21754
  onError(anchor, "BAD_ALIAS", "Anchor cannot be an empty string");
21742
21755
  if (atKey && ctx.options.stringKeys && (!isScalar(node) || typeof node.value !== "string" || node.tag && node.tag !== "tag:yaml.org,2002:str")) {
@@ -21790,7 +21803,7 @@ ${pointer}
21790
21803
  return alias;
21791
21804
  }
21792
21805
 
21793
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-doc.js
21806
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/compose-doc.js
21794
21807
  function composeDoc(options, directives, { offset, start: start2, value, end }, onError) {
21795
21808
  const opts = Object.assign({ _directives: directives }, options);
21796
21809
  const doc = new Document(void 0, opts);
@@ -21823,7 +21836,7 @@ ${pointer}
21823
21836
  return doc;
21824
21837
  }
21825
21838
 
21826
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/composer.js
21839
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/compose/composer.js
21827
21840
  function getErrorPos(src) {
21828
21841
  if (typeof src === "number")
21829
21842
  return [src, src + 1];
@@ -22014,7 +22027,7 @@ ${end.comment}` : end.comment;
22014
22027
  }
22015
22028
  };
22016
22029
 
22017
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst.js
22030
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/parse/cst.js
22018
22031
  var cst_exports = {};
22019
22032
  __export(cst_exports, {
22020
22033
  BOM: () => BOM,
@@ -22032,7 +22045,7 @@ ${end.comment}` : end.comment;
22032
22045
  visit: () => visit3
22033
22046
  });
22034
22047
 
22035
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst-scalar.js
22048
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/parse/cst-scalar.js
22036
22049
  function resolveAsScalar(token, strict = true, onError) {
22037
22050
  if (token) {
22038
22051
  const _onError = (pos, code, message) => {
@@ -22205,7 +22218,7 @@ ${end.comment}` : end.comment;
22205
22218
  }
22206
22219
  }
22207
22220
 
22208
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst-stringify.js
22221
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/parse/cst-stringify.js
22209
22222
  var stringify2 = (cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst);
22210
22223
  function stringifyToken(token) {
22211
22224
  switch (token.type) {
@@ -22260,7 +22273,7 @@ ${end.comment}` : end.comment;
22260
22273
  return res;
22261
22274
  }
22262
22275
 
22263
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst-visit.js
22276
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/parse/cst-visit.js
22264
22277
  var BREAK2 = Symbol("break visit");
22265
22278
  var SKIP2 = Symbol("skip children");
22266
22279
  var REMOVE2 = Symbol("remove item");
@@ -22316,7 +22329,7 @@ ${end.comment}` : end.comment;
22316
22329
  return typeof ctrl === "function" ? ctrl(item, path5) : ctrl;
22317
22330
  }
22318
22331
 
22319
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst.js
22332
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/parse/cst.js
22320
22333
  var BOM = "\uFEFF";
22321
22334
  var DOCUMENT = "";
22322
22335
  var FLOW_END = "";
@@ -22397,7 +22410,7 @@ ${end.comment}` : end.comment;
22397
22410
  return null;
22398
22411
  }
22399
22412
 
22400
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/lexer.js
22413
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/parse/lexer.js
22401
22414
  function isEmpty(ch) {
22402
22415
  switch (ch) {
22403
22416
  case void 0:
@@ -22969,7 +22982,7 @@ ${end.comment}` : end.comment;
22969
22982
  }
22970
22983
  };
22971
22984
 
22972
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/line-counter.js
22985
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/parse/line-counter.js
22973
22986
  var LineCounter = class {
22974
22987
  constructor() {
22975
22988
  this.lineStarts = [];
@@ -22994,7 +23007,7 @@ ${end.comment}` : end.comment;
22994
23007
  }
22995
23008
  };
22996
23009
 
22997
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/parser.js
23010
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/parse/parser.js
22998
23011
  function includesToken(list, type) {
22999
23012
  for (let i = 0; i < list.length; ++i)
23000
23013
  if (list[i].type === type)
@@ -23850,7 +23863,7 @@ ${end.comment}` : end.comment;
23850
23863
  }
23851
23864
  };
23852
23865
 
23853
- // ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/public-api.js
23866
+ // ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/public-api.js
23854
23867
  function parseOptions(options) {
23855
23868
  const prettyErrors = options.prettyErrors !== false;
23856
23869
  const lineCounter = options.lineCounter || prettyErrors && new LineCounter() || null;