@kubb/agent 5.0.0-alpha.36 → 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 (1300) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/server/chunks/nitro/nitro.mjs +156 -155
  3. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  4. package/.output/server/chunks/routes/api/health.get.mjs +1 -14
  5. package/.output/server/chunks/routes/api/health.get.mjs.map +1 -1
  6. package/.output/server/index.mjs +1 -14
  7. package/.output/server/index.mjs.map +1 -1
  8. package/.output/server/package.json +2 -109
  9. package/package.json +5 -19
  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/.nitro/ws@8.18.0/lib/constants.js +0 -18
  177. package/.output/server/node_modules/.nitro/ws@8.18.0/lib/permessage-deflate.js +0 -514
  178. package/.output/server/node_modules/.nitro/ws@8.18.0/lib/sender.js +0 -602
  179. package/.output/server/node_modules/.nitro/ws@8.18.0/lib/stream.js +0 -159
  180. package/.output/server/node_modules/.nitro/ws@8.18.0/lib/websocket-server.js +0 -540
  181. package/.output/server/node_modules/.nitro/ws@8.18.0/lib/websocket.js +0 -1388
  182. package/.output/server/node_modules/.nitro/ws@8.18.0/package.json +0 -69
  183. package/.output/server/node_modules/.nitro/ws@8.18.0/wrapper.mjs +0 -8
  184. package/.output/server/node_modules/.nitro/ws@8.20.0/lib/buffer-util.js +0 -131
  185. package/.output/server/node_modules/.nitro/ws@8.20.0/lib/event-target.js +0 -292
  186. package/.output/server/node_modules/.nitro/ws@8.20.0/lib/extension.js +0 -203
  187. package/.output/server/node_modules/.nitro/ws@8.20.0/lib/limiter.js +0 -55
  188. package/.output/server/node_modules/.nitro/ws@8.20.0/lib/receiver.js +0 -706
  189. package/.output/server/node_modules/.nitro/ws@8.20.0/lib/subprotocol.js +0 -62
  190. package/.output/server/node_modules/.nitro/ws@8.20.0/lib/validation.js +0 -152
  191. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/bundle.js +0 -302
  192. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/dereference.js +0 -289
  193. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/index.js +0 -216
  194. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/normalize-args.js +0 -55
  195. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/options.js +0 -135
  196. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parse.js +0 -178
  197. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/binary.js +0 -35
  198. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/json.js +0 -62
  199. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/text.js +0 -42
  200. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/yaml.js +0 -58
  201. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/pointer.js +0 -334
  202. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/ref.js +0 -308
  203. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/refs.js +0 -244
  204. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolve-external.js +0 -143
  205. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/file.js +0 -81
  206. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/http.js +0 -158
  207. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/convert-path-to-posix.js +0 -14
  208. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/errors.js +0 -170
  209. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/is-windows.js +0 -6
  210. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/maybe.js +0 -24
  211. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/next.js +0 -16
  212. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/plugins.js +0 -132
  213. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/url.js +0 -491
  214. package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/package.json +0 -112
  215. package/.output/server/node_modules/@babel/code-frame/lib/index.js +0 -217
  216. package/.output/server/node_modules/@babel/code-frame/package.json +0 -32
  217. package/.output/server/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
  218. package/.output/server/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
  219. package/.output/server/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
  220. package/.output/server/node_modules/@babel/helper-validator-identifier/package.json +0 -31
  221. package/.output/server/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
  222. package/.output/server/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
  223. package/.output/server/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
  224. package/.output/server/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
  225. package/.output/server/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
  226. package/.output/server/node_modules/@babel/runtime/helpers/createClass.js +0 -13
  227. package/.output/server/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
  228. package/.output/server/node_modules/@babel/runtime/helpers/get.js +0 -11
  229. package/.output/server/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
  230. package/.output/server/node_modules/@babel/runtime/helpers/inherits.js +0 -14
  231. package/.output/server/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
  232. package/.output/server/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
  233. package/.output/server/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
  234. package/.output/server/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
  235. package/.output/server/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
  236. package/.output/server/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
  237. package/.output/server/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
  238. package/.output/server/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
  239. package/.output/server/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
  240. package/.output/server/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
  241. package/.output/server/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
  242. package/.output/server/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
  243. package/.output/server/node_modules/@babel/runtime/helpers/typeof.js +0 -10
  244. package/.output/server/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
  245. package/.output/server/node_modules/@babel/runtime/package.json +0 -1107
  246. package/.output/server/node_modules/@clack/core/dist/index.mjs +0 -11
  247. package/.output/server/node_modules/@clack/core/package.json +0 -60
  248. package/.output/server/node_modules/@clack/prompts/dist/index.mjs +0 -137
  249. package/.output/server/node_modules/@clack/prompts/package.json +0 -65
  250. package/.output/server/node_modules/@humanwhocodes/momoa/api.js +0 -1144
  251. package/.output/server/node_modules/@humanwhocodes/momoa/package.json +0 -49
  252. package/.output/server/node_modules/@kubb/ast/dist/chunk--u3MIqq1.js +0 -8
  253. package/.output/server/node_modules/@kubb/ast/dist/index.js +0 -423
  254. package/.output/server/node_modules/@kubb/ast/package.json +0 -70
  255. package/.output/server/node_modules/@kubb/core/dist/chunk--u3MIqq1.js +0 -8
  256. package/.output/server/node_modules/@kubb/core/dist/hooks.js +0 -23
  257. package/.output/server/node_modules/@kubb/core/dist/index.js +0 -2311
  258. package/.output/server/node_modules/@kubb/core/package.json +0 -109
  259. package/.output/server/node_modules/@kubb/fabric-core/dist/chunk-O_arW02_.js +0 -17
  260. package/.output/server/node_modules/@kubb/fabric-core/dist/defaultParser-iCpMSYCp.js +0 -15
  261. package/.output/server/node_modules/@kubb/fabric-core/dist/getRelativePath-NAm_Y-vp.js +0 -55
  262. package/.output/server/node_modules/@kubb/fabric-core/dist/index.js +0 -653
  263. package/.output/server/node_modules/@kubb/fabric-core/dist/onProcessExit-Cput7j2c.js +0 -742
  264. package/.output/server/node_modules/@kubb/fabric-core/dist/parsers/typescript.js +0 -101
  265. package/.output/server/node_modules/@kubb/fabric-core/dist/parsers.js +0 -17
  266. package/.output/server/node_modules/@kubb/fabric-core/dist/plugins.js +0 -375
  267. package/.output/server/node_modules/@kubb/fabric-core/package.json +0 -111
  268. package/.output/server/node_modules/@kubb/oas/dist/chunk--u3MIqq1.js +0 -8
  269. package/.output/server/node_modules/@kubb/oas/dist/index.js +0 -918
  270. package/.output/server/node_modules/@kubb/oas/package.json +0 -94
  271. package/.output/server/node_modules/@kubb/plugin-client/dist/StaticClassClient-bCe7RG_w.js +0 -636
  272. package/.output/server/node_modules/@kubb/plugin-client/dist/chunk--u3MIqq1.js +0 -8
  273. package/.output/server/node_modules/@kubb/plugin-client/dist/components.js +0 -2
  274. package/.output/server/node_modules/@kubb/plugin-client/dist/generators-BffddRNu.js +0 -723
  275. package/.output/server/node_modules/@kubb/plugin-client/dist/index.js +0 -124
  276. package/.output/server/node_modules/@kubb/plugin-client/dist/templates/clients/axios.source.js +0 -6
  277. package/.output/server/node_modules/@kubb/plugin-client/dist/templates/clients/fetch.source.js +0 -6
  278. package/.output/server/node_modules/@kubb/plugin-client/dist/templates/config.source.js +0 -6
  279. package/.output/server/node_modules/@kubb/plugin-client/package.json +0 -153
  280. package/.output/server/node_modules/@kubb/plugin-cypress/dist/chunk--u3MIqq1.js +0 -8
  281. package/.output/server/node_modules/@kubb/plugin-cypress/dist/components-BK_6GU4v.js +0 -257
  282. package/.output/server/node_modules/@kubb/plugin-cypress/dist/generators-D5YFtyyC.js +0 -71
  283. package/.output/server/node_modules/@kubb/plugin-cypress/dist/index.js +0 -79
  284. package/.output/server/node_modules/@kubb/plugin-cypress/package.json +0 -108
  285. package/.output/server/node_modules/@kubb/plugin-faker/dist/chunk--u3MIqq1.js +0 -8
  286. package/.output/server/node_modules/@kubb/plugin-faker/dist/components-BkBIov4R.js +0 -419
  287. package/.output/server/node_modules/@kubb/plugin-faker/dist/fakerGenerator-BztogaeO.js +0 -200
  288. package/.output/server/node_modules/@kubb/plugin-faker/dist/index.js +0 -141
  289. package/.output/server/node_modules/@kubb/plugin-faker/package.json +0 -103
  290. package/.output/server/node_modules/@kubb/plugin-mcp/dist/Server-H3SwqhwF.js +0 -178
  291. package/.output/server/node_modules/@kubb/plugin-mcp/dist/chunk--u3MIqq1.js +0 -8
  292. package/.output/server/node_modules/@kubb/plugin-mcp/dist/generators-BqkMrcs9.js +0 -274
  293. package/.output/server/node_modules/@kubb/plugin-mcp/dist/index.js +0 -122
  294. package/.output/server/node_modules/@kubb/plugin-mcp/package.json +0 -107
  295. package/.output/server/node_modules/@kubb/plugin-msw/dist/chunk--u3MIqq1.js +0 -8
  296. package/.output/server/node_modules/@kubb/plugin-msw/dist/components-DgtTZkWX.js +0 -277
  297. package/.output/server/node_modules/@kubb/plugin-msw/dist/generators-C34kqa1L.js +0 -161
  298. package/.output/server/node_modules/@kubb/plugin-msw/dist/index.js +0 -84
  299. package/.output/server/node_modules/@kubb/plugin-msw/package.json +0 -109
  300. package/.output/server/node_modules/@kubb/plugin-oas/dist/SchemaMapper-CqMkO2T1.js +0 -58
  301. package/.output/server/node_modules/@kubb/plugin-oas/dist/chunk--u3MIqq1.js +0 -8
  302. package/.output/server/node_modules/@kubb/plugin-oas/dist/generators-D7C3CXsN.js +0 -79
  303. package/.output/server/node_modules/@kubb/plugin-oas/dist/generators.js +0 -2
  304. package/.output/server/node_modules/@kubb/plugin-oas/dist/getFooter-Pw3tLCiV.js +0 -112
  305. package/.output/server/node_modules/@kubb/plugin-oas/dist/hooks.js +0 -200
  306. package/.output/server/node_modules/@kubb/plugin-oas/dist/index.js +0 -408
  307. package/.output/server/node_modules/@kubb/plugin-oas/dist/requestBody-pRavthCw.js +0 -1336
  308. package/.output/server/node_modules/@kubb/plugin-oas/dist/utils.js +0 -268
  309. package/.output/server/node_modules/@kubb/plugin-oas/package.json +0 -122
  310. package/.output/server/node_modules/@kubb/plugin-react-query/dist/chunk--u3MIqq1.js +0 -8
  311. package/.output/server/node_modules/@kubb/plugin-react-query/dist/components-CpyHYGOw.js +0 -1520
  312. package/.output/server/node_modules/@kubb/plugin-react-query/dist/generators-CpiBv5eE.js +0 -1427
  313. package/.output/server/node_modules/@kubb/plugin-react-query/dist/index.js +0 -166
  314. package/.output/server/node_modules/@kubb/plugin-react-query/package.json +0 -112
  315. package/.output/server/node_modules/@kubb/plugin-redoc/dist/chunk--u3MIqq1.js +0 -8
  316. package/.output/server/node_modules/@kubb/plugin-redoc/dist/index.js +0 -65
  317. package/.output/server/node_modules/@kubb/plugin-redoc/package.json +0 -85
  318. package/.output/server/node_modules/@kubb/plugin-redoc/static/redoc.hbs +0 -22
  319. package/.output/server/node_modules/@kubb/plugin-solid-query/dist/chunk--u3MIqq1.js +0 -8
  320. package/.output/server/node_modules/@kubb/plugin-solid-query/dist/components-BhStIi1M.js +0 -665
  321. package/.output/server/node_modules/@kubb/plugin-solid-query/dist/generators-CQClzsST.js +0 -415
  322. package/.output/server/node_modules/@kubb/plugin-solid-query/dist/index.js +0 -145
  323. package/.output/server/node_modules/@kubb/plugin-solid-query/package.json +0 -113
  324. package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/chunk--u3MIqq1.js +0 -8
  325. package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/components-DntKBsnB.js +0 -666
  326. package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/generators-BtTsGGrM.js +0 -414
  327. package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/index.js +0 -145
  328. package/.output/server/node_modules/@kubb/plugin-svelte-query/package.json +0 -113
  329. package/.output/server/node_modules/@kubb/plugin-swr/dist/chunk--u3MIqq1.js +0 -8
  330. package/.output/server/node_modules/@kubb/plugin-swr/dist/components-DRDGvgXG.js +0 -702
  331. package/.output/server/node_modules/@kubb/plugin-swr/dist/generators-ClWZJ-YG.js +0 -399
  332. package/.output/server/node_modules/@kubb/plugin-swr/dist/index.js +0 -144
  333. package/.output/server/node_modules/@kubb/plugin-swr/package.json +0 -115
  334. package/.output/server/node_modules/@kubb/plugin-ts/dist/chunk--u3MIqq1.js +0 -8
  335. package/.output/server/node_modules/@kubb/plugin-ts/dist/components-C7fu-sK1.js +0 -723
  336. package/.output/server/node_modules/@kubb/plugin-ts/dist/index.js +0 -2
  337. package/.output/server/node_modules/@kubb/plugin-ts/dist/plugin-CYC-FGXe.js +0 -479
  338. package/.output/server/node_modules/@kubb/plugin-ts/package.json +0 -105
  339. package/.output/server/node_modules/@kubb/plugin-vue-query/dist/chunk--u3MIqq1.js +0 -8
  340. package/.output/server/node_modules/@kubb/plugin-vue-query/dist/components-_AMBl0g-.js +0 -1029
  341. package/.output/server/node_modules/@kubb/plugin-vue-query/dist/generators-Zb1s5Wmb.js +0 -661
  342. package/.output/server/node_modules/@kubb/plugin-vue-query/dist/index.js +0 -157
  343. package/.output/server/node_modules/@kubb/plugin-vue-query/package.json +0 -114
  344. package/.output/server/node_modules/@kubb/plugin-zod/dist/chunk--u3MIqq1.js +0 -8
  345. package/.output/server/node_modules/@kubb/plugin-zod/dist/components-eECfXVou.js +0 -842
  346. package/.output/server/node_modules/@kubb/plugin-zod/dist/generators-D1R6NNf2.js +0 -290
  347. package/.output/server/node_modules/@kubb/plugin-zod/dist/index.js +0 -175
  348. package/.output/server/node_modules/@kubb/plugin-zod/dist/templates/ToZod.source.js +0 -6
  349. package/.output/server/node_modules/@kubb/plugin-zod/package.json +0 -112
  350. package/.output/server/node_modules/@kubb/react-fabric/dist/chunk-BGCRLu6H.js +0 -38
  351. package/.output/server/node_modules/@kubb/react-fabric/dist/index.js +0 -525
  352. package/.output/server/node_modules/@kubb/react-fabric/dist/jsx-runtime-Bl0DfUmV.js +0 -1448
  353. package/.output/server/node_modules/@kubb/react-fabric/dist/jsx-runtime.js +0 -12
  354. package/.output/server/node_modules/@kubb/react-fabric/dist/parsers.js +0 -2
  355. package/.output/server/node_modules/@kubb/react-fabric/dist/plugins.js +0 -4
  356. package/.output/server/node_modules/@kubb/react-fabric/dist/reactPlugin-QQPrjNuQ.js +0 -17813
  357. package/.output/server/node_modules/@kubb/react-fabric/package.json +0 -143
  358. package/.output/server/node_modules/@readme/better-ajv-errors/lib/helpers.js +0 -129
  359. package/.output/server/node_modules/@readme/better-ajv-errors/lib/index.js +0 -46
  360. package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/get-decorated-data-path.js +0 -47
  361. package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/get-meta-from-path.js +0 -33
  362. package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/index.js +0 -20
  363. package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/utils.js +0 -14
  364. package/.output/server/node_modules/@readme/better-ajv-errors/lib/utils.js +0 -57
  365. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/additional-prop.js +0 -53
  366. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/base.js +0 -109
  367. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/default.js +0 -55
  368. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/enum.js +0 -81
  369. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/index.js +0 -48
  370. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/pattern.js +0 -56
  371. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/required.js +0 -64
  372. package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/unevaluated-prop.js +0 -53
  373. package/.output/server/node_modules/@readme/better-ajv-errors/package.json +0 -68
  374. package/.output/server/node_modules/@readme/http-status-codes/package.json +0 -25
  375. package/.output/server/node_modules/@readme/http-status-codes/src/index.js +0 -142
  376. package/.output/server/node_modules/@readme/openapi-parser/dist/chunk-IYQ77VVR.js +0 -25
  377. package/.output/server/node_modules/@readme/openapi-parser/dist/index.js +0 -923
  378. package/.output/server/node_modules/@readme/openapi-parser/dist/lib/assertions.js +0 -15
  379. package/.output/server/node_modules/@readme/openapi-parser/package.json +0 -84
  380. package/.output/server/node_modules/@readme/openapi-schemas/dist/index.mjs +0 -6153
  381. package/.output/server/node_modules/@readme/openapi-schemas/package.json +0 -67
  382. package/.output/server/node_modules/@readme/postman-to-openapi/package.json +0 -70
  383. package/.output/server/node_modules/@readme/postman-to-openapi/src/index.js +0 -714
  384. package/.output/server/node_modules/@readme/postman-to-openapi/src/md-utils.js +0 -38
  385. package/.output/server/node_modules/@readme/postman-to-openapi/src/var-replacer.js +0 -25
  386. package/.output/server/node_modules/@redocly/config/lib/asyncapi-config-schema.js +0 -53
  387. package/.output/server/node_modules/@redocly/config/lib/common.js +0 -103
  388. package/.output/server/node_modules/@redocly/config/lib/constants/config.js +0 -17
  389. package/.output/server/node_modules/@redocly/config/lib/constants/entities.js +0 -58
  390. package/.output/server/node_modules/@redocly/config/lib/constants/enum.js +0 -6
  391. package/.output/server/node_modules/@redocly/config/lib/constants/shared.js +0 -22
  392. package/.output/server/node_modules/@redocly/config/lib/default-theme-config-schema.js +0 -57
  393. package/.output/server/node_modules/@redocly/config/lib/entities-catalog-config-schema.js +0 -186
  394. package/.output/server/node_modules/@redocly/config/lib/entities-catalog-entity-file-schema.js +0 -283
  395. package/.output/server/node_modules/@redocly/config/lib/ex-theme-config-schemas.js +0 -687
  396. package/.output/server/node_modules/@redocly/config/lib/feedback-config-schema.js +0 -88
  397. package/.output/server/node_modules/@redocly/config/lib/graphql-config-schema.js +0 -157
  398. package/.output/server/node_modules/@redocly/config/lib/index.js +0 -41
  399. package/.output/server/node_modules/@redocly/config/lib/product-override-schema.js +0 -44
  400. package/.output/server/node_modules/@redocly/config/lib/redoc-config-schema.js +0 -120
  401. package/.output/server/node_modules/@redocly/config/lib/reference-docs-config-schema.js +0 -518
  402. package/.output/server/node_modules/@redocly/config/lib/remove-property-recursively.js +0 -28
  403. package/.output/server/node_modules/@redocly/config/lib/reunite-config-schema.js +0 -103
  404. package/.output/server/node_modules/@redocly/config/lib/root-config-schema.js +0 -588
  405. package/.output/server/node_modules/@redocly/config/lib/scorecards-config-schema.js +0 -242
  406. package/.output/server/node_modules/@redocly/config/lib/types/api-functions-types.js +0 -3
  407. package/.output/server/node_modules/@redocly/config/lib/types/catalog-entity-types.js +0 -3
  408. package/.output/server/node_modules/@redocly/config/lib/types/code-walkthrough-types.js +0 -3
  409. package/.output/server/node_modules/@redocly/config/lib/types/config-types.js +0 -3
  410. package/.output/server/node_modules/@redocly/config/lib/types/index.js +0 -21
  411. package/.output/server/node_modules/@redocly/config/lib/types/portal-shared-types.js +0 -18
  412. package/.output/server/node_modules/@redocly/config/package.json +0 -28
  413. package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-document.js +0 -100
  414. package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-visitor.js +0 -260
  415. package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle.js +0 -74
  416. package/.output/server/node_modules/@redocly/openapi-core/lib/config/all.js +0 -315
  417. package/.output/server/node_modules/@redocly/openapi-core/lib/config/builtIn.js +0 -58
  418. package/.output/server/node_modules/@redocly/openapi-core/lib/config/bundle-extends.js +0 -28
  419. package/.output/server/node_modules/@redocly/openapi-core/lib/config/config-resolvers.js +0 -344
  420. package/.output/server/node_modules/@redocly/openapi-core/lib/config/config.js +0 -343
  421. package/.output/server/node_modules/@redocly/openapi-core/lib/config/constants.js +0 -13
  422. package/.output/server/node_modules/@redocly/openapi-core/lib/config/get-resolve-config.js +0 -9
  423. package/.output/server/node_modules/@redocly/openapi-core/lib/config/group-assertion-rules.js +0 -51
  424. package/.output/server/node_modules/@redocly/openapi-core/lib/config/index.js +0 -8
  425. package/.output/server/node_modules/@redocly/openapi-core/lib/config/load.js +0 -98
  426. package/.output/server/node_modules/@redocly/openapi-core/lib/config/minimal.js +0 -294
  427. package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended-strict.js +0 -294
  428. package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended.js +0 -294
  429. package/.output/server/node_modules/@redocly/openapi-core/lib/config/rules.js +0 -35
  430. package/.output/server/node_modules/@redocly/openapi-core/lib/config/spec.js +0 -294
  431. package/.output/server/node_modules/@redocly/openapi-core/lib/config/types.js +0 -2
  432. package/.output/server/node_modules/@redocly/openapi-core/lib/config/utils.js +0 -129
  433. package/.output/server/node_modules/@redocly/openapi-core/lib/config/visitors.js +0 -99
  434. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/arazzo/index.js +0 -2
  435. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async2/index.js +0 -2
  436. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async3/index.js +0 -2
  437. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-helper.js +0 -65
  438. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-in.js +0 -67
  439. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-out.js +0 -67
  440. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-description-override.js +0 -21
  441. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-override.js +0 -14
  442. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/media-type-examples-override.js +0 -58
  443. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/operation-description-override.js +0 -27
  444. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/remove-x-internal.js +0 -68
  445. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/tag-description-override.js +0 -23
  446. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/index.js +0 -19
  447. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/remove-unused-components.js +0 -97
  448. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/index.js +0 -21
  449. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/remove-unused-components.js +0 -120
  450. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/openrpc/index.js +0 -2
  451. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/overlay1/index.js +0 -2
  452. package/.output/server/node_modules/@redocly/openapi-core/lib/detect-spec.js +0 -79
  453. package/.output/server/node_modules/@redocly/openapi-core/lib/env.js +0 -5
  454. package/.output/server/node_modules/@redocly/openapi-core/lib/errors/yaml-parse-error.js +0 -14
  455. package/.output/server/node_modules/@redocly/openapi-core/lib/format/codeframes.js +0 -177
  456. package/.output/server/node_modules/@redocly/openapi-core/lib/format/format.js +0 -365
  457. package/.output/server/node_modules/@redocly/openapi-core/lib/index.js +0 -50
  458. package/.output/server/node_modules/@redocly/openapi-core/lib/js-yaml/index.js +0 -11
  459. package/.output/server/node_modules/@redocly/openapi-core/lib/lint-entity.js +0 -171
  460. package/.output/server/node_modules/@redocly/openapi-core/lib/lint.js +0 -123
  461. package/.output/server/node_modules/@redocly/openapi-core/lib/logger.js +0 -56
  462. package/.output/server/node_modules/@redocly/openapi-core/lib/oas-types.js +0 -35
  463. package/.output/server/node_modules/@redocly/openapi-core/lib/ref-utils.js +0 -110
  464. package/.output/server/node_modules/@redocly/openapi-core/lib/resolve.js +0 -326
  465. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/ajv.js +0 -106
  466. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/criteria-unique.js +0 -68
  467. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/index.js +0 -54
  468. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/outputs-defined.js +0 -139
  469. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/parameters-unique.js +0 -27
  470. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/requestBody-replacements-unique.js +0 -30
  471. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescription-type.js +0 -19
  472. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-name-unique.js +0 -21
  473. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-not-empty.js +0 -15
  474. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onFailure-unique.js +0 -27
  475. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onSuccess-unique.js +0 -27
  476. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/stepId-unique.js +0 -23
  477. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflow-dependsOn.js +0 -53
  478. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflowId-unique.js +0 -19
  479. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/channels-kebab-case.js +0 -16
  480. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/index.js +0 -34
  481. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/no-channel-trailing-slash.js +0 -13
  482. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/channels-kebab-case.js +0 -16
  483. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/index.js +0 -34
  484. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/no-channel-trailing-slash.js +0 -13
  485. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/catalog-entity/entity-key-valid.js +0 -39
  486. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/asserts.js +0 -272
  487. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/index.js +0 -22
  488. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/utils.js +0 -215
  489. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-contact.js +0 -14
  490. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license-strict.js +0 -23
  491. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license.js +0 -14
  492. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-ambiguous-paths.js +0 -42
  493. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-duplicated-tag-names.js +0 -21
  494. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-enum-type-mismatch.js +0 -38
  495. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-http-verbs-in-paths.js +0 -33
  496. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-identical-paths.js +0 -21
  497. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-parameter-examples.js +0 -32
  498. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-schema-examples.js +0 -34
  499. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-mixed-number-range-constraints.js +0 -19
  500. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-path-trailing-slash.js +0 -13
  501. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-required-schema-properties-undefined.js +0 -64
  502. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-schema-type-mismatch.js +0 -19
  503. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-unresolved-refs.js +0 -42
  504. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-2xx-response.js +0 -20
  505. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-4xx-response.js +0 -20
  506. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-description.js +0 -9
  507. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-unique.js +0 -17
  508. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-url-safe.js +0 -15
  509. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId.js +0 -13
  510. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-parameters-unique.js +0 -37
  511. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-singular-tag.js +0 -13
  512. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-summary.js +0 -9
  513. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-tag-defined.js +0 -27
  514. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/parameter-description.js +0 -19
  515. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-declaration-must-exist.js +0 -13
  516. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-http-verbs-order.js +0 -23
  517. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-not-include-query.js +0 -15
  518. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-params-defined.js +0 -145
  519. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-segment-plural.js +0 -30
  520. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/paths-kebab-case.js +0 -17
  521. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/required-string-property-missing-min-length.js +0 -34
  522. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/response-contains-header.js +0 -26
  523. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/scalar-property-missing-example.js +0 -39
  524. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/security-defined.js +0 -62
  525. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/spec-strict-refs.js +0 -27
  526. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/struct.js +0 -150
  527. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tag-description.js +0 -9
  528. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tags-alphabetical.js +0 -18
  529. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/boolean-parameter-prefixes.js +0 -19
  530. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/index.js +0 -93
  531. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/request-mime-type.js +0 -14
  532. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-contains-property.js +0 -34
  533. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-mime-type.js +0 -14
  534. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/array-parameter-serialization.js +0 -26
  535. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/boolean-parameter-prefixes.js +0 -21
  536. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/component-name-unique.js +0 -130
  537. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/index.js +0 -131
  538. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-empty-servers.js +0 -20
  539. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-example-value-and-externalValue.js +0 -13
  540. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-invalid-media-type-examples.js +0 -59
  541. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-example.com.js +0 -15
  542. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-trailing-slash.js +0 -15
  543. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-variables-empty-enum.js +0 -58
  544. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-undefined-server-variable.js +0 -28
  545. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-unused-components.js +0 -83
  546. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/nullable-type-sibling.js +0 -15
  547. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/operation-4xx-problem-details-rfc7807.js +0 -33
  548. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/request-mime-type.js +0 -28
  549. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-contains-property.js +0 -36
  550. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-mime-type.js +0 -28
  551. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-components-invalid-map-name.js +0 -59
  552. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-discriminator-defaultMapping.js +0 -53
  553. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-example-values.js +0 -31
  554. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-encoding-combinations.js +0 -16
  555. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-tag-parents.js +0 -38
  556. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-querystring-parameters.js +0 -65
  557. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/index.js +0 -20
  558. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/no-unused-components.js +0 -82
  559. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-duplicated-method-params.js +0 -28
  560. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-required-params-after-optional.js +0 -31
  561. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/other/stats.js +0 -190
  562. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/overlay1/index.js +0 -12
  563. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-criteria-xpath.js +0 -20
  564. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.js +0 -30
  565. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-scheme-name-without-openapi.js +0 -25
  566. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/respect-supported-versions.js +0 -18
  567. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-name-reference.js +0 -35
  568. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-required-values.js +0 -60
  569. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/utils.js +0 -181
  570. package/.output/server/node_modules/@redocly/openapi-core/lib/types/arazzo.js +0 -482
  571. package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi2.js +0 -1157
  572. package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi3.js +0 -511
  573. package/.output/server/node_modules/@redocly/openapi-core/lib/types/entity.js +0 -32
  574. package/.output/server/node_modules/@redocly/openapi-core/lib/types/index.js +0 -90
  575. package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-adapter.js +0 -181
  576. package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-draft7.shared.js +0 -101
  577. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas2.js +0 -454
  578. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3.js +0 -828
  579. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_1.js +0 -292
  580. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_2.js +0 -312
  581. package/.output/server/node_modules/@redocly/openapi-core/lib/types/openrpc.js +0 -360
  582. package/.output/server/node_modules/@redocly/openapi-core/lib/types/overlay.js +0 -61
  583. package/.output/server/node_modules/@redocly/openapi-core/lib/types/redocly-yaml.js +0 -577
  584. package/.output/server/node_modules/@redocly/openapi-core/lib/typings/arazzo.js +0 -3
  585. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/assign-config.js +0 -28
  586. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/dequal.js +0 -36
  587. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/does-yaml-file-exist.js +0 -7
  588. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/error.js +0 -3
  589. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-intersection-length.js +0 -11
  590. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-matching-status-code-range.js +0 -4
  591. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-own.js +0 -4
  592. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/identity.js +0 -4
  593. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-custom-rule-id.js +0 -4
  594. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-defined.js +0 -4
  595. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-array.js +0 -4
  596. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-object.js +0 -5
  597. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-array.js +0 -4
  598. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-object.js +0 -6
  599. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-string.js +0 -5
  600. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-ordered.js +0 -27
  601. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-path-parameter.js +0 -4
  602. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-plain-object.js +0 -4
  603. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-string.js +0 -4
  604. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-truthy.js +0 -4
  605. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/keys-of.js +0 -6
  606. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/make-ref-id.js +0 -4
  607. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/next-tick.js +0 -6
  608. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/oas-has-component.js +0 -4
  609. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/omit.js +0 -8
  610. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pause.js +0 -4
  611. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pluralize.js +0 -8
  612. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/read-file-from-url.js +0 -26
  613. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/regex-from-string.js +0 -5
  614. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/scorecards.js +0 -99
  615. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/slash.js +0 -11
  616. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/split-camel-case-into-words.js +0 -13
  617. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/stack.js +0 -7
  618. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/validate-mime-type.js +0 -31
  619. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/yaml-fs-helper.js +0 -23
  620. package/.output/server/node_modules/@redocly/openapi-core/lib/visitors.js +0 -177
  621. package/.output/server/node_modules/@redocly/openapi-core/lib/walk.js +0 -315
  622. package/.output/server/node_modules/@redocly/openapi-core/package.json +0 -74
  623. package/.output/server/node_modules/@stoplight/ordered-object-literal/package.json +0 -53
  624. package/.output/server/node_modules/@stoplight/ordered-object-literal/src/index.cjs +0 -221
  625. package/.output/server/node_modules/@stoplight/types/dist/index.js +0 -129
  626. package/.output/server/node_modules/@stoplight/types/package.json +0 -81
  627. package/.output/server/node_modules/@stoplight/yaml/buildJsonPath.js +0 -41
  628. package/.output/server/node_modules/@stoplight/yaml/dereferenceAnchor.js +0 -38
  629. package/.output/server/node_modules/@stoplight/yaml/getJsonPathForPosition.js +0 -98
  630. package/.output/server/node_modules/@stoplight/yaml/getLocationForJsonPath.js +0 -145
  631. package/.output/server/node_modules/@stoplight/yaml/index.js +0 -16
  632. package/.output/server/node_modules/@stoplight/yaml/lineForPosition.js +0 -31
  633. package/.output/server/node_modules/@stoplight/yaml/package.json +0 -33
  634. package/.output/server/node_modules/@stoplight/yaml/parse.js +0 -5
  635. package/.output/server/node_modules/@stoplight/yaml/parseWithPointers.js +0 -456
  636. package/.output/server/node_modules/@stoplight/yaml/safeStringify.js +0 -5
  637. package/.output/server/node_modules/@stoplight/yaml/trapAccess.js +0 -11
  638. package/.output/server/node_modules/@stoplight/yaml/types.js +0 -6
  639. package/.output/server/node_modules/@stoplight/yaml/utils.js +0 -4
  640. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/common.js +0 -45
  641. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/dumper.js +0 -710
  642. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/exception.js +0 -35
  643. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/index.js +0 -22
  644. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/loader.js +0 -1414
  645. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/mark.js +0 -58
  646. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/scalarInference.js +0 -90
  647. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/core.js +0 -8
  648. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/default_full.js +0 -14
  649. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/default_safe.js +0 -19
  650. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/failsafe.js +0 -10
  651. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/json.js +0 -14
  652. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema.js +0 -77
  653. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/binary.js +0 -92
  654. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/bool.js +0 -32
  655. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/float.js +0 -94
  656. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/int.js +0 -159
  657. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/js/regexp.js +0 -64
  658. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/js/undefined.js +0 -22
  659. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/map.js +0 -7
  660. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/merge.js +0 -10
  661. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/null.js +0 -30
  662. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/omap.js +0 -46
  663. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/pairs.js +0 -55
  664. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/seq.js +0 -7
  665. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/set.js +0 -22
  666. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/str.js +0 -7
  667. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/timestamp.js +0 -70
  668. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type.js +0 -53
  669. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/yamlAST.js +0 -81
  670. package/.output/server/node_modules/@stoplight/yaml-ast-parser/package.json +0 -38
  671. package/.output/server/node_modules/ajv-draft-04/dist/index.js +0 -50
  672. package/.output/server/node_modules/ajv-draft-04/dist/refs/json-schema-draft-04.json +0 -138
  673. package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/core.js +0 -13
  674. package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/draft4.js +0 -16
  675. package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/validation/index.js +0 -35
  676. package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.js +0 -44
  677. package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js +0 -19
  678. package/.output/server/node_modules/ajv-draft-04/package.json +0 -74
  679. package/.output/server/node_modules/ajv-formats/dist/formats.js +0 -208
  680. package/.output/server/node_modules/ajv-formats/dist/index.js +0 -37
  681. package/.output/server/node_modules/ajv-formats/dist/limit.js +0 -69
  682. package/.output/server/node_modules/ajv-formats/package.json +0 -74
  683. package/.output/server/node_modules/buffer-from/index.js +0 -72
  684. package/.output/server/node_modules/buffer-from/package.json +0 -19
  685. package/.output/server/node_modules/call-me-maybe/package.json +0 -45
  686. package/.output/server/node_modules/call-me-maybe/src/maybe.js +0 -18
  687. package/.output/server/node_modules/call-me-maybe/src/next.js +0 -15
  688. package/.output/server/node_modules/colorette/index.js +0 -82
  689. package/.output/server/node_modules/colorette/package.json +0 -39
  690. package/.output/server/node_modules/compute-gcd/lib/index.js +0 -212
  691. package/.output/server/node_modules/compute-gcd/package.json +0 -73
  692. package/.output/server/node_modules/compute-lcm/lib/index.js +0 -111
  693. package/.output/server/node_modules/compute-lcm/package.json +0 -71
  694. package/.output/server/node_modules/d/index.js +0 -62
  695. package/.output/server/node_modules/d/package.json +0 -92
  696. package/.output/server/node_modules/empathic/access.js +0 -39
  697. package/.output/server/node_modules/empathic/access.mjs +0 -34
  698. package/.output/server/node_modules/empathic/find.js +0 -81
  699. package/.output/server/node_modules/empathic/find.mjs +0 -76
  700. package/.output/server/node_modules/empathic/package.json +0 -49
  701. package/.output/server/node_modules/empathic/package.mjs +0 -52
  702. package/.output/server/node_modules/empathic/resolve.js +0 -31
  703. package/.output/server/node_modules/empathic/resolve.mjs +0 -27
  704. package/.output/server/node_modules/empathic/walk.js +0 -22
  705. package/.output/server/node_modules/empathic/walk.mjs +0 -20
  706. package/.output/server/node_modules/es5-ext/array/#/e-index-of.js +0 -28
  707. package/.output/server/node_modules/es5-ext/array/from/index.js +0 -3
  708. package/.output/server/node_modules/es5-ext/array/from/is-implemented.js +0 -9
  709. package/.output/server/node_modules/es5-ext/array/from/shim.js +0 -119
  710. package/.output/server/node_modules/es5-ext/array/to-array.js +0 -6
  711. package/.output/server/node_modules/es5-ext/error/custom.js +0 -20
  712. package/.output/server/node_modules/es5-ext/function/_define-length.js +0 -54
  713. package/.output/server/node_modules/es5-ext/function/is-arguments.js +0 -6
  714. package/.output/server/node_modules/es5-ext/function/is-function.js +0 -8
  715. package/.output/server/node_modules/es5-ext/function/noop.js +0 -4
  716. package/.output/server/node_modules/es5-ext/math/sign/index.js +0 -3
  717. package/.output/server/node_modules/es5-ext/math/sign/is-implemented.js +0 -7
  718. package/.output/server/node_modules/es5-ext/math/sign/shim.js +0 -7
  719. package/.output/server/node_modules/es5-ext/number/is-nan/index.js +0 -3
  720. package/.output/server/node_modules/es5-ext/number/is-nan/is-implemented.js +0 -7
  721. package/.output/server/node_modules/es5-ext/number/is-nan/shim.js +0 -6
  722. package/.output/server/node_modules/es5-ext/number/to-integer.js +0 -12
  723. package/.output/server/node_modules/es5-ext/number/to-pos-integer.js +0 -6
  724. package/.output/server/node_modules/es5-ext/object/_iterate.js +0 -30
  725. package/.output/server/node_modules/es5-ext/object/assign/index.js +0 -3
  726. package/.output/server/node_modules/es5-ext/object/assign/is-implemented.js +0 -9
  727. package/.output/server/node_modules/es5-ext/object/assign/shim.js +0 -23
  728. package/.output/server/node_modules/es5-ext/object/for-each.js +0 -3
  729. package/.output/server/node_modules/es5-ext/object/is-callable.js +0 -5
  730. package/.output/server/node_modules/es5-ext/object/is-object.js +0 -7
  731. package/.output/server/node_modules/es5-ext/object/is-value.js +0 -5
  732. package/.output/server/node_modules/es5-ext/object/keys/index.js +0 -3
  733. package/.output/server/node_modules/es5-ext/object/keys/is-implemented.js +0 -10
  734. package/.output/server/node_modules/es5-ext/object/keys/shim.js +0 -7
  735. package/.output/server/node_modules/es5-ext/object/map.js +0 -14
  736. package/.output/server/node_modules/es5-ext/object/mixin.js +0 -26
  737. package/.output/server/node_modules/es5-ext/object/normalize-options.js +0 -20
  738. package/.output/server/node_modules/es5-ext/object/primitive-set.js +0 -10
  739. package/.output/server/node_modules/es5-ext/object/valid-callable.js +0 -6
  740. package/.output/server/node_modules/es5-ext/object/valid-value.js +0 -8
  741. package/.output/server/node_modules/es5-ext/object/validate-stringifiable-value.js +0 -6
  742. package/.output/server/node_modules/es5-ext/object/validate-stringifiable.js +0 -12
  743. package/.output/server/node_modules/es5-ext/package.json +0 -127
  744. package/.output/server/node_modules/es5-ext/safe-to-string.js +0 -12
  745. package/.output/server/node_modules/es5-ext/string/#/contains/index.js +0 -3
  746. package/.output/server/node_modules/es5-ext/string/#/contains/is-implemented.js +0 -8
  747. package/.output/server/node_modules/es5-ext/string/#/contains/shim.js +0 -7
  748. package/.output/server/node_modules/es5-ext/string/is-string.js +0 -13
  749. package/.output/server/node_modules/es5-ext/to-short-string-representation.js +0 -16
  750. package/.output/server/node_modules/es6-symbol/index.js +0 -5
  751. package/.output/server/node_modules/es6-symbol/is-implemented.js +0 -20
  752. package/.output/server/node_modules/es6-symbol/is-symbol.js +0 -9
  753. package/.output/server/node_modules/es6-symbol/lib/private/generate-name.js +0 -28
  754. package/.output/server/node_modules/es6-symbol/lib/private/setup/standard-symbols.js +0 -34
  755. package/.output/server/node_modules/es6-symbol/lib/private/setup/symbol-registry.js +0 -23
  756. package/.output/server/node_modules/es6-symbol/package.json +0 -107
  757. package/.output/server/node_modules/es6-symbol/polyfill.js +0 -86
  758. package/.output/server/node_modules/es6-symbol/validate-symbol.js +0 -8
  759. package/.output/server/node_modules/event-emitter/index.js +0 -132
  760. package/.output/server/node_modules/event-emitter/package.json +0 -34
  761. package/.output/server/node_modules/ext/global-this/implementation.js +0 -31
  762. package/.output/server/node_modules/ext/global-this/index.js +0 -3
  763. package/.output/server/node_modules/ext/global-this/is-implemented.js +0 -7
  764. package/.output/server/node_modules/ext/package.json +0 -152
  765. package/.output/server/node_modules/fast-deep-equal/index.js +0 -46
  766. package/.output/server/node_modules/fast-deep-equal/package.json +0 -61
  767. package/.output/server/node_modules/fast-safe-stringify/index.js +0 -229
  768. package/.output/server/node_modules/fast-safe-stringify/package.json +0 -46
  769. package/.output/server/node_modules/fast-string-truncated-width/dist/index.js +0 -171
  770. package/.output/server/node_modules/fast-string-truncated-width/dist/utils.js +0 -15
  771. package/.output/server/node_modules/fast-string-truncated-width/package.json +0 -35
  772. package/.output/server/node_modules/fast-string-width/dist/index.js +0 -14
  773. package/.output/server/node_modules/fast-string-width/package.json +0 -34
  774. package/.output/server/node_modules/fast-uri/index.js +0 -340
  775. package/.output/server/node_modules/fast-uri/lib/schemes.js +0 -267
  776. package/.output/server/node_modules/fast-uri/lib/utils.js +0 -336
  777. package/.output/server/node_modules/fast-uri/package.json +0 -69
  778. package/.output/server/node_modules/fast-wrap-ansi/lib/main.js +0 -216
  779. package/.output/server/node_modules/fast-wrap-ansi/package.json +0 -51
  780. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/base.js +0 -116
  781. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js +0 -31
  782. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js +0 -116
  783. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js +0 -168
  784. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js +0 -566
  785. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js +0 -228
  786. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js +0 -1166
  787. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js +0 -737
  788. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js +0 -186
  789. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js +0 -140
  790. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js +0 -221
  791. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js +0 -29
  792. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/decorators.js +0 -16
  793. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/exception.js +0 -64
  794. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js +0 -39
  795. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js +0 -104
  796. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js +0 -25
  797. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js +0 -46
  798. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js +0 -26
  799. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js +0 -16
  800. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js +0 -43
  801. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers.js +0 -57
  802. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js +0 -78
  803. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js +0 -19
  804. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/logger.js +0 -47
  805. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js +0 -30
  806. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/runtime.js +0 -379
  807. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/safe-string.js +0 -15
  808. package/.output/server/node_modules/handlebars/dist/cjs/handlebars/utils.js +0 -124
  809. package/.output/server/node_modules/handlebars/dist/cjs/handlebars.js +0 -66
  810. package/.output/server/node_modules/handlebars/dist/cjs/handlebars.runtime.js +0 -66
  811. package/.output/server/node_modules/handlebars/lib/index.js +0 -26
  812. package/.output/server/node_modules/handlebars/package.json +0 -134
  813. package/.output/server/node_modules/http2-client/lib/http.js +0 -17
  814. package/.output/server/node_modules/http2-client/lib/https.js +0 -18
  815. package/.output/server/node_modules/http2-client/lib/index.js +0 -21
  816. package/.output/server/node_modules/http2-client/lib/request-options.js +0 -38
  817. package/.output/server/node_modules/http2-client/lib/request.js +0 -586
  818. package/.output/server/node_modules/http2-client/lib/utils.js +0 -67
  819. package/.output/server/node_modules/http2-client/package.json +0 -38
  820. package/.output/server/node_modules/is-promise/index.js +0 -6
  821. package/.output/server/node_modules/is-promise/package.json +0 -23
  822. package/.output/server/node_modules/js-levenshtein/index.js +0 -105
  823. package/.output/server/node_modules/js-levenshtein/package.json +0 -49
  824. package/.output/server/node_modules/js-tokens/index.js +0 -23
  825. package/.output/server/node_modules/js-tokens/package.json +0 -30
  826. package/.output/server/node_modules/js-yaml/dist/js-yaml.mjs +0 -3856
  827. package/.output/server/node_modules/js-yaml/index.js +0 -47
  828. package/.output/server/node_modules/js-yaml/lib/common.js +0 -59
  829. package/.output/server/node_modules/js-yaml/lib/dumper.js +0 -965
  830. package/.output/server/node_modules/js-yaml/lib/exception.js +0 -55
  831. package/.output/server/node_modules/js-yaml/lib/loader.js +0 -1733
  832. package/.output/server/node_modules/js-yaml/lib/schema/core.js +0 -11
  833. package/.output/server/node_modules/js-yaml/lib/schema/default.js +0 -22
  834. package/.output/server/node_modules/js-yaml/lib/schema/failsafe.js +0 -17
  835. package/.output/server/node_modules/js-yaml/lib/schema/json.js +0 -19
  836. package/.output/server/node_modules/js-yaml/lib/schema.js +0 -121
  837. package/.output/server/node_modules/js-yaml/lib/snippet.js +0 -101
  838. package/.output/server/node_modules/js-yaml/lib/type/binary.js +0 -125
  839. package/.output/server/node_modules/js-yaml/lib/type/bool.js +0 -35
  840. package/.output/server/node_modules/js-yaml/lib/type/float.js +0 -97
  841. package/.output/server/node_modules/js-yaml/lib/type/int.js +0 -156
  842. package/.output/server/node_modules/js-yaml/lib/type/map.js +0 -8
  843. package/.output/server/node_modules/js-yaml/lib/type/merge.js +0 -12
  844. package/.output/server/node_modules/js-yaml/lib/type/null.js +0 -35
  845. package/.output/server/node_modules/js-yaml/lib/type/omap.js +0 -44
  846. package/.output/server/node_modules/js-yaml/lib/type/pairs.js +0 -53
  847. package/.output/server/node_modules/js-yaml/lib/type/seq.js +0 -8
  848. package/.output/server/node_modules/js-yaml/lib/type/set.js +0 -29
  849. package/.output/server/node_modules/js-yaml/lib/type/str.js +0 -8
  850. package/.output/server/node_modules/js-yaml/lib/type/timestamp.js +0 -88
  851. package/.output/server/node_modules/js-yaml/lib/type.js +0 -66
  852. package/.output/server/node_modules/js-yaml/package.json +0 -66
  853. package/.output/server/node_modules/json-schema-compare/package.json +0 -52
  854. package/.output/server/node_modules/json-schema-compare/src/index.js +0 -184
  855. package/.output/server/node_modules/json-schema-merge-allof/package.json +0 -57
  856. package/.output/server/node_modules/json-schema-merge-allof/src/common.js +0 -45
  857. package/.output/server/node_modules/json-schema-merge-allof/src/complex-resolvers/items.js +0 -98
  858. package/.output/server/node_modules/json-schema-merge-allof/src/complex-resolvers/properties.js +0 -80
  859. package/.output/server/node_modules/json-schema-merge-allof/src/index.js +0 -343
  860. package/.output/server/node_modules/json-schema-traverse/index.js +0 -93
  861. package/.output/server/node_modules/json-schema-traverse/package.json +0 -43
  862. package/.output/server/node_modules/jsonc-parser/lib/umd/impl/edit.js +0 -201
  863. package/.output/server/node_modules/jsonc-parser/lib/umd/impl/format.js +0 -265
  864. package/.output/server/node_modules/jsonc-parser/lib/umd/impl/parser.js +0 -655
  865. package/.output/server/node_modules/jsonc-parser/lib/umd/impl/scanner.js +0 -456
  866. package/.output/server/node_modules/jsonc-parser/lib/umd/main.js +0 -194
  867. package/.output/server/node_modules/jsonc-parser/package.json +0 -40
  868. package/.output/server/node_modules/jsonpointer/jsonpointer.js +0 -100
  869. package/.output/server/node_modules/jsonpointer/package.json +0 -48
  870. package/.output/server/node_modules/leven/index.js +0 -77
  871. package/.output/server/node_modules/leven/package.json +0 -57
  872. package/.output/server/node_modules/lodash/_DataView.js +0 -7
  873. package/.output/server/node_modules/lodash/_Hash.js +0 -32
  874. package/.output/server/node_modules/lodash/_ListCache.js +0 -32
  875. package/.output/server/node_modules/lodash/_Map.js +0 -7
  876. package/.output/server/node_modules/lodash/_MapCache.js +0 -32
  877. package/.output/server/node_modules/lodash/_Promise.js +0 -7
  878. package/.output/server/node_modules/lodash/_Set.js +0 -7
  879. package/.output/server/node_modules/lodash/_SetCache.js +0 -27
  880. package/.output/server/node_modules/lodash/_Stack.js +0 -27
  881. package/.output/server/node_modules/lodash/_Symbol.js +0 -6
  882. package/.output/server/node_modules/lodash/_Uint8Array.js +0 -6
  883. package/.output/server/node_modules/lodash/_WeakMap.js +0 -7
  884. package/.output/server/node_modules/lodash/_apply.js +0 -21
  885. package/.output/server/node_modules/lodash/_arrayEach.js +0 -22
  886. package/.output/server/node_modules/lodash/_arrayFilter.js +0 -25
  887. package/.output/server/node_modules/lodash/_arrayIncludes.js +0 -17
  888. package/.output/server/node_modules/lodash/_arrayIncludesWith.js +0 -22
  889. package/.output/server/node_modules/lodash/_arrayLikeKeys.js +0 -49
  890. package/.output/server/node_modules/lodash/_arrayMap.js +0 -21
  891. package/.output/server/node_modules/lodash/_arrayPush.js +0 -20
  892. package/.output/server/node_modules/lodash/_arraySome.js +0 -23
  893. package/.output/server/node_modules/lodash/_assignMergeValue.js +0 -20
  894. package/.output/server/node_modules/lodash/_assignValue.js +0 -28
  895. package/.output/server/node_modules/lodash/_assocIndexOf.js +0 -21
  896. package/.output/server/node_modules/lodash/_baseAssign.js +0 -17
  897. package/.output/server/node_modules/lodash/_baseAssignIn.js +0 -17
  898. package/.output/server/node_modules/lodash/_baseAssignValue.js +0 -25
  899. package/.output/server/node_modules/lodash/_baseClone.js +0 -166
  900. package/.output/server/node_modules/lodash/_baseCreate.js +0 -30
  901. package/.output/server/node_modules/lodash/_baseDifference.js +0 -67
  902. package/.output/server/node_modules/lodash/_baseEach.js +0 -14
  903. package/.output/server/node_modules/lodash/_baseFindIndex.js +0 -24
  904. package/.output/server/node_modules/lodash/_baseFlatten.js +0 -38
  905. package/.output/server/node_modules/lodash/_baseFor.js +0 -16
  906. package/.output/server/node_modules/lodash/_baseForOwn.js +0 -16
  907. package/.output/server/node_modules/lodash/_baseGet.js +0 -24
  908. package/.output/server/node_modules/lodash/_baseGetAllKeys.js +0 -20
  909. package/.output/server/node_modules/lodash/_baseGetTag.js +0 -28
  910. package/.output/server/node_modules/lodash/_baseHasIn.js +0 -13
  911. package/.output/server/node_modules/lodash/_baseIndexOf.js +0 -20
  912. package/.output/server/node_modules/lodash/_baseIndexOfWith.js +0 -23
  913. package/.output/server/node_modules/lodash/_baseIntersection.js +0 -74
  914. package/.output/server/node_modules/lodash/_baseIsArguments.js +0 -18
  915. package/.output/server/node_modules/lodash/_baseIsEqual.js +0 -28
  916. package/.output/server/node_modules/lodash/_baseIsEqualDeep.js +0 -83
  917. package/.output/server/node_modules/lodash/_baseIsMap.js +0 -18
  918. package/.output/server/node_modules/lodash/_baseIsMatch.js +0 -62
  919. package/.output/server/node_modules/lodash/_baseIsNaN.js +0 -12
  920. package/.output/server/node_modules/lodash/_baseIsNative.js +0 -47
  921. package/.output/server/node_modules/lodash/_baseIsSet.js +0 -18
  922. package/.output/server/node_modules/lodash/_baseIsTypedArray.js +0 -60
  923. package/.output/server/node_modules/lodash/_baseIteratee.js +0 -31
  924. package/.output/server/node_modules/lodash/_baseKeys.js +0 -30
  925. package/.output/server/node_modules/lodash/_baseKeysIn.js +0 -33
  926. package/.output/server/node_modules/lodash/_baseMap.js +0 -22
  927. package/.output/server/node_modules/lodash/_baseMatches.js +0 -22
  928. package/.output/server/node_modules/lodash/_baseMatchesProperty.js +0 -33
  929. package/.output/server/node_modules/lodash/_baseMerge.js +0 -42
  930. package/.output/server/node_modules/lodash/_baseMergeDeep.js +0 -94
  931. package/.output/server/node_modules/lodash/_baseOrderBy.js +0 -49
  932. package/.output/server/node_modules/lodash/_baseProperty.js +0 -14
  933. package/.output/server/node_modules/lodash/_basePropertyDeep.js +0 -16
  934. package/.output/server/node_modules/lodash/_basePullAll.js +0 -51
  935. package/.output/server/node_modules/lodash/_baseRest.js +0 -17
  936. package/.output/server/node_modules/lodash/_baseSetToString.js +0 -22
  937. package/.output/server/node_modules/lodash/_baseSortBy.js +0 -21
  938. package/.output/server/node_modules/lodash/_baseTimes.js +0 -20
  939. package/.output/server/node_modules/lodash/_baseToString.js +0 -37
  940. package/.output/server/node_modules/lodash/_baseUnary.js +0 -14
  941. package/.output/server/node_modules/lodash/_baseUniq.js +0 -72
  942. package/.output/server/node_modules/lodash/_cacheHas.js +0 -13
  943. package/.output/server/node_modules/lodash/_castArrayLikeObject.js +0 -14
  944. package/.output/server/node_modules/lodash/_castFunction.js +0 -14
  945. package/.output/server/node_modules/lodash/_castPath.js +0 -21
  946. package/.output/server/node_modules/lodash/_cloneArrayBuffer.js +0 -16
  947. package/.output/server/node_modules/lodash/_cloneBuffer.js +0 -35
  948. package/.output/server/node_modules/lodash/_cloneDataView.js +0 -16
  949. package/.output/server/node_modules/lodash/_cloneRegExp.js +0 -17
  950. package/.output/server/node_modules/lodash/_cloneSymbol.js +0 -18
  951. package/.output/server/node_modules/lodash/_cloneTypedArray.js +0 -16
  952. package/.output/server/node_modules/lodash/_compareAscending.js +0 -41
  953. package/.output/server/node_modules/lodash/_compareMultiple.js +0 -44
  954. package/.output/server/node_modules/lodash/_copyArray.js +0 -20
  955. package/.output/server/node_modules/lodash/_copyObject.js +0 -40
  956. package/.output/server/node_modules/lodash/_copySymbols.js +0 -16
  957. package/.output/server/node_modules/lodash/_copySymbolsIn.js +0 -16
  958. package/.output/server/node_modules/lodash/_coreJsData.js +0 -6
  959. package/.output/server/node_modules/lodash/_createAssigner.js +0 -37
  960. package/.output/server/node_modules/lodash/_createBaseEach.js +0 -32
  961. package/.output/server/node_modules/lodash/_createBaseFor.js +0 -25
  962. package/.output/server/node_modules/lodash/_createSet.js +0 -19
  963. package/.output/server/node_modules/lodash/_customDefaultsMerge.js +0 -28
  964. package/.output/server/node_modules/lodash/_defineProperty.js +0 -11
  965. package/.output/server/node_modules/lodash/_equalArrays.js +0 -84
  966. package/.output/server/node_modules/lodash/_equalByTag.js +0 -112
  967. package/.output/server/node_modules/lodash/_equalObjects.js +0 -90
  968. package/.output/server/node_modules/lodash/_freeGlobal.js +0 -4
  969. package/.output/server/node_modules/lodash/_getAllKeys.js +0 -16
  970. package/.output/server/node_modules/lodash/_getAllKeysIn.js +0 -17
  971. package/.output/server/node_modules/lodash/_getMapData.js +0 -18
  972. package/.output/server/node_modules/lodash/_getMatchData.js +0 -24
  973. package/.output/server/node_modules/lodash/_getNative.js +0 -17
  974. package/.output/server/node_modules/lodash/_getPrototype.js +0 -6
  975. package/.output/server/node_modules/lodash/_getRawTag.js +0 -46
  976. package/.output/server/node_modules/lodash/_getSymbols.js +0 -30
  977. package/.output/server/node_modules/lodash/_getSymbolsIn.js +0 -25
  978. package/.output/server/node_modules/lodash/_getTag.js +0 -58
  979. package/.output/server/node_modules/lodash/_getValue.js +0 -13
  980. package/.output/server/node_modules/lodash/_hasPath.js +0 -39
  981. package/.output/server/node_modules/lodash/_hashClear.js +0 -15
  982. package/.output/server/node_modules/lodash/_hashDelete.js +0 -17
  983. package/.output/server/node_modules/lodash/_hashGet.js +0 -30
  984. package/.output/server/node_modules/lodash/_hashHas.js +0 -23
  985. package/.output/server/node_modules/lodash/_hashSet.js +0 -23
  986. package/.output/server/node_modules/lodash/_initCloneArray.js +0 -26
  987. package/.output/server/node_modules/lodash/_initCloneByTag.js +0 -77
  988. package/.output/server/node_modules/lodash/_initCloneObject.js +0 -18
  989. package/.output/server/node_modules/lodash/_isFlattenable.js +0 -20
  990. package/.output/server/node_modules/lodash/_isIndex.js +0 -25
  991. package/.output/server/node_modules/lodash/_isIterateeCall.js +0 -30
  992. package/.output/server/node_modules/lodash/_isKey.js +0 -29
  993. package/.output/server/node_modules/lodash/_isKeyable.js +0 -15
  994. package/.output/server/node_modules/lodash/_isMasked.js +0 -20
  995. package/.output/server/node_modules/lodash/_isPrototype.js +0 -18
  996. package/.output/server/node_modules/lodash/_isStrictComparable.js +0 -15
  997. package/.output/server/node_modules/lodash/_listCacheClear.js +0 -13
  998. package/.output/server/node_modules/lodash/_listCacheDelete.js +0 -35
  999. package/.output/server/node_modules/lodash/_listCacheGet.js +0 -19
  1000. package/.output/server/node_modules/lodash/_listCacheHas.js +0 -16
  1001. package/.output/server/node_modules/lodash/_listCacheSet.js +0 -26
  1002. package/.output/server/node_modules/lodash/_mapCacheClear.js +0 -21
  1003. package/.output/server/node_modules/lodash/_mapCacheDelete.js +0 -18
  1004. package/.output/server/node_modules/lodash/_mapCacheGet.js +0 -16
  1005. package/.output/server/node_modules/lodash/_mapCacheHas.js +0 -16
  1006. package/.output/server/node_modules/lodash/_mapCacheSet.js +0 -22
  1007. package/.output/server/node_modules/lodash/_mapToArray.js +0 -18
  1008. package/.output/server/node_modules/lodash/_matchesStrictComparable.js +0 -20
  1009. package/.output/server/node_modules/lodash/_memoizeCapped.js +0 -26
  1010. package/.output/server/node_modules/lodash/_nativeCreate.js +0 -6
  1011. package/.output/server/node_modules/lodash/_nativeKeys.js +0 -6
  1012. package/.output/server/node_modules/lodash/_nativeKeysIn.js +0 -20
  1013. package/.output/server/node_modules/lodash/_nodeUtil.js +0 -30
  1014. package/.output/server/node_modules/lodash/_objectToString.js +0 -22
  1015. package/.output/server/node_modules/lodash/_overArg.js +0 -15
  1016. package/.output/server/node_modules/lodash/_overRest.js +0 -36
  1017. package/.output/server/node_modules/lodash/_root.js +0 -9
  1018. package/.output/server/node_modules/lodash/_safeGet.js +0 -21
  1019. package/.output/server/node_modules/lodash/_setCacheAdd.js +0 -19
  1020. package/.output/server/node_modules/lodash/_setCacheHas.js +0 -14
  1021. package/.output/server/node_modules/lodash/_setToArray.js +0 -18
  1022. package/.output/server/node_modules/lodash/_setToString.js +0 -14
  1023. package/.output/server/node_modules/lodash/_shortOut.js +0 -37
  1024. package/.output/server/node_modules/lodash/_stackClear.js +0 -15
  1025. package/.output/server/node_modules/lodash/_stackDelete.js +0 -18
  1026. package/.output/server/node_modules/lodash/_stackGet.js +0 -14
  1027. package/.output/server/node_modules/lodash/_stackHas.js +0 -14
  1028. package/.output/server/node_modules/lodash/_stackSet.js +0 -34
  1029. package/.output/server/node_modules/lodash/_strictIndexOf.js +0 -23
  1030. package/.output/server/node_modules/lodash/_stringToPath.js +0 -27
  1031. package/.output/server/node_modules/lodash/_toKey.js +0 -21
  1032. package/.output/server/node_modules/lodash/_toSource.js +0 -26
  1033. package/.output/server/node_modules/lodash/cloneDeep.js +0 -29
  1034. package/.output/server/node_modules/lodash/constant.js +0 -26
  1035. package/.output/server/node_modules/lodash/defaults.js +0 -64
  1036. package/.output/server/node_modules/lodash/defaultsDeep.js +0 -30
  1037. package/.output/server/node_modules/lodash/eq.js +0 -37
  1038. package/.output/server/node_modules/lodash/flatten.js +0 -22
  1039. package/.output/server/node_modules/lodash/flattenDeep.js +0 -25
  1040. package/.output/server/node_modules/lodash/forEach.js +0 -41
  1041. package/.output/server/node_modules/lodash/get.js +0 -33
  1042. package/.output/server/node_modules/lodash/hasIn.js +0 -34
  1043. package/.output/server/node_modules/lodash/identity.js +0 -21
  1044. package/.output/server/node_modules/lodash/intersection.js +0 -30
  1045. package/.output/server/node_modules/lodash/intersectionWith.js +0 -41
  1046. package/.output/server/node_modules/lodash/isArguments.js +0 -36
  1047. package/.output/server/node_modules/lodash/isArray.js +0 -26
  1048. package/.output/server/node_modules/lodash/isArrayLike.js +0 -33
  1049. package/.output/server/node_modules/lodash/isArrayLikeObject.js +0 -33
  1050. package/.output/server/node_modules/lodash/isBoolean.js +0 -29
  1051. package/.output/server/node_modules/lodash/isBuffer.js +0 -38
  1052. package/.output/server/node_modules/lodash/isEqual.js +0 -35
  1053. package/.output/server/node_modules/lodash/isFunction.js +0 -37
  1054. package/.output/server/node_modules/lodash/isLength.js +0 -35
  1055. package/.output/server/node_modules/lodash/isMap.js +0 -27
  1056. package/.output/server/node_modules/lodash/isObject.js +0 -31
  1057. package/.output/server/node_modules/lodash/isObjectLike.js +0 -29
  1058. package/.output/server/node_modules/lodash/isPlainObject.js +0 -62
  1059. package/.output/server/node_modules/lodash/isSet.js +0 -27
  1060. package/.output/server/node_modules/lodash/isSymbol.js +0 -29
  1061. package/.output/server/node_modules/lodash/isTypedArray.js +0 -27
  1062. package/.output/server/node_modules/lodash/keys.js +0 -37
  1063. package/.output/server/node_modules/lodash/keysIn.js +0 -32
  1064. package/.output/server/node_modules/lodash/last.js +0 -20
  1065. package/.output/server/node_modules/lodash/memoize.js +0 -73
  1066. package/.output/server/node_modules/lodash/mergeWith.js +0 -39
  1067. package/.output/server/node_modules/lodash/noop.js +0 -17
  1068. package/.output/server/node_modules/lodash/package.json +0 -19
  1069. package/.output/server/node_modules/lodash/property.js +0 -32
  1070. package/.output/server/node_modules/lodash/pullAll.js +0 -29
  1071. package/.output/server/node_modules/lodash/sortBy.js +0 -48
  1072. package/.output/server/node_modules/lodash/stubArray.js +0 -23
  1073. package/.output/server/node_modules/lodash/stubFalse.js +0 -18
  1074. package/.output/server/node_modules/lodash/toPlainObject.js +0 -32
  1075. package/.output/server/node_modules/lodash/toString.js +0 -28
  1076. package/.output/server/node_modules/lodash/uniq.js +0 -25
  1077. package/.output/server/node_modules/lodash/uniqWith.js +0 -28
  1078. package/.output/server/node_modules/lodash/without.js +0 -31
  1079. package/.output/server/node_modules/lodash.camelcase/index.js +0 -599
  1080. package/.output/server/node_modules/lodash.camelcase/package.json +0 -19
  1081. package/.output/server/node_modules/lru-queue/index.js +0 -48
  1082. package/.output/server/node_modules/lru-queue/package.json +0 -25
  1083. package/.output/server/node_modules/marked/lib/marked.cjs +0 -2811
  1084. package/.output/server/node_modules/marked/package.json +0 -93
  1085. package/.output/server/node_modules/memoizee/ext/async.js +0 -154
  1086. package/.output/server/node_modules/memoizee/ext/dispose.js +0 -27
  1087. package/.output/server/node_modules/memoizee/ext/max-age.js +0 -90
  1088. package/.output/server/node_modules/memoizee/ext/max.js +0 -32
  1089. package/.output/server/node_modules/memoizee/ext/promise.js +0 -147
  1090. package/.output/server/node_modules/memoizee/ext/ref-counter.js +0 -42
  1091. package/.output/server/node_modules/memoizee/index.js +0 -34
  1092. package/.output/server/node_modules/memoizee/lib/configure-map.js +0 -182
  1093. package/.output/server/node_modules/memoizee/lib/registered-extensions.js +0 -1
  1094. package/.output/server/node_modules/memoizee/lib/resolve-length.js +0 -15
  1095. package/.output/server/node_modules/memoizee/lib/resolve-normalize.js +0 -17
  1096. package/.output/server/node_modules/memoizee/lib/resolve-resolve.js +0 -19
  1097. package/.output/server/node_modules/memoizee/normalizers/get-1.js +0 -29
  1098. package/.output/server/node_modules/memoizee/normalizers/get-fixed.js +0 -71
  1099. package/.output/server/node_modules/memoizee/normalizers/get-primitive-fixed.js +0 -14
  1100. package/.output/server/node_modules/memoizee/normalizers/get.js +0 -90
  1101. package/.output/server/node_modules/memoizee/normalizers/primitive.js +0 -9
  1102. package/.output/server/node_modules/memoizee/package.json +0 -114
  1103. package/.output/server/node_modules/memoizee/plain.js +0 -37
  1104. package/.output/server/node_modules/mustache/mustache.js +0 -772
  1105. package/.output/server/node_modules/mustache/package.json +0 -67
  1106. package/.output/server/node_modules/next-tick/index.js +0 -74
  1107. package/.output/server/node_modules/next-tick/package.json +0 -27
  1108. package/.output/server/node_modules/node-fetch-h2/lib/index.js +0 -1585
  1109. package/.output/server/node_modules/node-fetch-h2/package.json +0 -68
  1110. package/.output/server/node_modules/oas/dist/chunk-5EP6HY2E.js +0 -943
  1111. package/.output/server/node_modules/oas/dist/chunk-7MARUOFZ.js +0 -24
  1112. package/.output/server/node_modules/oas/dist/chunk-HGVFNEKW.js +0 -1684
  1113. package/.output/server/node_modules/oas/dist/chunk-LSH3X5NA.js +0 -822
  1114. package/.output/server/node_modules/oas/dist/chunk-S27IGTVG.js +0 -95
  1115. package/.output/server/node_modules/oas/dist/chunk-VA3NKXX7.js +0 -9
  1116. package/.output/server/node_modules/oas/dist/index.js +0 -12
  1117. package/.output/server/node_modules/oas/dist/types.js +0 -15
  1118. package/.output/server/node_modules/oas/dist/utils.js +0 -19
  1119. package/.output/server/node_modules/oas/package.json +0 -113
  1120. package/.output/server/node_modules/oas-kit-common/index.js +0 -137
  1121. package/.output/server/node_modules/oas-kit-common/package.json +0 -28
  1122. package/.output/server/node_modules/oas-normalize/dist/chunk-45XXAYDL.js +0 -19
  1123. package/.output/server/node_modules/oas-normalize/dist/chunk-SZISBDLH.js +0 -86
  1124. package/.output/server/node_modules/oas-normalize/dist/index.js +0 -248
  1125. package/.output/server/node_modules/oas-normalize/package.json +0 -87
  1126. package/.output/server/node_modules/oas-resolver/index.js +0 -535
  1127. package/.output/server/node_modules/oas-resolver/package.json +0 -40
  1128. package/.output/server/node_modules/oas-schema-walker/index.js +0 -125
  1129. package/.output/server/node_modules/oas-schema-walker/package.json +0 -27
  1130. package/.output/server/node_modules/p-limit/index.js +0 -127
  1131. package/.output/server/node_modules/p-limit/package.json +0 -58
  1132. package/.output/server/node_modules/path-to-regexp/dist/index.js +0 -431
  1133. package/.output/server/node_modules/path-to-regexp/package.json +0 -64
  1134. package/.output/server/node_modules/picocolors/package.json +0 -25
  1135. package/.output/server/node_modules/picocolors/picocolors.js +0 -75
  1136. package/.output/server/node_modules/pluralize/package.json +0 -40
  1137. package/.output/server/node_modules/pluralize/pluralize.js +0 -503
  1138. package/.output/server/node_modules/react-devtools-core/dist/backend.js +0 -18302
  1139. package/.output/server/node_modules/react-devtools-core/package.json +0 -38
  1140. package/.output/server/node_modules/reftools/lib/clone.js +0 -102
  1141. package/.output/server/node_modules/reftools/lib/dereference.js +0 -105
  1142. package/.output/server/node_modules/reftools/lib/isref.js +0 -10
  1143. package/.output/server/node_modules/reftools/lib/jptr.js +0 -97
  1144. package/.output/server/node_modules/reftools/lib/recurse.js +0 -62
  1145. package/.output/server/node_modules/reftools/package.json +0 -37
  1146. package/.output/server/node_modules/remove-undefined-objects/dist/index.mjs +0 -94
  1147. package/.output/server/node_modules/remove-undefined-objects/package.json +0 -47
  1148. package/.output/server/node_modules/semver/classes/comparator.js +0 -143
  1149. package/.output/server/node_modules/semver/classes/range.js +0 -557
  1150. package/.output/server/node_modules/semver/classes/semver.js +0 -333
  1151. package/.output/server/node_modules/semver/functions/clean.js +0 -8
  1152. package/.output/server/node_modules/semver/functions/cmp.js +0 -54
  1153. package/.output/server/node_modules/semver/functions/coerce.js +0 -62
  1154. package/.output/server/node_modules/semver/functions/compare-build.js +0 -9
  1155. package/.output/server/node_modules/semver/functions/compare-loose.js +0 -5
  1156. package/.output/server/node_modules/semver/functions/compare.js +0 -7
  1157. package/.output/server/node_modules/semver/functions/diff.js +0 -60
  1158. package/.output/server/node_modules/semver/functions/eq.js +0 -5
  1159. package/.output/server/node_modules/semver/functions/gt.js +0 -5
  1160. package/.output/server/node_modules/semver/functions/gte.js +0 -5
  1161. package/.output/server/node_modules/semver/functions/inc.js +0 -21
  1162. package/.output/server/node_modules/semver/functions/lt.js +0 -5
  1163. package/.output/server/node_modules/semver/functions/lte.js +0 -5
  1164. package/.output/server/node_modules/semver/functions/major.js +0 -5
  1165. package/.output/server/node_modules/semver/functions/minor.js +0 -5
  1166. package/.output/server/node_modules/semver/functions/neq.js +0 -5
  1167. package/.output/server/node_modules/semver/functions/parse.js +0 -18
  1168. package/.output/server/node_modules/semver/functions/patch.js +0 -5
  1169. package/.output/server/node_modules/semver/functions/prerelease.js +0 -8
  1170. package/.output/server/node_modules/semver/functions/rcompare.js +0 -5
  1171. package/.output/server/node_modules/semver/functions/rsort.js +0 -5
  1172. package/.output/server/node_modules/semver/functions/satisfies.js +0 -12
  1173. package/.output/server/node_modules/semver/functions/sort.js +0 -5
  1174. package/.output/server/node_modules/semver/functions/valid.js +0 -8
  1175. package/.output/server/node_modules/semver/index.js +0 -91
  1176. package/.output/server/node_modules/semver/internal/constants.js +0 -37
  1177. package/.output/server/node_modules/semver/internal/debug.js +0 -11
  1178. package/.output/server/node_modules/semver/internal/identifiers.js +0 -29
  1179. package/.output/server/node_modules/semver/internal/lrucache.js +0 -42
  1180. package/.output/server/node_modules/semver/internal/parse-options.js +0 -17
  1181. package/.output/server/node_modules/semver/internal/re.js +0 -223
  1182. package/.output/server/node_modules/semver/package.json +0 -78
  1183. package/.output/server/node_modules/semver/preload.js +0 -4
  1184. package/.output/server/node_modules/semver/ranges/gtr.js +0 -6
  1185. package/.output/server/node_modules/semver/ranges/intersects.js +0 -9
  1186. package/.output/server/node_modules/semver/ranges/ltr.js +0 -6
  1187. package/.output/server/node_modules/semver/ranges/max-satisfying.js +0 -27
  1188. package/.output/server/node_modules/semver/ranges/min-satisfying.js +0 -26
  1189. package/.output/server/node_modules/semver/ranges/min-version.js +0 -63
  1190. package/.output/server/node_modules/semver/ranges/outside.js +0 -82
  1191. package/.output/server/node_modules/semver/ranges/simplify.js +0 -49
  1192. package/.output/server/node_modules/semver/ranges/subset.js +0 -249
  1193. package/.output/server/node_modules/semver/ranges/to-comparators.js +0 -10
  1194. package/.output/server/node_modules/semver/ranges/valid.js +0 -13
  1195. package/.output/server/node_modules/sisteransi/package.json +0 -34
  1196. package/.output/server/node_modules/sisteransi/src/index.js +0 -58
  1197. package/.output/server/node_modules/source-map/lib/array-set.js +0 -121
  1198. package/.output/server/node_modules/source-map/lib/base64-vlq.js +0 -140
  1199. package/.output/server/node_modules/source-map/lib/base64.js +0 -67
  1200. package/.output/server/node_modules/source-map/lib/binary-search.js +0 -111
  1201. package/.output/server/node_modules/source-map/lib/mapping-list.js +0 -79
  1202. package/.output/server/node_modules/source-map/lib/quick-sort.js +0 -114
  1203. package/.output/server/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  1204. package/.output/server/node_modules/source-map/lib/source-map-generator.js +0 -425
  1205. package/.output/server/node_modules/source-map/lib/source-node.js +0 -413
  1206. package/.output/server/node_modules/source-map/lib/util.js +0 -488
  1207. package/.output/server/node_modules/source-map/package.json +0 -73
  1208. package/.output/server/node_modules/source-map/source-map.js +0 -8
  1209. package/.output/server/node_modules/source-map-support/package.json +0 -31
  1210. package/.output/server/node_modules/source-map-support/source-map-support.js +0 -625
  1211. package/.output/server/node_modules/swagger2openapi/index.js +0 -1666
  1212. package/.output/server/node_modules/swagger2openapi/lib/statusCodes.js +0 -19
  1213. package/.output/server/node_modules/swagger2openapi/package.json +0 -63
  1214. package/.output/server/node_modules/timers-ext/max-timeout.js +0 -3
  1215. package/.output/server/node_modules/timers-ext/package.json +0 -97
  1216. package/.output/server/node_modules/timers-ext/valid-timeout.js +0 -10
  1217. package/.output/server/node_modules/tslib/package.json +0 -47
  1218. package/.output/server/node_modules/tslib/tslib.js +0 -484
  1219. package/.output/server/node_modules/type/function/is.js +0 -19
  1220. package/.output/server/node_modules/type/object/is.js +0 -11
  1221. package/.output/server/node_modules/type/package.json +0 -121
  1222. package/.output/server/node_modules/type/plain-function/is.js +0 -11
  1223. package/.output/server/node_modules/type/prototype/is.js +0 -13
  1224. package/.output/server/node_modules/type/value/is.js +0 -6
  1225. package/.output/server/node_modules/typescript/lib/typescript.js +0 -200276
  1226. package/.output/server/node_modules/typescript/package.json +0 -120
  1227. package/.output/server/node_modules/validate.io-array/lib/index.js +0 -16
  1228. package/.output/server/node_modules/validate.io-array/package.json +0 -51
  1229. package/.output/server/node_modules/validate.io-function/lib/index.js +0 -45
  1230. package/.output/server/node_modules/validate.io-function/package.json +0 -53
  1231. package/.output/server/node_modules/validate.io-integer/lib/index.js +0 -52
  1232. package/.output/server/node_modules/validate.io-integer/package.json +0 -58
  1233. package/.output/server/node_modules/validate.io-integer-array/lib/index.js +0 -66
  1234. package/.output/server/node_modules/validate.io-integer-array/package.json +0 -58
  1235. package/.output/server/node_modules/validate.io-number/lib/index.js +0 -45
  1236. package/.output/server/node_modules/validate.io-number/package.json +0 -55
  1237. package/.output/server/node_modules/yaml/dist/Document-a8d0fbf9.js +0 -637
  1238. package/.output/server/node_modules/yaml/dist/PlainValue-516d5bc2.js +0 -765
  1239. package/.output/server/node_modules/yaml/dist/Schema-bcc6c2d7.js +0 -469
  1240. package/.output/server/node_modules/yaml/dist/index.js +0 -67
  1241. package/.output/server/node_modules/yaml/dist/parse-cst.js +0 -1507
  1242. package/.output/server/node_modules/yaml/dist/resolveSeq-95613e94.js +0 -1859
  1243. package/.output/server/node_modules/yaml/dist/warnings-793925ce.js +0 -359
  1244. package/.output/server/node_modules/yaml/index.js +0 -1
  1245. package/.output/server/node_modules/yaml/package.json +0 -105
  1246. package/.output/server/node_modules/yaml-ast-parser/dist/src/common.js +0 -45
  1247. package/.output/server/node_modules/yaml-ast-parser/dist/src/dumper.js +0 -644
  1248. package/.output/server/node_modules/yaml-ast-parser/dist/src/exception.js +0 -40
  1249. package/.output/server/node_modules/yaml-ast-parser/dist/src/index.js +0 -22
  1250. package/.output/server/node_modules/yaml-ast-parser/dist/src/loader.js +0 -1416
  1251. package/.output/server/node_modules/yaml-ast-parser/dist/src/mark.js +0 -62
  1252. package/.output/server/node_modules/yaml-ast-parser/dist/src/scalarInference.js +0 -82
  1253. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/core.js +0 -8
  1254. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_full.js +0 -14
  1255. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_safe.js +0 -19
  1256. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/failsafe.js +0 -10
  1257. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/json.js +0 -14
  1258. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema.js +0 -78
  1259. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/binary.js +0 -92
  1260. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/bool.js +0 -32
  1261. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/float.js +0 -95
  1262. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/int.js +0 -155
  1263. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/regexp.js +0 -64
  1264. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/undefined.js +0 -22
  1265. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/map.js +0 -7
  1266. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/merge.js +0 -10
  1267. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/null.js +0 -30
  1268. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/omap.js +0 -46
  1269. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/pairs.js +0 -55
  1270. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/seq.js +0 -7
  1271. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/set.js +0 -22
  1272. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/str.js +0 -7
  1273. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/timestamp.js +0 -70
  1274. package/.output/server/node_modules/yaml-ast-parser/dist/src/type.js +0 -54
  1275. package/.output/server/node_modules/yaml-ast-parser/dist/src/yamlAST.js +0 -82
  1276. package/.output/server/node_modules/yaml-ast-parser/package.json +0 -39
  1277. package/.output/server/node_modules/yocto-queue/index.js +0 -90
  1278. package/.output/server/node_modules/yocto-queue/package.json +0 -48
  1279. /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/index.js +0 -0
  1280. /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/constants.js +0 -0
  1281. /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/parse.js +0 -0
  1282. /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/picomatch.js +0 -0
  1283. /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/scan.js +0 -0
  1284. /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/utils.js +0 -0
  1285. /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/package.json +0 -0
  1286. /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/buffer-util.js +0 -0
  1287. /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/constants.js +0 -0
  1288. /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/event-target.js +0 -0
  1289. /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/extension.js +0 -0
  1290. /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/limiter.js +0 -0
  1291. /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/permessage-deflate.js +0 -0
  1292. /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/receiver.js +0 -0
  1293. /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/sender.js +0 -0
  1294. /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/stream.js +0 -0
  1295. /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/subprotocol.js +0 -0
  1296. /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/validation.js +0 -0
  1297. /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/websocket-server.js +0 -0
  1298. /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/websocket.js +0 -0
  1299. /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/package.json +0 -0
  1300. /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/wrapper.mjs +0 -0
@@ -1,1388 +0,0 @@
1
- /* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^Duplex|Readable$", "caughtErrors": "none" }] */
2
-
3
- 'use strict';
4
-
5
- const EventEmitter = require('events');
6
- const https = require('https');
7
- const http = require('http');
8
- const net = require('net');
9
- const tls = require('tls');
10
- const { randomBytes, createHash } = require('crypto');
11
- const { Duplex, Readable } = require('stream');
12
- const { URL } = require('url');
13
-
14
- const PerMessageDeflate = require('./permessage-deflate');
15
- const Receiver = require('./receiver');
16
- const Sender = require('./sender');
17
- const { isBlob } = require('./validation');
18
-
19
- const {
20
- BINARY_TYPES,
21
- EMPTY_BUFFER,
22
- GUID,
23
- kForOnEventAttribute,
24
- kListener,
25
- kStatusCode,
26
- kWebSocket,
27
- NOOP
28
- } = require('./constants');
29
- const {
30
- EventTarget: { addEventListener, removeEventListener }
31
- } = require('./event-target');
32
- const { format, parse } = require('./extension');
33
- const { toBuffer } = require('./buffer-util');
34
-
35
- const closeTimeout = 30 * 1000;
36
- const kAborted = Symbol('kAborted');
37
- const protocolVersions = [8, 13];
38
- const readyStates = ['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED'];
39
- const subprotocolRegex = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
40
-
41
- /**
42
- * Class representing a WebSocket.
43
- *
44
- * @extends EventEmitter
45
- */
46
- class WebSocket extends EventEmitter {
47
- /**
48
- * Create a new `WebSocket`.
49
- *
50
- * @param {(String|URL)} address The URL to which to connect
51
- * @param {(String|String[])} [protocols] The subprotocols
52
- * @param {Object} [options] Connection options
53
- */
54
- constructor(address, protocols, options) {
55
- super();
56
-
57
- this._binaryType = BINARY_TYPES[0];
58
- this._closeCode = 1006;
59
- this._closeFrameReceived = false;
60
- this._closeFrameSent = false;
61
- this._closeMessage = EMPTY_BUFFER;
62
- this._closeTimer = null;
63
- this._errorEmitted = false;
64
- this._extensions = {};
65
- this._paused = false;
66
- this._protocol = '';
67
- this._readyState = WebSocket.CONNECTING;
68
- this._receiver = null;
69
- this._sender = null;
70
- this._socket = null;
71
-
72
- if (address !== null) {
73
- this._bufferedAmount = 0;
74
- this._isServer = false;
75
- this._redirects = 0;
76
-
77
- if (protocols === undefined) {
78
- protocols = [];
79
- } else if (!Array.isArray(protocols)) {
80
- if (typeof protocols === 'object' && protocols !== null) {
81
- options = protocols;
82
- protocols = [];
83
- } else {
84
- protocols = [protocols];
85
- }
86
- }
87
-
88
- initAsClient(this, address, protocols, options);
89
- } else {
90
- this._autoPong = options.autoPong;
91
- this._isServer = true;
92
- }
93
- }
94
-
95
- /**
96
- * For historical reasons, the custom "nodebuffer" type is used by the default
97
- * instead of "blob".
98
- *
99
- * @type {String}
100
- */
101
- get binaryType() {
102
- return this._binaryType;
103
- }
104
-
105
- set binaryType(type) {
106
- if (!BINARY_TYPES.includes(type)) return;
107
-
108
- this._binaryType = type;
109
-
110
- //
111
- // Allow to change `binaryType` on the fly.
112
- //
113
- if (this._receiver) this._receiver._binaryType = type;
114
- }
115
-
116
- /**
117
- * @type {Number}
118
- */
119
- get bufferedAmount() {
120
- if (!this._socket) return this._bufferedAmount;
121
-
122
- return this._socket._writableState.length + this._sender._bufferedBytes;
123
- }
124
-
125
- /**
126
- * @type {String}
127
- */
128
- get extensions() {
129
- return Object.keys(this._extensions).join();
130
- }
131
-
132
- /**
133
- * @type {Boolean}
134
- */
135
- get isPaused() {
136
- return this._paused;
137
- }
138
-
139
- /**
140
- * @type {Function}
141
- */
142
- /* istanbul ignore next */
143
- get onclose() {
144
- return null;
145
- }
146
-
147
- /**
148
- * @type {Function}
149
- */
150
- /* istanbul ignore next */
151
- get onerror() {
152
- return null;
153
- }
154
-
155
- /**
156
- * @type {Function}
157
- */
158
- /* istanbul ignore next */
159
- get onopen() {
160
- return null;
161
- }
162
-
163
- /**
164
- * @type {Function}
165
- */
166
- /* istanbul ignore next */
167
- get onmessage() {
168
- return null;
169
- }
170
-
171
- /**
172
- * @type {String}
173
- */
174
- get protocol() {
175
- return this._protocol;
176
- }
177
-
178
- /**
179
- * @type {Number}
180
- */
181
- get readyState() {
182
- return this._readyState;
183
- }
184
-
185
- /**
186
- * @type {String}
187
- */
188
- get url() {
189
- return this._url;
190
- }
191
-
192
- /**
193
- * Set up the socket and the internal resources.
194
- *
195
- * @param {Duplex} socket The network socket between the server and client
196
- * @param {Buffer} head The first packet of the upgraded stream
197
- * @param {Object} options Options object
198
- * @param {Boolean} [options.allowSynchronousEvents=false] Specifies whether
199
- * any of the `'message'`, `'ping'`, and `'pong'` events can be emitted
200
- * multiple times in the same tick
201
- * @param {Function} [options.generateMask] The function used to generate the
202
- * masking key
203
- * @param {Number} [options.maxPayload=0] The maximum allowed message size
204
- * @param {Boolean} [options.skipUTF8Validation=false] Specifies whether or
205
- * not to skip UTF-8 validation for text and close messages
206
- * @private
207
- */
208
- setSocket(socket, head, options) {
209
- const receiver = new Receiver({
210
- allowSynchronousEvents: options.allowSynchronousEvents,
211
- binaryType: this.binaryType,
212
- extensions: this._extensions,
213
- isServer: this._isServer,
214
- maxPayload: options.maxPayload,
215
- skipUTF8Validation: options.skipUTF8Validation
216
- });
217
-
218
- const sender = new Sender(socket, this._extensions, options.generateMask);
219
-
220
- this._receiver = receiver;
221
- this._sender = sender;
222
- this._socket = socket;
223
-
224
- receiver[kWebSocket] = this;
225
- sender[kWebSocket] = this;
226
- socket[kWebSocket] = this;
227
-
228
- receiver.on('conclude', receiverOnConclude);
229
- receiver.on('drain', receiverOnDrain);
230
- receiver.on('error', receiverOnError);
231
- receiver.on('message', receiverOnMessage);
232
- receiver.on('ping', receiverOnPing);
233
- receiver.on('pong', receiverOnPong);
234
-
235
- sender.onerror = senderOnError;
236
-
237
- //
238
- // These methods may not be available if `socket` is just a `Duplex`.
239
- //
240
- if (socket.setTimeout) socket.setTimeout(0);
241
- if (socket.setNoDelay) socket.setNoDelay();
242
-
243
- if (head.length > 0) socket.unshift(head);
244
-
245
- socket.on('close', socketOnClose);
246
- socket.on('data', socketOnData);
247
- socket.on('end', socketOnEnd);
248
- socket.on('error', socketOnError);
249
-
250
- this._readyState = WebSocket.OPEN;
251
- this.emit('open');
252
- }
253
-
254
- /**
255
- * Emit the `'close'` event.
256
- *
257
- * @private
258
- */
259
- emitClose() {
260
- if (!this._socket) {
261
- this._readyState = WebSocket.CLOSED;
262
- this.emit('close', this._closeCode, this._closeMessage);
263
- return;
264
- }
265
-
266
- if (this._extensions[PerMessageDeflate.extensionName]) {
267
- this._extensions[PerMessageDeflate.extensionName].cleanup();
268
- }
269
-
270
- this._receiver.removeAllListeners();
271
- this._readyState = WebSocket.CLOSED;
272
- this.emit('close', this._closeCode, this._closeMessage);
273
- }
274
-
275
- /**
276
- * Start a closing handshake.
277
- *
278
- * +----------+ +-----------+ +----------+
279
- * - - -|ws.close()|-->|close frame|-->|ws.close()|- - -
280
- * | +----------+ +-----------+ +----------+ |
281
- * +----------+ +-----------+ |
282
- * CLOSING |ws.close()|<--|close frame|<--+-----+ CLOSING
283
- * +----------+ +-----------+ |
284
- * | | | +---+ |
285
- * +------------------------+-->|fin| - - - -
286
- * | +---+ | +---+
287
- * - - - - -|fin|<---------------------+
288
- * +---+
289
- *
290
- * @param {Number} [code] Status code explaining why the connection is closing
291
- * @param {(String|Buffer)} [data] The reason why the connection is
292
- * closing
293
- * @public
294
- */
295
- close(code, data) {
296
- if (this.readyState === WebSocket.CLOSED) return;
297
- if (this.readyState === WebSocket.CONNECTING) {
298
- const msg = 'WebSocket was closed before the connection was established';
299
- abortHandshake(this, this._req, msg);
300
- return;
301
- }
302
-
303
- if (this.readyState === WebSocket.CLOSING) {
304
- if (
305
- this._closeFrameSent &&
306
- (this._closeFrameReceived || this._receiver._writableState.errorEmitted)
307
- ) {
308
- this._socket.end();
309
- }
310
-
311
- return;
312
- }
313
-
314
- this._readyState = WebSocket.CLOSING;
315
- this._sender.close(code, data, !this._isServer, (err) => {
316
- //
317
- // This error is handled by the `'error'` listener on the socket. We only
318
- // want to know if the close frame has been sent here.
319
- //
320
- if (err) return;
321
-
322
- this._closeFrameSent = true;
323
-
324
- if (
325
- this._closeFrameReceived ||
326
- this._receiver._writableState.errorEmitted
327
- ) {
328
- this._socket.end();
329
- }
330
- });
331
-
332
- setCloseTimer(this);
333
- }
334
-
335
- /**
336
- * Pause the socket.
337
- *
338
- * @public
339
- */
340
- pause() {
341
- if (
342
- this.readyState === WebSocket.CONNECTING ||
343
- this.readyState === WebSocket.CLOSED
344
- ) {
345
- return;
346
- }
347
-
348
- this._paused = true;
349
- this._socket.pause();
350
- }
351
-
352
- /**
353
- * Send a ping.
354
- *
355
- * @param {*} [data] The data to send
356
- * @param {Boolean} [mask] Indicates whether or not to mask `data`
357
- * @param {Function} [cb] Callback which is executed when the ping is sent
358
- * @public
359
- */
360
- ping(data, mask, cb) {
361
- if (this.readyState === WebSocket.CONNECTING) {
362
- throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');
363
- }
364
-
365
- if (typeof data === 'function') {
366
- cb = data;
367
- data = mask = undefined;
368
- } else if (typeof mask === 'function') {
369
- cb = mask;
370
- mask = undefined;
371
- }
372
-
373
- if (typeof data === 'number') data = data.toString();
374
-
375
- if (this.readyState !== WebSocket.OPEN) {
376
- sendAfterClose(this, data, cb);
377
- return;
378
- }
379
-
380
- if (mask === undefined) mask = !this._isServer;
381
- this._sender.ping(data || EMPTY_BUFFER, mask, cb);
382
- }
383
-
384
- /**
385
- * Send a pong.
386
- *
387
- * @param {*} [data] The data to send
388
- * @param {Boolean} [mask] Indicates whether or not to mask `data`
389
- * @param {Function} [cb] Callback which is executed when the pong is sent
390
- * @public
391
- */
392
- pong(data, mask, cb) {
393
- if (this.readyState === WebSocket.CONNECTING) {
394
- throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');
395
- }
396
-
397
- if (typeof data === 'function') {
398
- cb = data;
399
- data = mask = undefined;
400
- } else if (typeof mask === 'function') {
401
- cb = mask;
402
- mask = undefined;
403
- }
404
-
405
- if (typeof data === 'number') data = data.toString();
406
-
407
- if (this.readyState !== WebSocket.OPEN) {
408
- sendAfterClose(this, data, cb);
409
- return;
410
- }
411
-
412
- if (mask === undefined) mask = !this._isServer;
413
- this._sender.pong(data || EMPTY_BUFFER, mask, cb);
414
- }
415
-
416
- /**
417
- * Resume the socket.
418
- *
419
- * @public
420
- */
421
- resume() {
422
- if (
423
- this.readyState === WebSocket.CONNECTING ||
424
- this.readyState === WebSocket.CLOSED
425
- ) {
426
- return;
427
- }
428
-
429
- this._paused = false;
430
- if (!this._receiver._writableState.needDrain) this._socket.resume();
431
- }
432
-
433
- /**
434
- * Send a data message.
435
- *
436
- * @param {*} data The message to send
437
- * @param {Object} [options] Options object
438
- * @param {Boolean} [options.binary] Specifies whether `data` is binary or
439
- * text
440
- * @param {Boolean} [options.compress] Specifies whether or not to compress
441
- * `data`
442
- * @param {Boolean} [options.fin=true] Specifies whether the fragment is the
443
- * last one
444
- * @param {Boolean} [options.mask] Specifies whether or not to mask `data`
445
- * @param {Function} [cb] Callback which is executed when data is written out
446
- * @public
447
- */
448
- send(data, options, cb) {
449
- if (this.readyState === WebSocket.CONNECTING) {
450
- throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');
451
- }
452
-
453
- if (typeof options === 'function') {
454
- cb = options;
455
- options = {};
456
- }
457
-
458
- if (typeof data === 'number') data = data.toString();
459
-
460
- if (this.readyState !== WebSocket.OPEN) {
461
- sendAfterClose(this, data, cb);
462
- return;
463
- }
464
-
465
- const opts = {
466
- binary: typeof data !== 'string',
467
- mask: !this._isServer,
468
- compress: true,
469
- fin: true,
470
- ...options
471
- };
472
-
473
- if (!this._extensions[PerMessageDeflate.extensionName]) {
474
- opts.compress = false;
475
- }
476
-
477
- this._sender.send(data || EMPTY_BUFFER, opts, cb);
478
- }
479
-
480
- /**
481
- * Forcibly close the connection.
482
- *
483
- * @public
484
- */
485
- terminate() {
486
- if (this.readyState === WebSocket.CLOSED) return;
487
- if (this.readyState === WebSocket.CONNECTING) {
488
- const msg = 'WebSocket was closed before the connection was established';
489
- abortHandshake(this, this._req, msg);
490
- return;
491
- }
492
-
493
- if (this._socket) {
494
- this._readyState = WebSocket.CLOSING;
495
- this._socket.destroy();
496
- }
497
- }
498
- }
499
-
500
- /**
501
- * @constant {Number} CONNECTING
502
- * @memberof WebSocket
503
- */
504
- Object.defineProperty(WebSocket, 'CONNECTING', {
505
- enumerable: true,
506
- value: readyStates.indexOf('CONNECTING')
507
- });
508
-
509
- /**
510
- * @constant {Number} CONNECTING
511
- * @memberof WebSocket.prototype
512
- */
513
- Object.defineProperty(WebSocket.prototype, 'CONNECTING', {
514
- enumerable: true,
515
- value: readyStates.indexOf('CONNECTING')
516
- });
517
-
518
- /**
519
- * @constant {Number} OPEN
520
- * @memberof WebSocket
521
- */
522
- Object.defineProperty(WebSocket, 'OPEN', {
523
- enumerable: true,
524
- value: readyStates.indexOf('OPEN')
525
- });
526
-
527
- /**
528
- * @constant {Number} OPEN
529
- * @memberof WebSocket.prototype
530
- */
531
- Object.defineProperty(WebSocket.prototype, 'OPEN', {
532
- enumerable: true,
533
- value: readyStates.indexOf('OPEN')
534
- });
535
-
536
- /**
537
- * @constant {Number} CLOSING
538
- * @memberof WebSocket
539
- */
540
- Object.defineProperty(WebSocket, 'CLOSING', {
541
- enumerable: true,
542
- value: readyStates.indexOf('CLOSING')
543
- });
544
-
545
- /**
546
- * @constant {Number} CLOSING
547
- * @memberof WebSocket.prototype
548
- */
549
- Object.defineProperty(WebSocket.prototype, 'CLOSING', {
550
- enumerable: true,
551
- value: readyStates.indexOf('CLOSING')
552
- });
553
-
554
- /**
555
- * @constant {Number} CLOSED
556
- * @memberof WebSocket
557
- */
558
- Object.defineProperty(WebSocket, 'CLOSED', {
559
- enumerable: true,
560
- value: readyStates.indexOf('CLOSED')
561
- });
562
-
563
- /**
564
- * @constant {Number} CLOSED
565
- * @memberof WebSocket.prototype
566
- */
567
- Object.defineProperty(WebSocket.prototype, 'CLOSED', {
568
- enumerable: true,
569
- value: readyStates.indexOf('CLOSED')
570
- });
571
-
572
- [
573
- 'binaryType',
574
- 'bufferedAmount',
575
- 'extensions',
576
- 'isPaused',
577
- 'protocol',
578
- 'readyState',
579
- 'url'
580
- ].forEach((property) => {
581
- Object.defineProperty(WebSocket.prototype, property, { enumerable: true });
582
- });
583
-
584
- //
585
- // Add the `onopen`, `onerror`, `onclose`, and `onmessage` attributes.
586
- // See https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface
587
- //
588
- ['open', 'error', 'close', 'message'].forEach((method) => {
589
- Object.defineProperty(WebSocket.prototype, `on${method}`, {
590
- enumerable: true,
591
- get() {
592
- for (const listener of this.listeners(method)) {
593
- if (listener[kForOnEventAttribute]) return listener[kListener];
594
- }
595
-
596
- return null;
597
- },
598
- set(handler) {
599
- for (const listener of this.listeners(method)) {
600
- if (listener[kForOnEventAttribute]) {
601
- this.removeListener(method, listener);
602
- break;
603
- }
604
- }
605
-
606
- if (typeof handler !== 'function') return;
607
-
608
- this.addEventListener(method, handler, {
609
- [kForOnEventAttribute]: true
610
- });
611
- }
612
- });
613
- });
614
-
615
- WebSocket.prototype.addEventListener = addEventListener;
616
- WebSocket.prototype.removeEventListener = removeEventListener;
617
-
618
- module.exports = WebSocket;
619
-
620
- /**
621
- * Initialize a WebSocket client.
622
- *
623
- * @param {WebSocket} websocket The client to initialize
624
- * @param {(String|URL)} address The URL to which to connect
625
- * @param {Array} protocols The subprotocols
626
- * @param {Object} [options] Connection options
627
- * @param {Boolean} [options.allowSynchronousEvents=true] Specifies whether any
628
- * of the `'message'`, `'ping'`, and `'pong'` events can be emitted multiple
629
- * times in the same tick
630
- * @param {Boolean} [options.autoPong=true] Specifies whether or not to
631
- * automatically send a pong in response to a ping
632
- * @param {Function} [options.finishRequest] A function which can be used to
633
- * customize the headers of each http request before it is sent
634
- * @param {Boolean} [options.followRedirects=false] Whether or not to follow
635
- * redirects
636
- * @param {Function} [options.generateMask] The function used to generate the
637
- * masking key
638
- * @param {Number} [options.handshakeTimeout] Timeout in milliseconds for the
639
- * handshake request
640
- * @param {Number} [options.maxPayload=104857600] The maximum allowed message
641
- * size
642
- * @param {Number} [options.maxRedirects=10] The maximum number of redirects
643
- * allowed
644
- * @param {String} [options.origin] Value of the `Origin` or
645
- * `Sec-WebSocket-Origin` header
646
- * @param {(Boolean|Object)} [options.perMessageDeflate=true] Enable/disable
647
- * permessage-deflate
648
- * @param {Number} [options.protocolVersion=13] Value of the
649
- * `Sec-WebSocket-Version` header
650
- * @param {Boolean} [options.skipUTF8Validation=false] Specifies whether or
651
- * not to skip UTF-8 validation for text and close messages
652
- * @private
653
- */
654
- function initAsClient(websocket, address, protocols, options) {
655
- const opts = {
656
- allowSynchronousEvents: true,
657
- autoPong: true,
658
- protocolVersion: protocolVersions[1],
659
- maxPayload: 100 * 1024 * 1024,
660
- skipUTF8Validation: false,
661
- perMessageDeflate: true,
662
- followRedirects: false,
663
- maxRedirects: 10,
664
- ...options,
665
- socketPath: undefined,
666
- hostname: undefined,
667
- protocol: undefined,
668
- timeout: undefined,
669
- method: 'GET',
670
- host: undefined,
671
- path: undefined,
672
- port: undefined
673
- };
674
-
675
- websocket._autoPong = opts.autoPong;
676
-
677
- if (!protocolVersions.includes(opts.protocolVersion)) {
678
- throw new RangeError(
679
- `Unsupported protocol version: ${opts.protocolVersion} ` +
680
- `(supported versions: ${protocolVersions.join(', ')})`
681
- );
682
- }
683
-
684
- let parsedUrl;
685
-
686
- if (address instanceof URL) {
687
- parsedUrl = address;
688
- } else {
689
- try {
690
- parsedUrl = new URL(address);
691
- } catch (e) {
692
- throw new SyntaxError(`Invalid URL: ${address}`);
693
- }
694
- }
695
-
696
- if (parsedUrl.protocol === 'http:') {
697
- parsedUrl.protocol = 'ws:';
698
- } else if (parsedUrl.protocol === 'https:') {
699
- parsedUrl.protocol = 'wss:';
700
- }
701
-
702
- websocket._url = parsedUrl.href;
703
-
704
- const isSecure = parsedUrl.protocol === 'wss:';
705
- const isIpcUrl = parsedUrl.protocol === 'ws+unix:';
706
- let invalidUrlMessage;
707
-
708
- if (parsedUrl.protocol !== 'ws:' && !isSecure && !isIpcUrl) {
709
- invalidUrlMessage =
710
- 'The URL\'s protocol must be one of "ws:", "wss:", ' +
711
- '"http:", "https", or "ws+unix:"';
712
- } else if (isIpcUrl && !parsedUrl.pathname) {
713
- invalidUrlMessage = "The URL's pathname is empty";
714
- } else if (parsedUrl.hash) {
715
- invalidUrlMessage = 'The URL contains a fragment identifier';
716
- }
717
-
718
- if (invalidUrlMessage) {
719
- const err = new SyntaxError(invalidUrlMessage);
720
-
721
- if (websocket._redirects === 0) {
722
- throw err;
723
- } else {
724
- emitErrorAndClose(websocket, err);
725
- return;
726
- }
727
- }
728
-
729
- const defaultPort = isSecure ? 443 : 80;
730
- const key = randomBytes(16).toString('base64');
731
- const request = isSecure ? https.request : http.request;
732
- const protocolSet = new Set();
733
- let perMessageDeflate;
734
-
735
- opts.createConnection =
736
- opts.createConnection || (isSecure ? tlsConnect : netConnect);
737
- opts.defaultPort = opts.defaultPort || defaultPort;
738
- opts.port = parsedUrl.port || defaultPort;
739
- opts.host = parsedUrl.hostname.startsWith('[')
740
- ? parsedUrl.hostname.slice(1, -1)
741
- : parsedUrl.hostname;
742
- opts.headers = {
743
- ...opts.headers,
744
- 'Sec-WebSocket-Version': opts.protocolVersion,
745
- 'Sec-WebSocket-Key': key,
746
- Connection: 'Upgrade',
747
- Upgrade: 'websocket'
748
- };
749
- opts.path = parsedUrl.pathname + parsedUrl.search;
750
- opts.timeout = opts.handshakeTimeout;
751
-
752
- if (opts.perMessageDeflate) {
753
- perMessageDeflate = new PerMessageDeflate(
754
- opts.perMessageDeflate !== true ? opts.perMessageDeflate : {},
755
- false,
756
- opts.maxPayload
757
- );
758
- opts.headers['Sec-WebSocket-Extensions'] = format({
759
- [PerMessageDeflate.extensionName]: perMessageDeflate.offer()
760
- });
761
- }
762
- if (protocols.length) {
763
- for (const protocol of protocols) {
764
- if (
765
- typeof protocol !== 'string' ||
766
- !subprotocolRegex.test(protocol) ||
767
- protocolSet.has(protocol)
768
- ) {
769
- throw new SyntaxError(
770
- 'An invalid or duplicated subprotocol was specified'
771
- );
772
- }
773
-
774
- protocolSet.add(protocol);
775
- }
776
-
777
- opts.headers['Sec-WebSocket-Protocol'] = protocols.join(',');
778
- }
779
- if (opts.origin) {
780
- if (opts.protocolVersion < 13) {
781
- opts.headers['Sec-WebSocket-Origin'] = opts.origin;
782
- } else {
783
- opts.headers.Origin = opts.origin;
784
- }
785
- }
786
- if (parsedUrl.username || parsedUrl.password) {
787
- opts.auth = `${parsedUrl.username}:${parsedUrl.password}`;
788
- }
789
-
790
- if (isIpcUrl) {
791
- const parts = opts.path.split(':');
792
-
793
- opts.socketPath = parts[0];
794
- opts.path = parts[1];
795
- }
796
-
797
- let req;
798
-
799
- if (opts.followRedirects) {
800
- if (websocket._redirects === 0) {
801
- websocket._originalIpc = isIpcUrl;
802
- websocket._originalSecure = isSecure;
803
- websocket._originalHostOrSocketPath = isIpcUrl
804
- ? opts.socketPath
805
- : parsedUrl.host;
806
-
807
- const headers = options && options.headers;
808
-
809
- //
810
- // Shallow copy the user provided options so that headers can be changed
811
- // without mutating the original object.
812
- //
813
- options = { ...options, headers: {} };
814
-
815
- if (headers) {
816
- for (const [key, value] of Object.entries(headers)) {
817
- options.headers[key.toLowerCase()] = value;
818
- }
819
- }
820
- } else if (websocket.listenerCount('redirect') === 0) {
821
- const isSameHost = isIpcUrl
822
- ? websocket._originalIpc
823
- ? opts.socketPath === websocket._originalHostOrSocketPath
824
- : false
825
- : websocket._originalIpc
826
- ? false
827
- : parsedUrl.host === websocket._originalHostOrSocketPath;
828
-
829
- if (!isSameHost || (websocket._originalSecure && !isSecure)) {
830
- //
831
- // Match curl 7.77.0 behavior and drop the following headers. These
832
- // headers are also dropped when following a redirect to a subdomain.
833
- //
834
- delete opts.headers.authorization;
835
- delete opts.headers.cookie;
836
-
837
- if (!isSameHost) delete opts.headers.host;
838
-
839
- opts.auth = undefined;
840
- }
841
- }
842
-
843
- //
844
- // Match curl 7.77.0 behavior and make the first `Authorization` header win.
845
- // If the `Authorization` header is set, then there is nothing to do as it
846
- // will take precedence.
847
- //
848
- if (opts.auth && !options.headers.authorization) {
849
- options.headers.authorization =
850
- 'Basic ' + Buffer.from(opts.auth).toString('base64');
851
- }
852
-
853
- req = websocket._req = request(opts);
854
-
855
- if (websocket._redirects) {
856
- //
857
- // Unlike what is done for the `'upgrade'` event, no early exit is
858
- // triggered here if the user calls `websocket.close()` or
859
- // `websocket.terminate()` from a listener of the `'redirect'` event. This
860
- // is because the user can also call `request.destroy()` with an error
861
- // before calling `websocket.close()` or `websocket.terminate()` and this
862
- // would result in an error being emitted on the `request` object with no
863
- // `'error'` event listeners attached.
864
- //
865
- websocket.emit('redirect', websocket.url, req);
866
- }
867
- } else {
868
- req = websocket._req = request(opts);
869
- }
870
-
871
- if (opts.timeout) {
872
- req.on('timeout', () => {
873
- abortHandshake(websocket, req, 'Opening handshake has timed out');
874
- });
875
- }
876
-
877
- req.on('error', (err) => {
878
- if (req === null || req[kAborted]) return;
879
-
880
- req = websocket._req = null;
881
- emitErrorAndClose(websocket, err);
882
- });
883
-
884
- req.on('response', (res) => {
885
- const location = res.headers.location;
886
- const statusCode = res.statusCode;
887
-
888
- if (
889
- location &&
890
- opts.followRedirects &&
891
- statusCode >= 300 &&
892
- statusCode < 400
893
- ) {
894
- if (++websocket._redirects > opts.maxRedirects) {
895
- abortHandshake(websocket, req, 'Maximum redirects exceeded');
896
- return;
897
- }
898
-
899
- req.abort();
900
-
901
- let addr;
902
-
903
- try {
904
- addr = new URL(location, address);
905
- } catch (e) {
906
- const err = new SyntaxError(`Invalid URL: ${location}`);
907
- emitErrorAndClose(websocket, err);
908
- return;
909
- }
910
-
911
- initAsClient(websocket, addr, protocols, options);
912
- } else if (!websocket.emit('unexpected-response', req, res)) {
913
- abortHandshake(
914
- websocket,
915
- req,
916
- `Unexpected server response: ${res.statusCode}`
917
- );
918
- }
919
- });
920
-
921
- req.on('upgrade', (res, socket, head) => {
922
- websocket.emit('upgrade', res);
923
-
924
- //
925
- // The user may have closed the connection from a listener of the
926
- // `'upgrade'` event.
927
- //
928
- if (websocket.readyState !== WebSocket.CONNECTING) return;
929
-
930
- req = websocket._req = null;
931
-
932
- const upgrade = res.headers.upgrade;
933
-
934
- if (upgrade === undefined || upgrade.toLowerCase() !== 'websocket') {
935
- abortHandshake(websocket, socket, 'Invalid Upgrade header');
936
- return;
937
- }
938
-
939
- const digest = createHash('sha1')
940
- .update(key + GUID)
941
- .digest('base64');
942
-
943
- if (res.headers['sec-websocket-accept'] !== digest) {
944
- abortHandshake(websocket, socket, 'Invalid Sec-WebSocket-Accept header');
945
- return;
946
- }
947
-
948
- const serverProt = res.headers['sec-websocket-protocol'];
949
- let protError;
950
-
951
- if (serverProt !== undefined) {
952
- if (!protocolSet.size) {
953
- protError = 'Server sent a subprotocol but none was requested';
954
- } else if (!protocolSet.has(serverProt)) {
955
- protError = 'Server sent an invalid subprotocol';
956
- }
957
- } else if (protocolSet.size) {
958
- protError = 'Server sent no subprotocol';
959
- }
960
-
961
- if (protError) {
962
- abortHandshake(websocket, socket, protError);
963
- return;
964
- }
965
-
966
- if (serverProt) websocket._protocol = serverProt;
967
-
968
- const secWebSocketExtensions = res.headers['sec-websocket-extensions'];
969
-
970
- if (secWebSocketExtensions !== undefined) {
971
- if (!perMessageDeflate) {
972
- const message =
973
- 'Server sent a Sec-WebSocket-Extensions header but no extension ' +
974
- 'was requested';
975
- abortHandshake(websocket, socket, message);
976
- return;
977
- }
978
-
979
- let extensions;
980
-
981
- try {
982
- extensions = parse(secWebSocketExtensions);
983
- } catch (err) {
984
- const message = 'Invalid Sec-WebSocket-Extensions header';
985
- abortHandshake(websocket, socket, message);
986
- return;
987
- }
988
-
989
- const extensionNames = Object.keys(extensions);
990
-
991
- if (
992
- extensionNames.length !== 1 ||
993
- extensionNames[0] !== PerMessageDeflate.extensionName
994
- ) {
995
- const message = 'Server indicated an extension that was not requested';
996
- abortHandshake(websocket, socket, message);
997
- return;
998
- }
999
-
1000
- try {
1001
- perMessageDeflate.accept(extensions[PerMessageDeflate.extensionName]);
1002
- } catch (err) {
1003
- const message = 'Invalid Sec-WebSocket-Extensions header';
1004
- abortHandshake(websocket, socket, message);
1005
- return;
1006
- }
1007
-
1008
- websocket._extensions[PerMessageDeflate.extensionName] =
1009
- perMessageDeflate;
1010
- }
1011
-
1012
- websocket.setSocket(socket, head, {
1013
- allowSynchronousEvents: opts.allowSynchronousEvents,
1014
- generateMask: opts.generateMask,
1015
- maxPayload: opts.maxPayload,
1016
- skipUTF8Validation: opts.skipUTF8Validation
1017
- });
1018
- });
1019
-
1020
- if (opts.finishRequest) {
1021
- opts.finishRequest(req, websocket);
1022
- } else {
1023
- req.end();
1024
- }
1025
- }
1026
-
1027
- /**
1028
- * Emit the `'error'` and `'close'` events.
1029
- *
1030
- * @param {WebSocket} websocket The WebSocket instance
1031
- * @param {Error} The error to emit
1032
- * @private
1033
- */
1034
- function emitErrorAndClose(websocket, err) {
1035
- websocket._readyState = WebSocket.CLOSING;
1036
- //
1037
- // The following assignment is practically useless and is done only for
1038
- // consistency.
1039
- //
1040
- websocket._errorEmitted = true;
1041
- websocket.emit('error', err);
1042
- websocket.emitClose();
1043
- }
1044
-
1045
- /**
1046
- * Create a `net.Socket` and initiate a connection.
1047
- *
1048
- * @param {Object} options Connection options
1049
- * @return {net.Socket} The newly created socket used to start the connection
1050
- * @private
1051
- */
1052
- function netConnect(options) {
1053
- options.path = options.socketPath;
1054
- return net.connect(options);
1055
- }
1056
-
1057
- /**
1058
- * Create a `tls.TLSSocket` and initiate a connection.
1059
- *
1060
- * @param {Object} options Connection options
1061
- * @return {tls.TLSSocket} The newly created socket used to start the connection
1062
- * @private
1063
- */
1064
- function tlsConnect(options) {
1065
- options.path = undefined;
1066
-
1067
- if (!options.servername && options.servername !== '') {
1068
- options.servername = net.isIP(options.host) ? '' : options.host;
1069
- }
1070
-
1071
- return tls.connect(options);
1072
- }
1073
-
1074
- /**
1075
- * Abort the handshake and emit an error.
1076
- *
1077
- * @param {WebSocket} websocket The WebSocket instance
1078
- * @param {(http.ClientRequest|net.Socket|tls.Socket)} stream The request to
1079
- * abort or the socket to destroy
1080
- * @param {String} message The error message
1081
- * @private
1082
- */
1083
- function abortHandshake(websocket, stream, message) {
1084
- websocket._readyState = WebSocket.CLOSING;
1085
-
1086
- const err = new Error(message);
1087
- Error.captureStackTrace(err, abortHandshake);
1088
-
1089
- if (stream.setHeader) {
1090
- stream[kAborted] = true;
1091
- stream.abort();
1092
-
1093
- if (stream.socket && !stream.socket.destroyed) {
1094
- //
1095
- // On Node.js >= 14.3.0 `request.abort()` does not destroy the socket if
1096
- // called after the request completed. See
1097
- // https://github.com/websockets/ws/issues/1869.
1098
- //
1099
- stream.socket.destroy();
1100
- }
1101
-
1102
- process.nextTick(emitErrorAndClose, websocket, err);
1103
- } else {
1104
- stream.destroy(err);
1105
- stream.once('error', websocket.emit.bind(websocket, 'error'));
1106
- stream.once('close', websocket.emitClose.bind(websocket));
1107
- }
1108
- }
1109
-
1110
- /**
1111
- * Handle cases where the `ping()`, `pong()`, or `send()` methods are called
1112
- * when the `readyState` attribute is `CLOSING` or `CLOSED`.
1113
- *
1114
- * @param {WebSocket} websocket The WebSocket instance
1115
- * @param {*} [data] The data to send
1116
- * @param {Function} [cb] Callback
1117
- * @private
1118
- */
1119
- function sendAfterClose(websocket, data, cb) {
1120
- if (data) {
1121
- const length = isBlob(data) ? data.size : toBuffer(data).length;
1122
-
1123
- //
1124
- // The `_bufferedAmount` property is used only when the peer is a client and
1125
- // the opening handshake fails. Under these circumstances, in fact, the
1126
- // `setSocket()` method is not called, so the `_socket` and `_sender`
1127
- // properties are set to `null`.
1128
- //
1129
- if (websocket._socket) websocket._sender._bufferedBytes += length;
1130
- else websocket._bufferedAmount += length;
1131
- }
1132
-
1133
- if (cb) {
1134
- const err = new Error(
1135
- `WebSocket is not open: readyState ${websocket.readyState} ` +
1136
- `(${readyStates[websocket.readyState]})`
1137
- );
1138
- process.nextTick(cb, err);
1139
- }
1140
- }
1141
-
1142
- /**
1143
- * The listener of the `Receiver` `'conclude'` event.
1144
- *
1145
- * @param {Number} code The status code
1146
- * @param {Buffer} reason The reason for closing
1147
- * @private
1148
- */
1149
- function receiverOnConclude(code, reason) {
1150
- const websocket = this[kWebSocket];
1151
-
1152
- websocket._closeFrameReceived = true;
1153
- websocket._closeMessage = reason;
1154
- websocket._closeCode = code;
1155
-
1156
- if (websocket._socket[kWebSocket] === undefined) return;
1157
-
1158
- websocket._socket.removeListener('data', socketOnData);
1159
- process.nextTick(resume, websocket._socket);
1160
-
1161
- if (code === 1005) websocket.close();
1162
- else websocket.close(code, reason);
1163
- }
1164
-
1165
- /**
1166
- * The listener of the `Receiver` `'drain'` event.
1167
- *
1168
- * @private
1169
- */
1170
- function receiverOnDrain() {
1171
- const websocket = this[kWebSocket];
1172
-
1173
- if (!websocket.isPaused) websocket._socket.resume();
1174
- }
1175
-
1176
- /**
1177
- * The listener of the `Receiver` `'error'` event.
1178
- *
1179
- * @param {(RangeError|Error)} err The emitted error
1180
- * @private
1181
- */
1182
- function receiverOnError(err) {
1183
- const websocket = this[kWebSocket];
1184
-
1185
- if (websocket._socket[kWebSocket] !== undefined) {
1186
- websocket._socket.removeListener('data', socketOnData);
1187
-
1188
- //
1189
- // On Node.js < 14.0.0 the `'error'` event is emitted synchronously. See
1190
- // https://github.com/websockets/ws/issues/1940.
1191
- //
1192
- process.nextTick(resume, websocket._socket);
1193
-
1194
- websocket.close(err[kStatusCode]);
1195
- }
1196
-
1197
- if (!websocket._errorEmitted) {
1198
- websocket._errorEmitted = true;
1199
- websocket.emit('error', err);
1200
- }
1201
- }
1202
-
1203
- /**
1204
- * The listener of the `Receiver` `'finish'` event.
1205
- *
1206
- * @private
1207
- */
1208
- function receiverOnFinish() {
1209
- this[kWebSocket].emitClose();
1210
- }
1211
-
1212
- /**
1213
- * The listener of the `Receiver` `'message'` event.
1214
- *
1215
- * @param {Buffer|ArrayBuffer|Buffer[])} data The message
1216
- * @param {Boolean} isBinary Specifies whether the message is binary or not
1217
- * @private
1218
- */
1219
- function receiverOnMessage(data, isBinary) {
1220
- this[kWebSocket].emit('message', data, isBinary);
1221
- }
1222
-
1223
- /**
1224
- * The listener of the `Receiver` `'ping'` event.
1225
- *
1226
- * @param {Buffer} data The data included in the ping frame
1227
- * @private
1228
- */
1229
- function receiverOnPing(data) {
1230
- const websocket = this[kWebSocket];
1231
-
1232
- if (websocket._autoPong) websocket.pong(data, !this._isServer, NOOP);
1233
- websocket.emit('ping', data);
1234
- }
1235
-
1236
- /**
1237
- * The listener of the `Receiver` `'pong'` event.
1238
- *
1239
- * @param {Buffer} data The data included in the pong frame
1240
- * @private
1241
- */
1242
- function receiverOnPong(data) {
1243
- this[kWebSocket].emit('pong', data);
1244
- }
1245
-
1246
- /**
1247
- * Resume a readable stream
1248
- *
1249
- * @param {Readable} stream The readable stream
1250
- * @private
1251
- */
1252
- function resume(stream) {
1253
- stream.resume();
1254
- }
1255
-
1256
- /**
1257
- * The `Sender` error event handler.
1258
- *
1259
- * @param {Error} The error
1260
- * @private
1261
- */
1262
- function senderOnError(err) {
1263
- const websocket = this[kWebSocket];
1264
-
1265
- if (websocket.readyState === WebSocket.CLOSED) return;
1266
- if (websocket.readyState === WebSocket.OPEN) {
1267
- websocket._readyState = WebSocket.CLOSING;
1268
- setCloseTimer(websocket);
1269
- }
1270
-
1271
- //
1272
- // `socket.end()` is used instead of `socket.destroy()` to allow the other
1273
- // peer to finish sending queued data. There is no need to set a timer here
1274
- // because `CLOSING` means that it is already set or not needed.
1275
- //
1276
- this._socket.end();
1277
-
1278
- if (!websocket._errorEmitted) {
1279
- websocket._errorEmitted = true;
1280
- websocket.emit('error', err);
1281
- }
1282
- }
1283
-
1284
- /**
1285
- * Set a timer to destroy the underlying raw socket of a WebSocket.
1286
- *
1287
- * @param {WebSocket} websocket The WebSocket instance
1288
- * @private
1289
- */
1290
- function setCloseTimer(websocket) {
1291
- websocket._closeTimer = setTimeout(
1292
- websocket._socket.destroy.bind(websocket._socket),
1293
- closeTimeout
1294
- );
1295
- }
1296
-
1297
- /**
1298
- * The listener of the socket `'close'` event.
1299
- *
1300
- * @private
1301
- */
1302
- function socketOnClose() {
1303
- const websocket = this[kWebSocket];
1304
-
1305
- this.removeListener('close', socketOnClose);
1306
- this.removeListener('data', socketOnData);
1307
- this.removeListener('end', socketOnEnd);
1308
-
1309
- websocket._readyState = WebSocket.CLOSING;
1310
-
1311
- let chunk;
1312
-
1313
- //
1314
- // The close frame might not have been received or the `'end'` event emitted,
1315
- // for example, if the socket was destroyed due to an error. Ensure that the
1316
- // `receiver` stream is closed after writing any remaining buffered data to
1317
- // it. If the readable side of the socket is in flowing mode then there is no
1318
- // buffered data as everything has been already written and `readable.read()`
1319
- // will return `null`. If instead, the socket is paused, any possible buffered
1320
- // data will be read as a single chunk.
1321
- //
1322
- if (
1323
- !this._readableState.endEmitted &&
1324
- !websocket._closeFrameReceived &&
1325
- !websocket._receiver._writableState.errorEmitted &&
1326
- (chunk = websocket._socket.read()) !== null
1327
- ) {
1328
- websocket._receiver.write(chunk);
1329
- }
1330
-
1331
- websocket._receiver.end();
1332
-
1333
- this[kWebSocket] = undefined;
1334
-
1335
- clearTimeout(websocket._closeTimer);
1336
-
1337
- if (
1338
- websocket._receiver._writableState.finished ||
1339
- websocket._receiver._writableState.errorEmitted
1340
- ) {
1341
- websocket.emitClose();
1342
- } else {
1343
- websocket._receiver.on('error', receiverOnFinish);
1344
- websocket._receiver.on('finish', receiverOnFinish);
1345
- }
1346
- }
1347
-
1348
- /**
1349
- * The listener of the socket `'data'` event.
1350
- *
1351
- * @param {Buffer} chunk A chunk of data
1352
- * @private
1353
- */
1354
- function socketOnData(chunk) {
1355
- if (!this[kWebSocket]._receiver.write(chunk)) {
1356
- this.pause();
1357
- }
1358
- }
1359
-
1360
- /**
1361
- * The listener of the socket `'end'` event.
1362
- *
1363
- * @private
1364
- */
1365
- function socketOnEnd() {
1366
- const websocket = this[kWebSocket];
1367
-
1368
- websocket._readyState = WebSocket.CLOSING;
1369
- websocket._receiver.end();
1370
- this.end();
1371
- }
1372
-
1373
- /**
1374
- * The listener of the socket `'error'` event.
1375
- *
1376
- * @private
1377
- */
1378
- function socketOnError() {
1379
- const websocket = this[kWebSocket];
1380
-
1381
- this.removeListener('error', socketOnError);
1382
- this.on('error', NOOP);
1383
-
1384
- if (websocket) {
1385
- websocket._readyState = WebSocket.CLOSING;
1386
- this.destroy();
1387
- }
1388
- }