@powerlines/plugin-content-collections 0.1.341 → 0.1.342

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 (420) hide show
  1. package/README.md +14 -16
  2. package/dist/_virtual/{rolldown_runtime.cjs → _rolldown/runtime.cjs} +1 -3
  3. package/dist/_virtual/_rolldown/runtime.mjs +3 -0
  4. package/dist/helpers/create-emitter.cjs +2 -1
  5. package/dist/helpers/create-emitter.d.cts.map +1 -1
  6. package/dist/helpers/create-emitter.d.mts.map +1 -1
  7. package/dist/helpers/create-writer.cjs +9 -8
  8. package/dist/helpers/create-writer.d.cts +0 -1
  9. package/dist/helpers/create-writer.d.cts.map +1 -1
  10. package/dist/helpers/create-writer.d.mts +0 -1
  11. package/dist/helpers/create-writer.d.mts.map +1 -1
  12. package/dist/helpers/create-writer.mjs +2 -2
  13. package/dist/helpers/index.cjs +1 -0
  14. package/dist/index.cjs +15 -16
  15. package/dist/index.d.cts +0 -2
  16. package/dist/index.d.cts.map +1 -1
  17. package/dist/index.d.mts +0 -2
  18. package/dist/index.d.mts.map +1 -1
  19. package/dist/index.mjs +4 -5
  20. package/dist/index.mjs.map +1 -1
  21. package/dist/types/plugin.d.cts.map +1 -1
  22. package/dist/types/plugin.d.mts.map +1 -1
  23. package/package.json +30 -26
  24. package/dist/_virtual/rolldown_runtime.mjs +0 -32
  25. package/dist/node_modules/.pnpm/@content-collections_core@0.12.0_patch_hash_bceb89349da763f8c715d7b53875be4a1e5bc5161d7_3067b2e8f290866ec343d5ebc4494f7e/node_modules/@content-collections/core/dist/index.cjs +0 -1946
  26. package/dist/node_modules/.pnpm/@content-collections_core@0.12.0_patch_hash_bceb89349da763f8c715d7b53875be4a1e5bc5161d7_3067b2e8f290866ec343d5ebc4494f7e/node_modules/@content-collections/core/dist/index.mjs +0 -1939
  27. package/dist/node_modules/.pnpm/@content-collections_core@0.12.0_patch_hash_bceb89349da763f8c715d7b53875be4a1e5bc5161d7_3067b2e8f290866ec343d5ebc4494f7e/node_modules/@content-collections/core/dist/index.mjs.map +0 -1
  28. package/dist/node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.cjs +0 -9
  29. package/dist/node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.mjs +0 -10
  30. package/dist/node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.mjs.map +0 -1
  31. package/dist/node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.cjs +0 -2124
  32. package/dist/node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.mjs +0 -2120
  33. package/dist/node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.mjs.map +0 -1
  34. package/dist/node_modules/.pnpm/esprima@4.0.1/node_modules/esprima/dist/esprima.cjs +0 -5342
  35. package/dist/node_modules/.pnpm/esprima@4.0.1/node_modules/esprima/dist/esprima.mjs +0 -5340
  36. package/dist/node_modules/.pnpm/esprima@4.0.1/node_modules/esprima/dist/esprima.mjs.map +0 -1
  37. package/dist/node_modules/.pnpm/extend-shallow@2.0.1/node_modules/extend-shallow/index.cjs +0 -35
  38. package/dist/node_modules/.pnpm/extend-shallow@2.0.1/node_modules/extend-shallow/index.mjs +0 -31
  39. package/dist/node_modules/.pnpm/extend-shallow@2.0.1/node_modules/extend-shallow/index.mjs.map +0 -1
  40. package/dist/node_modules/.pnpm/fdir@6.5.0_@types_picomatch@4.0.2_picomatch@4.0.3/node_modules/fdir/dist/index.cjs +0 -516
  41. package/dist/node_modules/.pnpm/fdir@6.5.0_@types_picomatch@4.0.2_picomatch@4.0.3/node_modules/fdir/dist/index.mjs +0 -515
  42. package/dist/node_modules/.pnpm/fdir@6.5.0_@types_picomatch@4.0.2_picomatch@4.0.3/node_modules/fdir/dist/index.mjs.map +0 -1
  43. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/index.cjs +0 -185
  44. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/index.mjs +0 -181
  45. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/index.mjs.map +0 -1
  46. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/defaults.cjs +0 -27
  47. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/defaults.mjs +0 -23
  48. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/defaults.mjs.map +0 -1
  49. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engine.cjs +0 -33
  50. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engine.mjs +0 -29
  51. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engine.mjs.map +0 -1
  52. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engines.cjs +0 -58
  53. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engines.mjs +0 -54
  54. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engines.mjs.map +0 -1
  55. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/excerpt.cjs +0 -28
  56. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/excerpt.mjs +0 -24
  57. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/excerpt.mjs.map +0 -1
  58. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/parse.cjs +0 -25
  59. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/parse.mjs +0 -21
  60. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/parse.mjs.map +0 -1
  61. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/stringify.cjs +0 -53
  62. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/stringify.mjs +0 -49
  63. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/stringify.mjs.map +0 -1
  64. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/to-file.cjs +0 -41
  65. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/to-file.mjs +0 -37
  66. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/to-file.mjs.map +0 -1
  67. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/utils.cjs +0 -66
  68. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/utils.mjs +0 -62
  69. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/utils.mjs.map +0 -1
  70. package/dist/node_modules/.pnpm/is-extendable@0.1.1/node_modules/is-extendable/index.cjs +0 -24
  71. package/dist/node_modules/.pnpm/is-extendable@0.1.1/node_modules/is-extendable/index.mjs +0 -20
  72. package/dist/node_modules/.pnpm/is-extendable@0.1.1/node_modules/is-extendable/index.mjs.map +0 -1
  73. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/index.cjs +0 -18
  74. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/index.mjs +0 -14
  75. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/index.mjs.map +0 -1
  76. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/common.cjs +0 -51
  77. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/common.mjs +0 -47
  78. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/common.mjs.map +0 -1
  79. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/dumper.cjs +0 -452
  80. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/dumper.mjs +0 -448
  81. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/dumper.mjs.map +0 -1
  82. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/exception.cjs +0 -33
  83. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/exception.mjs +0 -29
  84. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/exception.mjs.map +0 -1
  85. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/loader.cjs +0 -820
  86. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/loader.mjs +0 -816
  87. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/loader.mjs.map +0 -1
  88. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/mark.cjs +0 -63
  89. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/mark.mjs +0 -59
  90. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/mark.mjs.map +0 -1
  91. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/core.cjs +0 -19
  92. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/core.mjs +0 -15
  93. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/core.mjs.map +0 -1
  94. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_full.cjs +0 -29
  95. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_full.mjs +0 -25
  96. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_full.mjs.map +0 -1
  97. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.cjs +0 -34
  98. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.mjs +0 -30
  99. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.mjs.map +0 -1
  100. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.cjs +0 -25
  101. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.mjs +0 -21
  102. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.mjs.map +0 -1
  103. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/json.cjs +0 -31
  104. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/json.mjs +0 -27
  105. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/json.mjs.map +0 -1
  106. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema.cjs +0 -88
  107. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema.mjs +0 -84
  108. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema.mjs.map +0 -1
  109. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/binary.cjs +0 -95
  110. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/binary.mjs +0 -91
  111. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/binary.mjs.map +0 -1
  112. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/bool.cjs +0 -46
  113. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/bool.mjs +0 -42
  114. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/bool.mjs.map +0 -1
  115. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/float.cjs +0 -77
  116. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/float.mjs +0 -73
  117. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/float.mjs.map +0 -1
  118. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/int.cjs +0 -136
  119. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/int.mjs +0 -132
  120. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/int.mjs.map +0 -1
  121. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/function.cjs +0 -57
  122. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/function.mjs +0 -53
  123. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/function.mjs.map +0 -1
  124. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.cjs +0 -53
  125. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.mjs +0 -49
  126. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.mjs.map +0 -1
  127. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.cjs +0 -34
  128. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.mjs +0 -30
  129. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.mjs.map +0 -1
  130. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/map.cjs +0 -23
  131. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/map.mjs +0 -19
  132. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/map.mjs.map +0 -1
  133. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/merge.cjs +0 -24
  134. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/merge.mjs +0 -20
  135. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/merge.mjs.map +0 -1
  136. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/null.cjs +0 -49
  137. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/null.mjs +0 -45
  138. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/null.mjs.map +0 -1
  139. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/omap.cjs +0 -42
  140. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/omap.mjs +0 -38
  141. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/omap.mjs.map +0 -1
  142. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/pairs.cjs +0 -47
  143. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/pairs.mjs +0 -43
  144. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/pairs.mjs.map +0 -1
  145. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/seq.cjs +0 -23
  146. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/seq.mjs +0 -19
  147. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/seq.mjs.map +0 -1
  148. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/set.cjs +0 -34
  149. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/set.mjs +0 -30
  150. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/set.mjs.map +0 -1
  151. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/str.cjs +0 -23
  152. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/str.mjs +0 -19
  153. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/str.mjs.map +0 -1
  154. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/timestamp.cjs +0 -62
  155. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/timestamp.mjs +0 -58
  156. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/timestamp.mjs.map +0 -1
  157. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type.cjs +0 -62
  158. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type.mjs +0 -58
  159. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type.mjs.map +0 -1
  160. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml.cjs +0 -53
  161. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml.mjs +0 -49
  162. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml.mjs.map +0 -1
  163. package/dist/node_modules/.pnpm/kind-of@6.0.3/node_modules/kind-of/index.cjs +0 -97
  164. package/dist/node_modules/.pnpm/kind-of@6.0.3/node_modules/kind-of/index.mjs +0 -95
  165. package/dist/node_modules/.pnpm/kind-of@6.0.3/node_modules/kind-of/index.mjs.map +0 -1
  166. package/dist/node_modules/.pnpm/p-limit@6.2.0/node_modules/p-limit/index.cjs +0 -62
  167. package/dist/node_modules/.pnpm/p-limit@6.2.0/node_modules/p-limit/index.mjs +0 -63
  168. package/dist/node_modules/.pnpm/p-limit@6.2.0/node_modules/p-limit/index.mjs.map +0 -1
  169. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.cjs +0 -28
  170. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.mjs +0 -24
  171. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.mjs.map +0 -1
  172. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.cjs +0 -175
  173. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.mjs +0 -171
  174. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.mjs.map +0 -1
  175. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.cjs +0 -871
  176. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.mjs +0 -867
  177. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.mjs.map +0 -1
  178. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.cjs +0 -307
  179. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.mjs +0 -303
  180. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.mjs.map +0 -1
  181. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.cjs +0 -300
  182. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.mjs +0 -296
  183. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.mjs.map +0 -1
  184. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.cjs +0 -60
  185. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.mjs +0 -56
  186. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.mjs.map +0 -1
  187. package/dist/node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/index.cjs +0 -14
  188. package/dist/node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/index.mjs +0 -12
  189. package/dist/node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/index.mjs.map +0 -1
  190. package/dist/node_modules/.pnpm/section-matter@1.0.0/node_modules/section-matter/index.cjs +0 -117
  191. package/dist/node_modules/.pnpm/section-matter@1.0.0/node_modules/section-matter/index.mjs +0 -113
  192. package/dist/node_modules/.pnpm/section-matter@1.0.0/node_modules/section-matter/index.mjs.map +0 -1
  193. package/dist/node_modules/.pnpm/serialize-javascript@6.0.2/node_modules/serialize-javascript/index.cjs +0 -119
  194. package/dist/node_modules/.pnpm/serialize-javascript@6.0.2/node_modules/serialize-javascript/index.mjs +0 -115
  195. package/dist/node_modules/.pnpm/serialize-javascript@6.0.2/node_modules/serialize-javascript/index.mjs.map +0 -1
  196. package/dist/node_modules/.pnpm/strip-bom-string@1.0.0/node_modules/strip-bom-string/index.cjs +0 -25
  197. package/dist/node_modules/.pnpm/strip-bom-string@1.0.0/node_modules/strip-bom-string/index.mjs +0 -21
  198. package/dist/node_modules/.pnpm/strip-bom-string@1.0.0/node_modules/strip-bom-string/index.mjs.map +0 -1
  199. package/dist/node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.cjs +0 -294
  200. package/dist/node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.mjs +0 -293
  201. package/dist/node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.mjs.map +0 -1
  202. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.cjs +0 -70
  203. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.mjs +0 -66
  204. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.mjs.map +0 -1
  205. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.cjs +0 -57
  206. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.mjs +0 -53
  207. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.mjs.map +0 -1
  208. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.cjs +0 -102
  209. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.mjs +0 -98
  210. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.mjs.map +0 -1
  211. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.cjs +0 -74
  212. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.mjs +0 -70
  213. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.mjs.map +0 -1
  214. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.cjs +0 -215
  215. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.mjs +0 -211
  216. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.mjs.map +0 -1
  217. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.cjs +0 -101
  218. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.mjs +0 -97
  219. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.mjs.map +0 -1
  220. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.cjs +0 -187
  221. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.mjs +0 -183
  222. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.mjs.map +0 -1
  223. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.cjs +0 -56
  224. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.mjs +0 -52
  225. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.mjs.map +0 -1
  226. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.cjs +0 -49
  227. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.mjs +0 -45
  228. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.mjs.map +0 -1
  229. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.cjs +0 -174
  230. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.mjs +0 -170
  231. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.mjs.map +0 -1
  232. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.cjs +0 -219
  233. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.mjs +0 -215
  234. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.mjs.map +0 -1
  235. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.cjs +0 -118
  236. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.mjs +0 -114
  237. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.mjs.map +0 -1
  238. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.cjs +0 -40
  239. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.mjs +0 -36
  240. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.mjs.map +0 -1
  241. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.cjs +0 -38
  242. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.mjs +0 -34
  243. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.mjs.map +0 -1
  244. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.cjs +0 -24
  245. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.mjs +0 -20
  246. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.mjs.map +0 -1
  247. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.cjs +0 -24
  248. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.mjs +0 -20
  249. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.mjs.map +0 -1
  250. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/Document.cjs +0 -303
  251. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/Document.mjs +0 -299
  252. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/Document.mjs.map +0 -1
  253. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.cjs +0 -75
  254. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.mjs +0 -71
  255. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.mjs.map +0 -1
  256. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.cjs +0 -51
  257. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.mjs +0 -47
  258. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.mjs.map +0 -1
  259. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.cjs +0 -77
  260. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.mjs +0 -73
  261. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.mjs.map +0 -1
  262. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/directives.cjs +0 -178
  263. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/directives.mjs +0 -174
  264. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/directives.mjs.map +0 -1
  265. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/errors.cjs +0 -64
  266. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/errors.mjs +0 -60
  267. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/errors.mjs.map +0 -1
  268. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/index.cjs +0 -75
  269. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/index.mjs +0 -71
  270. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/index.mjs.map +0 -1
  271. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/log.cjs +0 -25
  272. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/log.mjs +0 -21
  273. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/log.mjs.map +0 -1
  274. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.cjs +0 -109
  275. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.mjs +0 -105
  276. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.mjs.map +0 -1
  277. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.cjs +0 -135
  278. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.mjs +0 -131
  279. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.mjs.map +0 -1
  280. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.cjs +0 -48
  281. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.mjs +0 -44
  282. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.mjs.map +0 -1
  283. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.cjs +0 -48
  284. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.mjs +0 -44
  285. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.mjs.map +0 -1
  286. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.cjs +0 -41
  287. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.mjs +0 -37
  288. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.mjs.map +0 -1
  289. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.cjs +0 -126
  290. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.mjs +0 -122
  291. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.mjs.map +0 -1
  292. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.cjs +0 -123
  293. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.mjs +0 -119
  294. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.mjs.map +0 -1
  295. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.cjs +0 -67
  296. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.mjs +0 -63
  297. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.mjs.map +0 -1
  298. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.cjs +0 -61
  299. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.mjs +0 -57
  300. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.mjs.map +0 -1
  301. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.cjs +0 -49
  302. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.mjs +0 -45
  303. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.mjs.map +0 -1
  304. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.cjs +0 -282
  305. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.mjs +0 -278
  306. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.mjs.map +0 -1
  307. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.cjs +0 -62
  308. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.mjs +0 -58
  309. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.mjs.map +0 -1
  310. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.cjs +0 -102
  311. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.mjs +0 -98
  312. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.mjs.map +0 -1
  313. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst.cjs +0 -93
  314. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst.mjs +0 -89
  315. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst.mjs.map +0 -1
  316. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.cjs +0 -531
  317. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.mjs +0 -527
  318. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.mjs.map +0 -1
  319. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.cjs +0 -58
  320. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.mjs +0 -54
  321. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.mjs.map +0 -1
  322. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/parser.cjs +0 -871
  323. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/parser.mjs +0 -867
  324. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/parser.mjs.map +0 -1
  325. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/public-api.cjs +0 -105
  326. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/public-api.mjs +0 -101
  327. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/public-api.mjs.map +0 -1
  328. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.cjs +0 -45
  329. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.mjs +0 -41
  330. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.mjs.map +0 -1
  331. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.cjs +0 -31
  332. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.mjs +0 -27
  333. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.mjs.map +0 -1
  334. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.cjs +0 -27
  335. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.mjs +0 -23
  336. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.mjs.map +0 -1
  337. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.cjs +0 -31
  338. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.mjs +0 -27
  339. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.mjs.map +0 -1
  340. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.cjs +0 -28
  341. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.mjs +0 -24
  342. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.mjs.map +0 -1
  343. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.cjs +0 -31
  344. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.mjs +0 -27
  345. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.mjs.map +0 -1
  346. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.cjs +0 -55
  347. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.mjs +0 -51
  348. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.mjs.map +0 -1
  349. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.cjs +0 -53
  350. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.mjs +0 -49
  351. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.mjs.map +0 -1
  352. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.cjs +0 -43
  353. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.mjs +0 -39
  354. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.mjs.map +0 -1
  355. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.cjs +0 -77
  356. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.mjs +0 -73
  357. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.mjs.map +0 -1
  358. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/tags.cjs +0 -111
  359. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/tags.mjs +0 -107
  360. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/tags.mjs.map +0 -1
  361. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.cjs +0 -62
  362. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.mjs +0 -58
  363. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.mjs.map +0 -1
  364. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.cjs +0 -39
  365. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.mjs +0 -35
  366. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.mjs.map +0 -1
  367. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.cjs +0 -58
  368. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.mjs +0 -54
  369. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.mjs.map +0 -1
  370. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.cjs +0 -87
  371. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.mjs +0 -83
  372. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.mjs.map +0 -1
  373. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.cjs +0 -53
  374. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.mjs +0 -49
  375. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.mjs.map +0 -1
  376. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.cjs +0 -79
  377. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.mjs +0 -75
  378. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.mjs.map +0 -1
  379. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.cjs +0 -75
  380. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.mjs +0 -71
  381. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.mjs.map +0 -1
  382. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.cjs +0 -65
  383. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.mjs +0 -61
  384. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.mjs.map +0 -1
  385. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.cjs +0 -82
  386. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.mjs +0 -78
  387. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.mjs.map +0 -1
  388. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.cjs +0 -95
  389. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.mjs +0 -91
  390. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.mjs.map +0 -1
  391. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.cjs +0 -127
  392. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.mjs +0 -123
  393. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.mjs.map +0 -1
  394. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.cjs +0 -122
  395. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.mjs +0 -118
  396. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.mjs.map +0 -1
  397. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.cjs +0 -128
  398. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.mjs +0 -124
  399. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.mjs.map +0 -1
  400. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.cjs +0 -31
  401. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.mjs +0 -27
  402. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.mjs.map +0 -1
  403. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.cjs +0 -75
  404. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.mjs +0 -71
  405. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.mjs.map +0 -1
  406. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.cjs +0 -32
  407. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.mjs +0 -28
  408. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.mjs.map +0 -1
  409. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.cjs +0 -112
  410. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.mjs +0 -108
  411. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.mjs.map +0 -1
  412. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.cjs +0 -237
  413. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.mjs +0 -233
  414. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.mjs.map +0 -1
  415. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/visit.cjs +0 -202
  416. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/visit.mjs +0 -198
  417. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/visit.mjs.map +0 -1
  418. package/dist/node_modules/.pnpm/yocto-queue@1.2.2/node_modules/yocto-queue/index.cjs +0 -61
  419. package/dist/node_modules/.pnpm/yocto-queue@1.2.2/node_modules/yocto-queue/index.mjs +0 -61
  420. package/dist/node_modules/.pnpm/yocto-queue@1.2.2/node_modules/yocto-queue/index.mjs.map +0 -1
@@ -1,820 +0,0 @@
1
- 'use strict';
2
-
3
- const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
4
- const require_common$1 = require('./common.cjs');
5
- const require_exception$1 = require('./exception.cjs');
6
- const require_mark$1 = require('./mark.cjs');
7
- const require_default_safe$1 = require('./schema/default_safe.cjs');
8
- const require_default_full$1 = require('./schema/default_full.cjs');
9
-
10
- //#region ../../node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/loader.js
11
- var require_loader = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
12
- var common = require_common$1.default;
13
- var YAMLException = require_exception$1.default;
14
- var Mark = require_mark$1.default;
15
- var DEFAULT_SAFE_SCHEMA = require_default_safe$1.default;
16
- var DEFAULT_FULL_SCHEMA = require_default_full$1.default;
17
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
18
- var CONTEXT_FLOW_IN = 1;
19
- var CONTEXT_FLOW_OUT = 2;
20
- var CONTEXT_BLOCK_IN = 3;
21
- var CONTEXT_BLOCK_OUT = 4;
22
- var CHOMPING_CLIP = 1;
23
- var CHOMPING_STRIP = 2;
24
- var CHOMPING_KEEP = 3;
25
- var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
26
- var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
27
- var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
28
- var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
29
- var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
30
- function _class(obj) {
31
- return Object.prototype.toString.call(obj);
32
- }
33
- function is_EOL(c) {
34
- return c === 10 || c === 13;
35
- }
36
- function is_WHITE_SPACE(c) {
37
- return c === 9 || c === 32;
38
- }
39
- function is_WS_OR_EOL(c) {
40
- return c === 9 || c === 32 || c === 10 || c === 13;
41
- }
42
- function is_FLOW_INDICATOR(c) {
43
- return c === 44 || c === 91 || c === 93 || c === 123 || c === 125;
44
- }
45
- function fromHexCode(c) {
46
- var lc;
47
- if (48 <= c && c <= 57) return c - 48;
48
- lc = c | 32;
49
- if (97 <= lc && lc <= 102) return lc - 97 + 10;
50
- return -1;
51
- }
52
- function escapedHexLen(c) {
53
- if (c === 120) return 2;
54
- if (c === 117) return 4;
55
- if (c === 85) return 8;
56
- return 0;
57
- }
58
- function fromDecimalCode(c) {
59
- if (48 <= c && c <= 57) return c - 48;
60
- return -1;
61
- }
62
- function simpleEscapeSequence(c) {
63
- return c === 48 ? "\0" : c === 97 ? "\x07" : c === 98 ? "\b" : c === 116 ? " " : c === 9 ? " " : c === 110 ? "\n" : c === 118 ? "\v" : c === 102 ? "\f" : c === 114 ? "\r" : c === 101 ? "\x1B" : c === 32 ? " " : c === 34 ? "\"" : c === 47 ? "/" : c === 92 ? "\\" : c === 78 ? "…" : c === 95 ? "\xA0" : c === 76 ? "\u2028" : c === 80 ? "\u2029" : "";
64
- }
65
- function charFromCodepoint(c) {
66
- if (c <= 65535) return String.fromCharCode(c);
67
- return String.fromCharCode((c - 65536 >> 10) + 55296, (c - 65536 & 1023) + 56320);
68
- }
69
- function setProperty(object, key, value) {
70
- if (key === "__proto__") Object.defineProperty(object, key, {
71
- configurable: true,
72
- enumerable: true,
73
- writable: true,
74
- value
75
- });
76
- else object[key] = value;
77
- }
78
- var simpleEscapeCheck = new Array(256);
79
- var simpleEscapeMap = new Array(256);
80
- for (var i = 0; i < 256; i++) {
81
- simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
82
- simpleEscapeMap[i] = simpleEscapeSequence(i);
83
- }
84
- function State(input, options) {
85
- this.input = input;
86
- this.filename = options["filename"] || null;
87
- this.schema = options["schema"] || DEFAULT_FULL_SCHEMA;
88
- this.onWarning = options["onWarning"] || null;
89
- this.legacy = options["legacy"] || false;
90
- this.json = options["json"] || false;
91
- this.listener = options["listener"] || null;
92
- this.implicitTypes = this.schema.compiledImplicit;
93
- this.typeMap = this.schema.compiledTypeMap;
94
- this.length = input.length;
95
- this.position = 0;
96
- this.line = 0;
97
- this.lineStart = 0;
98
- this.lineIndent = 0;
99
- this.documents = [];
100
- }
101
- function generateError(state, message) {
102
- return new YAMLException(message, new Mark(state.filename, state.input, state.position, state.line, state.position - state.lineStart));
103
- }
104
- function throwError(state, message) {
105
- throw generateError(state, message);
106
- }
107
- function throwWarning(state, message) {
108
- if (state.onWarning) state.onWarning.call(null, generateError(state, message));
109
- }
110
- var directiveHandlers = {
111
- YAML: function handleYamlDirective(state, name, args) {
112
- var match, major, minor;
113
- if (state.version !== null) throwError(state, "duplication of %YAML directive");
114
- if (args.length !== 1) throwError(state, "YAML directive accepts exactly one argument");
115
- match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
116
- if (match === null) throwError(state, "ill-formed argument of the YAML directive");
117
- major = parseInt(match[1], 10);
118
- minor = parseInt(match[2], 10);
119
- if (major !== 1) throwError(state, "unacceptable YAML version of the document");
120
- state.version = args[0];
121
- state.checkLineBreaks = minor < 2;
122
- if (minor !== 1 && minor !== 2) throwWarning(state, "unsupported YAML version of the document");
123
- },
124
- TAG: function handleTagDirective(state, name, args) {
125
- var handle, prefix;
126
- if (args.length !== 2) throwError(state, "TAG directive accepts exactly two arguments");
127
- handle = args[0];
128
- prefix = args[1];
129
- if (!PATTERN_TAG_HANDLE.test(handle)) throwError(state, "ill-formed tag handle (first argument) of the TAG directive");
130
- if (_hasOwnProperty.call(state.tagMap, handle)) throwError(state, "there is a previously declared suffix for \"" + handle + "\" tag handle");
131
- if (!PATTERN_TAG_URI.test(prefix)) throwError(state, "ill-formed tag prefix (second argument) of the TAG directive");
132
- state.tagMap[handle] = prefix;
133
- }
134
- };
135
- function captureSegment(state, start, end, checkJson) {
136
- var _position, _length, _character, _result;
137
- if (start < end) {
138
- _result = state.input.slice(start, end);
139
- if (checkJson) for (_position = 0, _length = _result.length; _position < _length; _position += 1) {
140
- _character = _result.charCodeAt(_position);
141
- if (!(_character === 9 || 32 <= _character && _character <= 1114111)) throwError(state, "expected valid JSON character");
142
- }
143
- else if (PATTERN_NON_PRINTABLE.test(_result)) throwError(state, "the stream contains non-printable characters");
144
- state.result += _result;
145
- }
146
- }
147
- function mergeMappings(state, destination, source, overridableKeys) {
148
- var sourceKeys, key, index, quantity;
149
- if (!common.isObject(source)) throwError(state, "cannot merge mappings; the provided source object is unacceptable");
150
- sourceKeys = Object.keys(source);
151
- for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
152
- key = sourceKeys[index];
153
- if (!_hasOwnProperty.call(destination, key)) {
154
- setProperty(destination, key, source[key]);
155
- overridableKeys[key] = true;
156
- }
157
- }
158
- }
159
- function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, startLine, startPos) {
160
- var index, quantity;
161
- if (Array.isArray(keyNode)) {
162
- keyNode = Array.prototype.slice.call(keyNode);
163
- for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {
164
- if (Array.isArray(keyNode[index])) throwError(state, "nested arrays are not supported inside keys");
165
- if (typeof keyNode === "object" && _class(keyNode[index]) === "[object Object]") keyNode[index] = "[object Object]";
166
- }
167
- }
168
- if (typeof keyNode === "object" && _class(keyNode) === "[object Object]") keyNode = "[object Object]";
169
- keyNode = String(keyNode);
170
- if (_result === null) _result = {};
171
- if (keyTag === "tag:yaml.org,2002:merge") if (Array.isArray(valueNode)) for (index = 0, quantity = valueNode.length; index < quantity; index += 1) mergeMappings(state, _result, valueNode[index], overridableKeys);
172
- else mergeMappings(state, _result, valueNode, overridableKeys);
173
- else {
174
- if (!state.json && !_hasOwnProperty.call(overridableKeys, keyNode) && _hasOwnProperty.call(_result, keyNode)) {
175
- state.line = startLine || state.line;
176
- state.position = startPos || state.position;
177
- throwError(state, "duplicated mapping key");
178
- }
179
- setProperty(_result, keyNode, valueNode);
180
- delete overridableKeys[keyNode];
181
- }
182
- return _result;
183
- }
184
- function readLineBreak(state) {
185
- var ch = state.input.charCodeAt(state.position);
186
- if (ch === 10) state.position++;
187
- else if (ch === 13) {
188
- state.position++;
189
- if (state.input.charCodeAt(state.position) === 10) state.position++;
190
- } else throwError(state, "a line break is expected");
191
- state.line += 1;
192
- state.lineStart = state.position;
193
- }
194
- function skipSeparationSpace(state, allowComments, checkIndent) {
195
- var lineBreaks = 0, ch = state.input.charCodeAt(state.position);
196
- while (ch !== 0) {
197
- while (is_WHITE_SPACE(ch)) ch = state.input.charCodeAt(++state.position);
198
- if (allowComments && ch === 35) do
199
- ch = state.input.charCodeAt(++state.position);
200
- while (ch !== 10 && ch !== 13 && ch !== 0);
201
- if (is_EOL(ch)) {
202
- readLineBreak(state);
203
- ch = state.input.charCodeAt(state.position);
204
- lineBreaks++;
205
- state.lineIndent = 0;
206
- while (ch === 32) {
207
- state.lineIndent++;
208
- ch = state.input.charCodeAt(++state.position);
209
- }
210
- } else break;
211
- }
212
- if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) throwWarning(state, "deficient indentation");
213
- return lineBreaks;
214
- }
215
- function testDocumentSeparator(state) {
216
- var _position = state.position, ch = state.input.charCodeAt(_position);
217
- if ((ch === 45 || ch === 46) && ch === state.input.charCodeAt(_position + 1) && ch === state.input.charCodeAt(_position + 2)) {
218
- _position += 3;
219
- ch = state.input.charCodeAt(_position);
220
- if (ch === 0 || is_WS_OR_EOL(ch)) return true;
221
- }
222
- return false;
223
- }
224
- function writeFoldedLines(state, count) {
225
- if (count === 1) state.result += " ";
226
- else if (count > 1) state.result += common.repeat("\n", count - 1);
227
- }
228
- function readPlainScalar(state, nodeIndent, withinFlowCollection) {
229
- var preceding, following, captureStart, captureEnd, hasPendingContent, _line, _lineStart, _lineIndent, _kind = state.kind, _result = state.result, ch = state.input.charCodeAt(state.position);
230
- if (is_WS_OR_EOL(ch) || is_FLOW_INDICATOR(ch) || ch === 35 || ch === 38 || ch === 42 || ch === 33 || ch === 124 || ch === 62 || ch === 39 || ch === 34 || ch === 37 || ch === 64 || ch === 96) return false;
231
- if (ch === 63 || ch === 45) {
232
- following = state.input.charCodeAt(state.position + 1);
233
- if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) return false;
234
- }
235
- state.kind = "scalar";
236
- state.result = "";
237
- captureStart = captureEnd = state.position;
238
- hasPendingContent = false;
239
- while (ch !== 0) {
240
- if (ch === 58) {
241
- following = state.input.charCodeAt(state.position + 1);
242
- if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) break;
243
- } else if (ch === 35) {
244
- preceding = state.input.charCodeAt(state.position - 1);
245
- if (is_WS_OR_EOL(preceding)) break;
246
- } else if (state.position === state.lineStart && testDocumentSeparator(state) || withinFlowCollection && is_FLOW_INDICATOR(ch)) break;
247
- else if (is_EOL(ch)) {
248
- _line = state.line;
249
- _lineStart = state.lineStart;
250
- _lineIndent = state.lineIndent;
251
- skipSeparationSpace(state, false, -1);
252
- if (state.lineIndent >= nodeIndent) {
253
- hasPendingContent = true;
254
- ch = state.input.charCodeAt(state.position);
255
- continue;
256
- } else {
257
- state.position = captureEnd;
258
- state.line = _line;
259
- state.lineStart = _lineStart;
260
- state.lineIndent = _lineIndent;
261
- break;
262
- }
263
- }
264
- if (hasPendingContent) {
265
- captureSegment(state, captureStart, captureEnd, false);
266
- writeFoldedLines(state, state.line - _line);
267
- captureStart = captureEnd = state.position;
268
- hasPendingContent = false;
269
- }
270
- if (!is_WHITE_SPACE(ch)) captureEnd = state.position + 1;
271
- ch = state.input.charCodeAt(++state.position);
272
- }
273
- captureSegment(state, captureStart, captureEnd, false);
274
- if (state.result) return true;
275
- state.kind = _kind;
276
- state.result = _result;
277
- return false;
278
- }
279
- function readSingleQuotedScalar(state, nodeIndent) {
280
- var ch = state.input.charCodeAt(state.position), captureStart, captureEnd;
281
- if (ch !== 39) return false;
282
- state.kind = "scalar";
283
- state.result = "";
284
- state.position++;
285
- captureStart = captureEnd = state.position;
286
- while ((ch = state.input.charCodeAt(state.position)) !== 0) if (ch === 39) {
287
- captureSegment(state, captureStart, state.position, true);
288
- ch = state.input.charCodeAt(++state.position);
289
- if (ch === 39) {
290
- captureStart = state.position;
291
- state.position++;
292
- captureEnd = state.position;
293
- } else return true;
294
- } else if (is_EOL(ch)) {
295
- captureSegment(state, captureStart, captureEnd, true);
296
- writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
297
- captureStart = captureEnd = state.position;
298
- } else if (state.position === state.lineStart && testDocumentSeparator(state)) throwError(state, "unexpected end of the document within a single quoted scalar");
299
- else {
300
- state.position++;
301
- captureEnd = state.position;
302
- }
303
- throwError(state, "unexpected end of the stream within a single quoted scalar");
304
- }
305
- function readDoubleQuotedScalar(state, nodeIndent) {
306
- var captureStart, captureEnd, hexLength, hexResult, tmp, ch = state.input.charCodeAt(state.position);
307
- if (ch !== 34) return false;
308
- state.kind = "scalar";
309
- state.result = "";
310
- state.position++;
311
- captureStart = captureEnd = state.position;
312
- while ((ch = state.input.charCodeAt(state.position)) !== 0) if (ch === 34) {
313
- captureSegment(state, captureStart, state.position, true);
314
- state.position++;
315
- return true;
316
- } else if (ch === 92) {
317
- captureSegment(state, captureStart, state.position, true);
318
- ch = state.input.charCodeAt(++state.position);
319
- if (is_EOL(ch)) skipSeparationSpace(state, false, nodeIndent);
320
- else if (ch < 256 && simpleEscapeCheck[ch]) {
321
- state.result += simpleEscapeMap[ch];
322
- state.position++;
323
- } else if ((tmp = escapedHexLen(ch)) > 0) {
324
- hexLength = tmp;
325
- hexResult = 0;
326
- for (; hexLength > 0; hexLength--) {
327
- ch = state.input.charCodeAt(++state.position);
328
- if ((tmp = fromHexCode(ch)) >= 0) hexResult = (hexResult << 4) + tmp;
329
- else throwError(state, "expected hexadecimal character");
330
- }
331
- state.result += charFromCodepoint(hexResult);
332
- state.position++;
333
- } else throwError(state, "unknown escape sequence");
334
- captureStart = captureEnd = state.position;
335
- } else if (is_EOL(ch)) {
336
- captureSegment(state, captureStart, captureEnd, true);
337
- writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
338
- captureStart = captureEnd = state.position;
339
- } else if (state.position === state.lineStart && testDocumentSeparator(state)) throwError(state, "unexpected end of the document within a double quoted scalar");
340
- else {
341
- state.position++;
342
- captureEnd = state.position;
343
- }
344
- throwError(state, "unexpected end of the stream within a double quoted scalar");
345
- }
346
- function readFlowCollection(state, nodeIndent) {
347
- var readNext = true, _line, _tag = state.tag, _result, _anchor = state.anchor, following, terminator, isPair, isExplicitPair, isMapping, overridableKeys = {}, keyNode, keyTag, valueNode, ch = state.input.charCodeAt(state.position);
348
- if (ch === 91) {
349
- terminator = 93;
350
- isMapping = false;
351
- _result = [];
352
- } else if (ch === 123) {
353
- terminator = 125;
354
- isMapping = true;
355
- _result = {};
356
- } else return false;
357
- if (state.anchor !== null) state.anchorMap[state.anchor] = _result;
358
- ch = state.input.charCodeAt(++state.position);
359
- while (ch !== 0) {
360
- skipSeparationSpace(state, true, nodeIndent);
361
- ch = state.input.charCodeAt(state.position);
362
- if (ch === terminator) {
363
- state.position++;
364
- state.tag = _tag;
365
- state.anchor = _anchor;
366
- state.kind = isMapping ? "mapping" : "sequence";
367
- state.result = _result;
368
- return true;
369
- } else if (!readNext) throwError(state, "missed comma between flow collection entries");
370
- keyTag = keyNode = valueNode = null;
371
- isPair = isExplicitPair = false;
372
- if (ch === 63) {
373
- following = state.input.charCodeAt(state.position + 1);
374
- if (is_WS_OR_EOL(following)) {
375
- isPair = isExplicitPair = true;
376
- state.position++;
377
- skipSeparationSpace(state, true, nodeIndent);
378
- }
379
- }
380
- _line = state.line;
381
- composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
382
- keyTag = state.tag;
383
- keyNode = state.result;
384
- skipSeparationSpace(state, true, nodeIndent);
385
- ch = state.input.charCodeAt(state.position);
386
- if ((isExplicitPair || state.line === _line) && ch === 58) {
387
- isPair = true;
388
- ch = state.input.charCodeAt(++state.position);
389
- skipSeparationSpace(state, true, nodeIndent);
390
- composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
391
- valueNode = state.result;
392
- }
393
- if (isMapping) storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode);
394
- else if (isPair) _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode));
395
- else _result.push(keyNode);
396
- skipSeparationSpace(state, true, nodeIndent);
397
- ch = state.input.charCodeAt(state.position);
398
- if (ch === 44) {
399
- readNext = true;
400
- ch = state.input.charCodeAt(++state.position);
401
- } else readNext = false;
402
- }
403
- throwError(state, "unexpected end of the stream within a flow collection");
404
- }
405
- function readBlockScalar(state, nodeIndent) {
406
- var captureStart, folding, chomping = CHOMPING_CLIP, didReadContent = false, detectedIndent = false, textIndent = nodeIndent, emptyLines = 0, atMoreIndented = false, tmp, ch = state.input.charCodeAt(state.position);
407
- if (ch === 124) folding = false;
408
- else if (ch === 62) folding = true;
409
- else return false;
410
- state.kind = "scalar";
411
- state.result = "";
412
- while (ch !== 0) {
413
- ch = state.input.charCodeAt(++state.position);
414
- if (ch === 43 || ch === 45) if (CHOMPING_CLIP === chomping) chomping = ch === 43 ? CHOMPING_KEEP : CHOMPING_STRIP;
415
- else throwError(state, "repeat of a chomping mode identifier");
416
- else if ((tmp = fromDecimalCode(ch)) >= 0) if (tmp === 0) throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one");
417
- else if (!detectedIndent) {
418
- textIndent = nodeIndent + tmp - 1;
419
- detectedIndent = true;
420
- } else throwError(state, "repeat of an indentation width identifier");
421
- else break;
422
- }
423
- if (is_WHITE_SPACE(ch)) {
424
- do
425
- ch = state.input.charCodeAt(++state.position);
426
- while (is_WHITE_SPACE(ch));
427
- if (ch === 35) do
428
- ch = state.input.charCodeAt(++state.position);
429
- while (!is_EOL(ch) && ch !== 0);
430
- }
431
- while (ch !== 0) {
432
- readLineBreak(state);
433
- state.lineIndent = 0;
434
- ch = state.input.charCodeAt(state.position);
435
- while ((!detectedIndent || state.lineIndent < textIndent) && ch === 32) {
436
- state.lineIndent++;
437
- ch = state.input.charCodeAt(++state.position);
438
- }
439
- if (!detectedIndent && state.lineIndent > textIndent) textIndent = state.lineIndent;
440
- if (is_EOL(ch)) {
441
- emptyLines++;
442
- continue;
443
- }
444
- if (state.lineIndent < textIndent) {
445
- if (chomping === CHOMPING_KEEP) state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
446
- else if (chomping === CHOMPING_CLIP) {
447
- if (didReadContent) state.result += "\n";
448
- }
449
- break;
450
- }
451
- if (folding) if (is_WHITE_SPACE(ch)) {
452
- atMoreIndented = true;
453
- state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
454
- } else if (atMoreIndented) {
455
- atMoreIndented = false;
456
- state.result += common.repeat("\n", emptyLines + 1);
457
- } else if (emptyLines === 0) {
458
- if (didReadContent) state.result += " ";
459
- } else state.result += common.repeat("\n", emptyLines);
460
- else state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
461
- didReadContent = true;
462
- detectedIndent = true;
463
- emptyLines = 0;
464
- captureStart = state.position;
465
- while (!is_EOL(ch) && ch !== 0) ch = state.input.charCodeAt(++state.position);
466
- captureSegment(state, captureStart, state.position, false);
467
- }
468
- return true;
469
- }
470
- function readBlockSequence(state, nodeIndent) {
471
- var _line, _tag = state.tag, _anchor = state.anchor, _result = [], following, detected = false, ch;
472
- if (state.anchor !== null) state.anchorMap[state.anchor] = _result;
473
- ch = state.input.charCodeAt(state.position);
474
- while (ch !== 0) {
475
- if (ch !== 45) break;
476
- following = state.input.charCodeAt(state.position + 1);
477
- if (!is_WS_OR_EOL(following)) break;
478
- detected = true;
479
- state.position++;
480
- if (skipSeparationSpace(state, true, -1)) {
481
- if (state.lineIndent <= nodeIndent) {
482
- _result.push(null);
483
- ch = state.input.charCodeAt(state.position);
484
- continue;
485
- }
486
- }
487
- _line = state.line;
488
- composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);
489
- _result.push(state.result);
490
- skipSeparationSpace(state, true, -1);
491
- ch = state.input.charCodeAt(state.position);
492
- if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) throwError(state, "bad indentation of a sequence entry");
493
- else if (state.lineIndent < nodeIndent) break;
494
- }
495
- if (detected) {
496
- state.tag = _tag;
497
- state.anchor = _anchor;
498
- state.kind = "sequence";
499
- state.result = _result;
500
- return true;
501
- }
502
- return false;
503
- }
504
- function readBlockMapping(state, nodeIndent, flowIndent) {
505
- var following, allowCompact, _line, _pos, _tag = state.tag, _anchor = state.anchor, _result = {}, overridableKeys = {}, keyTag = null, keyNode = null, valueNode = null, atExplicitKey = false, detected = false, ch;
506
- if (state.anchor !== null) state.anchorMap[state.anchor] = _result;
507
- ch = state.input.charCodeAt(state.position);
508
- while (ch !== 0) {
509
- following = state.input.charCodeAt(state.position + 1);
510
- _line = state.line;
511
- _pos = state.position;
512
- if ((ch === 63 || ch === 58) && is_WS_OR_EOL(following)) {
513
- if (ch === 63) {
514
- if (atExplicitKey) {
515
- storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);
516
- keyTag = keyNode = valueNode = null;
517
- }
518
- detected = true;
519
- atExplicitKey = true;
520
- allowCompact = true;
521
- } else if (atExplicitKey) {
522
- atExplicitKey = false;
523
- allowCompact = true;
524
- } else throwError(state, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line");
525
- state.position += 1;
526
- ch = following;
527
- } else if (composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) if (state.line === _line) {
528
- ch = state.input.charCodeAt(state.position);
529
- while (is_WHITE_SPACE(ch)) ch = state.input.charCodeAt(++state.position);
530
- if (ch === 58) {
531
- ch = state.input.charCodeAt(++state.position);
532
- if (!is_WS_OR_EOL(ch)) throwError(state, "a whitespace character is expected after the key-value separator within a block mapping");
533
- if (atExplicitKey) {
534
- storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);
535
- keyTag = keyNode = valueNode = null;
536
- }
537
- detected = true;
538
- atExplicitKey = false;
539
- allowCompact = false;
540
- keyTag = state.tag;
541
- keyNode = state.result;
542
- } else if (detected) throwError(state, "can not read an implicit mapping pair; a colon is missed");
543
- else {
544
- state.tag = _tag;
545
- state.anchor = _anchor;
546
- return true;
547
- }
548
- } else if (detected) throwError(state, "can not read a block mapping entry; a multiline key may not be an implicit key");
549
- else {
550
- state.tag = _tag;
551
- state.anchor = _anchor;
552
- return true;
553
- }
554
- else break;
555
- if (state.line === _line || state.lineIndent > nodeIndent) {
556
- if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) if (atExplicitKey) keyNode = state.result;
557
- else valueNode = state.result;
558
- if (!atExplicitKey) {
559
- storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _pos);
560
- keyTag = keyNode = valueNode = null;
561
- }
562
- skipSeparationSpace(state, true, -1);
563
- ch = state.input.charCodeAt(state.position);
564
- }
565
- if (state.lineIndent > nodeIndent && ch !== 0) throwError(state, "bad indentation of a mapping entry");
566
- else if (state.lineIndent < nodeIndent) break;
567
- }
568
- if (atExplicitKey) storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);
569
- if (detected) {
570
- state.tag = _tag;
571
- state.anchor = _anchor;
572
- state.kind = "mapping";
573
- state.result = _result;
574
- }
575
- return detected;
576
- }
577
- function readTagProperty(state) {
578
- var _position, isVerbatim = false, isNamed = false, tagHandle, tagName, ch = state.input.charCodeAt(state.position);
579
- if (ch !== 33) return false;
580
- if (state.tag !== null) throwError(state, "duplication of a tag property");
581
- ch = state.input.charCodeAt(++state.position);
582
- if (ch === 60) {
583
- isVerbatim = true;
584
- ch = state.input.charCodeAt(++state.position);
585
- } else if (ch === 33) {
586
- isNamed = true;
587
- tagHandle = "!!";
588
- ch = state.input.charCodeAt(++state.position);
589
- } else tagHandle = "!";
590
- _position = state.position;
591
- if (isVerbatim) {
592
- do
593
- ch = state.input.charCodeAt(++state.position);
594
- while (ch !== 0 && ch !== 62);
595
- if (state.position < state.length) {
596
- tagName = state.input.slice(_position, state.position);
597
- ch = state.input.charCodeAt(++state.position);
598
- } else throwError(state, "unexpected end of the stream within a verbatim tag");
599
- } else {
600
- while (ch !== 0 && !is_WS_OR_EOL(ch)) {
601
- if (ch === 33) if (!isNamed) {
602
- tagHandle = state.input.slice(_position - 1, state.position + 1);
603
- if (!PATTERN_TAG_HANDLE.test(tagHandle)) throwError(state, "named tag handle cannot contain such characters");
604
- isNamed = true;
605
- _position = state.position + 1;
606
- } else throwError(state, "tag suffix cannot contain exclamation marks");
607
- ch = state.input.charCodeAt(++state.position);
608
- }
609
- tagName = state.input.slice(_position, state.position);
610
- if (PATTERN_FLOW_INDICATORS.test(tagName)) throwError(state, "tag suffix cannot contain flow indicator characters");
611
- }
612
- if (tagName && !PATTERN_TAG_URI.test(tagName)) throwError(state, "tag name cannot contain such characters: " + tagName);
613
- if (isVerbatim) state.tag = tagName;
614
- else if (_hasOwnProperty.call(state.tagMap, tagHandle)) state.tag = state.tagMap[tagHandle] + tagName;
615
- else if (tagHandle === "!") state.tag = "!" + tagName;
616
- else if (tagHandle === "!!") state.tag = "tag:yaml.org,2002:" + tagName;
617
- else throwError(state, "undeclared tag handle \"" + tagHandle + "\"");
618
- return true;
619
- }
620
- function readAnchorProperty(state) {
621
- var _position, ch = state.input.charCodeAt(state.position);
622
- if (ch !== 38) return false;
623
- if (state.anchor !== null) throwError(state, "duplication of an anchor property");
624
- ch = state.input.charCodeAt(++state.position);
625
- _position = state.position;
626
- while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) ch = state.input.charCodeAt(++state.position);
627
- if (state.position === _position) throwError(state, "name of an anchor node must contain at least one character");
628
- state.anchor = state.input.slice(_position, state.position);
629
- return true;
630
- }
631
- function readAlias(state) {
632
- var _position, alias, ch = state.input.charCodeAt(state.position);
633
- if (ch !== 42) return false;
634
- ch = state.input.charCodeAt(++state.position);
635
- _position = state.position;
636
- while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) ch = state.input.charCodeAt(++state.position);
637
- if (state.position === _position) throwError(state, "name of an alias node must contain at least one character");
638
- alias = state.input.slice(_position, state.position);
639
- if (!_hasOwnProperty.call(state.anchorMap, alias)) throwError(state, "unidentified alias \"" + alias + "\"");
640
- state.result = state.anchorMap[alias];
641
- skipSeparationSpace(state, true, -1);
642
- return true;
643
- }
644
- function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {
645
- var allowBlockStyles, allowBlockScalars, allowBlockCollections, indentStatus = 1, atNewLine = false, hasContent = false, typeIndex, typeQuantity, type, flowIndent, blockIndent;
646
- if (state.listener !== null) state.listener("open", state);
647
- state.tag = null;
648
- state.anchor = null;
649
- state.kind = null;
650
- state.result = null;
651
- allowBlockStyles = allowBlockScalars = allowBlockCollections = CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext;
652
- if (allowToSeek) {
653
- if (skipSeparationSpace(state, true, -1)) {
654
- atNewLine = true;
655
- if (state.lineIndent > parentIndent) indentStatus = 1;
656
- else if (state.lineIndent === parentIndent) indentStatus = 0;
657
- else if (state.lineIndent < parentIndent) indentStatus = -1;
658
- }
659
- }
660
- if (indentStatus === 1) while (readTagProperty(state) || readAnchorProperty(state)) if (skipSeparationSpace(state, true, -1)) {
661
- atNewLine = true;
662
- allowBlockCollections = allowBlockStyles;
663
- if (state.lineIndent > parentIndent) indentStatus = 1;
664
- else if (state.lineIndent === parentIndent) indentStatus = 0;
665
- else if (state.lineIndent < parentIndent) indentStatus = -1;
666
- } else allowBlockCollections = false;
667
- if (allowBlockCollections) allowBlockCollections = atNewLine || allowCompact;
668
- if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
669
- if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) flowIndent = parentIndent;
670
- else flowIndent = parentIndent + 1;
671
- blockIndent = state.position - state.lineStart;
672
- if (indentStatus === 1) if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent)) hasContent = true;
673
- else {
674
- if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) hasContent = true;
675
- else if (readAlias(state)) {
676
- hasContent = true;
677
- if (state.tag !== null || state.anchor !== null) throwError(state, "alias node should not have any properties");
678
- } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
679
- hasContent = true;
680
- if (state.tag === null) state.tag = "?";
681
- }
682
- if (state.anchor !== null) state.anchorMap[state.anchor] = state.result;
683
- }
684
- else if (indentStatus === 0) hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
685
- }
686
- if (state.tag !== null && state.tag !== "!") if (state.tag === "?") {
687
- if (state.result !== null && state.kind !== "scalar") throwError(state, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + state.kind + "\"");
688
- for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {
689
- type = state.implicitTypes[typeIndex];
690
- if (type.resolve(state.result)) {
691
- state.result = type.construct(state.result);
692
- state.tag = type.tag;
693
- if (state.anchor !== null) state.anchorMap[state.anchor] = state.result;
694
- break;
695
- }
696
- }
697
- } else if (_hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag)) {
698
- type = state.typeMap[state.kind || "fallback"][state.tag];
699
- if (state.result !== null && type.kind !== state.kind) throwError(state, "unacceptable node kind for !<" + state.tag + "> tag; it should be \"" + type.kind + "\", not \"" + state.kind + "\"");
700
- if (!type.resolve(state.result)) throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag");
701
- else {
702
- state.result = type.construct(state.result);
703
- if (state.anchor !== null) state.anchorMap[state.anchor] = state.result;
704
- }
705
- } else throwError(state, "unknown tag !<" + state.tag + ">");
706
- if (state.listener !== null) state.listener("close", state);
707
- return state.tag !== null || state.anchor !== null || hasContent;
708
- }
709
- function readDocument(state) {
710
- var documentStart = state.position, _position, directiveName, directiveArgs, hasDirectives = false, ch;
711
- state.version = null;
712
- state.checkLineBreaks = state.legacy;
713
- state.tagMap = {};
714
- state.anchorMap = {};
715
- while ((ch = state.input.charCodeAt(state.position)) !== 0) {
716
- skipSeparationSpace(state, true, -1);
717
- ch = state.input.charCodeAt(state.position);
718
- if (state.lineIndent > 0 || ch !== 37) break;
719
- hasDirectives = true;
720
- ch = state.input.charCodeAt(++state.position);
721
- _position = state.position;
722
- while (ch !== 0 && !is_WS_OR_EOL(ch)) ch = state.input.charCodeAt(++state.position);
723
- directiveName = state.input.slice(_position, state.position);
724
- directiveArgs = [];
725
- if (directiveName.length < 1) throwError(state, "directive name must not be less than one character in length");
726
- while (ch !== 0) {
727
- while (is_WHITE_SPACE(ch)) ch = state.input.charCodeAt(++state.position);
728
- if (ch === 35) {
729
- do
730
- ch = state.input.charCodeAt(++state.position);
731
- while (ch !== 0 && !is_EOL(ch));
732
- break;
733
- }
734
- if (is_EOL(ch)) break;
735
- _position = state.position;
736
- while (ch !== 0 && !is_WS_OR_EOL(ch)) ch = state.input.charCodeAt(++state.position);
737
- directiveArgs.push(state.input.slice(_position, state.position));
738
- }
739
- if (ch !== 0) readLineBreak(state);
740
- if (_hasOwnProperty.call(directiveHandlers, directiveName)) directiveHandlers[directiveName](state, directiveName, directiveArgs);
741
- else throwWarning(state, "unknown document directive \"" + directiveName + "\"");
742
- }
743
- skipSeparationSpace(state, true, -1);
744
- if (state.lineIndent === 0 && state.input.charCodeAt(state.position) === 45 && state.input.charCodeAt(state.position + 1) === 45 && state.input.charCodeAt(state.position + 2) === 45) {
745
- state.position += 3;
746
- skipSeparationSpace(state, true, -1);
747
- } else if (hasDirectives) throwError(state, "directives end mark is expected");
748
- composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
749
- skipSeparationSpace(state, true, -1);
750
- if (state.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) throwWarning(state, "non-ASCII line breaks are interpreted as content");
751
- state.documents.push(state.result);
752
- if (state.position === state.lineStart && testDocumentSeparator(state)) {
753
- if (state.input.charCodeAt(state.position) === 46) {
754
- state.position += 3;
755
- skipSeparationSpace(state, true, -1);
756
- }
757
- return;
758
- }
759
- if (state.position < state.length - 1) throwError(state, "end of the stream or a document separator is expected");
760
- else return;
761
- }
762
- function loadDocuments(input, options) {
763
- input = String(input);
764
- options = options || {};
765
- if (input.length !== 0) {
766
- if (input.charCodeAt(input.length - 1) !== 10 && input.charCodeAt(input.length - 1) !== 13) input += "\n";
767
- if (input.charCodeAt(0) === 65279) input = input.slice(1);
768
- }
769
- var state = new State(input, options);
770
- var nullpos = input.indexOf("\0");
771
- if (nullpos !== -1) {
772
- state.position = nullpos;
773
- throwError(state, "null byte is not allowed in input");
774
- }
775
- state.input += "\0";
776
- while (state.input.charCodeAt(state.position) === 32) {
777
- state.lineIndent += 1;
778
- state.position += 1;
779
- }
780
- while (state.position < state.length - 1) readDocument(state);
781
- return state.documents;
782
- }
783
- function loadAll(input, iterator, options) {
784
- if (iterator !== null && typeof iterator === "object" && typeof options === "undefined") {
785
- options = iterator;
786
- iterator = null;
787
- }
788
- var documents = loadDocuments(input, options);
789
- if (typeof iterator !== "function") return documents;
790
- for (var index = 0, length = documents.length; index < length; index += 1) iterator(documents[index]);
791
- }
792
- function load(input, options) {
793
- var documents = loadDocuments(input, options);
794
- if (documents.length === 0) return;
795
- else if (documents.length === 1) return documents[0];
796
- throw new YAMLException("expected a single document in the stream, but found more");
797
- }
798
- function safeLoadAll(input, iterator, options) {
799
- if (typeof iterator === "object" && iterator !== null && typeof options === "undefined") {
800
- options = iterator;
801
- iterator = null;
802
- }
803
- return loadAll(input, iterator, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));
804
- }
805
- function safeLoad(input, options) {
806
- return load(input, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));
807
- }
808
- module.exports.loadAll = loadAll;
809
- module.exports.load = load;
810
- module.exports.safeLoadAll = safeLoadAll;
811
- module.exports.safeLoad = safeLoad;
812
- }));
813
-
814
- //#endregion
815
- Object.defineProperty(exports, 'default', {
816
- enumerable: true,
817
- get: function () {
818
- return require_loader();
819
- }
820
- });