pi-cursor-sdk 0.1.4 → 0.1.5

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 (2607) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +30 -17
  3. package/docs/cursor-model-ux-spec.md +11 -2
  4. package/package.json +2 -5
  5. package/src/cursor-native-tool-display.ts +80 -0
  6. package/src/cursor-provider.ts +552 -88
  7. package/src/cursor-tool-transcript.ts +553 -0
  8. package/src/index.ts +2 -0
  9. package/src/model-discovery.ts +34 -10
  10. package/node_modules/@bufbuild/protobuf/README.md +0 -43
  11. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.d.ts +0 -422
  12. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.js +0 -444
  13. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.d.ts +0 -113
  14. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.js +0 -15
  15. package/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.d.ts +0 -33
  16. package/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.js +0 -69
  17. package/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.d.ts +0 -36
  18. package/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.js +0 -910
  19. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.d.ts +0 -15
  20. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.js +0 -264
  21. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.d.ts +0 -9
  22. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.js +0 -94
  23. package/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.d.ts +0 -672
  24. package/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.js +0 -15
  25. package/node_modules/@bufbuild/protobuf/dist/cjs/enum.d.ts +0 -35
  26. package/node_modules/@bufbuild/protobuf/dist/cjs/enum.js +0 -15
  27. package/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.d.ts +0 -35
  28. package/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.js +0 -114
  29. package/node_modules/@bufbuild/protobuf/dist/cjs/extension.d.ts +0 -24
  30. package/node_modules/@bufbuild/protobuf/dist/cjs/extension.js +0 -15
  31. package/node_modules/@bufbuild/protobuf/dist/cjs/field-list.d.ts +0 -27
  32. package/node_modules/@bufbuild/protobuf/dist/cjs/field-list.js +0 -15
  33. package/node_modules/@bufbuild/protobuf/dist/cjs/field.d.ts +0 -314
  34. package/node_modules/@bufbuild/protobuf/dist/cjs/field.js +0 -15
  35. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.d.ts +0 -157
  36. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.js +0 -273
  37. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.d.ts +0 -256
  38. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.js +0 -316
  39. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.d.ts +0 -271
  40. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.js +0 -219
  41. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.d.ts +0 -2277
  42. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.js +0 -2077
  43. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.d.ts +0 -100
  44. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.js +0 -169
  45. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.d.ts +0 -28
  46. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.js +0 -52
  47. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.d.ts +0 -227
  48. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.js +0 -311
  49. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.d.ts +0 -29
  50. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.js +0 -55
  51. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.d.ts +0 -158
  52. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.js +0 -240
  53. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.d.ts +0 -132
  54. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.js +0 -213
  55. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.d.ts +0 -437
  56. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.js +0 -562
  57. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.d.ts +0 -267
  58. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.js +0 -569
  59. package/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.d.ts +0 -70
  60. package/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.js +0 -323
  61. package/node_modules/@bufbuild/protobuf/dist/cjs/index.d.ts +0 -42
  62. package/node_modules/@bufbuild/protobuf/dist/cjs/index.js +0 -84
  63. package/node_modules/@bufbuild/protobuf/dist/cjs/is-message.d.ts +0 -22
  64. package/node_modules/@bufbuild/protobuf/dist/cjs/is-message.js +0 -52
  65. package/node_modules/@bufbuild/protobuf/dist/cjs/json-format.d.ts +0 -111
  66. package/node_modules/@bufbuild/protobuf/dist/cjs/json-format.js +0 -15
  67. package/node_modules/@bufbuild/protobuf/dist/cjs/message-type.d.ts +0 -51
  68. package/node_modules/@bufbuild/protobuf/dist/cjs/message-type.js +0 -15
  69. package/node_modules/@bufbuild/protobuf/dist/cjs/message.d.ts +0 -131
  70. package/node_modules/@bufbuild/protobuf/dist/cjs/message.js +0 -129
  71. package/node_modules/@bufbuild/protobuf/dist/cjs/package.json +0 -1
  72. package/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.d.ts +0 -16
  73. package/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.js +0 -59
  74. package/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.d.ts +0 -7
  75. package/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.js +0 -431
  76. package/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.d.ts +0 -27
  77. package/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.js +0 -94
  78. package/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.d.ts +0 -34
  79. package/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.js +0 -86
  80. package/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.d.ts +0 -19
  81. package/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.js +0 -120
  82. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.d.ts +0 -18
  83. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.js +0 -76
  84. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.d.ts +0 -9
  85. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.js +0 -69
  86. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.d.ts +0 -25
  87. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.js +0 -57
  88. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field.d.ts +0 -16
  89. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field.js +0 -45
  90. package/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.d.ts +0 -2
  91. package/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.js +0 -626
  92. package/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.d.ts +0 -18
  93. package/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.js +0 -50
  94. package/node_modules/@bufbuild/protobuf/dist/cjs/private/names.d.ts +0 -43
  95. package/node_modules/@bufbuild/protobuf/dist/cjs/private/names.js +0 -278
  96. package/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.d.ts +0 -7
  97. package/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.js +0 -15
  98. package/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.d.ts +0 -53
  99. package/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.js +0 -41
  100. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.d.ts +0 -9
  101. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.js +0 -79
  102. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.d.ts +0 -102
  103. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.js +0 -172
  104. package/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.d.ts +0 -18
  105. package/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.js +0 -105
  106. package/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.d.ts +0 -4
  107. package/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.js +0 -189
  108. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.d.ts +0 -2
  109. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.js +0 -237
  110. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util.d.ts +0 -38
  111. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util.js +0 -15
  112. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.d.ts +0 -18
  113. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.js +0 -128
  114. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.d.ts +0 -54
  115. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.js +0 -155
  116. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.d.ts +0 -5
  117. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.js +0 -29
  118. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.d.ts +0 -95
  119. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.js +0 -116
  120. package/node_modules/@bufbuild/protobuf/dist/cjs/proto2.d.ts +0 -4
  121. package/node_modules/@bufbuild/protobuf/dist/cjs/proto2.js +0 -53
  122. package/node_modules/@bufbuild/protobuf/dist/cjs/proto3.d.ts +0 -4
  123. package/node_modules/@bufbuild/protobuf/dist/cjs/proto3.js +0 -56
  124. package/node_modules/@bufbuild/protobuf/dist/cjs/scalar.d.ts +0 -53
  125. package/node_modules/@bufbuild/protobuf/dist/cjs/scalar.js +0 -81
  126. package/node_modules/@bufbuild/protobuf/dist/cjs/service-type.d.ts +0 -96
  127. package/node_modules/@bufbuild/protobuf/dist/cjs/service-type.js +0 -53
  128. package/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.d.ts +0 -12
  129. package/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.js +0 -72
  130. package/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.d.ts +0 -57
  131. package/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.js +0 -15
  132. package/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.d.ts +0 -422
  133. package/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.js +0 -439
  134. package/node_modules/@bufbuild/protobuf/dist/esm/binary-format.d.ts +0 -113
  135. package/node_modules/@bufbuild/protobuf/dist/esm/binary-format.js +0 -14
  136. package/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.d.ts +0 -33
  137. package/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.js +0 -67
  138. package/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.d.ts +0 -36
  139. package/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.js +0 -906
  140. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.d.ts +0 -15
  141. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.js +0 -261
  142. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry.d.ts +0 -9
  143. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry.js +0 -90
  144. package/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.d.ts +0 -672
  145. package/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.js +0 -14
  146. package/node_modules/@bufbuild/protobuf/dist/esm/enum.d.ts +0 -35
  147. package/node_modules/@bufbuild/protobuf/dist/esm/enum.js +0 -14
  148. package/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.d.ts +0 -35
  149. package/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.js +0 -107
  150. package/node_modules/@bufbuild/protobuf/dist/esm/extension.d.ts +0 -24
  151. package/node_modules/@bufbuild/protobuf/dist/esm/extension.js +0 -14
  152. package/node_modules/@bufbuild/protobuf/dist/esm/field-list.d.ts +0 -27
  153. package/node_modules/@bufbuild/protobuf/dist/esm/field-list.js +0 -14
  154. package/node_modules/@bufbuild/protobuf/dist/esm/field.d.ts +0 -314
  155. package/node_modules/@bufbuild/protobuf/dist/esm/field.js +0 -14
  156. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.d.ts +0 -157
  157. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.js +0 -269
  158. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.d.ts +0 -256
  159. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.js +0 -310
  160. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.d.ts +0 -271
  161. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.js +0 -212
  162. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.d.ts +0 -2277
  163. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.js +0 -2041
  164. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.d.ts +0 -100
  165. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.js +0 -165
  166. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.d.ts +0 -28
  167. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.js +0 -48
  168. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.d.ts +0 -227
  169. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.js +0 -307
  170. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.d.ts +0 -29
  171. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.js +0 -51
  172. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.d.ts +0 -158
  173. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.js +0 -234
  174. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.d.ts +0 -132
  175. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.js +0 -209
  176. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.d.ts +0 -437
  177. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.js +0 -554
  178. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.d.ts +0 -267
  179. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.js +0 -557
  180. package/node_modules/@bufbuild/protobuf/dist/esm/google/varint.d.ts +0 -70
  181. package/node_modules/@bufbuild/protobuf/dist/esm/google/varint.js +0 -313
  182. package/node_modules/@bufbuild/protobuf/dist/esm/index.d.ts +0 -42
  183. package/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -43
  184. package/node_modules/@bufbuild/protobuf/dist/esm/is-message.d.ts +0 -22
  185. package/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +0 -48
  186. package/node_modules/@bufbuild/protobuf/dist/esm/json-format.d.ts +0 -111
  187. package/node_modules/@bufbuild/protobuf/dist/esm/json-format.js +0 -14
  188. package/node_modules/@bufbuild/protobuf/dist/esm/message-type.d.ts +0 -51
  189. package/node_modules/@bufbuild/protobuf/dist/esm/message-type.js +0 -14
  190. package/node_modules/@bufbuild/protobuf/dist/esm/message.d.ts +0 -131
  191. package/node_modules/@bufbuild/protobuf/dist/esm/message.js +0 -125
  192. package/node_modules/@bufbuild/protobuf/dist/esm/private/assert.d.ts +0 -16
  193. package/node_modules/@bufbuild/protobuf/dist/esm/private/assert.js +0 -52
  194. package/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.d.ts +0 -7
  195. package/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.js +0 -427
  196. package/node_modules/@bufbuild/protobuf/dist/esm/private/enum.d.ts +0 -27
  197. package/node_modules/@bufbuild/protobuf/dist/esm/private/enum.js +0 -87
  198. package/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.d.ts +0 -34
  199. package/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.js +0 -81
  200. package/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.d.ts +0 -19
  201. package/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.js +0 -116
  202. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.d.ts +0 -18
  203. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.js +0 -72
  204. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.d.ts +0 -9
  205. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.js +0 -65
  206. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.d.ts +0 -25
  207. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.js +0 -53
  208. package/node_modules/@bufbuild/protobuf/dist/esm/private/field.d.ts +0 -16
  209. package/node_modules/@bufbuild/protobuf/dist/esm/private/field.js +0 -41
  210. package/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.d.ts +0 -2
  211. package/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.js +0 -623
  212. package/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.d.ts +0 -18
  213. package/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.js +0 -46
  214. package/node_modules/@bufbuild/protobuf/dist/esm/private/names.d.ts +0 -43
  215. package/node_modules/@bufbuild/protobuf/dist/esm/private/names.js +0 -269
  216. package/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.d.ts +0 -7
  217. package/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.js +0 -14
  218. package/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.d.ts +0 -53
  219. package/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.js +0 -37
  220. package/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.d.ts +0 -9
  221. package/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.js +0 -74
  222. package/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.d.ts +0 -102
  223. package/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.js +0 -168
  224. package/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.d.ts +0 -18
  225. package/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.js +0 -99
  226. package/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.d.ts +0 -4
  227. package/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.js +0 -184
  228. package/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.d.ts +0 -2
  229. package/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.js +0 -234
  230. package/node_modules/@bufbuild/protobuf/dist/esm/private/util.d.ts +0 -38
  231. package/node_modules/@bufbuild/protobuf/dist/esm/private/util.js +0 -14
  232. package/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.d.ts +0 -18
  233. package/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.js +0 -125
  234. package/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.d.ts +0 -54
  235. package/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.js +0 -152
  236. package/node_modules/@bufbuild/protobuf/dist/esm/proto-double.d.ts +0 -5
  237. package/node_modules/@bufbuild/protobuf/dist/esm/proto-double.js +0 -26
  238. package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.d.ts +0 -95
  239. package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +0 -113
  240. package/node_modules/@bufbuild/protobuf/dist/esm/proto2.d.ts +0 -4
  241. package/node_modules/@bufbuild/protobuf/dist/esm/proto2.js +0 -50
  242. package/node_modules/@bufbuild/protobuf/dist/esm/proto3.d.ts +0 -4
  243. package/node_modules/@bufbuild/protobuf/dist/esm/proto3.js +0 -53
  244. package/node_modules/@bufbuild/protobuf/dist/esm/scalar.d.ts +0 -53
  245. package/node_modules/@bufbuild/protobuf/dist/esm/scalar.js +0 -78
  246. package/node_modules/@bufbuild/protobuf/dist/esm/service-type.d.ts +0 -96
  247. package/node_modules/@bufbuild/protobuf/dist/esm/service-type.js +0 -50
  248. package/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.d.ts +0 -12
  249. package/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.js +0 -70
  250. package/node_modules/@bufbuild/protobuf/dist/esm/type-registry.d.ts +0 -57
  251. package/node_modules/@bufbuild/protobuf/dist/esm/type-registry.js +0 -14
  252. package/node_modules/@bufbuild/protobuf/package.json +0 -34
  253. package/node_modules/@connectrpc/connect/README.md +0 -62
  254. package/node_modules/@connectrpc/connect/dist/cjs/any-client.d.ts +0 -22
  255. package/node_modules/@connectrpc/connect/dist/cjs/any-client.js +0 -34
  256. package/node_modules/@connectrpc/connect/dist/cjs/call-options.d.ts +0 -34
  257. package/node_modules/@connectrpc/connect/dist/cjs/call-options.js +0 -15
  258. package/node_modules/@connectrpc/connect/dist/cjs/callback-client.d.ts +0 -31
  259. package/node_modules/@connectrpc/connect/dist/cjs/callback-client.js +0 -116
  260. package/node_modules/@connectrpc/connect/dist/cjs/code.d.ts +0 -75
  261. package/node_modules/@connectrpc/connect/dist/cjs/code.js +0 -92
  262. package/node_modules/@connectrpc/connect/dist/cjs/connect-error.d.ts +0 -90
  263. package/node_modules/@connectrpc/connect/dist/cjs/connect-error.js +0 -134
  264. package/node_modules/@connectrpc/connect/dist/cjs/context-values.d.ts +0 -34
  265. package/node_modules/@connectrpc/connect/dist/cjs/context-values.js +0 -41
  266. package/node_modules/@connectrpc/connect/dist/cjs/cors.d.ts +0 -45
  267. package/node_modules/@connectrpc/connect/dist/cjs/cors.js +0 -82
  268. package/node_modules/@connectrpc/connect/dist/cjs/http-headers.d.ts +0 -36
  269. package/node_modules/@connectrpc/connect/dist/cjs/http-headers.js +0 -68
  270. package/node_modules/@connectrpc/connect/dist/cjs/implementation.d.ts +0 -165
  271. package/node_modules/@connectrpc/connect/dist/cjs/implementation.js +0 -79
  272. package/node_modules/@connectrpc/connect/dist/cjs/index.d.ts +0 -22
  273. package/node_modules/@connectrpc/connect/dist/cjs/index.js +0 -47
  274. package/node_modules/@connectrpc/connect/dist/cjs/interceptor.d.ts +0 -155
  275. package/node_modules/@connectrpc/connect/dist/cjs/interceptor.js +0 -27
  276. package/node_modules/@connectrpc/connect/dist/cjs/method-type.d.ts +0 -43
  277. package/node_modules/@connectrpc/connect/dist/cjs/method-type.js +0 -15
  278. package/node_modules/@connectrpc/connect/dist/cjs/package.json +0 -1
  279. package/node_modules/@connectrpc/connect/dist/cjs/promise-client.d.ts +0 -49
  280. package/node_modules/@connectrpc/connect/dist/cjs/promise-client.js +0 -147
  281. package/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.d.ts +0 -527
  282. package/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.js +0 -959
  283. package/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.d.ts +0 -48
  284. package/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.js +0 -75
  285. package/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.d.ts +0 -16
  286. package/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.js +0 -43
  287. package/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.d.ts +0 -17
  288. package/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.js +0 -36
  289. package/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.d.ts +0 -59
  290. package/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.js +0 -152
  291. package/node_modules/@connectrpc/connect/dist/cjs/protocol/index.d.ts +0 -24
  292. package/node_modules/@connectrpc/connect/dist/cjs/protocol/index.js +0 -93
  293. package/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.d.ts +0 -21
  294. package/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.js +0 -250
  295. package/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.d.ts +0 -24
  296. package/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.js +0 -80
  297. package/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.d.ts +0 -12
  298. package/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.js +0 -56
  299. package/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.d.ts +0 -18
  300. package/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.js +0 -15
  301. package/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.d.ts +0 -45
  302. package/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.js +0 -119
  303. package/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.d.ts +0 -104
  304. package/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.js +0 -148
  305. package/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.d.ts +0 -36
  306. package/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.js +0 -100
  307. package/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.d.ts +0 -98
  308. package/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.js +0 -15
  309. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.d.ts +0 -35
  310. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.js +0 -150
  311. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.d.ts +0 -7
  312. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.js +0 -90
  313. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.d.ts +0 -155
  314. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.js +0 -131
  315. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.d.ts +0 -102
  316. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.js +0 -78
  317. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.d.ts +0 -16
  318. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.js +0 -52
  319. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.d.ts +0 -40
  320. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.js +0 -71
  321. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.d.ts +0 -44
  322. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.js +0 -132
  323. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.d.ts +0 -36
  324. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.js +0 -163
  325. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.d.ts +0 -7
  326. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.js +0 -68
  327. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.d.ts +0 -6
  328. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.js +0 -281
  329. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.d.ts +0 -12
  330. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.js +0 -28
  331. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.d.ts +0 -15
  332. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.js +0 -90
  333. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.d.ts +0 -16
  334. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.js +0 -81
  335. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.d.ts +0 -13
  336. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.js +0 -44
  337. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.d.ts +0 -8
  338. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.js +0 -24
  339. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.d.ts +0 -19
  340. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.js +0 -70
  341. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.d.ts +0 -19
  342. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.js +0 -53
  343. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.d.ts +0 -6
  344. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.js +0 -214
  345. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.d.ts +0 -30
  346. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.js +0 -72
  347. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.d.ts +0 -20
  348. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.js +0 -58
  349. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.d.ts +0 -16
  350. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.js +0 -38
  351. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.d.ts +0 -89
  352. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.js +0 -120
  353. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.d.ts +0 -6
  354. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.js +0 -122
  355. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.d.ts +0 -12
  356. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.js +0 -28
  357. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.d.ts +0 -8
  358. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.js +0 -46
  359. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.d.ts +0 -10
  360. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.js +0 -61
  361. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.d.ts +0 -13
  362. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.js +0 -53
  363. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.d.ts +0 -13
  364. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.js +0 -56
  365. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.d.ts +0 -28
  366. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.js +0 -104
  367. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.d.ts +0 -6
  368. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.js +0 -185
  369. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.d.ts +0 -33
  370. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.js +0 -75
  371. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.d.ts +0 -13
  372. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.js +0 -44
  373. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.d.ts +0 -19
  374. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.js +0 -41
  375. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.d.ts +0 -6
  376. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.js +0 -128
  377. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.d.ts +0 -20
  378. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.js +0 -44
  379. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.d.ts +0 -8
  380. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.js +0 -61
  381. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.d.ts +0 -13
  382. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.js +0 -59
  383. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.d.ts +0 -27
  384. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.js +0 -71
  385. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.d.ts +0 -6
  386. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.js +0 -238
  387. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.d.ts +0 -34
  388. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.js +0 -73
  389. package/node_modules/@connectrpc/connect/dist/cjs/router-transport.d.ts +0 -13
  390. package/node_modules/@connectrpc/connect/dist/cjs/router-transport.js +0 -32
  391. package/node_modules/@connectrpc/connect/dist/cjs/router.d.ts +0 -88
  392. package/node_modules/@connectrpc/connect/dist/cjs/router.js +0 -83
  393. package/node_modules/@connectrpc/connect/dist/cjs/transport.d.ts +0 -20
  394. package/node_modules/@connectrpc/connect/dist/cjs/transport.js +0 -15
  395. package/node_modules/@connectrpc/connect/dist/esm/any-client.d.ts +0 -22
  396. package/node_modules/@connectrpc/connect/dist/esm/any-client.js +0 -31
  397. package/node_modules/@connectrpc/connect/dist/esm/call-options.d.ts +0 -34
  398. package/node_modules/@connectrpc/connect/dist/esm/call-options.js +0 -14
  399. package/node_modules/@connectrpc/connect/dist/esm/callback-client.d.ts +0 -31
  400. package/node_modules/@connectrpc/connect/dist/esm/callback-client.js +0 -113
  401. package/node_modules/@connectrpc/connect/dist/esm/code.d.ts +0 -75
  402. package/node_modules/@connectrpc/connect/dist/esm/code.js +0 -89
  403. package/node_modules/@connectrpc/connect/dist/esm/connect-error.d.ts +0 -90
  404. package/node_modules/@connectrpc/connect/dist/esm/connect-error.js +0 -130
  405. package/node_modules/@connectrpc/connect/dist/esm/context-values.d.ts +0 -34
  406. package/node_modules/@connectrpc/connect/dist/esm/context-values.js +0 -37
  407. package/node_modules/@connectrpc/connect/dist/esm/cors.d.ts +0 -45
  408. package/node_modules/@connectrpc/connect/dist/esm/cors.js +0 -79
  409. package/node_modules/@connectrpc/connect/dist/esm/http-headers.d.ts +0 -36
  410. package/node_modules/@connectrpc/connect/dist/esm/http-headers.js +0 -63
  411. package/node_modules/@connectrpc/connect/dist/esm/implementation.d.ts +0 -165
  412. package/node_modules/@connectrpc/connect/dist/esm/implementation.js +0 -75
  413. package/node_modules/@connectrpc/connect/dist/esm/index.d.ts +0 -22
  414. package/node_modules/@connectrpc/connect/dist/esm/index.js +0 -27
  415. package/node_modules/@connectrpc/connect/dist/esm/interceptor.d.ts +0 -155
  416. package/node_modules/@connectrpc/connect/dist/esm/interceptor.js +0 -24
  417. package/node_modules/@connectrpc/connect/dist/esm/method-type.d.ts +0 -43
  418. package/node_modules/@connectrpc/connect/dist/esm/method-type.js +0 -14
  419. package/node_modules/@connectrpc/connect/dist/esm/promise-client.d.ts +0 -49
  420. package/node_modules/@connectrpc/connect/dist/esm/promise-client.js +0 -139
  421. package/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.d.ts +0 -527
  422. package/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.js +0 -937
  423. package/node_modules/@connectrpc/connect/dist/esm/protocol/compression.d.ts +0 -48
  424. package/node_modules/@connectrpc/connect/dist/esm/protocol/compression.js +0 -71
  425. package/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.d.ts +0 -16
  426. package/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.js +0 -40
  427. package/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.d.ts +0 -17
  428. package/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.js +0 -33
  429. package/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.d.ts +0 -59
  430. package/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.js +0 -145
  431. package/node_modules/@connectrpc/connect/dist/esm/protocol/index.d.ts +0 -24
  432. package/node_modules/@connectrpc/connect/dist/esm/protocol/index.js +0 -32
  433. package/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.d.ts +0 -21
  434. package/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.js +0 -246
  435. package/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.d.ts +0 -24
  436. package/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.js +0 -75
  437. package/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.d.ts +0 -12
  438. package/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.js +0 -53
  439. package/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.d.ts +0 -18
  440. package/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.js +0 -14
  441. package/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.d.ts +0 -45
  442. package/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.js +0 -115
  443. package/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.d.ts +0 -104
  444. package/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.js +0 -140
  445. package/node_modules/@connectrpc/connect/dist/esm/protocol/signals.d.ts +0 -36
  446. package/node_modules/@connectrpc/connect/dist/esm/protocol/signals.js +0 -95
  447. package/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.d.ts +0 -98
  448. package/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.js +0 -14
  449. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.d.ts +0 -35
  450. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.js +0 -142
  451. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.d.ts +0 -7
  452. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.js +0 -87
  453. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.d.ts +0 -155
  454. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.js +0 -125
  455. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal.d.ts +0 -102
  456. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal.js +0 -74
  457. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.d.ts +0 -16
  458. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.js +0 -48
  459. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.d.ts +0 -40
  460. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.js +0 -66
  461. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.d.ts +0 -44
  462. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.js +0 -126
  463. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.d.ts +0 -36
  464. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.js +0 -157
  465. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.d.ts +0 -7
  466. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.js +0 -65
  467. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.d.ts +0 -6
  468. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.js +0 -278
  469. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.d.ts +0 -12
  470. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.js +0 -25
  471. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.d.ts +0 -15
  472. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.js +0 -86
  473. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.d.ts +0 -16
  474. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.js +0 -33
  475. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.d.ts +0 -13
  476. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.js +0 -41
  477. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.d.ts +0 -8
  478. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.js +0 -21
  479. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.d.ts +0 -19
  480. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.js +0 -66
  481. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.d.ts +0 -19
  482. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.js +0 -49
  483. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.d.ts +0 -6
  484. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.js +0 -211
  485. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.d.ts +0 -30
  486. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.js +0 -68
  487. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.d.ts +0 -20
  488. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.js +0 -53
  489. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.d.ts +0 -16
  490. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.js +0 -34
  491. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.d.ts +0 -89
  492. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.js +0 -116
  493. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.d.ts +0 -6
  494. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.js +0 -119
  495. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.d.ts +0 -12
  496. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.js +0 -25
  497. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.d.ts +0 -8
  498. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.js +0 -43
  499. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.d.ts +0 -10
  500. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.js +0 -28
  501. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.d.ts +0 -13
  502. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.js +0 -50
  503. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.d.ts +0 -13
  504. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.js +0 -52
  505. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.d.ts +0 -28
  506. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.js +0 -99
  507. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.d.ts +0 -6
  508. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.js +0 -182
  509. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.d.ts +0 -33
  510. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.js +0 -71
  511. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.d.ts +0 -13
  512. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.js +0 -41
  513. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.d.ts +0 -19
  514. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.js +0 -37
  515. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.d.ts +0 -6
  516. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.js +0 -125
  517. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.d.ts +0 -20
  518. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.js +0 -33
  519. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.d.ts +0 -8
  520. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.js +0 -26
  521. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.d.ts +0 -13
  522. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.js +0 -55
  523. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.d.ts +0 -27
  524. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.js +0 -65
  525. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.d.ts +0 -6
  526. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.js +0 -235
  527. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.d.ts +0 -34
  528. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.js +0 -69
  529. package/node_modules/@connectrpc/connect/dist/esm/router-transport.d.ts +0 -13
  530. package/node_modules/@connectrpc/connect/dist/esm/router-transport.js +0 -29
  531. package/node_modules/@connectrpc/connect/dist/esm/router.d.ts +0 -88
  532. package/node_modules/@connectrpc/connect/dist/esm/router.js +0 -80
  533. package/node_modules/@connectrpc/connect/dist/esm/transport.d.ts +0 -20
  534. package/node_modules/@connectrpc/connect/dist/esm/transport.js +0 -14
  535. package/node_modules/@connectrpc/connect/package.json +0 -75
  536. package/node_modules/@connectrpc/connect/protocol-connect.js +0 -16
  537. package/node_modules/@connectrpc/connect/protocol-grpc-web.js +0 -16
  538. package/node_modules/@connectrpc/connect/protocol-grpc.js +0 -16
  539. package/node_modules/@connectrpc/connect/protocol.js +0 -16
  540. package/node_modules/@connectrpc/connect-node/README.md +0 -141
  541. package/node_modules/@connectrpc/connect-node/dist/cjs/compression.d.ts +0 -15
  542. package/node_modules/@connectrpc/connect-node/dist/cjs/compression.js +0 -89
  543. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-node-adapter.d.ts +0 -42
  544. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-node-adapter.js +0 -61
  545. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-transport.d.ts +0 -100
  546. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-transport.js +0 -25
  547. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-transport.d.ts +0 -96
  548. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-transport.js +0 -25
  549. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-web-transport.d.ts +0 -96
  550. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-web-transport.js +0 -25
  551. package/node_modules/@connectrpc/connect-node/dist/cjs/http2-session-manager.d.ts +0 -146
  552. package/node_modules/@connectrpc/connect-node/dist/cjs/http2-session-manager.js +0 -536
  553. package/node_modules/@connectrpc/connect-node/dist/cjs/index.d.ts +0 -15
  554. package/node_modules/@connectrpc/connect-node/dist/cjs/index.js +0 -36
  555. package/node_modules/@connectrpc/connect-node/dist/cjs/node-error.d.ts +0 -45
  556. package/node_modules/@connectrpc/connect-node/dist/cjs/node-error.js +0 -154
  557. package/node_modules/@connectrpc/connect-node/dist/cjs/node-headers-polyfill.d.ts +0 -1
  558. package/node_modules/@connectrpc/connect-node/dist/cjs/node-headers-polyfill.js +0 -29
  559. package/node_modules/@connectrpc/connect-node/dist/cjs/node-transport-options.d.ts +0 -89
  560. package/node_modules/@connectrpc/connect-node/dist/cjs/node-transport-options.js +0 -58
  561. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-client.d.ts +0 -54
  562. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-client.js +0 -326
  563. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-handler.d.ts +0 -41
  564. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-handler.js +0 -234
  565. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-header.d.ts +0 -19
  566. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-header.js +0 -97
  567. package/node_modules/@connectrpc/connect-node/dist/cjs/package.json +0 -1
  568. package/node_modules/@connectrpc/connect-node/dist/esm/compression.d.ts +0 -15
  569. package/node_modules/@connectrpc/connect-node/dist/esm/compression.js +0 -86
  570. package/node_modules/@connectrpc/connect-node/dist/esm/connect-node-adapter.d.ts +0 -42
  571. package/node_modules/@connectrpc/connect-node/dist/esm/connect-node-adapter.js +0 -58
  572. package/node_modules/@connectrpc/connect-node/dist/esm/connect-transport.d.ts +0 -100
  573. package/node_modules/@connectrpc/connect-node/dist/esm/connect-transport.js +0 -22
  574. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-transport.d.ts +0 -96
  575. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-transport.js +0 -22
  576. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-web-transport.d.ts +0 -96
  577. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-web-transport.js +0 -22
  578. package/node_modules/@connectrpc/connect-node/dist/esm/http2-session-manager.d.ts +0 -146
  579. package/node_modules/@connectrpc/connect-node/dist/esm/http2-session-manager.js +0 -532
  580. package/node_modules/@connectrpc/connect-node/dist/esm/index.d.ts +0 -15
  581. package/node_modules/@connectrpc/connect-node/dist/esm/index.js +0 -23
  582. package/node_modules/@connectrpc/connect-node/dist/esm/node-error.d.ts +0 -45
  583. package/node_modules/@connectrpc/connect-node/dist/esm/node-error.js +0 -147
  584. package/node_modules/@connectrpc/connect-node/dist/esm/node-headers-polyfill.d.ts +0 -1
  585. package/node_modules/@connectrpc/connect-node/dist/esm/node-headers-polyfill.js +0 -27
  586. package/node_modules/@connectrpc/connect-node/dist/esm/node-transport-options.d.ts +0 -89
  587. package/node_modules/@connectrpc/connect-node/dist/esm/node-transport-options.js +0 -58
  588. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-client.d.ts +0 -54
  589. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-client.js +0 -324
  590. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-handler.d.ts +0 -41
  591. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-handler.js +0 -230
  592. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-header.d.ts +0 -19
  593. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-header.js +0 -93
  594. package/node_modules/@connectrpc/connect-node/package.json +0 -46
  595. package/node_modules/@cursor/sdk/LICENSE.md +0 -3
  596. package/node_modules/@cursor/sdk/README.md +0 -5
  597. package/node_modules/@cursor/sdk/dist/cjs/642.index.js +0 -1
  598. package/node_modules/@cursor/sdk/dist/cjs/agent.d.ts +0 -169
  599. package/node_modules/@cursor/sdk/dist/cjs/agent.d.ts.map +0 -1
  600. package/node_modules/@cursor/sdk/dist/cjs/analytics.d.ts +0 -72
  601. package/node_modules/@cursor/sdk/dist/cjs/analytics.d.ts.map +0 -1
  602. package/node_modules/@cursor/sdk/dist/cjs/artifacts.d.ts +0 -6
  603. package/node_modules/@cursor/sdk/dist/cjs/artifacts.d.ts.map +0 -1
  604. package/node_modules/@cursor/sdk/dist/cjs/cloud-agent.d.ts +0 -22
  605. package/node_modules/@cursor/sdk/dist/cjs/cloud-agent.d.ts.map +0 -1
  606. package/node_modules/@cursor/sdk/dist/cjs/cloud-api-client.d.ts +0 -192
  607. package/node_modules/@cursor/sdk/dist/cjs/cloud-api-client.d.ts.map +0 -1
  608. package/node_modules/@cursor/sdk/dist/cjs/cloud-executor.d.ts +0 -14
  609. package/node_modules/@cursor/sdk/dist/cjs/cloud-executor.d.ts.map +0 -1
  610. package/node_modules/@cursor/sdk/dist/cjs/cloud-mcp-utils.d.ts +0 -4
  611. package/node_modules/@cursor/sdk/dist/cjs/cloud-mcp-utils.d.ts.map +0 -1
  612. package/node_modules/@cursor/sdk/dist/cjs/core-adapter.d.ts +0 -2
  613. package/node_modules/@cursor/sdk/dist/cjs/core-adapter.d.ts.map +0 -1
  614. package/node_modules/@cursor/sdk/dist/cjs/errors.d.ts +0 -125
  615. package/node_modules/@cursor/sdk/dist/cjs/errors.d.ts.map +0 -1
  616. package/node_modules/@cursor/sdk/dist/cjs/executor-common.d.ts +0 -16
  617. package/node_modules/@cursor/sdk/dist/cjs/executor-common.d.ts.map +0 -1
  618. package/node_modules/@cursor/sdk/dist/cjs/executor-types.d.ts +0 -59
  619. package/node_modules/@cursor/sdk/dist/cjs/executor-types.d.ts.map +0 -1
  620. package/node_modules/@cursor/sdk/dist/cjs/index.d.ts +0 -18
  621. package/node_modules/@cursor/sdk/dist/cjs/index.d.ts.map +0 -1
  622. package/node_modules/@cursor/sdk/dist/cjs/index.js +0 -8
  623. package/node_modules/@cursor/sdk/dist/cjs/index.js.LICENSE.txt +0 -285
  624. package/node_modules/@cursor/sdk/dist/cjs/local-executor.d.ts +0 -18
  625. package/node_modules/@cursor/sdk/dist/cjs/local-executor.d.ts.map +0 -1
  626. package/node_modules/@cursor/sdk/dist/cjs/local-model-validation.d.ts +0 -6
  627. package/node_modules/@cursor/sdk/dist/cjs/local-model-validation.d.ts.map +0 -1
  628. package/node_modules/@cursor/sdk/dist/cjs/messages.d.ts +0 -110
  629. package/node_modules/@cursor/sdk/dist/cjs/messages.d.ts.map +0 -1
  630. package/node_modules/@cursor/sdk/dist/cjs/options.d.ts +0 -143
  631. package/node_modules/@cursor/sdk/dist/cjs/options.d.ts.map +0 -1
  632. package/node_modules/@cursor/sdk/dist/cjs/package.json +0 -3
  633. package/node_modules/@cursor/sdk/dist/cjs/platform.d.ts +0 -45
  634. package/node_modules/@cursor/sdk/dist/cjs/platform.d.ts.map +0 -1
  635. package/node_modules/@cursor/sdk/dist/cjs/public-api.d.ts +0 -12
  636. package/node_modules/@cursor/sdk/dist/cjs/public-api.d.ts.map +0 -1
  637. package/node_modules/@cursor/sdk/dist/cjs/run-event-tailer.d.ts +0 -33
  638. package/node_modules/@cursor/sdk/dist/cjs/run-event-tailer.d.ts.map +0 -1
  639. package/node_modules/@cursor/sdk/dist/cjs/run-interaction-accumulator.d.ts +0 -33
  640. package/node_modules/@cursor/sdk/dist/cjs/run-interaction-accumulator.d.ts.map +0 -1
  641. package/node_modules/@cursor/sdk/dist/cjs/run.d.ts +0 -44
  642. package/node_modules/@cursor/sdk/dist/cjs/run.d.ts.map +0 -1
  643. package/node_modules/@cursor/sdk/dist/cjs/sdk-statsig.d.ts +0 -10
  644. package/node_modules/@cursor/sdk/dist/cjs/sdk-statsig.d.ts.map +0 -1
  645. package/node_modules/@cursor/sdk/dist/cjs/stubs.d.ts +0 -97
  646. package/node_modules/@cursor/sdk/dist/cjs/stubs.d.ts.map +0 -1
  647. package/node_modules/@cursor/sdk/dist/cjs/subagent-conversion.d.ts +0 -20
  648. package/node_modules/@cursor/sdk/dist/cjs/subagent-conversion.d.ts.map +0 -1
  649. package/node_modules/@cursor/sdk/dist/cjs/tool-call-utils.d.ts +0 -7
  650. package/node_modules/@cursor/sdk/dist/cjs/tool-call-utils.d.ts.map +0 -1
  651. package/node_modules/@cursor/sdk/dist/cjs/types/conversation-types.d.ts +0 -12062
  652. package/node_modules/@cursor/sdk/dist/cjs/types/conversation-types.d.ts.map +0 -1
  653. package/node_modules/@cursor/sdk/dist/cjs/types/delta-types.d.ts +0 -2
  654. package/node_modules/@cursor/sdk/dist/cjs/types/delta-types.d.ts.map +0 -1
  655. package/node_modules/@cursor/sdk/dist/cjs/types/tool-call-types.d.ts +0 -2
  656. package/node_modules/@cursor/sdk/dist/cjs/types/tool-call-types.d.ts.map +0 -1
  657. package/node_modules/@cursor/sdk/dist/cjs/utils/conversation-utils.d.ts +0 -3
  658. package/node_modules/@cursor/sdk/dist/cjs/utils/conversation-utils.d.ts.map +0 -1
  659. package/node_modules/@cursor/sdk/dist/cjs/utils/logger.d.ts +0 -12
  660. package/node_modules/@cursor/sdk/dist/cjs/utils/logger.d.ts.map +0 -1
  661. package/node_modules/@cursor/sdk/dist/cjs/utils/message-schemas.d.ts +0 -2
  662. package/node_modules/@cursor/sdk/dist/cjs/utils/message-schemas.d.ts.map +0 -1
  663. package/node_modules/@cursor/sdk/dist/esm/642.index.js +0 -1
  664. package/node_modules/@cursor/sdk/dist/esm/agent.d.ts +0 -169
  665. package/node_modules/@cursor/sdk/dist/esm/agent.d.ts.map +0 -1
  666. package/node_modules/@cursor/sdk/dist/esm/analytics.d.ts +0 -72
  667. package/node_modules/@cursor/sdk/dist/esm/analytics.d.ts.map +0 -1
  668. package/node_modules/@cursor/sdk/dist/esm/artifacts.d.ts +0 -6
  669. package/node_modules/@cursor/sdk/dist/esm/artifacts.d.ts.map +0 -1
  670. package/node_modules/@cursor/sdk/dist/esm/cloud-agent.d.ts +0 -22
  671. package/node_modules/@cursor/sdk/dist/esm/cloud-agent.d.ts.map +0 -1
  672. package/node_modules/@cursor/sdk/dist/esm/cloud-api-client.d.ts +0 -192
  673. package/node_modules/@cursor/sdk/dist/esm/cloud-api-client.d.ts.map +0 -1
  674. package/node_modules/@cursor/sdk/dist/esm/cloud-executor.d.ts +0 -14
  675. package/node_modules/@cursor/sdk/dist/esm/cloud-executor.d.ts.map +0 -1
  676. package/node_modules/@cursor/sdk/dist/esm/cloud-mcp-utils.d.ts +0 -4
  677. package/node_modules/@cursor/sdk/dist/esm/cloud-mcp-utils.d.ts.map +0 -1
  678. package/node_modules/@cursor/sdk/dist/esm/core-adapter.d.ts +0 -2
  679. package/node_modules/@cursor/sdk/dist/esm/core-adapter.d.ts.map +0 -1
  680. package/node_modules/@cursor/sdk/dist/esm/errors.d.ts +0 -125
  681. package/node_modules/@cursor/sdk/dist/esm/errors.d.ts.map +0 -1
  682. package/node_modules/@cursor/sdk/dist/esm/executor-common.d.ts +0 -16
  683. package/node_modules/@cursor/sdk/dist/esm/executor-common.d.ts.map +0 -1
  684. package/node_modules/@cursor/sdk/dist/esm/executor-types.d.ts +0 -59
  685. package/node_modules/@cursor/sdk/dist/esm/executor-types.d.ts.map +0 -1
  686. package/node_modules/@cursor/sdk/dist/esm/index.d.ts +0 -18
  687. package/node_modules/@cursor/sdk/dist/esm/index.d.ts.map +0 -1
  688. package/node_modules/@cursor/sdk/dist/esm/index.js +0 -8
  689. package/node_modules/@cursor/sdk/dist/esm/index.js.LICENSE.txt +0 -285
  690. package/node_modules/@cursor/sdk/dist/esm/local-executor.d.ts +0 -18
  691. package/node_modules/@cursor/sdk/dist/esm/local-executor.d.ts.map +0 -1
  692. package/node_modules/@cursor/sdk/dist/esm/local-model-validation.d.ts +0 -6
  693. package/node_modules/@cursor/sdk/dist/esm/local-model-validation.d.ts.map +0 -1
  694. package/node_modules/@cursor/sdk/dist/esm/messages.d.ts +0 -110
  695. package/node_modules/@cursor/sdk/dist/esm/messages.d.ts.map +0 -1
  696. package/node_modules/@cursor/sdk/dist/esm/options.d.ts +0 -143
  697. package/node_modules/@cursor/sdk/dist/esm/options.d.ts.map +0 -1
  698. package/node_modules/@cursor/sdk/dist/esm/platform.d.ts +0 -45
  699. package/node_modules/@cursor/sdk/dist/esm/platform.d.ts.map +0 -1
  700. package/node_modules/@cursor/sdk/dist/esm/public-api.d.ts +0 -12
  701. package/node_modules/@cursor/sdk/dist/esm/public-api.d.ts.map +0 -1
  702. package/node_modules/@cursor/sdk/dist/esm/run-event-tailer.d.ts +0 -33
  703. package/node_modules/@cursor/sdk/dist/esm/run-event-tailer.d.ts.map +0 -1
  704. package/node_modules/@cursor/sdk/dist/esm/run-interaction-accumulator.d.ts +0 -33
  705. package/node_modules/@cursor/sdk/dist/esm/run-interaction-accumulator.d.ts.map +0 -1
  706. package/node_modules/@cursor/sdk/dist/esm/run.d.ts +0 -44
  707. package/node_modules/@cursor/sdk/dist/esm/run.d.ts.map +0 -1
  708. package/node_modules/@cursor/sdk/dist/esm/sdk-statsig.d.ts +0 -10
  709. package/node_modules/@cursor/sdk/dist/esm/sdk-statsig.d.ts.map +0 -1
  710. package/node_modules/@cursor/sdk/dist/esm/stubs.d.ts +0 -97
  711. package/node_modules/@cursor/sdk/dist/esm/stubs.d.ts.map +0 -1
  712. package/node_modules/@cursor/sdk/dist/esm/subagent-conversion.d.ts +0 -20
  713. package/node_modules/@cursor/sdk/dist/esm/subagent-conversion.d.ts.map +0 -1
  714. package/node_modules/@cursor/sdk/dist/esm/tool-call-utils.d.ts +0 -7
  715. package/node_modules/@cursor/sdk/dist/esm/tool-call-utils.d.ts.map +0 -1
  716. package/node_modules/@cursor/sdk/dist/esm/types/conversation-types.d.ts +0 -12062
  717. package/node_modules/@cursor/sdk/dist/esm/types/conversation-types.d.ts.map +0 -1
  718. package/node_modules/@cursor/sdk/dist/esm/types/delta-types.d.ts +0 -2
  719. package/node_modules/@cursor/sdk/dist/esm/types/delta-types.d.ts.map +0 -1
  720. package/node_modules/@cursor/sdk/dist/esm/types/tool-call-types.d.ts +0 -2
  721. package/node_modules/@cursor/sdk/dist/esm/types/tool-call-types.d.ts.map +0 -1
  722. package/node_modules/@cursor/sdk/dist/esm/utils/conversation-utils.d.ts +0 -3
  723. package/node_modules/@cursor/sdk/dist/esm/utils/conversation-utils.d.ts.map +0 -1
  724. package/node_modules/@cursor/sdk/dist/esm/utils/logger.d.ts +0 -12
  725. package/node_modules/@cursor/sdk/dist/esm/utils/logger.d.ts.map +0 -1
  726. package/node_modules/@cursor/sdk/dist/esm/utils/message-schemas.d.ts +0 -2
  727. package/node_modules/@cursor/sdk/dist/esm/utils/message-schemas.d.ts.map +0 -1
  728. package/node_modules/@cursor/sdk/package.json +0 -114
  729. package/node_modules/@cursor/sdk-darwin-arm64/README.md +0 -5
  730. package/node_modules/@cursor/sdk-darwin-arm64/bin/cursorsandbox +0 -0
  731. package/node_modules/@cursor/sdk-darwin-arm64/bin/rg +0 -0
  732. package/node_modules/@cursor/sdk-darwin-arm64/package.json +0 -25
  733. package/node_modules/@isaacs/fs-minipass/LICENSE +0 -15
  734. package/node_modules/@isaacs/fs-minipass/README.md +0 -71
  735. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +0 -118
  736. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +0 -1
  737. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +0 -430
  738. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +0 -1
  739. package/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +0 -3
  740. package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +0 -118
  741. package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +0 -1
  742. package/node_modules/@isaacs/fs-minipass/dist/esm/index.js +0 -420
  743. package/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +0 -1
  744. package/node_modules/@isaacs/fs-minipass/dist/esm/package.json +0 -3
  745. package/node_modules/@isaacs/fs-minipass/package.json +0 -72
  746. package/node_modules/@statsig/client-core/package.json +0 -15
  747. package/node_modules/@statsig/client-core/src/$_StatsigGlobal.d.ts +0 -19
  748. package/node_modules/@statsig/client-core/src/$_StatsigGlobal.js +0 -41
  749. package/node_modules/@statsig/client-core/src/CacheKey.d.ts +0 -4
  750. package/node_modules/@statsig/client-core/src/CacheKey.js +0 -28
  751. package/node_modules/@statsig/client-core/src/ClientInterfaces.d.ts +0 -62
  752. package/node_modules/@statsig/client-core/src/ClientInterfaces.js +0 -2
  753. package/node_modules/@statsig/client-core/src/DataAdapterCore.d.ts +0 -29
  754. package/node_modules/@statsig/client-core/src/DataAdapterCore.js +0 -216
  755. package/node_modules/@statsig/client-core/src/Diagnostics.d.ts +0 -67
  756. package/node_modules/@statsig/client-core/src/Diagnostics.js +0 -100
  757. package/node_modules/@statsig/client-core/src/DnsTxtQuery.d.ts +0 -2
  758. package/node_modules/@statsig/client-core/src/DnsTxtQuery.js +0 -63
  759. package/node_modules/@statsig/client-core/src/DownloadConfigSpecsResponse.d.ts +0 -61
  760. package/node_modules/@statsig/client-core/src/DownloadConfigSpecsResponse.js +0 -2
  761. package/node_modules/@statsig/client-core/src/ErrorBoundary.d.ts +0 -17
  762. package/node_modules/@statsig/client-core/src/ErrorBoundary.js +0 -197
  763. package/node_modules/@statsig/client-core/src/EvaluationOptions.d.ts +0 -30
  764. package/node_modules/@statsig/client-core/src/EvaluationOptions.js +0 -2
  765. package/node_modules/@statsig/client-core/src/EvaluationTypes.d.ts +0 -49
  766. package/node_modules/@statsig/client-core/src/EvaluationTypes.js +0 -2
  767. package/node_modules/@statsig/client-core/src/EvaluationTypesV2.d.ts +0 -30
  768. package/node_modules/@statsig/client-core/src/EvaluationTypesV2.js +0 -2
  769. package/node_modules/@statsig/client-core/src/EventBatch.d.ts +0 -8
  770. package/node_modules/@statsig/client-core/src/EventBatch.js +0 -14
  771. package/node_modules/@statsig/client-core/src/EventLogger.d.ts +0 -48
  772. package/node_modules/@statsig/client-core/src/EventLogger.js +0 -349
  773. package/node_modules/@statsig/client-core/src/EventRetryConstants.d.ts +0 -7
  774. package/node_modules/@statsig/client-core/src/EventRetryConstants.js +0 -12
  775. package/node_modules/@statsig/client-core/src/Hashing.d.ts +0 -3
  776. package/node_modules/@statsig/client-core/src/Hashing.js +0 -35
  777. package/node_modules/@statsig/client-core/src/InitializeResponse.d.ts +0 -66
  778. package/node_modules/@statsig/client-core/src/InitializeResponse.js +0 -2
  779. package/node_modules/@statsig/client-core/src/Log.d.ts +0 -15
  780. package/node_modules/@statsig/client-core/src/Log.js +0 -44
  781. package/node_modules/@statsig/client-core/src/MemoKey.d.ts +0 -11
  782. package/node_modules/@statsig/client-core/src/MemoKey.js +0 -37
  783. package/node_modules/@statsig/client-core/src/NetworkConfig.d.ts +0 -26
  784. package/node_modules/@statsig/client-core/src/NetworkConfig.js +0 -23
  785. package/node_modules/@statsig/client-core/src/NetworkCore.d.ts +0 -55
  786. package/node_modules/@statsig/client-core/src/NetworkCore.js +0 -371
  787. package/node_modules/@statsig/client-core/src/NetworkFallbackResolver.d.ts +0 -21
  788. package/node_modules/@statsig/client-core/src/NetworkFallbackResolver.js +0 -198
  789. package/node_modules/@statsig/client-core/src/OverrideAdapter.d.ts +0 -16
  790. package/node_modules/@statsig/client-core/src/OverrideAdapter.js +0 -2
  791. package/node_modules/@statsig/client-core/src/ParamStoreTypes.d.ts +0 -65
  792. package/node_modules/@statsig/client-core/src/ParamStoreTypes.js +0 -2
  793. package/node_modules/@statsig/client-core/src/SDKFlags.d.ts +0 -4
  794. package/node_modules/@statsig/client-core/src/SDKFlags.js +0 -13
  795. package/node_modules/@statsig/client-core/src/SDKType.d.ts +0 -8
  796. package/node_modules/@statsig/client-core/src/SDKType.js +0 -19
  797. package/node_modules/@statsig/client-core/src/SafeJs.d.ts +0 -8
  798. package/node_modules/@statsig/client-core/src/SafeJs.js +0 -68
  799. package/node_modules/@statsig/client-core/src/SessionID.d.ts +0 -20
  800. package/node_modules/@statsig/client-core/src/SessionID.js +0 -106
  801. package/node_modules/@statsig/client-core/src/SizeOf.d.ts +0 -1
  802. package/node_modules/@statsig/client-core/src/SizeOf.js +0 -26
  803. package/node_modules/@statsig/client-core/src/StableID.d.ts +0 -9
  804. package/node_modules/@statsig/client-core/src/StableID.js +0 -90
  805. package/node_modules/@statsig/client-core/src/StatsigClientBase.d.ts +0 -74
  806. package/node_modules/@statsig/client-core/src/StatsigClientBase.js +0 -207
  807. package/node_modules/@statsig/client-core/src/StatsigClientEventEmitter.d.ts +0 -100
  808. package/node_modules/@statsig/client-core/src/StatsigClientEventEmitter.js +0 -6
  809. package/node_modules/@statsig/client-core/src/StatsigDataAdapter.d.ts +0 -131
  810. package/node_modules/@statsig/client-core/src/StatsigDataAdapter.js +0 -4
  811. package/node_modules/@statsig/client-core/src/StatsigEvent.d.ts +0 -28
  812. package/node_modules/@statsig/client-core/src/StatsigEvent.js +0 -98
  813. package/node_modules/@statsig/client-core/src/StatsigMetadata.d.ts +0 -18
  814. package/node_modules/@statsig/client-core/src/StatsigMetadata.js +0 -14
  815. package/node_modules/@statsig/client-core/src/StatsigOptionsCommon.d.ts +0 -180
  816. package/node_modules/@statsig/client-core/src/StatsigOptionsCommon.js +0 -16
  817. package/node_modules/@statsig/client-core/src/StatsigPlugin.d.ts +0 -5
  818. package/node_modules/@statsig/client-core/src/StatsigPlugin.js +0 -2
  819. package/node_modules/@statsig/client-core/src/StatsigTypeFactories.d.ts +0 -8
  820. package/node_modules/@statsig/client-core/src/StatsigTypeFactories.js +0 -57
  821. package/node_modules/@statsig/client-core/src/StatsigTypes.d.ts +0 -43
  822. package/node_modules/@statsig/client-core/src/StatsigTypes.js +0 -2
  823. package/node_modules/@statsig/client-core/src/StatsigUpdateDetails.d.ts +0 -14
  824. package/node_modules/@statsig/client-core/src/StatsigUpdateDetails.js +0 -17
  825. package/node_modules/@statsig/client-core/src/StatsigUser.d.ts +0 -24
  826. package/node_modules/@statsig/client-core/src/StatsigUser.js +0 -25
  827. package/node_modules/@statsig/client-core/src/StorageProvider.d.ts +0 -17
  828. package/node_modules/@statsig/client-core/src/StorageProvider.js +0 -90
  829. package/node_modules/@statsig/client-core/src/TypedJsonParse.d.ts +0 -8
  830. package/node_modules/@statsig/client-core/src/TypedJsonParse.js +0 -27
  831. package/node_modules/@statsig/client-core/src/TypingUtils.d.ts +0 -7
  832. package/node_modules/@statsig/client-core/src/TypingUtils.js +0 -12
  833. package/node_modules/@statsig/client-core/src/UUID.d.ts +0 -1
  834. package/node_modules/@statsig/client-core/src/UUID.js +0 -28
  835. package/node_modules/@statsig/client-core/src/UrlConfiguration.d.ts +0 -12
  836. package/node_modules/@statsig/client-core/src/UrlConfiguration.js +0 -41
  837. package/node_modules/@statsig/client-core/src/VisibilityObserving.d.ts +0 -9
  838. package/node_modules/@statsig/client-core/src/VisibilityObserving.js +0 -39
  839. package/node_modules/@statsig/client-core/src/__tests__/MockOverrideAdapter.d.ts +0 -16
  840. package/node_modules/@statsig/client-core/src/__tests__/MockOverrideAdapter.js +0 -21
  841. package/node_modules/@statsig/client-core/src/index.d.ts +0 -47
  842. package/node_modules/@statsig/client-core/src/index.js +0 -70
  843. package/node_modules/@statsig/js-client/LICENSE +0 -14
  844. package/node_modules/@statsig/js-client/README.md +0 -49
  845. package/node_modules/@statsig/js-client/build/statsig-js-client+session-replay+web-analytics.min.js +0 -2
  846. package/node_modules/@statsig/js-client/build/statsig-js-client+session-replay.min.js +0 -1
  847. package/node_modules/@statsig/js-client/build/statsig-js-client+web-analytics.min.js +0 -2
  848. package/node_modules/@statsig/js-client/build/statsig-js-client.min.js +0 -1
  849. package/node_modules/@statsig/js-client/package.json +0 -18
  850. package/node_modules/@statsig/js-client/src/EvaluationResponseDeltas.d.ts +0 -10
  851. package/node_modules/@statsig/js-client/src/EvaluationResponseDeltas.js +0 -49
  852. package/node_modules/@statsig/js-client/src/EvaluationStore.d.ts +0 -29
  853. package/node_modules/@statsig/js-client/src/EvaluationStore.js +0 -175
  854. package/node_modules/@statsig/js-client/src/InitializeContainer.d.ts +0 -9
  855. package/node_modules/@statsig/js-client/src/InitializeContainer.js +0 -2
  856. package/node_modules/@statsig/js-client/src/Network.d.ts +0 -9
  857. package/node_modules/@statsig/js-client/src/Network.js +0 -74
  858. package/node_modules/@statsig/js-client/src/ParamStoreGetterFactory.d.ts +0 -3
  859. package/node_modules/@statsig/js-client/src/ParamStoreGetterFactory.js +0 -74
  860. package/node_modules/@statsig/js-client/src/StatsigClient.d.ts +0 -244
  861. package/node_modules/@statsig/js-client/src/StatsigClient.js +0 -418
  862. package/node_modules/@statsig/js-client/src/StatsigEvaluationsDataAdapter.d.ts +0 -15
  863. package/node_modules/@statsig/js-client/src/StatsigEvaluationsDataAdapter.js +0 -65
  864. package/node_modules/@statsig/js-client/src/StatsigOptions.d.ts +0 -42
  865. package/node_modules/@statsig/js-client/src/StatsigOptions.js +0 -2
  866. package/node_modules/@statsig/js-client/src/V1InitializeContainer.d.ts +0 -13
  867. package/node_modules/@statsig/js-client/src/V1InitializeContainer.js +0 -35
  868. package/node_modules/@statsig/js-client/src/V2InitializeContainer.d.ts +0 -13
  869. package/node_modules/@statsig/js-client/src/V2InitializeContainer.js +0 -82
  870. package/node_modules/@statsig/js-client/src/index.d.ts +0 -9
  871. package/node_modules/@statsig/js-client/src/index.js +0 -25
  872. package/node_modules/abbrev/LICENSE +0 -46
  873. package/node_modules/abbrev/README.md +0 -23
  874. package/node_modules/abbrev/lib/index.js +0 -53
  875. package/node_modules/abbrev/package.json +0 -41
  876. package/node_modules/base64-js/LICENSE +0 -21
  877. package/node_modules/base64-js/README.md +0 -34
  878. package/node_modules/base64-js/base64js.min.js +0 -1
  879. package/node_modules/base64-js/index.d.ts +0 -3
  880. package/node_modules/base64-js/index.js +0 -150
  881. package/node_modules/base64-js/package.json +0 -47
  882. package/node_modules/bindings/LICENSE.md +0 -22
  883. package/node_modules/bindings/README.md +0 -98
  884. package/node_modules/bindings/bindings.js +0 -221
  885. package/node_modules/bindings/package.json +0 -28
  886. package/node_modules/bl/.travis.yml +0 -17
  887. package/node_modules/bl/BufferList.js +0 -396
  888. package/node_modules/bl/LICENSE.md +0 -13
  889. package/node_modules/bl/README.md +0 -247
  890. package/node_modules/bl/bl.js +0 -84
  891. package/node_modules/bl/package.json +0 -37
  892. package/node_modules/bl/test/convert.js +0 -21
  893. package/node_modules/bl/test/indexOf.js +0 -492
  894. package/node_modules/bl/test/isBufferList.js +0 -32
  895. package/node_modules/bl/test/test.js +0 -869
  896. package/node_modules/buffer/AUTHORS.md +0 -70
  897. package/node_modules/buffer/LICENSE +0 -21
  898. package/node_modules/buffer/README.md +0 -410
  899. package/node_modules/buffer/index.d.ts +0 -186
  900. package/node_modules/buffer/index.js +0 -1817
  901. package/node_modules/buffer/package.json +0 -96
  902. package/node_modules/chownr/LICENSE.md +0 -63
  903. package/node_modules/chownr/README.md +0 -3
  904. package/node_modules/chownr/dist/commonjs/index.d.ts +0 -3
  905. package/node_modules/chownr/dist/commonjs/index.d.ts.map +0 -1
  906. package/node_modules/chownr/dist/commonjs/index.js +0 -93
  907. package/node_modules/chownr/dist/commonjs/index.js.map +0 -1
  908. package/node_modules/chownr/dist/commonjs/package.json +0 -3
  909. package/node_modules/chownr/dist/esm/index.d.ts +0 -3
  910. package/node_modules/chownr/dist/esm/index.d.ts.map +0 -1
  911. package/node_modules/chownr/dist/esm/index.js +0 -85
  912. package/node_modules/chownr/dist/esm/index.js.map +0 -1
  913. package/node_modules/chownr/dist/esm/package.json +0 -3
  914. package/node_modules/chownr/package.json +0 -69
  915. package/node_modules/decompress-response/index.d.ts +0 -22
  916. package/node_modules/decompress-response/index.js +0 -58
  917. package/node_modules/decompress-response/license +0 -9
  918. package/node_modules/decompress-response/package.json +0 -56
  919. package/node_modules/decompress-response/readme.md +0 -48
  920. package/node_modules/deep-extend/CHANGELOG.md +0 -46
  921. package/node_modules/deep-extend/LICENSE +0 -20
  922. package/node_modules/deep-extend/README.md +0 -91
  923. package/node_modules/deep-extend/index.js +0 -1
  924. package/node_modules/deep-extend/lib/deep-extend.js +0 -150
  925. package/node_modules/deep-extend/package.json +0 -62
  926. package/node_modules/detect-libc/LICENSE +0 -201
  927. package/node_modules/detect-libc/README.md +0 -163
  928. package/node_modules/detect-libc/index.d.ts +0 -14
  929. package/node_modules/detect-libc/lib/detect-libc.js +0 -313
  930. package/node_modules/detect-libc/lib/elf.js +0 -39
  931. package/node_modules/detect-libc/lib/filesystem.js +0 -51
  932. package/node_modules/detect-libc/lib/process.js +0 -24
  933. package/node_modules/detect-libc/package.json +0 -44
  934. package/node_modules/end-of-stream/LICENSE +0 -21
  935. package/node_modules/end-of-stream/README.md +0 -54
  936. package/node_modules/end-of-stream/index.js +0 -96
  937. package/node_modules/end-of-stream/package.json +0 -37
  938. package/node_modules/env-paths/index.d.ts +0 -101
  939. package/node_modules/env-paths/index.js +0 -74
  940. package/node_modules/env-paths/license +0 -9
  941. package/node_modules/env-paths/package.json +0 -45
  942. package/node_modules/env-paths/readme.md +0 -115
  943. package/node_modules/expand-template/.travis.yml +0 -6
  944. package/node_modules/expand-template/LICENSE +0 -21
  945. package/node_modules/expand-template/README.md +0 -43
  946. package/node_modules/expand-template/index.js +0 -26
  947. package/node_modules/expand-template/package.json +0 -29
  948. package/node_modules/expand-template/test.js +0 -67
  949. package/node_modules/exponential-backoff/LICENSE +0 -202
  950. package/node_modules/exponential-backoff/README.md +0 -89
  951. package/node_modules/exponential-backoff/dist/backoff.d.ts +0 -9
  952. package/node_modules/exponential-backoff/dist/backoff.js +0 -124
  953. package/node_modules/exponential-backoff/dist/backoff.js.map +0 -1
  954. package/node_modules/exponential-backoff/dist/delay/always/always.delay.d.ts +0 -3
  955. package/node_modules/exponential-backoff/dist/delay/always/always.delay.js +0 -25
  956. package/node_modules/exponential-backoff/dist/delay/always/always.delay.js.map +0 -1
  957. package/node_modules/exponential-backoff/dist/delay/delay.base.d.ts +0 -12
  958. package/node_modules/exponential-backoff/dist/delay/delay.base.js +0 -45
  959. package/node_modules/exponential-backoff/dist/delay/delay.base.js.map +0 -1
  960. package/node_modules/exponential-backoff/dist/delay/delay.factory.d.ts +0 -3
  961. package/node_modules/exponential-backoff/dist/delay/delay.factory.js +0 -17
  962. package/node_modules/exponential-backoff/dist/delay/delay.factory.js.map +0 -1
  963. package/node_modules/exponential-backoff/dist/delay/delay.interface.d.ts +0 -4
  964. package/node_modules/exponential-backoff/dist/delay/delay.interface.js +0 -3
  965. package/node_modules/exponential-backoff/dist/delay/delay.interface.js.map +0 -1
  966. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.d.ts +0 -6
  967. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +0 -82
  968. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js.map +0 -1
  969. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.d.ts +0 -1
  970. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +0 -8
  971. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js.map +0 -1
  972. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.d.ts +0 -3
  973. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +0 -15
  974. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.js.map +0 -1
  975. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.d.ts +0 -1
  976. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +0 -7
  977. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js.map +0 -1
  978. package/node_modules/exponential-backoff/dist/options.d.ts +0 -55
  979. package/node_modules/exponential-backoff/dist/options.js +0 -31
  980. package/node_modules/exponential-backoff/dist/options.js.map +0 -1
  981. package/node_modules/exponential-backoff/package.json +0 -62
  982. package/node_modules/exponential-backoff/src/backoff.spec.ts +0 -194
  983. package/node_modules/exponential-backoff/src/backoff.ts +0 -60
  984. package/node_modules/exponential-backoff/src/delay/always/always.delay.spec.ts +0 -65
  985. package/node_modules/exponential-backoff/src/delay/always/always.delay.ts +0 -3
  986. package/node_modules/exponential-backoff/src/delay/delay.base.ts +0 -34
  987. package/node_modules/exponential-backoff/src/delay/delay.factory.ts +0 -18
  988. package/node_modules/exponential-backoff/src/delay/delay.interface.ts +0 -4
  989. package/node_modules/exponential-backoff/src/delay/skip-first/skip-first.delay.ts +0 -15
  990. package/node_modules/exponential-backoff/src/jitter/full/full.jitter.spec.ts +0 -31
  991. package/node_modules/exponential-backoff/src/jitter/full/full.jitter.ts +0 -4
  992. package/node_modules/exponential-backoff/src/jitter/jitter.factory.ts +0 -16
  993. package/node_modules/exponential-backoff/src/jitter/no/no.jitter.spec.ts +0 -9
  994. package/node_modules/exponential-backoff/src/jitter/no/no.jitter.ts +0 -3
  995. package/node_modules/exponential-backoff/src/options.ts +0 -76
  996. package/node_modules/fdir/LICENSE +0 -7
  997. package/node_modules/fdir/README.md +0 -91
  998. package/node_modules/fdir/dist/index.cjs +0 -588
  999. package/node_modules/fdir/dist/index.d.cts +0 -155
  1000. package/node_modules/fdir/dist/index.d.mts +0 -155
  1001. package/node_modules/fdir/dist/index.mjs +0 -570
  1002. package/node_modules/fdir/package.json +0 -103
  1003. package/node_modules/file-uri-to-path/.npmignore +0 -1
  1004. package/node_modules/file-uri-to-path/.travis.yml +0 -30
  1005. package/node_modules/file-uri-to-path/History.md +0 -21
  1006. package/node_modules/file-uri-to-path/LICENSE +0 -20
  1007. package/node_modules/file-uri-to-path/README.md +0 -74
  1008. package/node_modules/file-uri-to-path/index.d.ts +0 -2
  1009. package/node_modules/file-uri-to-path/index.js +0 -66
  1010. package/node_modules/file-uri-to-path/package.json +0 -32
  1011. package/node_modules/file-uri-to-path/test/test.js +0 -24
  1012. package/node_modules/file-uri-to-path/test/tests.json +0 -13
  1013. package/node_modules/fs-constants/LICENSE +0 -21
  1014. package/node_modules/fs-constants/README.md +0 -26
  1015. package/node_modules/fs-constants/browser.js +0 -1
  1016. package/node_modules/fs-constants/index.js +0 -1
  1017. package/node_modules/fs-constants/package.json +0 -19
  1018. package/node_modules/github-from-package/.travis.yml +0 -4
  1019. package/node_modules/github-from-package/LICENSE +0 -18
  1020. package/node_modules/github-from-package/example/package.json +0 -8
  1021. package/node_modules/github-from-package/example/url.js +0 -3
  1022. package/node_modules/github-from-package/index.js +0 -17
  1023. package/node_modules/github-from-package/package.json +0 -30
  1024. package/node_modules/github-from-package/readme.markdown +0 -53
  1025. package/node_modules/github-from-package/test/a.json +0 -8
  1026. package/node_modules/github-from-package/test/b.json +0 -5
  1027. package/node_modules/github-from-package/test/c.json +0 -5
  1028. package/node_modules/github-from-package/test/d.json +0 -7
  1029. package/node_modules/github-from-package/test/e.json +0 -5
  1030. package/node_modules/github-from-package/test/url.js +0 -19
  1031. package/node_modules/graceful-fs/LICENSE +0 -15
  1032. package/node_modules/graceful-fs/README.md +0 -143
  1033. package/node_modules/graceful-fs/clone.js +0 -23
  1034. package/node_modules/graceful-fs/graceful-fs.js +0 -448
  1035. package/node_modules/graceful-fs/legacy-streams.js +0 -118
  1036. package/node_modules/graceful-fs/package.json +0 -53
  1037. package/node_modules/graceful-fs/polyfills.js +0 -355
  1038. package/node_modules/ieee754/LICENSE +0 -11
  1039. package/node_modules/ieee754/README.md +0 -51
  1040. package/node_modules/ieee754/index.d.ts +0 -10
  1041. package/node_modules/ieee754/index.js +0 -85
  1042. package/node_modules/ieee754/package.json +0 -52
  1043. package/node_modules/inherits/LICENSE +0 -16
  1044. package/node_modules/inherits/README.md +0 -42
  1045. package/node_modules/inherits/inherits.js +0 -9
  1046. package/node_modules/inherits/inherits_browser.js +0 -27
  1047. package/node_modules/inherits/package.json +0 -29
  1048. package/node_modules/ini/LICENSE +0 -15
  1049. package/node_modules/ini/README.md +0 -102
  1050. package/node_modules/ini/ini.js +0 -206
  1051. package/node_modules/ini/package.json +0 -33
  1052. package/node_modules/isexe/LICENSE.md +0 -55
  1053. package/node_modules/isexe/README.md +0 -80
  1054. package/node_modules/isexe/dist/commonjs/index.d.ts +0 -14
  1055. package/node_modules/isexe/dist/commonjs/index.d.ts.map +0 -1
  1056. package/node_modules/isexe/dist/commonjs/index.js +0 -56
  1057. package/node_modules/isexe/dist/commonjs/index.js.map +0 -1
  1058. package/node_modules/isexe/dist/commonjs/index.min.js +0 -2
  1059. package/node_modules/isexe/dist/commonjs/index.min.js.map +0 -7
  1060. package/node_modules/isexe/dist/commonjs/options.d.ts +0 -32
  1061. package/node_modules/isexe/dist/commonjs/options.d.ts.map +0 -1
  1062. package/node_modules/isexe/dist/commonjs/options.js +0 -3
  1063. package/node_modules/isexe/dist/commonjs/options.js.map +0 -1
  1064. package/node_modules/isexe/dist/commonjs/package.json +0 -3
  1065. package/node_modules/isexe/dist/commonjs/posix.d.ts +0 -18
  1066. package/node_modules/isexe/dist/commonjs/posix.d.ts.map +0 -1
  1067. package/node_modules/isexe/dist/commonjs/posix.js +0 -67
  1068. package/node_modules/isexe/dist/commonjs/posix.js.map +0 -1
  1069. package/node_modules/isexe/dist/commonjs/win32.d.ts +0 -18
  1070. package/node_modules/isexe/dist/commonjs/win32.d.ts.map +0 -1
  1071. package/node_modules/isexe/dist/commonjs/win32.js +0 -63
  1072. package/node_modules/isexe/dist/commonjs/win32.js.map +0 -1
  1073. package/node_modules/isexe/dist/esm/index.d.ts +0 -14
  1074. package/node_modules/isexe/dist/esm/index.d.ts.map +0 -1
  1075. package/node_modules/isexe/dist/esm/index.js +0 -16
  1076. package/node_modules/isexe/dist/esm/index.js.map +0 -1
  1077. package/node_modules/isexe/dist/esm/index.min.js +0 -2
  1078. package/node_modules/isexe/dist/esm/index.min.js.map +0 -7
  1079. package/node_modules/isexe/dist/esm/options.d.ts +0 -32
  1080. package/node_modules/isexe/dist/esm/options.d.ts.map +0 -1
  1081. package/node_modules/isexe/dist/esm/options.js +0 -2
  1082. package/node_modules/isexe/dist/esm/options.js.map +0 -1
  1083. package/node_modules/isexe/dist/esm/package.json +0 -3
  1084. package/node_modules/isexe/dist/esm/posix.d.ts +0 -18
  1085. package/node_modules/isexe/dist/esm/posix.d.ts.map +0 -1
  1086. package/node_modules/isexe/dist/esm/posix.js +0 -62
  1087. package/node_modules/isexe/dist/esm/posix.js.map +0 -1
  1088. package/node_modules/isexe/dist/esm/win32.d.ts +0 -18
  1089. package/node_modules/isexe/dist/esm/win32.d.ts.map +0 -1
  1090. package/node_modules/isexe/dist/esm/win32.js +0 -58
  1091. package/node_modules/isexe/dist/esm/win32.js.map +0 -1
  1092. package/node_modules/isexe/package.json +0 -78
  1093. package/node_modules/mimic-response/index.d.ts +0 -17
  1094. package/node_modules/mimic-response/index.js +0 -77
  1095. package/node_modules/mimic-response/license +0 -9
  1096. package/node_modules/mimic-response/package.json +0 -42
  1097. package/node_modules/mimic-response/readme.md +0 -78
  1098. package/node_modules/minimist/.eslintrc +0 -29
  1099. package/node_modules/minimist/.github/FUNDING.yml +0 -12
  1100. package/node_modules/minimist/.nycrc +0 -14
  1101. package/node_modules/minimist/CHANGELOG.md +0 -298
  1102. package/node_modules/minimist/LICENSE +0 -18
  1103. package/node_modules/minimist/README.md +0 -121
  1104. package/node_modules/minimist/example/parse.js +0 -4
  1105. package/node_modules/minimist/index.js +0 -263
  1106. package/node_modules/minimist/package.json +0 -75
  1107. package/node_modules/minimist/test/all_bool.js +0 -34
  1108. package/node_modules/minimist/test/bool.js +0 -177
  1109. package/node_modules/minimist/test/dash.js +0 -43
  1110. package/node_modules/minimist/test/default_bool.js +0 -37
  1111. package/node_modules/minimist/test/dotted.js +0 -24
  1112. package/node_modules/minimist/test/kv_short.js +0 -32
  1113. package/node_modules/minimist/test/long.js +0 -33
  1114. package/node_modules/minimist/test/num.js +0 -38
  1115. package/node_modules/minimist/test/parse.js +0 -209
  1116. package/node_modules/minimist/test/parse_modified.js +0 -11
  1117. package/node_modules/minimist/test/proto.js +0 -64
  1118. package/node_modules/minimist/test/short.js +0 -69
  1119. package/node_modules/minimist/test/stop_early.js +0 -17
  1120. package/node_modules/minimist/test/unknown.js +0 -104
  1121. package/node_modules/minimist/test/whitespace.js +0 -10
  1122. package/node_modules/minipass/LICENSE.md +0 -55
  1123. package/node_modules/minipass/README.md +0 -825
  1124. package/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
  1125. package/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  1126. package/node_modules/minipass/dist/commonjs/index.js +0 -1038
  1127. package/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  1128. package/node_modules/minipass/dist/commonjs/package.json +0 -3
  1129. package/node_modules/minipass/dist/esm/index.d.ts +0 -545
  1130. package/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  1131. package/node_modules/minipass/dist/esm/index.js +0 -1020
  1132. package/node_modules/minipass/dist/esm/index.js.map +0 -1
  1133. package/node_modules/minipass/dist/esm/package.json +0 -3
  1134. package/node_modules/minipass/package.json +0 -77
  1135. package/node_modules/minizlib/LICENSE +0 -26
  1136. package/node_modules/minizlib/README.md +0 -64
  1137. package/node_modules/minizlib/dist/commonjs/constants.d.ts +0 -2
  1138. package/node_modules/minizlib/dist/commonjs/constants.d.ts.map +0 -1
  1139. package/node_modules/minizlib/dist/commonjs/constants.js +0 -123
  1140. package/node_modules/minizlib/dist/commonjs/constants.js.map +0 -1
  1141. package/node_modules/minizlib/dist/commonjs/index.d.ts +0 -99
  1142. package/node_modules/minizlib/dist/commonjs/index.d.ts.map +0 -1
  1143. package/node_modules/minizlib/dist/commonjs/index.js +0 -416
  1144. package/node_modules/minizlib/dist/commonjs/index.js.map +0 -1
  1145. package/node_modules/minizlib/dist/commonjs/package.json +0 -3
  1146. package/node_modules/minizlib/dist/esm/constants.d.ts +0 -2
  1147. package/node_modules/minizlib/dist/esm/constants.d.ts.map +0 -1
  1148. package/node_modules/minizlib/dist/esm/constants.js +0 -117
  1149. package/node_modules/minizlib/dist/esm/constants.js.map +0 -1
  1150. package/node_modules/minizlib/dist/esm/index.d.ts +0 -99
  1151. package/node_modules/minizlib/dist/esm/index.d.ts.map +0 -1
  1152. package/node_modules/minizlib/dist/esm/index.js +0 -363
  1153. package/node_modules/minizlib/dist/esm/index.js.map +0 -1
  1154. package/node_modules/minizlib/dist/esm/package.json +0 -3
  1155. package/node_modules/minizlib/package.json +0 -80
  1156. package/node_modules/mkdirp-classic/LICENSE +0 -21
  1157. package/node_modules/mkdirp-classic/README.md +0 -18
  1158. package/node_modules/mkdirp-classic/index.js +0 -98
  1159. package/node_modules/mkdirp-classic/package.json +0 -18
  1160. package/node_modules/napi-build-utils/.github/workflows/run-npm-tests.yml +0 -31
  1161. package/node_modules/napi-build-utils/LICENSE +0 -21
  1162. package/node_modules/napi-build-utils/README.md +0 -52
  1163. package/node_modules/napi-build-utils/index.js +0 -214
  1164. package/node_modules/napi-build-utils/index.md +0 -0
  1165. package/node_modules/napi-build-utils/package.json +0 -42
  1166. package/node_modules/node-abi/LICENSE +0 -21
  1167. package/node_modules/node-abi/README.md +0 -54
  1168. package/node_modules/node-abi/abi_registry.json +0 -439
  1169. package/node_modules/node-abi/index.js +0 -179
  1170. package/node_modules/node-abi/package.json +0 -45
  1171. package/node_modules/node-addon-api/LICENSE.md +0 -9
  1172. package/node_modules/node-addon-api/README.md +0 -95
  1173. package/node_modules/node-addon-api/common.gypi +0 -21
  1174. package/node_modules/node-addon-api/except.gypi +0 -25
  1175. package/node_modules/node-addon-api/index.js +0 -14
  1176. package/node_modules/node-addon-api/napi-inl.deprecated.h +0 -186
  1177. package/node_modules/node-addon-api/napi-inl.h +0 -7165
  1178. package/node_modules/node-addon-api/napi.h +0 -3364
  1179. package/node_modules/node-addon-api/node_addon_api.gyp +0 -42
  1180. package/node_modules/node-addon-api/node_api.gyp +0 -9
  1181. package/node_modules/node-addon-api/noexcept.gypi +0 -26
  1182. package/node_modules/node-addon-api/nothing.c +0 -0
  1183. package/node_modules/node-addon-api/package-support.json +0 -21
  1184. package/node_modules/node-addon-api/package.json +0 -480
  1185. package/node_modules/node-addon-api/tools/README.md +0 -73
  1186. package/node_modules/node-addon-api/tools/check-napi.js +0 -99
  1187. package/node_modules/node-addon-api/tools/clang-format.js +0 -71
  1188. package/node_modules/node-addon-api/tools/conversion.js +0 -301
  1189. package/node_modules/node-gyp/.release-please-manifest.json +0 -3
  1190. package/node_modules/node-gyp/CHANGELOG.md +0 -1221
  1191. package/node_modules/node-gyp/CODE_OF_CONDUCT.md +0 -4
  1192. package/node_modules/node-gyp/CONTRIBUTING.md +0 -44
  1193. package/node_modules/node-gyp/LICENSE +0 -24
  1194. package/node_modules/node-gyp/README.md +0 -290
  1195. package/node_modules/node-gyp/SECURITY.md +0 -2
  1196. package/node_modules/node-gyp/addon.gypi +0 -204
  1197. package/node_modules/node-gyp/bin/node-gyp.js +0 -145
  1198. package/node_modules/node-gyp/eslint.config.js +0 -3
  1199. package/node_modules/node-gyp/gyp/.release-please-manifest.json +0 -3
  1200. package/node_modules/node-gyp/gyp/LICENSE +0 -28
  1201. package/node_modules/node-gyp/gyp/data/ninja/build.ninja +0 -4
  1202. package/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  1203. package/node_modules/node-gyp/gyp/docs/GypVsCMake.md +0 -116
  1204. package/node_modules/node-gyp/gyp/docs/Hacking.md +0 -46
  1205. package/node_modules/node-gyp/gyp/docs/InputFormatReference.md +0 -1083
  1206. package/node_modules/node-gyp/gyp/docs/LanguageSpecification.md +0 -430
  1207. package/node_modules/node-gyp/gyp/docs/README.md +0 -27
  1208. package/node_modules/node-gyp/gyp/docs/Testing.md +0 -450
  1209. package/node_modules/node-gyp/gyp/docs/UserDocumentation.md +0 -965
  1210. package/node_modules/node-gyp/gyp/gyp +0 -8
  1211. package/node_modules/node-gyp/gyp/gyp.bat +0 -5
  1212. package/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  1213. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  1214. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  1215. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1283
  1216. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1545
  1217. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  1218. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -152
  1219. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  1220. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -607
  1221. package/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -706
  1222. package/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -725
  1223. package/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -186
  1224. package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -170
  1225. package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  1226. package/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  1227. package/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  1228. package/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -805
  1229. package/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1169
  1230. package/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1316
  1231. package/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -128
  1232. package/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -104
  1233. package/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -461
  1234. package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -88
  1235. package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -55
  1236. package/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2755
  1237. package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3970
  1238. package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  1239. package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2957
  1240. package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -77
  1241. package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1389
  1242. package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -26
  1243. package/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3097
  1244. package/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -99
  1245. package/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -765
  1246. package/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1255
  1247. package/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  1248. package/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  1249. package/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -371
  1250. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1936
  1251. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +0 -54
  1252. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -301
  1253. package/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3180
  1254. package/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -64
  1255. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +0 -3
  1256. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +0 -177
  1257. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +0 -23
  1258. package/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  1259. package/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +0 -107
  1260. package/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  1261. package/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  1262. package/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  1263. package/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  1264. package/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  1265. package/node_modules/node-gyp/gyp/pylib/packaging/markers.py +0 -251
  1266. package/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +0 -807
  1267. package/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  1268. package/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  1269. package/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  1270. package/node_modules/node-gyp/gyp/pylib/packaging/tags.py +0 -541
  1271. package/node_modules/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  1272. package/node_modules/node-gyp/gyp/pylib/packaging/version.py +0 -563
  1273. package/node_modules/node-gyp/gyp/pyproject.toml +0 -116
  1274. package/node_modules/node-gyp/gyp/release-please-config.json +0 -11
  1275. package/node_modules/node-gyp/gyp/test_gyp.py +0 -260
  1276. package/node_modules/node-gyp/lib/Find-VisualStudio.cs +0 -250
  1277. package/node_modules/node-gyp/lib/build.js +0 -230
  1278. package/node_modules/node-gyp/lib/clean.js +0 -15
  1279. package/node_modules/node-gyp/lib/configure.js +0 -328
  1280. package/node_modules/node-gyp/lib/create-config-gypi.js +0 -153
  1281. package/node_modules/node-gyp/lib/download.js +0 -86
  1282. package/node_modules/node-gyp/lib/find-node-directory.js +0 -63
  1283. package/node_modules/node-gyp/lib/find-python.js +0 -304
  1284. package/node_modules/node-gyp/lib/find-visualstudio.js +0 -606
  1285. package/node_modules/node-gyp/lib/install.js +0 -411
  1286. package/node_modules/node-gyp/lib/list.js +0 -26
  1287. package/node_modules/node-gyp/lib/log.js +0 -168
  1288. package/node_modules/node-gyp/lib/node-gyp.js +0 -199
  1289. package/node_modules/node-gyp/lib/process-release.js +0 -144
  1290. package/node_modules/node-gyp/lib/rebuild.js +0 -12
  1291. package/node_modules/node-gyp/lib/remove.js +0 -43
  1292. package/node_modules/node-gyp/lib/util.js +0 -81
  1293. package/node_modules/node-gyp/macOS_Catalina_acid_test.sh +0 -21
  1294. package/node_modules/node-gyp/package.json +0 -52
  1295. package/node_modules/node-gyp/release-please-config.json +0 -40
  1296. package/node_modules/node-gyp/src/win_delay_load_hook.cc +0 -41
  1297. package/node_modules/nopt/LICENSE +0 -15
  1298. package/node_modules/nopt/README.md +0 -214
  1299. package/node_modules/nopt/bin/nopt.js +0 -29
  1300. package/node_modules/nopt/lib/debug.js +0 -5
  1301. package/node_modules/nopt/lib/nopt-lib.js +0 -514
  1302. package/node_modules/nopt/lib/nopt.js +0 -34
  1303. package/node_modules/nopt/lib/type-defs.js +0 -91
  1304. package/node_modules/nopt/package.json +0 -52
  1305. package/node_modules/once/LICENSE +0 -15
  1306. package/node_modules/once/README.md +0 -79
  1307. package/node_modules/once/once.js +0 -42
  1308. package/node_modules/once/package.json +0 -33
  1309. package/node_modules/picomatch/LICENSE +0 -21
  1310. package/node_modules/picomatch/README.md +0 -749
  1311. package/node_modules/picomatch/index.js +0 -17
  1312. package/node_modules/picomatch/lib/constants.js +0 -184
  1313. package/node_modules/picomatch/lib/parse.js +0 -1386
  1314. package/node_modules/picomatch/lib/picomatch.js +0 -349
  1315. package/node_modules/picomatch/lib/scan.js +0 -391
  1316. package/node_modules/picomatch/lib/utils.js +0 -72
  1317. package/node_modules/picomatch/package.json +0 -82
  1318. package/node_modules/picomatch/posix.js +0 -3
  1319. package/node_modules/prebuild-install/CHANGELOG.md +0 -131
  1320. package/node_modules/prebuild-install/CONTRIBUTING.md +0 -6
  1321. package/node_modules/prebuild-install/LICENSE +0 -21
  1322. package/node_modules/prebuild-install/README.md +0 -163
  1323. package/node_modules/prebuild-install/asset.js +0 -44
  1324. package/node_modules/prebuild-install/bin.js +0 -78
  1325. package/node_modules/prebuild-install/download.js +0 -142
  1326. package/node_modules/prebuild-install/error.js +0 -14
  1327. package/node_modules/prebuild-install/help.txt +0 -16
  1328. package/node_modules/prebuild-install/index.js +0 -1
  1329. package/node_modules/prebuild-install/log.js +0 -33
  1330. package/node_modules/prebuild-install/package.json +0 -67
  1331. package/node_modules/prebuild-install/proxy.js +0 -35
  1332. package/node_modules/prebuild-install/rc.js +0 -64
  1333. package/node_modules/prebuild-install/util.js +0 -143
  1334. package/node_modules/proc-log/LICENSE +0 -15
  1335. package/node_modules/proc-log/README.md +0 -226
  1336. package/node_modules/proc-log/lib/index.js +0 -158
  1337. package/node_modules/proc-log/package.json +0 -46
  1338. package/node_modules/pump/.github/FUNDING.yml +0 -2
  1339. package/node_modules/pump/.travis.yml +0 -5
  1340. package/node_modules/pump/LICENSE +0 -21
  1341. package/node_modules/pump/README.md +0 -74
  1342. package/node_modules/pump/SECURITY.md +0 -5
  1343. package/node_modules/pump/empty.js +0 -1
  1344. package/node_modules/pump/index.js +0 -86
  1345. package/node_modules/pump/package.json +0 -30
  1346. package/node_modules/pump/test-browser.js +0 -66
  1347. package/node_modules/pump/test-node.js +0 -53
  1348. package/node_modules/rc/LICENSE.APACHE2 +0 -15
  1349. package/node_modules/rc/LICENSE.BSD +0 -26
  1350. package/node_modules/rc/LICENSE.MIT +0 -24
  1351. package/node_modules/rc/README.md +0 -227
  1352. package/node_modules/rc/browser.js +0 -7
  1353. package/node_modules/rc/cli.js +0 -4
  1354. package/node_modules/rc/index.js +0 -53
  1355. package/node_modules/rc/lib/utils.js +0 -104
  1356. package/node_modules/rc/package.json +0 -29
  1357. package/node_modules/rc/test/ini.js +0 -16
  1358. package/node_modules/rc/test/nested-env-vars.js +0 -50
  1359. package/node_modules/rc/test/test.js +0 -59
  1360. package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  1361. package/node_modules/readable-stream/GOVERNANCE.md +0 -136
  1362. package/node_modules/readable-stream/LICENSE +0 -47
  1363. package/node_modules/readable-stream/README.md +0 -106
  1364. package/node_modules/readable-stream/errors-browser.js +0 -127
  1365. package/node_modules/readable-stream/errors.js +0 -116
  1366. package/node_modules/readable-stream/experimentalWarning.js +0 -17
  1367. package/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
  1368. package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
  1369. package/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
  1370. package/node_modules/readable-stream/lib/_stream_transform.js +0 -190
  1371. package/node_modules/readable-stream/lib/_stream_writable.js +0 -641
  1372. package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
  1373. package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
  1374. package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
  1375. package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
  1376. package/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  1377. package/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
  1378. package/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
  1379. package/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
  1380. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  1381. package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  1382. package/node_modules/readable-stream/package.json +0 -68
  1383. package/node_modules/readable-stream/readable-browser.js +0 -9
  1384. package/node_modules/readable-stream/readable.js +0 -16
  1385. package/node_modules/safe-buffer/LICENSE +0 -21
  1386. package/node_modules/safe-buffer/README.md +0 -584
  1387. package/node_modules/safe-buffer/index.d.ts +0 -187
  1388. package/node_modules/safe-buffer/index.js +0 -65
  1389. package/node_modules/safe-buffer/package.json +0 -51
  1390. package/node_modules/semver/LICENSE +0 -15
  1391. package/node_modules/semver/README.md +0 -665
  1392. package/node_modules/semver/bin/semver.js +0 -191
  1393. package/node_modules/semver/classes/comparator.js +0 -143
  1394. package/node_modules/semver/classes/index.js +0 -7
  1395. package/node_modules/semver/classes/range.js +0 -557
  1396. package/node_modules/semver/classes/semver.js +0 -333
  1397. package/node_modules/semver/functions/clean.js +0 -8
  1398. package/node_modules/semver/functions/cmp.js +0 -54
  1399. package/node_modules/semver/functions/coerce.js +0 -62
  1400. package/node_modules/semver/functions/compare-build.js +0 -9
  1401. package/node_modules/semver/functions/compare-loose.js +0 -5
  1402. package/node_modules/semver/functions/compare.js +0 -7
  1403. package/node_modules/semver/functions/diff.js +0 -60
  1404. package/node_modules/semver/functions/eq.js +0 -5
  1405. package/node_modules/semver/functions/gt.js +0 -5
  1406. package/node_modules/semver/functions/gte.js +0 -5
  1407. package/node_modules/semver/functions/inc.js +0 -21
  1408. package/node_modules/semver/functions/lt.js +0 -5
  1409. package/node_modules/semver/functions/lte.js +0 -5
  1410. package/node_modules/semver/functions/major.js +0 -5
  1411. package/node_modules/semver/functions/minor.js +0 -5
  1412. package/node_modules/semver/functions/neq.js +0 -5
  1413. package/node_modules/semver/functions/parse.js +0 -18
  1414. package/node_modules/semver/functions/patch.js +0 -5
  1415. package/node_modules/semver/functions/prerelease.js +0 -8
  1416. package/node_modules/semver/functions/rcompare.js +0 -5
  1417. package/node_modules/semver/functions/rsort.js +0 -5
  1418. package/node_modules/semver/functions/satisfies.js +0 -12
  1419. package/node_modules/semver/functions/sort.js +0 -5
  1420. package/node_modules/semver/functions/valid.js +0 -8
  1421. package/node_modules/semver/index.js +0 -91
  1422. package/node_modules/semver/internal/constants.js +0 -37
  1423. package/node_modules/semver/internal/debug.js +0 -11
  1424. package/node_modules/semver/internal/identifiers.js +0 -29
  1425. package/node_modules/semver/internal/lrucache.js +0 -42
  1426. package/node_modules/semver/internal/parse-options.js +0 -17
  1427. package/node_modules/semver/internal/re.js +0 -223
  1428. package/node_modules/semver/package.json +0 -78
  1429. package/node_modules/semver/preload.js +0 -4
  1430. package/node_modules/semver/range.bnf +0 -16
  1431. package/node_modules/semver/ranges/gtr.js +0 -6
  1432. package/node_modules/semver/ranges/intersects.js +0 -9
  1433. package/node_modules/semver/ranges/ltr.js +0 -6
  1434. package/node_modules/semver/ranges/max-satisfying.js +0 -27
  1435. package/node_modules/semver/ranges/min-satisfying.js +0 -26
  1436. package/node_modules/semver/ranges/min-version.js +0 -63
  1437. package/node_modules/semver/ranges/outside.js +0 -82
  1438. package/node_modules/semver/ranges/simplify.js +0 -49
  1439. package/node_modules/semver/ranges/subset.js +0 -249
  1440. package/node_modules/semver/ranges/to-comparators.js +0 -10
  1441. package/node_modules/semver/ranges/valid.js +0 -13
  1442. package/node_modules/simple-concat/.travis.yml +0 -3
  1443. package/node_modules/simple-concat/LICENSE +0 -20
  1444. package/node_modules/simple-concat/README.md +0 -44
  1445. package/node_modules/simple-concat/index.js +0 -15
  1446. package/node_modules/simple-concat/package.json +0 -47
  1447. package/node_modules/simple-concat/test/basic.js +0 -41
  1448. package/node_modules/simple-get/.github/dependabot.yml +0 -15
  1449. package/node_modules/simple-get/.github/workflows/ci.yml +0 -23
  1450. package/node_modules/simple-get/LICENSE +0 -20
  1451. package/node_modules/simple-get/README.md +0 -333
  1452. package/node_modules/simple-get/index.js +0 -108
  1453. package/node_modules/simple-get/package.json +0 -67
  1454. package/node_modules/sqlite3/LICENSE +0 -25
  1455. package/node_modules/sqlite3/README.md +0 -253
  1456. package/node_modules/sqlite3/binding.gyp +0 -58
  1457. package/node_modules/sqlite3/build/Release/node_sqlite3.node +0 -0
  1458. package/node_modules/sqlite3/deps/common-sqlite.gypi +0 -60
  1459. package/node_modules/sqlite3/deps/extract.js +0 -19
  1460. package/node_modules/sqlite3/deps/sqlite-autoconf-3520000.tar.gz +0 -0
  1461. package/node_modules/sqlite3/deps/sqlite3.gyp +0 -121
  1462. package/node_modules/sqlite3/lib/sqlite3-binding.js +0 -1
  1463. package/node_modules/sqlite3/lib/sqlite3.d.ts +0 -205
  1464. package/node_modules/sqlite3/lib/sqlite3.js +0 -207
  1465. package/node_modules/sqlite3/lib/trace.js +0 -38
  1466. package/node_modules/sqlite3/package.json +0 -92
  1467. package/node_modules/sqlite3/src/async.h +0 -76
  1468. package/node_modules/sqlite3/src/backup.cc +0 -418
  1469. package/node_modules/sqlite3/src/backup.h +0 -209
  1470. package/node_modules/sqlite3/src/database.cc +0 -751
  1471. package/node_modules/sqlite3/src/database.h +0 -188
  1472. package/node_modules/sqlite3/src/gcc-preinclude.h +0 -31
  1473. package/node_modules/sqlite3/src/macros.h +0 -207
  1474. package/node_modules/sqlite3/src/node_sqlite3.cc +0 -128
  1475. package/node_modules/sqlite3/src/statement.cc +0 -939
  1476. package/node_modules/sqlite3/src/statement.h +0 -244
  1477. package/node_modules/sqlite3/src/threading.h +0 -10
  1478. package/node_modules/string_decoder/LICENSE +0 -48
  1479. package/node_modules/string_decoder/README.md +0 -47
  1480. package/node_modules/string_decoder/lib/string_decoder.js +0 -296
  1481. package/node_modules/string_decoder/package.json +0 -34
  1482. package/node_modules/strip-json-comments/index.js +0 -70
  1483. package/node_modules/strip-json-comments/license +0 -21
  1484. package/node_modules/strip-json-comments/package.json +0 -42
  1485. package/node_modules/strip-json-comments/readme.md +0 -64
  1486. package/node_modules/tar/LICENSE.md +0 -55
  1487. package/node_modules/tar/README.md +0 -1224
  1488. package/node_modules/tar/dist/commonjs/create.d.ts +0 -3
  1489. package/node_modules/tar/dist/commonjs/create.d.ts.map +0 -1
  1490. package/node_modules/tar/dist/commonjs/create.js +0 -82
  1491. package/node_modules/tar/dist/commonjs/create.js.map +0 -1
  1492. package/node_modules/tar/dist/commonjs/cwd-error.d.ts +0 -8
  1493. package/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +0 -1
  1494. package/node_modules/tar/dist/commonjs/cwd-error.js +0 -18
  1495. package/node_modules/tar/dist/commonjs/cwd-error.js.map +0 -1
  1496. package/node_modules/tar/dist/commonjs/extract.d.ts +0 -3
  1497. package/node_modules/tar/dist/commonjs/extract.d.ts.map +0 -1
  1498. package/node_modules/tar/dist/commonjs/extract.js +0 -88
  1499. package/node_modules/tar/dist/commonjs/extract.js.map +0 -1
  1500. package/node_modules/tar/dist/commonjs/get-write-flag.d.ts +0 -2
  1501. package/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +0 -1
  1502. package/node_modules/tar/dist/commonjs/get-write-flag.js +0 -32
  1503. package/node_modules/tar/dist/commonjs/get-write-flag.js.map +0 -1
  1504. package/node_modules/tar/dist/commonjs/header.d.ts +0 -53
  1505. package/node_modules/tar/dist/commonjs/header.d.ts.map +0 -1
  1506. package/node_modules/tar/dist/commonjs/header.js +0 -312
  1507. package/node_modules/tar/dist/commonjs/header.js.map +0 -1
  1508. package/node_modules/tar/dist/commonjs/index.d.ts +0 -20
  1509. package/node_modules/tar/dist/commonjs/index.d.ts.map +0 -1
  1510. package/node_modules/tar/dist/commonjs/index.js +0 -64
  1511. package/node_modules/tar/dist/commonjs/index.js.map +0 -1
  1512. package/node_modules/tar/dist/commonjs/index.min.js +0 -4
  1513. package/node_modules/tar/dist/commonjs/index.min.js.map +0 -7
  1514. package/node_modules/tar/dist/commonjs/large-numbers.d.ts +0 -3
  1515. package/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +0 -1
  1516. package/node_modules/tar/dist/commonjs/large-numbers.js +0 -99
  1517. package/node_modules/tar/dist/commonjs/large-numbers.js.map +0 -1
  1518. package/node_modules/tar/dist/commonjs/list.d.ts +0 -7
  1519. package/node_modules/tar/dist/commonjs/list.d.ts.map +0 -1
  1520. package/node_modules/tar/dist/commonjs/list.js +0 -145
  1521. package/node_modules/tar/dist/commonjs/list.js.map +0 -1
  1522. package/node_modules/tar/dist/commonjs/make-command.d.ts +0 -49
  1523. package/node_modules/tar/dist/commonjs/make-command.d.ts.map +0 -1
  1524. package/node_modules/tar/dist/commonjs/make-command.js +0 -52
  1525. package/node_modules/tar/dist/commonjs/make-command.js.map +0 -1
  1526. package/node_modules/tar/dist/commonjs/mkdir.d.ts +0 -25
  1527. package/node_modules/tar/dist/commonjs/mkdir.d.ts.map +0 -1
  1528. package/node_modules/tar/dist/commonjs/mkdir.js +0 -187
  1529. package/node_modules/tar/dist/commonjs/mkdir.js.map +0 -1
  1530. package/node_modules/tar/dist/commonjs/mode-fix.d.ts +0 -2
  1531. package/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +0 -1
  1532. package/node_modules/tar/dist/commonjs/mode-fix.js +0 -29
  1533. package/node_modules/tar/dist/commonjs/mode-fix.js.map +0 -1
  1534. package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +0 -2
  1535. package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +0 -1
  1536. package/node_modules/tar/dist/commonjs/normalize-unicode.js +0 -38
  1537. package/node_modules/tar/dist/commonjs/normalize-unicode.js.map +0 -1
  1538. package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +0 -2
  1539. package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +0 -1
  1540. package/node_modules/tar/dist/commonjs/normalize-windows-path.js +0 -12
  1541. package/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +0 -1
  1542. package/node_modules/tar/dist/commonjs/options.d.ts +0 -596
  1543. package/node_modules/tar/dist/commonjs/options.d.ts.map +0 -1
  1544. package/node_modules/tar/dist/commonjs/options.js +0 -66
  1545. package/node_modules/tar/dist/commonjs/options.js.map +0 -1
  1546. package/node_modules/tar/dist/commonjs/pack.d.ts +0 -105
  1547. package/node_modules/tar/dist/commonjs/pack.d.ts.map +0 -1
  1548. package/node_modules/tar/dist/commonjs/pack.js +0 -545
  1549. package/node_modules/tar/dist/commonjs/pack.js.map +0 -1
  1550. package/node_modules/tar/dist/commonjs/package.json +0 -3
  1551. package/node_modules/tar/dist/commonjs/parse.d.ts +0 -85
  1552. package/node_modules/tar/dist/commonjs/parse.d.ts.map +0 -1
  1553. package/node_modules/tar/dist/commonjs/parse.js +0 -610
  1554. package/node_modules/tar/dist/commonjs/parse.js.map +0 -1
  1555. package/node_modules/tar/dist/commonjs/path-reservations.d.ts +0 -11
  1556. package/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +0 -1
  1557. package/node_modules/tar/dist/commonjs/path-reservations.js +0 -170
  1558. package/node_modules/tar/dist/commonjs/path-reservations.js.map +0 -1
  1559. package/node_modules/tar/dist/commonjs/pax.d.ts +0 -26
  1560. package/node_modules/tar/dist/commonjs/pax.d.ts.map +0 -1
  1561. package/node_modules/tar/dist/commonjs/pax.js +0 -158
  1562. package/node_modules/tar/dist/commonjs/pax.js.map +0 -1
  1563. package/node_modules/tar/dist/commonjs/process-umask.d.ts +0 -2
  1564. package/node_modules/tar/dist/commonjs/process-umask.d.ts.map +0 -1
  1565. package/node_modules/tar/dist/commonjs/process-umask.js +0 -7
  1566. package/node_modules/tar/dist/commonjs/process-umask.js.map +0 -1
  1567. package/node_modules/tar/dist/commonjs/read-entry.d.ts +0 -36
  1568. package/node_modules/tar/dist/commonjs/read-entry.d.ts.map +0 -1
  1569. package/node_modules/tar/dist/commonjs/read-entry.js +0 -136
  1570. package/node_modules/tar/dist/commonjs/read-entry.js.map +0 -1
  1571. package/node_modules/tar/dist/commonjs/replace.d.ts +0 -2
  1572. package/node_modules/tar/dist/commonjs/replace.d.ts.map +0 -1
  1573. package/node_modules/tar/dist/commonjs/replace.js +0 -227
  1574. package/node_modules/tar/dist/commonjs/replace.js.map +0 -1
  1575. package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +0 -2
  1576. package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +0 -1
  1577. package/node_modules/tar/dist/commonjs/strip-absolute-path.js +0 -29
  1578. package/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +0 -1
  1579. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +0 -2
  1580. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +0 -1
  1581. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +0 -18
  1582. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +0 -1
  1583. package/node_modules/tar/dist/commonjs/symlink-error.d.ts +0 -9
  1584. package/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +0 -1
  1585. package/node_modules/tar/dist/commonjs/symlink-error.js +0 -19
  1586. package/node_modules/tar/dist/commonjs/symlink-error.js.map +0 -1
  1587. package/node_modules/tar/dist/commonjs/types.d.ts +0 -7
  1588. package/node_modules/tar/dist/commonjs/types.d.ts.map +0 -1
  1589. package/node_modules/tar/dist/commonjs/types.js +0 -50
  1590. package/node_modules/tar/dist/commonjs/types.js.map +0 -1
  1591. package/node_modules/tar/dist/commonjs/unpack.d.ts +0 -101
  1592. package/node_modules/tar/dist/commonjs/unpack.d.ts.map +0 -1
  1593. package/node_modules/tar/dist/commonjs/unpack.js +0 -932
  1594. package/node_modules/tar/dist/commonjs/unpack.js.map +0 -1
  1595. package/node_modules/tar/dist/commonjs/update.d.ts +0 -2
  1596. package/node_modules/tar/dist/commonjs/update.d.ts.map +0 -1
  1597. package/node_modules/tar/dist/commonjs/update.js +0 -33
  1598. package/node_modules/tar/dist/commonjs/update.js.map +0 -1
  1599. package/node_modules/tar/dist/commonjs/warn-method.d.ts +0 -24
  1600. package/node_modules/tar/dist/commonjs/warn-method.d.ts.map +0 -1
  1601. package/node_modules/tar/dist/commonjs/warn-method.js +0 -31
  1602. package/node_modules/tar/dist/commonjs/warn-method.js.map +0 -1
  1603. package/node_modules/tar/dist/commonjs/winchars.d.ts +0 -3
  1604. package/node_modules/tar/dist/commonjs/winchars.d.ts.map +0 -1
  1605. package/node_modules/tar/dist/commonjs/winchars.js +0 -14
  1606. package/node_modules/tar/dist/commonjs/winchars.js.map +0 -1
  1607. package/node_modules/tar/dist/commonjs/write-entry.d.ts +0 -129
  1608. package/node_modules/tar/dist/commonjs/write-entry.d.ts.map +0 -1
  1609. package/node_modules/tar/dist/commonjs/write-entry.js +0 -698
  1610. package/node_modules/tar/dist/commonjs/write-entry.js.map +0 -1
  1611. package/node_modules/tar/dist/esm/create.d.ts +0 -3
  1612. package/node_modules/tar/dist/esm/create.d.ts.map +0 -1
  1613. package/node_modules/tar/dist/esm/create.js +0 -76
  1614. package/node_modules/tar/dist/esm/create.js.map +0 -1
  1615. package/node_modules/tar/dist/esm/cwd-error.d.ts +0 -8
  1616. package/node_modules/tar/dist/esm/cwd-error.d.ts.map +0 -1
  1617. package/node_modules/tar/dist/esm/cwd-error.js +0 -14
  1618. package/node_modules/tar/dist/esm/cwd-error.js.map +0 -1
  1619. package/node_modules/tar/dist/esm/extract.d.ts +0 -3
  1620. package/node_modules/tar/dist/esm/extract.d.ts.map +0 -1
  1621. package/node_modules/tar/dist/esm/extract.js +0 -49
  1622. package/node_modules/tar/dist/esm/extract.js.map +0 -1
  1623. package/node_modules/tar/dist/esm/get-write-flag.d.ts +0 -2
  1624. package/node_modules/tar/dist/esm/get-write-flag.d.ts.map +0 -1
  1625. package/node_modules/tar/dist/esm/get-write-flag.js +0 -26
  1626. package/node_modules/tar/dist/esm/get-write-flag.js.map +0 -1
  1627. package/node_modules/tar/dist/esm/header.d.ts +0 -53
  1628. package/node_modules/tar/dist/esm/header.d.ts.map +0 -1
  1629. package/node_modules/tar/dist/esm/header.js +0 -275
  1630. package/node_modules/tar/dist/esm/header.js.map +0 -1
  1631. package/node_modules/tar/dist/esm/index.d.ts +0 -20
  1632. package/node_modules/tar/dist/esm/index.d.ts.map +0 -1
  1633. package/node_modules/tar/dist/esm/index.js +0 -20
  1634. package/node_modules/tar/dist/esm/index.js.map +0 -1
  1635. package/node_modules/tar/dist/esm/index.min.js +0 -4
  1636. package/node_modules/tar/dist/esm/index.min.js.map +0 -7
  1637. package/node_modules/tar/dist/esm/large-numbers.d.ts +0 -3
  1638. package/node_modules/tar/dist/esm/large-numbers.d.ts.map +0 -1
  1639. package/node_modules/tar/dist/esm/large-numbers.js +0 -94
  1640. package/node_modules/tar/dist/esm/large-numbers.js.map +0 -1
  1641. package/node_modules/tar/dist/esm/list.d.ts +0 -7
  1642. package/node_modules/tar/dist/esm/list.d.ts.map +0 -1
  1643. package/node_modules/tar/dist/esm/list.js +0 -105
  1644. package/node_modules/tar/dist/esm/list.js.map +0 -1
  1645. package/node_modules/tar/dist/esm/make-command.d.ts +0 -49
  1646. package/node_modules/tar/dist/esm/make-command.d.ts.map +0 -1
  1647. package/node_modules/tar/dist/esm/make-command.js +0 -48
  1648. package/node_modules/tar/dist/esm/make-command.js.map +0 -1
  1649. package/node_modules/tar/dist/esm/mkdir.d.ts +0 -25
  1650. package/node_modules/tar/dist/esm/mkdir.d.ts.map +0 -1
  1651. package/node_modules/tar/dist/esm/mkdir.js +0 -179
  1652. package/node_modules/tar/dist/esm/mkdir.js.map +0 -1
  1653. package/node_modules/tar/dist/esm/mode-fix.d.ts +0 -2
  1654. package/node_modules/tar/dist/esm/mode-fix.d.ts.map +0 -1
  1655. package/node_modules/tar/dist/esm/mode-fix.js +0 -25
  1656. package/node_modules/tar/dist/esm/mode-fix.js.map +0 -1
  1657. package/node_modules/tar/dist/esm/normalize-unicode.d.ts +0 -2
  1658. package/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +0 -1
  1659. package/node_modules/tar/dist/esm/normalize-unicode.js +0 -34
  1660. package/node_modules/tar/dist/esm/normalize-unicode.js.map +0 -1
  1661. package/node_modules/tar/dist/esm/normalize-windows-path.d.ts +0 -2
  1662. package/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +0 -1
  1663. package/node_modules/tar/dist/esm/normalize-windows-path.js +0 -9
  1664. package/node_modules/tar/dist/esm/normalize-windows-path.js.map +0 -1
  1665. package/node_modules/tar/dist/esm/options.d.ts +0 -596
  1666. package/node_modules/tar/dist/esm/options.d.ts.map +0 -1
  1667. package/node_modules/tar/dist/esm/options.js +0 -54
  1668. package/node_modules/tar/dist/esm/options.js.map +0 -1
  1669. package/node_modules/tar/dist/esm/pack.d.ts +0 -105
  1670. package/node_modules/tar/dist/esm/pack.d.ts.map +0 -1
  1671. package/node_modules/tar/dist/esm/pack.js +0 -503
  1672. package/node_modules/tar/dist/esm/pack.js.map +0 -1
  1673. package/node_modules/tar/dist/esm/package.json +0 -3
  1674. package/node_modules/tar/dist/esm/parse.d.ts +0 -85
  1675. package/node_modules/tar/dist/esm/parse.d.ts.map +0 -1
  1676. package/node_modules/tar/dist/esm/parse.js +0 -606
  1677. package/node_modules/tar/dist/esm/parse.js.map +0 -1
  1678. package/node_modules/tar/dist/esm/path-reservations.d.ts +0 -11
  1679. package/node_modules/tar/dist/esm/path-reservations.d.ts.map +0 -1
  1680. package/node_modules/tar/dist/esm/path-reservations.js +0 -166
  1681. package/node_modules/tar/dist/esm/path-reservations.js.map +0 -1
  1682. package/node_modules/tar/dist/esm/pax.d.ts +0 -26
  1683. package/node_modules/tar/dist/esm/pax.d.ts.map +0 -1
  1684. package/node_modules/tar/dist/esm/pax.js +0 -154
  1685. package/node_modules/tar/dist/esm/pax.js.map +0 -1
  1686. package/node_modules/tar/dist/esm/process-umask.d.ts +0 -2
  1687. package/node_modules/tar/dist/esm/process-umask.d.ts.map +0 -1
  1688. package/node_modules/tar/dist/esm/process-umask.js +0 -3
  1689. package/node_modules/tar/dist/esm/process-umask.js.map +0 -1
  1690. package/node_modules/tar/dist/esm/read-entry.d.ts +0 -36
  1691. package/node_modules/tar/dist/esm/read-entry.d.ts.map +0 -1
  1692. package/node_modules/tar/dist/esm/read-entry.js +0 -132
  1693. package/node_modules/tar/dist/esm/read-entry.js.map +0 -1
  1694. package/node_modules/tar/dist/esm/replace.d.ts +0 -2
  1695. package/node_modules/tar/dist/esm/replace.d.ts.map +0 -1
  1696. package/node_modules/tar/dist/esm/replace.js +0 -221
  1697. package/node_modules/tar/dist/esm/replace.js.map +0 -1
  1698. package/node_modules/tar/dist/esm/strip-absolute-path.d.ts +0 -2
  1699. package/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +0 -1
  1700. package/node_modules/tar/dist/esm/strip-absolute-path.js +0 -25
  1701. package/node_modules/tar/dist/esm/strip-absolute-path.js.map +0 -1
  1702. package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +0 -2
  1703. package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +0 -1
  1704. package/node_modules/tar/dist/esm/strip-trailing-slashes.js +0 -14
  1705. package/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +0 -1
  1706. package/node_modules/tar/dist/esm/symlink-error.d.ts +0 -9
  1707. package/node_modules/tar/dist/esm/symlink-error.d.ts.map +0 -1
  1708. package/node_modules/tar/dist/esm/symlink-error.js +0 -15
  1709. package/node_modules/tar/dist/esm/symlink-error.js.map +0 -1
  1710. package/node_modules/tar/dist/esm/types.d.ts +0 -7
  1711. package/node_modules/tar/dist/esm/types.d.ts.map +0 -1
  1712. package/node_modules/tar/dist/esm/types.js +0 -45
  1713. package/node_modules/tar/dist/esm/types.js.map +0 -1
  1714. package/node_modules/tar/dist/esm/unpack.d.ts +0 -101
  1715. package/node_modules/tar/dist/esm/unpack.d.ts.map +0 -1
  1716. package/node_modules/tar/dist/esm/unpack.js +0 -891
  1717. package/node_modules/tar/dist/esm/unpack.js.map +0 -1
  1718. package/node_modules/tar/dist/esm/update.d.ts +0 -2
  1719. package/node_modules/tar/dist/esm/update.d.ts.map +0 -1
  1720. package/node_modules/tar/dist/esm/update.js +0 -30
  1721. package/node_modules/tar/dist/esm/update.js.map +0 -1
  1722. package/node_modules/tar/dist/esm/warn-method.d.ts +0 -24
  1723. package/node_modules/tar/dist/esm/warn-method.d.ts.map +0 -1
  1724. package/node_modules/tar/dist/esm/warn-method.js +0 -27
  1725. package/node_modules/tar/dist/esm/warn-method.js.map +0 -1
  1726. package/node_modules/tar/dist/esm/winchars.d.ts +0 -3
  1727. package/node_modules/tar/dist/esm/winchars.d.ts.map +0 -1
  1728. package/node_modules/tar/dist/esm/winchars.js +0 -9
  1729. package/node_modules/tar/dist/esm/winchars.js.map +0 -1
  1730. package/node_modules/tar/dist/esm/write-entry.d.ts +0 -129
  1731. package/node_modules/tar/dist/esm/write-entry.d.ts.map +0 -1
  1732. package/node_modules/tar/dist/esm/write-entry.js +0 -656
  1733. package/node_modules/tar/dist/esm/write-entry.js.map +0 -1
  1734. package/node_modules/tar/package.json +0 -297
  1735. package/node_modules/tar-fs/.travis.yml +0 -6
  1736. package/node_modules/tar-fs/LICENSE +0 -21
  1737. package/node_modules/tar-fs/README.md +0 -165
  1738. package/node_modules/tar-fs/index.js +0 -363
  1739. package/node_modules/tar-fs/node_modules/chownr/LICENSE +0 -15
  1740. package/node_modules/tar-fs/node_modules/chownr/README.md +0 -3
  1741. package/node_modules/tar-fs/node_modules/chownr/chownr.js +0 -167
  1742. package/node_modules/tar-fs/node_modules/chownr/package.json +0 -29
  1743. package/node_modules/tar-fs/package.json +0 -41
  1744. package/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
  1745. package/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
  1746. package/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
  1747. package/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
  1748. package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
  1749. package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
  1750. package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
  1751. package/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
  1752. package/node_modules/tar-fs/test/fixtures/e/file +0 -0
  1753. package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
  1754. package/node_modules/tar-fs/test/index.js +0 -346
  1755. package/node_modules/tar-stream/LICENSE +0 -21
  1756. package/node_modules/tar-stream/README.md +0 -168
  1757. package/node_modules/tar-stream/extract.js +0 -257
  1758. package/node_modules/tar-stream/headers.js +0 -295
  1759. package/node_modules/tar-stream/index.js +0 -2
  1760. package/node_modules/tar-stream/pack.js +0 -255
  1761. package/node_modules/tar-stream/package.json +0 -58
  1762. package/node_modules/tar-stream/sandbox.js +0 -11
  1763. package/node_modules/tinyglobby/LICENSE +0 -21
  1764. package/node_modules/tinyglobby/README.md +0 -25
  1765. package/node_modules/tinyglobby/dist/index.cjs +0 -334
  1766. package/node_modules/tinyglobby/dist/index.d.cts +0 -148
  1767. package/node_modules/tinyglobby/dist/index.d.mts +0 -148
  1768. package/node_modules/tinyglobby/dist/index.mjs +0 -306
  1769. package/node_modules/tinyglobby/package.json +0 -73
  1770. package/node_modules/tunnel-agent/LICENSE +0 -55
  1771. package/node_modules/tunnel-agent/README.md +0 -4
  1772. package/node_modules/tunnel-agent/index.js +0 -244
  1773. package/node_modules/tunnel-agent/package.json +0 -22
  1774. package/node_modules/undici/LICENSE +0 -21
  1775. package/node_modules/undici/README.md +0 -741
  1776. package/node_modules/undici/docs/docs/api/Agent.md +0 -84
  1777. package/node_modules/undici/docs/docs/api/BalancedPool.md +0 -99
  1778. package/node_modules/undici/docs/docs/api/CacheStorage.md +0 -30
  1779. package/node_modules/undici/docs/docs/api/CacheStore.md +0 -164
  1780. package/node_modules/undici/docs/docs/api/Client.md +0 -285
  1781. package/node_modules/undici/docs/docs/api/ClientStats.md +0 -27
  1782. package/node_modules/undici/docs/docs/api/Connector.md +0 -115
  1783. package/node_modules/undici/docs/docs/api/ContentType.md +0 -57
  1784. package/node_modules/undici/docs/docs/api/Cookies.md +0 -101
  1785. package/node_modules/undici/docs/docs/api/Debug.md +0 -62
  1786. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -315
  1787. package/node_modules/undici/docs/docs/api/Dispatcher.md +0 -1392
  1788. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -159
  1789. package/node_modules/undici/docs/docs/api/Errors.md +0 -49
  1790. package/node_modules/undici/docs/docs/api/EventSource.md +0 -45
  1791. package/node_modules/undici/docs/docs/api/Fetch.md +0 -60
  1792. package/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -139
  1793. package/node_modules/undici/docs/docs/api/H2CClient.md +0 -263
  1794. package/node_modules/undici/docs/docs/api/MockAgent.md +0 -603
  1795. package/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -197
  1796. package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -43
  1797. package/node_modules/undici/docs/docs/api/MockClient.md +0 -81
  1798. package/node_modules/undici/docs/docs/api/MockErrors.md +0 -12
  1799. package/node_modules/undici/docs/docs/api/MockPool.md +0 -555
  1800. package/node_modules/undici/docs/docs/api/Pool.md +0 -84
  1801. package/node_modules/undici/docs/docs/api/PoolStats.md +0 -35
  1802. package/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -229
  1803. package/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -93
  1804. package/node_modules/undici/docs/docs/api/RetryAgent.md +0 -50
  1805. package/node_modules/undici/docs/docs/api/RetryHandler.md +0 -118
  1806. package/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -145
  1807. package/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -616
  1808. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -274
  1809. package/node_modules/undici/docs/docs/api/Util.md +0 -25
  1810. package/node_modules/undici/docs/docs/api/WebSocket.md +0 -141
  1811. package/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -91
  1812. package/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -64
  1813. package/node_modules/undici/docs/docs/best-practices/crawling.md +0 -58
  1814. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -190
  1815. package/node_modules/undici/docs/docs/best-practices/proxy.md +0 -127
  1816. package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -224
  1817. package/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -63
  1818. package/node_modules/undici/index-fetch.js +0 -65
  1819. package/node_modules/undici/index.d.ts +0 -3
  1820. package/node_modules/undici/index.js +0 -234
  1821. package/node_modules/undici/lib/api/abort-signal.js +0 -59
  1822. package/node_modules/undici/lib/api/api-connect.js +0 -110
  1823. package/node_modules/undici/lib/api/api-pipeline.js +0 -252
  1824. package/node_modules/undici/lib/api/api-request.js +0 -214
  1825. package/node_modules/undici/lib/api/api-stream.js +0 -209
  1826. package/node_modules/undici/lib/api/api-upgrade.js +0 -111
  1827. package/node_modules/undici/lib/api/index.js +0 -7
  1828. package/node_modules/undici/lib/api/readable.js +0 -580
  1829. package/node_modules/undici/lib/cache/memory-cache-store.js +0 -234
  1830. package/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -461
  1831. package/node_modules/undici/lib/core/connect.js +0 -137
  1832. package/node_modules/undici/lib/core/constants.js +0 -143
  1833. package/node_modules/undici/lib/core/diagnostics.js +0 -227
  1834. package/node_modules/undici/lib/core/errors.js +0 -477
  1835. package/node_modules/undici/lib/core/request.js +0 -438
  1836. package/node_modules/undici/lib/core/socks5-client.js +0 -407
  1837. package/node_modules/undici/lib/core/socks5-utils.js +0 -203
  1838. package/node_modules/undici/lib/core/symbols.js +0 -75
  1839. package/node_modules/undici/lib/core/tree.js +0 -160
  1840. package/node_modules/undici/lib/core/util.js +0 -992
  1841. package/node_modules/undici/lib/dispatcher/agent.js +0 -158
  1842. package/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -219
  1843. package/node_modules/undici/lib/dispatcher/client-h1.js +0 -1610
  1844. package/node_modules/undici/lib/dispatcher/client-h2.js +0 -995
  1845. package/node_modules/undici/lib/dispatcher/client.js +0 -659
  1846. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -165
  1847. package/node_modules/undici/lib/dispatcher/dispatcher.js +0 -48
  1848. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -146
  1849. package/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
  1850. package/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
  1851. package/node_modules/undici/lib/dispatcher/pool-base.js +0 -214
  1852. package/node_modules/undici/lib/dispatcher/pool.js +0 -118
  1853. package/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -318
  1854. package/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
  1855. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -137
  1856. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -249
  1857. package/node_modules/undici/lib/encoding/index.js +0 -33
  1858. package/node_modules/undici/lib/global.js +0 -50
  1859. package/node_modules/undici/lib/handler/cache-handler.js +0 -578
  1860. package/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -124
  1861. package/node_modules/undici/lib/handler/decorator-handler.js +0 -67
  1862. package/node_modules/undici/lib/handler/deduplication-handler.js +0 -460
  1863. package/node_modules/undici/lib/handler/redirect-handler.js +0 -238
  1864. package/node_modules/undici/lib/handler/retry-handler.js +0 -394
  1865. package/node_modules/undici/lib/handler/unwrap-handler.js +0 -100
  1866. package/node_modules/undici/lib/handler/wrap-handler.js +0 -105
  1867. package/node_modules/undici/lib/interceptor/cache.js +0 -495
  1868. package/node_modules/undici/lib/interceptor/decompress.js +0 -259
  1869. package/node_modules/undici/lib/interceptor/deduplicate.js +0 -117
  1870. package/node_modules/undici/lib/interceptor/dns.js +0 -571
  1871. package/node_modules/undici/lib/interceptor/dump.js +0 -112
  1872. package/node_modules/undici/lib/interceptor/redirect.js +0 -21
  1873. package/node_modules/undici/lib/interceptor/response-error.js +0 -95
  1874. package/node_modules/undici/lib/interceptor/retry.js +0 -19
  1875. package/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  1876. package/node_modules/undici/lib/llhttp/constants.d.ts +0 -195
  1877. package/node_modules/undici/lib/llhttp/constants.js +0 -531
  1878. package/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
  1879. package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
  1880. package/node_modules/undici/lib/llhttp/utils.d.ts +0 -2
  1881. package/node_modules/undici/lib/llhttp/utils.js +0 -12
  1882. package/node_modules/undici/lib/mock/mock-agent.js +0 -232
  1883. package/node_modules/undici/lib/mock/mock-call-history.js +0 -248
  1884. package/node_modules/undici/lib/mock/mock-client.js +0 -68
  1885. package/node_modules/undici/lib/mock/mock-errors.js +0 -29
  1886. package/node_modules/undici/lib/mock/mock-interceptor.js +0 -209
  1887. package/node_modules/undici/lib/mock/mock-pool.js +0 -68
  1888. package/node_modules/undici/lib/mock/mock-symbols.js +0 -32
  1889. package/node_modules/undici/lib/mock/mock-utils.js +0 -486
  1890. package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
  1891. package/node_modules/undici/lib/mock/snapshot-agent.js +0 -353
  1892. package/node_modules/undici/lib/mock/snapshot-recorder.js +0 -588
  1893. package/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
  1894. package/node_modules/undici/lib/util/cache.js +0 -407
  1895. package/node_modules/undici/lib/util/date.js +0 -653
  1896. package/node_modules/undici/lib/util/promise.js +0 -28
  1897. package/node_modules/undici/lib/util/runtime-features.js +0 -124
  1898. package/node_modules/undici/lib/util/stats.js +0 -32
  1899. package/node_modules/undici/lib/util/timers.js +0 -425
  1900. package/node_modules/undici/lib/web/cache/cache.js +0 -864
  1901. package/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
  1902. package/node_modules/undici/lib/web/cache/util.js +0 -45
  1903. package/node_modules/undici/lib/web/cookies/constants.js +0 -12
  1904. package/node_modules/undici/lib/web/cookies/index.js +0 -199
  1905. package/node_modules/undici/lib/web/cookies/parse.js +0 -322
  1906. package/node_modules/undici/lib/web/cookies/util.js +0 -282
  1907. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -399
  1908. package/node_modules/undici/lib/web/eventsource/eventsource.js +0 -501
  1909. package/node_modules/undici/lib/web/eventsource/util.js +0 -29
  1910. package/node_modules/undici/lib/web/fetch/LICENSE +0 -21
  1911. package/node_modules/undici/lib/web/fetch/body.js +0 -509
  1912. package/node_modules/undici/lib/web/fetch/constants.js +0 -131
  1913. package/node_modules/undici/lib/web/fetch/data-url.js +0 -596
  1914. package/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -575
  1915. package/node_modules/undici/lib/web/fetch/formdata.js +0 -259
  1916. package/node_modules/undici/lib/web/fetch/global.js +0 -40
  1917. package/node_modules/undici/lib/web/fetch/headers.js +0 -719
  1918. package/node_modules/undici/lib/web/fetch/index.js +0 -2410
  1919. package/node_modules/undici/lib/web/fetch/request.js +0 -1115
  1920. package/node_modules/undici/lib/web/fetch/response.js +0 -641
  1921. package/node_modules/undici/lib/web/fetch/util.js +0 -1522
  1922. package/node_modules/undici/lib/web/infra/index.js +0 -229
  1923. package/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
  1924. package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
  1925. package/node_modules/undici/lib/web/webidl/index.js +0 -1006
  1926. package/node_modules/undici/lib/web/websocket/connection.js +0 -329
  1927. package/node_modules/undici/lib/web/websocket/constants.js +0 -126
  1928. package/node_modules/undici/lib/web/websocket/events.js +0 -331
  1929. package/node_modules/undici/lib/web/websocket/frame.js +0 -133
  1930. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -118
  1931. package/node_modules/undici/lib/web/websocket/receiver.js +0 -450
  1932. package/node_modules/undici/lib/web/websocket/sender.js +0 -109
  1933. package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
  1934. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -497
  1935. package/node_modules/undici/lib/web/websocket/util.js +0 -347
  1936. package/node_modules/undici/lib/web/websocket/websocket.js +0 -751
  1937. package/node_modules/undici/package.json +0 -152
  1938. package/node_modules/undici/scripts/strip-comments.js +0 -10
  1939. package/node_modules/undici/types/README.md +0 -6
  1940. package/node_modules/undici/types/agent.d.ts +0 -32
  1941. package/node_modules/undici/types/api.d.ts +0 -43
  1942. package/node_modules/undici/types/balanced-pool.d.ts +0 -30
  1943. package/node_modules/undici/types/cache-interceptor.d.ts +0 -179
  1944. package/node_modules/undici/types/cache.d.ts +0 -36
  1945. package/node_modules/undici/types/client-stats.d.ts +0 -15
  1946. package/node_modules/undici/types/client.d.ts +0 -123
  1947. package/node_modules/undici/types/connector.d.ts +0 -36
  1948. package/node_modules/undici/types/content-type.d.ts +0 -21
  1949. package/node_modules/undici/types/cookies.d.ts +0 -30
  1950. package/node_modules/undici/types/diagnostics-channel.d.ts +0 -74
  1951. package/node_modules/undici/types/dispatcher.d.ts +0 -273
  1952. package/node_modules/undici/types/env-http-proxy-agent.d.ts +0 -22
  1953. package/node_modules/undici/types/errors.d.ts +0 -177
  1954. package/node_modules/undici/types/eventsource.d.ts +0 -66
  1955. package/node_modules/undici/types/fetch.d.ts +0 -231
  1956. package/node_modules/undici/types/formdata.d.ts +0 -114
  1957. package/node_modules/undici/types/global-dispatcher.d.ts +0 -9
  1958. package/node_modules/undici/types/global-origin.d.ts +0 -7
  1959. package/node_modules/undici/types/h2c-client.d.ts +0 -73
  1960. package/node_modules/undici/types/handlers.d.ts +0 -14
  1961. package/node_modules/undici/types/header.d.ts +0 -160
  1962. package/node_modules/undici/types/index.d.ts +0 -91
  1963. package/node_modules/undici/types/interceptors.d.ts +0 -80
  1964. package/node_modules/undici/types/mock-agent.d.ts +0 -68
  1965. package/node_modules/undici/types/mock-call-history.d.ts +0 -111
  1966. package/node_modules/undici/types/mock-client.d.ts +0 -27
  1967. package/node_modules/undici/types/mock-errors.d.ts +0 -12
  1968. package/node_modules/undici/types/mock-interceptor.d.ts +0 -94
  1969. package/node_modules/undici/types/mock-pool.d.ts +0 -27
  1970. package/node_modules/undici/types/patch.d.ts +0 -29
  1971. package/node_modules/undici/types/pool-stats.d.ts +0 -19
  1972. package/node_modules/undici/types/pool.d.ts +0 -41
  1973. package/node_modules/undici/types/proxy-agent.d.ts +0 -29
  1974. package/node_modules/undici/types/readable.d.ts +0 -68
  1975. package/node_modules/undici/types/retry-agent.d.ts +0 -8
  1976. package/node_modules/undici/types/retry-handler.d.ts +0 -125
  1977. package/node_modules/undici/types/round-robin-pool.d.ts +0 -41
  1978. package/node_modules/undici/types/snapshot-agent.d.ts +0 -109
  1979. package/node_modules/undici/types/socks5-proxy-agent.d.ts +0 -25
  1980. package/node_modules/undici/types/util.d.ts +0 -18
  1981. package/node_modules/undici/types/utility.d.ts +0 -7
  1982. package/node_modules/undici/types/webidl.d.ts +0 -347
  1983. package/node_modules/undici/types/websocket.d.ts +0 -188
  1984. package/node_modules/util-deprecate/History.md +0 -16
  1985. package/node_modules/util-deprecate/LICENSE +0 -24
  1986. package/node_modules/util-deprecate/README.md +0 -53
  1987. package/node_modules/util-deprecate/browser.js +0 -67
  1988. package/node_modules/util-deprecate/node.js +0 -6
  1989. package/node_modules/util-deprecate/package.json +0 -27
  1990. package/node_modules/which/LICENSE +0 -15
  1991. package/node_modules/which/README.md +0 -51
  1992. package/node_modules/which/bin/which.js +0 -52
  1993. package/node_modules/which/lib/index.js +0 -111
  1994. package/node_modules/which/package.json +0 -52
  1995. package/node_modules/wrappy/LICENSE +0 -15
  1996. package/node_modules/wrappy/README.md +0 -36
  1997. package/node_modules/wrappy/package.json +0 -29
  1998. package/node_modules/wrappy/wrappy.js +0 -33
  1999. package/node_modules/yallist/LICENSE.md +0 -63
  2000. package/node_modules/yallist/README.md +0 -205
  2001. package/node_modules/yallist/dist/commonjs/index.d.ts +0 -39
  2002. package/node_modules/yallist/dist/commonjs/index.d.ts.map +0 -1
  2003. package/node_modules/yallist/dist/commonjs/index.js +0 -384
  2004. package/node_modules/yallist/dist/commonjs/index.js.map +0 -1
  2005. package/node_modules/yallist/dist/commonjs/package.json +0 -3
  2006. package/node_modules/yallist/dist/esm/index.d.ts +0 -39
  2007. package/node_modules/yallist/dist/esm/index.d.ts.map +0 -1
  2008. package/node_modules/yallist/dist/esm/index.js +0 -379
  2009. package/node_modules/yallist/dist/esm/index.js.map +0 -1
  2010. package/node_modules/yallist/dist/esm/package.json +0 -3
  2011. package/node_modules/yallist/package.json +0 -68
  2012. package/node_modules/zod/LICENSE +0 -21
  2013. package/node_modules/zod/README.md +0 -208
  2014. package/node_modules/zod/index.cjs +0 -33
  2015. package/node_modules/zod/index.d.cts +0 -4
  2016. package/node_modules/zod/index.d.ts +0 -4
  2017. package/node_modules/zod/index.js +0 -4
  2018. package/node_modules/zod/package.json +0 -118
  2019. package/node_modules/zod/src/index.ts +0 -4
  2020. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  2021. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  2022. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  2023. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  2024. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  2025. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  2026. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  2027. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  2028. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  2029. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  2030. package/node_modules/zod/src/v3/errors.ts +0 -13
  2031. package/node_modules/zod/src/v3/external.ts +0 -6
  2032. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  2033. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  2034. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  2035. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  2036. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  2037. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  2038. package/node_modules/zod/src/v3/index.ts +0 -4
  2039. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  2040. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  2041. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  2042. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  2043. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  2044. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  2045. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  2046. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  2047. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  2048. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  2049. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  2050. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  2051. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  2052. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
  2053. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  2054. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  2055. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  2056. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  2057. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  2058. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  2059. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  2060. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  2061. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  2062. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  2063. package/node_modules/zod/src/v3/tests/function.test.ts +0 -257
  2064. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  2065. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  2066. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  2067. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  2068. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  2069. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  2070. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  2071. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  2072. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  2073. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
  2074. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  2075. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  2076. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  2077. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  2078. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  2079. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  2080. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  2081. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  2082. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  2083. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  2084. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  2085. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  2086. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  2087. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  2088. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  2089. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  2090. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  2091. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  2092. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  2093. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  2094. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  2095. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  2096. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  2097. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  2098. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  2099. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  2100. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  2101. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  2102. package/node_modules/zod/src/v3/types.ts +0 -5136
  2103. package/node_modules/zod/src/v4/classic/checks.ts +0 -30
  2104. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  2105. package/node_modules/zod/src/v4/classic/compat.ts +0 -66
  2106. package/node_modules/zod/src/v4/classic/errors.ts +0 -75
  2107. package/node_modules/zod/src/v4/classic/external.ts +0 -50
  2108. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  2109. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  2110. package/node_modules/zod/src/v4/classic/parse.ts +0 -33
  2111. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
  2112. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  2113. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  2114. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  2115. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  2116. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  2117. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  2118. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  2119. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
  2120. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
  2121. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  2122. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  2123. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
  2124. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  2125. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
  2126. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
  2127. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
  2128. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  2129. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
  2130. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  2131. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
  2132. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  2133. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
  2134. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
  2135. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
  2136. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  2137. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
  2138. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
  2139. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
  2140. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
  2141. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  2142. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
  2143. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
  2144. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  2145. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  2146. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
  2147. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  2148. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
  2149. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
  2150. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
  2151. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
  2152. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
  2153. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
  2154. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
  2155. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
  2156. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  2157. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  2158. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  2159. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  2160. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
  2161. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
  2162. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
  2163. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
  2164. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
  2165. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
  2166. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
  2167. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
  2168. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
  2169. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
  2170. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
  2171. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
  2172. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
  2173. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
  2174. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  2175. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  2176. package/node_modules/zod/src/v4/core/api.ts +0 -1594
  2177. package/node_modules/zod/src/v4/core/checks.ts +0 -1283
  2178. package/node_modules/zod/src/v4/core/config.ts +0 -15
  2179. package/node_modules/zod/src/v4/core/core.ts +0 -134
  2180. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  2181. package/node_modules/zod/src/v4/core/errors.ts +0 -424
  2182. package/node_modules/zod/src/v4/core/function.ts +0 -176
  2183. package/node_modules/zod/src/v4/core/index.ts +0 -15
  2184. package/node_modules/zod/src/v4/core/json-schema.ts +0 -143
  2185. package/node_modules/zod/src/v4/core/parse.ts +0 -94
  2186. package/node_modules/zod/src/v4/core/regexes.ts +0 -135
  2187. package/node_modules/zod/src/v4/core/registries.ts +0 -96
  2188. package/node_modules/zod/src/v4/core/schemas.ts +0 -3842
  2189. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
  2190. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  2191. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  2192. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  2193. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  2194. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  2195. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
  2196. package/node_modules/zod/src/v4/core/util.ts +0 -775
  2197. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  2198. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  2199. package/node_modules/zod/src/v4/index.ts +0 -4
  2200. package/node_modules/zod/src/v4/locales/ar.ts +0 -125
  2201. package/node_modules/zod/src/v4/locales/az.ts +0 -121
  2202. package/node_modules/zod/src/v4/locales/be.ts +0 -184
  2203. package/node_modules/zod/src/v4/locales/ca.ts +0 -127
  2204. package/node_modules/zod/src/v4/locales/cs.ts +0 -142
  2205. package/node_modules/zod/src/v4/locales/de.ts +0 -124
  2206. package/node_modules/zod/src/v4/locales/en.ts +0 -127
  2207. package/node_modules/zod/src/v4/locales/eo.ts +0 -125
  2208. package/node_modules/zod/src/v4/locales/es.ts +0 -125
  2209. package/node_modules/zod/src/v4/locales/fa.ts +0 -134
  2210. package/node_modules/zod/src/v4/locales/fi.ts +0 -131
  2211. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
  2212. package/node_modules/zod/src/v4/locales/fr.ts +0 -124
  2213. package/node_modules/zod/src/v4/locales/he.ts +0 -125
  2214. package/node_modules/zod/src/v4/locales/hu.ts +0 -126
  2215. package/node_modules/zod/src/v4/locales/id.ts +0 -125
  2216. package/node_modules/zod/src/v4/locales/index.ts +0 -39
  2217. package/node_modules/zod/src/v4/locales/it.ts +0 -125
  2218. package/node_modules/zod/src/v4/locales/ja.ts +0 -122
  2219. package/node_modules/zod/src/v4/locales/kh.ts +0 -126
  2220. package/node_modules/zod/src/v4/locales/ko.ts +0 -131
  2221. package/node_modules/zod/src/v4/locales/mk.ts +0 -127
  2222. package/node_modules/zod/src/v4/locales/ms.ts +0 -124
  2223. package/node_modules/zod/src/v4/locales/nl.ts +0 -126
  2224. package/node_modules/zod/src/v4/locales/no.ts +0 -124
  2225. package/node_modules/zod/src/v4/locales/ota.ts +0 -125
  2226. package/node_modules/zod/src/v4/locales/pl.ts +0 -126
  2227. package/node_modules/zod/src/v4/locales/ps.ts +0 -133
  2228. package/node_modules/zod/src/v4/locales/pt.ts +0 -123
  2229. package/node_modules/zod/src/v4/locales/ru.ts +0 -184
  2230. package/node_modules/zod/src/v4/locales/sl.ts +0 -126
  2231. package/node_modules/zod/src/v4/locales/sv.ts +0 -127
  2232. package/node_modules/zod/src/v4/locales/ta.ts +0 -125
  2233. package/node_modules/zod/src/v4/locales/th.ts +0 -126
  2234. package/node_modules/zod/src/v4/locales/tr.ts +0 -121
  2235. package/node_modules/zod/src/v4/locales/ua.ts +0 -126
  2236. package/node_modules/zod/src/v4/locales/ur.ts +0 -126
  2237. package/node_modules/zod/src/v4/locales/vi.ts +0 -125
  2238. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
  2239. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
  2240. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  2241. package/node_modules/zod/src/v4/mini/coerce.ts +0 -22
  2242. package/node_modules/zod/src/v4/mini/external.ts +0 -40
  2243. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  2244. package/node_modules/zod/src/v4/mini/iso.ts +0 -62
  2245. package/node_modules/zod/src/v4/mini/parse.ts +0 -1
  2246. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
  2247. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  2248. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
  2249. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  2250. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  2251. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  2252. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
  2253. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
  2254. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  2255. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
  2256. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  2257. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  2258. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
  2259. package/node_modules/zod/src/v4-mini/index.ts +0 -1
  2260. package/node_modules/zod/v3/ZodError.cjs +0 -138
  2261. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  2262. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  2263. package/node_modules/zod/v3/ZodError.js +0 -133
  2264. package/node_modules/zod/v3/errors.cjs +0 -17
  2265. package/node_modules/zod/v3/errors.d.cts +0 -5
  2266. package/node_modules/zod/v3/errors.d.ts +0 -5
  2267. package/node_modules/zod/v3/errors.js +0 -9
  2268. package/node_modules/zod/v3/external.cjs +0 -22
  2269. package/node_modules/zod/v3/external.d.cts +0 -6
  2270. package/node_modules/zod/v3/external.d.ts +0 -6
  2271. package/node_modules/zod/v3/external.js +0 -6
  2272. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  2273. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  2274. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  2275. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  2276. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  2277. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  2278. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  2279. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  2280. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  2281. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  2282. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  2283. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  2284. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  2285. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  2286. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  2287. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  2288. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  2289. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  2290. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  2291. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  2292. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  2293. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  2294. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  2295. package/node_modules/zod/v3/helpers/util.js +0 -133
  2296. package/node_modules/zod/v3/index.cjs +0 -33
  2297. package/node_modules/zod/v3/index.d.cts +0 -4
  2298. package/node_modules/zod/v3/index.d.ts +0 -4
  2299. package/node_modules/zod/v3/index.js +0 -4
  2300. package/node_modules/zod/v3/locales/en.cjs +0 -111
  2301. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  2302. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  2303. package/node_modules/zod/v3/locales/en.js +0 -109
  2304. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  2305. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  2306. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  2307. package/node_modules/zod/v3/standard-schema.js +0 -1
  2308. package/node_modules/zod/v3/types.cjs +0 -3775
  2309. package/node_modules/zod/v3/types.d.cts +0 -1031
  2310. package/node_modules/zod/v3/types.d.ts +0 -1031
  2311. package/node_modules/zod/v3/types.js +0 -3693
  2312. package/node_modules/zod/v4/classic/checks.cjs +0 -32
  2313. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  2314. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  2315. package/node_modules/zod/v4/classic/checks.js +0 -1
  2316. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  2317. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  2318. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  2319. package/node_modules/zod/v4/classic/coerce.js +0 -17
  2320. package/node_modules/zod/v4/classic/compat.cjs +0 -57
  2321. package/node_modules/zod/v4/classic/compat.d.cts +0 -46
  2322. package/node_modules/zod/v4/classic/compat.d.ts +0 -46
  2323. package/node_modules/zod/v4/classic/compat.js +0 -27
  2324. package/node_modules/zod/v4/classic/errors.cjs +0 -67
  2325. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  2326. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  2327. package/node_modules/zod/v4/classic/errors.js +0 -41
  2328. package/node_modules/zod/v4/classic/external.cjs +0 -70
  2329. package/node_modules/zod/v4/classic/external.d.cts +0 -13
  2330. package/node_modules/zod/v4/classic/external.d.ts +0 -13
  2331. package/node_modules/zod/v4/classic/external.js +0 -18
  2332. package/node_modules/zod/v4/classic/index.cjs +0 -33
  2333. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  2334. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  2335. package/node_modules/zod/v4/classic/index.js +0 -4
  2336. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  2337. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  2338. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  2339. package/node_modules/zod/v4/classic/iso.js +0 -30
  2340. package/node_modules/zod/v4/classic/parse.cjs +0 -32
  2341. package/node_modules/zod/v4/classic/parse.d.cts +0 -23
  2342. package/node_modules/zod/v4/classic/parse.d.ts +0 -23
  2343. package/node_modules/zod/v4/classic/parse.js +0 -6
  2344. package/node_modules/zod/v4/classic/schemas.cjs +0 -1109
  2345. package/node_modules/zod/v4/classic/schemas.d.cts +0 -630
  2346. package/node_modules/zod/v4/classic/schemas.d.ts +0 -630
  2347. package/node_modules/zod/v4/classic/schemas.js +0 -1006
  2348. package/node_modules/zod/v4/core/api.cjs +0 -1039
  2349. package/node_modules/zod/v4/core/api.d.cts +0 -284
  2350. package/node_modules/zod/v4/core/api.d.ts +0 -284
  2351. package/node_modules/zod/v4/core/api.js +0 -906
  2352. package/node_modules/zod/v4/core/checks.cjs +0 -591
  2353. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  2354. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  2355. package/node_modules/zod/v4/core/checks.js +0 -565
  2356. package/node_modules/zod/v4/core/core.cjs +0 -67
  2357. package/node_modules/zod/v4/core/core.d.cts +0 -49
  2358. package/node_modules/zod/v4/core/core.d.ts +0 -49
  2359. package/node_modules/zod/v4/core/core.js +0 -61
  2360. package/node_modules/zod/v4/core/doc.cjs +0 -39
  2361. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  2362. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  2363. package/node_modules/zod/v4/core/doc.js +0 -35
  2364. package/node_modules/zod/v4/core/errors.cjs +0 -226
  2365. package/node_modules/zod/v4/core/errors.d.cts +0 -208
  2366. package/node_modules/zod/v4/core/errors.d.ts +0 -208
  2367. package/node_modules/zod/v4/core/errors.js +0 -195
  2368. package/node_modules/zod/v4/core/function.cjs +0 -102
  2369. package/node_modules/zod/v4/core/function.d.cts +0 -52
  2370. package/node_modules/zod/v4/core/function.d.ts +0 -52
  2371. package/node_modules/zod/v4/core/function.js +0 -75
  2372. package/node_modules/zod/v4/core/index.cjs +0 -44
  2373. package/node_modules/zod/v4/core/index.d.cts +0 -15
  2374. package/node_modules/zod/v4/core/index.d.ts +0 -15
  2375. package/node_modules/zod/v4/core/index.js +0 -15
  2376. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  2377. package/node_modules/zod/v4/core/json-schema.d.cts +0 -87
  2378. package/node_modules/zod/v4/core/json-schema.d.ts +0 -87
  2379. package/node_modules/zod/v4/core/json-schema.js +0 -1
  2380. package/node_modules/zod/v4/core/parse.cjs +0 -87
  2381. package/node_modules/zod/v4/core/parse.d.cts +0 -25
  2382. package/node_modules/zod/v4/core/parse.d.ts +0 -25
  2383. package/node_modules/zod/v4/core/parse.js +0 -57
  2384. package/node_modules/zod/v4/core/regexes.cjs +0 -103
  2385. package/node_modules/zod/v4/core/regexes.d.cts +0 -62
  2386. package/node_modules/zod/v4/core/regexes.d.ts +0 -62
  2387. package/node_modules/zod/v4/core/regexes.js +0 -95
  2388. package/node_modules/zod/v4/core/registries.cjs +0 -56
  2389. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  2390. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  2391. package/node_modules/zod/v4/core/registries.js +0 -51
  2392. package/node_modules/zod/v4/core/schemas.cjs +0 -1748
  2393. package/node_modules/zod/v4/core/schemas.d.cts +0 -1041
  2394. package/node_modules/zod/v4/core/schemas.d.ts +0 -1041
  2395. package/node_modules/zod/v4/core/schemas.js +0 -1717
  2396. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  2397. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
  2398. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
  2399. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  2400. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
  2401. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
  2402. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
  2403. package/node_modules/zod/v4/core/to-json-schema.js +0 -849
  2404. package/node_modules/zod/v4/core/util.cjs +0 -539
  2405. package/node_modules/zod/v4/core/util.d.cts +0 -183
  2406. package/node_modules/zod/v4/core/util.d.ts +0 -183
  2407. package/node_modules/zod/v4/core/util.js +0 -493
  2408. package/node_modules/zod/v4/core/versions.cjs +0 -8
  2409. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  2410. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  2411. package/node_modules/zod/v4/core/versions.js +0 -5
  2412. package/node_modules/zod/v4/index.cjs +0 -22
  2413. package/node_modules/zod/v4/index.d.cts +0 -3
  2414. package/node_modules/zod/v4/index.d.ts +0 -3
  2415. package/node_modules/zod/v4/index.js +0 -3
  2416. package/node_modules/zod/v4/locales/ar.cjs +0 -142
  2417. package/node_modules/zod/v4/locales/ar.d.cts +0 -4
  2418. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  2419. package/node_modules/zod/v4/locales/ar.js +0 -116
  2420. package/node_modules/zod/v4/locales/az.cjs +0 -141
  2421. package/node_modules/zod/v4/locales/az.d.cts +0 -4
  2422. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  2423. package/node_modules/zod/v4/locales/az.js +0 -115
  2424. package/node_modules/zod/v4/locales/be.cjs +0 -190
  2425. package/node_modules/zod/v4/locales/be.d.cts +0 -4
  2426. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  2427. package/node_modules/zod/v4/locales/be.js +0 -164
  2428. package/node_modules/zod/v4/locales/ca.cjs +0 -144
  2429. package/node_modules/zod/v4/locales/ca.d.cts +0 -4
  2430. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  2431. package/node_modules/zod/v4/locales/ca.js +0 -118
  2432. package/node_modules/zod/v4/locales/cs.cjs +0 -161
  2433. package/node_modules/zod/v4/locales/cs.d.cts +0 -4
  2434. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  2435. package/node_modules/zod/v4/locales/cs.js +0 -135
  2436. package/node_modules/zod/v4/locales/de.cjs +0 -142
  2437. package/node_modules/zod/v4/locales/de.d.cts +0 -4
  2438. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  2439. package/node_modules/zod/v4/locales/de.js +0 -116
  2440. package/node_modules/zod/v4/locales/en.cjs +0 -145
  2441. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  2442. package/node_modules/zod/v4/locales/en.d.ts +0 -5
  2443. package/node_modules/zod/v4/locales/en.js +0 -117
  2444. package/node_modules/zod/v4/locales/eo.cjs +0 -144
  2445. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  2446. package/node_modules/zod/v4/locales/eo.d.ts +0 -5
  2447. package/node_modules/zod/v4/locales/eo.js +0 -116
  2448. package/node_modules/zod/v4/locales/es.cjs +0 -143
  2449. package/node_modules/zod/v4/locales/es.d.cts +0 -4
  2450. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  2451. package/node_modules/zod/v4/locales/es.js +0 -117
  2452. package/node_modules/zod/v4/locales/fa.cjs +0 -148
  2453. package/node_modules/zod/v4/locales/fa.d.cts +0 -4
  2454. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  2455. package/node_modules/zod/v4/locales/fa.js +0 -122
  2456. package/node_modules/zod/v4/locales/fi.cjs +0 -148
  2457. package/node_modules/zod/v4/locales/fi.d.cts +0 -4
  2458. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  2459. package/node_modules/zod/v4/locales/fi.js +0 -122
  2460. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
  2461. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
  2462. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  2463. package/node_modules/zod/v4/locales/fr-CA.js +0 -117
  2464. package/node_modules/zod/v4/locales/fr.cjs +0 -142
  2465. package/node_modules/zod/v4/locales/fr.d.cts +0 -4
  2466. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  2467. package/node_modules/zod/v4/locales/fr.js +0 -116
  2468. package/node_modules/zod/v4/locales/he.cjs +0 -143
  2469. package/node_modules/zod/v4/locales/he.d.cts +0 -4
  2470. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  2471. package/node_modules/zod/v4/locales/he.js +0 -117
  2472. package/node_modules/zod/v4/locales/hu.cjs +0 -143
  2473. package/node_modules/zod/v4/locales/hu.d.cts +0 -4
  2474. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  2475. package/node_modules/zod/v4/locales/hu.js +0 -117
  2476. package/node_modules/zod/v4/locales/id.cjs +0 -142
  2477. package/node_modules/zod/v4/locales/id.d.cts +0 -4
  2478. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  2479. package/node_modules/zod/v4/locales/id.js +0 -116
  2480. package/node_modules/zod/v4/locales/index.cjs +0 -84
  2481. package/node_modules/zod/v4/locales/index.d.cts +0 -39
  2482. package/node_modules/zod/v4/locales/index.d.ts +0 -39
  2483. package/node_modules/zod/v4/locales/index.js +0 -39
  2484. package/node_modules/zod/v4/locales/it.cjs +0 -143
  2485. package/node_modules/zod/v4/locales/it.d.cts +0 -4
  2486. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  2487. package/node_modules/zod/v4/locales/it.js +0 -117
  2488. package/node_modules/zod/v4/locales/ja.cjs +0 -141
  2489. package/node_modules/zod/v4/locales/ja.d.cts +0 -4
  2490. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  2491. package/node_modules/zod/v4/locales/ja.js +0 -115
  2492. package/node_modules/zod/v4/locales/kh.cjs +0 -143
  2493. package/node_modules/zod/v4/locales/kh.d.cts +0 -4
  2494. package/node_modules/zod/v4/locales/kh.d.ts +0 -4
  2495. package/node_modules/zod/v4/locales/kh.js +0 -117
  2496. package/node_modules/zod/v4/locales/ko.cjs +0 -147
  2497. package/node_modules/zod/v4/locales/ko.d.cts +0 -4
  2498. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  2499. package/node_modules/zod/v4/locales/ko.js +0 -121
  2500. package/node_modules/zod/v4/locales/mk.cjs +0 -144
  2501. package/node_modules/zod/v4/locales/mk.d.cts +0 -4
  2502. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  2503. package/node_modules/zod/v4/locales/mk.js +0 -118
  2504. package/node_modules/zod/v4/locales/ms.cjs +0 -142
  2505. package/node_modules/zod/v4/locales/ms.d.cts +0 -4
  2506. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  2507. package/node_modules/zod/v4/locales/ms.js +0 -116
  2508. package/node_modules/zod/v4/locales/nl.cjs +0 -143
  2509. package/node_modules/zod/v4/locales/nl.d.cts +0 -4
  2510. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  2511. package/node_modules/zod/v4/locales/nl.js +0 -117
  2512. package/node_modules/zod/v4/locales/no.cjs +0 -142
  2513. package/node_modules/zod/v4/locales/no.d.cts +0 -4
  2514. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  2515. package/node_modules/zod/v4/locales/no.js +0 -116
  2516. package/node_modules/zod/v4/locales/ota.cjs +0 -143
  2517. package/node_modules/zod/v4/locales/ota.d.cts +0 -4
  2518. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  2519. package/node_modules/zod/v4/locales/ota.js +0 -117
  2520. package/node_modules/zod/v4/locales/pl.cjs +0 -143
  2521. package/node_modules/zod/v4/locales/pl.d.cts +0 -4
  2522. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  2523. package/node_modules/zod/v4/locales/pl.js +0 -117
  2524. package/node_modules/zod/v4/locales/ps.cjs +0 -148
  2525. package/node_modules/zod/v4/locales/ps.d.cts +0 -4
  2526. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  2527. package/node_modules/zod/v4/locales/ps.js +0 -122
  2528. package/node_modules/zod/v4/locales/pt.cjs +0 -142
  2529. package/node_modules/zod/v4/locales/pt.d.cts +0 -4
  2530. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  2531. package/node_modules/zod/v4/locales/pt.js +0 -116
  2532. package/node_modules/zod/v4/locales/ru.cjs +0 -190
  2533. package/node_modules/zod/v4/locales/ru.d.cts +0 -4
  2534. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  2535. package/node_modules/zod/v4/locales/ru.js +0 -164
  2536. package/node_modules/zod/v4/locales/sl.cjs +0 -143
  2537. package/node_modules/zod/v4/locales/sl.d.cts +0 -4
  2538. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  2539. package/node_modules/zod/v4/locales/sl.js +0 -117
  2540. package/node_modules/zod/v4/locales/sv.cjs +0 -144
  2541. package/node_modules/zod/v4/locales/sv.d.cts +0 -4
  2542. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  2543. package/node_modules/zod/v4/locales/sv.js +0 -118
  2544. package/node_modules/zod/v4/locales/ta.cjs +0 -143
  2545. package/node_modules/zod/v4/locales/ta.d.cts +0 -4
  2546. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  2547. package/node_modules/zod/v4/locales/ta.js +0 -117
  2548. package/node_modules/zod/v4/locales/th.cjs +0 -143
  2549. package/node_modules/zod/v4/locales/th.d.cts +0 -4
  2550. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  2551. package/node_modules/zod/v4/locales/th.js +0 -117
  2552. package/node_modules/zod/v4/locales/tr.cjs +0 -143
  2553. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  2554. package/node_modules/zod/v4/locales/tr.d.ts +0 -5
  2555. package/node_modules/zod/v4/locales/tr.js +0 -115
  2556. package/node_modules/zod/v4/locales/ua.cjs +0 -143
  2557. package/node_modules/zod/v4/locales/ua.d.cts +0 -4
  2558. package/node_modules/zod/v4/locales/ua.d.ts +0 -4
  2559. package/node_modules/zod/v4/locales/ua.js +0 -117
  2560. package/node_modules/zod/v4/locales/ur.cjs +0 -143
  2561. package/node_modules/zod/v4/locales/ur.d.cts +0 -4
  2562. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  2563. package/node_modules/zod/v4/locales/ur.js +0 -117
  2564. package/node_modules/zod/v4/locales/vi.cjs +0 -142
  2565. package/node_modules/zod/v4/locales/vi.d.cts +0 -4
  2566. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  2567. package/node_modules/zod/v4/locales/vi.js +0 -116
  2568. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
  2569. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
  2570. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  2571. package/node_modules/zod/v4/locales/zh-CN.js +0 -116
  2572. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
  2573. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
  2574. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  2575. package/node_modules/zod/v4/locales/zh-TW.js +0 -117
  2576. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  2577. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  2578. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  2579. package/node_modules/zod/v4/mini/checks.js +0 -1
  2580. package/node_modules/zod/v4/mini/coerce.cjs +0 -47
  2581. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  2582. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  2583. package/node_modules/zod/v4/mini/coerce.js +0 -17
  2584. package/node_modules/zod/v4/mini/external.cjs +0 -62
  2585. package/node_modules/zod/v4/mini/external.d.cts +0 -11
  2586. package/node_modules/zod/v4/mini/external.d.ts +0 -11
  2587. package/node_modules/zod/v4/mini/external.js +0 -13
  2588. package/node_modules/zod/v4/mini/index.cjs +0 -32
  2589. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  2590. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  2591. package/node_modules/zod/v4/mini/index.js +0 -3
  2592. package/node_modules/zod/v4/mini/iso.cjs +0 -60
  2593. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  2594. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  2595. package/node_modules/zod/v4/mini/iso.js +0 -30
  2596. package/node_modules/zod/v4/mini/parse.cjs +0 -8
  2597. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  2598. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  2599. package/node_modules/zod/v4/mini/parse.js +0 -1
  2600. package/node_modules/zod/v4/mini/schemas.cjs +0 -839
  2601. package/node_modules/zod/v4/mini/schemas.d.cts +0 -356
  2602. package/node_modules/zod/v4/mini/schemas.d.ts +0 -356
  2603. package/node_modules/zod/v4/mini/schemas.js +0 -732
  2604. package/node_modules/zod/v4-mini/index.cjs +0 -17
  2605. package/node_modules/zod/v4-mini/index.d.cts +0 -1
  2606. package/node_modules/zod/v4-mini/index.d.ts +0 -1
  2607. package/node_modules/zod/v4-mini/index.js +0 -1
@@ -1,2410 +0,0 @@
1
- // https://github.com/Ethan-Arrowood/undici-fetch
2
-
3
- 'use strict'
4
-
5
- const {
6
- makeNetworkError,
7
- makeAppropriateNetworkError,
8
- filterResponse,
9
- makeResponse,
10
- fromInnerResponse,
11
- getResponseState
12
- } = require('./response')
13
- const { HeadersList } = require('./headers')
14
- const { Request, cloneRequest, getRequestDispatcher, getRequestState } = require('./request')
15
- const zlib = require('node:zlib')
16
- const {
17
- makePolicyContainer,
18
- clonePolicyContainer,
19
- requestBadPort,
20
- TAOCheck,
21
- appendRequestOriginHeader,
22
- responseLocationURL,
23
- requestCurrentURL,
24
- setRequestReferrerPolicyOnRedirect,
25
- tryUpgradeRequestToAPotentiallyTrustworthyURL,
26
- createOpaqueTimingInfo,
27
- appendFetchMetadata,
28
- corsCheck,
29
- crossOriginResourcePolicyCheck,
30
- determineRequestsReferrer,
31
- coarsenedSharedCurrentTime,
32
- sameOrigin,
33
- isCancelled,
34
- isAborted,
35
- isErrorLike,
36
- fullyReadBody,
37
- readableStreamClose,
38
- urlIsLocal,
39
- urlIsHttpHttpsScheme,
40
- urlHasHttpsScheme,
41
- clampAndCoarsenConnectionTimingInfo,
42
- simpleRangeHeaderValue,
43
- buildContentRange,
44
- createInflate,
45
- extractMimeType,
46
- hasAuthenticationEntry,
47
- includesCredentials,
48
- isTraversableNavigable
49
- } = require('./util')
50
- const assert = require('node:assert')
51
- const { safelyExtractBody, extractBody } = require('./body')
52
- const {
53
- redirectStatusSet,
54
- nullBodyStatus,
55
- safeMethodsSet,
56
- requestBodyHeader,
57
- subresourceSet
58
- } = require('./constants')
59
- const EE = require('node:events')
60
- const { Readable, pipeline, finished, isErrored, isReadable } = require('node:stream')
61
- const { addAbortListener, bufferToLowerCasedHeaderName } = require('../../core/util')
62
- const { dataURLProcessor, serializeAMimeType, minimizeSupportedMimeType } = require('./data-url')
63
- const { getGlobalDispatcher } = require('../../global')
64
- const { webidl } = require('../webidl')
65
- const { STATUS_CODES } = require('node:http')
66
- const { bytesMatch } = require('../subresource-integrity/subresource-integrity')
67
- const { createDeferredPromise } = require('../../util/promise')
68
- const { isomorphicEncode } = require('../infra')
69
- const { runtimeFeatures } = require('../../util/runtime-features')
70
-
71
- // Node.js v23.8.0+ and v22.15.0+ supports Zstandard
72
- const hasZstd = runtimeFeatures.has('zstd')
73
-
74
- const GET_OR_HEAD = ['GET', 'HEAD']
75
-
76
- const defaultUserAgent = typeof __UNDICI_IS_NODE__ !== 'undefined' || typeof esbuildDetection !== 'undefined'
77
- ? 'node'
78
- : 'undici'
79
-
80
- /** @type {import('buffer').resolveObjectURL} */
81
- let resolveObjectURL
82
-
83
- class Fetch extends EE {
84
- constructor (dispatcher) {
85
- super()
86
-
87
- this.dispatcher = dispatcher
88
- this.connection = null
89
- this.dump = false
90
- this.state = 'ongoing'
91
- }
92
-
93
- terminate (reason) {
94
- if (this.state !== 'ongoing') {
95
- return
96
- }
97
-
98
- this.state = 'terminated'
99
- this.connection?.destroy(reason)
100
- this.emit('terminated', reason)
101
- }
102
-
103
- // https://fetch.spec.whatwg.org/#fetch-controller-abort
104
- abort (error) {
105
- if (this.state !== 'ongoing') {
106
- return
107
- }
108
-
109
- // 1. Set controller’s state to "aborted".
110
- this.state = 'aborted'
111
-
112
- // 2. Let fallbackError be an "AbortError" DOMException.
113
- // 3. Set error to fallbackError if it is not given.
114
- if (!error) {
115
- error = new DOMException('The operation was aborted.', 'AbortError')
116
- }
117
-
118
- // 4. Let serializedError be StructuredSerialize(error).
119
- // If that threw an exception, catch it, and let
120
- // serializedError be StructuredSerialize(fallbackError).
121
-
122
- // 5. Set controller’s serialized abort reason to serializedError.
123
- this.serializedAbortReason = error
124
-
125
- this.connection?.destroy(error)
126
- this.emit('terminated', error)
127
- }
128
- }
129
-
130
- function handleFetchDone (response) {
131
- finalizeAndReportTiming(response, 'fetch')
132
- }
133
-
134
- // https://fetch.spec.whatwg.org/#fetch-method
135
- function fetch (input, init = undefined) {
136
- webidl.argumentLengthCheck(arguments, 1, 'globalThis.fetch')
137
-
138
- // 1. Let p be a new promise.
139
- let p = createDeferredPromise()
140
-
141
- // 2. Let requestObject be the result of invoking the initial value of
142
- // Request as constructor with input and init as arguments. If this throws
143
- // an exception, reject p with it and return p.
144
- let requestObject
145
-
146
- try {
147
- requestObject = new Request(input, init)
148
- } catch (e) {
149
- p.reject(e)
150
- return p.promise
151
- }
152
-
153
- // 3. Let request be requestObject’s request.
154
- const request = getRequestState(requestObject)
155
-
156
- // 4. If requestObject’s signal’s aborted flag is set, then:
157
- if (requestObject.signal.aborted) {
158
- // 1. Abort the fetch() call with p, request, null, and
159
- // requestObject’s signal’s abort reason.
160
- abortFetch(p, request, null, requestObject.signal.reason, null)
161
-
162
- // 2. Return p.
163
- return p.promise
164
- }
165
-
166
- // 5. Let globalObject be request’s client’s global object.
167
- const globalObject = request.client.globalObject
168
-
169
- // 6. If globalObject is a ServiceWorkerGlobalScope object, then set
170
- // request’s service-workers mode to "none".
171
- if (globalObject?.constructor?.name === 'ServiceWorkerGlobalScope') {
172
- request.serviceWorkers = 'none'
173
- }
174
-
175
- // 7. Let responseObject be null.
176
- let responseObject = null
177
-
178
- // 8. Let relevantRealm be this’s relevant Realm.
179
-
180
- // 9. Let locallyAborted be false.
181
- let locallyAborted = false
182
-
183
- // 10. Let controller be null.
184
- let controller = null
185
-
186
- // 11. Add the following abort steps to requestObject’s signal:
187
- addAbortListener(
188
- requestObject.signal,
189
- () => {
190
- // 1. Set locallyAborted to true.
191
- locallyAborted = true
192
-
193
- // 2. Assert: controller is non-null.
194
- assert(controller != null)
195
-
196
- // 3. Abort controller with requestObject’s signal’s abort reason.
197
- controller.abort(requestObject.signal.reason)
198
-
199
- const realResponse = responseObject?.deref()
200
-
201
- // 4. Abort the fetch() call with p, request, responseObject,
202
- // and requestObject’s signal’s abort reason.
203
- abortFetch(p, request, realResponse, requestObject.signal.reason, controller.controller)
204
- }
205
- )
206
-
207
- // 12. Let handleFetchDone given response response be to finalize and
208
- // report timing with response, globalObject, and "fetch".
209
- // see function handleFetchDone
210
-
211
- // 13. Set controller to the result of calling fetch given request,
212
- // with processResponseEndOfBody set to handleFetchDone, and processResponse
213
- // given response being these substeps:
214
-
215
- const processResponse = (response) => {
216
- // 1. If locallyAborted is true, terminate these substeps.
217
- if (locallyAborted) {
218
- return
219
- }
220
-
221
- // 2. If response’s aborted flag is set, then:
222
- if (response.aborted) {
223
- // 1. Let deserializedError be the result of deserialize a serialized
224
- // abort reason given controller’s serialized abort reason and
225
- // relevantRealm.
226
-
227
- // 2. Abort the fetch() call with p, request, responseObject, and
228
- // deserializedError.
229
-
230
- abortFetch(p, request, responseObject, controller.serializedAbortReason, controller.controller)
231
- return
232
- }
233
-
234
- // 3. If response is a network error, then reject p with a TypeError
235
- // and terminate these substeps.
236
- if (response.type === 'error') {
237
- p.reject(new TypeError('fetch failed', { cause: response.error }))
238
- return
239
- }
240
-
241
- // 4. Set responseObject to the result of creating a Response object,
242
- // given response, "immutable", and relevantRealm.
243
- responseObject = new WeakRef(fromInnerResponse(response, 'immutable'))
244
-
245
- // 5. Resolve p with responseObject.
246
- p.resolve(responseObject.deref())
247
- p = null
248
- }
249
-
250
- controller = fetching({
251
- request,
252
- processResponseEndOfBody: handleFetchDone,
253
- processResponse,
254
- dispatcher: getRequestDispatcher(requestObject), // undici
255
- // Keep requestObject alive to prevent its AbortController from being GC'd
256
- // See https://github.com/nodejs/undici/issues/4627
257
- requestObject
258
- })
259
-
260
- // 14. Return p.
261
- return p.promise
262
- }
263
-
264
- // https://fetch.spec.whatwg.org/#finalize-and-report-timing
265
- function finalizeAndReportTiming (response, initiatorType = 'other') {
266
- // 1. If response is an aborted network error, then return.
267
- if (response.type === 'error' && response.aborted) {
268
- return
269
- }
270
-
271
- // 2. If response’s URL list is null or empty, then return.
272
- if (!response.urlList?.length) {
273
- return
274
- }
275
-
276
- // 3. Let originalURL be response’s URL list[0].
277
- const originalURL = response.urlList[0]
278
-
279
- // 4. Let timingInfo be response’s timing info.
280
- let timingInfo = response.timingInfo
281
-
282
- // 5. Let cacheState be response’s cache state.
283
- let cacheState = response.cacheState
284
-
285
- // 6. If originalURL’s scheme is not an HTTP(S) scheme, then return.
286
- if (!urlIsHttpHttpsScheme(originalURL)) {
287
- return
288
- }
289
-
290
- // 7. If timingInfo is null, then return.
291
- if (timingInfo === null) {
292
- return
293
- }
294
-
295
- // 8. If response’s timing allow passed flag is not set, then:
296
- if (!response.timingAllowPassed) {
297
- // 1. Set timingInfo to a the result of creating an opaque timing info for timingInfo.
298
- timingInfo = createOpaqueTimingInfo({
299
- startTime: timingInfo.startTime
300
- })
301
-
302
- // 2. Set cacheState to the empty string.
303
- cacheState = ''
304
- }
305
-
306
- // 9. Set timingInfo’s end time to the coarsened shared current time
307
- // given global’s relevant settings object’s cross-origin isolated
308
- // capability.
309
- // TODO: given global’s relevant settings object’s cross-origin isolated
310
- // capability?
311
- timingInfo.endTime = coarsenedSharedCurrentTime()
312
-
313
- // 10. Set response’s timing info to timingInfo.
314
- response.timingInfo = timingInfo
315
-
316
- // 11. Mark resource timing for timingInfo, originalURL, initiatorType,
317
- // global, and cacheState.
318
- markResourceTiming(
319
- timingInfo,
320
- originalURL.href,
321
- initiatorType,
322
- globalThis,
323
- cacheState,
324
- '', // bodyType
325
- response.status
326
- )
327
- }
328
-
329
- // https://w3c.github.io/resource-timing/#dfn-mark-resource-timing
330
- const markResourceTiming = performance.markResourceTiming
331
-
332
- // https://fetch.spec.whatwg.org/#abort-fetch
333
- function abortFetch (p, request, responseObject, error, controller /* undici-specific */) {
334
- // 1. Reject promise with error.
335
- if (p) {
336
- // We might have already resolved the promise at this stage
337
- p.reject(error)
338
- }
339
-
340
- // 2. If request’s body is not null and is readable, then cancel request’s
341
- // body with error.
342
- if (request.body?.stream != null && isReadable(request.body.stream)) {
343
- request.body.stream.cancel(error).catch((err) => {
344
- if (err.code === 'ERR_INVALID_STATE') {
345
- // Node bug?
346
- return
347
- }
348
- throw err
349
- })
350
- }
351
-
352
- // 3. If responseObject is null, then return.
353
- if (responseObject == null) {
354
- return
355
- }
356
-
357
- // 4. Let response be responseObject’s response.
358
- const response = getResponseState(responseObject)
359
-
360
- // 5. If response’s body is not null and is readable, then error response’s
361
- // body with error.
362
- if (response.body?.stream != null && isReadable(response.body.stream)) {
363
- controller.error(error)
364
- }
365
- }
366
-
367
- // https://fetch.spec.whatwg.org/#fetching
368
- function fetching ({
369
- request,
370
- processRequestBodyChunkLength,
371
- processRequestEndOfBody,
372
- processResponse,
373
- processResponseEndOfBody,
374
- processResponseConsumeBody,
375
- useParallelQueue = false,
376
- dispatcher = getGlobalDispatcher(), // undici
377
- requestObject = null // Keep alive to prevent AbortController GC, see #4627
378
- }) {
379
- // Ensure that the dispatcher is set accordingly
380
- assert(dispatcher)
381
-
382
- // 1. Let taskDestination be null.
383
- let taskDestination = null
384
-
385
- // 2. Let crossOriginIsolatedCapability be false.
386
- let crossOriginIsolatedCapability = false
387
-
388
- // 3. If request’s client is non-null, then:
389
- if (request.client != null) {
390
- // 1. Set taskDestination to request’s client’s global object.
391
- taskDestination = request.client.globalObject
392
-
393
- // 2. Set crossOriginIsolatedCapability to request’s client’s cross-origin
394
- // isolated capability.
395
- crossOriginIsolatedCapability =
396
- request.client.crossOriginIsolatedCapability
397
- }
398
-
399
- // 4. If useParallelQueue is true, then set taskDestination to the result of
400
- // starting a new parallel queue.
401
- // TODO
402
-
403
- // 5. Let timingInfo be a new fetch timing info whose start time and
404
- // post-redirect start time are the coarsened shared current time given
405
- // crossOriginIsolatedCapability.
406
- const currentTime = coarsenedSharedCurrentTime(crossOriginIsolatedCapability)
407
- const timingInfo = createOpaqueTimingInfo({
408
- startTime: currentTime
409
- })
410
-
411
- // 6. Let fetchParams be a new fetch params whose
412
- // request is request,
413
- // timing info is timingInfo,
414
- // process request body chunk length is processRequestBodyChunkLength,
415
- // process request end-of-body is processRequestEndOfBody,
416
- // process response is processResponse,
417
- // process response consume body is processResponseConsumeBody,
418
- // process response end-of-body is processResponseEndOfBody,
419
- // task destination is taskDestination,
420
- // and cross-origin isolated capability is crossOriginIsolatedCapability.
421
- const fetchParams = {
422
- controller: new Fetch(dispatcher),
423
- request,
424
- timingInfo,
425
- processRequestBodyChunkLength,
426
- processRequestEndOfBody,
427
- processResponse,
428
- processResponseConsumeBody,
429
- processResponseEndOfBody,
430
- taskDestination,
431
- crossOriginIsolatedCapability,
432
- // Keep requestObject alive to prevent its AbortController from being GC'd
433
- requestObject
434
- }
435
-
436
- // 7. If request’s body is a byte sequence, then set request’s body to
437
- // request’s body as a body.
438
- // NOTE: Since fetching is only called from fetch, body should already be
439
- // extracted.
440
- assert(!request.body || request.body.stream)
441
-
442
- // 8. If request’s window is "client", then set request’s window to request’s
443
- // client, if request’s client’s global object is a Window object; otherwise
444
- // "no-window".
445
- if (request.window === 'client') {
446
- // TODO: What if request.client is null?
447
- request.window =
448
- request.client?.globalObject?.constructor?.name === 'Window'
449
- ? request.client
450
- : 'no-window'
451
- }
452
-
453
- // 9. If request’s origin is "client", then set request’s origin to request’s
454
- // client’s origin.
455
- if (request.origin === 'client') {
456
- request.origin = request.client.origin
457
- }
458
-
459
- // 10. If all of the following conditions are true:
460
- // TODO
461
-
462
- // 11. If request’s policy container is "client", then:
463
- if (request.policyContainer === 'client') {
464
- // 1. If request’s client is non-null, then set request’s policy
465
- // container to a clone of request’s client’s policy container. [HTML]
466
- if (request.client != null) {
467
- request.policyContainer = clonePolicyContainer(
468
- request.client.policyContainer
469
- )
470
- } else {
471
- // 2. Otherwise, set request’s policy container to a new policy
472
- // container.
473
- request.policyContainer = makePolicyContainer()
474
- }
475
- }
476
-
477
- // 12. If request’s header list does not contain `Accept`, then:
478
- if (!request.headersList.contains('accept', true)) {
479
- // 1. Let value be `*/*`.
480
- const value = '*/*'
481
-
482
- // 2. A user agent should set value to the first matching statement, if
483
- // any, switching on request’s destination:
484
- // "document"
485
- // "frame"
486
- // "iframe"
487
- // `text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8`
488
- // "image"
489
- // `image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5`
490
- // "style"
491
- // `text/css,*/*;q=0.1`
492
- // TODO
493
-
494
- // 3. Append `Accept`/value to request’s header list.
495
- request.headersList.append('accept', value, true)
496
- }
497
-
498
- // 13. If request’s header list does not contain `Accept-Language`, then
499
- // user agents should append `Accept-Language`/an appropriate value to
500
- // request’s header list.
501
- if (!request.headersList.contains('accept-language', true)) {
502
- request.headersList.append('accept-language', '*', true)
503
- }
504
-
505
- // 14. If request’s priority is null, then use request’s initiator and
506
- // destination appropriately in setting request’s priority to a
507
- // user-agent-defined object.
508
- if (request.priority === null) {
509
- // TODO
510
- }
511
-
512
- // 15. If request is a subresource request, then:
513
- if (subresourceSet.has(request.destination)) {
514
- // TODO
515
- }
516
-
517
- // 16. Run main fetch given fetchParams.
518
- mainFetch(fetchParams, false)
519
-
520
- // 17. Return fetchParam's controller
521
- return fetchParams.controller
522
- }
523
-
524
- // https://fetch.spec.whatwg.org/#concept-main-fetch
525
- async function mainFetch (fetchParams, recursive) {
526
- try {
527
- // 1. Let request be fetchParams’s request.
528
- const request = fetchParams.request
529
-
530
- // 2. Let response be null.
531
- let response = null
532
-
533
- // 3. If request’s local-URLs-only flag is set and request’s current URL is
534
- // not local, then set response to a network error.
535
- if (request.localURLsOnly && !urlIsLocal(requestCurrentURL(request))) {
536
- response = makeNetworkError('local URLs only')
537
- }
538
-
539
- // 4. Run report Content Security Policy violations for request.
540
- // TODO
541
-
542
- // 5. Upgrade request to a potentially trustworthy URL, if appropriate.
543
- tryUpgradeRequestToAPotentiallyTrustworthyURL(request)
544
-
545
- // 6. If should request be blocked due to a bad port, should fetching request
546
- // be blocked as mixed content, or should request be blocked by Content
547
- // Security Policy returns blocked, then set response to a network error.
548
- if (requestBadPort(request) === 'blocked') {
549
- response = makeNetworkError('bad port')
550
- }
551
- // TODO: should fetching request be blocked as mixed content?
552
- // TODO: should request be blocked by Content Security Policy?
553
-
554
- // 7. If request’s referrer policy is the empty string, then set request’s
555
- // referrer policy to request’s policy container’s referrer policy.
556
- if (request.referrerPolicy === '') {
557
- request.referrerPolicy = request.policyContainer.referrerPolicy
558
- }
559
-
560
- // 8. If request’s referrer is not "no-referrer", then set request’s
561
- // referrer to the result of invoking determine request’s referrer.
562
- if (request.referrer !== 'no-referrer') {
563
- request.referrer = determineRequestsReferrer(request)
564
- }
565
-
566
- // 9. Set request’s current URL’s scheme to "https" if all of the following
567
- // conditions are true:
568
- // - request’s current URL’s scheme is "http"
569
- // - request’s current URL’s host is a domain
570
- // - Matching request’s current URL’s host per Known HSTS Host Domain Name
571
- // Matching results in either a superdomain match with an asserted
572
- // includeSubDomains directive or a congruent match (with or without an
573
- // asserted includeSubDomains directive). [HSTS]
574
- // TODO
575
-
576
- // 10. If recursive is false, then run the remaining steps in parallel.
577
- // TODO
578
-
579
- // 11. If response is null, then set response to the result of running
580
- // the steps corresponding to the first matching statement:
581
- if (response === null) {
582
- const currentURL = requestCurrentURL(request)
583
- if (
584
- // - request’s current URL’s origin is same origin with request’s origin,
585
- // and request’s response tainting is "basic"
586
- (sameOrigin(currentURL, request.url) && request.responseTainting === 'basic') ||
587
- // request’s current URL’s scheme is "data"
588
- (currentURL.protocol === 'data:') ||
589
- // - request’s mode is "navigate" or "websocket"
590
- (request.mode === 'navigate' || request.mode === 'websocket')
591
- ) {
592
- // 1. Set request’s response tainting to "basic".
593
- request.responseTainting = 'basic'
594
-
595
- // 2. Return the result of running scheme fetch given fetchParams.
596
- response = await schemeFetch(fetchParams)
597
-
598
- // request’s mode is "same-origin"
599
- } else if (request.mode === 'same-origin') {
600
- // 1. Return a network error.
601
- response = makeNetworkError('request mode cannot be "same-origin"')
602
-
603
- // request’s mode is "no-cors"
604
- } else if (request.mode === 'no-cors') {
605
- // 1. If request’s redirect mode is not "follow", then return a network
606
- // error.
607
- if (request.redirect !== 'follow') {
608
- response = makeNetworkError(
609
- 'redirect mode cannot be "follow" for "no-cors" request'
610
- )
611
- } else {
612
- // 2. Set request’s response tainting to "opaque".
613
- request.responseTainting = 'opaque'
614
-
615
- // 3. Return the result of running scheme fetch given fetchParams.
616
- response = await schemeFetch(fetchParams)
617
- }
618
- // request’s current URL’s scheme is not an HTTP(S) scheme
619
- } else if (!urlIsHttpHttpsScheme(requestCurrentURL(request))) {
620
- // Return a network error.
621
- response = makeNetworkError('URL scheme must be a HTTP(S) scheme')
622
-
623
- // - request’s use-CORS-preflight flag is set
624
- // - request’s unsafe-request flag is set and either request’s method is
625
- // not a CORS-safelisted method or CORS-unsafe request-header names with
626
- // request’s header list is not empty
627
- // 1. Set request’s response tainting to "cors".
628
- // 2. Let corsWithPreflightResponse be the result of running HTTP fetch
629
- // given fetchParams and true.
630
- // 3. If corsWithPreflightResponse is a network error, then clear cache
631
- // entries using request.
632
- // 4. Return corsWithPreflightResponse.
633
- // TODO
634
-
635
- // Otherwise
636
- } else {
637
- // 1. Set request’s response tainting to "cors".
638
- request.responseTainting = 'cors'
639
-
640
- // 2. Return the result of running HTTP fetch given fetchParams.
641
- response = await httpFetch(fetchParams)
642
- }
643
- }
644
-
645
- // 12. If recursive is true, then return response.
646
- if (recursive) {
647
- return response
648
- }
649
-
650
- // 13. If response is not a network error and response is not a filtered
651
- // response, then:
652
- if (response.status !== 0 && !response.internalResponse) {
653
- // If request’s response tainting is "cors", then:
654
- if (request.responseTainting === 'cors') {
655
- // 1. Let headerNames be the result of extracting header list values
656
- // given `Access-Control-Expose-Headers` and response’s header list.
657
- // TODO
658
- // 2. If request’s credentials mode is not "include" and headerNames
659
- // contains `*`, then set response’s CORS-exposed header-name list to
660
- // all unique header names in response’s header list.
661
- // TODO
662
- // 3. Otherwise, if headerNames is not null or failure, then set
663
- // response’s CORS-exposed header-name list to headerNames.
664
- // TODO
665
- }
666
-
667
- // Set response to the following filtered response with response as its
668
- // internal response, depending on request’s response tainting:
669
- if (request.responseTainting === 'basic') {
670
- response = filterResponse(response, 'basic')
671
- } else if (request.responseTainting === 'cors') {
672
- response = filterResponse(response, 'cors')
673
- } else if (request.responseTainting === 'opaque') {
674
- response = filterResponse(response, 'opaque')
675
- } else {
676
- assert(false)
677
- }
678
- }
679
-
680
- // 14. Let internalResponse be response, if response is a network error,
681
- // and response’s internal response otherwise.
682
- let internalResponse =
683
- response.status === 0 ? response : response.internalResponse
684
-
685
- // 15. If internalResponse’s URL list is empty, then set it to a clone of
686
- // request’s URL list.
687
- if (internalResponse.urlList.length === 0) {
688
- internalResponse.urlList.push(...request.urlList)
689
- }
690
-
691
- // 16. If request’s timing allow failed flag is unset, then set
692
- // internalResponse’s timing allow passed flag.
693
- if (!request.timingAllowFailed) {
694
- response.timingAllowPassed = true
695
- }
696
-
697
- // 17. If response is not a network error and any of the following returns
698
- // blocked
699
- // - should internalResponse to request be blocked as mixed content
700
- // - should internalResponse to request be blocked by Content Security Policy
701
- // - should internalResponse to request be blocked due to its MIME type
702
- // - should internalResponse to request be blocked due to nosniff
703
- // TODO
704
-
705
- // 18. If response’s type is "opaque", internalResponse’s status is 206,
706
- // internalResponse’s range-requested flag is set, and request’s header
707
- // list does not contain `Range`, then set response and internalResponse
708
- // to a network error.
709
- if (
710
- response.type === 'opaque' &&
711
- internalResponse.status === 206 &&
712
- internalResponse.rangeRequested &&
713
- !request.headers.contains('range', true)
714
- ) {
715
- response = internalResponse = makeNetworkError()
716
- }
717
-
718
- // 19. If response is not a network error and either request’s method is
719
- // `HEAD` or `CONNECT`, or internalResponse’s status is a null body status,
720
- // set internalResponse’s body to null and disregard any enqueuing toward
721
- // it (if any).
722
- if (
723
- response.status !== 0 &&
724
- (request.method === 'HEAD' ||
725
- request.method === 'CONNECT' ||
726
- nullBodyStatus.includes(internalResponse.status))
727
- ) {
728
- internalResponse.body = null
729
- fetchParams.controller.dump = true
730
- }
731
-
732
- // 20. If request’s integrity metadata is not the empty string, then:
733
- if (request.integrity) {
734
- // 1. Let processBodyError be this step: run fetch finale given fetchParams
735
- // and a network error.
736
- const processBodyError = (reason) =>
737
- fetchFinale(fetchParams, makeNetworkError(reason))
738
-
739
- // 2. If request’s response tainting is "opaque", or response’s body is null,
740
- // then run processBodyError and abort these steps.
741
- if (request.responseTainting === 'opaque' || response.body == null) {
742
- processBodyError(response.error)
743
- return
744
- }
745
-
746
- // 3. Let processBody given bytes be these steps:
747
- const processBody = (bytes) => {
748
- // 1. If bytes do not match request’s integrity metadata,
749
- // then run processBodyError and abort these steps. [SRI]
750
- if (!bytesMatch(bytes, request.integrity)) {
751
- processBodyError('integrity mismatch')
752
- return
753
- }
754
-
755
- // 2. Set response’s body to bytes as a body.
756
- response.body = safelyExtractBody(bytes)[0]
757
-
758
- // 3. Run fetch finale given fetchParams and response.
759
- fetchFinale(fetchParams, response)
760
- }
761
-
762
- // 4. Fully read response’s body given processBody and processBodyError.
763
- fullyReadBody(response.body, processBody, processBodyError)
764
- } else {
765
- // 21. Otherwise, run fetch finale given fetchParams and response.
766
- fetchFinale(fetchParams, response)
767
- }
768
- } catch (err) {
769
- fetchParams.controller.terminate(err)
770
- }
771
- }
772
-
773
- // https://fetch.spec.whatwg.org/#concept-scheme-fetch
774
- // given a fetch params fetchParams
775
- function schemeFetch (fetchParams) {
776
- // Note: since the connection is destroyed on redirect, which sets fetchParams to a
777
- // cancelled state, we do not want this condition to trigger *unless* there have been
778
- // no redirects. See https://github.com/nodejs/undici/issues/1776
779
- // 1. If fetchParams is canceled, then return the appropriate network error for fetchParams.
780
- if (isCancelled(fetchParams) && fetchParams.request.redirectCount === 0) {
781
- return Promise.resolve(makeAppropriateNetworkError(fetchParams))
782
- }
783
-
784
- // 2. Let request be fetchParams’s request.
785
- const { request } = fetchParams
786
-
787
- const { protocol: scheme } = requestCurrentURL(request)
788
-
789
- // 3. Switch on request’s current URL’s scheme and run the associated steps:
790
- switch (scheme) {
791
- case 'about:': {
792
- // If request’s current URL’s path is the string "blank", then return a new response
793
- // whose status message is `OK`, header list is « (`Content-Type`, `text/html;charset=utf-8`) »,
794
- // and body is the empty byte sequence as a body.
795
-
796
- // Otherwise, return a network error.
797
- return Promise.resolve(makeNetworkError('about scheme is not supported'))
798
- }
799
- case 'blob:': {
800
- if (!resolveObjectURL) {
801
- resolveObjectURL = require('node:buffer').resolveObjectURL
802
- }
803
-
804
- // 1. Let blobURLEntry be request’s current URL’s blob URL entry.
805
- const blobURLEntry = requestCurrentURL(request)
806
-
807
- // https://github.com/web-platform-tests/wpt/blob/7b0ebaccc62b566a1965396e5be7bb2bc06f841f/FileAPI/url/resources/fetch-tests.js#L52-L56
808
- // Buffer.resolveObjectURL does not ignore URL queries.
809
- if (blobURLEntry.search.length !== 0) {
810
- return Promise.resolve(makeNetworkError('NetworkError when attempting to fetch resource.'))
811
- }
812
-
813
- const blob = resolveObjectURL(blobURLEntry.toString())
814
-
815
- // 2. If request’s method is not `GET`, blobURLEntry is null, or blobURLEntry’s
816
- // object is not a Blob object, then return a network error.
817
- if (request.method !== 'GET' || !webidl.is.Blob(blob)) {
818
- return Promise.resolve(makeNetworkError('invalid method'))
819
- }
820
-
821
- // 3. Let blob be blobURLEntry’s object.
822
- // Note: done above
823
-
824
- // 4. Let response be a new response.
825
- const response = makeResponse()
826
-
827
- // 5. Let fullLength be blob’s size.
828
- const fullLength = blob.size
829
-
830
- // 6. Let serializedFullLength be fullLength, serialized and isomorphic encoded.
831
- const serializedFullLength = isomorphicEncode(`${fullLength}`)
832
-
833
- // 7. Let type be blob’s type.
834
- const type = blob.type
835
-
836
- // 8. If request’s header list does not contain `Range`:
837
- // 9. Otherwise:
838
- if (!request.headersList.contains('range', true)) {
839
- // 1. Let bodyWithType be the result of safely extracting blob.
840
- // Note: in the FileAPI a blob "object" is a Blob *or* a MediaSource.
841
- // In node, this can only ever be a Blob. Therefore we can safely
842
- // use extractBody directly.
843
- const bodyWithType = extractBody(blob)
844
-
845
- // 2. Set response’s status message to `OK`.
846
- response.statusText = 'OK'
847
-
848
- // 3. Set response’s body to bodyWithType’s body.
849
- response.body = bodyWithType[0]
850
-
851
- // 4. Set response’s header list to « (`Content-Length`, serializedFullLength), (`Content-Type`, type) ».
852
- response.headersList.set('content-length', serializedFullLength, true)
853
- response.headersList.set('content-type', type, true)
854
- } else {
855
- // 1. Set response’s range-requested flag.
856
- response.rangeRequested = true
857
-
858
- // 2. Let rangeHeader be the result of getting `Range` from request’s header list.
859
- const rangeHeader = request.headersList.get('range', true)
860
-
861
- // 3. Let rangeValue be the result of parsing a single range header value given rangeHeader and true.
862
- const rangeValue = simpleRangeHeaderValue(rangeHeader, true)
863
-
864
- // 4. If rangeValue is failure, then return a network error.
865
- if (rangeValue === 'failure') {
866
- return Promise.resolve(makeNetworkError('failed to fetch the data URL'))
867
- }
868
-
869
- // 5. Let (rangeStart, rangeEnd) be rangeValue.
870
- let { rangeStartValue: rangeStart, rangeEndValue: rangeEnd } = rangeValue
871
-
872
- // 6. If rangeStart is null:
873
- // 7. Otherwise:
874
- if (rangeStart === null) {
875
- // 1. Set rangeStart to fullLength − rangeEnd.
876
- rangeStart = fullLength - rangeEnd
877
-
878
- // 2. Set rangeEnd to rangeStart + rangeEnd − 1.
879
- rangeEnd = rangeStart + rangeEnd - 1
880
- } else {
881
- // 1. If rangeStart is greater than or equal to fullLength, then return a network error.
882
- if (rangeStart >= fullLength) {
883
- return Promise.resolve(makeNetworkError('Range start is greater than the blob\'s size.'))
884
- }
885
-
886
- // 2. If rangeEnd is null or rangeEnd is greater than or equal to fullLength, then set
887
- // rangeEnd to fullLength − 1.
888
- if (rangeEnd === null || rangeEnd >= fullLength) {
889
- rangeEnd = fullLength - 1
890
- }
891
- }
892
-
893
- // 8. Let slicedBlob be the result of invoking slice blob given blob, rangeStart,
894
- // rangeEnd + 1, and type.
895
- const slicedBlob = blob.slice(rangeStart, rangeEnd + 1, type)
896
-
897
- // 9. Let slicedBodyWithType be the result of safely extracting slicedBlob.
898
- // Note: same reason as mentioned above as to why we use extractBody
899
- const slicedBodyWithType = extractBody(slicedBlob)
900
-
901
- // 10. Set response’s body to slicedBodyWithType’s body.
902
- response.body = slicedBodyWithType[0]
903
-
904
- // 11. Let serializedSlicedLength be slicedBlob’s size, serialized and isomorphic encoded.
905
- const serializedSlicedLength = isomorphicEncode(`${slicedBlob.size}`)
906
-
907
- // 12. Let contentRange be the result of invoking build a content range given rangeStart,
908
- // rangeEnd, and fullLength.
909
- const contentRange = buildContentRange(rangeStart, rangeEnd, fullLength)
910
-
911
- // 13. Set response’s status to 206.
912
- response.status = 206
913
-
914
- // 14. Set response’s status message to `Partial Content`.
915
- response.statusText = 'Partial Content'
916
-
917
- // 15. Set response’s header list to « (`Content-Length`, serializedSlicedLength),
918
- // (`Content-Type`, type), (`Content-Range`, contentRange) ».
919
- response.headersList.set('content-length', serializedSlicedLength, true)
920
- response.headersList.set('content-type', type, true)
921
- response.headersList.set('content-range', contentRange, true)
922
- }
923
-
924
- // 10. Return response.
925
- return Promise.resolve(response)
926
- }
927
- case 'data:': {
928
- // 1. Let dataURLStruct be the result of running the
929
- // data: URL processor on request’s current URL.
930
- const currentURL = requestCurrentURL(request)
931
- const dataURLStruct = dataURLProcessor(currentURL)
932
-
933
- // 2. If dataURLStruct is failure, then return a
934
- // network error.
935
- if (dataURLStruct === 'failure') {
936
- return Promise.resolve(makeNetworkError('failed to fetch the data URL'))
937
- }
938
-
939
- // 3. Let mimeType be dataURLStruct’s MIME type, serialized.
940
- const mimeType = serializeAMimeType(dataURLStruct.mimeType)
941
-
942
- // 4. Return a response whose status message is `OK`,
943
- // header list is « (`Content-Type`, mimeType) »,
944
- // and body is dataURLStruct’s body as a body.
945
- return Promise.resolve(makeResponse({
946
- statusText: 'OK',
947
- headersList: [
948
- ['content-type', { name: 'Content-Type', value: mimeType }]
949
- ],
950
- body: safelyExtractBody(dataURLStruct.body)[0]
951
- }))
952
- }
953
- case 'file:': {
954
- // For now, unfortunate as it is, file URLs are left as an exercise for the reader.
955
- // When in doubt, return a network error.
956
- return Promise.resolve(makeNetworkError('not implemented... yet...'))
957
- }
958
- case 'http:':
959
- case 'https:': {
960
- // Return the result of running HTTP fetch given fetchParams.
961
-
962
- return httpFetch(fetchParams)
963
- .catch((err) => makeNetworkError(err))
964
- }
965
- default: {
966
- return Promise.resolve(makeNetworkError('unknown scheme'))
967
- }
968
- }
969
- }
970
-
971
- // https://fetch.spec.whatwg.org/#finalize-response
972
- function finalizeResponse (fetchParams, response) {
973
- // 1. Set fetchParams’s request’s done flag.
974
- fetchParams.request.done = true
975
-
976
- // 2, If fetchParams’s process response done is not null, then queue a fetch
977
- // task to run fetchParams’s process response done given response, with
978
- // fetchParams’s task destination.
979
- if (fetchParams.processResponseDone != null) {
980
- queueMicrotask(() => fetchParams.processResponseDone(response))
981
- }
982
- }
983
-
984
- // https://fetch.spec.whatwg.org/#fetch-finale
985
- function fetchFinale (fetchParams, response) {
986
- // 1. Let timingInfo be fetchParams’s timing info.
987
- let timingInfo = fetchParams.timingInfo
988
-
989
- // 2. If response is not a network error and fetchParams’s request’s client is a secure context,
990
- // then set timingInfo’s server-timing headers to the result of getting, decoding, and splitting
991
- // `Server-Timing` from response’s internal response’s header list.
992
- // TODO
993
-
994
- // 3. Let processResponseEndOfBody be the following steps:
995
- const processResponseEndOfBody = () => {
996
- // 1. Let unsafeEndTime be the unsafe shared current time.
997
- const unsafeEndTime = Date.now() // ?
998
-
999
- // 2. If fetchParams’s request’s destination is "document", then set fetchParams’s controller’s
1000
- // full timing info to fetchParams’s timing info.
1001
- if (fetchParams.request.destination === 'document') {
1002
- fetchParams.controller.fullTimingInfo = timingInfo
1003
- }
1004
-
1005
- // 3. Set fetchParams’s controller’s report timing steps to the following steps given a global object global:
1006
- fetchParams.controller.reportTimingSteps = () => {
1007
- // 1. If fetchParams’s request’s URL’s scheme is not an HTTP(S) scheme, then return.
1008
- if (!urlIsHttpHttpsScheme(fetchParams.request.url)) {
1009
- return
1010
- }
1011
-
1012
- // 2. Set timingInfo’s end time to the relative high resolution time given unsafeEndTime and global.
1013
- timingInfo.endTime = unsafeEndTime
1014
-
1015
- // 3. Let cacheState be response’s cache state.
1016
- let cacheState = response.cacheState
1017
-
1018
- // 4. Let bodyInfo be response’s body info.
1019
- const bodyInfo = response.bodyInfo
1020
-
1021
- // 5. If response’s timing allow passed flag is not set, then set timingInfo to the result of creating an
1022
- // opaque timing info for timingInfo and set cacheState to the empty string.
1023
- if (!response.timingAllowPassed) {
1024
- timingInfo = createOpaqueTimingInfo(timingInfo)
1025
-
1026
- cacheState = ''
1027
- }
1028
-
1029
- // 6. Let responseStatus be 0.
1030
- let responseStatus = 0
1031
-
1032
- // 7. If fetchParams’s request’s mode is not "navigate" or response’s has-cross-origin-redirects is false:
1033
- if (fetchParams.request.mode !== 'navigator' || !response.hasCrossOriginRedirects) {
1034
- // 1. Set responseStatus to response’s status.
1035
- responseStatus = response.status
1036
-
1037
- // 2. Let mimeType be the result of extracting a MIME type from response’s header list.
1038
- const mimeType = extractMimeType(response.headersList)
1039
-
1040
- // 3. If mimeType is not failure, then set bodyInfo’s content type to the result of minimizing a supported MIME type given mimeType.
1041
- if (mimeType !== 'failure') {
1042
- bodyInfo.contentType = minimizeSupportedMimeType(mimeType)
1043
- }
1044
- }
1045
-
1046
- // 8. If fetchParams’s request’s initiator type is non-null, then mark resource timing given timingInfo,
1047
- // fetchParams’s request’s URL, fetchParams’s request’s initiator type, global, cacheState, bodyInfo,
1048
- // and responseStatus.
1049
- if (fetchParams.request.initiatorType != null) {
1050
- markResourceTiming(timingInfo, fetchParams.request.url.href, fetchParams.request.initiatorType, globalThis, cacheState, bodyInfo, responseStatus)
1051
- }
1052
- }
1053
-
1054
- // 4. Let processResponseEndOfBodyTask be the following steps:
1055
- const processResponseEndOfBodyTask = () => {
1056
- // 1. Set fetchParams’s request’s done flag.
1057
- fetchParams.request.done = true
1058
-
1059
- // 2. If fetchParams’s process response end-of-body is non-null, then run fetchParams’s process
1060
- // response end-of-body given response.
1061
- if (fetchParams.processResponseEndOfBody != null) {
1062
- queueMicrotask(() => fetchParams.processResponseEndOfBody(response))
1063
- }
1064
-
1065
- // 3. If fetchParams’s request’s initiator type is non-null and fetchParams’s request’s client’s
1066
- // global object is fetchParams’s task destination, then run fetchParams’s controller’s report
1067
- // timing steps given fetchParams’s request’s client’s global object.
1068
- if (fetchParams.request.initiatorType != null) {
1069
- fetchParams.controller.reportTimingSteps()
1070
- }
1071
- }
1072
-
1073
- // 5. Queue a fetch task to run processResponseEndOfBodyTask with fetchParams’s task destination
1074
- queueMicrotask(() => processResponseEndOfBodyTask())
1075
- }
1076
-
1077
- // 4. If fetchParams’s process response is non-null, then queue a fetch task to run fetchParams’s
1078
- // process response given response, with fetchParams’s task destination.
1079
- if (fetchParams.processResponse != null) {
1080
- queueMicrotask(() => {
1081
- fetchParams.processResponse(response)
1082
- fetchParams.processResponse = null
1083
- })
1084
- }
1085
-
1086
- // 5. Let internalResponse be response, if response is a network error; otherwise response’s internal response.
1087
- const internalResponse = response.type === 'error' ? response : (response.internalResponse ?? response)
1088
-
1089
- // 6. If internalResponse’s body is null, then run processResponseEndOfBody.
1090
- // 7. Otherwise:
1091
- if (internalResponse.body == null) {
1092
- processResponseEndOfBody()
1093
- } else {
1094
- // mcollina: all the following steps of the specs are skipped.
1095
- // The internal transform stream is not needed.
1096
- // See https://github.com/nodejs/undici/pull/3093#issuecomment-2050198541
1097
-
1098
- // 1. Let transformStream be a new TransformStream.
1099
- // 2. Let identityTransformAlgorithm be an algorithm which, given chunk, enqueues chunk in transformStream.
1100
- // 3. Set up transformStream with transformAlgorithm set to identityTransformAlgorithm and flushAlgorithm
1101
- // set to processResponseEndOfBody.
1102
- // 4. Set internalResponse’s body’s stream to the result of internalResponse’s body’s stream piped through transformStream.
1103
-
1104
- finished(internalResponse.body.stream, () => {
1105
- processResponseEndOfBody()
1106
- })
1107
- }
1108
- }
1109
-
1110
- // https://fetch.spec.whatwg.org/#http-fetch
1111
- async function httpFetch (fetchParams) {
1112
- // 1. Let request be fetchParams’s request.
1113
- const request = fetchParams.request
1114
-
1115
- // 2. Let response be null.
1116
- let response = null
1117
-
1118
- // 3. Let actualResponse be null.
1119
- let actualResponse = null
1120
-
1121
- // 4. Let timingInfo be fetchParams’s timing info.
1122
- const timingInfo = fetchParams.timingInfo
1123
-
1124
- // 5. If request’s service-workers mode is "all", then:
1125
- if (request.serviceWorkers === 'all') {
1126
- // TODO
1127
- }
1128
-
1129
- // 6. If response is null, then:
1130
- if (response === null) {
1131
- // 1. If makeCORSPreflight is true and one of these conditions is true:
1132
- // TODO
1133
-
1134
- // 2. If request’s redirect mode is "follow", then set request’s
1135
- // service-workers mode to "none".
1136
- if (request.redirect === 'follow') {
1137
- request.serviceWorkers = 'none'
1138
- }
1139
-
1140
- // 3. Set response and actualResponse to the result of running
1141
- // HTTP-network-or-cache fetch given fetchParams.
1142
- actualResponse = response = await httpNetworkOrCacheFetch(fetchParams)
1143
-
1144
- // 4. If request’s response tainting is "cors" and a CORS check
1145
- // for request and response returns failure, then return a network error.
1146
- if (
1147
- request.responseTainting === 'cors' &&
1148
- corsCheck(request, response) === 'failure'
1149
- ) {
1150
- return makeNetworkError('cors failure')
1151
- }
1152
-
1153
- // 5. If the TAO check for request and response returns failure, then set
1154
- // request’s timing allow failed flag.
1155
- if (TAOCheck(request, response) === 'failure') {
1156
- request.timingAllowFailed = true
1157
- }
1158
- }
1159
-
1160
- // 7. If either request’s response tainting or response’s type
1161
- // is "opaque", and the cross-origin resource policy check with
1162
- // request’s origin, request’s client, request’s destination,
1163
- // and actualResponse returns blocked, then return a network error.
1164
- if (
1165
- (request.responseTainting === 'opaque' || response.type === 'opaque') &&
1166
- crossOriginResourcePolicyCheck(
1167
- request.origin,
1168
- request.client,
1169
- request.destination,
1170
- actualResponse
1171
- ) === 'blocked'
1172
- ) {
1173
- return makeNetworkError('blocked')
1174
- }
1175
-
1176
- // 8. If actualResponse’s status is a redirect status, then:
1177
- if (redirectStatusSet.has(actualResponse.status)) {
1178
- // 1. If actualResponse’s status is not 303, request’s body is not null,
1179
- // and the connection uses HTTP/2, then user agents may, and are even
1180
- // encouraged to, transmit an RST_STREAM frame.
1181
- // See, https://github.com/whatwg/fetch/issues/1288
1182
- if (request.redirect !== 'manual') {
1183
- fetchParams.controller.connection.destroy(undefined, false)
1184
- }
1185
-
1186
- // 2. Switch on request’s redirect mode:
1187
- if (request.redirect === 'error') {
1188
- // Set response to a network error.
1189
- response = makeNetworkError('unexpected redirect')
1190
- } else if (request.redirect === 'manual') {
1191
- // Set response to an opaque-redirect filtered response whose internal
1192
- // response is actualResponse.
1193
- // NOTE(spec): On the web this would return an `opaqueredirect` response,
1194
- // but that doesn't make sense server side.
1195
- // See https://github.com/nodejs/undici/issues/1193.
1196
- response = actualResponse
1197
- } else if (request.redirect === 'follow') {
1198
- // Set response to the result of running HTTP-redirect fetch given
1199
- // fetchParams and response.
1200
- response = await httpRedirectFetch(fetchParams, response)
1201
- } else {
1202
- assert(false)
1203
- }
1204
- }
1205
-
1206
- // 9. Set response’s timing info to timingInfo.
1207
- response.timingInfo = timingInfo
1208
-
1209
- // 10. Return response.
1210
- return response
1211
- }
1212
-
1213
- // https://fetch.spec.whatwg.org/#http-redirect-fetch
1214
- function httpRedirectFetch (fetchParams, response) {
1215
- // 1. Let request be fetchParams’s request.
1216
- const request = fetchParams.request
1217
-
1218
- // 2. Let actualResponse be response, if response is not a filtered response,
1219
- // and response’s internal response otherwise.
1220
- const actualResponse = response.internalResponse
1221
- ? response.internalResponse
1222
- : response
1223
-
1224
- // 3. Let locationURL be actualResponse’s location URL given request’s current
1225
- // URL’s fragment.
1226
- let locationURL
1227
-
1228
- try {
1229
- locationURL = responseLocationURL(
1230
- actualResponse,
1231
- requestCurrentURL(request).hash
1232
- )
1233
-
1234
- // 4. If locationURL is null, then return response.
1235
- if (locationURL == null) {
1236
- return response
1237
- }
1238
- } catch (err) {
1239
- // 5. If locationURL is failure, then return a network error.
1240
- return Promise.resolve(makeNetworkError(err))
1241
- }
1242
-
1243
- // 6. If locationURL’s scheme is not an HTTP(S) scheme, then return a network
1244
- // error.
1245
- if (!urlIsHttpHttpsScheme(locationURL)) {
1246
- return Promise.resolve(makeNetworkError('URL scheme must be a HTTP(S) scheme'))
1247
- }
1248
-
1249
- // 7. If request’s redirect count is 20, then return a network error.
1250
- if (request.redirectCount === 20) {
1251
- return Promise.resolve(makeNetworkError('redirect count exceeded'))
1252
- }
1253
-
1254
- // 8. Increase request’s redirect count by 1.
1255
- request.redirectCount += 1
1256
-
1257
- // 9. If request’s mode is "cors", locationURL includes credentials, and
1258
- // request’s origin is not same origin with locationURL’s origin, then return
1259
- // a network error.
1260
- if (
1261
- request.mode === 'cors' &&
1262
- (locationURL.username || locationURL.password) &&
1263
- !sameOrigin(request, locationURL)
1264
- ) {
1265
- return Promise.resolve(makeNetworkError('cross origin not allowed for request mode "cors"'))
1266
- }
1267
-
1268
- // 10. If request’s response tainting is "cors" and locationURL includes
1269
- // credentials, then return a network error.
1270
- if (
1271
- request.responseTainting === 'cors' &&
1272
- (locationURL.username || locationURL.password)
1273
- ) {
1274
- return Promise.resolve(makeNetworkError(
1275
- 'URL cannot contain credentials for request mode "cors"'
1276
- ))
1277
- }
1278
-
1279
- // 11. If actualResponse’s status is not 303, request’s body is non-null,
1280
- // and request’s body’s source is null, then return a network error.
1281
- if (
1282
- actualResponse.status !== 303 &&
1283
- request.body != null &&
1284
- request.body.source == null
1285
- ) {
1286
- return Promise.resolve(makeNetworkError())
1287
- }
1288
-
1289
- // 12. If one of the following is true
1290
- // - actualResponse’s status is 301 or 302 and request’s method is `POST`
1291
- // - actualResponse’s status is 303 and request’s method is not `GET` or `HEAD`
1292
- if (
1293
- ([301, 302].includes(actualResponse.status) && request.method === 'POST') ||
1294
- (actualResponse.status === 303 &&
1295
- !GET_OR_HEAD.includes(request.method))
1296
- ) {
1297
- // then:
1298
- // 1. Set request’s method to `GET` and request’s body to null.
1299
- request.method = 'GET'
1300
- request.body = null
1301
-
1302
- // 2. For each headerName of request-body-header name, delete headerName from
1303
- // request’s header list.
1304
- for (const headerName of requestBodyHeader) {
1305
- request.headersList.delete(headerName)
1306
- }
1307
- }
1308
-
1309
- // 13. If request’s current URL’s origin is not same origin with locationURL’s
1310
- // origin, then for each headerName of CORS non-wildcard request-header name,
1311
- // delete headerName from request’s header list.
1312
- if (!sameOrigin(requestCurrentURL(request), locationURL)) {
1313
- // https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name
1314
- request.headersList.delete('authorization', true)
1315
-
1316
- // https://fetch.spec.whatwg.org/#authentication-entries
1317
- request.headersList.delete('proxy-authorization', true)
1318
-
1319
- // "Cookie" and "Host" are forbidden request-headers, which undici doesn't implement.
1320
- request.headersList.delete('cookie', true)
1321
- request.headersList.delete('host', true)
1322
- }
1323
-
1324
- // 14. If request's body is non-null, then set request's body to the first return
1325
- // value of safely extracting request's body's source.
1326
- if (request.body != null) {
1327
- assert(request.body.source != null)
1328
- request.body = safelyExtractBody(request.body.source)[0]
1329
- }
1330
-
1331
- // 15. Let timingInfo be fetchParams’s timing info.
1332
- const timingInfo = fetchParams.timingInfo
1333
-
1334
- // 16. Set timingInfo’s redirect end time and post-redirect start time to the
1335
- // coarsened shared current time given fetchParams’s cross-origin isolated
1336
- // capability.
1337
- timingInfo.redirectEndTime = timingInfo.postRedirectStartTime =
1338
- coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)
1339
-
1340
- // 17. If timingInfo’s redirect start time is 0, then set timingInfo’s
1341
- // redirect start time to timingInfo’s start time.
1342
- if (timingInfo.redirectStartTime === 0) {
1343
- timingInfo.redirectStartTime = timingInfo.startTime
1344
- }
1345
-
1346
- // 18. Append locationURL to request’s URL list.
1347
- request.urlList.push(locationURL)
1348
-
1349
- // 19. Invoke set request’s referrer policy on redirect on request and
1350
- // actualResponse.
1351
- setRequestReferrerPolicyOnRedirect(request, actualResponse)
1352
-
1353
- // 20. Return the result of running main fetch given fetchParams and true.
1354
- return mainFetch(fetchParams, true)
1355
- }
1356
-
1357
- // https://fetch.spec.whatwg.org/#http-network-or-cache-fetch
1358
- async function httpNetworkOrCacheFetch (
1359
- fetchParams,
1360
- isAuthenticationFetch = false,
1361
- isNewConnectionFetch = false
1362
- ) {
1363
- // 1. Let request be fetchParams’s request.
1364
- const request = fetchParams.request
1365
-
1366
- // 2. Let httpFetchParams be null.
1367
- let httpFetchParams = null
1368
-
1369
- // 3. Let httpRequest be null.
1370
- let httpRequest = null
1371
-
1372
- // 4. Let response be null.
1373
- let response = null
1374
-
1375
- // 5. Let storedResponse be null.
1376
- // TODO: cache
1377
-
1378
- // 6. Let httpCache be null.
1379
- const httpCache = null
1380
-
1381
- // 7. Let the revalidatingFlag be unset.
1382
- const revalidatingFlag = false
1383
-
1384
- // 8. Run these steps, but abort when the ongoing fetch is terminated:
1385
-
1386
- // 1. If request’s window is "no-window" and request’s redirect mode is
1387
- // "error", then set httpFetchParams to fetchParams and httpRequest to
1388
- // request.
1389
- if (request.window === 'no-window' && request.redirect === 'error') {
1390
- httpFetchParams = fetchParams
1391
- httpRequest = request
1392
- } else {
1393
- // Otherwise:
1394
-
1395
- // 1. Set httpRequest to a clone of request.
1396
- httpRequest = cloneRequest(request)
1397
-
1398
- // 2. Set httpFetchParams to a copy of fetchParams.
1399
- httpFetchParams = { ...fetchParams }
1400
-
1401
- // 3. Set httpFetchParams’s request to httpRequest.
1402
- httpFetchParams.request = httpRequest
1403
- }
1404
-
1405
- // 3. Let includeCredentials be true if one of
1406
- const includeCredentials =
1407
- request.credentials === 'include' ||
1408
- (request.credentials === 'same-origin' &&
1409
- request.responseTainting === 'basic')
1410
-
1411
- // 4. Let contentLength be httpRequest’s body’s length, if httpRequest’s
1412
- // body is non-null; otherwise null.
1413
- const contentLength = httpRequest.body ? httpRequest.body.length : null
1414
-
1415
- // 5. Let contentLengthHeaderValue be null.
1416
- let contentLengthHeaderValue = null
1417
-
1418
- // 6. If httpRequest’s body is null and httpRequest’s method is `POST` or
1419
- // `PUT`, then set contentLengthHeaderValue to `0`.
1420
- if (
1421
- httpRequest.body == null &&
1422
- ['POST', 'PUT'].includes(httpRequest.method)
1423
- ) {
1424
- contentLengthHeaderValue = '0'
1425
- }
1426
-
1427
- // 7. If contentLength is non-null, then set contentLengthHeaderValue to
1428
- // contentLength, serialized and isomorphic encoded.
1429
- if (contentLength != null) {
1430
- contentLengthHeaderValue = isomorphicEncode(`${contentLength}`)
1431
- }
1432
-
1433
- // 8. If contentLengthHeaderValue is non-null, then append
1434
- // `Content-Length`/contentLengthHeaderValue to httpRequest’s header
1435
- // list.
1436
- if (contentLengthHeaderValue != null) {
1437
- httpRequest.headersList.append('content-length', contentLengthHeaderValue, true)
1438
- }
1439
-
1440
- // 9. If contentLengthHeaderValue is non-null, then append (`Content-Length`,
1441
- // contentLengthHeaderValue) to httpRequest’s header list.
1442
-
1443
- // 10. If contentLength is non-null and httpRequest’s keepalive is true,
1444
- // then:
1445
- if (contentLength != null && httpRequest.keepalive) {
1446
- // NOTE: keepalive is a noop outside of browser context.
1447
- }
1448
-
1449
- // 11. If httpRequest’s referrer is a URL, then append
1450
- // `Referer`/httpRequest’s referrer, serialized and isomorphic encoded,
1451
- // to httpRequest’s header list.
1452
- if (webidl.is.URL(httpRequest.referrer)) {
1453
- httpRequest.headersList.append('referer', isomorphicEncode(httpRequest.referrer.href), true)
1454
- }
1455
-
1456
- // 12. Append a request `Origin` header for httpRequest.
1457
- appendRequestOriginHeader(httpRequest)
1458
-
1459
- // 13. Append the Fetch metadata headers for httpRequest. [FETCH-METADATA]
1460
- appendFetchMetadata(httpRequest)
1461
-
1462
- // 14. If httpRequest’s header list does not contain `User-Agent`, then
1463
- // user agents should append `User-Agent`/default `User-Agent` value to
1464
- // httpRequest’s header list.
1465
- if (!httpRequest.headersList.contains('user-agent', true)) {
1466
- httpRequest.headersList.append('user-agent', defaultUserAgent, true)
1467
- }
1468
-
1469
- // 15. If httpRequest’s cache mode is "default" and httpRequest’s header
1470
- // list contains `If-Modified-Since`, `If-None-Match`,
1471
- // `If-Unmodified-Since`, `If-Match`, or `If-Range`, then set
1472
- // httpRequest’s cache mode to "no-store".
1473
- if (
1474
- httpRequest.cache === 'default' &&
1475
- (httpRequest.headersList.contains('if-modified-since', true) ||
1476
- httpRequest.headersList.contains('if-none-match', true) ||
1477
- httpRequest.headersList.contains('if-unmodified-since', true) ||
1478
- httpRequest.headersList.contains('if-match', true) ||
1479
- httpRequest.headersList.contains('if-range', true))
1480
- ) {
1481
- httpRequest.cache = 'no-store'
1482
- }
1483
-
1484
- // 16. If httpRequest’s cache mode is "no-cache", httpRequest’s prevent
1485
- // no-cache cache-control header modification flag is unset, and
1486
- // httpRequest’s header list does not contain `Cache-Control`, then append
1487
- // `Cache-Control`/`max-age=0` to httpRequest’s header list.
1488
- if (
1489
- httpRequest.cache === 'no-cache' &&
1490
- !httpRequest.preventNoCacheCacheControlHeaderModification &&
1491
- !httpRequest.headersList.contains('cache-control', true)
1492
- ) {
1493
- httpRequest.headersList.append('cache-control', 'max-age=0', true)
1494
- }
1495
-
1496
- // 17. If httpRequest’s cache mode is "no-store" or "reload", then:
1497
- if (httpRequest.cache === 'no-store' || httpRequest.cache === 'reload') {
1498
- // 1. If httpRequest’s header list does not contain `Pragma`, then append
1499
- // `Pragma`/`no-cache` to httpRequest’s header list.
1500
- if (!httpRequest.headersList.contains('pragma', true)) {
1501
- httpRequest.headersList.append('pragma', 'no-cache', true)
1502
- }
1503
-
1504
- // 2. If httpRequest’s header list does not contain `Cache-Control`,
1505
- // then append `Cache-Control`/`no-cache` to httpRequest’s header list.
1506
- if (!httpRequest.headersList.contains('cache-control', true)) {
1507
- httpRequest.headersList.append('cache-control', 'no-cache', true)
1508
- }
1509
- }
1510
-
1511
- // 18. If httpRequest’s header list contains `Range`, then append
1512
- // `Accept-Encoding`/`identity` to httpRequest’s header list.
1513
- if (httpRequest.headersList.contains('range', true)) {
1514
- httpRequest.headersList.append('accept-encoding', 'identity', true)
1515
- }
1516
-
1517
- // 19. Modify httpRequest’s header list per HTTP. Do not append a given
1518
- // header if httpRequest’s header list contains that header’s name.
1519
- // TODO: https://github.com/whatwg/fetch/issues/1285#issuecomment-896560129
1520
- if (!httpRequest.headersList.contains('accept-encoding', true)) {
1521
- if (urlHasHttpsScheme(requestCurrentURL(httpRequest))) {
1522
- httpRequest.headersList.append('accept-encoding', 'br, gzip, deflate', true)
1523
- } else {
1524
- httpRequest.headersList.append('accept-encoding', 'gzip, deflate', true)
1525
- }
1526
- }
1527
-
1528
- httpRequest.headersList.delete('host', true)
1529
-
1530
- // 21. If includeCredentials is true, then:
1531
- if (includeCredentials) {
1532
- // 1. If the user agent is not configured to block cookies for httpRequest
1533
- // (see section 7 of [COOKIES]), then:
1534
- // TODO: credentials
1535
-
1536
- // 2. If httpRequest’s header list does not contain `Authorization`, then:
1537
- if (!httpRequest.headersList.contains('authorization', true)) {
1538
- // 1. Let authorizationValue be null.
1539
- let authorizationValue = null
1540
-
1541
- // 2. If there’s an authentication entry for httpRequest and either
1542
- // httpRequest’s use-URL-credentials flag is unset or httpRequest’s
1543
- // current URL does not include credentials, then set
1544
- // authorizationValue to authentication entry.
1545
- if (hasAuthenticationEntry(httpRequest) && (
1546
- httpRequest.useURLCredentials === undefined || !includesCredentials(requestCurrentURL(httpRequest))
1547
- )) {
1548
- // TODO
1549
- } else if (includesCredentials(requestCurrentURL(httpRequest)) && isAuthenticationFetch) {
1550
- // 3. Otherwise, if httpRequest’s current URL does include credentials
1551
- // and isAuthenticationFetch is true, set authorizationValue to
1552
- // httpRequest’s current URL, converted to an `Authorization` value
1553
- const { username, password } = requestCurrentURL(httpRequest)
1554
- authorizationValue = `Basic ${Buffer.from(`${username}:${password}`).toString('base64')}`
1555
- }
1556
-
1557
- // 4. If authorizationValue is non-null, then append (`Authorization`,
1558
- // authorizationValue) to httpRequest’s header list.
1559
- if (authorizationValue !== null) {
1560
- httpRequest.headersList.append('Authorization', authorizationValue, false)
1561
- }
1562
- }
1563
- }
1564
-
1565
- // 21. If there’s a proxy-authentication entry, use it as appropriate.
1566
- // TODO: proxy-authentication
1567
-
1568
- // 22. Set httpCache to the result of determining the HTTP cache
1569
- // partition, given httpRequest.
1570
- // TODO: cache
1571
-
1572
- // 23. If httpCache is null, then set httpRequest’s cache mode to
1573
- // "no-store".
1574
- if (httpCache == null) {
1575
- httpRequest.cache = 'no-store'
1576
- }
1577
-
1578
- // 24. If httpRequest’s cache mode is neither "no-store" nor "reload",
1579
- // then:
1580
- if (httpRequest.cache !== 'no-store' && httpRequest.cache !== 'reload') {
1581
- // TODO: cache
1582
- }
1583
-
1584
- // 9. If aborted, then return the appropriate network error for fetchParams.
1585
- // TODO
1586
-
1587
- // 10. If response is null, then:
1588
- if (response == null) {
1589
- // 1. If httpRequest’s cache mode is "only-if-cached", then return a
1590
- // network error.
1591
- if (httpRequest.cache === 'only-if-cached') {
1592
- return makeNetworkError('only if cached')
1593
- }
1594
-
1595
- // 2. Let forwardResponse be the result of running HTTP-network fetch
1596
- // given httpFetchParams, includeCredentials, and isNewConnectionFetch.
1597
- const forwardResponse = await httpNetworkFetch(
1598
- httpFetchParams,
1599
- includeCredentials,
1600
- isNewConnectionFetch
1601
- )
1602
-
1603
- // 3. If httpRequest’s method is unsafe and forwardResponse’s status is
1604
- // in the range 200 to 399, inclusive, invalidate appropriate stored
1605
- // responses in httpCache, as per the "Invalidation" chapter of HTTP
1606
- // Caching, and set storedResponse to null. [HTTP-CACHING]
1607
- if (
1608
- !safeMethodsSet.has(httpRequest.method) &&
1609
- forwardResponse.status >= 200 &&
1610
- forwardResponse.status <= 399
1611
- ) {
1612
- // TODO: cache
1613
- }
1614
-
1615
- // 4. If the revalidatingFlag is set and forwardResponse’s status is 304,
1616
- // then:
1617
- if (revalidatingFlag && forwardResponse.status === 304) {
1618
- // TODO: cache
1619
- }
1620
-
1621
- // 5. If response is null, then:
1622
- if (response == null) {
1623
- // 1. Set response to forwardResponse.
1624
- response = forwardResponse
1625
-
1626
- // 2. Store httpRequest and forwardResponse in httpCache, as per the
1627
- // "Storing Responses in Caches" chapter of HTTP Caching. [HTTP-CACHING]
1628
- // TODO: cache
1629
- }
1630
- }
1631
-
1632
- // 11. Set response’s URL list to a clone of httpRequest’s URL list.
1633
- response.urlList = [...httpRequest.urlList]
1634
-
1635
- // 12. If httpRequest’s header list contains `Range`, then set response’s
1636
- // range-requested flag.
1637
- if (httpRequest.headersList.contains('range', true)) {
1638
- response.rangeRequested = true
1639
- }
1640
-
1641
- // 13. Set response’s request-includes-credentials to includeCredentials.
1642
- response.requestIncludesCredentials = includeCredentials
1643
-
1644
- // 14. If response’s status is 401, httpRequest’s response tainting is not "cors",
1645
- // includeCredentials is true, and request’s traversable for user prompts is
1646
- // a traversable navigable:
1647
- //
1648
- // In Node.js there is no traversable navigable to prompt the user, but we
1649
- // still need to handle URL-embedded credentials so authentication retries
1650
- // for WebSocket handshakes continue to work.
1651
- if (response.status === 401 && httpRequest.responseTainting !== 'cors' && includeCredentials && (
1652
- request.useURLCredentials !== undefined ||
1653
- isTraversableNavigable(request.traversableForUserPrompts)
1654
- )) {
1655
- // 2. If request’s body is non-null, then:
1656
- if (request.body != null) {
1657
- // 1. If request’s body’s source is null, then return a network error.
1658
- if (request.body.source == null) {
1659
- // Note: In Node.js, this code path should not be reached because
1660
- // isTraversableNavigable() returns false for non-navigable contexts.
1661
- // However, we handle it gracefully by returning the response instead of
1662
- // a network error, as we won't actually retry the request.
1663
- // This aligns with the Fetch spec discussion in whatwg/fetch#1132,
1664
- // which allows implementations flexibility when credentials can't be obtained.
1665
- return response
1666
- }
1667
-
1668
- // 2. Set request’s body to the body of the result of safely extracting
1669
- // request’s body’s source.
1670
- request.body = safelyExtractBody(request.body.source)[0]
1671
- }
1672
-
1673
- // 3. If request’s use-URL-credentials flag is unset or isAuthenticationFetch is
1674
- // true, then:
1675
- if (request.useURLCredentials === undefined || isAuthenticationFetch) {
1676
- // 1. If fetchParams is canceled, then return the appropriate network error
1677
- // for fetchParams.
1678
- if (isCancelled(fetchParams)) {
1679
- return makeAppropriateNetworkError(fetchParams)
1680
- }
1681
-
1682
- // 2. Let username and password be the result of prompting the end user for a
1683
- // username and password, respectively, in request’s traversable for user prompts.
1684
- // TODO
1685
-
1686
- // 3. Set the username given request’s current URL and username.
1687
- // requestCurrentURL(request).username = TODO
1688
-
1689
- // 4. Set the password given request’s current URL and password.
1690
- // requestCurrentURL(request).password = TODO
1691
-
1692
- // In browsers, the user will be prompted to enter a username/password before the request
1693
- // is re-sent. To prevent an infinite 401 loop, return the response for now.
1694
- // https://github.com/nodejs/undici/pull/4756
1695
- return response
1696
- }
1697
-
1698
- // 4. Set response to the result of running HTTP-network-or-cache fetch given
1699
- // fetchParams and true.
1700
- fetchParams.controller.connection.destroy()
1701
-
1702
- response = await httpNetworkOrCacheFetch(fetchParams, true)
1703
- }
1704
-
1705
- // 15. If response’s status is 407, then:
1706
- if (response.status === 407) {
1707
- // 1. If request’s window is "no-window", then return a network error.
1708
- if (request.window === 'no-window') {
1709
- return makeNetworkError()
1710
- }
1711
-
1712
- // 2. ???
1713
-
1714
- // 3. If fetchParams is canceled, then return the appropriate network error for fetchParams.
1715
- if (isCancelled(fetchParams)) {
1716
- return makeAppropriateNetworkError(fetchParams)
1717
- }
1718
-
1719
- // 4. Prompt the end user as appropriate in request’s window and store
1720
- // the result as a proxy-authentication entry. [HTTP-AUTH]
1721
- // TODO: Invoke some kind of callback?
1722
-
1723
- // 5. Set response to the result of running HTTP-network-or-cache fetch given
1724
- // fetchParams.
1725
- // TODO
1726
- return makeNetworkError('proxy authentication required')
1727
- }
1728
-
1729
- // 16. If all of the following are true
1730
- if (
1731
- // response’s status is 421
1732
- response.status === 421 &&
1733
- // isNewConnectionFetch is false
1734
- !isNewConnectionFetch &&
1735
- // request’s body is null, or request’s body is non-null and request’s body’s source is non-null
1736
- (request.body == null || request.body.source != null)
1737
- ) {
1738
- // then:
1739
-
1740
- // 1. If fetchParams is canceled, then return the appropriate network error for fetchParams.
1741
- if (isCancelled(fetchParams)) {
1742
- return makeAppropriateNetworkError(fetchParams)
1743
- }
1744
-
1745
- // 2. Set response to the result of running HTTP-network-or-cache
1746
- // fetch given fetchParams, isAuthenticationFetch, and true.
1747
-
1748
- // TODO (spec): The spec doesn't specify this but we need to cancel
1749
- // the active response before we can start a new one.
1750
- // https://github.com/whatwg/fetch/issues/1293
1751
- fetchParams.controller.connection.destroy()
1752
-
1753
- response = await httpNetworkOrCacheFetch(
1754
- fetchParams,
1755
- isAuthenticationFetch,
1756
- true
1757
- )
1758
- }
1759
-
1760
- // 17. If isAuthenticationFetch is true, then create an authentication entry
1761
- if (isAuthenticationFetch) {
1762
- // TODO
1763
- }
1764
-
1765
- // 18. Return response.
1766
- return response
1767
- }
1768
-
1769
- // https://fetch.spec.whatwg.org/#http-network-fetch
1770
- async function httpNetworkFetch (
1771
- fetchParams,
1772
- includeCredentials = false,
1773
- forceNewConnection = false
1774
- ) {
1775
- assert(!fetchParams.controller.connection || fetchParams.controller.connection.destroyed)
1776
-
1777
- fetchParams.controller.connection = {
1778
- abort: null,
1779
- destroyed: false,
1780
- destroy (err, abort = true) {
1781
- if (!this.destroyed) {
1782
- this.destroyed = true
1783
- if (abort) {
1784
- this.abort?.(err ?? new DOMException('The operation was aborted.', 'AbortError'))
1785
- }
1786
- }
1787
- }
1788
- }
1789
-
1790
- // 1. Let request be fetchParams’s request.
1791
- const request = fetchParams.request
1792
-
1793
- // 2. Let response be null.
1794
- let response = null
1795
-
1796
- // 3. Let timingInfo be fetchParams’s timing info.
1797
- const timingInfo = fetchParams.timingInfo
1798
-
1799
- // 4. Let httpCache be the result of determining the HTTP cache partition,
1800
- // given request.
1801
- // TODO: cache
1802
- const httpCache = null
1803
-
1804
- // 5. If httpCache is null, then set request’s cache mode to "no-store".
1805
- if (httpCache == null) {
1806
- request.cache = 'no-store'
1807
- }
1808
-
1809
- // 6. Let networkPartitionKey be the result of determining the network
1810
- // partition key given request.
1811
- // TODO
1812
-
1813
- // 7. Let newConnection be "yes" if forceNewConnection is true; otherwise
1814
- // "no".
1815
- const newConnection = forceNewConnection ? 'yes' : 'no' // eslint-disable-line no-unused-vars
1816
-
1817
- // 8. Switch on request’s mode:
1818
- if (request.mode === 'websocket') {
1819
- // Let connection be the result of obtaining a WebSocket connection,
1820
- // given request’s current URL.
1821
- // TODO
1822
- } else {
1823
- // Let connection be the result of obtaining a connection, given
1824
- // networkPartitionKey, request’s current URL’s origin,
1825
- // includeCredentials, and forceNewConnection.
1826
- // TODO
1827
- }
1828
-
1829
- // 9. Run these steps, but abort when the ongoing fetch is terminated:
1830
-
1831
- // 1. If connection is failure, then return a network error.
1832
-
1833
- // 2. Set timingInfo’s final connection timing info to the result of
1834
- // calling clamp and coarsen connection timing info with connection’s
1835
- // timing info, timingInfo’s post-redirect start time, and fetchParams’s
1836
- // cross-origin isolated capability.
1837
-
1838
- // 3. If connection is not an HTTP/2 connection, request’s body is non-null,
1839
- // and request’s body’s source is null, then append (`Transfer-Encoding`,
1840
- // `chunked`) to request’s header list.
1841
-
1842
- // 4. Set timingInfo’s final network-request start time to the coarsened
1843
- // shared current time given fetchParams’s cross-origin isolated
1844
- // capability.
1845
-
1846
- // 5. Set response to the result of making an HTTP request over connection
1847
- // using request with the following caveats:
1848
-
1849
- // - Follow the relevant requirements from HTTP. [HTTP] [HTTP-SEMANTICS]
1850
- // [HTTP-COND] [HTTP-CACHING] [HTTP-AUTH]
1851
-
1852
- // - If request’s body is non-null, and request’s body’s source is null,
1853
- // then the user agent may have a buffer of up to 64 kibibytes and store
1854
- // a part of request’s body in that buffer. If the user agent reads from
1855
- // request’s body beyond that buffer’s size and the user agent needs to
1856
- // resend request, then instead return a network error.
1857
-
1858
- // - Set timingInfo’s final network-response start time to the coarsened
1859
- // shared current time given fetchParams’s cross-origin isolated capability,
1860
- // immediately after the user agent’s HTTP parser receives the first byte
1861
- // of the response (e.g., frame header bytes for HTTP/2 or response status
1862
- // line for HTTP/1.x).
1863
-
1864
- // - Wait until all the headers are transmitted.
1865
-
1866
- // - Any responses whose status is in the range 100 to 199, inclusive,
1867
- // and is not 101, are to be ignored, except for the purposes of setting
1868
- // timingInfo’s final network-response start time above.
1869
-
1870
- // - If request’s header list contains `Transfer-Encoding`/`chunked` and
1871
- // response is transferred via HTTP/1.0 or older, then return a network
1872
- // error.
1873
-
1874
- // - If the HTTP request results in a TLS client certificate dialog, then:
1875
-
1876
- // 1. If request’s window is an environment settings object, make the
1877
- // dialog available in request’s window.
1878
-
1879
- // 2. Otherwise, return a network error.
1880
-
1881
- // To transmit request’s body body, run these steps:
1882
- let requestBody = null
1883
- // 1. If body is null and fetchParams’s process request end-of-body is
1884
- // non-null, then queue a fetch task given fetchParams’s process request
1885
- // end-of-body and fetchParams’s task destination.
1886
- if (request.body == null && fetchParams.processRequestEndOfBody) {
1887
- queueMicrotask(() => fetchParams.processRequestEndOfBody())
1888
- } else if (request.body != null) {
1889
- // 2. Otherwise, if body is non-null:
1890
-
1891
- // 1. Let processBodyChunk given bytes be these steps:
1892
- const processBodyChunk = async function * (bytes) {
1893
- // 1. If the ongoing fetch is terminated, then abort these steps.
1894
- if (isCancelled(fetchParams)) {
1895
- return
1896
- }
1897
-
1898
- // 2. Run this step in parallel: transmit bytes.
1899
- yield bytes
1900
-
1901
- // 3. If fetchParams’s process request body is non-null, then run
1902
- // fetchParams’s process request body given bytes’s length.
1903
- fetchParams.processRequestBodyChunkLength?.(bytes.byteLength)
1904
- }
1905
-
1906
- // 2. Let processEndOfBody be these steps:
1907
- const processEndOfBody = () => {
1908
- // 1. If fetchParams is canceled, then abort these steps.
1909
- if (isCancelled(fetchParams)) {
1910
- return
1911
- }
1912
-
1913
- // 2. If fetchParams’s process request end-of-body is non-null,
1914
- // then run fetchParams’s process request end-of-body.
1915
- if (fetchParams.processRequestEndOfBody) {
1916
- fetchParams.processRequestEndOfBody()
1917
- }
1918
- }
1919
-
1920
- // 3. Let processBodyError given e be these steps:
1921
- const processBodyError = (e) => {
1922
- // 1. If fetchParams is canceled, then abort these steps.
1923
- if (isCancelled(fetchParams)) {
1924
- return
1925
- }
1926
-
1927
- // 2. If e is an "AbortError" DOMException, then abort fetchParams’s controller.
1928
- if (e.name === 'AbortError') {
1929
- fetchParams.controller.abort()
1930
- } else {
1931
- fetchParams.controller.terminate(e)
1932
- }
1933
- }
1934
-
1935
- // 4. Incrementally read request’s body given processBodyChunk, processEndOfBody,
1936
- // processBodyError, and fetchParams’s task destination.
1937
- requestBody = (async function * () {
1938
- try {
1939
- for await (const bytes of request.body.stream) {
1940
- yield * processBodyChunk(bytes)
1941
- }
1942
- processEndOfBody()
1943
- } catch (err) {
1944
- processBodyError(err)
1945
- }
1946
- })()
1947
- }
1948
-
1949
- try {
1950
- // socket is only provided for websockets
1951
- const { body, status, statusText, headersList, socket } = await dispatch({ body: requestBody })
1952
-
1953
- if (socket) {
1954
- response = makeResponse({ status, statusText, headersList, socket })
1955
- } else {
1956
- const iterator = body[Symbol.asyncIterator]()
1957
- fetchParams.controller.next = () => iterator.next()
1958
-
1959
- response = makeResponse({ status, statusText, headersList })
1960
- }
1961
- } catch (err) {
1962
- // 10. If aborted, then:
1963
- if (err.name === 'AbortError') {
1964
- // 1. If connection uses HTTP/2, then transmit an RST_STREAM frame.
1965
- fetchParams.controller.connection.destroy()
1966
-
1967
- // 2. Return the appropriate network error for fetchParams.
1968
- return makeAppropriateNetworkError(fetchParams, err)
1969
- }
1970
-
1971
- return makeNetworkError(err)
1972
- }
1973
-
1974
- // 11. Let pullAlgorithm be an action that resumes the ongoing fetch
1975
- // if it is suspended.
1976
- const pullAlgorithm = () => {
1977
- return fetchParams.controller.resume()
1978
- }
1979
-
1980
- // 12. Let cancelAlgorithm be an algorithm that aborts fetchParams’s
1981
- // controller with reason, given reason.
1982
- const cancelAlgorithm = (reason) => {
1983
- // If the aborted fetch was already terminated, then we do not
1984
- // need to do anything.
1985
- if (!isCancelled(fetchParams)) {
1986
- fetchParams.controller.abort(reason)
1987
- }
1988
- }
1989
-
1990
- // 13. Let highWaterMark be a non-negative, non-NaN number, chosen by
1991
- // the user agent.
1992
- // TODO
1993
-
1994
- // 14. Let sizeAlgorithm be an algorithm that accepts a chunk object
1995
- // and returns a non-negative, non-NaN, non-infinite number, chosen by the user agent.
1996
- // TODO
1997
-
1998
- // 15. Let stream be a new ReadableStream.
1999
- // 16. Set up stream with byte reading support with pullAlgorithm set to pullAlgorithm,
2000
- // cancelAlgorithm set to cancelAlgorithm.
2001
- const stream = new ReadableStream(
2002
- {
2003
- start (controller) {
2004
- fetchParams.controller.controller = controller
2005
- },
2006
- pull: pullAlgorithm,
2007
- cancel: cancelAlgorithm,
2008
- type: 'bytes'
2009
- }
2010
- )
2011
-
2012
- // 17. Run these steps, but abort when the ongoing fetch is terminated:
2013
-
2014
- // 1. Set response’s body to a new body whose stream is stream.
2015
- response.body = { stream, source: null, length: null }
2016
-
2017
- // 2. If response is not a network error and request’s cache mode is
2018
- // not "no-store", then update response in httpCache for request.
2019
- // TODO
2020
-
2021
- // 3. If includeCredentials is true and the user agent is not configured
2022
- // to block cookies for request (see section 7 of [COOKIES]), then run the
2023
- // "set-cookie-string" parsing algorithm (see section 5.2 of [COOKIES]) on
2024
- // the value of each header whose name is a byte-case-insensitive match for
2025
- // `Set-Cookie` in response’s header list, if any, and request’s current URL.
2026
- // TODO
2027
-
2028
- // 18. If aborted, then:
2029
- // TODO
2030
-
2031
- // 19. Run these steps in parallel:
2032
-
2033
- // 1. Run these steps, but abort when fetchParams is canceled:
2034
- if (!fetchParams.controller.resume) {
2035
- fetchParams.controller.on('terminated', onAborted)
2036
- }
2037
-
2038
- fetchParams.controller.resume = async () => {
2039
- // 1. While true
2040
- while (true) {
2041
- // 1-3. See onData...
2042
-
2043
- // 4. Set bytes to the result of handling content codings given
2044
- // codings and bytes.
2045
- let bytes
2046
- let isFailure
2047
- try {
2048
- const { done, value } = await fetchParams.controller.next()
2049
-
2050
- if (isAborted(fetchParams)) {
2051
- break
2052
- }
2053
-
2054
- bytes = done ? undefined : value
2055
- } catch (err) {
2056
- if (fetchParams.controller.ended && !timingInfo.encodedBodySize) {
2057
- // zlib doesn't like empty streams.
2058
- bytes = undefined
2059
- } else {
2060
- bytes = err
2061
-
2062
- // err may be propagated from the result of calling readablestream.cancel,
2063
- // which might not be an error. https://github.com/nodejs/undici/issues/2009
2064
- isFailure = true
2065
- }
2066
- }
2067
-
2068
- if (bytes === undefined) {
2069
- // 2. Otherwise, if the bytes transmission for response’s message
2070
- // body is done normally and stream is readable, then close
2071
- // stream, finalize response for fetchParams and response, and
2072
- // abort these in-parallel steps.
2073
- readableStreamClose(fetchParams.controller.controller)
2074
-
2075
- finalizeResponse(fetchParams, response)
2076
-
2077
- return
2078
- }
2079
-
2080
- // 5. Increase timingInfo’s decoded body size by bytes’s length.
2081
- timingInfo.decodedBodySize += bytes?.byteLength ?? 0
2082
-
2083
- // 6. If bytes is failure, then terminate fetchParams’s controller.
2084
- if (isFailure) {
2085
- fetchParams.controller.terminate(bytes)
2086
- return
2087
- }
2088
-
2089
- // 7. Enqueue a Uint8Array wrapping an ArrayBuffer containing bytes
2090
- // into stream.
2091
- const buffer = new Uint8Array(bytes)
2092
- if (buffer.byteLength) {
2093
- fetchParams.controller.controller.enqueue(buffer)
2094
- }
2095
-
2096
- // 8. If stream is errored, then terminate the ongoing fetch.
2097
- if (isErrored(stream)) {
2098
- fetchParams.controller.terminate()
2099
- return
2100
- }
2101
-
2102
- // 9. If stream doesn’t need more data ask the user agent to suspend
2103
- // the ongoing fetch.
2104
- if (fetchParams.controller.controller.desiredSize <= 0) {
2105
- return
2106
- }
2107
- }
2108
- }
2109
-
2110
- // 2. If aborted, then:
2111
- function onAborted (reason) {
2112
- // 2. If fetchParams is aborted, then:
2113
- if (isAborted(fetchParams)) {
2114
- // 1. Set response’s aborted flag.
2115
- response.aborted = true
2116
-
2117
- // 2. If stream is readable, then error stream with the result of
2118
- // deserialize a serialized abort reason given fetchParams’s
2119
- // controller’s serialized abort reason and an
2120
- // implementation-defined realm.
2121
- if (isReadable(stream)) {
2122
- fetchParams.controller.controller.error(
2123
- fetchParams.controller.serializedAbortReason
2124
- )
2125
- }
2126
- } else {
2127
- // 3. Otherwise, if stream is readable, error stream with a TypeError.
2128
- if (isReadable(stream)) {
2129
- fetchParams.controller.controller.error(new TypeError('terminated', {
2130
- cause: isErrorLike(reason) ? reason : undefined
2131
- }))
2132
- }
2133
- }
2134
-
2135
- // 4. If connection uses HTTP/2, then transmit an RST_STREAM frame.
2136
- // 5. Otherwise, the user agent should close connection unless it would be bad for performance to do so.
2137
- fetchParams.controller.connection.destroy()
2138
- }
2139
-
2140
- // 20. Return response.
2141
- return response
2142
-
2143
- function dispatch ({ body }) {
2144
- const url = requestCurrentURL(request)
2145
- /** @type {import('../../..').Agent} */
2146
- const agent = fetchParams.controller.dispatcher
2147
-
2148
- const path = url.pathname + url.search
2149
- const hasTrailingQuestionMark = url.search.length === 0 && url.href[url.href.length - url.hash.length - 1] === '?'
2150
-
2151
- return new Promise((resolve, reject) => agent.dispatch(
2152
- {
2153
- path: hasTrailingQuestionMark ? `${path}?` : path,
2154
- origin: url.origin,
2155
- method: request.method,
2156
- body: agent.isMockActive ? request.body && (request.body.source || request.body.stream) : body,
2157
- headers: request.headersList.entries,
2158
- maxRedirections: 0,
2159
- upgrade: request.mode === 'websocket' ? 'websocket' : undefined
2160
- },
2161
- {
2162
- body: null,
2163
- abort: null,
2164
-
2165
- onConnect (abort) {
2166
- // TODO (fix): Do we need connection here?
2167
- const { connection } = fetchParams.controller
2168
-
2169
- // Set timingInfo’s final connection timing info to the result of calling clamp and coarsen
2170
- // connection timing info with connection’s timing info, timingInfo’s post-redirect start
2171
- // time, and fetchParams’s cross-origin isolated capability.
2172
- // TODO: implement connection timing
2173
- timingInfo.finalConnectionTimingInfo = clampAndCoarsenConnectionTimingInfo(undefined, timingInfo.postRedirectStartTime, fetchParams.crossOriginIsolatedCapability)
2174
-
2175
- if (connection.destroyed) {
2176
- abort(new DOMException('The operation was aborted.', 'AbortError'))
2177
- } else {
2178
- fetchParams.controller.on('terminated', abort)
2179
- this.abort = connection.abort = abort
2180
- }
2181
-
2182
- // Set timingInfo’s final network-request start time to the coarsened shared current time given
2183
- // fetchParams’s cross-origin isolated capability.
2184
- timingInfo.finalNetworkRequestStartTime = coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)
2185
- },
2186
-
2187
- onResponseStarted () {
2188
- // Set timingInfo’s final network-response start time to the coarsened shared current
2189
- // time given fetchParams’s cross-origin isolated capability, immediately after the
2190
- // user agent’s HTTP parser receives the first byte of the response (e.g., frame header
2191
- // bytes for HTTP/2 or response status line for HTTP/1.x).
2192
- timingInfo.finalNetworkResponseStartTime = coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)
2193
- },
2194
-
2195
- onHeaders (status, rawHeaders, resume, statusText) {
2196
- if (status < 200) {
2197
- return false
2198
- }
2199
-
2200
- const headersList = new HeadersList()
2201
-
2202
- for (let i = 0; i < rawHeaders.length; i += 2) {
2203
- const nameStr = bufferToLowerCasedHeaderName(rawHeaders[i])
2204
- const value = rawHeaders[i + 1]
2205
- if (Array.isArray(value) && !Buffer.isBuffer(rawHeaders[i + 1])) {
2206
- for (const val of value) {
2207
- headersList.append(nameStr, val.toString('latin1'), true)
2208
- }
2209
- } else {
2210
- headersList.append(nameStr, value.toString('latin1'), true)
2211
- }
2212
- }
2213
- const location = headersList.get('location', true)
2214
-
2215
- this.body = new Readable({ read: resume })
2216
-
2217
- const willFollow = location && request.redirect === 'follow' &&
2218
- redirectStatusSet.has(status)
2219
-
2220
- const decoders = []
2221
-
2222
- // https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding
2223
- if (request.method !== 'HEAD' && request.method !== 'CONNECT' && !nullBodyStatus.includes(status) && !willFollow) {
2224
- // https://www.rfc-editor.org/rfc/rfc7231#section-3.1.2.1
2225
- const contentEncoding = headersList.get('content-encoding', true)
2226
- // "All content-coding values are case-insensitive..."
2227
- /** @type {string[]} */
2228
- const codings = contentEncoding ? contentEncoding.toLowerCase().split(',') : []
2229
-
2230
- // Limit the number of content-encodings to prevent resource exhaustion.
2231
- // CVE fix similar to urllib3 (GHSA-gm62-xv2j-4w53) and curl (CVE-2022-32206).
2232
- const maxContentEncodings = 5
2233
- if (codings.length > maxContentEncodings) {
2234
- reject(new Error(`too many content-encodings in response: ${codings.length}, maximum allowed is ${maxContentEncodings}`))
2235
- return true
2236
- }
2237
-
2238
- for (let i = codings.length - 1; i >= 0; --i) {
2239
- const coding = codings[i].trim()
2240
- // https://www.rfc-editor.org/rfc/rfc9112.html#section-7.2
2241
- if (coding === 'x-gzip' || coding === 'gzip') {
2242
- decoders.push(zlib.createGunzip({
2243
- // Be less strict when decoding compressed responses, since sometimes
2244
- // servers send slightly invalid responses that are still accepted
2245
- // by common browsers.
2246
- // Always using Z_SYNC_FLUSH is what cURL does.
2247
- flush: zlib.constants.Z_SYNC_FLUSH,
2248
- finishFlush: zlib.constants.Z_SYNC_FLUSH
2249
- }))
2250
- } else if (coding === 'deflate') {
2251
- decoders.push(createInflate({
2252
- flush: zlib.constants.Z_SYNC_FLUSH,
2253
- finishFlush: zlib.constants.Z_SYNC_FLUSH
2254
- }))
2255
- } else if (coding === 'br') {
2256
- decoders.push(zlib.createBrotliDecompress({
2257
- flush: zlib.constants.BROTLI_OPERATION_FLUSH,
2258
- finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH
2259
- }))
2260
- } else if (coding === 'zstd' && hasZstd) {
2261
- decoders.push(zlib.createZstdDecompress({
2262
- flush: zlib.constants.ZSTD_e_continue,
2263
- finishFlush: zlib.constants.ZSTD_e_end
2264
- }))
2265
- } else {
2266
- decoders.length = 0
2267
- break
2268
- }
2269
- }
2270
- }
2271
-
2272
- const onError = this.onError.bind(this)
2273
-
2274
- resolve({
2275
- status,
2276
- statusText,
2277
- headersList,
2278
- body: decoders.length
2279
- ? pipeline(this.body, ...decoders, (err) => {
2280
- if (err) {
2281
- this.onError(err)
2282
- }
2283
- }).on('error', onError)
2284
- : this.body.on('error', onError)
2285
- })
2286
-
2287
- return true
2288
- },
2289
-
2290
- onData (chunk) {
2291
- if (fetchParams.controller.dump) {
2292
- return
2293
- }
2294
-
2295
- // 1. If one or more bytes have been transmitted from response’s
2296
- // message body, then:
2297
-
2298
- // 1. Let bytes be the transmitted bytes.
2299
- const bytes = chunk
2300
-
2301
- // 2. Let codings be the result of extracting header list values
2302
- // given `Content-Encoding` and response’s header list.
2303
- // See pullAlgorithm.
2304
-
2305
- // 3. Increase timingInfo’s encoded body size by bytes’s length.
2306
- timingInfo.encodedBodySize += bytes.byteLength
2307
-
2308
- // 4. See pullAlgorithm...
2309
-
2310
- return this.body.push(bytes)
2311
- },
2312
-
2313
- onComplete () {
2314
- if (this.abort) {
2315
- fetchParams.controller.off('terminated', this.abort)
2316
- }
2317
-
2318
- fetchParams.controller.ended = true
2319
-
2320
- this.body.push(null)
2321
- },
2322
-
2323
- onError (error) {
2324
- if (this.abort) {
2325
- fetchParams.controller.off('terminated', this.abort)
2326
- }
2327
-
2328
- this.body?.destroy(error)
2329
-
2330
- fetchParams.controller.terminate(error)
2331
-
2332
- reject(error)
2333
- },
2334
-
2335
- onRequestUpgrade (_controller, status, headers, socket) {
2336
- // We need to support 200 for websocket over h2 as per RFC-8441
2337
- // Absence of session means H1
2338
- if ((socket.session != null && status !== 200) || (socket.session == null && status !== 101)) {
2339
- return false
2340
- }
2341
-
2342
- const headersList = new HeadersList()
2343
-
2344
- for (const [name, value] of Object.entries(headers)) {
2345
- if (value == null) {
2346
- continue
2347
- }
2348
-
2349
- const headerName = name.toLowerCase()
2350
-
2351
- if (Array.isArray(value)) {
2352
- for (const entry of value) {
2353
- headersList.append(headerName, String(entry), true)
2354
- }
2355
- } else {
2356
- headersList.append(headerName, String(value), true)
2357
- }
2358
- }
2359
-
2360
- resolve({
2361
- status,
2362
- statusText: STATUS_CODES[status],
2363
- headersList,
2364
- socket
2365
- })
2366
-
2367
- return true
2368
- },
2369
-
2370
- onUpgrade (status, rawHeaders, socket) {
2371
- // We need to support 200 for websocket over h2 as per RFC-8441
2372
- // Absence of session means H1
2373
- if ((socket.session != null && status !== 200) || (socket.session == null && status !== 101)) {
2374
- return false
2375
- }
2376
-
2377
- const headersList = new HeadersList()
2378
-
2379
- for (let i = 0; i < rawHeaders.length; i += 2) {
2380
- const nameStr = bufferToLowerCasedHeaderName(rawHeaders[i])
2381
- const value = rawHeaders[i + 1]
2382
- if (Array.isArray(value) && !Buffer.isBuffer(rawHeaders[i + 1])) {
2383
- for (const val of value) {
2384
- headersList.append(nameStr, val.toString('latin1'), true)
2385
- }
2386
- } else {
2387
- headersList.append(nameStr, value.toString('latin1'), true)
2388
- }
2389
- }
2390
-
2391
- resolve({
2392
- status,
2393
- statusText: STATUS_CODES[status],
2394
- headersList,
2395
- socket
2396
- })
2397
-
2398
- return true
2399
- }
2400
- }
2401
- ))
2402
- }
2403
- }
2404
-
2405
- module.exports = {
2406
- fetch,
2407
- Fetch,
2408
- fetching,
2409
- finalizeAndReportTiming
2410
- }