@kubb/agent 5.0.0-alpha.35 → 5.0.0-alpha.38

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 (1129) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/server/chunks/nitro/nitro.mjs +1451 -20711
  3. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  4. package/.output/server/chunks/routes/api/health.get.mjs +3 -14
  5. package/.output/server/chunks/routes/api/health.get.mjs.map +1 -1
  6. package/.output/server/index.mjs +3 -14
  7. package/.output/server/index.mjs.map +1 -1
  8. package/.output/server/package.json +2 -77
  9. package/package.json +6 -20
  10. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/ajv.js +0 -50
  11. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/codegen/code.js +0 -156
  12. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/codegen/index.js +0 -697
  13. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/codegen/scope.js +0 -143
  14. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/errors.js +0 -123
  15. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/index.js +0 -249
  16. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/names.js +0 -29
  17. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/ref_error.js +0 -12
  18. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/resolve.js +0 -155
  19. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/rules.js +0 -26
  20. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/util.js +0 -178
  21. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/applicability.js +0 -19
  22. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/boolSchema.js +0 -50
  23. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/dataType.js +0 -203
  24. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/defaults.js +0 -35
  25. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/index.js +0 -534
  26. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/keyword.js +0 -124
  27. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/subschema.js +0 -81
  28. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/core.js +0 -632
  29. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/refs/data.json +0 -13
  30. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/refs/json-schema-draft-07.json +0 -151
  31. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/equal.js +0 -7
  32. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/ucs2length.js +0 -24
  33. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/uri.js +0 -6
  34. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/validation_error.js +0 -11
  35. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/additionalItems.js +0 -49
  36. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/additionalProperties.js +0 -107
  37. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/allOf.js +0 -23
  38. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/anyOf.js +0 -12
  39. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/contains.js +0 -95
  40. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/dependencies.js +0 -85
  41. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/if.js +0 -66
  42. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/index.js +0 -44
  43. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/items.js +0 -52
  44. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/items2020.js +0 -30
  45. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/not.js +0 -26
  46. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/oneOf.js +0 -60
  47. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/patternProperties.js +0 -75
  48. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/prefixItems.js +0 -12
  49. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/properties.js +0 -55
  50. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/propertyNames.js +0 -38
  51. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/thenElse.js +0 -13
  52. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/code.js +0 -138
  53. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/core/id.js +0 -10
  54. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/core/index.js +0 -16
  55. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/core/ref.js +0 -132
  56. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/discriminator/index.js +0 -139
  57. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/discriminator/types.js +0 -9
  58. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/draft7.js +0 -17
  59. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/format/format.js +0 -92
  60. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/format/index.js +0 -6
  61. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/metadata.js +0 -26
  62. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/oasContext.js +0 -26
  63. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/const.js +0 -25
  64. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/enum.js +0 -48
  65. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/index.js +0 -37
  66. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitItems.js +0 -24
  67. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitLength.js +0 -27
  68. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitNumber.js +0 -27
  69. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitProperties.js +0 -24
  70. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/multipleOf.js +0 -26
  71. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/pattern.js +0 -33
  72. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/readOnly.js +0 -20
  73. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/required.js +0 -86
  74. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/uniqueItems.js +0 -64
  75. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/writeOnly.js +0 -20
  76. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/package.json +0 -130
  77. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/2020.js +0 -55
  78. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/codegen/code.js +0 -156
  79. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/codegen/index.js +0 -697
  80. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/codegen/scope.js +0 -143
  81. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/errors.js +0 -123
  82. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/index.js +0 -249
  83. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/names.js +0 -29
  84. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/ref_error.js +0 -12
  85. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/resolve.js +0 -155
  86. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/rules.js +0 -26
  87. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/util.js +0 -178
  88. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/applicability.js +0 -19
  89. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/boolSchema.js +0 -50
  90. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/dataType.js +0 -203
  91. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/defaults.js +0 -35
  92. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/index.js +0 -534
  93. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/keyword.js +0 -124
  94. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/subschema.js +0 -81
  95. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/core.js +0 -632
  96. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/draft4.js +0 -57
  97. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/data.json +0 -13
  98. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/index.js +0 -30
  99. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
  100. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/content.json +0 -17
  101. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/core.json +0 -51
  102. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  103. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  104. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  105. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
  106. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/schema.json +0 -55
  107. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-draft-04.json +0 -138
  108. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/equal.js +0 -7
  109. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/ucs2length.js +0 -24
  110. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/uri.js +0 -6
  111. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/validation_error.js +0 -11
  112. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/additionalItems.js +0 -49
  113. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/additionalProperties.js +0 -107
  114. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/allOf.js +0 -23
  115. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/anyOf.js +0 -12
  116. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/contains.js +0 -95
  117. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/dependencies.js +0 -85
  118. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/dependentSchemas.js +0 -11
  119. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/if.js +0 -66
  120. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/index.js +0 -44
  121. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/items.js +0 -52
  122. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/items2020.js +0 -30
  123. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/not.js +0 -26
  124. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/oneOf.js +0 -60
  125. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/patternProperties.js +0 -75
  126. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/prefixItems.js +0 -12
  127. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/properties.js +0 -55
  128. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/propertyNames.js +0 -38
  129. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/thenElse.js +0 -13
  130. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/code.js +0 -138
  131. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/core/id.js +0 -10
  132. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/core/index.js +0 -16
  133. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/core/ref.js +0 -132
  134. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/discriminator/index.js +0 -139
  135. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/discriminator/types.js +0 -9
  136. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/draft2020.js +0 -23
  137. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/draft4.js +0 -29
  138. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
  139. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/dynamicRef.js +0 -51
  140. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/index.js +0 -9
  141. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
  142. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/recursiveRef.js +0 -10
  143. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/format/format.js +0 -92
  144. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/format/index.js +0 -6
  145. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/metadata.js +0 -26
  146. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/next.js +0 -8
  147. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/oasContext.js +0 -26
  148. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/unevaluated/index.js +0 -7
  149. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
  150. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -84
  151. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/const.js +0 -25
  152. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/dependentRequired.js +0 -12
  153. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/draft04/limitNumber.js +0 -43
  154. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/draft04/limitNumberExclusive.js +0 -19
  155. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/enum.js +0 -48
  156. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/index.js +0 -37
  157. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitContains.js +0 -15
  158. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitItems.js +0 -24
  159. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitLength.js +0 -27
  160. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitNumber.js +0 -27
  161. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitProperties.js +0 -24
  162. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/multipleOf.js +0 -26
  163. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/pattern.js +0 -33
  164. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/readOnly.js +0 -20
  165. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/required.js +0 -86
  166. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/uniqueItems.js +0 -64
  167. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/writeOnly.js +0 -20
  168. package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/package.json +0 -130
  169. package/.output/server/node_modules/.nitro/picomatch@4.0.4/index.js +0 -17
  170. package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/constants.js +0 -184
  171. package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/parse.js +0 -1386
  172. package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/picomatch.js +0 -349
  173. package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/scan.js +0 -391
  174. package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/utils.js +0 -72
  175. package/.output/server/node_modules/.nitro/picomatch@4.0.4/package.json +0 -82
  176. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/bundle.js +0 -302
  177. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/dereference.js +0 -289
  178. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/index.js +0 -216
  179. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/normalize-args.js +0 -55
  180. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/options.js +0 -135
  181. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parse.js +0 -178
  182. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/binary.js +0 -35
  183. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/json.js +0 -62
  184. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/text.js +0 -42
  185. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/yaml.js +0 -58
  186. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/pointer.js +0 -334
  187. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/ref.js +0 -308
  188. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/refs.js +0 -244
  189. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolve-external.js +0 -143
  190. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/file.js +0 -81
  191. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/http.js +0 -158
  192. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/convert-path-to-posix.js +0 -14
  193. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/errors.js +0 -170
  194. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/is-windows.js +0 -6
  195. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/maybe.js +0 -24
  196. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/next.js +0 -16
  197. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/plugins.js +0 -132
  198. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/url.js +0 -491
  199. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/package.json +0 -112
  200. package/.output/server/node_modules/@babel/code-frame/lib/index.js +0 -217
  201. package/.output/server/node_modules/@babel/code-frame/package.json +0 -32
  202. package/.output/server/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
  203. package/.output/server/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
  204. package/.output/server/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
  205. package/.output/server/node_modules/@babel/helper-validator-identifier/package.json +0 -31
  206. package/.output/server/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
  207. package/.output/server/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
  208. package/.output/server/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
  209. package/.output/server/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
  210. package/.output/server/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
  211. package/.output/server/node_modules/@babel/runtime/helpers/createClass.js +0 -13
  212. package/.output/server/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
  213. package/.output/server/node_modules/@babel/runtime/helpers/get.js +0 -11
  214. package/.output/server/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
  215. package/.output/server/node_modules/@babel/runtime/helpers/inherits.js +0 -14
  216. package/.output/server/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
  217. package/.output/server/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
  218. package/.output/server/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
  219. package/.output/server/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
  220. package/.output/server/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
  221. package/.output/server/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
  222. package/.output/server/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
  223. package/.output/server/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
  224. package/.output/server/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
  225. package/.output/server/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
  226. package/.output/server/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
  227. package/.output/server/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
  228. package/.output/server/node_modules/@babel/runtime/helpers/typeof.js +0 -10
  229. package/.output/server/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
  230. package/.output/server/node_modules/@babel/runtime/package.json +0 -1107
  231. package/.output/server/node_modules/@humanwhocodes/momoa/api.js +0 -1144
  232. package/.output/server/node_modules/@humanwhocodes/momoa/package.json +0 -49
  233. package/.output/server/node_modules/@readme/better-ajv-errors/lib/helpers.js +0 -129
  234. package/.output/server/node_modules/@readme/better-ajv-errors/lib/index.js +0 -46
  235. package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/get-decorated-data-path.js +0 -47
  236. package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/get-meta-from-path.js +0 -33
  237. package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/index.js +0 -20
  238. package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/utils.js +0 -14
  239. package/.output/server/node_modules/@readme/better-ajv-errors/lib/utils.js +0 -57
  240. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/additional-prop.js +0 -53
  241. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/base.js +0 -109
  242. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/default.js +0 -55
  243. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/enum.js +0 -81
  244. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/index.js +0 -48
  245. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/pattern.js +0 -56
  246. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/required.js +0 -64
  247. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/unevaluated-prop.js +0 -53
  248. package/.output/server/node_modules/@readme/better-ajv-errors/package.json +0 -68
  249. package/.output/server/node_modules/@readme/http-status-codes/package.json +0 -25
  250. package/.output/server/node_modules/@readme/http-status-codes/src/index.js +0 -142
  251. package/.output/server/node_modules/@readme/openapi-parser/dist/chunk-IYQ77VVR.js +0 -25
  252. package/.output/server/node_modules/@readme/openapi-parser/dist/index.js +0 -923
  253. package/.output/server/node_modules/@readme/openapi-parser/dist/lib/assertions.js +0 -15
  254. package/.output/server/node_modules/@readme/openapi-parser/package.json +0 -84
  255. package/.output/server/node_modules/@readme/openapi-schemas/dist/index.mjs +0 -6153
  256. package/.output/server/node_modules/@readme/openapi-schemas/package.json +0 -67
  257. package/.output/server/node_modules/@readme/postman-to-openapi/package.json +0 -70
  258. package/.output/server/node_modules/@readme/postman-to-openapi/src/index.js +0 -714
  259. package/.output/server/node_modules/@readme/postman-to-openapi/src/md-utils.js +0 -38
  260. package/.output/server/node_modules/@readme/postman-to-openapi/src/var-replacer.js +0 -25
  261. package/.output/server/node_modules/@redocly/config/lib/asyncapi-config-schema.js +0 -53
  262. package/.output/server/node_modules/@redocly/config/lib/common.js +0 -103
  263. package/.output/server/node_modules/@redocly/config/lib/constants/config.js +0 -17
  264. package/.output/server/node_modules/@redocly/config/lib/constants/entities.js +0 -58
  265. package/.output/server/node_modules/@redocly/config/lib/constants/enum.js +0 -6
  266. package/.output/server/node_modules/@redocly/config/lib/constants/shared.js +0 -22
  267. package/.output/server/node_modules/@redocly/config/lib/default-theme-config-schema.js +0 -57
  268. package/.output/server/node_modules/@redocly/config/lib/entities-catalog-config-schema.js +0 -186
  269. package/.output/server/node_modules/@redocly/config/lib/entities-catalog-entity-file-schema.js +0 -283
  270. package/.output/server/node_modules/@redocly/config/lib/ex-theme-config-schemas.js +0 -687
  271. package/.output/server/node_modules/@redocly/config/lib/feedback-config-schema.js +0 -88
  272. package/.output/server/node_modules/@redocly/config/lib/graphql-config-schema.js +0 -157
  273. package/.output/server/node_modules/@redocly/config/lib/index.js +0 -41
  274. package/.output/server/node_modules/@redocly/config/lib/product-override-schema.js +0 -44
  275. package/.output/server/node_modules/@redocly/config/lib/redoc-config-schema.js +0 -120
  276. package/.output/server/node_modules/@redocly/config/lib/reference-docs-config-schema.js +0 -518
  277. package/.output/server/node_modules/@redocly/config/lib/remove-property-recursively.js +0 -28
  278. package/.output/server/node_modules/@redocly/config/lib/reunite-config-schema.js +0 -103
  279. package/.output/server/node_modules/@redocly/config/lib/root-config-schema.js +0 -588
  280. package/.output/server/node_modules/@redocly/config/lib/scorecards-config-schema.js +0 -242
  281. package/.output/server/node_modules/@redocly/config/lib/types/api-functions-types.js +0 -3
  282. package/.output/server/node_modules/@redocly/config/lib/types/catalog-entity-types.js +0 -3
  283. package/.output/server/node_modules/@redocly/config/lib/types/code-walkthrough-types.js +0 -3
  284. package/.output/server/node_modules/@redocly/config/lib/types/config-types.js +0 -3
  285. package/.output/server/node_modules/@redocly/config/lib/types/index.js +0 -21
  286. package/.output/server/node_modules/@redocly/config/lib/types/portal-shared-types.js +0 -18
  287. package/.output/server/node_modules/@redocly/config/package.json +0 -28
  288. package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-document.js +0 -100
  289. package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-visitor.js +0 -260
  290. package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle.js +0 -74
  291. package/.output/server/node_modules/@redocly/openapi-core/lib/config/all.js +0 -315
  292. package/.output/server/node_modules/@redocly/openapi-core/lib/config/builtIn.js +0 -58
  293. package/.output/server/node_modules/@redocly/openapi-core/lib/config/bundle-extends.js +0 -28
  294. package/.output/server/node_modules/@redocly/openapi-core/lib/config/config-resolvers.js +0 -344
  295. package/.output/server/node_modules/@redocly/openapi-core/lib/config/config.js +0 -343
  296. package/.output/server/node_modules/@redocly/openapi-core/lib/config/constants.js +0 -13
  297. package/.output/server/node_modules/@redocly/openapi-core/lib/config/get-resolve-config.js +0 -9
  298. package/.output/server/node_modules/@redocly/openapi-core/lib/config/group-assertion-rules.js +0 -51
  299. package/.output/server/node_modules/@redocly/openapi-core/lib/config/index.js +0 -8
  300. package/.output/server/node_modules/@redocly/openapi-core/lib/config/load.js +0 -98
  301. package/.output/server/node_modules/@redocly/openapi-core/lib/config/minimal.js +0 -294
  302. package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended-strict.js +0 -294
  303. package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended.js +0 -294
  304. package/.output/server/node_modules/@redocly/openapi-core/lib/config/rules.js +0 -35
  305. package/.output/server/node_modules/@redocly/openapi-core/lib/config/spec.js +0 -294
  306. package/.output/server/node_modules/@redocly/openapi-core/lib/config/types.js +0 -2
  307. package/.output/server/node_modules/@redocly/openapi-core/lib/config/utils.js +0 -129
  308. package/.output/server/node_modules/@redocly/openapi-core/lib/config/visitors.js +0 -99
  309. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/arazzo/index.js +0 -2
  310. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async2/index.js +0 -2
  311. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async3/index.js +0 -2
  312. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-helper.js +0 -65
  313. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-in.js +0 -67
  314. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-out.js +0 -67
  315. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-description-override.js +0 -21
  316. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-override.js +0 -14
  317. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/media-type-examples-override.js +0 -58
  318. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/operation-description-override.js +0 -27
  319. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/remove-x-internal.js +0 -68
  320. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/tag-description-override.js +0 -23
  321. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/index.js +0 -19
  322. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/remove-unused-components.js +0 -97
  323. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/index.js +0 -21
  324. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/remove-unused-components.js +0 -120
  325. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/openrpc/index.js +0 -2
  326. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/overlay1/index.js +0 -2
  327. package/.output/server/node_modules/@redocly/openapi-core/lib/detect-spec.js +0 -79
  328. package/.output/server/node_modules/@redocly/openapi-core/lib/env.js +0 -5
  329. package/.output/server/node_modules/@redocly/openapi-core/lib/errors/yaml-parse-error.js +0 -14
  330. package/.output/server/node_modules/@redocly/openapi-core/lib/format/codeframes.js +0 -177
  331. package/.output/server/node_modules/@redocly/openapi-core/lib/format/format.js +0 -365
  332. package/.output/server/node_modules/@redocly/openapi-core/lib/index.js +0 -50
  333. package/.output/server/node_modules/@redocly/openapi-core/lib/js-yaml/index.js +0 -11
  334. package/.output/server/node_modules/@redocly/openapi-core/lib/lint-entity.js +0 -171
  335. package/.output/server/node_modules/@redocly/openapi-core/lib/lint.js +0 -123
  336. package/.output/server/node_modules/@redocly/openapi-core/lib/logger.js +0 -56
  337. package/.output/server/node_modules/@redocly/openapi-core/lib/oas-types.js +0 -35
  338. package/.output/server/node_modules/@redocly/openapi-core/lib/ref-utils.js +0 -110
  339. package/.output/server/node_modules/@redocly/openapi-core/lib/resolve.js +0 -326
  340. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/ajv.js +0 -106
  341. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/criteria-unique.js +0 -68
  342. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/index.js +0 -54
  343. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/outputs-defined.js +0 -139
  344. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/parameters-unique.js +0 -27
  345. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/requestBody-replacements-unique.js +0 -30
  346. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescription-type.js +0 -19
  347. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-name-unique.js +0 -21
  348. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-not-empty.js +0 -15
  349. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onFailure-unique.js +0 -27
  350. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onSuccess-unique.js +0 -27
  351. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/stepId-unique.js +0 -23
  352. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflow-dependsOn.js +0 -53
  353. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflowId-unique.js +0 -19
  354. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/channels-kebab-case.js +0 -16
  355. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/index.js +0 -34
  356. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/no-channel-trailing-slash.js +0 -13
  357. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/channels-kebab-case.js +0 -16
  358. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/index.js +0 -34
  359. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/no-channel-trailing-slash.js +0 -13
  360. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/catalog-entity/entity-key-valid.js +0 -39
  361. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/asserts.js +0 -272
  362. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/index.js +0 -22
  363. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/utils.js +0 -215
  364. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-contact.js +0 -14
  365. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license-strict.js +0 -23
  366. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license.js +0 -14
  367. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-ambiguous-paths.js +0 -42
  368. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-duplicated-tag-names.js +0 -21
  369. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-enum-type-mismatch.js +0 -38
  370. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-http-verbs-in-paths.js +0 -33
  371. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-identical-paths.js +0 -21
  372. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-parameter-examples.js +0 -32
  373. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-schema-examples.js +0 -34
  374. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-mixed-number-range-constraints.js +0 -19
  375. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-path-trailing-slash.js +0 -13
  376. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-required-schema-properties-undefined.js +0 -64
  377. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-schema-type-mismatch.js +0 -19
  378. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-unresolved-refs.js +0 -42
  379. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-2xx-response.js +0 -20
  380. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-4xx-response.js +0 -20
  381. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-description.js +0 -9
  382. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-unique.js +0 -17
  383. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-url-safe.js +0 -15
  384. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId.js +0 -13
  385. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-parameters-unique.js +0 -37
  386. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-singular-tag.js +0 -13
  387. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-summary.js +0 -9
  388. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-tag-defined.js +0 -27
  389. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/parameter-description.js +0 -19
  390. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-declaration-must-exist.js +0 -13
  391. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-http-verbs-order.js +0 -23
  392. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-not-include-query.js +0 -15
  393. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-params-defined.js +0 -145
  394. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-segment-plural.js +0 -30
  395. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/paths-kebab-case.js +0 -17
  396. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/required-string-property-missing-min-length.js +0 -34
  397. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/response-contains-header.js +0 -26
  398. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/scalar-property-missing-example.js +0 -39
  399. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/security-defined.js +0 -62
  400. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/spec-strict-refs.js +0 -27
  401. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/struct.js +0 -150
  402. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tag-description.js +0 -9
  403. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tags-alphabetical.js +0 -18
  404. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/boolean-parameter-prefixes.js +0 -19
  405. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/index.js +0 -93
  406. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/request-mime-type.js +0 -14
  407. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-contains-property.js +0 -34
  408. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-mime-type.js +0 -14
  409. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/array-parameter-serialization.js +0 -26
  410. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/boolean-parameter-prefixes.js +0 -21
  411. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/component-name-unique.js +0 -130
  412. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/index.js +0 -131
  413. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-empty-servers.js +0 -20
  414. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-example-value-and-externalValue.js +0 -13
  415. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-invalid-media-type-examples.js +0 -59
  416. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-example.com.js +0 -15
  417. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-trailing-slash.js +0 -15
  418. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-variables-empty-enum.js +0 -58
  419. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-undefined-server-variable.js +0 -28
  420. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-unused-components.js +0 -83
  421. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/nullable-type-sibling.js +0 -15
  422. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/operation-4xx-problem-details-rfc7807.js +0 -33
  423. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/request-mime-type.js +0 -28
  424. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-contains-property.js +0 -36
  425. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-mime-type.js +0 -28
  426. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-components-invalid-map-name.js +0 -59
  427. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-discriminator-defaultMapping.js +0 -53
  428. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-example-values.js +0 -31
  429. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-encoding-combinations.js +0 -16
  430. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-tag-parents.js +0 -38
  431. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-querystring-parameters.js +0 -65
  432. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/index.js +0 -20
  433. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/no-unused-components.js +0 -82
  434. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-duplicated-method-params.js +0 -28
  435. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-required-params-after-optional.js +0 -31
  436. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/other/stats.js +0 -190
  437. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/overlay1/index.js +0 -12
  438. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-criteria-xpath.js +0 -20
  439. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.js +0 -30
  440. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-scheme-name-without-openapi.js +0 -25
  441. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/respect-supported-versions.js +0 -18
  442. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-name-reference.js +0 -35
  443. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-required-values.js +0 -60
  444. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/utils.js +0 -181
  445. package/.output/server/node_modules/@redocly/openapi-core/lib/types/arazzo.js +0 -482
  446. package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi2.js +0 -1157
  447. package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi3.js +0 -511
  448. package/.output/server/node_modules/@redocly/openapi-core/lib/types/entity.js +0 -32
  449. package/.output/server/node_modules/@redocly/openapi-core/lib/types/index.js +0 -90
  450. package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-adapter.js +0 -181
  451. package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-draft7.shared.js +0 -101
  452. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas2.js +0 -454
  453. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3.js +0 -828
  454. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_1.js +0 -292
  455. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_2.js +0 -312
  456. package/.output/server/node_modules/@redocly/openapi-core/lib/types/openrpc.js +0 -360
  457. package/.output/server/node_modules/@redocly/openapi-core/lib/types/overlay.js +0 -61
  458. package/.output/server/node_modules/@redocly/openapi-core/lib/types/redocly-yaml.js +0 -577
  459. package/.output/server/node_modules/@redocly/openapi-core/lib/typings/arazzo.js +0 -3
  460. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/assign-config.js +0 -28
  461. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/dequal.js +0 -36
  462. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/does-yaml-file-exist.js +0 -7
  463. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/error.js +0 -3
  464. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-intersection-length.js +0 -11
  465. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-matching-status-code-range.js +0 -4
  466. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-own.js +0 -4
  467. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/identity.js +0 -4
  468. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-custom-rule-id.js +0 -4
  469. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-defined.js +0 -4
  470. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-array.js +0 -4
  471. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-object.js +0 -5
  472. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-array.js +0 -4
  473. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-object.js +0 -6
  474. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-string.js +0 -5
  475. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-ordered.js +0 -27
  476. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-path-parameter.js +0 -4
  477. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-plain-object.js +0 -4
  478. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-string.js +0 -4
  479. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-truthy.js +0 -4
  480. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/keys-of.js +0 -6
  481. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/make-ref-id.js +0 -4
  482. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/next-tick.js +0 -6
  483. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/oas-has-component.js +0 -4
  484. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/omit.js +0 -8
  485. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pause.js +0 -4
  486. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pluralize.js +0 -8
  487. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/read-file-from-url.js +0 -26
  488. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/regex-from-string.js +0 -5
  489. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/scorecards.js +0 -99
  490. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/slash.js +0 -11
  491. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/split-camel-case-into-words.js +0 -13
  492. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/stack.js +0 -7
  493. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/validate-mime-type.js +0 -31
  494. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/yaml-fs-helper.js +0 -23
  495. package/.output/server/node_modules/@redocly/openapi-core/lib/visitors.js +0 -177
  496. package/.output/server/node_modules/@redocly/openapi-core/lib/walk.js +0 -315
  497. package/.output/server/node_modules/@redocly/openapi-core/package.json +0 -74
  498. package/.output/server/node_modules/@stoplight/ordered-object-literal/package.json +0 -53
  499. package/.output/server/node_modules/@stoplight/ordered-object-literal/src/index.cjs +0 -221
  500. package/.output/server/node_modules/@stoplight/types/dist/index.js +0 -129
  501. package/.output/server/node_modules/@stoplight/types/package.json +0 -81
  502. package/.output/server/node_modules/@stoplight/yaml/buildJsonPath.js +0 -41
  503. package/.output/server/node_modules/@stoplight/yaml/dereferenceAnchor.js +0 -38
  504. package/.output/server/node_modules/@stoplight/yaml/getJsonPathForPosition.js +0 -98
  505. package/.output/server/node_modules/@stoplight/yaml/getLocationForJsonPath.js +0 -145
  506. package/.output/server/node_modules/@stoplight/yaml/index.js +0 -16
  507. package/.output/server/node_modules/@stoplight/yaml/lineForPosition.js +0 -31
  508. package/.output/server/node_modules/@stoplight/yaml/package.json +0 -33
  509. package/.output/server/node_modules/@stoplight/yaml/parse.js +0 -5
  510. package/.output/server/node_modules/@stoplight/yaml/parseWithPointers.js +0 -456
  511. package/.output/server/node_modules/@stoplight/yaml/safeStringify.js +0 -5
  512. package/.output/server/node_modules/@stoplight/yaml/trapAccess.js +0 -11
  513. package/.output/server/node_modules/@stoplight/yaml/types.js +0 -6
  514. package/.output/server/node_modules/@stoplight/yaml/utils.js +0 -4
  515. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/common.js +0 -45
  516. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/dumper.js +0 -710
  517. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/exception.js +0 -35
  518. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/index.js +0 -22
  519. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/loader.js +0 -1414
  520. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/mark.js +0 -58
  521. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/scalarInference.js +0 -90
  522. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/core.js +0 -8
  523. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/default_full.js +0 -14
  524. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/default_safe.js +0 -19
  525. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/failsafe.js +0 -10
  526. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/json.js +0 -14
  527. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema.js +0 -77
  528. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/binary.js +0 -92
  529. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/bool.js +0 -32
  530. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/float.js +0 -94
  531. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/int.js +0 -159
  532. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/js/regexp.js +0 -64
  533. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/js/undefined.js +0 -22
  534. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/map.js +0 -7
  535. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/merge.js +0 -10
  536. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/null.js +0 -30
  537. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/omap.js +0 -46
  538. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/pairs.js +0 -55
  539. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/seq.js +0 -7
  540. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/set.js +0 -22
  541. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/str.js +0 -7
  542. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/timestamp.js +0 -70
  543. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type.js +0 -53
  544. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/yamlAST.js +0 -81
  545. package/.output/server/node_modules/@stoplight/yaml-ast-parser/package.json +0 -38
  546. package/.output/server/node_modules/ajv-draft-04/dist/index.js +0 -50
  547. package/.output/server/node_modules/ajv-draft-04/dist/refs/json-schema-draft-04.json +0 -138
  548. package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/core.js +0 -13
  549. package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/draft4.js +0 -16
  550. package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/validation/index.js +0 -35
  551. package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.js +0 -44
  552. package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js +0 -19
  553. package/.output/server/node_modules/ajv-draft-04/package.json +0 -74
  554. package/.output/server/node_modules/ajv-formats/dist/formats.js +0 -208
  555. package/.output/server/node_modules/ajv-formats/dist/index.js +0 -37
  556. package/.output/server/node_modules/ajv-formats/dist/limit.js +0 -69
  557. package/.output/server/node_modules/ajv-formats/package.json +0 -74
  558. package/.output/server/node_modules/call-me-maybe/package.json +0 -45
  559. package/.output/server/node_modules/call-me-maybe/src/maybe.js +0 -18
  560. package/.output/server/node_modules/call-me-maybe/src/next.js +0 -15
  561. package/.output/server/node_modules/colorette/index.js +0 -82
  562. package/.output/server/node_modules/colorette/package.json +0 -39
  563. package/.output/server/node_modules/compute-gcd/lib/index.js +0 -212
  564. package/.output/server/node_modules/compute-gcd/package.json +0 -73
  565. package/.output/server/node_modules/compute-lcm/lib/index.js +0 -111
  566. package/.output/server/node_modules/compute-lcm/package.json +0 -71
  567. package/.output/server/node_modules/d/index.js +0 -62
  568. package/.output/server/node_modules/d/package.json +0 -92
  569. package/.output/server/node_modules/es5-ext/array/#/e-index-of.js +0 -28
  570. package/.output/server/node_modules/es5-ext/array/from/index.js +0 -3
  571. package/.output/server/node_modules/es5-ext/array/from/is-implemented.js +0 -9
  572. package/.output/server/node_modules/es5-ext/array/from/shim.js +0 -119
  573. package/.output/server/node_modules/es5-ext/array/to-array.js +0 -6
  574. package/.output/server/node_modules/es5-ext/error/custom.js +0 -20
  575. package/.output/server/node_modules/es5-ext/function/_define-length.js +0 -54
  576. package/.output/server/node_modules/es5-ext/function/is-arguments.js +0 -6
  577. package/.output/server/node_modules/es5-ext/function/is-function.js +0 -8
  578. package/.output/server/node_modules/es5-ext/function/noop.js +0 -4
  579. package/.output/server/node_modules/es5-ext/math/sign/index.js +0 -3
  580. package/.output/server/node_modules/es5-ext/math/sign/is-implemented.js +0 -7
  581. package/.output/server/node_modules/es5-ext/math/sign/shim.js +0 -7
  582. package/.output/server/node_modules/es5-ext/number/is-nan/index.js +0 -3
  583. package/.output/server/node_modules/es5-ext/number/is-nan/is-implemented.js +0 -7
  584. package/.output/server/node_modules/es5-ext/number/is-nan/shim.js +0 -6
  585. package/.output/server/node_modules/es5-ext/number/to-integer.js +0 -12
  586. package/.output/server/node_modules/es5-ext/number/to-pos-integer.js +0 -6
  587. package/.output/server/node_modules/es5-ext/object/_iterate.js +0 -30
  588. package/.output/server/node_modules/es5-ext/object/assign/index.js +0 -3
  589. package/.output/server/node_modules/es5-ext/object/assign/is-implemented.js +0 -9
  590. package/.output/server/node_modules/es5-ext/object/assign/shim.js +0 -23
  591. package/.output/server/node_modules/es5-ext/object/for-each.js +0 -3
  592. package/.output/server/node_modules/es5-ext/object/is-callable.js +0 -5
  593. package/.output/server/node_modules/es5-ext/object/is-object.js +0 -7
  594. package/.output/server/node_modules/es5-ext/object/is-value.js +0 -5
  595. package/.output/server/node_modules/es5-ext/object/keys/index.js +0 -3
  596. package/.output/server/node_modules/es5-ext/object/keys/is-implemented.js +0 -10
  597. package/.output/server/node_modules/es5-ext/object/keys/shim.js +0 -7
  598. package/.output/server/node_modules/es5-ext/object/map.js +0 -14
  599. package/.output/server/node_modules/es5-ext/object/mixin.js +0 -26
  600. package/.output/server/node_modules/es5-ext/object/normalize-options.js +0 -20
  601. package/.output/server/node_modules/es5-ext/object/primitive-set.js +0 -10
  602. package/.output/server/node_modules/es5-ext/object/valid-callable.js +0 -6
  603. package/.output/server/node_modules/es5-ext/object/valid-value.js +0 -8
  604. package/.output/server/node_modules/es5-ext/object/validate-stringifiable-value.js +0 -6
  605. package/.output/server/node_modules/es5-ext/object/validate-stringifiable.js +0 -12
  606. package/.output/server/node_modules/es5-ext/package.json +0 -127
  607. package/.output/server/node_modules/es5-ext/safe-to-string.js +0 -12
  608. package/.output/server/node_modules/es5-ext/string/#/contains/index.js +0 -3
  609. package/.output/server/node_modules/es5-ext/string/#/contains/is-implemented.js +0 -8
  610. package/.output/server/node_modules/es5-ext/string/#/contains/shim.js +0 -7
  611. package/.output/server/node_modules/es5-ext/string/is-string.js +0 -13
  612. package/.output/server/node_modules/es5-ext/to-short-string-representation.js +0 -16
  613. package/.output/server/node_modules/es6-symbol/index.js +0 -5
  614. package/.output/server/node_modules/es6-symbol/is-implemented.js +0 -20
  615. package/.output/server/node_modules/es6-symbol/is-symbol.js +0 -9
  616. package/.output/server/node_modules/es6-symbol/lib/private/generate-name.js +0 -28
  617. package/.output/server/node_modules/es6-symbol/lib/private/setup/standard-symbols.js +0 -34
  618. package/.output/server/node_modules/es6-symbol/lib/private/setup/symbol-registry.js +0 -23
  619. package/.output/server/node_modules/es6-symbol/package.json +0 -107
  620. package/.output/server/node_modules/es6-symbol/polyfill.js +0 -86
  621. package/.output/server/node_modules/es6-symbol/validate-symbol.js +0 -8
  622. package/.output/server/node_modules/event-emitter/index.js +0 -132
  623. package/.output/server/node_modules/event-emitter/package.json +0 -34
  624. package/.output/server/node_modules/ext/global-this/implementation.js +0 -31
  625. package/.output/server/node_modules/ext/global-this/index.js +0 -3
  626. package/.output/server/node_modules/ext/global-this/is-implemented.js +0 -7
  627. package/.output/server/node_modules/ext/package.json +0 -152
  628. package/.output/server/node_modules/fast-deep-equal/index.js +0 -46
  629. package/.output/server/node_modules/fast-deep-equal/package.json +0 -61
  630. package/.output/server/node_modules/fast-safe-stringify/index.js +0 -229
  631. package/.output/server/node_modules/fast-safe-stringify/package.json +0 -46
  632. package/.output/server/node_modules/fast-uri/index.js +0 -340
  633. package/.output/server/node_modules/fast-uri/lib/schemes.js +0 -267
  634. package/.output/server/node_modules/fast-uri/lib/utils.js +0 -336
  635. package/.output/server/node_modules/fast-uri/package.json +0 -69
  636. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/base.js +0 -116
  637. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js +0 -31
  638. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js +0 -116
  639. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js +0 -168
  640. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js +0 -566
  641. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js +0 -228
  642. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js +0 -1166
  643. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js +0 -737
  644. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js +0 -186
  645. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js +0 -140
  646. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js +0 -221
  647. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js +0 -29
  648. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/decorators.js +0 -16
  649. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/exception.js +0 -64
  650. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js +0 -39
  651. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js +0 -104
  652. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js +0 -25
  653. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js +0 -46
  654. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js +0 -26
  655. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js +0 -16
  656. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js +0 -43
  657. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers.js +0 -57
  658. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js +0 -78
  659. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js +0 -19
  660. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/logger.js +0 -47
  661. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js +0 -30
  662. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/runtime.js +0 -379
  663. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/safe-string.js +0 -15
  664. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/utils.js +0 -124
  665. package/.output/server/node_modules/handlebars/dist/cjs/handlebars.js +0 -66
  666. package/.output/server/node_modules/handlebars/dist/cjs/handlebars.runtime.js +0 -66
  667. package/.output/server/node_modules/handlebars/lib/index.js +0 -26
  668. package/.output/server/node_modules/handlebars/package.json +0 -134
  669. package/.output/server/node_modules/http2-client/lib/http.js +0 -17
  670. package/.output/server/node_modules/http2-client/lib/https.js +0 -18
  671. package/.output/server/node_modules/http2-client/lib/index.js +0 -21
  672. package/.output/server/node_modules/http2-client/lib/request-options.js +0 -38
  673. package/.output/server/node_modules/http2-client/lib/request.js +0 -586
  674. package/.output/server/node_modules/http2-client/lib/utils.js +0 -67
  675. package/.output/server/node_modules/http2-client/package.json +0 -38
  676. package/.output/server/node_modules/is-promise/index.js +0 -6
  677. package/.output/server/node_modules/is-promise/package.json +0 -23
  678. package/.output/server/node_modules/js-levenshtein/index.js +0 -105
  679. package/.output/server/node_modules/js-levenshtein/package.json +0 -49
  680. package/.output/server/node_modules/js-tokens/index.js +0 -23
  681. package/.output/server/node_modules/js-tokens/package.json +0 -30
  682. package/.output/server/node_modules/js-yaml/dist/js-yaml.mjs +0 -3856
  683. package/.output/server/node_modules/js-yaml/index.js +0 -47
  684. package/.output/server/node_modules/js-yaml/lib/common.js +0 -59
  685. package/.output/server/node_modules/js-yaml/lib/dumper.js +0 -965
  686. package/.output/server/node_modules/js-yaml/lib/exception.js +0 -55
  687. package/.output/server/node_modules/js-yaml/lib/loader.js +0 -1733
  688. package/.output/server/node_modules/js-yaml/lib/schema/core.js +0 -11
  689. package/.output/server/node_modules/js-yaml/lib/schema/default.js +0 -22
  690. package/.output/server/node_modules/js-yaml/lib/schema/failsafe.js +0 -17
  691. package/.output/server/node_modules/js-yaml/lib/schema/json.js +0 -19
  692. package/.output/server/node_modules/js-yaml/lib/schema.js +0 -121
  693. package/.output/server/node_modules/js-yaml/lib/snippet.js +0 -101
  694. package/.output/server/node_modules/js-yaml/lib/type/binary.js +0 -125
  695. package/.output/server/node_modules/js-yaml/lib/type/bool.js +0 -35
  696. package/.output/server/node_modules/js-yaml/lib/type/float.js +0 -97
  697. package/.output/server/node_modules/js-yaml/lib/type/int.js +0 -156
  698. package/.output/server/node_modules/js-yaml/lib/type/map.js +0 -8
  699. package/.output/server/node_modules/js-yaml/lib/type/merge.js +0 -12
  700. package/.output/server/node_modules/js-yaml/lib/type/null.js +0 -35
  701. package/.output/server/node_modules/js-yaml/lib/type/omap.js +0 -44
  702. package/.output/server/node_modules/js-yaml/lib/type/pairs.js +0 -53
  703. package/.output/server/node_modules/js-yaml/lib/type/seq.js +0 -8
  704. package/.output/server/node_modules/js-yaml/lib/type/set.js +0 -29
  705. package/.output/server/node_modules/js-yaml/lib/type/str.js +0 -8
  706. package/.output/server/node_modules/js-yaml/lib/type/timestamp.js +0 -88
  707. package/.output/server/node_modules/js-yaml/lib/type.js +0 -66
  708. package/.output/server/node_modules/js-yaml/package.json +0 -66
  709. package/.output/server/node_modules/json-schema-compare/package.json +0 -52
  710. package/.output/server/node_modules/json-schema-compare/src/index.js +0 -184
  711. package/.output/server/node_modules/json-schema-merge-allof/package.json +0 -57
  712. package/.output/server/node_modules/json-schema-merge-allof/src/common.js +0 -45
  713. package/.output/server/node_modules/json-schema-merge-allof/src/complex-resolvers/items.js +0 -98
  714. package/.output/server/node_modules/json-schema-merge-allof/src/complex-resolvers/properties.js +0 -80
  715. package/.output/server/node_modules/json-schema-merge-allof/src/index.js +0 -343
  716. package/.output/server/node_modules/json-schema-traverse/index.js +0 -93
  717. package/.output/server/node_modules/json-schema-traverse/package.json +0 -43
  718. package/.output/server/node_modules/jsonc-parser/lib/umd/impl/edit.js +0 -201
  719. package/.output/server/node_modules/jsonc-parser/lib/umd/impl/format.js +0 -265
  720. package/.output/server/node_modules/jsonc-parser/lib/umd/impl/parser.js +0 -655
  721. package/.output/server/node_modules/jsonc-parser/lib/umd/impl/scanner.js +0 -456
  722. package/.output/server/node_modules/jsonc-parser/lib/umd/main.js +0 -194
  723. package/.output/server/node_modules/jsonc-parser/package.json +0 -40
  724. package/.output/server/node_modules/jsonpointer/jsonpointer.js +0 -100
  725. package/.output/server/node_modules/jsonpointer/package.json +0 -48
  726. package/.output/server/node_modules/leven/index.js +0 -77
  727. package/.output/server/node_modules/leven/package.json +0 -57
  728. package/.output/server/node_modules/lodash/_DataView.js +0 -7
  729. package/.output/server/node_modules/lodash/_Hash.js +0 -32
  730. package/.output/server/node_modules/lodash/_ListCache.js +0 -32
  731. package/.output/server/node_modules/lodash/_Map.js +0 -7
  732. package/.output/server/node_modules/lodash/_MapCache.js +0 -32
  733. package/.output/server/node_modules/lodash/_Promise.js +0 -7
  734. package/.output/server/node_modules/lodash/_Set.js +0 -7
  735. package/.output/server/node_modules/lodash/_SetCache.js +0 -27
  736. package/.output/server/node_modules/lodash/_Stack.js +0 -27
  737. package/.output/server/node_modules/lodash/_Symbol.js +0 -6
  738. package/.output/server/node_modules/lodash/_Uint8Array.js +0 -6
  739. package/.output/server/node_modules/lodash/_WeakMap.js +0 -7
  740. package/.output/server/node_modules/lodash/_apply.js +0 -21
  741. package/.output/server/node_modules/lodash/_arrayEach.js +0 -22
  742. package/.output/server/node_modules/lodash/_arrayFilter.js +0 -25
  743. package/.output/server/node_modules/lodash/_arrayIncludes.js +0 -17
  744. package/.output/server/node_modules/lodash/_arrayIncludesWith.js +0 -22
  745. package/.output/server/node_modules/lodash/_arrayLikeKeys.js +0 -49
  746. package/.output/server/node_modules/lodash/_arrayMap.js +0 -21
  747. package/.output/server/node_modules/lodash/_arrayPush.js +0 -20
  748. package/.output/server/node_modules/lodash/_arraySome.js +0 -23
  749. package/.output/server/node_modules/lodash/_assignMergeValue.js +0 -20
  750. package/.output/server/node_modules/lodash/_assignValue.js +0 -28
  751. package/.output/server/node_modules/lodash/_assocIndexOf.js +0 -21
  752. package/.output/server/node_modules/lodash/_baseAssign.js +0 -17
  753. package/.output/server/node_modules/lodash/_baseAssignIn.js +0 -17
  754. package/.output/server/node_modules/lodash/_baseAssignValue.js +0 -25
  755. package/.output/server/node_modules/lodash/_baseClone.js +0 -166
  756. package/.output/server/node_modules/lodash/_baseCreate.js +0 -30
  757. package/.output/server/node_modules/lodash/_baseDifference.js +0 -67
  758. package/.output/server/node_modules/lodash/_baseEach.js +0 -14
  759. package/.output/server/node_modules/lodash/_baseFindIndex.js +0 -24
  760. package/.output/server/node_modules/lodash/_baseFlatten.js +0 -38
  761. package/.output/server/node_modules/lodash/_baseFor.js +0 -16
  762. package/.output/server/node_modules/lodash/_baseForOwn.js +0 -16
  763. package/.output/server/node_modules/lodash/_baseGet.js +0 -24
  764. package/.output/server/node_modules/lodash/_baseGetAllKeys.js +0 -20
  765. package/.output/server/node_modules/lodash/_baseGetTag.js +0 -28
  766. package/.output/server/node_modules/lodash/_baseHasIn.js +0 -13
  767. package/.output/server/node_modules/lodash/_baseIndexOf.js +0 -20
  768. package/.output/server/node_modules/lodash/_baseIndexOfWith.js +0 -23
  769. package/.output/server/node_modules/lodash/_baseIntersection.js +0 -74
  770. package/.output/server/node_modules/lodash/_baseIsArguments.js +0 -18
  771. package/.output/server/node_modules/lodash/_baseIsEqual.js +0 -28
  772. package/.output/server/node_modules/lodash/_baseIsEqualDeep.js +0 -83
  773. package/.output/server/node_modules/lodash/_baseIsMap.js +0 -18
  774. package/.output/server/node_modules/lodash/_baseIsMatch.js +0 -62
  775. package/.output/server/node_modules/lodash/_baseIsNaN.js +0 -12
  776. package/.output/server/node_modules/lodash/_baseIsNative.js +0 -47
  777. package/.output/server/node_modules/lodash/_baseIsSet.js +0 -18
  778. package/.output/server/node_modules/lodash/_baseIsTypedArray.js +0 -60
  779. package/.output/server/node_modules/lodash/_baseIteratee.js +0 -31
  780. package/.output/server/node_modules/lodash/_baseKeys.js +0 -30
  781. package/.output/server/node_modules/lodash/_baseKeysIn.js +0 -33
  782. package/.output/server/node_modules/lodash/_baseMap.js +0 -22
  783. package/.output/server/node_modules/lodash/_baseMatches.js +0 -22
  784. package/.output/server/node_modules/lodash/_baseMatchesProperty.js +0 -33
  785. package/.output/server/node_modules/lodash/_baseMerge.js +0 -42
  786. package/.output/server/node_modules/lodash/_baseMergeDeep.js +0 -94
  787. package/.output/server/node_modules/lodash/_baseOrderBy.js +0 -49
  788. package/.output/server/node_modules/lodash/_baseProperty.js +0 -14
  789. package/.output/server/node_modules/lodash/_basePropertyDeep.js +0 -16
  790. package/.output/server/node_modules/lodash/_basePullAll.js +0 -51
  791. package/.output/server/node_modules/lodash/_baseRest.js +0 -17
  792. package/.output/server/node_modules/lodash/_baseSetToString.js +0 -22
  793. package/.output/server/node_modules/lodash/_baseSortBy.js +0 -21
  794. package/.output/server/node_modules/lodash/_baseTimes.js +0 -20
  795. package/.output/server/node_modules/lodash/_baseToString.js +0 -37
  796. package/.output/server/node_modules/lodash/_baseUnary.js +0 -14
  797. package/.output/server/node_modules/lodash/_baseUniq.js +0 -72
  798. package/.output/server/node_modules/lodash/_cacheHas.js +0 -13
  799. package/.output/server/node_modules/lodash/_castArrayLikeObject.js +0 -14
  800. package/.output/server/node_modules/lodash/_castFunction.js +0 -14
  801. package/.output/server/node_modules/lodash/_castPath.js +0 -21
  802. package/.output/server/node_modules/lodash/_cloneArrayBuffer.js +0 -16
  803. package/.output/server/node_modules/lodash/_cloneBuffer.js +0 -35
  804. package/.output/server/node_modules/lodash/_cloneDataView.js +0 -16
  805. package/.output/server/node_modules/lodash/_cloneRegExp.js +0 -17
  806. package/.output/server/node_modules/lodash/_cloneSymbol.js +0 -18
  807. package/.output/server/node_modules/lodash/_cloneTypedArray.js +0 -16
  808. package/.output/server/node_modules/lodash/_compareAscending.js +0 -41
  809. package/.output/server/node_modules/lodash/_compareMultiple.js +0 -44
  810. package/.output/server/node_modules/lodash/_copyArray.js +0 -20
  811. package/.output/server/node_modules/lodash/_copyObject.js +0 -40
  812. package/.output/server/node_modules/lodash/_copySymbols.js +0 -16
  813. package/.output/server/node_modules/lodash/_copySymbolsIn.js +0 -16
  814. package/.output/server/node_modules/lodash/_coreJsData.js +0 -6
  815. package/.output/server/node_modules/lodash/_createAssigner.js +0 -37
  816. package/.output/server/node_modules/lodash/_createBaseEach.js +0 -32
  817. package/.output/server/node_modules/lodash/_createBaseFor.js +0 -25
  818. package/.output/server/node_modules/lodash/_createSet.js +0 -19
  819. package/.output/server/node_modules/lodash/_customDefaultsMerge.js +0 -28
  820. package/.output/server/node_modules/lodash/_defineProperty.js +0 -11
  821. package/.output/server/node_modules/lodash/_equalArrays.js +0 -84
  822. package/.output/server/node_modules/lodash/_equalByTag.js +0 -112
  823. package/.output/server/node_modules/lodash/_equalObjects.js +0 -90
  824. package/.output/server/node_modules/lodash/_freeGlobal.js +0 -4
  825. package/.output/server/node_modules/lodash/_getAllKeys.js +0 -16
  826. package/.output/server/node_modules/lodash/_getAllKeysIn.js +0 -17
  827. package/.output/server/node_modules/lodash/_getMapData.js +0 -18
  828. package/.output/server/node_modules/lodash/_getMatchData.js +0 -24
  829. package/.output/server/node_modules/lodash/_getNative.js +0 -17
  830. package/.output/server/node_modules/lodash/_getPrototype.js +0 -6
  831. package/.output/server/node_modules/lodash/_getRawTag.js +0 -46
  832. package/.output/server/node_modules/lodash/_getSymbols.js +0 -30
  833. package/.output/server/node_modules/lodash/_getSymbolsIn.js +0 -25
  834. package/.output/server/node_modules/lodash/_getTag.js +0 -58
  835. package/.output/server/node_modules/lodash/_getValue.js +0 -13
  836. package/.output/server/node_modules/lodash/_hasPath.js +0 -39
  837. package/.output/server/node_modules/lodash/_hashClear.js +0 -15
  838. package/.output/server/node_modules/lodash/_hashDelete.js +0 -17
  839. package/.output/server/node_modules/lodash/_hashGet.js +0 -30
  840. package/.output/server/node_modules/lodash/_hashHas.js +0 -23
  841. package/.output/server/node_modules/lodash/_hashSet.js +0 -23
  842. package/.output/server/node_modules/lodash/_initCloneArray.js +0 -26
  843. package/.output/server/node_modules/lodash/_initCloneByTag.js +0 -77
  844. package/.output/server/node_modules/lodash/_initCloneObject.js +0 -18
  845. package/.output/server/node_modules/lodash/_isFlattenable.js +0 -20
  846. package/.output/server/node_modules/lodash/_isIndex.js +0 -25
  847. package/.output/server/node_modules/lodash/_isIterateeCall.js +0 -30
  848. package/.output/server/node_modules/lodash/_isKey.js +0 -29
  849. package/.output/server/node_modules/lodash/_isKeyable.js +0 -15
  850. package/.output/server/node_modules/lodash/_isMasked.js +0 -20
  851. package/.output/server/node_modules/lodash/_isPrototype.js +0 -18
  852. package/.output/server/node_modules/lodash/_isStrictComparable.js +0 -15
  853. package/.output/server/node_modules/lodash/_listCacheClear.js +0 -13
  854. package/.output/server/node_modules/lodash/_listCacheDelete.js +0 -35
  855. package/.output/server/node_modules/lodash/_listCacheGet.js +0 -19
  856. package/.output/server/node_modules/lodash/_listCacheHas.js +0 -16
  857. package/.output/server/node_modules/lodash/_listCacheSet.js +0 -26
  858. package/.output/server/node_modules/lodash/_mapCacheClear.js +0 -21
  859. package/.output/server/node_modules/lodash/_mapCacheDelete.js +0 -18
  860. package/.output/server/node_modules/lodash/_mapCacheGet.js +0 -16
  861. package/.output/server/node_modules/lodash/_mapCacheHas.js +0 -16
  862. package/.output/server/node_modules/lodash/_mapCacheSet.js +0 -22
  863. package/.output/server/node_modules/lodash/_mapToArray.js +0 -18
  864. package/.output/server/node_modules/lodash/_matchesStrictComparable.js +0 -20
  865. package/.output/server/node_modules/lodash/_memoizeCapped.js +0 -26
  866. package/.output/server/node_modules/lodash/_nativeCreate.js +0 -6
  867. package/.output/server/node_modules/lodash/_nativeKeys.js +0 -6
  868. package/.output/server/node_modules/lodash/_nativeKeysIn.js +0 -20
  869. package/.output/server/node_modules/lodash/_nodeUtil.js +0 -30
  870. package/.output/server/node_modules/lodash/_objectToString.js +0 -22
  871. package/.output/server/node_modules/lodash/_overArg.js +0 -15
  872. package/.output/server/node_modules/lodash/_overRest.js +0 -36
  873. package/.output/server/node_modules/lodash/_root.js +0 -9
  874. package/.output/server/node_modules/lodash/_safeGet.js +0 -21
  875. package/.output/server/node_modules/lodash/_setCacheAdd.js +0 -19
  876. package/.output/server/node_modules/lodash/_setCacheHas.js +0 -14
  877. package/.output/server/node_modules/lodash/_setToArray.js +0 -18
  878. package/.output/server/node_modules/lodash/_setToString.js +0 -14
  879. package/.output/server/node_modules/lodash/_shortOut.js +0 -37
  880. package/.output/server/node_modules/lodash/_stackClear.js +0 -15
  881. package/.output/server/node_modules/lodash/_stackDelete.js +0 -18
  882. package/.output/server/node_modules/lodash/_stackGet.js +0 -14
  883. package/.output/server/node_modules/lodash/_stackHas.js +0 -14
  884. package/.output/server/node_modules/lodash/_stackSet.js +0 -34
  885. package/.output/server/node_modules/lodash/_strictIndexOf.js +0 -23
  886. package/.output/server/node_modules/lodash/_stringToPath.js +0 -27
  887. package/.output/server/node_modules/lodash/_toKey.js +0 -21
  888. package/.output/server/node_modules/lodash/_toSource.js +0 -26
  889. package/.output/server/node_modules/lodash/cloneDeep.js +0 -29
  890. package/.output/server/node_modules/lodash/constant.js +0 -26
  891. package/.output/server/node_modules/lodash/defaults.js +0 -64
  892. package/.output/server/node_modules/lodash/defaultsDeep.js +0 -30
  893. package/.output/server/node_modules/lodash/eq.js +0 -37
  894. package/.output/server/node_modules/lodash/flatten.js +0 -22
  895. package/.output/server/node_modules/lodash/flattenDeep.js +0 -25
  896. package/.output/server/node_modules/lodash/forEach.js +0 -41
  897. package/.output/server/node_modules/lodash/get.js +0 -33
  898. package/.output/server/node_modules/lodash/hasIn.js +0 -34
  899. package/.output/server/node_modules/lodash/identity.js +0 -21
  900. package/.output/server/node_modules/lodash/intersection.js +0 -30
  901. package/.output/server/node_modules/lodash/intersectionWith.js +0 -41
  902. package/.output/server/node_modules/lodash/isArguments.js +0 -36
  903. package/.output/server/node_modules/lodash/isArray.js +0 -26
  904. package/.output/server/node_modules/lodash/isArrayLike.js +0 -33
  905. package/.output/server/node_modules/lodash/isArrayLikeObject.js +0 -33
  906. package/.output/server/node_modules/lodash/isBoolean.js +0 -29
  907. package/.output/server/node_modules/lodash/isBuffer.js +0 -38
  908. package/.output/server/node_modules/lodash/isEqual.js +0 -35
  909. package/.output/server/node_modules/lodash/isFunction.js +0 -37
  910. package/.output/server/node_modules/lodash/isLength.js +0 -35
  911. package/.output/server/node_modules/lodash/isMap.js +0 -27
  912. package/.output/server/node_modules/lodash/isObject.js +0 -31
  913. package/.output/server/node_modules/lodash/isObjectLike.js +0 -29
  914. package/.output/server/node_modules/lodash/isPlainObject.js +0 -62
  915. package/.output/server/node_modules/lodash/isSet.js +0 -27
  916. package/.output/server/node_modules/lodash/isSymbol.js +0 -29
  917. package/.output/server/node_modules/lodash/isTypedArray.js +0 -27
  918. package/.output/server/node_modules/lodash/keys.js +0 -37
  919. package/.output/server/node_modules/lodash/keysIn.js +0 -32
  920. package/.output/server/node_modules/lodash/last.js +0 -20
  921. package/.output/server/node_modules/lodash/memoize.js +0 -73
  922. package/.output/server/node_modules/lodash/mergeWith.js +0 -39
  923. package/.output/server/node_modules/lodash/noop.js +0 -17
  924. package/.output/server/node_modules/lodash/package.json +0 -19
  925. package/.output/server/node_modules/lodash/property.js +0 -32
  926. package/.output/server/node_modules/lodash/pullAll.js +0 -29
  927. package/.output/server/node_modules/lodash/sortBy.js +0 -48
  928. package/.output/server/node_modules/lodash/stubArray.js +0 -23
  929. package/.output/server/node_modules/lodash/stubFalse.js +0 -18
  930. package/.output/server/node_modules/lodash/toPlainObject.js +0 -32
  931. package/.output/server/node_modules/lodash/toString.js +0 -28
  932. package/.output/server/node_modules/lodash/uniq.js +0 -25
  933. package/.output/server/node_modules/lodash/uniqWith.js +0 -28
  934. package/.output/server/node_modules/lodash/without.js +0 -31
  935. package/.output/server/node_modules/lodash.camelcase/index.js +0 -599
  936. package/.output/server/node_modules/lodash.camelcase/package.json +0 -19
  937. package/.output/server/node_modules/lru-queue/index.js +0 -48
  938. package/.output/server/node_modules/lru-queue/package.json +0 -25
  939. package/.output/server/node_modules/marked/lib/marked.cjs +0 -2811
  940. package/.output/server/node_modules/marked/package.json +0 -93
  941. package/.output/server/node_modules/memoizee/ext/async.js +0 -154
  942. package/.output/server/node_modules/memoizee/ext/dispose.js +0 -27
  943. package/.output/server/node_modules/memoizee/ext/max-age.js +0 -90
  944. package/.output/server/node_modules/memoizee/ext/max.js +0 -32
  945. package/.output/server/node_modules/memoizee/ext/promise.js +0 -147
  946. package/.output/server/node_modules/memoizee/ext/ref-counter.js +0 -42
  947. package/.output/server/node_modules/memoizee/index.js +0 -34
  948. package/.output/server/node_modules/memoizee/lib/configure-map.js +0 -182
  949. package/.output/server/node_modules/memoizee/lib/registered-extensions.js +0 -1
  950. package/.output/server/node_modules/memoizee/lib/resolve-length.js +0 -15
  951. package/.output/server/node_modules/memoizee/lib/resolve-normalize.js +0 -17
  952. package/.output/server/node_modules/memoizee/lib/resolve-resolve.js +0 -19
  953. package/.output/server/node_modules/memoizee/normalizers/get-1.js +0 -29
  954. package/.output/server/node_modules/memoizee/normalizers/get-fixed.js +0 -71
  955. package/.output/server/node_modules/memoizee/normalizers/get-primitive-fixed.js +0 -14
  956. package/.output/server/node_modules/memoizee/normalizers/get.js +0 -90
  957. package/.output/server/node_modules/memoizee/normalizers/primitive.js +0 -9
  958. package/.output/server/node_modules/memoizee/package.json +0 -114
  959. package/.output/server/node_modules/memoizee/plain.js +0 -37
  960. package/.output/server/node_modules/mustache/mustache.js +0 -772
  961. package/.output/server/node_modules/mustache/package.json +0 -67
  962. package/.output/server/node_modules/next-tick/index.js +0 -74
  963. package/.output/server/node_modules/next-tick/package.json +0 -27
  964. package/.output/server/node_modules/node-fetch-h2/lib/index.js +0 -1585
  965. package/.output/server/node_modules/node-fetch-h2/package.json +0 -68
  966. package/.output/server/node_modules/oas/dist/chunk-5EP6HY2E.js +0 -943
  967. package/.output/server/node_modules/oas/dist/chunk-7MARUOFZ.js +0 -24
  968. package/.output/server/node_modules/oas/dist/chunk-HGVFNEKW.js +0 -1684
  969. package/.output/server/node_modules/oas/dist/chunk-LSH3X5NA.js +0 -822
  970. package/.output/server/node_modules/oas/dist/chunk-S27IGTVG.js +0 -95
  971. package/.output/server/node_modules/oas/dist/chunk-VA3NKXX7.js +0 -9
  972. package/.output/server/node_modules/oas/dist/index.js +0 -12
  973. package/.output/server/node_modules/oas/dist/types.js +0 -15
  974. package/.output/server/node_modules/oas/dist/utils.js +0 -19
  975. package/.output/server/node_modules/oas/package.json +0 -113
  976. package/.output/server/node_modules/oas-kit-common/index.js +0 -137
  977. package/.output/server/node_modules/oas-kit-common/package.json +0 -28
  978. package/.output/server/node_modules/oas-normalize/dist/chunk-45XXAYDL.js +0 -19
  979. package/.output/server/node_modules/oas-normalize/dist/chunk-SZISBDLH.js +0 -86
  980. package/.output/server/node_modules/oas-normalize/dist/index.js +0 -248
  981. package/.output/server/node_modules/oas-normalize/package.json +0 -87
  982. package/.output/server/node_modules/oas-resolver/index.js +0 -535
  983. package/.output/server/node_modules/oas-resolver/package.json +0 -40
  984. package/.output/server/node_modules/oas-schema-walker/index.js +0 -125
  985. package/.output/server/node_modules/oas-schema-walker/package.json +0 -27
  986. package/.output/server/node_modules/path-to-regexp/dist/index.js +0 -431
  987. package/.output/server/node_modules/path-to-regexp/package.json +0 -64
  988. package/.output/server/node_modules/picocolors/package.json +0 -25
  989. package/.output/server/node_modules/picocolors/picocolors.js +0 -75
  990. package/.output/server/node_modules/pluralize/package.json +0 -40
  991. package/.output/server/node_modules/pluralize/pluralize.js +0 -503
  992. package/.output/server/node_modules/reftools/lib/clone.js +0 -102
  993. package/.output/server/node_modules/reftools/lib/dereference.js +0 -105
  994. package/.output/server/node_modules/reftools/lib/isref.js +0 -10
  995. package/.output/server/node_modules/reftools/lib/jptr.js +0 -97
  996. package/.output/server/node_modules/reftools/lib/recurse.js +0 -62
  997. package/.output/server/node_modules/reftools/package.json +0 -37
  998. package/.output/server/node_modules/remove-undefined-objects/dist/index.mjs +0 -94
  999. package/.output/server/node_modules/remove-undefined-objects/package.json +0 -47
  1000. package/.output/server/node_modules/semver/classes/comparator.js +0 -143
  1001. package/.output/server/node_modules/semver/classes/range.js +0 -557
  1002. package/.output/server/node_modules/semver/classes/semver.js +0 -333
  1003. package/.output/server/node_modules/semver/functions/clean.js +0 -8
  1004. package/.output/server/node_modules/semver/functions/cmp.js +0 -54
  1005. package/.output/server/node_modules/semver/functions/coerce.js +0 -62
  1006. package/.output/server/node_modules/semver/functions/compare-build.js +0 -9
  1007. package/.output/server/node_modules/semver/functions/compare-loose.js +0 -5
  1008. package/.output/server/node_modules/semver/functions/compare.js +0 -7
  1009. package/.output/server/node_modules/semver/functions/diff.js +0 -60
  1010. package/.output/server/node_modules/semver/functions/eq.js +0 -5
  1011. package/.output/server/node_modules/semver/functions/gt.js +0 -5
  1012. package/.output/server/node_modules/semver/functions/gte.js +0 -5
  1013. package/.output/server/node_modules/semver/functions/inc.js +0 -21
  1014. package/.output/server/node_modules/semver/functions/lt.js +0 -5
  1015. package/.output/server/node_modules/semver/functions/lte.js +0 -5
  1016. package/.output/server/node_modules/semver/functions/major.js +0 -5
  1017. package/.output/server/node_modules/semver/functions/minor.js +0 -5
  1018. package/.output/server/node_modules/semver/functions/neq.js +0 -5
  1019. package/.output/server/node_modules/semver/functions/parse.js +0 -18
  1020. package/.output/server/node_modules/semver/functions/patch.js +0 -5
  1021. package/.output/server/node_modules/semver/functions/prerelease.js +0 -8
  1022. package/.output/server/node_modules/semver/functions/rcompare.js +0 -5
  1023. package/.output/server/node_modules/semver/functions/rsort.js +0 -5
  1024. package/.output/server/node_modules/semver/functions/satisfies.js +0 -12
  1025. package/.output/server/node_modules/semver/functions/sort.js +0 -5
  1026. package/.output/server/node_modules/semver/functions/valid.js +0 -8
  1027. package/.output/server/node_modules/semver/index.js +0 -91
  1028. package/.output/server/node_modules/semver/internal/constants.js +0 -37
  1029. package/.output/server/node_modules/semver/internal/debug.js +0 -11
  1030. package/.output/server/node_modules/semver/internal/identifiers.js +0 -29
  1031. package/.output/server/node_modules/semver/internal/lrucache.js +0 -42
  1032. package/.output/server/node_modules/semver/internal/parse-options.js +0 -17
  1033. package/.output/server/node_modules/semver/internal/re.js +0 -223
  1034. package/.output/server/node_modules/semver/package.json +0 -78
  1035. package/.output/server/node_modules/semver/preload.js +0 -4
  1036. package/.output/server/node_modules/semver/ranges/gtr.js +0 -6
  1037. package/.output/server/node_modules/semver/ranges/intersects.js +0 -9
  1038. package/.output/server/node_modules/semver/ranges/ltr.js +0 -6
  1039. package/.output/server/node_modules/semver/ranges/max-satisfying.js +0 -27
  1040. package/.output/server/node_modules/semver/ranges/min-satisfying.js +0 -26
  1041. package/.output/server/node_modules/semver/ranges/min-version.js +0 -63
  1042. package/.output/server/node_modules/semver/ranges/outside.js +0 -82
  1043. package/.output/server/node_modules/semver/ranges/simplify.js +0 -49
  1044. package/.output/server/node_modules/semver/ranges/subset.js +0 -249
  1045. package/.output/server/node_modules/semver/ranges/to-comparators.js +0 -10
  1046. package/.output/server/node_modules/semver/ranges/valid.js +0 -13
  1047. package/.output/server/node_modules/source-map/lib/array-set.js +0 -121
  1048. package/.output/server/node_modules/source-map/lib/base64-vlq.js +0 -140
  1049. package/.output/server/node_modules/source-map/lib/base64.js +0 -67
  1050. package/.output/server/node_modules/source-map/lib/binary-search.js +0 -111
  1051. package/.output/server/node_modules/source-map/lib/mapping-list.js +0 -79
  1052. package/.output/server/node_modules/source-map/lib/quick-sort.js +0 -114
  1053. package/.output/server/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  1054. package/.output/server/node_modules/source-map/lib/source-map-generator.js +0 -425
  1055. package/.output/server/node_modules/source-map/lib/source-node.js +0 -413
  1056. package/.output/server/node_modules/source-map/lib/util.js +0 -488
  1057. package/.output/server/node_modules/source-map/package.json +0 -73
  1058. package/.output/server/node_modules/source-map/source-map.js +0 -8
  1059. package/.output/server/node_modules/swagger2openapi/index.js +0 -1666
  1060. package/.output/server/node_modules/swagger2openapi/lib/statusCodes.js +0 -19
  1061. package/.output/server/node_modules/swagger2openapi/package.json +0 -63
  1062. package/.output/server/node_modules/timers-ext/max-timeout.js +0 -3
  1063. package/.output/server/node_modules/timers-ext/package.json +0 -97
  1064. package/.output/server/node_modules/timers-ext/valid-timeout.js +0 -10
  1065. package/.output/server/node_modules/tslib/package.json +0 -47
  1066. package/.output/server/node_modules/tslib/tslib.js +0 -484
  1067. package/.output/server/node_modules/type/function/is.js +0 -19
  1068. package/.output/server/node_modules/type/object/is.js +0 -11
  1069. package/.output/server/node_modules/type/package.json +0 -121
  1070. package/.output/server/node_modules/type/plain-function/is.js +0 -11
  1071. package/.output/server/node_modules/type/prototype/is.js +0 -13
  1072. package/.output/server/node_modules/type/value/is.js +0 -6
  1073. package/.output/server/node_modules/validate.io-array/lib/index.js +0 -16
  1074. package/.output/server/node_modules/validate.io-array/package.json +0 -51
  1075. package/.output/server/node_modules/validate.io-function/lib/index.js +0 -45
  1076. package/.output/server/node_modules/validate.io-function/package.json +0 -53
  1077. package/.output/server/node_modules/validate.io-integer/lib/index.js +0 -52
  1078. package/.output/server/node_modules/validate.io-integer/package.json +0 -58
  1079. package/.output/server/node_modules/validate.io-integer-array/lib/index.js +0 -66
  1080. package/.output/server/node_modules/validate.io-integer-array/package.json +0 -58
  1081. package/.output/server/node_modules/validate.io-number/lib/index.js +0 -45
  1082. package/.output/server/node_modules/validate.io-number/package.json +0 -55
  1083. package/.output/server/node_modules/yaml/dist/Document-a8d0fbf9.js +0 -637
  1084. package/.output/server/node_modules/yaml/dist/PlainValue-516d5bc2.js +0 -765
  1085. package/.output/server/node_modules/yaml/dist/Schema-bcc6c2d7.js +0 -469
  1086. package/.output/server/node_modules/yaml/dist/index.js +0 -67
  1087. package/.output/server/node_modules/yaml/dist/parse-cst.js +0 -1507
  1088. package/.output/server/node_modules/yaml/dist/resolveSeq-95613e94.js +0 -1859
  1089. package/.output/server/node_modules/yaml/dist/warnings-793925ce.js +0 -359
  1090. package/.output/server/node_modules/yaml/index.js +0 -1
  1091. package/.output/server/node_modules/yaml/package.json +0 -105
  1092. package/.output/server/node_modules/yaml-ast-parser/dist/src/common.js +0 -45
  1093. package/.output/server/node_modules/yaml-ast-parser/dist/src/dumper.js +0 -644
  1094. package/.output/server/node_modules/yaml-ast-parser/dist/src/exception.js +0 -40
  1095. package/.output/server/node_modules/yaml-ast-parser/dist/src/index.js +0 -22
  1096. package/.output/server/node_modules/yaml-ast-parser/dist/src/loader.js +0 -1416
  1097. package/.output/server/node_modules/yaml-ast-parser/dist/src/mark.js +0 -62
  1098. package/.output/server/node_modules/yaml-ast-parser/dist/src/scalarInference.js +0 -82
  1099. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/core.js +0 -8
  1100. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_full.js +0 -14
  1101. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_safe.js +0 -19
  1102. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/failsafe.js +0 -10
  1103. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/json.js +0 -14
  1104. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema.js +0 -78
  1105. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/binary.js +0 -92
  1106. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/bool.js +0 -32
  1107. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/float.js +0 -95
  1108. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/int.js +0 -155
  1109. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/regexp.js +0 -64
  1110. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/undefined.js +0 -22
  1111. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/map.js +0 -7
  1112. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/merge.js +0 -10
  1113. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/null.js +0 -30
  1114. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/omap.js +0 -46
  1115. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/pairs.js +0 -55
  1116. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/seq.js +0 -7
  1117. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/set.js +0 -22
  1118. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/str.js +0 -7
  1119. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/timestamp.js +0 -70
  1120. package/.output/server/node_modules/yaml-ast-parser/dist/src/type.js +0 -54
  1121. package/.output/server/node_modules/yaml-ast-parser/dist/src/yamlAST.js +0 -82
  1122. package/.output/server/node_modules/yaml-ast-parser/package.json +0 -39
  1123. /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/index.js +0 -0
  1124. /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/constants.js +0 -0
  1125. /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/parse.js +0 -0
  1126. /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/picomatch.js +0 -0
  1127. /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/scan.js +0 -0
  1128. /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/utils.js +0 -0
  1129. /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/package.json +0 -0
@@ -1,1733 +0,0 @@
1
- 'use strict';
2
-
3
- /*eslint-disable max-len,no-use-before-define*/
4
-
5
- var common = require('./common');
6
- var YAMLException = require('./exception');
7
- var makeSnippet = require('./snippet');
8
- var DEFAULT_SCHEMA = require('./schema/default');
9
-
10
-
11
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
12
-
13
-
14
- var CONTEXT_FLOW_IN = 1;
15
- var CONTEXT_FLOW_OUT = 2;
16
- var CONTEXT_BLOCK_IN = 3;
17
- var CONTEXT_BLOCK_OUT = 4;
18
-
19
-
20
- var CHOMPING_CLIP = 1;
21
- var CHOMPING_STRIP = 2;
22
- var CHOMPING_KEEP = 3;
23
-
24
-
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
-
31
-
32
- function _class(obj) { return Object.prototype.toString.call(obj); }
33
-
34
- function is_EOL(c) {
35
- return (c === 0x0A/* LF */) || (c === 0x0D/* CR */);
36
- }
37
-
38
- function is_WHITE_SPACE(c) {
39
- return (c === 0x09/* Tab */) || (c === 0x20/* Space */);
40
- }
41
-
42
- function is_WS_OR_EOL(c) {
43
- return (c === 0x09/* Tab */) ||
44
- (c === 0x20/* Space */) ||
45
- (c === 0x0A/* LF */) ||
46
- (c === 0x0D/* CR */);
47
- }
48
-
49
- function is_FLOW_INDICATOR(c) {
50
- return c === 0x2C/* , */ ||
51
- c === 0x5B/* [ */ ||
52
- c === 0x5D/* ] */ ||
53
- c === 0x7B/* { */ ||
54
- c === 0x7D/* } */;
55
- }
56
-
57
- function fromHexCode(c) {
58
- var lc;
59
-
60
- if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {
61
- return c - 0x30;
62
- }
63
-
64
- /*eslint-disable no-bitwise*/
65
- lc = c | 0x20;
66
-
67
- if ((0x61/* a */ <= lc) && (lc <= 0x66/* f */)) {
68
- return lc - 0x61 + 10;
69
- }
70
-
71
- return -1;
72
- }
73
-
74
- function escapedHexLen(c) {
75
- if (c === 0x78/* x */) { return 2; }
76
- if (c === 0x75/* u */) { return 4; }
77
- if (c === 0x55/* U */) { return 8; }
78
- return 0;
79
- }
80
-
81
- function fromDecimalCode(c) {
82
- if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {
83
- return c - 0x30;
84
- }
85
-
86
- return -1;
87
- }
88
-
89
- function simpleEscapeSequence(c) {
90
- /* eslint-disable indent */
91
- return (c === 0x30/* 0 */) ? '\x00' :
92
- (c === 0x61/* a */) ? '\x07' :
93
- (c === 0x62/* b */) ? '\x08' :
94
- (c === 0x74/* t */) ? '\x09' :
95
- (c === 0x09/* Tab */) ? '\x09' :
96
- (c === 0x6E/* n */) ? '\x0A' :
97
- (c === 0x76/* v */) ? '\x0B' :
98
- (c === 0x66/* f */) ? '\x0C' :
99
- (c === 0x72/* r */) ? '\x0D' :
100
- (c === 0x65/* e */) ? '\x1B' :
101
- (c === 0x20/* Space */) ? ' ' :
102
- (c === 0x22/* " */) ? '\x22' :
103
- (c === 0x2F/* / */) ? '/' :
104
- (c === 0x5C/* \ */) ? '\x5C' :
105
- (c === 0x4E/* N */) ? '\x85' :
106
- (c === 0x5F/* _ */) ? '\xA0' :
107
- (c === 0x4C/* L */) ? '\u2028' :
108
- (c === 0x50/* P */) ? '\u2029' : '';
109
- }
110
-
111
- function charFromCodepoint(c) {
112
- if (c <= 0xFFFF) {
113
- return String.fromCharCode(c);
114
- }
115
- // Encode UTF-16 surrogate pair
116
- // https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF
117
- return String.fromCharCode(
118
- ((c - 0x010000) >> 10) + 0xD800,
119
- ((c - 0x010000) & 0x03FF) + 0xDC00
120
- );
121
- }
122
-
123
- // set a property of a literal object, while protecting against prototype pollution,
124
- // see https://github.com/nodeca/js-yaml/issues/164 for more details
125
- function setProperty(object, key, value) {
126
- // used for this specific key only because Object.defineProperty is slow
127
- if (key === '__proto__') {
128
- Object.defineProperty(object, key, {
129
- configurable: true,
130
- enumerable: true,
131
- writable: true,
132
- value: value
133
- });
134
- } else {
135
- object[key] = value;
136
- }
137
- }
138
-
139
- var simpleEscapeCheck = new Array(256); // integer, for fast access
140
- var simpleEscapeMap = new Array(256);
141
- for (var i = 0; i < 256; i++) {
142
- simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
143
- simpleEscapeMap[i] = simpleEscapeSequence(i);
144
- }
145
-
146
-
147
- function State(input, options) {
148
- this.input = input;
149
-
150
- this.filename = options['filename'] || null;
151
- this.schema = options['schema'] || DEFAULT_SCHEMA;
152
- this.onWarning = options['onWarning'] || null;
153
- // (Hidden) Remove? makes the loader to expect YAML 1.1 documents
154
- // if such documents have no explicit %YAML directive
155
- this.legacy = options['legacy'] || false;
156
-
157
- this.json = options['json'] || false;
158
- this.listener = options['listener'] || null;
159
-
160
- this.implicitTypes = this.schema.compiledImplicit;
161
- this.typeMap = this.schema.compiledTypeMap;
162
-
163
- this.length = input.length;
164
- this.position = 0;
165
- this.line = 0;
166
- this.lineStart = 0;
167
- this.lineIndent = 0;
168
-
169
- // position of first leading tab in the current line,
170
- // used to make sure there are no tabs in the indentation
171
- this.firstTabInLine = -1;
172
-
173
- this.documents = [];
174
-
175
- /*
176
- this.version;
177
- this.checkLineBreaks;
178
- this.tagMap;
179
- this.anchorMap;
180
- this.tag;
181
- this.anchor;
182
- this.kind;
183
- this.result;*/
184
-
185
- }
186
-
187
-
188
- function generateError(state, message) {
189
- var mark = {
190
- name: state.filename,
191
- buffer: state.input.slice(0, -1), // omit trailing \0
192
- position: state.position,
193
- line: state.line,
194
- column: state.position - state.lineStart
195
- };
196
-
197
- mark.snippet = makeSnippet(mark);
198
-
199
- return new YAMLException(message, mark);
200
- }
201
-
202
- function throwError(state, message) {
203
- throw generateError(state, message);
204
- }
205
-
206
- function throwWarning(state, message) {
207
- if (state.onWarning) {
208
- state.onWarning.call(null, generateError(state, message));
209
- }
210
- }
211
-
212
-
213
- var directiveHandlers = {
214
-
215
- YAML: function handleYamlDirective(state, name, args) {
216
-
217
- var match, major, minor;
218
-
219
- if (state.version !== null) {
220
- throwError(state, 'duplication of %YAML directive');
221
- }
222
-
223
- if (args.length !== 1) {
224
- throwError(state, 'YAML directive accepts exactly one argument');
225
- }
226
-
227
- match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
228
-
229
- if (match === null) {
230
- throwError(state, 'ill-formed argument of the YAML directive');
231
- }
232
-
233
- major = parseInt(match[1], 10);
234
- minor = parseInt(match[2], 10);
235
-
236
- if (major !== 1) {
237
- throwError(state, 'unacceptable YAML version of the document');
238
- }
239
-
240
- state.version = args[0];
241
- state.checkLineBreaks = (minor < 2);
242
-
243
- if (minor !== 1 && minor !== 2) {
244
- throwWarning(state, 'unsupported YAML version of the document');
245
- }
246
- },
247
-
248
- TAG: function handleTagDirective(state, name, args) {
249
-
250
- var handle, prefix;
251
-
252
- if (args.length !== 2) {
253
- throwError(state, 'TAG directive accepts exactly two arguments');
254
- }
255
-
256
- handle = args[0];
257
- prefix = args[1];
258
-
259
- if (!PATTERN_TAG_HANDLE.test(handle)) {
260
- throwError(state, 'ill-formed tag handle (first argument) of the TAG directive');
261
- }
262
-
263
- if (_hasOwnProperty.call(state.tagMap, handle)) {
264
- throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle');
265
- }
266
-
267
- if (!PATTERN_TAG_URI.test(prefix)) {
268
- throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive');
269
- }
270
-
271
- try {
272
- prefix = decodeURIComponent(prefix);
273
- } catch (err) {
274
- throwError(state, 'tag prefix is malformed: ' + prefix);
275
- }
276
-
277
- state.tagMap[handle] = prefix;
278
- }
279
- };
280
-
281
-
282
- function captureSegment(state, start, end, checkJson) {
283
- var _position, _length, _character, _result;
284
-
285
- if (start < end) {
286
- _result = state.input.slice(start, end);
287
-
288
- if (checkJson) {
289
- for (_position = 0, _length = _result.length; _position < _length; _position += 1) {
290
- _character = _result.charCodeAt(_position);
291
- if (!(_character === 0x09 ||
292
- (0x20 <= _character && _character <= 0x10FFFF))) {
293
- throwError(state, 'expected valid JSON character');
294
- }
295
- }
296
- } else if (PATTERN_NON_PRINTABLE.test(_result)) {
297
- throwError(state, 'the stream contains non-printable characters');
298
- }
299
-
300
- state.result += _result;
301
- }
302
- }
303
-
304
- function mergeMappings(state, destination, source, overridableKeys) {
305
- var sourceKeys, key, index, quantity;
306
-
307
- if (!common.isObject(source)) {
308
- throwError(state, 'cannot merge mappings; the provided source object is unacceptable');
309
- }
310
-
311
- sourceKeys = Object.keys(source);
312
-
313
- for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
314
- key = sourceKeys[index];
315
-
316
- if (!_hasOwnProperty.call(destination, key)) {
317
- setProperty(destination, key, source[key]);
318
- overridableKeys[key] = true;
319
- }
320
- }
321
- }
322
-
323
- function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode,
324
- startLine, startLineStart, startPos) {
325
-
326
- var index, quantity;
327
-
328
- // The output is a plain object here, so keys can only be strings.
329
- // We need to convert keyNode to a string, but doing so can hang the process
330
- // (deeply nested arrays that explode exponentially using aliases).
331
- if (Array.isArray(keyNode)) {
332
- keyNode = Array.prototype.slice.call(keyNode);
333
-
334
- for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {
335
- if (Array.isArray(keyNode[index])) {
336
- throwError(state, 'nested arrays are not supported inside keys');
337
- }
338
-
339
- if (typeof keyNode === 'object' && _class(keyNode[index]) === '[object Object]') {
340
- keyNode[index] = '[object Object]';
341
- }
342
- }
343
- }
344
-
345
- // Avoid code execution in load() via toString property
346
- // (still use its own toString for arrays, timestamps,
347
- // and whatever user schema extensions happen to have @@toStringTag)
348
- if (typeof keyNode === 'object' && _class(keyNode) === '[object Object]') {
349
- keyNode = '[object Object]';
350
- }
351
-
352
-
353
- keyNode = String(keyNode);
354
-
355
- if (_result === null) {
356
- _result = {};
357
- }
358
-
359
- if (keyTag === 'tag:yaml.org,2002:merge') {
360
- if (Array.isArray(valueNode)) {
361
- for (index = 0, quantity = valueNode.length; index < quantity; index += 1) {
362
- mergeMappings(state, _result, valueNode[index], overridableKeys);
363
- }
364
- } else {
365
- mergeMappings(state, _result, valueNode, overridableKeys);
366
- }
367
- } else {
368
- if (!state.json &&
369
- !_hasOwnProperty.call(overridableKeys, keyNode) &&
370
- _hasOwnProperty.call(_result, keyNode)) {
371
- state.line = startLine || state.line;
372
- state.lineStart = startLineStart || state.lineStart;
373
- state.position = startPos || state.position;
374
- throwError(state, 'duplicated mapping key');
375
- }
376
-
377
- setProperty(_result, keyNode, valueNode);
378
- delete overridableKeys[keyNode];
379
- }
380
-
381
- return _result;
382
- }
383
-
384
- function readLineBreak(state) {
385
- var ch;
386
-
387
- ch = state.input.charCodeAt(state.position);
388
-
389
- if (ch === 0x0A/* LF */) {
390
- state.position++;
391
- } else if (ch === 0x0D/* CR */) {
392
- state.position++;
393
- if (state.input.charCodeAt(state.position) === 0x0A/* LF */) {
394
- state.position++;
395
- }
396
- } else {
397
- throwError(state, 'a line break is expected');
398
- }
399
-
400
- state.line += 1;
401
- state.lineStart = state.position;
402
- state.firstTabInLine = -1;
403
- }
404
-
405
- function skipSeparationSpace(state, allowComments, checkIndent) {
406
- var lineBreaks = 0,
407
- ch = state.input.charCodeAt(state.position);
408
-
409
- while (ch !== 0) {
410
- while (is_WHITE_SPACE(ch)) {
411
- if (ch === 0x09/* Tab */ && state.firstTabInLine === -1) {
412
- state.firstTabInLine = state.position;
413
- }
414
- ch = state.input.charCodeAt(++state.position);
415
- }
416
-
417
- if (allowComments && ch === 0x23/* # */) {
418
- do {
419
- ch = state.input.charCodeAt(++state.position);
420
- } while (ch !== 0x0A/* LF */ && ch !== 0x0D/* CR */ && ch !== 0);
421
- }
422
-
423
- if (is_EOL(ch)) {
424
- readLineBreak(state);
425
-
426
- ch = state.input.charCodeAt(state.position);
427
- lineBreaks++;
428
- state.lineIndent = 0;
429
-
430
- while (ch === 0x20/* Space */) {
431
- state.lineIndent++;
432
- ch = state.input.charCodeAt(++state.position);
433
- }
434
- } else {
435
- break;
436
- }
437
- }
438
-
439
- if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {
440
- throwWarning(state, 'deficient indentation');
441
- }
442
-
443
- return lineBreaks;
444
- }
445
-
446
- function testDocumentSeparator(state) {
447
- var _position = state.position,
448
- ch;
449
-
450
- ch = state.input.charCodeAt(_position);
451
-
452
- // Condition state.position === state.lineStart is tested
453
- // in parent on each call, for efficiency. No needs to test here again.
454
- if ((ch === 0x2D/* - */ || ch === 0x2E/* . */) &&
455
- ch === state.input.charCodeAt(_position + 1) &&
456
- ch === state.input.charCodeAt(_position + 2)) {
457
-
458
- _position += 3;
459
-
460
- ch = state.input.charCodeAt(_position);
461
-
462
- if (ch === 0 || is_WS_OR_EOL(ch)) {
463
- return true;
464
- }
465
- }
466
-
467
- return false;
468
- }
469
-
470
- function writeFoldedLines(state, count) {
471
- if (count === 1) {
472
- state.result += ' ';
473
- } else if (count > 1) {
474
- state.result += common.repeat('\n', count - 1);
475
- }
476
- }
477
-
478
-
479
- function readPlainScalar(state, nodeIndent, withinFlowCollection) {
480
- var preceding,
481
- following,
482
- captureStart,
483
- captureEnd,
484
- hasPendingContent,
485
- _line,
486
- _lineStart,
487
- _lineIndent,
488
- _kind = state.kind,
489
- _result = state.result,
490
- ch;
491
-
492
- ch = state.input.charCodeAt(state.position);
493
-
494
- if (is_WS_OR_EOL(ch) ||
495
- is_FLOW_INDICATOR(ch) ||
496
- ch === 0x23/* # */ ||
497
- ch === 0x26/* & */ ||
498
- ch === 0x2A/* * */ ||
499
- ch === 0x21/* ! */ ||
500
- ch === 0x7C/* | */ ||
501
- ch === 0x3E/* > */ ||
502
- ch === 0x27/* ' */ ||
503
- ch === 0x22/* " */ ||
504
- ch === 0x25/* % */ ||
505
- ch === 0x40/* @ */ ||
506
- ch === 0x60/* ` */) {
507
- return false;
508
- }
509
-
510
- if (ch === 0x3F/* ? */ || ch === 0x2D/* - */) {
511
- following = state.input.charCodeAt(state.position + 1);
512
-
513
- if (is_WS_OR_EOL(following) ||
514
- withinFlowCollection && is_FLOW_INDICATOR(following)) {
515
- return false;
516
- }
517
- }
518
-
519
- state.kind = 'scalar';
520
- state.result = '';
521
- captureStart = captureEnd = state.position;
522
- hasPendingContent = false;
523
-
524
- while (ch !== 0) {
525
- if (ch === 0x3A/* : */) {
526
- following = state.input.charCodeAt(state.position + 1);
527
-
528
- if (is_WS_OR_EOL(following) ||
529
- withinFlowCollection && is_FLOW_INDICATOR(following)) {
530
- break;
531
- }
532
-
533
- } else if (ch === 0x23/* # */) {
534
- preceding = state.input.charCodeAt(state.position - 1);
535
-
536
- if (is_WS_OR_EOL(preceding)) {
537
- break;
538
- }
539
-
540
- } else if ((state.position === state.lineStart && testDocumentSeparator(state)) ||
541
- withinFlowCollection && is_FLOW_INDICATOR(ch)) {
542
- break;
543
-
544
- } else if (is_EOL(ch)) {
545
- _line = state.line;
546
- _lineStart = state.lineStart;
547
- _lineIndent = state.lineIndent;
548
- skipSeparationSpace(state, false, -1);
549
-
550
- if (state.lineIndent >= nodeIndent) {
551
- hasPendingContent = true;
552
- ch = state.input.charCodeAt(state.position);
553
- continue;
554
- } else {
555
- state.position = captureEnd;
556
- state.line = _line;
557
- state.lineStart = _lineStart;
558
- state.lineIndent = _lineIndent;
559
- break;
560
- }
561
- }
562
-
563
- if (hasPendingContent) {
564
- captureSegment(state, captureStart, captureEnd, false);
565
- writeFoldedLines(state, state.line - _line);
566
- captureStart = captureEnd = state.position;
567
- hasPendingContent = false;
568
- }
569
-
570
- if (!is_WHITE_SPACE(ch)) {
571
- captureEnd = state.position + 1;
572
- }
573
-
574
- ch = state.input.charCodeAt(++state.position);
575
- }
576
-
577
- captureSegment(state, captureStart, captureEnd, false);
578
-
579
- if (state.result) {
580
- return true;
581
- }
582
-
583
- state.kind = _kind;
584
- state.result = _result;
585
- return false;
586
- }
587
-
588
- function readSingleQuotedScalar(state, nodeIndent) {
589
- var ch,
590
- captureStart, captureEnd;
591
-
592
- ch = state.input.charCodeAt(state.position);
593
-
594
- if (ch !== 0x27/* ' */) {
595
- return false;
596
- }
597
-
598
- state.kind = 'scalar';
599
- state.result = '';
600
- state.position++;
601
- captureStart = captureEnd = state.position;
602
-
603
- while ((ch = state.input.charCodeAt(state.position)) !== 0) {
604
- if (ch === 0x27/* ' */) {
605
- captureSegment(state, captureStart, state.position, true);
606
- ch = state.input.charCodeAt(++state.position);
607
-
608
- if (ch === 0x27/* ' */) {
609
- captureStart = state.position;
610
- state.position++;
611
- captureEnd = state.position;
612
- } else {
613
- return true;
614
- }
615
-
616
- } else if (is_EOL(ch)) {
617
- captureSegment(state, captureStart, captureEnd, true);
618
- writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
619
- captureStart = captureEnd = state.position;
620
-
621
- } else if (state.position === state.lineStart && testDocumentSeparator(state)) {
622
- throwError(state, 'unexpected end of the document within a single quoted scalar');
623
-
624
- } else {
625
- state.position++;
626
- captureEnd = state.position;
627
- }
628
- }
629
-
630
- throwError(state, 'unexpected end of the stream within a single quoted scalar');
631
- }
632
-
633
- function readDoubleQuotedScalar(state, nodeIndent) {
634
- var captureStart,
635
- captureEnd,
636
- hexLength,
637
- hexResult,
638
- tmp,
639
- ch;
640
-
641
- ch = state.input.charCodeAt(state.position);
642
-
643
- if (ch !== 0x22/* " */) {
644
- return false;
645
- }
646
-
647
- state.kind = 'scalar';
648
- state.result = '';
649
- state.position++;
650
- captureStart = captureEnd = state.position;
651
-
652
- while ((ch = state.input.charCodeAt(state.position)) !== 0) {
653
- if (ch === 0x22/* " */) {
654
- captureSegment(state, captureStart, state.position, true);
655
- state.position++;
656
- return true;
657
-
658
- } else if (ch === 0x5C/* \ */) {
659
- captureSegment(state, captureStart, state.position, true);
660
- ch = state.input.charCodeAt(++state.position);
661
-
662
- if (is_EOL(ch)) {
663
- skipSeparationSpace(state, false, nodeIndent);
664
-
665
- // TODO: rework to inline fn with no type cast?
666
- } else if (ch < 256 && simpleEscapeCheck[ch]) {
667
- state.result += simpleEscapeMap[ch];
668
- state.position++;
669
-
670
- } else if ((tmp = escapedHexLen(ch)) > 0) {
671
- hexLength = tmp;
672
- hexResult = 0;
673
-
674
- for (; hexLength > 0; hexLength--) {
675
- ch = state.input.charCodeAt(++state.position);
676
-
677
- if ((tmp = fromHexCode(ch)) >= 0) {
678
- hexResult = (hexResult << 4) + tmp;
679
-
680
- } else {
681
- throwError(state, 'expected hexadecimal character');
682
- }
683
- }
684
-
685
- state.result += charFromCodepoint(hexResult);
686
-
687
- state.position++;
688
-
689
- } else {
690
- throwError(state, 'unknown escape sequence');
691
- }
692
-
693
- captureStart = captureEnd = state.position;
694
-
695
- } else if (is_EOL(ch)) {
696
- captureSegment(state, captureStart, captureEnd, true);
697
- writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
698
- captureStart = captureEnd = state.position;
699
-
700
- } else if (state.position === state.lineStart && testDocumentSeparator(state)) {
701
- throwError(state, 'unexpected end of the document within a double quoted scalar');
702
-
703
- } else {
704
- state.position++;
705
- captureEnd = state.position;
706
- }
707
- }
708
-
709
- throwError(state, 'unexpected end of the stream within a double quoted scalar');
710
- }
711
-
712
- function readFlowCollection(state, nodeIndent) {
713
- var readNext = true,
714
- _line,
715
- _lineStart,
716
- _pos,
717
- _tag = state.tag,
718
- _result,
719
- _anchor = state.anchor,
720
- following,
721
- terminator,
722
- isPair,
723
- isExplicitPair,
724
- isMapping,
725
- overridableKeys = Object.create(null),
726
- keyNode,
727
- keyTag,
728
- valueNode,
729
- ch;
730
-
731
- ch = state.input.charCodeAt(state.position);
732
-
733
- if (ch === 0x5B/* [ */) {
734
- terminator = 0x5D;/* ] */
735
- isMapping = false;
736
- _result = [];
737
- } else if (ch === 0x7B/* { */) {
738
- terminator = 0x7D;/* } */
739
- isMapping = true;
740
- _result = {};
741
- } else {
742
- return false;
743
- }
744
-
745
- if (state.anchor !== null) {
746
- state.anchorMap[state.anchor] = _result;
747
- }
748
-
749
- ch = state.input.charCodeAt(++state.position);
750
-
751
- while (ch !== 0) {
752
- skipSeparationSpace(state, true, nodeIndent);
753
-
754
- ch = state.input.charCodeAt(state.position);
755
-
756
- if (ch === terminator) {
757
- state.position++;
758
- state.tag = _tag;
759
- state.anchor = _anchor;
760
- state.kind = isMapping ? 'mapping' : 'sequence';
761
- state.result = _result;
762
- return true;
763
- } else if (!readNext) {
764
- throwError(state, 'missed comma between flow collection entries');
765
- } else if (ch === 0x2C/* , */) {
766
- // "flow collection entries can never be completely empty", as per YAML 1.2, section 7.4
767
- throwError(state, "expected the node content, but found ','");
768
- }
769
-
770
- keyTag = keyNode = valueNode = null;
771
- isPair = isExplicitPair = false;
772
-
773
- if (ch === 0x3F/* ? */) {
774
- following = state.input.charCodeAt(state.position + 1);
775
-
776
- if (is_WS_OR_EOL(following)) {
777
- isPair = isExplicitPair = true;
778
- state.position++;
779
- skipSeparationSpace(state, true, nodeIndent);
780
- }
781
- }
782
-
783
- _line = state.line; // Save the current line.
784
- _lineStart = state.lineStart;
785
- _pos = state.position;
786
- composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
787
- keyTag = state.tag;
788
- keyNode = state.result;
789
- skipSeparationSpace(state, true, nodeIndent);
790
-
791
- ch = state.input.charCodeAt(state.position);
792
-
793
- if ((isExplicitPair || state.line === _line) && ch === 0x3A/* : */) {
794
- isPair = true;
795
- ch = state.input.charCodeAt(++state.position);
796
- skipSeparationSpace(state, true, nodeIndent);
797
- composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
798
- valueNode = state.result;
799
- }
800
-
801
- if (isMapping) {
802
- storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos);
803
- } else if (isPair) {
804
- _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos));
805
- } else {
806
- _result.push(keyNode);
807
- }
808
-
809
- skipSeparationSpace(state, true, nodeIndent);
810
-
811
- ch = state.input.charCodeAt(state.position);
812
-
813
- if (ch === 0x2C/* , */) {
814
- readNext = true;
815
- ch = state.input.charCodeAt(++state.position);
816
- } else {
817
- readNext = false;
818
- }
819
- }
820
-
821
- throwError(state, 'unexpected end of the stream within a flow collection');
822
- }
823
-
824
- function readBlockScalar(state, nodeIndent) {
825
- var captureStart,
826
- folding,
827
- chomping = CHOMPING_CLIP,
828
- didReadContent = false,
829
- detectedIndent = false,
830
- textIndent = nodeIndent,
831
- emptyLines = 0,
832
- atMoreIndented = false,
833
- tmp,
834
- ch;
835
-
836
- ch = state.input.charCodeAt(state.position);
837
-
838
- if (ch === 0x7C/* | */) {
839
- folding = false;
840
- } else if (ch === 0x3E/* > */) {
841
- folding = true;
842
- } else {
843
- return false;
844
- }
845
-
846
- state.kind = 'scalar';
847
- state.result = '';
848
-
849
- while (ch !== 0) {
850
- ch = state.input.charCodeAt(++state.position);
851
-
852
- if (ch === 0x2B/* + */ || ch === 0x2D/* - */) {
853
- if (CHOMPING_CLIP === chomping) {
854
- chomping = (ch === 0x2B/* + */) ? CHOMPING_KEEP : CHOMPING_STRIP;
855
- } else {
856
- throwError(state, 'repeat of a chomping mode identifier');
857
- }
858
-
859
- } else if ((tmp = fromDecimalCode(ch)) >= 0) {
860
- if (tmp === 0) {
861
- throwError(state, 'bad explicit indentation width of a block scalar; it cannot be less than one');
862
- } else if (!detectedIndent) {
863
- textIndent = nodeIndent + tmp - 1;
864
- detectedIndent = true;
865
- } else {
866
- throwError(state, 'repeat of an indentation width identifier');
867
- }
868
-
869
- } else {
870
- break;
871
- }
872
- }
873
-
874
- if (is_WHITE_SPACE(ch)) {
875
- do { ch = state.input.charCodeAt(++state.position); }
876
- while (is_WHITE_SPACE(ch));
877
-
878
- if (ch === 0x23/* # */) {
879
- do { ch = state.input.charCodeAt(++state.position); }
880
- while (!is_EOL(ch) && (ch !== 0));
881
- }
882
- }
883
-
884
- while (ch !== 0) {
885
- readLineBreak(state);
886
- state.lineIndent = 0;
887
-
888
- ch = state.input.charCodeAt(state.position);
889
-
890
- while ((!detectedIndent || state.lineIndent < textIndent) &&
891
- (ch === 0x20/* Space */)) {
892
- state.lineIndent++;
893
- ch = state.input.charCodeAt(++state.position);
894
- }
895
-
896
- if (!detectedIndent && state.lineIndent > textIndent) {
897
- textIndent = state.lineIndent;
898
- }
899
-
900
- if (is_EOL(ch)) {
901
- emptyLines++;
902
- continue;
903
- }
904
-
905
- // End of the scalar.
906
- if (state.lineIndent < textIndent) {
907
-
908
- // Perform the chomping.
909
- if (chomping === CHOMPING_KEEP) {
910
- state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines);
911
- } else if (chomping === CHOMPING_CLIP) {
912
- if (didReadContent) { // i.e. only if the scalar is not empty.
913
- state.result += '\n';
914
- }
915
- }
916
-
917
- // Break this `while` cycle and go to the funciton's epilogue.
918
- break;
919
- }
920
-
921
- // Folded style: use fancy rules to handle line breaks.
922
- if (folding) {
923
-
924
- // Lines starting with white space characters (more-indented lines) are not folded.
925
- if (is_WHITE_SPACE(ch)) {
926
- atMoreIndented = true;
927
- // except for the first content line (cf. Example 8.1)
928
- state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines);
929
-
930
- // End of more-indented block.
931
- } else if (atMoreIndented) {
932
- atMoreIndented = false;
933
- state.result += common.repeat('\n', emptyLines + 1);
934
-
935
- // Just one line break - perceive as the same line.
936
- } else if (emptyLines === 0) {
937
- if (didReadContent) { // i.e. only if we have already read some scalar content.
938
- state.result += ' ';
939
- }
940
-
941
- // Several line breaks - perceive as different lines.
942
- } else {
943
- state.result += common.repeat('\n', emptyLines);
944
- }
945
-
946
- // Literal style: just add exact number of line breaks between content lines.
947
- } else {
948
- // Keep all line breaks except the header line break.
949
- state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines);
950
- }
951
-
952
- didReadContent = true;
953
- detectedIndent = true;
954
- emptyLines = 0;
955
- captureStart = state.position;
956
-
957
- while (!is_EOL(ch) && (ch !== 0)) {
958
- ch = state.input.charCodeAt(++state.position);
959
- }
960
-
961
- captureSegment(state, captureStart, state.position, false);
962
- }
963
-
964
- return true;
965
- }
966
-
967
- function readBlockSequence(state, nodeIndent) {
968
- var _line,
969
- _tag = state.tag,
970
- _anchor = state.anchor,
971
- _result = [],
972
- following,
973
- detected = false,
974
- ch;
975
-
976
- // there is a leading tab before this token, so it can't be a block sequence/mapping;
977
- // it can still be flow sequence/mapping or a scalar
978
- if (state.firstTabInLine !== -1) return false;
979
-
980
- if (state.anchor !== null) {
981
- state.anchorMap[state.anchor] = _result;
982
- }
983
-
984
- ch = state.input.charCodeAt(state.position);
985
-
986
- while (ch !== 0) {
987
- if (state.firstTabInLine !== -1) {
988
- state.position = state.firstTabInLine;
989
- throwError(state, 'tab characters must not be used in indentation');
990
- }
991
-
992
- if (ch !== 0x2D/* - */) {
993
- break;
994
- }
995
-
996
- following = state.input.charCodeAt(state.position + 1);
997
-
998
- if (!is_WS_OR_EOL(following)) {
999
- break;
1000
- }
1001
-
1002
- detected = true;
1003
- state.position++;
1004
-
1005
- if (skipSeparationSpace(state, true, -1)) {
1006
- if (state.lineIndent <= nodeIndent) {
1007
- _result.push(null);
1008
- ch = state.input.charCodeAt(state.position);
1009
- continue;
1010
- }
1011
- }
1012
-
1013
- _line = state.line;
1014
- composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);
1015
- _result.push(state.result);
1016
- skipSeparationSpace(state, true, -1);
1017
-
1018
- ch = state.input.charCodeAt(state.position);
1019
-
1020
- if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {
1021
- throwError(state, 'bad indentation of a sequence entry');
1022
- } else if (state.lineIndent < nodeIndent) {
1023
- break;
1024
- }
1025
- }
1026
-
1027
- if (detected) {
1028
- state.tag = _tag;
1029
- state.anchor = _anchor;
1030
- state.kind = 'sequence';
1031
- state.result = _result;
1032
- return true;
1033
- }
1034
- return false;
1035
- }
1036
-
1037
- function readBlockMapping(state, nodeIndent, flowIndent) {
1038
- var following,
1039
- allowCompact,
1040
- _line,
1041
- _keyLine,
1042
- _keyLineStart,
1043
- _keyPos,
1044
- _tag = state.tag,
1045
- _anchor = state.anchor,
1046
- _result = {},
1047
- overridableKeys = Object.create(null),
1048
- keyTag = null,
1049
- keyNode = null,
1050
- valueNode = null,
1051
- atExplicitKey = false,
1052
- detected = false,
1053
- ch;
1054
-
1055
- // there is a leading tab before this token, so it can't be a block sequence/mapping;
1056
- // it can still be flow sequence/mapping or a scalar
1057
- if (state.firstTabInLine !== -1) return false;
1058
-
1059
- if (state.anchor !== null) {
1060
- state.anchorMap[state.anchor] = _result;
1061
- }
1062
-
1063
- ch = state.input.charCodeAt(state.position);
1064
-
1065
- while (ch !== 0) {
1066
- if (!atExplicitKey && state.firstTabInLine !== -1) {
1067
- state.position = state.firstTabInLine;
1068
- throwError(state, 'tab characters must not be used in indentation');
1069
- }
1070
-
1071
- following = state.input.charCodeAt(state.position + 1);
1072
- _line = state.line; // Save the current line.
1073
-
1074
- //
1075
- // Explicit notation case. There are two separate blocks:
1076
- // first for the key (denoted by "?") and second for the value (denoted by ":")
1077
- //
1078
- if ((ch === 0x3F/* ? */ || ch === 0x3A/* : */) && is_WS_OR_EOL(following)) {
1079
-
1080
- if (ch === 0x3F/* ? */) {
1081
- if (atExplicitKey) {
1082
- storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
1083
- keyTag = keyNode = valueNode = null;
1084
- }
1085
-
1086
- detected = true;
1087
- atExplicitKey = true;
1088
- allowCompact = true;
1089
-
1090
- } else if (atExplicitKey) {
1091
- // i.e. 0x3A/* : */ === character after the explicit key.
1092
- atExplicitKey = false;
1093
- allowCompact = true;
1094
-
1095
- } else {
1096
- throwError(state, 'incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line');
1097
- }
1098
-
1099
- state.position += 1;
1100
- ch = following;
1101
-
1102
- //
1103
- // Implicit notation case. Flow-style node as the key first, then ":", and the value.
1104
- //
1105
- } else {
1106
- _keyLine = state.line;
1107
- _keyLineStart = state.lineStart;
1108
- _keyPos = state.position;
1109
-
1110
- if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {
1111
- // Neither implicit nor explicit notation.
1112
- // Reading is done. Go to the epilogue.
1113
- break;
1114
- }
1115
-
1116
- if (state.line === _line) {
1117
- ch = state.input.charCodeAt(state.position);
1118
-
1119
- while (is_WHITE_SPACE(ch)) {
1120
- ch = state.input.charCodeAt(++state.position);
1121
- }
1122
-
1123
- if (ch === 0x3A/* : */) {
1124
- ch = state.input.charCodeAt(++state.position);
1125
-
1126
- if (!is_WS_OR_EOL(ch)) {
1127
- throwError(state, 'a whitespace character is expected after the key-value separator within a block mapping');
1128
- }
1129
-
1130
- if (atExplicitKey) {
1131
- storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
1132
- keyTag = keyNode = valueNode = null;
1133
- }
1134
-
1135
- detected = true;
1136
- atExplicitKey = false;
1137
- allowCompact = false;
1138
- keyTag = state.tag;
1139
- keyNode = state.result;
1140
-
1141
- } else if (detected) {
1142
- throwError(state, 'can not read an implicit mapping pair; a colon is missed');
1143
-
1144
- } else {
1145
- state.tag = _tag;
1146
- state.anchor = _anchor;
1147
- return true; // Keep the result of `composeNode`.
1148
- }
1149
-
1150
- } else if (detected) {
1151
- throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key');
1152
-
1153
- } else {
1154
- state.tag = _tag;
1155
- state.anchor = _anchor;
1156
- return true; // Keep the result of `composeNode`.
1157
- }
1158
- }
1159
-
1160
- //
1161
- // Common reading code for both explicit and implicit notations.
1162
- //
1163
- if (state.line === _line || state.lineIndent > nodeIndent) {
1164
- if (atExplicitKey) {
1165
- _keyLine = state.line;
1166
- _keyLineStart = state.lineStart;
1167
- _keyPos = state.position;
1168
- }
1169
-
1170
- if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {
1171
- if (atExplicitKey) {
1172
- keyNode = state.result;
1173
- } else {
1174
- valueNode = state.result;
1175
- }
1176
- }
1177
-
1178
- if (!atExplicitKey) {
1179
- storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos);
1180
- keyTag = keyNode = valueNode = null;
1181
- }
1182
-
1183
- skipSeparationSpace(state, true, -1);
1184
- ch = state.input.charCodeAt(state.position);
1185
- }
1186
-
1187
- if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {
1188
- throwError(state, 'bad indentation of a mapping entry');
1189
- } else if (state.lineIndent < nodeIndent) {
1190
- break;
1191
- }
1192
- }
1193
-
1194
- //
1195
- // Epilogue.
1196
- //
1197
-
1198
- // Special case: last mapping's node contains only the key in explicit notation.
1199
- if (atExplicitKey) {
1200
- storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
1201
- }
1202
-
1203
- // Expose the resulting mapping.
1204
- if (detected) {
1205
- state.tag = _tag;
1206
- state.anchor = _anchor;
1207
- state.kind = 'mapping';
1208
- state.result = _result;
1209
- }
1210
-
1211
- return detected;
1212
- }
1213
-
1214
- function readTagProperty(state) {
1215
- var _position,
1216
- isVerbatim = false,
1217
- isNamed = false,
1218
- tagHandle,
1219
- tagName,
1220
- ch;
1221
-
1222
- ch = state.input.charCodeAt(state.position);
1223
-
1224
- if (ch !== 0x21/* ! */) return false;
1225
-
1226
- if (state.tag !== null) {
1227
- throwError(state, 'duplication of a tag property');
1228
- }
1229
-
1230
- ch = state.input.charCodeAt(++state.position);
1231
-
1232
- if (ch === 0x3C/* < */) {
1233
- isVerbatim = true;
1234
- ch = state.input.charCodeAt(++state.position);
1235
-
1236
- } else if (ch === 0x21/* ! */) {
1237
- isNamed = true;
1238
- tagHandle = '!!';
1239
- ch = state.input.charCodeAt(++state.position);
1240
-
1241
- } else {
1242
- tagHandle = '!';
1243
- }
1244
-
1245
- _position = state.position;
1246
-
1247
- if (isVerbatim) {
1248
- do { ch = state.input.charCodeAt(++state.position); }
1249
- while (ch !== 0 && ch !== 0x3E/* > */);
1250
-
1251
- if (state.position < state.length) {
1252
- tagName = state.input.slice(_position, state.position);
1253
- ch = state.input.charCodeAt(++state.position);
1254
- } else {
1255
- throwError(state, 'unexpected end of the stream within a verbatim tag');
1256
- }
1257
- } else {
1258
- while (ch !== 0 && !is_WS_OR_EOL(ch)) {
1259
-
1260
- if (ch === 0x21/* ! */) {
1261
- if (!isNamed) {
1262
- tagHandle = state.input.slice(_position - 1, state.position + 1);
1263
-
1264
- if (!PATTERN_TAG_HANDLE.test(tagHandle)) {
1265
- throwError(state, 'named tag handle cannot contain such characters');
1266
- }
1267
-
1268
- isNamed = true;
1269
- _position = state.position + 1;
1270
- } else {
1271
- throwError(state, 'tag suffix cannot contain exclamation marks');
1272
- }
1273
- }
1274
-
1275
- ch = state.input.charCodeAt(++state.position);
1276
- }
1277
-
1278
- tagName = state.input.slice(_position, state.position);
1279
-
1280
- if (PATTERN_FLOW_INDICATORS.test(tagName)) {
1281
- throwError(state, 'tag suffix cannot contain flow indicator characters');
1282
- }
1283
- }
1284
-
1285
- if (tagName && !PATTERN_TAG_URI.test(tagName)) {
1286
- throwError(state, 'tag name cannot contain such characters: ' + tagName);
1287
- }
1288
-
1289
- try {
1290
- tagName = decodeURIComponent(tagName);
1291
- } catch (err) {
1292
- throwError(state, 'tag name is malformed: ' + tagName);
1293
- }
1294
-
1295
- if (isVerbatim) {
1296
- state.tag = tagName;
1297
-
1298
- } else if (_hasOwnProperty.call(state.tagMap, tagHandle)) {
1299
- state.tag = state.tagMap[tagHandle] + tagName;
1300
-
1301
- } else if (tagHandle === '!') {
1302
- state.tag = '!' + tagName;
1303
-
1304
- } else if (tagHandle === '!!') {
1305
- state.tag = 'tag:yaml.org,2002:' + tagName;
1306
-
1307
- } else {
1308
- throwError(state, 'undeclared tag handle "' + tagHandle + '"');
1309
- }
1310
-
1311
- return true;
1312
- }
1313
-
1314
- function readAnchorProperty(state) {
1315
- var _position,
1316
- ch;
1317
-
1318
- ch = state.input.charCodeAt(state.position);
1319
-
1320
- if (ch !== 0x26/* & */) return false;
1321
-
1322
- if (state.anchor !== null) {
1323
- throwError(state, 'duplication of an anchor property');
1324
- }
1325
-
1326
- ch = state.input.charCodeAt(++state.position);
1327
- _position = state.position;
1328
-
1329
- while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
1330
- ch = state.input.charCodeAt(++state.position);
1331
- }
1332
-
1333
- if (state.position === _position) {
1334
- throwError(state, 'name of an anchor node must contain at least one character');
1335
- }
1336
-
1337
- state.anchor = state.input.slice(_position, state.position);
1338
- return true;
1339
- }
1340
-
1341
- function readAlias(state) {
1342
- var _position, alias,
1343
- ch;
1344
-
1345
- ch = state.input.charCodeAt(state.position);
1346
-
1347
- if (ch !== 0x2A/* * */) return false;
1348
-
1349
- ch = state.input.charCodeAt(++state.position);
1350
- _position = state.position;
1351
-
1352
- while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
1353
- ch = state.input.charCodeAt(++state.position);
1354
- }
1355
-
1356
- if (state.position === _position) {
1357
- throwError(state, 'name of an alias node must contain at least one character');
1358
- }
1359
-
1360
- alias = state.input.slice(_position, state.position);
1361
-
1362
- if (!_hasOwnProperty.call(state.anchorMap, alias)) {
1363
- throwError(state, 'unidentified alias "' + alias + '"');
1364
- }
1365
-
1366
- state.result = state.anchorMap[alias];
1367
- skipSeparationSpace(state, true, -1);
1368
- return true;
1369
- }
1370
-
1371
- function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {
1372
- var allowBlockStyles,
1373
- allowBlockScalars,
1374
- allowBlockCollections,
1375
- indentStatus = 1, // 1: this>parent, 0: this=parent, -1: this<parent
1376
- atNewLine = false,
1377
- hasContent = false,
1378
- typeIndex,
1379
- typeQuantity,
1380
- typeList,
1381
- type,
1382
- flowIndent,
1383
- blockIndent;
1384
-
1385
- if (state.listener !== null) {
1386
- state.listener('open', state);
1387
- }
1388
-
1389
- state.tag = null;
1390
- state.anchor = null;
1391
- state.kind = null;
1392
- state.result = null;
1393
-
1394
- allowBlockStyles = allowBlockScalars = allowBlockCollections =
1395
- CONTEXT_BLOCK_OUT === nodeContext ||
1396
- CONTEXT_BLOCK_IN === nodeContext;
1397
-
1398
- if (allowToSeek) {
1399
- if (skipSeparationSpace(state, true, -1)) {
1400
- atNewLine = true;
1401
-
1402
- if (state.lineIndent > parentIndent) {
1403
- indentStatus = 1;
1404
- } else if (state.lineIndent === parentIndent) {
1405
- indentStatus = 0;
1406
- } else if (state.lineIndent < parentIndent) {
1407
- indentStatus = -1;
1408
- }
1409
- }
1410
- }
1411
-
1412
- if (indentStatus === 1) {
1413
- while (readTagProperty(state) || readAnchorProperty(state)) {
1414
- if (skipSeparationSpace(state, true, -1)) {
1415
- atNewLine = true;
1416
- allowBlockCollections = allowBlockStyles;
1417
-
1418
- if (state.lineIndent > parentIndent) {
1419
- indentStatus = 1;
1420
- } else if (state.lineIndent === parentIndent) {
1421
- indentStatus = 0;
1422
- } else if (state.lineIndent < parentIndent) {
1423
- indentStatus = -1;
1424
- }
1425
- } else {
1426
- allowBlockCollections = false;
1427
- }
1428
- }
1429
- }
1430
-
1431
- if (allowBlockCollections) {
1432
- allowBlockCollections = atNewLine || allowCompact;
1433
- }
1434
-
1435
- if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
1436
- if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {
1437
- flowIndent = parentIndent;
1438
- } else {
1439
- flowIndent = parentIndent + 1;
1440
- }
1441
-
1442
- blockIndent = state.position - state.lineStart;
1443
-
1444
- if (indentStatus === 1) {
1445
- if (allowBlockCollections &&
1446
- (readBlockSequence(state, blockIndent) ||
1447
- readBlockMapping(state, blockIndent, flowIndent)) ||
1448
- readFlowCollection(state, flowIndent)) {
1449
- hasContent = true;
1450
- } else {
1451
- if ((allowBlockScalars && readBlockScalar(state, flowIndent)) ||
1452
- readSingleQuotedScalar(state, flowIndent) ||
1453
- readDoubleQuotedScalar(state, flowIndent)) {
1454
- hasContent = true;
1455
-
1456
- } else if (readAlias(state)) {
1457
- hasContent = true;
1458
-
1459
- if (state.tag !== null || state.anchor !== null) {
1460
- throwError(state, 'alias node should not have any properties');
1461
- }
1462
-
1463
- } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
1464
- hasContent = true;
1465
-
1466
- if (state.tag === null) {
1467
- state.tag = '?';
1468
- }
1469
- }
1470
-
1471
- if (state.anchor !== null) {
1472
- state.anchorMap[state.anchor] = state.result;
1473
- }
1474
- }
1475
- } else if (indentStatus === 0) {
1476
- // Special case: block sequences are allowed to have same indentation level as the parent.
1477
- // http://www.yaml.org/spec/1.2/spec.html#id2799784
1478
- hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
1479
- }
1480
- }
1481
-
1482
- if (state.tag === null) {
1483
- if (state.anchor !== null) {
1484
- state.anchorMap[state.anchor] = state.result;
1485
- }
1486
-
1487
- } else if (state.tag === '?') {
1488
- // Implicit resolving is not allowed for non-scalar types, and '?'
1489
- // non-specific tag is only automatically assigned to plain scalars.
1490
- //
1491
- // We only need to check kind conformity in case user explicitly assigns '?'
1492
- // tag, for example like this: "!<?> [0]"
1493
- //
1494
- if (state.result !== null && state.kind !== 'scalar') {
1495
- throwError(state, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + state.kind + '"');
1496
- }
1497
-
1498
- for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {
1499
- type = state.implicitTypes[typeIndex];
1500
-
1501
- if (type.resolve(state.result)) { // `state.result` updated in resolver if matched
1502
- state.result = type.construct(state.result);
1503
- state.tag = type.tag;
1504
- if (state.anchor !== null) {
1505
- state.anchorMap[state.anchor] = state.result;
1506
- }
1507
- break;
1508
- }
1509
- }
1510
- } else if (state.tag !== '!') {
1511
- if (_hasOwnProperty.call(state.typeMap[state.kind || 'fallback'], state.tag)) {
1512
- type = state.typeMap[state.kind || 'fallback'][state.tag];
1513
- } else {
1514
- // looking for multi type
1515
- type = null;
1516
- typeList = state.typeMap.multi[state.kind || 'fallback'];
1517
-
1518
- for (typeIndex = 0, typeQuantity = typeList.length; typeIndex < typeQuantity; typeIndex += 1) {
1519
- if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) {
1520
- type = typeList[typeIndex];
1521
- break;
1522
- }
1523
- }
1524
- }
1525
-
1526
- if (!type) {
1527
- throwError(state, 'unknown tag !<' + state.tag + '>');
1528
- }
1529
-
1530
- if (state.result !== null && type.kind !== state.kind) {
1531
- throwError(state, 'unacceptable node kind for !<' + state.tag + '> tag; it should be "' + type.kind + '", not "' + state.kind + '"');
1532
- }
1533
-
1534
- if (!type.resolve(state.result, state.tag)) { // `state.result` updated in resolver if matched
1535
- throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag');
1536
- } else {
1537
- state.result = type.construct(state.result, state.tag);
1538
- if (state.anchor !== null) {
1539
- state.anchorMap[state.anchor] = state.result;
1540
- }
1541
- }
1542
- }
1543
-
1544
- if (state.listener !== null) {
1545
- state.listener('close', state);
1546
- }
1547
- return state.tag !== null || state.anchor !== null || hasContent;
1548
- }
1549
-
1550
- function readDocument(state) {
1551
- var documentStart = state.position,
1552
- _position,
1553
- directiveName,
1554
- directiveArgs,
1555
- hasDirectives = false,
1556
- ch;
1557
-
1558
- state.version = null;
1559
- state.checkLineBreaks = state.legacy;
1560
- state.tagMap = Object.create(null);
1561
- state.anchorMap = Object.create(null);
1562
-
1563
- while ((ch = state.input.charCodeAt(state.position)) !== 0) {
1564
- skipSeparationSpace(state, true, -1);
1565
-
1566
- ch = state.input.charCodeAt(state.position);
1567
-
1568
- if (state.lineIndent > 0 || ch !== 0x25/* % */) {
1569
- break;
1570
- }
1571
-
1572
- hasDirectives = true;
1573
- ch = state.input.charCodeAt(++state.position);
1574
- _position = state.position;
1575
-
1576
- while (ch !== 0 && !is_WS_OR_EOL(ch)) {
1577
- ch = state.input.charCodeAt(++state.position);
1578
- }
1579
-
1580
- directiveName = state.input.slice(_position, state.position);
1581
- directiveArgs = [];
1582
-
1583
- if (directiveName.length < 1) {
1584
- throwError(state, 'directive name must not be less than one character in length');
1585
- }
1586
-
1587
- while (ch !== 0) {
1588
- while (is_WHITE_SPACE(ch)) {
1589
- ch = state.input.charCodeAt(++state.position);
1590
- }
1591
-
1592
- if (ch === 0x23/* # */) {
1593
- do { ch = state.input.charCodeAt(++state.position); }
1594
- while (ch !== 0 && !is_EOL(ch));
1595
- break;
1596
- }
1597
-
1598
- if (is_EOL(ch)) break;
1599
-
1600
- _position = state.position;
1601
-
1602
- while (ch !== 0 && !is_WS_OR_EOL(ch)) {
1603
- ch = state.input.charCodeAt(++state.position);
1604
- }
1605
-
1606
- directiveArgs.push(state.input.slice(_position, state.position));
1607
- }
1608
-
1609
- if (ch !== 0) readLineBreak(state);
1610
-
1611
- if (_hasOwnProperty.call(directiveHandlers, directiveName)) {
1612
- directiveHandlers[directiveName](state, directiveName, directiveArgs);
1613
- } else {
1614
- throwWarning(state, 'unknown document directive "' + directiveName + '"');
1615
- }
1616
- }
1617
-
1618
- skipSeparationSpace(state, true, -1);
1619
-
1620
- if (state.lineIndent === 0 &&
1621
- state.input.charCodeAt(state.position) === 0x2D/* - */ &&
1622
- state.input.charCodeAt(state.position + 1) === 0x2D/* - */ &&
1623
- state.input.charCodeAt(state.position + 2) === 0x2D/* - */) {
1624
- state.position += 3;
1625
- skipSeparationSpace(state, true, -1);
1626
-
1627
- } else if (hasDirectives) {
1628
- throwError(state, 'directives end mark is expected');
1629
- }
1630
-
1631
- composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
1632
- skipSeparationSpace(state, true, -1);
1633
-
1634
- if (state.checkLineBreaks &&
1635
- PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {
1636
- throwWarning(state, 'non-ASCII line breaks are interpreted as content');
1637
- }
1638
-
1639
- state.documents.push(state.result);
1640
-
1641
- if (state.position === state.lineStart && testDocumentSeparator(state)) {
1642
-
1643
- if (state.input.charCodeAt(state.position) === 0x2E/* . */) {
1644
- state.position += 3;
1645
- skipSeparationSpace(state, true, -1);
1646
- }
1647
- return;
1648
- }
1649
-
1650
- if (state.position < (state.length - 1)) {
1651
- throwError(state, 'end of the stream or a document separator is expected');
1652
- } else {
1653
- return;
1654
- }
1655
- }
1656
-
1657
-
1658
- function loadDocuments(input, options) {
1659
- input = String(input);
1660
- options = options || {};
1661
-
1662
- if (input.length !== 0) {
1663
-
1664
- // Add tailing `\n` if not exists
1665
- if (input.charCodeAt(input.length - 1) !== 0x0A/* LF */ &&
1666
- input.charCodeAt(input.length - 1) !== 0x0D/* CR */) {
1667
- input += '\n';
1668
- }
1669
-
1670
- // Strip BOM
1671
- if (input.charCodeAt(0) === 0xFEFF) {
1672
- input = input.slice(1);
1673
- }
1674
- }
1675
-
1676
- var state = new State(input, options);
1677
-
1678
- var nullpos = input.indexOf('\0');
1679
-
1680
- if (nullpos !== -1) {
1681
- state.position = nullpos;
1682
- throwError(state, 'null byte is not allowed in input');
1683
- }
1684
-
1685
- // Use 0 as string terminator. That significantly simplifies bounds check.
1686
- state.input += '\0';
1687
-
1688
- while (state.input.charCodeAt(state.position) === 0x20/* Space */) {
1689
- state.lineIndent += 1;
1690
- state.position += 1;
1691
- }
1692
-
1693
- while (state.position < (state.length - 1)) {
1694
- readDocument(state);
1695
- }
1696
-
1697
- return state.documents;
1698
- }
1699
-
1700
-
1701
- function loadAll(input, iterator, options) {
1702
- if (iterator !== null && typeof iterator === 'object' && typeof options === 'undefined') {
1703
- options = iterator;
1704
- iterator = null;
1705
- }
1706
-
1707
- var documents = loadDocuments(input, options);
1708
-
1709
- if (typeof iterator !== 'function') {
1710
- return documents;
1711
- }
1712
-
1713
- for (var index = 0, length = documents.length; index < length; index += 1) {
1714
- iterator(documents[index]);
1715
- }
1716
- }
1717
-
1718
-
1719
- function load(input, options) {
1720
- var documents = loadDocuments(input, options);
1721
-
1722
- if (documents.length === 0) {
1723
- /*eslint-disable no-undefined*/
1724
- return undefined;
1725
- } else if (documents.length === 1) {
1726
- return documents[0];
1727
- }
1728
- throw new YAMLException('expected a single document in the stream, but found more');
1729
- }
1730
-
1731
-
1732
- module.exports.loadAll = loadAll;
1733
- module.exports.load = load;