pi-cursor-sdk 0.1.12 → 0.1.13

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 (2604) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/package.json +2 -5
  3. package/node_modules/@bufbuild/protobuf/README.md +0 -43
  4. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.d.ts +0 -422
  5. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.js +0 -444
  6. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.d.ts +0 -113
  7. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.js +0 -15
  8. package/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.d.ts +0 -33
  9. package/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.js +0 -69
  10. package/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.d.ts +0 -36
  11. package/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.js +0 -910
  12. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.d.ts +0 -15
  13. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.js +0 -264
  14. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.d.ts +0 -9
  15. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.js +0 -94
  16. package/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.d.ts +0 -672
  17. package/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.js +0 -15
  18. package/node_modules/@bufbuild/protobuf/dist/cjs/enum.d.ts +0 -35
  19. package/node_modules/@bufbuild/protobuf/dist/cjs/enum.js +0 -15
  20. package/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.d.ts +0 -35
  21. package/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.js +0 -114
  22. package/node_modules/@bufbuild/protobuf/dist/cjs/extension.d.ts +0 -24
  23. package/node_modules/@bufbuild/protobuf/dist/cjs/extension.js +0 -15
  24. package/node_modules/@bufbuild/protobuf/dist/cjs/field-list.d.ts +0 -27
  25. package/node_modules/@bufbuild/protobuf/dist/cjs/field-list.js +0 -15
  26. package/node_modules/@bufbuild/protobuf/dist/cjs/field.d.ts +0 -314
  27. package/node_modules/@bufbuild/protobuf/dist/cjs/field.js +0 -15
  28. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.d.ts +0 -157
  29. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.js +0 -273
  30. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.d.ts +0 -256
  31. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.js +0 -316
  32. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.d.ts +0 -271
  33. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.js +0 -219
  34. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.d.ts +0 -2277
  35. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.js +0 -2077
  36. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.d.ts +0 -100
  37. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.js +0 -169
  38. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.d.ts +0 -28
  39. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.js +0 -52
  40. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.d.ts +0 -227
  41. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.js +0 -311
  42. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.d.ts +0 -29
  43. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.js +0 -55
  44. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.d.ts +0 -158
  45. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.js +0 -240
  46. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.d.ts +0 -132
  47. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.js +0 -213
  48. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.d.ts +0 -437
  49. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.js +0 -562
  50. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.d.ts +0 -267
  51. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.js +0 -569
  52. package/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.d.ts +0 -70
  53. package/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.js +0 -323
  54. package/node_modules/@bufbuild/protobuf/dist/cjs/index.d.ts +0 -42
  55. package/node_modules/@bufbuild/protobuf/dist/cjs/index.js +0 -84
  56. package/node_modules/@bufbuild/protobuf/dist/cjs/is-message.d.ts +0 -22
  57. package/node_modules/@bufbuild/protobuf/dist/cjs/is-message.js +0 -52
  58. package/node_modules/@bufbuild/protobuf/dist/cjs/json-format.d.ts +0 -111
  59. package/node_modules/@bufbuild/protobuf/dist/cjs/json-format.js +0 -15
  60. package/node_modules/@bufbuild/protobuf/dist/cjs/message-type.d.ts +0 -51
  61. package/node_modules/@bufbuild/protobuf/dist/cjs/message-type.js +0 -15
  62. package/node_modules/@bufbuild/protobuf/dist/cjs/message.d.ts +0 -131
  63. package/node_modules/@bufbuild/protobuf/dist/cjs/message.js +0 -129
  64. package/node_modules/@bufbuild/protobuf/dist/cjs/package.json +0 -1
  65. package/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.d.ts +0 -16
  66. package/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.js +0 -59
  67. package/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.d.ts +0 -7
  68. package/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.js +0 -431
  69. package/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.d.ts +0 -27
  70. package/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.js +0 -94
  71. package/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.d.ts +0 -34
  72. package/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.js +0 -86
  73. package/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.d.ts +0 -19
  74. package/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.js +0 -120
  75. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.d.ts +0 -18
  76. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.js +0 -76
  77. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.d.ts +0 -9
  78. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.js +0 -69
  79. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.d.ts +0 -25
  80. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.js +0 -57
  81. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field.d.ts +0 -16
  82. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field.js +0 -45
  83. package/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.d.ts +0 -2
  84. package/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.js +0 -626
  85. package/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.d.ts +0 -18
  86. package/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.js +0 -50
  87. package/node_modules/@bufbuild/protobuf/dist/cjs/private/names.d.ts +0 -43
  88. package/node_modules/@bufbuild/protobuf/dist/cjs/private/names.js +0 -278
  89. package/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.d.ts +0 -7
  90. package/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.js +0 -15
  91. package/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.d.ts +0 -53
  92. package/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.js +0 -41
  93. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.d.ts +0 -9
  94. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.js +0 -79
  95. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.d.ts +0 -102
  96. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.js +0 -172
  97. package/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.d.ts +0 -18
  98. package/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.js +0 -105
  99. package/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.d.ts +0 -4
  100. package/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.js +0 -189
  101. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.d.ts +0 -2
  102. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.js +0 -237
  103. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util.d.ts +0 -38
  104. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util.js +0 -15
  105. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.d.ts +0 -18
  106. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.js +0 -128
  107. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.d.ts +0 -54
  108. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.js +0 -155
  109. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.d.ts +0 -5
  110. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.js +0 -29
  111. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.d.ts +0 -95
  112. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.js +0 -116
  113. package/node_modules/@bufbuild/protobuf/dist/cjs/proto2.d.ts +0 -4
  114. package/node_modules/@bufbuild/protobuf/dist/cjs/proto2.js +0 -53
  115. package/node_modules/@bufbuild/protobuf/dist/cjs/proto3.d.ts +0 -4
  116. package/node_modules/@bufbuild/protobuf/dist/cjs/proto3.js +0 -56
  117. package/node_modules/@bufbuild/protobuf/dist/cjs/scalar.d.ts +0 -53
  118. package/node_modules/@bufbuild/protobuf/dist/cjs/scalar.js +0 -81
  119. package/node_modules/@bufbuild/protobuf/dist/cjs/service-type.d.ts +0 -96
  120. package/node_modules/@bufbuild/protobuf/dist/cjs/service-type.js +0 -53
  121. package/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.d.ts +0 -12
  122. package/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.js +0 -72
  123. package/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.d.ts +0 -57
  124. package/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.js +0 -15
  125. package/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.d.ts +0 -422
  126. package/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.js +0 -439
  127. package/node_modules/@bufbuild/protobuf/dist/esm/binary-format.d.ts +0 -113
  128. package/node_modules/@bufbuild/protobuf/dist/esm/binary-format.js +0 -14
  129. package/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.d.ts +0 -33
  130. package/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.js +0 -67
  131. package/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.d.ts +0 -36
  132. package/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.js +0 -906
  133. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.d.ts +0 -15
  134. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.js +0 -261
  135. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry.d.ts +0 -9
  136. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry.js +0 -90
  137. package/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.d.ts +0 -672
  138. package/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.js +0 -14
  139. package/node_modules/@bufbuild/protobuf/dist/esm/enum.d.ts +0 -35
  140. package/node_modules/@bufbuild/protobuf/dist/esm/enum.js +0 -14
  141. package/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.d.ts +0 -35
  142. package/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.js +0 -107
  143. package/node_modules/@bufbuild/protobuf/dist/esm/extension.d.ts +0 -24
  144. package/node_modules/@bufbuild/protobuf/dist/esm/extension.js +0 -14
  145. package/node_modules/@bufbuild/protobuf/dist/esm/field-list.d.ts +0 -27
  146. package/node_modules/@bufbuild/protobuf/dist/esm/field-list.js +0 -14
  147. package/node_modules/@bufbuild/protobuf/dist/esm/field.d.ts +0 -314
  148. package/node_modules/@bufbuild/protobuf/dist/esm/field.js +0 -14
  149. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.d.ts +0 -157
  150. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.js +0 -269
  151. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.d.ts +0 -256
  152. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.js +0 -310
  153. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.d.ts +0 -271
  154. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.js +0 -212
  155. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.d.ts +0 -2277
  156. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.js +0 -2041
  157. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.d.ts +0 -100
  158. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.js +0 -165
  159. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.d.ts +0 -28
  160. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.js +0 -48
  161. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.d.ts +0 -227
  162. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.js +0 -307
  163. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.d.ts +0 -29
  164. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.js +0 -51
  165. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.d.ts +0 -158
  166. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.js +0 -234
  167. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.d.ts +0 -132
  168. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.js +0 -209
  169. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.d.ts +0 -437
  170. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.js +0 -554
  171. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.d.ts +0 -267
  172. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.js +0 -557
  173. package/node_modules/@bufbuild/protobuf/dist/esm/google/varint.d.ts +0 -70
  174. package/node_modules/@bufbuild/protobuf/dist/esm/google/varint.js +0 -313
  175. package/node_modules/@bufbuild/protobuf/dist/esm/index.d.ts +0 -42
  176. package/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -43
  177. package/node_modules/@bufbuild/protobuf/dist/esm/is-message.d.ts +0 -22
  178. package/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +0 -48
  179. package/node_modules/@bufbuild/protobuf/dist/esm/json-format.d.ts +0 -111
  180. package/node_modules/@bufbuild/protobuf/dist/esm/json-format.js +0 -14
  181. package/node_modules/@bufbuild/protobuf/dist/esm/message-type.d.ts +0 -51
  182. package/node_modules/@bufbuild/protobuf/dist/esm/message-type.js +0 -14
  183. package/node_modules/@bufbuild/protobuf/dist/esm/message.d.ts +0 -131
  184. package/node_modules/@bufbuild/protobuf/dist/esm/message.js +0 -125
  185. package/node_modules/@bufbuild/protobuf/dist/esm/private/assert.d.ts +0 -16
  186. package/node_modules/@bufbuild/protobuf/dist/esm/private/assert.js +0 -52
  187. package/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.d.ts +0 -7
  188. package/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.js +0 -427
  189. package/node_modules/@bufbuild/protobuf/dist/esm/private/enum.d.ts +0 -27
  190. package/node_modules/@bufbuild/protobuf/dist/esm/private/enum.js +0 -87
  191. package/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.d.ts +0 -34
  192. package/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.js +0 -81
  193. package/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.d.ts +0 -19
  194. package/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.js +0 -116
  195. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.d.ts +0 -18
  196. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.js +0 -72
  197. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.d.ts +0 -9
  198. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.js +0 -65
  199. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.d.ts +0 -25
  200. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.js +0 -53
  201. package/node_modules/@bufbuild/protobuf/dist/esm/private/field.d.ts +0 -16
  202. package/node_modules/@bufbuild/protobuf/dist/esm/private/field.js +0 -41
  203. package/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.d.ts +0 -2
  204. package/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.js +0 -623
  205. package/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.d.ts +0 -18
  206. package/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.js +0 -46
  207. package/node_modules/@bufbuild/protobuf/dist/esm/private/names.d.ts +0 -43
  208. package/node_modules/@bufbuild/protobuf/dist/esm/private/names.js +0 -269
  209. package/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.d.ts +0 -7
  210. package/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.js +0 -14
  211. package/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.d.ts +0 -53
  212. package/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.js +0 -37
  213. package/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.d.ts +0 -9
  214. package/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.js +0 -74
  215. package/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.d.ts +0 -102
  216. package/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.js +0 -168
  217. package/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.d.ts +0 -18
  218. package/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.js +0 -99
  219. package/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.d.ts +0 -4
  220. package/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.js +0 -184
  221. package/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.d.ts +0 -2
  222. package/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.js +0 -234
  223. package/node_modules/@bufbuild/protobuf/dist/esm/private/util.d.ts +0 -38
  224. package/node_modules/@bufbuild/protobuf/dist/esm/private/util.js +0 -14
  225. package/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.d.ts +0 -18
  226. package/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.js +0 -125
  227. package/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.d.ts +0 -54
  228. package/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.js +0 -152
  229. package/node_modules/@bufbuild/protobuf/dist/esm/proto-double.d.ts +0 -5
  230. package/node_modules/@bufbuild/protobuf/dist/esm/proto-double.js +0 -26
  231. package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.d.ts +0 -95
  232. package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +0 -113
  233. package/node_modules/@bufbuild/protobuf/dist/esm/proto2.d.ts +0 -4
  234. package/node_modules/@bufbuild/protobuf/dist/esm/proto2.js +0 -50
  235. package/node_modules/@bufbuild/protobuf/dist/esm/proto3.d.ts +0 -4
  236. package/node_modules/@bufbuild/protobuf/dist/esm/proto3.js +0 -53
  237. package/node_modules/@bufbuild/protobuf/dist/esm/scalar.d.ts +0 -53
  238. package/node_modules/@bufbuild/protobuf/dist/esm/scalar.js +0 -78
  239. package/node_modules/@bufbuild/protobuf/dist/esm/service-type.d.ts +0 -96
  240. package/node_modules/@bufbuild/protobuf/dist/esm/service-type.js +0 -50
  241. package/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.d.ts +0 -12
  242. package/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.js +0 -70
  243. package/node_modules/@bufbuild/protobuf/dist/esm/type-registry.d.ts +0 -57
  244. package/node_modules/@bufbuild/protobuf/dist/esm/type-registry.js +0 -14
  245. package/node_modules/@bufbuild/protobuf/package.json +0 -34
  246. package/node_modules/@connectrpc/connect/README.md +0 -62
  247. package/node_modules/@connectrpc/connect/dist/cjs/any-client.d.ts +0 -22
  248. package/node_modules/@connectrpc/connect/dist/cjs/any-client.js +0 -34
  249. package/node_modules/@connectrpc/connect/dist/cjs/call-options.d.ts +0 -34
  250. package/node_modules/@connectrpc/connect/dist/cjs/call-options.js +0 -15
  251. package/node_modules/@connectrpc/connect/dist/cjs/callback-client.d.ts +0 -31
  252. package/node_modules/@connectrpc/connect/dist/cjs/callback-client.js +0 -116
  253. package/node_modules/@connectrpc/connect/dist/cjs/code.d.ts +0 -75
  254. package/node_modules/@connectrpc/connect/dist/cjs/code.js +0 -92
  255. package/node_modules/@connectrpc/connect/dist/cjs/connect-error.d.ts +0 -90
  256. package/node_modules/@connectrpc/connect/dist/cjs/connect-error.js +0 -134
  257. package/node_modules/@connectrpc/connect/dist/cjs/context-values.d.ts +0 -34
  258. package/node_modules/@connectrpc/connect/dist/cjs/context-values.js +0 -41
  259. package/node_modules/@connectrpc/connect/dist/cjs/cors.d.ts +0 -45
  260. package/node_modules/@connectrpc/connect/dist/cjs/cors.js +0 -82
  261. package/node_modules/@connectrpc/connect/dist/cjs/http-headers.d.ts +0 -36
  262. package/node_modules/@connectrpc/connect/dist/cjs/http-headers.js +0 -68
  263. package/node_modules/@connectrpc/connect/dist/cjs/implementation.d.ts +0 -165
  264. package/node_modules/@connectrpc/connect/dist/cjs/implementation.js +0 -79
  265. package/node_modules/@connectrpc/connect/dist/cjs/index.d.ts +0 -22
  266. package/node_modules/@connectrpc/connect/dist/cjs/index.js +0 -47
  267. package/node_modules/@connectrpc/connect/dist/cjs/interceptor.d.ts +0 -155
  268. package/node_modules/@connectrpc/connect/dist/cjs/interceptor.js +0 -27
  269. package/node_modules/@connectrpc/connect/dist/cjs/method-type.d.ts +0 -43
  270. package/node_modules/@connectrpc/connect/dist/cjs/method-type.js +0 -15
  271. package/node_modules/@connectrpc/connect/dist/cjs/package.json +0 -1
  272. package/node_modules/@connectrpc/connect/dist/cjs/promise-client.d.ts +0 -49
  273. package/node_modules/@connectrpc/connect/dist/cjs/promise-client.js +0 -147
  274. package/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.d.ts +0 -527
  275. package/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.js +0 -959
  276. package/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.d.ts +0 -48
  277. package/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.js +0 -75
  278. package/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.d.ts +0 -16
  279. package/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.js +0 -43
  280. package/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.d.ts +0 -17
  281. package/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.js +0 -36
  282. package/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.d.ts +0 -59
  283. package/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.js +0 -152
  284. package/node_modules/@connectrpc/connect/dist/cjs/protocol/index.d.ts +0 -24
  285. package/node_modules/@connectrpc/connect/dist/cjs/protocol/index.js +0 -93
  286. package/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.d.ts +0 -21
  287. package/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.js +0 -250
  288. package/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.d.ts +0 -24
  289. package/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.js +0 -80
  290. package/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.d.ts +0 -12
  291. package/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.js +0 -56
  292. package/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.d.ts +0 -18
  293. package/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.js +0 -15
  294. package/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.d.ts +0 -45
  295. package/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.js +0 -119
  296. package/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.d.ts +0 -104
  297. package/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.js +0 -148
  298. package/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.d.ts +0 -36
  299. package/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.js +0 -100
  300. package/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.d.ts +0 -98
  301. package/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.js +0 -15
  302. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.d.ts +0 -35
  303. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.js +0 -150
  304. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.d.ts +0 -7
  305. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.js +0 -90
  306. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.d.ts +0 -155
  307. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.js +0 -131
  308. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.d.ts +0 -102
  309. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.js +0 -78
  310. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.d.ts +0 -16
  311. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.js +0 -52
  312. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.d.ts +0 -40
  313. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.js +0 -71
  314. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.d.ts +0 -44
  315. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.js +0 -132
  316. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.d.ts +0 -36
  317. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.js +0 -163
  318. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.d.ts +0 -7
  319. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.js +0 -68
  320. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.d.ts +0 -6
  321. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.js +0 -281
  322. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.d.ts +0 -12
  323. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.js +0 -28
  324. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.d.ts +0 -15
  325. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.js +0 -90
  326. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.d.ts +0 -16
  327. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.js +0 -81
  328. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.d.ts +0 -13
  329. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.js +0 -44
  330. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.d.ts +0 -8
  331. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.js +0 -24
  332. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.d.ts +0 -19
  333. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.js +0 -70
  334. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.d.ts +0 -19
  335. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.js +0 -53
  336. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.d.ts +0 -6
  337. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.js +0 -214
  338. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.d.ts +0 -30
  339. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.js +0 -72
  340. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.d.ts +0 -20
  341. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.js +0 -58
  342. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.d.ts +0 -16
  343. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.js +0 -38
  344. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.d.ts +0 -89
  345. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.js +0 -120
  346. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.d.ts +0 -6
  347. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.js +0 -122
  348. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.d.ts +0 -12
  349. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.js +0 -28
  350. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.d.ts +0 -8
  351. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.js +0 -46
  352. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.d.ts +0 -10
  353. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.js +0 -61
  354. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.d.ts +0 -13
  355. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.js +0 -53
  356. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.d.ts +0 -13
  357. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.js +0 -56
  358. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.d.ts +0 -28
  359. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.js +0 -104
  360. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.d.ts +0 -6
  361. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.js +0 -185
  362. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.d.ts +0 -33
  363. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.js +0 -75
  364. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.d.ts +0 -13
  365. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.js +0 -44
  366. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.d.ts +0 -19
  367. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.js +0 -41
  368. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.d.ts +0 -6
  369. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.js +0 -128
  370. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.d.ts +0 -20
  371. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.js +0 -44
  372. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.d.ts +0 -8
  373. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.js +0 -61
  374. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.d.ts +0 -13
  375. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.js +0 -59
  376. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.d.ts +0 -27
  377. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.js +0 -71
  378. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.d.ts +0 -6
  379. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.js +0 -238
  380. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.d.ts +0 -34
  381. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.js +0 -73
  382. package/node_modules/@connectrpc/connect/dist/cjs/router-transport.d.ts +0 -13
  383. package/node_modules/@connectrpc/connect/dist/cjs/router-transport.js +0 -32
  384. package/node_modules/@connectrpc/connect/dist/cjs/router.d.ts +0 -88
  385. package/node_modules/@connectrpc/connect/dist/cjs/router.js +0 -83
  386. package/node_modules/@connectrpc/connect/dist/cjs/transport.d.ts +0 -20
  387. package/node_modules/@connectrpc/connect/dist/cjs/transport.js +0 -15
  388. package/node_modules/@connectrpc/connect/dist/esm/any-client.d.ts +0 -22
  389. package/node_modules/@connectrpc/connect/dist/esm/any-client.js +0 -31
  390. package/node_modules/@connectrpc/connect/dist/esm/call-options.d.ts +0 -34
  391. package/node_modules/@connectrpc/connect/dist/esm/call-options.js +0 -14
  392. package/node_modules/@connectrpc/connect/dist/esm/callback-client.d.ts +0 -31
  393. package/node_modules/@connectrpc/connect/dist/esm/callback-client.js +0 -113
  394. package/node_modules/@connectrpc/connect/dist/esm/code.d.ts +0 -75
  395. package/node_modules/@connectrpc/connect/dist/esm/code.js +0 -89
  396. package/node_modules/@connectrpc/connect/dist/esm/connect-error.d.ts +0 -90
  397. package/node_modules/@connectrpc/connect/dist/esm/connect-error.js +0 -130
  398. package/node_modules/@connectrpc/connect/dist/esm/context-values.d.ts +0 -34
  399. package/node_modules/@connectrpc/connect/dist/esm/context-values.js +0 -37
  400. package/node_modules/@connectrpc/connect/dist/esm/cors.d.ts +0 -45
  401. package/node_modules/@connectrpc/connect/dist/esm/cors.js +0 -79
  402. package/node_modules/@connectrpc/connect/dist/esm/http-headers.d.ts +0 -36
  403. package/node_modules/@connectrpc/connect/dist/esm/http-headers.js +0 -63
  404. package/node_modules/@connectrpc/connect/dist/esm/implementation.d.ts +0 -165
  405. package/node_modules/@connectrpc/connect/dist/esm/implementation.js +0 -75
  406. package/node_modules/@connectrpc/connect/dist/esm/index.d.ts +0 -22
  407. package/node_modules/@connectrpc/connect/dist/esm/index.js +0 -27
  408. package/node_modules/@connectrpc/connect/dist/esm/interceptor.d.ts +0 -155
  409. package/node_modules/@connectrpc/connect/dist/esm/interceptor.js +0 -24
  410. package/node_modules/@connectrpc/connect/dist/esm/method-type.d.ts +0 -43
  411. package/node_modules/@connectrpc/connect/dist/esm/method-type.js +0 -14
  412. package/node_modules/@connectrpc/connect/dist/esm/promise-client.d.ts +0 -49
  413. package/node_modules/@connectrpc/connect/dist/esm/promise-client.js +0 -139
  414. package/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.d.ts +0 -527
  415. package/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.js +0 -937
  416. package/node_modules/@connectrpc/connect/dist/esm/protocol/compression.d.ts +0 -48
  417. package/node_modules/@connectrpc/connect/dist/esm/protocol/compression.js +0 -71
  418. package/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.d.ts +0 -16
  419. package/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.js +0 -40
  420. package/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.d.ts +0 -17
  421. package/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.js +0 -33
  422. package/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.d.ts +0 -59
  423. package/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.js +0 -145
  424. package/node_modules/@connectrpc/connect/dist/esm/protocol/index.d.ts +0 -24
  425. package/node_modules/@connectrpc/connect/dist/esm/protocol/index.js +0 -32
  426. package/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.d.ts +0 -21
  427. package/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.js +0 -246
  428. package/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.d.ts +0 -24
  429. package/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.js +0 -75
  430. package/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.d.ts +0 -12
  431. package/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.js +0 -53
  432. package/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.d.ts +0 -18
  433. package/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.js +0 -14
  434. package/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.d.ts +0 -45
  435. package/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.js +0 -115
  436. package/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.d.ts +0 -104
  437. package/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.js +0 -140
  438. package/node_modules/@connectrpc/connect/dist/esm/protocol/signals.d.ts +0 -36
  439. package/node_modules/@connectrpc/connect/dist/esm/protocol/signals.js +0 -95
  440. package/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.d.ts +0 -98
  441. package/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.js +0 -14
  442. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.d.ts +0 -35
  443. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.js +0 -142
  444. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.d.ts +0 -7
  445. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.js +0 -87
  446. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.d.ts +0 -155
  447. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.js +0 -125
  448. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal.d.ts +0 -102
  449. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal.js +0 -74
  450. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.d.ts +0 -16
  451. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.js +0 -48
  452. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.d.ts +0 -40
  453. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.js +0 -66
  454. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.d.ts +0 -44
  455. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.js +0 -126
  456. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.d.ts +0 -36
  457. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.js +0 -157
  458. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.d.ts +0 -7
  459. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.js +0 -65
  460. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.d.ts +0 -6
  461. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.js +0 -278
  462. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.d.ts +0 -12
  463. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.js +0 -25
  464. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.d.ts +0 -15
  465. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.js +0 -86
  466. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.d.ts +0 -16
  467. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.js +0 -33
  468. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.d.ts +0 -13
  469. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.js +0 -41
  470. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.d.ts +0 -8
  471. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.js +0 -21
  472. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.d.ts +0 -19
  473. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.js +0 -66
  474. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.d.ts +0 -19
  475. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.js +0 -49
  476. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.d.ts +0 -6
  477. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.js +0 -211
  478. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.d.ts +0 -30
  479. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.js +0 -68
  480. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.d.ts +0 -20
  481. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.js +0 -53
  482. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.d.ts +0 -16
  483. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.js +0 -34
  484. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.d.ts +0 -89
  485. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.js +0 -116
  486. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.d.ts +0 -6
  487. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.js +0 -119
  488. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.d.ts +0 -12
  489. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.js +0 -25
  490. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.d.ts +0 -8
  491. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.js +0 -43
  492. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.d.ts +0 -10
  493. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.js +0 -28
  494. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.d.ts +0 -13
  495. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.js +0 -50
  496. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.d.ts +0 -13
  497. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.js +0 -52
  498. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.d.ts +0 -28
  499. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.js +0 -99
  500. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.d.ts +0 -6
  501. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.js +0 -182
  502. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.d.ts +0 -33
  503. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.js +0 -71
  504. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.d.ts +0 -13
  505. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.js +0 -41
  506. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.d.ts +0 -19
  507. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.js +0 -37
  508. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.d.ts +0 -6
  509. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.js +0 -125
  510. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.d.ts +0 -20
  511. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.js +0 -33
  512. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.d.ts +0 -8
  513. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.js +0 -26
  514. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.d.ts +0 -13
  515. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.js +0 -55
  516. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.d.ts +0 -27
  517. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.js +0 -65
  518. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.d.ts +0 -6
  519. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.js +0 -235
  520. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.d.ts +0 -34
  521. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.js +0 -69
  522. package/node_modules/@connectrpc/connect/dist/esm/router-transport.d.ts +0 -13
  523. package/node_modules/@connectrpc/connect/dist/esm/router-transport.js +0 -29
  524. package/node_modules/@connectrpc/connect/dist/esm/router.d.ts +0 -88
  525. package/node_modules/@connectrpc/connect/dist/esm/router.js +0 -80
  526. package/node_modules/@connectrpc/connect/dist/esm/transport.d.ts +0 -20
  527. package/node_modules/@connectrpc/connect/dist/esm/transport.js +0 -14
  528. package/node_modules/@connectrpc/connect/package.json +0 -75
  529. package/node_modules/@connectrpc/connect/protocol-connect.js +0 -16
  530. package/node_modules/@connectrpc/connect/protocol-grpc-web.js +0 -16
  531. package/node_modules/@connectrpc/connect/protocol-grpc.js +0 -16
  532. package/node_modules/@connectrpc/connect/protocol.js +0 -16
  533. package/node_modules/@connectrpc/connect-node/README.md +0 -141
  534. package/node_modules/@connectrpc/connect-node/dist/cjs/compression.d.ts +0 -15
  535. package/node_modules/@connectrpc/connect-node/dist/cjs/compression.js +0 -89
  536. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-node-adapter.d.ts +0 -42
  537. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-node-adapter.js +0 -61
  538. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-transport.d.ts +0 -100
  539. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-transport.js +0 -25
  540. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-transport.d.ts +0 -96
  541. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-transport.js +0 -25
  542. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-web-transport.d.ts +0 -96
  543. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-web-transport.js +0 -25
  544. package/node_modules/@connectrpc/connect-node/dist/cjs/http2-session-manager.d.ts +0 -146
  545. package/node_modules/@connectrpc/connect-node/dist/cjs/http2-session-manager.js +0 -536
  546. package/node_modules/@connectrpc/connect-node/dist/cjs/index.d.ts +0 -15
  547. package/node_modules/@connectrpc/connect-node/dist/cjs/index.js +0 -36
  548. package/node_modules/@connectrpc/connect-node/dist/cjs/node-error.d.ts +0 -45
  549. package/node_modules/@connectrpc/connect-node/dist/cjs/node-error.js +0 -154
  550. package/node_modules/@connectrpc/connect-node/dist/cjs/node-headers-polyfill.d.ts +0 -1
  551. package/node_modules/@connectrpc/connect-node/dist/cjs/node-headers-polyfill.js +0 -29
  552. package/node_modules/@connectrpc/connect-node/dist/cjs/node-transport-options.d.ts +0 -89
  553. package/node_modules/@connectrpc/connect-node/dist/cjs/node-transport-options.js +0 -58
  554. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-client.d.ts +0 -54
  555. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-client.js +0 -326
  556. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-handler.d.ts +0 -41
  557. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-handler.js +0 -234
  558. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-header.d.ts +0 -19
  559. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-header.js +0 -97
  560. package/node_modules/@connectrpc/connect-node/dist/cjs/package.json +0 -1
  561. package/node_modules/@connectrpc/connect-node/dist/esm/compression.d.ts +0 -15
  562. package/node_modules/@connectrpc/connect-node/dist/esm/compression.js +0 -86
  563. package/node_modules/@connectrpc/connect-node/dist/esm/connect-node-adapter.d.ts +0 -42
  564. package/node_modules/@connectrpc/connect-node/dist/esm/connect-node-adapter.js +0 -58
  565. package/node_modules/@connectrpc/connect-node/dist/esm/connect-transport.d.ts +0 -100
  566. package/node_modules/@connectrpc/connect-node/dist/esm/connect-transport.js +0 -22
  567. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-transport.d.ts +0 -96
  568. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-transport.js +0 -22
  569. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-web-transport.d.ts +0 -96
  570. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-web-transport.js +0 -22
  571. package/node_modules/@connectrpc/connect-node/dist/esm/http2-session-manager.d.ts +0 -146
  572. package/node_modules/@connectrpc/connect-node/dist/esm/http2-session-manager.js +0 -532
  573. package/node_modules/@connectrpc/connect-node/dist/esm/index.d.ts +0 -15
  574. package/node_modules/@connectrpc/connect-node/dist/esm/index.js +0 -23
  575. package/node_modules/@connectrpc/connect-node/dist/esm/node-error.d.ts +0 -45
  576. package/node_modules/@connectrpc/connect-node/dist/esm/node-error.js +0 -147
  577. package/node_modules/@connectrpc/connect-node/dist/esm/node-headers-polyfill.d.ts +0 -1
  578. package/node_modules/@connectrpc/connect-node/dist/esm/node-headers-polyfill.js +0 -27
  579. package/node_modules/@connectrpc/connect-node/dist/esm/node-transport-options.d.ts +0 -89
  580. package/node_modules/@connectrpc/connect-node/dist/esm/node-transport-options.js +0 -58
  581. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-client.d.ts +0 -54
  582. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-client.js +0 -324
  583. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-handler.d.ts +0 -41
  584. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-handler.js +0 -230
  585. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-header.d.ts +0 -19
  586. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-header.js +0 -93
  587. package/node_modules/@connectrpc/connect-node/package.json +0 -46
  588. package/node_modules/@cursor/sdk/LICENSE.md +0 -3
  589. package/node_modules/@cursor/sdk/README.md +0 -23
  590. package/node_modules/@cursor/sdk/dist/cjs/642.index.js +0 -1
  591. package/node_modules/@cursor/sdk/dist/cjs/agent.d.ts +0 -170
  592. package/node_modules/@cursor/sdk/dist/cjs/agent.d.ts.map +0 -1
  593. package/node_modules/@cursor/sdk/dist/cjs/analytics.d.ts +0 -98
  594. package/node_modules/@cursor/sdk/dist/cjs/analytics.d.ts.map +0 -1
  595. package/node_modules/@cursor/sdk/dist/cjs/artifacts.d.ts +0 -6
  596. package/node_modules/@cursor/sdk/dist/cjs/artifacts.d.ts.map +0 -1
  597. package/node_modules/@cursor/sdk/dist/cjs/cloud-agent.d.ts +0 -47
  598. package/node_modules/@cursor/sdk/dist/cjs/cloud-agent.d.ts.map +0 -1
  599. package/node_modules/@cursor/sdk/dist/cjs/cloud-api-client.d.ts +0 -197
  600. package/node_modules/@cursor/sdk/dist/cjs/cloud-api-client.d.ts.map +0 -1
  601. package/node_modules/@cursor/sdk/dist/cjs/cloud-executor.d.ts +0 -14
  602. package/node_modules/@cursor/sdk/dist/cjs/cloud-executor.d.ts.map +0 -1
  603. package/node_modules/@cursor/sdk/dist/cjs/cloud-mcp-utils.d.ts +0 -4
  604. package/node_modules/@cursor/sdk/dist/cjs/cloud-mcp-utils.d.ts.map +0 -1
  605. package/node_modules/@cursor/sdk/dist/cjs/core-adapter.d.ts +0 -2
  606. package/node_modules/@cursor/sdk/dist/cjs/core-adapter.d.ts.map +0 -1
  607. package/node_modules/@cursor/sdk/dist/cjs/errors.d.ts +0 -135
  608. package/node_modules/@cursor/sdk/dist/cjs/errors.d.ts.map +0 -1
  609. package/node_modules/@cursor/sdk/dist/cjs/executor-common.d.ts +0 -16
  610. package/node_modules/@cursor/sdk/dist/cjs/executor-common.d.ts.map +0 -1
  611. package/node_modules/@cursor/sdk/dist/cjs/executor-types.d.ts +0 -65
  612. package/node_modules/@cursor/sdk/dist/cjs/executor-types.d.ts.map +0 -1
  613. package/node_modules/@cursor/sdk/dist/cjs/index.d.ts +0 -18
  614. package/node_modules/@cursor/sdk/dist/cjs/index.d.ts.map +0 -1
  615. package/node_modules/@cursor/sdk/dist/cjs/index.js +0 -8
  616. package/node_modules/@cursor/sdk/dist/cjs/index.js.LICENSE.txt +0 -285
  617. package/node_modules/@cursor/sdk/dist/cjs/local-executor.d.ts +0 -18
  618. package/node_modules/@cursor/sdk/dist/cjs/local-executor.d.ts.map +0 -1
  619. package/node_modules/@cursor/sdk/dist/cjs/local-model-validation.d.ts +0 -6
  620. package/node_modules/@cursor/sdk/dist/cjs/local-model-validation.d.ts.map +0 -1
  621. package/node_modules/@cursor/sdk/dist/cjs/messages.d.ts +0 -110
  622. package/node_modules/@cursor/sdk/dist/cjs/messages.d.ts.map +0 -1
  623. package/node_modules/@cursor/sdk/dist/cjs/options.d.ts +0 -145
  624. package/node_modules/@cursor/sdk/dist/cjs/options.d.ts.map +0 -1
  625. package/node_modules/@cursor/sdk/dist/cjs/package.json +0 -3
  626. package/node_modules/@cursor/sdk/dist/cjs/platform.d.ts +0 -71
  627. package/node_modules/@cursor/sdk/dist/cjs/platform.d.ts.map +0 -1
  628. package/node_modules/@cursor/sdk/dist/cjs/prefetched-blobs.d.ts +0 -13
  629. package/node_modules/@cursor/sdk/dist/cjs/prefetched-blobs.d.ts.map +0 -1
  630. package/node_modules/@cursor/sdk/dist/cjs/public-api.d.ts +0 -12
  631. package/node_modules/@cursor/sdk/dist/cjs/public-api.d.ts.map +0 -1
  632. package/node_modules/@cursor/sdk/dist/cjs/run-event-tailer.d.ts +0 -33
  633. package/node_modules/@cursor/sdk/dist/cjs/run-event-tailer.d.ts.map +0 -1
  634. package/node_modules/@cursor/sdk/dist/cjs/run-interaction-accumulator.d.ts +0 -33
  635. package/node_modules/@cursor/sdk/dist/cjs/run-interaction-accumulator.d.ts.map +0 -1
  636. package/node_modules/@cursor/sdk/dist/cjs/run.d.ts +0 -44
  637. package/node_modules/@cursor/sdk/dist/cjs/run.d.ts.map +0 -1
  638. package/node_modules/@cursor/sdk/dist/cjs/sdk-statsig.d.ts +0 -10
  639. package/node_modules/@cursor/sdk/dist/cjs/sdk-statsig.d.ts.map +0 -1
  640. package/node_modules/@cursor/sdk/dist/cjs/stubs.d.ts +0 -98
  641. package/node_modules/@cursor/sdk/dist/cjs/stubs.d.ts.map +0 -1
  642. package/node_modules/@cursor/sdk/dist/cjs/subagent-conversion.d.ts +0 -22
  643. package/node_modules/@cursor/sdk/dist/cjs/subagent-conversion.d.ts.map +0 -1
  644. package/node_modules/@cursor/sdk/dist/cjs/tool-call-utils.d.ts +0 -7
  645. package/node_modules/@cursor/sdk/dist/cjs/tool-call-utils.d.ts.map +0 -1
  646. package/node_modules/@cursor/sdk/dist/cjs/types/conversation-types.d.ts +0 -12062
  647. package/node_modules/@cursor/sdk/dist/cjs/types/conversation-types.d.ts.map +0 -1
  648. package/node_modules/@cursor/sdk/dist/cjs/types/delta-types.d.ts +0 -2
  649. package/node_modules/@cursor/sdk/dist/cjs/types/delta-types.d.ts.map +0 -1
  650. package/node_modules/@cursor/sdk/dist/cjs/types/tool-call-types.d.ts +0 -2
  651. package/node_modules/@cursor/sdk/dist/cjs/types/tool-call-types.d.ts.map +0 -1
  652. package/node_modules/@cursor/sdk/dist/cjs/utils/conversation-utils.d.ts +0 -3
  653. package/node_modules/@cursor/sdk/dist/cjs/utils/conversation-utils.d.ts.map +0 -1
  654. package/node_modules/@cursor/sdk/dist/cjs/utils/logger.d.ts +0 -12
  655. package/node_modules/@cursor/sdk/dist/cjs/utils/logger.d.ts.map +0 -1
  656. package/node_modules/@cursor/sdk/dist/cjs/utils/message-schemas.d.ts +0 -2
  657. package/node_modules/@cursor/sdk/dist/cjs/utils/message-schemas.d.ts.map +0 -1
  658. package/node_modules/@cursor/sdk/dist/esm/642.index.js +0 -1
  659. package/node_modules/@cursor/sdk/dist/esm/agent.d.ts +0 -170
  660. package/node_modules/@cursor/sdk/dist/esm/agent.d.ts.map +0 -1
  661. package/node_modules/@cursor/sdk/dist/esm/analytics.d.ts +0 -98
  662. package/node_modules/@cursor/sdk/dist/esm/analytics.d.ts.map +0 -1
  663. package/node_modules/@cursor/sdk/dist/esm/artifacts.d.ts +0 -6
  664. package/node_modules/@cursor/sdk/dist/esm/artifacts.d.ts.map +0 -1
  665. package/node_modules/@cursor/sdk/dist/esm/cloud-agent.d.ts +0 -47
  666. package/node_modules/@cursor/sdk/dist/esm/cloud-agent.d.ts.map +0 -1
  667. package/node_modules/@cursor/sdk/dist/esm/cloud-api-client.d.ts +0 -197
  668. package/node_modules/@cursor/sdk/dist/esm/cloud-api-client.d.ts.map +0 -1
  669. package/node_modules/@cursor/sdk/dist/esm/cloud-executor.d.ts +0 -14
  670. package/node_modules/@cursor/sdk/dist/esm/cloud-executor.d.ts.map +0 -1
  671. package/node_modules/@cursor/sdk/dist/esm/cloud-mcp-utils.d.ts +0 -4
  672. package/node_modules/@cursor/sdk/dist/esm/cloud-mcp-utils.d.ts.map +0 -1
  673. package/node_modules/@cursor/sdk/dist/esm/core-adapter.d.ts +0 -2
  674. package/node_modules/@cursor/sdk/dist/esm/core-adapter.d.ts.map +0 -1
  675. package/node_modules/@cursor/sdk/dist/esm/errors.d.ts +0 -135
  676. package/node_modules/@cursor/sdk/dist/esm/errors.d.ts.map +0 -1
  677. package/node_modules/@cursor/sdk/dist/esm/executor-common.d.ts +0 -16
  678. package/node_modules/@cursor/sdk/dist/esm/executor-common.d.ts.map +0 -1
  679. package/node_modules/@cursor/sdk/dist/esm/executor-types.d.ts +0 -65
  680. package/node_modules/@cursor/sdk/dist/esm/executor-types.d.ts.map +0 -1
  681. package/node_modules/@cursor/sdk/dist/esm/index.d.ts +0 -18
  682. package/node_modules/@cursor/sdk/dist/esm/index.d.ts.map +0 -1
  683. package/node_modules/@cursor/sdk/dist/esm/index.js +0 -8
  684. package/node_modules/@cursor/sdk/dist/esm/index.js.LICENSE.txt +0 -285
  685. package/node_modules/@cursor/sdk/dist/esm/local-executor.d.ts +0 -18
  686. package/node_modules/@cursor/sdk/dist/esm/local-executor.d.ts.map +0 -1
  687. package/node_modules/@cursor/sdk/dist/esm/local-model-validation.d.ts +0 -6
  688. package/node_modules/@cursor/sdk/dist/esm/local-model-validation.d.ts.map +0 -1
  689. package/node_modules/@cursor/sdk/dist/esm/messages.d.ts +0 -110
  690. package/node_modules/@cursor/sdk/dist/esm/messages.d.ts.map +0 -1
  691. package/node_modules/@cursor/sdk/dist/esm/options.d.ts +0 -145
  692. package/node_modules/@cursor/sdk/dist/esm/options.d.ts.map +0 -1
  693. package/node_modules/@cursor/sdk/dist/esm/platform.d.ts +0 -71
  694. package/node_modules/@cursor/sdk/dist/esm/platform.d.ts.map +0 -1
  695. package/node_modules/@cursor/sdk/dist/esm/prefetched-blobs.d.ts +0 -13
  696. package/node_modules/@cursor/sdk/dist/esm/prefetched-blobs.d.ts.map +0 -1
  697. package/node_modules/@cursor/sdk/dist/esm/public-api.d.ts +0 -12
  698. package/node_modules/@cursor/sdk/dist/esm/public-api.d.ts.map +0 -1
  699. package/node_modules/@cursor/sdk/dist/esm/run-event-tailer.d.ts +0 -33
  700. package/node_modules/@cursor/sdk/dist/esm/run-event-tailer.d.ts.map +0 -1
  701. package/node_modules/@cursor/sdk/dist/esm/run-interaction-accumulator.d.ts +0 -33
  702. package/node_modules/@cursor/sdk/dist/esm/run-interaction-accumulator.d.ts.map +0 -1
  703. package/node_modules/@cursor/sdk/dist/esm/run.d.ts +0 -44
  704. package/node_modules/@cursor/sdk/dist/esm/run.d.ts.map +0 -1
  705. package/node_modules/@cursor/sdk/dist/esm/sdk-statsig.d.ts +0 -10
  706. package/node_modules/@cursor/sdk/dist/esm/sdk-statsig.d.ts.map +0 -1
  707. package/node_modules/@cursor/sdk/dist/esm/stubs.d.ts +0 -98
  708. package/node_modules/@cursor/sdk/dist/esm/stubs.d.ts.map +0 -1
  709. package/node_modules/@cursor/sdk/dist/esm/subagent-conversion.d.ts +0 -22
  710. package/node_modules/@cursor/sdk/dist/esm/subagent-conversion.d.ts.map +0 -1
  711. package/node_modules/@cursor/sdk/dist/esm/tool-call-utils.d.ts +0 -7
  712. package/node_modules/@cursor/sdk/dist/esm/tool-call-utils.d.ts.map +0 -1
  713. package/node_modules/@cursor/sdk/dist/esm/types/conversation-types.d.ts +0 -12062
  714. package/node_modules/@cursor/sdk/dist/esm/types/conversation-types.d.ts.map +0 -1
  715. package/node_modules/@cursor/sdk/dist/esm/types/delta-types.d.ts +0 -2
  716. package/node_modules/@cursor/sdk/dist/esm/types/delta-types.d.ts.map +0 -1
  717. package/node_modules/@cursor/sdk/dist/esm/types/tool-call-types.d.ts +0 -2
  718. package/node_modules/@cursor/sdk/dist/esm/types/tool-call-types.d.ts.map +0 -1
  719. package/node_modules/@cursor/sdk/dist/esm/utils/conversation-utils.d.ts +0 -3
  720. package/node_modules/@cursor/sdk/dist/esm/utils/conversation-utils.d.ts.map +0 -1
  721. package/node_modules/@cursor/sdk/dist/esm/utils/logger.d.ts +0 -12
  722. package/node_modules/@cursor/sdk/dist/esm/utils/logger.d.ts.map +0 -1
  723. package/node_modules/@cursor/sdk/dist/esm/utils/message-schemas.d.ts +0 -2
  724. package/node_modules/@cursor/sdk/dist/esm/utils/message-schemas.d.ts.map +0 -1
  725. package/node_modules/@cursor/sdk/package.json +0 -114
  726. package/node_modules/@cursor/sdk-darwin-arm64/README.md +0 -5
  727. package/node_modules/@cursor/sdk-darwin-arm64/bin/cursorsandbox +0 -0
  728. package/node_modules/@cursor/sdk-darwin-arm64/bin/rg +0 -0
  729. package/node_modules/@cursor/sdk-darwin-arm64/package.json +0 -25
  730. package/node_modules/@isaacs/fs-minipass/LICENSE +0 -15
  731. package/node_modules/@isaacs/fs-minipass/README.md +0 -71
  732. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +0 -118
  733. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +0 -1
  734. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +0 -430
  735. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +0 -1
  736. package/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +0 -3
  737. package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +0 -118
  738. package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +0 -1
  739. package/node_modules/@isaacs/fs-minipass/dist/esm/index.js +0 -420
  740. package/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +0 -1
  741. package/node_modules/@isaacs/fs-minipass/dist/esm/package.json +0 -3
  742. package/node_modules/@isaacs/fs-minipass/package.json +0 -72
  743. package/node_modules/@statsig/client-core/package.json +0 -15
  744. package/node_modules/@statsig/client-core/src/$_StatsigGlobal.d.ts +0 -19
  745. package/node_modules/@statsig/client-core/src/$_StatsigGlobal.js +0 -41
  746. package/node_modules/@statsig/client-core/src/CacheKey.d.ts +0 -4
  747. package/node_modules/@statsig/client-core/src/CacheKey.js +0 -28
  748. package/node_modules/@statsig/client-core/src/ClientInterfaces.d.ts +0 -62
  749. package/node_modules/@statsig/client-core/src/ClientInterfaces.js +0 -2
  750. package/node_modules/@statsig/client-core/src/DataAdapterCore.d.ts +0 -29
  751. package/node_modules/@statsig/client-core/src/DataAdapterCore.js +0 -216
  752. package/node_modules/@statsig/client-core/src/Diagnostics.d.ts +0 -67
  753. package/node_modules/@statsig/client-core/src/Diagnostics.js +0 -100
  754. package/node_modules/@statsig/client-core/src/DnsTxtQuery.d.ts +0 -2
  755. package/node_modules/@statsig/client-core/src/DnsTxtQuery.js +0 -63
  756. package/node_modules/@statsig/client-core/src/DownloadConfigSpecsResponse.d.ts +0 -61
  757. package/node_modules/@statsig/client-core/src/DownloadConfigSpecsResponse.js +0 -2
  758. package/node_modules/@statsig/client-core/src/ErrorBoundary.d.ts +0 -17
  759. package/node_modules/@statsig/client-core/src/ErrorBoundary.js +0 -197
  760. package/node_modules/@statsig/client-core/src/EvaluationOptions.d.ts +0 -30
  761. package/node_modules/@statsig/client-core/src/EvaluationOptions.js +0 -2
  762. package/node_modules/@statsig/client-core/src/EvaluationTypes.d.ts +0 -49
  763. package/node_modules/@statsig/client-core/src/EvaluationTypes.js +0 -2
  764. package/node_modules/@statsig/client-core/src/EvaluationTypesV2.d.ts +0 -30
  765. package/node_modules/@statsig/client-core/src/EvaluationTypesV2.js +0 -2
  766. package/node_modules/@statsig/client-core/src/EventBatch.d.ts +0 -8
  767. package/node_modules/@statsig/client-core/src/EventBatch.js +0 -14
  768. package/node_modules/@statsig/client-core/src/EventLogger.d.ts +0 -48
  769. package/node_modules/@statsig/client-core/src/EventLogger.js +0 -349
  770. package/node_modules/@statsig/client-core/src/EventRetryConstants.d.ts +0 -7
  771. package/node_modules/@statsig/client-core/src/EventRetryConstants.js +0 -12
  772. package/node_modules/@statsig/client-core/src/Hashing.d.ts +0 -3
  773. package/node_modules/@statsig/client-core/src/Hashing.js +0 -35
  774. package/node_modules/@statsig/client-core/src/InitializeResponse.d.ts +0 -66
  775. package/node_modules/@statsig/client-core/src/InitializeResponse.js +0 -2
  776. package/node_modules/@statsig/client-core/src/Log.d.ts +0 -15
  777. package/node_modules/@statsig/client-core/src/Log.js +0 -44
  778. package/node_modules/@statsig/client-core/src/MemoKey.d.ts +0 -11
  779. package/node_modules/@statsig/client-core/src/MemoKey.js +0 -37
  780. package/node_modules/@statsig/client-core/src/NetworkConfig.d.ts +0 -26
  781. package/node_modules/@statsig/client-core/src/NetworkConfig.js +0 -23
  782. package/node_modules/@statsig/client-core/src/NetworkCore.d.ts +0 -55
  783. package/node_modules/@statsig/client-core/src/NetworkCore.js +0 -371
  784. package/node_modules/@statsig/client-core/src/NetworkFallbackResolver.d.ts +0 -21
  785. package/node_modules/@statsig/client-core/src/NetworkFallbackResolver.js +0 -198
  786. package/node_modules/@statsig/client-core/src/OverrideAdapter.d.ts +0 -16
  787. package/node_modules/@statsig/client-core/src/OverrideAdapter.js +0 -2
  788. package/node_modules/@statsig/client-core/src/ParamStoreTypes.d.ts +0 -65
  789. package/node_modules/@statsig/client-core/src/ParamStoreTypes.js +0 -2
  790. package/node_modules/@statsig/client-core/src/SDKFlags.d.ts +0 -4
  791. package/node_modules/@statsig/client-core/src/SDKFlags.js +0 -13
  792. package/node_modules/@statsig/client-core/src/SDKType.d.ts +0 -8
  793. package/node_modules/@statsig/client-core/src/SDKType.js +0 -19
  794. package/node_modules/@statsig/client-core/src/SafeJs.d.ts +0 -8
  795. package/node_modules/@statsig/client-core/src/SafeJs.js +0 -68
  796. package/node_modules/@statsig/client-core/src/SessionID.d.ts +0 -20
  797. package/node_modules/@statsig/client-core/src/SessionID.js +0 -106
  798. package/node_modules/@statsig/client-core/src/SizeOf.d.ts +0 -1
  799. package/node_modules/@statsig/client-core/src/SizeOf.js +0 -26
  800. package/node_modules/@statsig/client-core/src/StableID.d.ts +0 -9
  801. package/node_modules/@statsig/client-core/src/StableID.js +0 -90
  802. package/node_modules/@statsig/client-core/src/StatsigClientBase.d.ts +0 -74
  803. package/node_modules/@statsig/client-core/src/StatsigClientBase.js +0 -207
  804. package/node_modules/@statsig/client-core/src/StatsigClientEventEmitter.d.ts +0 -100
  805. package/node_modules/@statsig/client-core/src/StatsigClientEventEmitter.js +0 -6
  806. package/node_modules/@statsig/client-core/src/StatsigDataAdapter.d.ts +0 -131
  807. package/node_modules/@statsig/client-core/src/StatsigDataAdapter.js +0 -4
  808. package/node_modules/@statsig/client-core/src/StatsigEvent.d.ts +0 -28
  809. package/node_modules/@statsig/client-core/src/StatsigEvent.js +0 -98
  810. package/node_modules/@statsig/client-core/src/StatsigMetadata.d.ts +0 -18
  811. package/node_modules/@statsig/client-core/src/StatsigMetadata.js +0 -14
  812. package/node_modules/@statsig/client-core/src/StatsigOptionsCommon.d.ts +0 -180
  813. package/node_modules/@statsig/client-core/src/StatsigOptionsCommon.js +0 -16
  814. package/node_modules/@statsig/client-core/src/StatsigPlugin.d.ts +0 -5
  815. package/node_modules/@statsig/client-core/src/StatsigPlugin.js +0 -2
  816. package/node_modules/@statsig/client-core/src/StatsigTypeFactories.d.ts +0 -8
  817. package/node_modules/@statsig/client-core/src/StatsigTypeFactories.js +0 -57
  818. package/node_modules/@statsig/client-core/src/StatsigTypes.d.ts +0 -43
  819. package/node_modules/@statsig/client-core/src/StatsigTypes.js +0 -2
  820. package/node_modules/@statsig/client-core/src/StatsigUpdateDetails.d.ts +0 -14
  821. package/node_modules/@statsig/client-core/src/StatsigUpdateDetails.js +0 -17
  822. package/node_modules/@statsig/client-core/src/StatsigUser.d.ts +0 -24
  823. package/node_modules/@statsig/client-core/src/StatsigUser.js +0 -25
  824. package/node_modules/@statsig/client-core/src/StorageProvider.d.ts +0 -17
  825. package/node_modules/@statsig/client-core/src/StorageProvider.js +0 -90
  826. package/node_modules/@statsig/client-core/src/TypedJsonParse.d.ts +0 -8
  827. package/node_modules/@statsig/client-core/src/TypedJsonParse.js +0 -27
  828. package/node_modules/@statsig/client-core/src/TypingUtils.d.ts +0 -7
  829. package/node_modules/@statsig/client-core/src/TypingUtils.js +0 -12
  830. package/node_modules/@statsig/client-core/src/UUID.d.ts +0 -1
  831. package/node_modules/@statsig/client-core/src/UUID.js +0 -28
  832. package/node_modules/@statsig/client-core/src/UrlConfiguration.d.ts +0 -12
  833. package/node_modules/@statsig/client-core/src/UrlConfiguration.js +0 -41
  834. package/node_modules/@statsig/client-core/src/VisibilityObserving.d.ts +0 -9
  835. package/node_modules/@statsig/client-core/src/VisibilityObserving.js +0 -39
  836. package/node_modules/@statsig/client-core/src/__tests__/MockOverrideAdapter.d.ts +0 -16
  837. package/node_modules/@statsig/client-core/src/__tests__/MockOverrideAdapter.js +0 -21
  838. package/node_modules/@statsig/client-core/src/index.d.ts +0 -47
  839. package/node_modules/@statsig/client-core/src/index.js +0 -70
  840. package/node_modules/@statsig/js-client/LICENSE +0 -14
  841. package/node_modules/@statsig/js-client/README.md +0 -49
  842. package/node_modules/@statsig/js-client/build/statsig-js-client+session-replay+web-analytics.min.js +0 -2
  843. package/node_modules/@statsig/js-client/build/statsig-js-client+session-replay.min.js +0 -1
  844. package/node_modules/@statsig/js-client/build/statsig-js-client+web-analytics.min.js +0 -2
  845. package/node_modules/@statsig/js-client/build/statsig-js-client.min.js +0 -1
  846. package/node_modules/@statsig/js-client/package.json +0 -18
  847. package/node_modules/@statsig/js-client/src/EvaluationResponseDeltas.d.ts +0 -10
  848. package/node_modules/@statsig/js-client/src/EvaluationResponseDeltas.js +0 -49
  849. package/node_modules/@statsig/js-client/src/EvaluationStore.d.ts +0 -29
  850. package/node_modules/@statsig/js-client/src/EvaluationStore.js +0 -175
  851. package/node_modules/@statsig/js-client/src/InitializeContainer.d.ts +0 -9
  852. package/node_modules/@statsig/js-client/src/InitializeContainer.js +0 -2
  853. package/node_modules/@statsig/js-client/src/Network.d.ts +0 -9
  854. package/node_modules/@statsig/js-client/src/Network.js +0 -74
  855. package/node_modules/@statsig/js-client/src/ParamStoreGetterFactory.d.ts +0 -3
  856. package/node_modules/@statsig/js-client/src/ParamStoreGetterFactory.js +0 -74
  857. package/node_modules/@statsig/js-client/src/StatsigClient.d.ts +0 -244
  858. package/node_modules/@statsig/js-client/src/StatsigClient.js +0 -418
  859. package/node_modules/@statsig/js-client/src/StatsigEvaluationsDataAdapter.d.ts +0 -15
  860. package/node_modules/@statsig/js-client/src/StatsigEvaluationsDataAdapter.js +0 -65
  861. package/node_modules/@statsig/js-client/src/StatsigOptions.d.ts +0 -42
  862. package/node_modules/@statsig/js-client/src/StatsigOptions.js +0 -2
  863. package/node_modules/@statsig/js-client/src/V1InitializeContainer.d.ts +0 -13
  864. package/node_modules/@statsig/js-client/src/V1InitializeContainer.js +0 -35
  865. package/node_modules/@statsig/js-client/src/V2InitializeContainer.d.ts +0 -13
  866. package/node_modules/@statsig/js-client/src/V2InitializeContainer.js +0 -82
  867. package/node_modules/@statsig/js-client/src/index.d.ts +0 -9
  868. package/node_modules/@statsig/js-client/src/index.js +0 -25
  869. package/node_modules/abbrev/LICENSE +0 -46
  870. package/node_modules/abbrev/README.md +0 -23
  871. package/node_modules/abbrev/lib/index.js +0 -53
  872. package/node_modules/abbrev/package.json +0 -41
  873. package/node_modules/base64-js/LICENSE +0 -21
  874. package/node_modules/base64-js/README.md +0 -34
  875. package/node_modules/base64-js/base64js.min.js +0 -1
  876. package/node_modules/base64-js/index.d.ts +0 -3
  877. package/node_modules/base64-js/index.js +0 -150
  878. package/node_modules/base64-js/package.json +0 -47
  879. package/node_modules/bindings/LICENSE.md +0 -22
  880. package/node_modules/bindings/README.md +0 -98
  881. package/node_modules/bindings/bindings.js +0 -221
  882. package/node_modules/bindings/package.json +0 -28
  883. package/node_modules/bl/.travis.yml +0 -17
  884. package/node_modules/bl/BufferList.js +0 -396
  885. package/node_modules/bl/LICENSE.md +0 -13
  886. package/node_modules/bl/README.md +0 -247
  887. package/node_modules/bl/bl.js +0 -84
  888. package/node_modules/bl/package.json +0 -37
  889. package/node_modules/bl/test/convert.js +0 -21
  890. package/node_modules/bl/test/indexOf.js +0 -492
  891. package/node_modules/bl/test/isBufferList.js +0 -32
  892. package/node_modules/bl/test/test.js +0 -869
  893. package/node_modules/buffer/AUTHORS.md +0 -70
  894. package/node_modules/buffer/LICENSE +0 -21
  895. package/node_modules/buffer/README.md +0 -410
  896. package/node_modules/buffer/index.d.ts +0 -186
  897. package/node_modules/buffer/index.js +0 -1817
  898. package/node_modules/buffer/package.json +0 -96
  899. package/node_modules/chownr/LICENSE.md +0 -63
  900. package/node_modules/chownr/README.md +0 -3
  901. package/node_modules/chownr/dist/commonjs/index.d.ts +0 -3
  902. package/node_modules/chownr/dist/commonjs/index.d.ts.map +0 -1
  903. package/node_modules/chownr/dist/commonjs/index.js +0 -93
  904. package/node_modules/chownr/dist/commonjs/index.js.map +0 -1
  905. package/node_modules/chownr/dist/commonjs/package.json +0 -3
  906. package/node_modules/chownr/dist/esm/index.d.ts +0 -3
  907. package/node_modules/chownr/dist/esm/index.d.ts.map +0 -1
  908. package/node_modules/chownr/dist/esm/index.js +0 -85
  909. package/node_modules/chownr/dist/esm/index.js.map +0 -1
  910. package/node_modules/chownr/dist/esm/package.json +0 -3
  911. package/node_modules/chownr/package.json +0 -69
  912. package/node_modules/decompress-response/index.d.ts +0 -22
  913. package/node_modules/decompress-response/index.js +0 -58
  914. package/node_modules/decompress-response/license +0 -9
  915. package/node_modules/decompress-response/package.json +0 -56
  916. package/node_modules/decompress-response/readme.md +0 -48
  917. package/node_modules/deep-extend/CHANGELOG.md +0 -46
  918. package/node_modules/deep-extend/LICENSE +0 -20
  919. package/node_modules/deep-extend/README.md +0 -91
  920. package/node_modules/deep-extend/index.js +0 -1
  921. package/node_modules/deep-extend/lib/deep-extend.js +0 -150
  922. package/node_modules/deep-extend/package.json +0 -62
  923. package/node_modules/detect-libc/LICENSE +0 -201
  924. package/node_modules/detect-libc/README.md +0 -163
  925. package/node_modules/detect-libc/index.d.ts +0 -14
  926. package/node_modules/detect-libc/lib/detect-libc.js +0 -313
  927. package/node_modules/detect-libc/lib/elf.js +0 -39
  928. package/node_modules/detect-libc/lib/filesystem.js +0 -51
  929. package/node_modules/detect-libc/lib/process.js +0 -24
  930. package/node_modules/detect-libc/package.json +0 -44
  931. package/node_modules/end-of-stream/LICENSE +0 -21
  932. package/node_modules/end-of-stream/README.md +0 -54
  933. package/node_modules/end-of-stream/index.js +0 -96
  934. package/node_modules/end-of-stream/package.json +0 -37
  935. package/node_modules/env-paths/index.d.ts +0 -101
  936. package/node_modules/env-paths/index.js +0 -74
  937. package/node_modules/env-paths/license +0 -9
  938. package/node_modules/env-paths/package.json +0 -45
  939. package/node_modules/env-paths/readme.md +0 -115
  940. package/node_modules/expand-template/.travis.yml +0 -6
  941. package/node_modules/expand-template/LICENSE +0 -21
  942. package/node_modules/expand-template/README.md +0 -43
  943. package/node_modules/expand-template/index.js +0 -26
  944. package/node_modules/expand-template/package.json +0 -29
  945. package/node_modules/expand-template/test.js +0 -67
  946. package/node_modules/exponential-backoff/LICENSE +0 -202
  947. package/node_modules/exponential-backoff/README.md +0 -89
  948. package/node_modules/exponential-backoff/dist/backoff.d.ts +0 -9
  949. package/node_modules/exponential-backoff/dist/backoff.js +0 -124
  950. package/node_modules/exponential-backoff/dist/backoff.js.map +0 -1
  951. package/node_modules/exponential-backoff/dist/delay/always/always.delay.d.ts +0 -3
  952. package/node_modules/exponential-backoff/dist/delay/always/always.delay.js +0 -25
  953. package/node_modules/exponential-backoff/dist/delay/always/always.delay.js.map +0 -1
  954. package/node_modules/exponential-backoff/dist/delay/delay.base.d.ts +0 -12
  955. package/node_modules/exponential-backoff/dist/delay/delay.base.js +0 -45
  956. package/node_modules/exponential-backoff/dist/delay/delay.base.js.map +0 -1
  957. package/node_modules/exponential-backoff/dist/delay/delay.factory.d.ts +0 -3
  958. package/node_modules/exponential-backoff/dist/delay/delay.factory.js +0 -17
  959. package/node_modules/exponential-backoff/dist/delay/delay.factory.js.map +0 -1
  960. package/node_modules/exponential-backoff/dist/delay/delay.interface.d.ts +0 -4
  961. package/node_modules/exponential-backoff/dist/delay/delay.interface.js +0 -3
  962. package/node_modules/exponential-backoff/dist/delay/delay.interface.js.map +0 -1
  963. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.d.ts +0 -6
  964. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +0 -82
  965. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js.map +0 -1
  966. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.d.ts +0 -1
  967. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +0 -8
  968. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js.map +0 -1
  969. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.d.ts +0 -3
  970. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +0 -15
  971. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.js.map +0 -1
  972. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.d.ts +0 -1
  973. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +0 -7
  974. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js.map +0 -1
  975. package/node_modules/exponential-backoff/dist/options.d.ts +0 -55
  976. package/node_modules/exponential-backoff/dist/options.js +0 -31
  977. package/node_modules/exponential-backoff/dist/options.js.map +0 -1
  978. package/node_modules/exponential-backoff/package.json +0 -62
  979. package/node_modules/exponential-backoff/src/backoff.spec.ts +0 -194
  980. package/node_modules/exponential-backoff/src/backoff.ts +0 -60
  981. package/node_modules/exponential-backoff/src/delay/always/always.delay.spec.ts +0 -65
  982. package/node_modules/exponential-backoff/src/delay/always/always.delay.ts +0 -3
  983. package/node_modules/exponential-backoff/src/delay/delay.base.ts +0 -34
  984. package/node_modules/exponential-backoff/src/delay/delay.factory.ts +0 -18
  985. package/node_modules/exponential-backoff/src/delay/delay.interface.ts +0 -4
  986. package/node_modules/exponential-backoff/src/delay/skip-first/skip-first.delay.ts +0 -15
  987. package/node_modules/exponential-backoff/src/jitter/full/full.jitter.spec.ts +0 -31
  988. package/node_modules/exponential-backoff/src/jitter/full/full.jitter.ts +0 -4
  989. package/node_modules/exponential-backoff/src/jitter/jitter.factory.ts +0 -16
  990. package/node_modules/exponential-backoff/src/jitter/no/no.jitter.spec.ts +0 -9
  991. package/node_modules/exponential-backoff/src/jitter/no/no.jitter.ts +0 -3
  992. package/node_modules/exponential-backoff/src/options.ts +0 -76
  993. package/node_modules/fdir/LICENSE +0 -7
  994. package/node_modules/fdir/README.md +0 -91
  995. package/node_modules/fdir/dist/index.cjs +0 -588
  996. package/node_modules/fdir/dist/index.d.cts +0 -155
  997. package/node_modules/fdir/dist/index.d.mts +0 -155
  998. package/node_modules/fdir/dist/index.mjs +0 -570
  999. package/node_modules/fdir/package.json +0 -103
  1000. package/node_modules/file-uri-to-path/.npmignore +0 -1
  1001. package/node_modules/file-uri-to-path/.travis.yml +0 -30
  1002. package/node_modules/file-uri-to-path/History.md +0 -21
  1003. package/node_modules/file-uri-to-path/LICENSE +0 -20
  1004. package/node_modules/file-uri-to-path/README.md +0 -74
  1005. package/node_modules/file-uri-to-path/index.d.ts +0 -2
  1006. package/node_modules/file-uri-to-path/index.js +0 -66
  1007. package/node_modules/file-uri-to-path/package.json +0 -32
  1008. package/node_modules/file-uri-to-path/test/test.js +0 -24
  1009. package/node_modules/file-uri-to-path/test/tests.json +0 -13
  1010. package/node_modules/fs-constants/LICENSE +0 -21
  1011. package/node_modules/fs-constants/README.md +0 -26
  1012. package/node_modules/fs-constants/browser.js +0 -1
  1013. package/node_modules/fs-constants/index.js +0 -1
  1014. package/node_modules/fs-constants/package.json +0 -19
  1015. package/node_modules/github-from-package/.travis.yml +0 -4
  1016. package/node_modules/github-from-package/LICENSE +0 -18
  1017. package/node_modules/github-from-package/example/package.json +0 -8
  1018. package/node_modules/github-from-package/example/url.js +0 -3
  1019. package/node_modules/github-from-package/index.js +0 -17
  1020. package/node_modules/github-from-package/package.json +0 -30
  1021. package/node_modules/github-from-package/readme.markdown +0 -53
  1022. package/node_modules/github-from-package/test/a.json +0 -8
  1023. package/node_modules/github-from-package/test/b.json +0 -5
  1024. package/node_modules/github-from-package/test/c.json +0 -5
  1025. package/node_modules/github-from-package/test/d.json +0 -7
  1026. package/node_modules/github-from-package/test/e.json +0 -5
  1027. package/node_modules/github-from-package/test/url.js +0 -19
  1028. package/node_modules/graceful-fs/LICENSE +0 -15
  1029. package/node_modules/graceful-fs/README.md +0 -143
  1030. package/node_modules/graceful-fs/clone.js +0 -23
  1031. package/node_modules/graceful-fs/graceful-fs.js +0 -448
  1032. package/node_modules/graceful-fs/legacy-streams.js +0 -118
  1033. package/node_modules/graceful-fs/package.json +0 -53
  1034. package/node_modules/graceful-fs/polyfills.js +0 -355
  1035. package/node_modules/ieee754/LICENSE +0 -11
  1036. package/node_modules/ieee754/README.md +0 -51
  1037. package/node_modules/ieee754/index.d.ts +0 -10
  1038. package/node_modules/ieee754/index.js +0 -85
  1039. package/node_modules/ieee754/package.json +0 -52
  1040. package/node_modules/inherits/LICENSE +0 -16
  1041. package/node_modules/inherits/README.md +0 -42
  1042. package/node_modules/inherits/inherits.js +0 -9
  1043. package/node_modules/inherits/inherits_browser.js +0 -27
  1044. package/node_modules/inherits/package.json +0 -29
  1045. package/node_modules/ini/LICENSE +0 -15
  1046. package/node_modules/ini/README.md +0 -102
  1047. package/node_modules/ini/ini.js +0 -206
  1048. package/node_modules/ini/package.json +0 -33
  1049. package/node_modules/isexe/LICENSE.md +0 -55
  1050. package/node_modules/isexe/README.md +0 -80
  1051. package/node_modules/isexe/dist/commonjs/index.d.ts +0 -14
  1052. package/node_modules/isexe/dist/commonjs/index.d.ts.map +0 -1
  1053. package/node_modules/isexe/dist/commonjs/index.js +0 -56
  1054. package/node_modules/isexe/dist/commonjs/index.js.map +0 -1
  1055. package/node_modules/isexe/dist/commonjs/index.min.js +0 -2
  1056. package/node_modules/isexe/dist/commonjs/index.min.js.map +0 -7
  1057. package/node_modules/isexe/dist/commonjs/options.d.ts +0 -32
  1058. package/node_modules/isexe/dist/commonjs/options.d.ts.map +0 -1
  1059. package/node_modules/isexe/dist/commonjs/options.js +0 -3
  1060. package/node_modules/isexe/dist/commonjs/options.js.map +0 -1
  1061. package/node_modules/isexe/dist/commonjs/package.json +0 -3
  1062. package/node_modules/isexe/dist/commonjs/posix.d.ts +0 -18
  1063. package/node_modules/isexe/dist/commonjs/posix.d.ts.map +0 -1
  1064. package/node_modules/isexe/dist/commonjs/posix.js +0 -67
  1065. package/node_modules/isexe/dist/commonjs/posix.js.map +0 -1
  1066. package/node_modules/isexe/dist/commonjs/win32.d.ts +0 -18
  1067. package/node_modules/isexe/dist/commonjs/win32.d.ts.map +0 -1
  1068. package/node_modules/isexe/dist/commonjs/win32.js +0 -63
  1069. package/node_modules/isexe/dist/commonjs/win32.js.map +0 -1
  1070. package/node_modules/isexe/dist/esm/index.d.ts +0 -14
  1071. package/node_modules/isexe/dist/esm/index.d.ts.map +0 -1
  1072. package/node_modules/isexe/dist/esm/index.js +0 -16
  1073. package/node_modules/isexe/dist/esm/index.js.map +0 -1
  1074. package/node_modules/isexe/dist/esm/index.min.js +0 -2
  1075. package/node_modules/isexe/dist/esm/index.min.js.map +0 -7
  1076. package/node_modules/isexe/dist/esm/options.d.ts +0 -32
  1077. package/node_modules/isexe/dist/esm/options.d.ts.map +0 -1
  1078. package/node_modules/isexe/dist/esm/options.js +0 -2
  1079. package/node_modules/isexe/dist/esm/options.js.map +0 -1
  1080. package/node_modules/isexe/dist/esm/package.json +0 -3
  1081. package/node_modules/isexe/dist/esm/posix.d.ts +0 -18
  1082. package/node_modules/isexe/dist/esm/posix.d.ts.map +0 -1
  1083. package/node_modules/isexe/dist/esm/posix.js +0 -62
  1084. package/node_modules/isexe/dist/esm/posix.js.map +0 -1
  1085. package/node_modules/isexe/dist/esm/win32.d.ts +0 -18
  1086. package/node_modules/isexe/dist/esm/win32.d.ts.map +0 -1
  1087. package/node_modules/isexe/dist/esm/win32.js +0 -58
  1088. package/node_modules/isexe/dist/esm/win32.js.map +0 -1
  1089. package/node_modules/isexe/package.json +0 -78
  1090. package/node_modules/mimic-response/index.d.ts +0 -17
  1091. package/node_modules/mimic-response/index.js +0 -77
  1092. package/node_modules/mimic-response/license +0 -9
  1093. package/node_modules/mimic-response/package.json +0 -42
  1094. package/node_modules/mimic-response/readme.md +0 -78
  1095. package/node_modules/minimist/.eslintrc +0 -29
  1096. package/node_modules/minimist/.github/FUNDING.yml +0 -12
  1097. package/node_modules/minimist/.nycrc +0 -14
  1098. package/node_modules/minimist/CHANGELOG.md +0 -298
  1099. package/node_modules/minimist/LICENSE +0 -18
  1100. package/node_modules/minimist/README.md +0 -121
  1101. package/node_modules/minimist/example/parse.js +0 -4
  1102. package/node_modules/minimist/index.js +0 -263
  1103. package/node_modules/minimist/package.json +0 -75
  1104. package/node_modules/minimist/test/all_bool.js +0 -34
  1105. package/node_modules/minimist/test/bool.js +0 -177
  1106. package/node_modules/minimist/test/dash.js +0 -43
  1107. package/node_modules/minimist/test/default_bool.js +0 -37
  1108. package/node_modules/minimist/test/dotted.js +0 -24
  1109. package/node_modules/minimist/test/kv_short.js +0 -32
  1110. package/node_modules/minimist/test/long.js +0 -33
  1111. package/node_modules/minimist/test/num.js +0 -38
  1112. package/node_modules/minimist/test/parse.js +0 -209
  1113. package/node_modules/minimist/test/parse_modified.js +0 -11
  1114. package/node_modules/minimist/test/proto.js +0 -64
  1115. package/node_modules/minimist/test/short.js +0 -69
  1116. package/node_modules/minimist/test/stop_early.js +0 -17
  1117. package/node_modules/minimist/test/unknown.js +0 -104
  1118. package/node_modules/minimist/test/whitespace.js +0 -10
  1119. package/node_modules/minipass/LICENSE.md +0 -55
  1120. package/node_modules/minipass/README.md +0 -825
  1121. package/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
  1122. package/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  1123. package/node_modules/minipass/dist/commonjs/index.js +0 -1038
  1124. package/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  1125. package/node_modules/minipass/dist/commonjs/package.json +0 -3
  1126. package/node_modules/minipass/dist/esm/index.d.ts +0 -545
  1127. package/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  1128. package/node_modules/minipass/dist/esm/index.js +0 -1020
  1129. package/node_modules/minipass/dist/esm/index.js.map +0 -1
  1130. package/node_modules/minipass/dist/esm/package.json +0 -3
  1131. package/node_modules/minipass/package.json +0 -77
  1132. package/node_modules/minizlib/LICENSE +0 -26
  1133. package/node_modules/minizlib/README.md +0 -64
  1134. package/node_modules/minizlib/dist/commonjs/constants.d.ts +0 -2
  1135. package/node_modules/minizlib/dist/commonjs/constants.d.ts.map +0 -1
  1136. package/node_modules/minizlib/dist/commonjs/constants.js +0 -123
  1137. package/node_modules/minizlib/dist/commonjs/constants.js.map +0 -1
  1138. package/node_modules/minizlib/dist/commonjs/index.d.ts +0 -99
  1139. package/node_modules/minizlib/dist/commonjs/index.d.ts.map +0 -1
  1140. package/node_modules/minizlib/dist/commonjs/index.js +0 -416
  1141. package/node_modules/minizlib/dist/commonjs/index.js.map +0 -1
  1142. package/node_modules/minizlib/dist/commonjs/package.json +0 -3
  1143. package/node_modules/minizlib/dist/esm/constants.d.ts +0 -2
  1144. package/node_modules/minizlib/dist/esm/constants.d.ts.map +0 -1
  1145. package/node_modules/minizlib/dist/esm/constants.js +0 -117
  1146. package/node_modules/minizlib/dist/esm/constants.js.map +0 -1
  1147. package/node_modules/minizlib/dist/esm/index.d.ts +0 -99
  1148. package/node_modules/minizlib/dist/esm/index.d.ts.map +0 -1
  1149. package/node_modules/minizlib/dist/esm/index.js +0 -363
  1150. package/node_modules/minizlib/dist/esm/index.js.map +0 -1
  1151. package/node_modules/minizlib/dist/esm/package.json +0 -3
  1152. package/node_modules/minizlib/package.json +0 -80
  1153. package/node_modules/mkdirp-classic/LICENSE +0 -21
  1154. package/node_modules/mkdirp-classic/README.md +0 -18
  1155. package/node_modules/mkdirp-classic/index.js +0 -98
  1156. package/node_modules/mkdirp-classic/package.json +0 -18
  1157. package/node_modules/napi-build-utils/.github/workflows/run-npm-tests.yml +0 -31
  1158. package/node_modules/napi-build-utils/LICENSE +0 -21
  1159. package/node_modules/napi-build-utils/README.md +0 -52
  1160. package/node_modules/napi-build-utils/index.js +0 -214
  1161. package/node_modules/napi-build-utils/index.md +0 -0
  1162. package/node_modules/napi-build-utils/package.json +0 -42
  1163. package/node_modules/node-abi/LICENSE +0 -21
  1164. package/node_modules/node-abi/README.md +0 -54
  1165. package/node_modules/node-abi/abi_registry.json +0 -439
  1166. package/node_modules/node-abi/index.js +0 -179
  1167. package/node_modules/node-abi/package.json +0 -45
  1168. package/node_modules/node-addon-api/LICENSE.md +0 -9
  1169. package/node_modules/node-addon-api/README.md +0 -95
  1170. package/node_modules/node-addon-api/common.gypi +0 -21
  1171. package/node_modules/node-addon-api/except.gypi +0 -25
  1172. package/node_modules/node-addon-api/index.js +0 -14
  1173. package/node_modules/node-addon-api/napi-inl.deprecated.h +0 -186
  1174. package/node_modules/node-addon-api/napi-inl.h +0 -7165
  1175. package/node_modules/node-addon-api/napi.h +0 -3364
  1176. package/node_modules/node-addon-api/node_addon_api.gyp +0 -42
  1177. package/node_modules/node-addon-api/node_api.gyp +0 -9
  1178. package/node_modules/node-addon-api/noexcept.gypi +0 -26
  1179. package/node_modules/node-addon-api/nothing.c +0 -0
  1180. package/node_modules/node-addon-api/package-support.json +0 -21
  1181. package/node_modules/node-addon-api/package.json +0 -480
  1182. package/node_modules/node-addon-api/tools/README.md +0 -73
  1183. package/node_modules/node-addon-api/tools/check-napi.js +0 -99
  1184. package/node_modules/node-addon-api/tools/clang-format.js +0 -71
  1185. package/node_modules/node-addon-api/tools/conversion.js +0 -301
  1186. package/node_modules/node-gyp/.release-please-manifest.json +0 -3
  1187. package/node_modules/node-gyp/CHANGELOG.md +0 -1221
  1188. package/node_modules/node-gyp/CODE_OF_CONDUCT.md +0 -4
  1189. package/node_modules/node-gyp/CONTRIBUTING.md +0 -44
  1190. package/node_modules/node-gyp/LICENSE +0 -24
  1191. package/node_modules/node-gyp/README.md +0 -290
  1192. package/node_modules/node-gyp/SECURITY.md +0 -2
  1193. package/node_modules/node-gyp/addon.gypi +0 -204
  1194. package/node_modules/node-gyp/bin/node-gyp.js +0 -145
  1195. package/node_modules/node-gyp/eslint.config.js +0 -3
  1196. package/node_modules/node-gyp/gyp/.release-please-manifest.json +0 -3
  1197. package/node_modules/node-gyp/gyp/LICENSE +0 -28
  1198. package/node_modules/node-gyp/gyp/data/ninja/build.ninja +0 -4
  1199. package/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  1200. package/node_modules/node-gyp/gyp/docs/GypVsCMake.md +0 -116
  1201. package/node_modules/node-gyp/gyp/docs/Hacking.md +0 -46
  1202. package/node_modules/node-gyp/gyp/docs/InputFormatReference.md +0 -1083
  1203. package/node_modules/node-gyp/gyp/docs/LanguageSpecification.md +0 -430
  1204. package/node_modules/node-gyp/gyp/docs/README.md +0 -27
  1205. package/node_modules/node-gyp/gyp/docs/Testing.md +0 -450
  1206. package/node_modules/node-gyp/gyp/docs/UserDocumentation.md +0 -965
  1207. package/node_modules/node-gyp/gyp/gyp +0 -8
  1208. package/node_modules/node-gyp/gyp/gyp.bat +0 -5
  1209. package/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  1210. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  1211. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  1212. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1283
  1213. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1545
  1214. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  1215. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -152
  1216. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  1217. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -607
  1218. package/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -706
  1219. package/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -725
  1220. package/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -186
  1221. package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -170
  1222. package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  1223. package/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  1224. package/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  1225. package/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -805
  1226. package/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1169
  1227. package/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1316
  1228. package/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -128
  1229. package/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -104
  1230. package/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -461
  1231. package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -88
  1232. package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -55
  1233. package/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2755
  1234. package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3970
  1235. package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  1236. package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2957
  1237. package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -77
  1238. package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1389
  1239. package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -26
  1240. package/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3097
  1241. package/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -99
  1242. package/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -765
  1243. package/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1255
  1244. package/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  1245. package/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  1246. package/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -371
  1247. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1936
  1248. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +0 -54
  1249. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -301
  1250. package/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3180
  1251. package/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -64
  1252. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +0 -3
  1253. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +0 -177
  1254. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +0 -23
  1255. package/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  1256. package/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +0 -107
  1257. package/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  1258. package/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  1259. package/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  1260. package/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  1261. package/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  1262. package/node_modules/node-gyp/gyp/pylib/packaging/markers.py +0 -251
  1263. package/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +0 -807
  1264. package/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  1265. package/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  1266. package/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  1267. package/node_modules/node-gyp/gyp/pylib/packaging/tags.py +0 -541
  1268. package/node_modules/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  1269. package/node_modules/node-gyp/gyp/pylib/packaging/version.py +0 -563
  1270. package/node_modules/node-gyp/gyp/pyproject.toml +0 -116
  1271. package/node_modules/node-gyp/gyp/release-please-config.json +0 -11
  1272. package/node_modules/node-gyp/gyp/test_gyp.py +0 -260
  1273. package/node_modules/node-gyp/lib/Find-VisualStudio.cs +0 -250
  1274. package/node_modules/node-gyp/lib/build.js +0 -230
  1275. package/node_modules/node-gyp/lib/clean.js +0 -15
  1276. package/node_modules/node-gyp/lib/configure.js +0 -328
  1277. package/node_modules/node-gyp/lib/create-config-gypi.js +0 -153
  1278. package/node_modules/node-gyp/lib/download.js +0 -86
  1279. package/node_modules/node-gyp/lib/find-node-directory.js +0 -63
  1280. package/node_modules/node-gyp/lib/find-python.js +0 -304
  1281. package/node_modules/node-gyp/lib/find-visualstudio.js +0 -606
  1282. package/node_modules/node-gyp/lib/install.js +0 -411
  1283. package/node_modules/node-gyp/lib/list.js +0 -26
  1284. package/node_modules/node-gyp/lib/log.js +0 -168
  1285. package/node_modules/node-gyp/lib/node-gyp.js +0 -199
  1286. package/node_modules/node-gyp/lib/process-release.js +0 -144
  1287. package/node_modules/node-gyp/lib/rebuild.js +0 -12
  1288. package/node_modules/node-gyp/lib/remove.js +0 -43
  1289. package/node_modules/node-gyp/lib/util.js +0 -81
  1290. package/node_modules/node-gyp/macOS_Catalina_acid_test.sh +0 -21
  1291. package/node_modules/node-gyp/package.json +0 -52
  1292. package/node_modules/node-gyp/release-please-config.json +0 -40
  1293. package/node_modules/node-gyp/src/win_delay_load_hook.cc +0 -41
  1294. package/node_modules/nopt/LICENSE +0 -15
  1295. package/node_modules/nopt/README.md +0 -214
  1296. package/node_modules/nopt/bin/nopt.js +0 -29
  1297. package/node_modules/nopt/lib/debug.js +0 -5
  1298. package/node_modules/nopt/lib/nopt-lib.js +0 -514
  1299. package/node_modules/nopt/lib/nopt.js +0 -34
  1300. package/node_modules/nopt/lib/type-defs.js +0 -91
  1301. package/node_modules/nopt/package.json +0 -52
  1302. package/node_modules/once/LICENSE +0 -15
  1303. package/node_modules/once/README.md +0 -79
  1304. package/node_modules/once/once.js +0 -42
  1305. package/node_modules/once/package.json +0 -33
  1306. package/node_modules/picomatch/LICENSE +0 -21
  1307. package/node_modules/picomatch/README.md +0 -749
  1308. package/node_modules/picomatch/index.js +0 -17
  1309. package/node_modules/picomatch/lib/constants.js +0 -184
  1310. package/node_modules/picomatch/lib/parse.js +0 -1386
  1311. package/node_modules/picomatch/lib/picomatch.js +0 -349
  1312. package/node_modules/picomatch/lib/scan.js +0 -391
  1313. package/node_modules/picomatch/lib/utils.js +0 -72
  1314. package/node_modules/picomatch/package.json +0 -82
  1315. package/node_modules/picomatch/posix.js +0 -3
  1316. package/node_modules/prebuild-install/CHANGELOG.md +0 -131
  1317. package/node_modules/prebuild-install/CONTRIBUTING.md +0 -6
  1318. package/node_modules/prebuild-install/LICENSE +0 -21
  1319. package/node_modules/prebuild-install/README.md +0 -163
  1320. package/node_modules/prebuild-install/asset.js +0 -44
  1321. package/node_modules/prebuild-install/bin.js +0 -78
  1322. package/node_modules/prebuild-install/download.js +0 -142
  1323. package/node_modules/prebuild-install/error.js +0 -14
  1324. package/node_modules/prebuild-install/help.txt +0 -16
  1325. package/node_modules/prebuild-install/index.js +0 -1
  1326. package/node_modules/prebuild-install/log.js +0 -33
  1327. package/node_modules/prebuild-install/package.json +0 -67
  1328. package/node_modules/prebuild-install/proxy.js +0 -35
  1329. package/node_modules/prebuild-install/rc.js +0 -64
  1330. package/node_modules/prebuild-install/util.js +0 -143
  1331. package/node_modules/proc-log/LICENSE +0 -15
  1332. package/node_modules/proc-log/README.md +0 -226
  1333. package/node_modules/proc-log/lib/index.js +0 -158
  1334. package/node_modules/proc-log/package.json +0 -46
  1335. package/node_modules/pump/.github/FUNDING.yml +0 -2
  1336. package/node_modules/pump/.travis.yml +0 -5
  1337. package/node_modules/pump/LICENSE +0 -21
  1338. package/node_modules/pump/README.md +0 -74
  1339. package/node_modules/pump/SECURITY.md +0 -5
  1340. package/node_modules/pump/empty.js +0 -1
  1341. package/node_modules/pump/index.js +0 -86
  1342. package/node_modules/pump/package.json +0 -30
  1343. package/node_modules/pump/test-browser.js +0 -66
  1344. package/node_modules/pump/test-node.js +0 -53
  1345. package/node_modules/rc/LICENSE.APACHE2 +0 -15
  1346. package/node_modules/rc/LICENSE.BSD +0 -26
  1347. package/node_modules/rc/LICENSE.MIT +0 -24
  1348. package/node_modules/rc/README.md +0 -227
  1349. package/node_modules/rc/browser.js +0 -7
  1350. package/node_modules/rc/cli.js +0 -4
  1351. package/node_modules/rc/index.js +0 -53
  1352. package/node_modules/rc/lib/utils.js +0 -104
  1353. package/node_modules/rc/package.json +0 -29
  1354. package/node_modules/rc/test/ini.js +0 -16
  1355. package/node_modules/rc/test/nested-env-vars.js +0 -50
  1356. package/node_modules/rc/test/test.js +0 -59
  1357. package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  1358. package/node_modules/readable-stream/GOVERNANCE.md +0 -136
  1359. package/node_modules/readable-stream/LICENSE +0 -47
  1360. package/node_modules/readable-stream/README.md +0 -106
  1361. package/node_modules/readable-stream/errors-browser.js +0 -127
  1362. package/node_modules/readable-stream/errors.js +0 -116
  1363. package/node_modules/readable-stream/experimentalWarning.js +0 -17
  1364. package/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
  1365. package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
  1366. package/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
  1367. package/node_modules/readable-stream/lib/_stream_transform.js +0 -190
  1368. package/node_modules/readable-stream/lib/_stream_writable.js +0 -641
  1369. package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
  1370. package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
  1371. package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
  1372. package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
  1373. package/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  1374. package/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
  1375. package/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
  1376. package/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
  1377. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  1378. package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  1379. package/node_modules/readable-stream/package.json +0 -68
  1380. package/node_modules/readable-stream/readable-browser.js +0 -9
  1381. package/node_modules/readable-stream/readable.js +0 -16
  1382. package/node_modules/safe-buffer/LICENSE +0 -21
  1383. package/node_modules/safe-buffer/README.md +0 -584
  1384. package/node_modules/safe-buffer/index.d.ts +0 -187
  1385. package/node_modules/safe-buffer/index.js +0 -65
  1386. package/node_modules/safe-buffer/package.json +0 -51
  1387. package/node_modules/semver/LICENSE +0 -15
  1388. package/node_modules/semver/README.md +0 -665
  1389. package/node_modules/semver/bin/semver.js +0 -191
  1390. package/node_modules/semver/classes/comparator.js +0 -143
  1391. package/node_modules/semver/classes/index.js +0 -7
  1392. package/node_modules/semver/classes/range.js +0 -557
  1393. package/node_modules/semver/classes/semver.js +0 -333
  1394. package/node_modules/semver/functions/clean.js +0 -8
  1395. package/node_modules/semver/functions/cmp.js +0 -54
  1396. package/node_modules/semver/functions/coerce.js +0 -62
  1397. package/node_modules/semver/functions/compare-build.js +0 -9
  1398. package/node_modules/semver/functions/compare-loose.js +0 -5
  1399. package/node_modules/semver/functions/compare.js +0 -7
  1400. package/node_modules/semver/functions/diff.js +0 -60
  1401. package/node_modules/semver/functions/eq.js +0 -5
  1402. package/node_modules/semver/functions/gt.js +0 -5
  1403. package/node_modules/semver/functions/gte.js +0 -5
  1404. package/node_modules/semver/functions/inc.js +0 -21
  1405. package/node_modules/semver/functions/lt.js +0 -5
  1406. package/node_modules/semver/functions/lte.js +0 -5
  1407. package/node_modules/semver/functions/major.js +0 -5
  1408. package/node_modules/semver/functions/minor.js +0 -5
  1409. package/node_modules/semver/functions/neq.js +0 -5
  1410. package/node_modules/semver/functions/parse.js +0 -18
  1411. package/node_modules/semver/functions/patch.js +0 -5
  1412. package/node_modules/semver/functions/prerelease.js +0 -8
  1413. package/node_modules/semver/functions/rcompare.js +0 -5
  1414. package/node_modules/semver/functions/rsort.js +0 -5
  1415. package/node_modules/semver/functions/satisfies.js +0 -12
  1416. package/node_modules/semver/functions/sort.js +0 -5
  1417. package/node_modules/semver/functions/valid.js +0 -8
  1418. package/node_modules/semver/index.js +0 -91
  1419. package/node_modules/semver/internal/constants.js +0 -37
  1420. package/node_modules/semver/internal/debug.js +0 -11
  1421. package/node_modules/semver/internal/identifiers.js +0 -29
  1422. package/node_modules/semver/internal/lrucache.js +0 -42
  1423. package/node_modules/semver/internal/parse-options.js +0 -17
  1424. package/node_modules/semver/internal/re.js +0 -223
  1425. package/node_modules/semver/package.json +0 -78
  1426. package/node_modules/semver/preload.js +0 -4
  1427. package/node_modules/semver/range.bnf +0 -16
  1428. package/node_modules/semver/ranges/gtr.js +0 -6
  1429. package/node_modules/semver/ranges/intersects.js +0 -9
  1430. package/node_modules/semver/ranges/ltr.js +0 -6
  1431. package/node_modules/semver/ranges/max-satisfying.js +0 -27
  1432. package/node_modules/semver/ranges/min-satisfying.js +0 -26
  1433. package/node_modules/semver/ranges/min-version.js +0 -63
  1434. package/node_modules/semver/ranges/outside.js +0 -82
  1435. package/node_modules/semver/ranges/simplify.js +0 -49
  1436. package/node_modules/semver/ranges/subset.js +0 -249
  1437. package/node_modules/semver/ranges/to-comparators.js +0 -10
  1438. package/node_modules/semver/ranges/valid.js +0 -13
  1439. package/node_modules/simple-concat/.travis.yml +0 -3
  1440. package/node_modules/simple-concat/LICENSE +0 -20
  1441. package/node_modules/simple-concat/README.md +0 -44
  1442. package/node_modules/simple-concat/index.js +0 -15
  1443. package/node_modules/simple-concat/package.json +0 -47
  1444. package/node_modules/simple-concat/test/basic.js +0 -41
  1445. package/node_modules/simple-get/.github/dependabot.yml +0 -15
  1446. package/node_modules/simple-get/.github/workflows/ci.yml +0 -23
  1447. package/node_modules/simple-get/LICENSE +0 -20
  1448. package/node_modules/simple-get/README.md +0 -333
  1449. package/node_modules/simple-get/index.js +0 -108
  1450. package/node_modules/simple-get/package.json +0 -67
  1451. package/node_modules/sqlite3/LICENSE +0 -25
  1452. package/node_modules/sqlite3/README.md +0 -253
  1453. package/node_modules/sqlite3/binding.gyp +0 -58
  1454. package/node_modules/sqlite3/build/Release/node_sqlite3.node +0 -0
  1455. package/node_modules/sqlite3/deps/common-sqlite.gypi +0 -60
  1456. package/node_modules/sqlite3/deps/extract.js +0 -19
  1457. package/node_modules/sqlite3/deps/sqlite-autoconf-3520000.tar.gz +0 -0
  1458. package/node_modules/sqlite3/deps/sqlite3.gyp +0 -121
  1459. package/node_modules/sqlite3/lib/sqlite3-binding.js +0 -1
  1460. package/node_modules/sqlite3/lib/sqlite3.d.ts +0 -205
  1461. package/node_modules/sqlite3/lib/sqlite3.js +0 -207
  1462. package/node_modules/sqlite3/lib/trace.js +0 -38
  1463. package/node_modules/sqlite3/package.json +0 -92
  1464. package/node_modules/sqlite3/src/async.h +0 -76
  1465. package/node_modules/sqlite3/src/backup.cc +0 -418
  1466. package/node_modules/sqlite3/src/backup.h +0 -209
  1467. package/node_modules/sqlite3/src/database.cc +0 -751
  1468. package/node_modules/sqlite3/src/database.h +0 -188
  1469. package/node_modules/sqlite3/src/gcc-preinclude.h +0 -31
  1470. package/node_modules/sqlite3/src/macros.h +0 -207
  1471. package/node_modules/sqlite3/src/node_sqlite3.cc +0 -128
  1472. package/node_modules/sqlite3/src/statement.cc +0 -939
  1473. package/node_modules/sqlite3/src/statement.h +0 -244
  1474. package/node_modules/sqlite3/src/threading.h +0 -10
  1475. package/node_modules/string_decoder/LICENSE +0 -48
  1476. package/node_modules/string_decoder/README.md +0 -47
  1477. package/node_modules/string_decoder/lib/string_decoder.js +0 -296
  1478. package/node_modules/string_decoder/package.json +0 -34
  1479. package/node_modules/strip-json-comments/index.js +0 -70
  1480. package/node_modules/strip-json-comments/license +0 -21
  1481. package/node_modules/strip-json-comments/package.json +0 -42
  1482. package/node_modules/strip-json-comments/readme.md +0 -64
  1483. package/node_modules/tar/LICENSE.md +0 -55
  1484. package/node_modules/tar/README.md +0 -1224
  1485. package/node_modules/tar/dist/commonjs/create.d.ts +0 -3
  1486. package/node_modules/tar/dist/commonjs/create.d.ts.map +0 -1
  1487. package/node_modules/tar/dist/commonjs/create.js +0 -82
  1488. package/node_modules/tar/dist/commonjs/create.js.map +0 -1
  1489. package/node_modules/tar/dist/commonjs/cwd-error.d.ts +0 -8
  1490. package/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +0 -1
  1491. package/node_modules/tar/dist/commonjs/cwd-error.js +0 -18
  1492. package/node_modules/tar/dist/commonjs/cwd-error.js.map +0 -1
  1493. package/node_modules/tar/dist/commonjs/extract.d.ts +0 -3
  1494. package/node_modules/tar/dist/commonjs/extract.d.ts.map +0 -1
  1495. package/node_modules/tar/dist/commonjs/extract.js +0 -88
  1496. package/node_modules/tar/dist/commonjs/extract.js.map +0 -1
  1497. package/node_modules/tar/dist/commonjs/get-write-flag.d.ts +0 -2
  1498. package/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +0 -1
  1499. package/node_modules/tar/dist/commonjs/get-write-flag.js +0 -32
  1500. package/node_modules/tar/dist/commonjs/get-write-flag.js.map +0 -1
  1501. package/node_modules/tar/dist/commonjs/header.d.ts +0 -53
  1502. package/node_modules/tar/dist/commonjs/header.d.ts.map +0 -1
  1503. package/node_modules/tar/dist/commonjs/header.js +0 -312
  1504. package/node_modules/tar/dist/commonjs/header.js.map +0 -1
  1505. package/node_modules/tar/dist/commonjs/index.d.ts +0 -20
  1506. package/node_modules/tar/dist/commonjs/index.d.ts.map +0 -1
  1507. package/node_modules/tar/dist/commonjs/index.js +0 -64
  1508. package/node_modules/tar/dist/commonjs/index.js.map +0 -1
  1509. package/node_modules/tar/dist/commonjs/index.min.js +0 -4
  1510. package/node_modules/tar/dist/commonjs/index.min.js.map +0 -7
  1511. package/node_modules/tar/dist/commonjs/large-numbers.d.ts +0 -3
  1512. package/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +0 -1
  1513. package/node_modules/tar/dist/commonjs/large-numbers.js +0 -99
  1514. package/node_modules/tar/dist/commonjs/large-numbers.js.map +0 -1
  1515. package/node_modules/tar/dist/commonjs/list.d.ts +0 -7
  1516. package/node_modules/tar/dist/commonjs/list.d.ts.map +0 -1
  1517. package/node_modules/tar/dist/commonjs/list.js +0 -145
  1518. package/node_modules/tar/dist/commonjs/list.js.map +0 -1
  1519. package/node_modules/tar/dist/commonjs/make-command.d.ts +0 -49
  1520. package/node_modules/tar/dist/commonjs/make-command.d.ts.map +0 -1
  1521. package/node_modules/tar/dist/commonjs/make-command.js +0 -52
  1522. package/node_modules/tar/dist/commonjs/make-command.js.map +0 -1
  1523. package/node_modules/tar/dist/commonjs/mkdir.d.ts +0 -25
  1524. package/node_modules/tar/dist/commonjs/mkdir.d.ts.map +0 -1
  1525. package/node_modules/tar/dist/commonjs/mkdir.js +0 -187
  1526. package/node_modules/tar/dist/commonjs/mkdir.js.map +0 -1
  1527. package/node_modules/tar/dist/commonjs/mode-fix.d.ts +0 -2
  1528. package/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +0 -1
  1529. package/node_modules/tar/dist/commonjs/mode-fix.js +0 -29
  1530. package/node_modules/tar/dist/commonjs/mode-fix.js.map +0 -1
  1531. package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +0 -2
  1532. package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +0 -1
  1533. package/node_modules/tar/dist/commonjs/normalize-unicode.js +0 -38
  1534. package/node_modules/tar/dist/commonjs/normalize-unicode.js.map +0 -1
  1535. package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +0 -2
  1536. package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +0 -1
  1537. package/node_modules/tar/dist/commonjs/normalize-windows-path.js +0 -12
  1538. package/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +0 -1
  1539. package/node_modules/tar/dist/commonjs/options.d.ts +0 -596
  1540. package/node_modules/tar/dist/commonjs/options.d.ts.map +0 -1
  1541. package/node_modules/tar/dist/commonjs/options.js +0 -66
  1542. package/node_modules/tar/dist/commonjs/options.js.map +0 -1
  1543. package/node_modules/tar/dist/commonjs/pack.d.ts +0 -105
  1544. package/node_modules/tar/dist/commonjs/pack.d.ts.map +0 -1
  1545. package/node_modules/tar/dist/commonjs/pack.js +0 -545
  1546. package/node_modules/tar/dist/commonjs/pack.js.map +0 -1
  1547. package/node_modules/tar/dist/commonjs/package.json +0 -3
  1548. package/node_modules/tar/dist/commonjs/parse.d.ts +0 -85
  1549. package/node_modules/tar/dist/commonjs/parse.d.ts.map +0 -1
  1550. package/node_modules/tar/dist/commonjs/parse.js +0 -610
  1551. package/node_modules/tar/dist/commonjs/parse.js.map +0 -1
  1552. package/node_modules/tar/dist/commonjs/path-reservations.d.ts +0 -11
  1553. package/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +0 -1
  1554. package/node_modules/tar/dist/commonjs/path-reservations.js +0 -170
  1555. package/node_modules/tar/dist/commonjs/path-reservations.js.map +0 -1
  1556. package/node_modules/tar/dist/commonjs/pax.d.ts +0 -26
  1557. package/node_modules/tar/dist/commonjs/pax.d.ts.map +0 -1
  1558. package/node_modules/tar/dist/commonjs/pax.js +0 -158
  1559. package/node_modules/tar/dist/commonjs/pax.js.map +0 -1
  1560. package/node_modules/tar/dist/commonjs/process-umask.d.ts +0 -2
  1561. package/node_modules/tar/dist/commonjs/process-umask.d.ts.map +0 -1
  1562. package/node_modules/tar/dist/commonjs/process-umask.js +0 -7
  1563. package/node_modules/tar/dist/commonjs/process-umask.js.map +0 -1
  1564. package/node_modules/tar/dist/commonjs/read-entry.d.ts +0 -36
  1565. package/node_modules/tar/dist/commonjs/read-entry.d.ts.map +0 -1
  1566. package/node_modules/tar/dist/commonjs/read-entry.js +0 -136
  1567. package/node_modules/tar/dist/commonjs/read-entry.js.map +0 -1
  1568. package/node_modules/tar/dist/commonjs/replace.d.ts +0 -2
  1569. package/node_modules/tar/dist/commonjs/replace.d.ts.map +0 -1
  1570. package/node_modules/tar/dist/commonjs/replace.js +0 -227
  1571. package/node_modules/tar/dist/commonjs/replace.js.map +0 -1
  1572. package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +0 -2
  1573. package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +0 -1
  1574. package/node_modules/tar/dist/commonjs/strip-absolute-path.js +0 -29
  1575. package/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +0 -1
  1576. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +0 -2
  1577. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +0 -1
  1578. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +0 -18
  1579. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +0 -1
  1580. package/node_modules/tar/dist/commonjs/symlink-error.d.ts +0 -9
  1581. package/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +0 -1
  1582. package/node_modules/tar/dist/commonjs/symlink-error.js +0 -19
  1583. package/node_modules/tar/dist/commonjs/symlink-error.js.map +0 -1
  1584. package/node_modules/tar/dist/commonjs/types.d.ts +0 -7
  1585. package/node_modules/tar/dist/commonjs/types.d.ts.map +0 -1
  1586. package/node_modules/tar/dist/commonjs/types.js +0 -50
  1587. package/node_modules/tar/dist/commonjs/types.js.map +0 -1
  1588. package/node_modules/tar/dist/commonjs/unpack.d.ts +0 -101
  1589. package/node_modules/tar/dist/commonjs/unpack.d.ts.map +0 -1
  1590. package/node_modules/tar/dist/commonjs/unpack.js +0 -932
  1591. package/node_modules/tar/dist/commonjs/unpack.js.map +0 -1
  1592. package/node_modules/tar/dist/commonjs/update.d.ts +0 -2
  1593. package/node_modules/tar/dist/commonjs/update.d.ts.map +0 -1
  1594. package/node_modules/tar/dist/commonjs/update.js +0 -33
  1595. package/node_modules/tar/dist/commonjs/update.js.map +0 -1
  1596. package/node_modules/tar/dist/commonjs/warn-method.d.ts +0 -24
  1597. package/node_modules/tar/dist/commonjs/warn-method.d.ts.map +0 -1
  1598. package/node_modules/tar/dist/commonjs/warn-method.js +0 -31
  1599. package/node_modules/tar/dist/commonjs/warn-method.js.map +0 -1
  1600. package/node_modules/tar/dist/commonjs/winchars.d.ts +0 -3
  1601. package/node_modules/tar/dist/commonjs/winchars.d.ts.map +0 -1
  1602. package/node_modules/tar/dist/commonjs/winchars.js +0 -14
  1603. package/node_modules/tar/dist/commonjs/winchars.js.map +0 -1
  1604. package/node_modules/tar/dist/commonjs/write-entry.d.ts +0 -129
  1605. package/node_modules/tar/dist/commonjs/write-entry.d.ts.map +0 -1
  1606. package/node_modules/tar/dist/commonjs/write-entry.js +0 -698
  1607. package/node_modules/tar/dist/commonjs/write-entry.js.map +0 -1
  1608. package/node_modules/tar/dist/esm/create.d.ts +0 -3
  1609. package/node_modules/tar/dist/esm/create.d.ts.map +0 -1
  1610. package/node_modules/tar/dist/esm/create.js +0 -76
  1611. package/node_modules/tar/dist/esm/create.js.map +0 -1
  1612. package/node_modules/tar/dist/esm/cwd-error.d.ts +0 -8
  1613. package/node_modules/tar/dist/esm/cwd-error.d.ts.map +0 -1
  1614. package/node_modules/tar/dist/esm/cwd-error.js +0 -14
  1615. package/node_modules/tar/dist/esm/cwd-error.js.map +0 -1
  1616. package/node_modules/tar/dist/esm/extract.d.ts +0 -3
  1617. package/node_modules/tar/dist/esm/extract.d.ts.map +0 -1
  1618. package/node_modules/tar/dist/esm/extract.js +0 -49
  1619. package/node_modules/tar/dist/esm/extract.js.map +0 -1
  1620. package/node_modules/tar/dist/esm/get-write-flag.d.ts +0 -2
  1621. package/node_modules/tar/dist/esm/get-write-flag.d.ts.map +0 -1
  1622. package/node_modules/tar/dist/esm/get-write-flag.js +0 -26
  1623. package/node_modules/tar/dist/esm/get-write-flag.js.map +0 -1
  1624. package/node_modules/tar/dist/esm/header.d.ts +0 -53
  1625. package/node_modules/tar/dist/esm/header.d.ts.map +0 -1
  1626. package/node_modules/tar/dist/esm/header.js +0 -275
  1627. package/node_modules/tar/dist/esm/header.js.map +0 -1
  1628. package/node_modules/tar/dist/esm/index.d.ts +0 -20
  1629. package/node_modules/tar/dist/esm/index.d.ts.map +0 -1
  1630. package/node_modules/tar/dist/esm/index.js +0 -20
  1631. package/node_modules/tar/dist/esm/index.js.map +0 -1
  1632. package/node_modules/tar/dist/esm/index.min.js +0 -4
  1633. package/node_modules/tar/dist/esm/index.min.js.map +0 -7
  1634. package/node_modules/tar/dist/esm/large-numbers.d.ts +0 -3
  1635. package/node_modules/tar/dist/esm/large-numbers.d.ts.map +0 -1
  1636. package/node_modules/tar/dist/esm/large-numbers.js +0 -94
  1637. package/node_modules/tar/dist/esm/large-numbers.js.map +0 -1
  1638. package/node_modules/tar/dist/esm/list.d.ts +0 -7
  1639. package/node_modules/tar/dist/esm/list.d.ts.map +0 -1
  1640. package/node_modules/tar/dist/esm/list.js +0 -105
  1641. package/node_modules/tar/dist/esm/list.js.map +0 -1
  1642. package/node_modules/tar/dist/esm/make-command.d.ts +0 -49
  1643. package/node_modules/tar/dist/esm/make-command.d.ts.map +0 -1
  1644. package/node_modules/tar/dist/esm/make-command.js +0 -48
  1645. package/node_modules/tar/dist/esm/make-command.js.map +0 -1
  1646. package/node_modules/tar/dist/esm/mkdir.d.ts +0 -25
  1647. package/node_modules/tar/dist/esm/mkdir.d.ts.map +0 -1
  1648. package/node_modules/tar/dist/esm/mkdir.js +0 -179
  1649. package/node_modules/tar/dist/esm/mkdir.js.map +0 -1
  1650. package/node_modules/tar/dist/esm/mode-fix.d.ts +0 -2
  1651. package/node_modules/tar/dist/esm/mode-fix.d.ts.map +0 -1
  1652. package/node_modules/tar/dist/esm/mode-fix.js +0 -25
  1653. package/node_modules/tar/dist/esm/mode-fix.js.map +0 -1
  1654. package/node_modules/tar/dist/esm/normalize-unicode.d.ts +0 -2
  1655. package/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +0 -1
  1656. package/node_modules/tar/dist/esm/normalize-unicode.js +0 -34
  1657. package/node_modules/tar/dist/esm/normalize-unicode.js.map +0 -1
  1658. package/node_modules/tar/dist/esm/normalize-windows-path.d.ts +0 -2
  1659. package/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +0 -1
  1660. package/node_modules/tar/dist/esm/normalize-windows-path.js +0 -9
  1661. package/node_modules/tar/dist/esm/normalize-windows-path.js.map +0 -1
  1662. package/node_modules/tar/dist/esm/options.d.ts +0 -596
  1663. package/node_modules/tar/dist/esm/options.d.ts.map +0 -1
  1664. package/node_modules/tar/dist/esm/options.js +0 -54
  1665. package/node_modules/tar/dist/esm/options.js.map +0 -1
  1666. package/node_modules/tar/dist/esm/pack.d.ts +0 -105
  1667. package/node_modules/tar/dist/esm/pack.d.ts.map +0 -1
  1668. package/node_modules/tar/dist/esm/pack.js +0 -503
  1669. package/node_modules/tar/dist/esm/pack.js.map +0 -1
  1670. package/node_modules/tar/dist/esm/package.json +0 -3
  1671. package/node_modules/tar/dist/esm/parse.d.ts +0 -85
  1672. package/node_modules/tar/dist/esm/parse.d.ts.map +0 -1
  1673. package/node_modules/tar/dist/esm/parse.js +0 -606
  1674. package/node_modules/tar/dist/esm/parse.js.map +0 -1
  1675. package/node_modules/tar/dist/esm/path-reservations.d.ts +0 -11
  1676. package/node_modules/tar/dist/esm/path-reservations.d.ts.map +0 -1
  1677. package/node_modules/tar/dist/esm/path-reservations.js +0 -166
  1678. package/node_modules/tar/dist/esm/path-reservations.js.map +0 -1
  1679. package/node_modules/tar/dist/esm/pax.d.ts +0 -26
  1680. package/node_modules/tar/dist/esm/pax.d.ts.map +0 -1
  1681. package/node_modules/tar/dist/esm/pax.js +0 -154
  1682. package/node_modules/tar/dist/esm/pax.js.map +0 -1
  1683. package/node_modules/tar/dist/esm/process-umask.d.ts +0 -2
  1684. package/node_modules/tar/dist/esm/process-umask.d.ts.map +0 -1
  1685. package/node_modules/tar/dist/esm/process-umask.js +0 -3
  1686. package/node_modules/tar/dist/esm/process-umask.js.map +0 -1
  1687. package/node_modules/tar/dist/esm/read-entry.d.ts +0 -36
  1688. package/node_modules/tar/dist/esm/read-entry.d.ts.map +0 -1
  1689. package/node_modules/tar/dist/esm/read-entry.js +0 -132
  1690. package/node_modules/tar/dist/esm/read-entry.js.map +0 -1
  1691. package/node_modules/tar/dist/esm/replace.d.ts +0 -2
  1692. package/node_modules/tar/dist/esm/replace.d.ts.map +0 -1
  1693. package/node_modules/tar/dist/esm/replace.js +0 -221
  1694. package/node_modules/tar/dist/esm/replace.js.map +0 -1
  1695. package/node_modules/tar/dist/esm/strip-absolute-path.d.ts +0 -2
  1696. package/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +0 -1
  1697. package/node_modules/tar/dist/esm/strip-absolute-path.js +0 -25
  1698. package/node_modules/tar/dist/esm/strip-absolute-path.js.map +0 -1
  1699. package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +0 -2
  1700. package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +0 -1
  1701. package/node_modules/tar/dist/esm/strip-trailing-slashes.js +0 -14
  1702. package/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +0 -1
  1703. package/node_modules/tar/dist/esm/symlink-error.d.ts +0 -9
  1704. package/node_modules/tar/dist/esm/symlink-error.d.ts.map +0 -1
  1705. package/node_modules/tar/dist/esm/symlink-error.js +0 -15
  1706. package/node_modules/tar/dist/esm/symlink-error.js.map +0 -1
  1707. package/node_modules/tar/dist/esm/types.d.ts +0 -7
  1708. package/node_modules/tar/dist/esm/types.d.ts.map +0 -1
  1709. package/node_modules/tar/dist/esm/types.js +0 -45
  1710. package/node_modules/tar/dist/esm/types.js.map +0 -1
  1711. package/node_modules/tar/dist/esm/unpack.d.ts +0 -101
  1712. package/node_modules/tar/dist/esm/unpack.d.ts.map +0 -1
  1713. package/node_modules/tar/dist/esm/unpack.js +0 -891
  1714. package/node_modules/tar/dist/esm/unpack.js.map +0 -1
  1715. package/node_modules/tar/dist/esm/update.d.ts +0 -2
  1716. package/node_modules/tar/dist/esm/update.d.ts.map +0 -1
  1717. package/node_modules/tar/dist/esm/update.js +0 -30
  1718. package/node_modules/tar/dist/esm/update.js.map +0 -1
  1719. package/node_modules/tar/dist/esm/warn-method.d.ts +0 -24
  1720. package/node_modules/tar/dist/esm/warn-method.d.ts.map +0 -1
  1721. package/node_modules/tar/dist/esm/warn-method.js +0 -27
  1722. package/node_modules/tar/dist/esm/warn-method.js.map +0 -1
  1723. package/node_modules/tar/dist/esm/winchars.d.ts +0 -3
  1724. package/node_modules/tar/dist/esm/winchars.d.ts.map +0 -1
  1725. package/node_modules/tar/dist/esm/winchars.js +0 -9
  1726. package/node_modules/tar/dist/esm/winchars.js.map +0 -1
  1727. package/node_modules/tar/dist/esm/write-entry.d.ts +0 -129
  1728. package/node_modules/tar/dist/esm/write-entry.d.ts.map +0 -1
  1729. package/node_modules/tar/dist/esm/write-entry.js +0 -656
  1730. package/node_modules/tar/dist/esm/write-entry.js.map +0 -1
  1731. package/node_modules/tar/package.json +0 -297
  1732. package/node_modules/tar-fs/.travis.yml +0 -6
  1733. package/node_modules/tar-fs/LICENSE +0 -21
  1734. package/node_modules/tar-fs/README.md +0 -165
  1735. package/node_modules/tar-fs/index.js +0 -363
  1736. package/node_modules/tar-fs/node_modules/chownr/LICENSE +0 -15
  1737. package/node_modules/tar-fs/node_modules/chownr/README.md +0 -3
  1738. package/node_modules/tar-fs/node_modules/chownr/chownr.js +0 -167
  1739. package/node_modules/tar-fs/node_modules/chownr/package.json +0 -29
  1740. package/node_modules/tar-fs/package.json +0 -41
  1741. package/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
  1742. package/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
  1743. package/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
  1744. package/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
  1745. package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
  1746. package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
  1747. package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
  1748. package/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
  1749. package/node_modules/tar-fs/test/fixtures/e/file +0 -0
  1750. package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
  1751. package/node_modules/tar-fs/test/index.js +0 -346
  1752. package/node_modules/tar-stream/LICENSE +0 -21
  1753. package/node_modules/tar-stream/README.md +0 -168
  1754. package/node_modules/tar-stream/extract.js +0 -257
  1755. package/node_modules/tar-stream/headers.js +0 -295
  1756. package/node_modules/tar-stream/index.js +0 -2
  1757. package/node_modules/tar-stream/pack.js +0 -255
  1758. package/node_modules/tar-stream/package.json +0 -58
  1759. package/node_modules/tar-stream/sandbox.js +0 -11
  1760. package/node_modules/tinyglobby/LICENSE +0 -21
  1761. package/node_modules/tinyglobby/README.md +0 -25
  1762. package/node_modules/tinyglobby/dist/index.cjs +0 -334
  1763. package/node_modules/tinyglobby/dist/index.d.cts +0 -148
  1764. package/node_modules/tinyglobby/dist/index.d.mts +0 -148
  1765. package/node_modules/tinyglobby/dist/index.mjs +0 -306
  1766. package/node_modules/tinyglobby/package.json +0 -73
  1767. package/node_modules/tunnel-agent/LICENSE +0 -55
  1768. package/node_modules/tunnel-agent/README.md +0 -4
  1769. package/node_modules/tunnel-agent/index.js +0 -244
  1770. package/node_modules/tunnel-agent/package.json +0 -22
  1771. package/node_modules/undici/LICENSE +0 -21
  1772. package/node_modules/undici/README.md +0 -741
  1773. package/node_modules/undici/docs/docs/api/Agent.md +0 -84
  1774. package/node_modules/undici/docs/docs/api/BalancedPool.md +0 -99
  1775. package/node_modules/undici/docs/docs/api/CacheStorage.md +0 -30
  1776. package/node_modules/undici/docs/docs/api/CacheStore.md +0 -164
  1777. package/node_modules/undici/docs/docs/api/Client.md +0 -285
  1778. package/node_modules/undici/docs/docs/api/ClientStats.md +0 -27
  1779. package/node_modules/undici/docs/docs/api/Connector.md +0 -115
  1780. package/node_modules/undici/docs/docs/api/ContentType.md +0 -57
  1781. package/node_modules/undici/docs/docs/api/Cookies.md +0 -101
  1782. package/node_modules/undici/docs/docs/api/Debug.md +0 -62
  1783. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -315
  1784. package/node_modules/undici/docs/docs/api/Dispatcher.md +0 -1392
  1785. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -159
  1786. package/node_modules/undici/docs/docs/api/Errors.md +0 -49
  1787. package/node_modules/undici/docs/docs/api/EventSource.md +0 -45
  1788. package/node_modules/undici/docs/docs/api/Fetch.md +0 -60
  1789. package/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -139
  1790. package/node_modules/undici/docs/docs/api/H2CClient.md +0 -263
  1791. package/node_modules/undici/docs/docs/api/MockAgent.md +0 -603
  1792. package/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -197
  1793. package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -43
  1794. package/node_modules/undici/docs/docs/api/MockClient.md +0 -81
  1795. package/node_modules/undici/docs/docs/api/MockErrors.md +0 -12
  1796. package/node_modules/undici/docs/docs/api/MockPool.md +0 -555
  1797. package/node_modules/undici/docs/docs/api/Pool.md +0 -84
  1798. package/node_modules/undici/docs/docs/api/PoolStats.md +0 -35
  1799. package/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -229
  1800. package/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -93
  1801. package/node_modules/undici/docs/docs/api/RetryAgent.md +0 -50
  1802. package/node_modules/undici/docs/docs/api/RetryHandler.md +0 -118
  1803. package/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -145
  1804. package/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -616
  1805. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -274
  1806. package/node_modules/undici/docs/docs/api/Util.md +0 -25
  1807. package/node_modules/undici/docs/docs/api/WebSocket.md +0 -141
  1808. package/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -91
  1809. package/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -64
  1810. package/node_modules/undici/docs/docs/best-practices/crawling.md +0 -58
  1811. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -190
  1812. package/node_modules/undici/docs/docs/best-practices/proxy.md +0 -127
  1813. package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -224
  1814. package/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -63
  1815. package/node_modules/undici/index-fetch.js +0 -65
  1816. package/node_modules/undici/index.d.ts +0 -3
  1817. package/node_modules/undici/index.js +0 -234
  1818. package/node_modules/undici/lib/api/abort-signal.js +0 -59
  1819. package/node_modules/undici/lib/api/api-connect.js +0 -110
  1820. package/node_modules/undici/lib/api/api-pipeline.js +0 -252
  1821. package/node_modules/undici/lib/api/api-request.js +0 -214
  1822. package/node_modules/undici/lib/api/api-stream.js +0 -209
  1823. package/node_modules/undici/lib/api/api-upgrade.js +0 -111
  1824. package/node_modules/undici/lib/api/index.js +0 -7
  1825. package/node_modules/undici/lib/api/readable.js +0 -580
  1826. package/node_modules/undici/lib/cache/memory-cache-store.js +0 -234
  1827. package/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -461
  1828. package/node_modules/undici/lib/core/connect.js +0 -137
  1829. package/node_modules/undici/lib/core/constants.js +0 -143
  1830. package/node_modules/undici/lib/core/diagnostics.js +0 -227
  1831. package/node_modules/undici/lib/core/errors.js +0 -477
  1832. package/node_modules/undici/lib/core/request.js +0 -438
  1833. package/node_modules/undici/lib/core/socks5-client.js +0 -407
  1834. package/node_modules/undici/lib/core/socks5-utils.js +0 -203
  1835. package/node_modules/undici/lib/core/symbols.js +0 -75
  1836. package/node_modules/undici/lib/core/tree.js +0 -160
  1837. package/node_modules/undici/lib/core/util.js +0 -992
  1838. package/node_modules/undici/lib/dispatcher/agent.js +0 -158
  1839. package/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -219
  1840. package/node_modules/undici/lib/dispatcher/client-h1.js +0 -1610
  1841. package/node_modules/undici/lib/dispatcher/client-h2.js +0 -995
  1842. package/node_modules/undici/lib/dispatcher/client.js +0 -659
  1843. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -165
  1844. package/node_modules/undici/lib/dispatcher/dispatcher.js +0 -48
  1845. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -146
  1846. package/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
  1847. package/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
  1848. package/node_modules/undici/lib/dispatcher/pool-base.js +0 -214
  1849. package/node_modules/undici/lib/dispatcher/pool.js +0 -118
  1850. package/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -318
  1851. package/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
  1852. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -137
  1853. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -249
  1854. package/node_modules/undici/lib/encoding/index.js +0 -33
  1855. package/node_modules/undici/lib/global.js +0 -50
  1856. package/node_modules/undici/lib/handler/cache-handler.js +0 -578
  1857. package/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -124
  1858. package/node_modules/undici/lib/handler/decorator-handler.js +0 -67
  1859. package/node_modules/undici/lib/handler/deduplication-handler.js +0 -460
  1860. package/node_modules/undici/lib/handler/redirect-handler.js +0 -238
  1861. package/node_modules/undici/lib/handler/retry-handler.js +0 -394
  1862. package/node_modules/undici/lib/handler/unwrap-handler.js +0 -100
  1863. package/node_modules/undici/lib/handler/wrap-handler.js +0 -105
  1864. package/node_modules/undici/lib/interceptor/cache.js +0 -495
  1865. package/node_modules/undici/lib/interceptor/decompress.js +0 -259
  1866. package/node_modules/undici/lib/interceptor/deduplicate.js +0 -117
  1867. package/node_modules/undici/lib/interceptor/dns.js +0 -571
  1868. package/node_modules/undici/lib/interceptor/dump.js +0 -112
  1869. package/node_modules/undici/lib/interceptor/redirect.js +0 -21
  1870. package/node_modules/undici/lib/interceptor/response-error.js +0 -95
  1871. package/node_modules/undici/lib/interceptor/retry.js +0 -19
  1872. package/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  1873. package/node_modules/undici/lib/llhttp/constants.d.ts +0 -195
  1874. package/node_modules/undici/lib/llhttp/constants.js +0 -531
  1875. package/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
  1876. package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
  1877. package/node_modules/undici/lib/llhttp/utils.d.ts +0 -2
  1878. package/node_modules/undici/lib/llhttp/utils.js +0 -12
  1879. package/node_modules/undici/lib/mock/mock-agent.js +0 -232
  1880. package/node_modules/undici/lib/mock/mock-call-history.js +0 -248
  1881. package/node_modules/undici/lib/mock/mock-client.js +0 -68
  1882. package/node_modules/undici/lib/mock/mock-errors.js +0 -29
  1883. package/node_modules/undici/lib/mock/mock-interceptor.js +0 -209
  1884. package/node_modules/undici/lib/mock/mock-pool.js +0 -68
  1885. package/node_modules/undici/lib/mock/mock-symbols.js +0 -32
  1886. package/node_modules/undici/lib/mock/mock-utils.js +0 -486
  1887. package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
  1888. package/node_modules/undici/lib/mock/snapshot-agent.js +0 -353
  1889. package/node_modules/undici/lib/mock/snapshot-recorder.js +0 -588
  1890. package/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
  1891. package/node_modules/undici/lib/util/cache.js +0 -407
  1892. package/node_modules/undici/lib/util/date.js +0 -653
  1893. package/node_modules/undici/lib/util/promise.js +0 -28
  1894. package/node_modules/undici/lib/util/runtime-features.js +0 -124
  1895. package/node_modules/undici/lib/util/stats.js +0 -32
  1896. package/node_modules/undici/lib/util/timers.js +0 -425
  1897. package/node_modules/undici/lib/web/cache/cache.js +0 -864
  1898. package/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
  1899. package/node_modules/undici/lib/web/cache/util.js +0 -45
  1900. package/node_modules/undici/lib/web/cookies/constants.js +0 -12
  1901. package/node_modules/undici/lib/web/cookies/index.js +0 -199
  1902. package/node_modules/undici/lib/web/cookies/parse.js +0 -322
  1903. package/node_modules/undici/lib/web/cookies/util.js +0 -282
  1904. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -399
  1905. package/node_modules/undici/lib/web/eventsource/eventsource.js +0 -501
  1906. package/node_modules/undici/lib/web/eventsource/util.js +0 -29
  1907. package/node_modules/undici/lib/web/fetch/LICENSE +0 -21
  1908. package/node_modules/undici/lib/web/fetch/body.js +0 -509
  1909. package/node_modules/undici/lib/web/fetch/constants.js +0 -131
  1910. package/node_modules/undici/lib/web/fetch/data-url.js +0 -596
  1911. package/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -575
  1912. package/node_modules/undici/lib/web/fetch/formdata.js +0 -259
  1913. package/node_modules/undici/lib/web/fetch/global.js +0 -40
  1914. package/node_modules/undici/lib/web/fetch/headers.js +0 -719
  1915. package/node_modules/undici/lib/web/fetch/index.js +0 -2410
  1916. package/node_modules/undici/lib/web/fetch/request.js +0 -1115
  1917. package/node_modules/undici/lib/web/fetch/response.js +0 -641
  1918. package/node_modules/undici/lib/web/fetch/util.js +0 -1522
  1919. package/node_modules/undici/lib/web/infra/index.js +0 -229
  1920. package/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
  1921. package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
  1922. package/node_modules/undici/lib/web/webidl/index.js +0 -1006
  1923. package/node_modules/undici/lib/web/websocket/connection.js +0 -329
  1924. package/node_modules/undici/lib/web/websocket/constants.js +0 -126
  1925. package/node_modules/undici/lib/web/websocket/events.js +0 -331
  1926. package/node_modules/undici/lib/web/websocket/frame.js +0 -133
  1927. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -118
  1928. package/node_modules/undici/lib/web/websocket/receiver.js +0 -450
  1929. package/node_modules/undici/lib/web/websocket/sender.js +0 -109
  1930. package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
  1931. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -497
  1932. package/node_modules/undici/lib/web/websocket/util.js +0 -347
  1933. package/node_modules/undici/lib/web/websocket/websocket.js +0 -751
  1934. package/node_modules/undici/package.json +0 -152
  1935. package/node_modules/undici/scripts/strip-comments.js +0 -10
  1936. package/node_modules/undici/types/README.md +0 -6
  1937. package/node_modules/undici/types/agent.d.ts +0 -32
  1938. package/node_modules/undici/types/api.d.ts +0 -43
  1939. package/node_modules/undici/types/balanced-pool.d.ts +0 -30
  1940. package/node_modules/undici/types/cache-interceptor.d.ts +0 -179
  1941. package/node_modules/undici/types/cache.d.ts +0 -36
  1942. package/node_modules/undici/types/client-stats.d.ts +0 -15
  1943. package/node_modules/undici/types/client.d.ts +0 -123
  1944. package/node_modules/undici/types/connector.d.ts +0 -36
  1945. package/node_modules/undici/types/content-type.d.ts +0 -21
  1946. package/node_modules/undici/types/cookies.d.ts +0 -30
  1947. package/node_modules/undici/types/diagnostics-channel.d.ts +0 -74
  1948. package/node_modules/undici/types/dispatcher.d.ts +0 -273
  1949. package/node_modules/undici/types/env-http-proxy-agent.d.ts +0 -22
  1950. package/node_modules/undici/types/errors.d.ts +0 -177
  1951. package/node_modules/undici/types/eventsource.d.ts +0 -66
  1952. package/node_modules/undici/types/fetch.d.ts +0 -231
  1953. package/node_modules/undici/types/formdata.d.ts +0 -114
  1954. package/node_modules/undici/types/global-dispatcher.d.ts +0 -9
  1955. package/node_modules/undici/types/global-origin.d.ts +0 -7
  1956. package/node_modules/undici/types/h2c-client.d.ts +0 -73
  1957. package/node_modules/undici/types/handlers.d.ts +0 -14
  1958. package/node_modules/undici/types/header.d.ts +0 -160
  1959. package/node_modules/undici/types/index.d.ts +0 -91
  1960. package/node_modules/undici/types/interceptors.d.ts +0 -80
  1961. package/node_modules/undici/types/mock-agent.d.ts +0 -68
  1962. package/node_modules/undici/types/mock-call-history.d.ts +0 -111
  1963. package/node_modules/undici/types/mock-client.d.ts +0 -27
  1964. package/node_modules/undici/types/mock-errors.d.ts +0 -12
  1965. package/node_modules/undici/types/mock-interceptor.d.ts +0 -94
  1966. package/node_modules/undici/types/mock-pool.d.ts +0 -27
  1967. package/node_modules/undici/types/patch.d.ts +0 -29
  1968. package/node_modules/undici/types/pool-stats.d.ts +0 -19
  1969. package/node_modules/undici/types/pool.d.ts +0 -41
  1970. package/node_modules/undici/types/proxy-agent.d.ts +0 -29
  1971. package/node_modules/undici/types/readable.d.ts +0 -68
  1972. package/node_modules/undici/types/retry-agent.d.ts +0 -8
  1973. package/node_modules/undici/types/retry-handler.d.ts +0 -125
  1974. package/node_modules/undici/types/round-robin-pool.d.ts +0 -41
  1975. package/node_modules/undici/types/snapshot-agent.d.ts +0 -109
  1976. package/node_modules/undici/types/socks5-proxy-agent.d.ts +0 -25
  1977. package/node_modules/undici/types/util.d.ts +0 -18
  1978. package/node_modules/undici/types/utility.d.ts +0 -7
  1979. package/node_modules/undici/types/webidl.d.ts +0 -347
  1980. package/node_modules/undici/types/websocket.d.ts +0 -188
  1981. package/node_modules/util-deprecate/History.md +0 -16
  1982. package/node_modules/util-deprecate/LICENSE +0 -24
  1983. package/node_modules/util-deprecate/README.md +0 -53
  1984. package/node_modules/util-deprecate/browser.js +0 -67
  1985. package/node_modules/util-deprecate/node.js +0 -6
  1986. package/node_modules/util-deprecate/package.json +0 -27
  1987. package/node_modules/which/LICENSE +0 -15
  1988. package/node_modules/which/README.md +0 -51
  1989. package/node_modules/which/bin/which.js +0 -52
  1990. package/node_modules/which/lib/index.js +0 -111
  1991. package/node_modules/which/package.json +0 -52
  1992. package/node_modules/wrappy/LICENSE +0 -15
  1993. package/node_modules/wrappy/README.md +0 -36
  1994. package/node_modules/wrappy/package.json +0 -29
  1995. package/node_modules/wrappy/wrappy.js +0 -33
  1996. package/node_modules/yallist/LICENSE.md +0 -63
  1997. package/node_modules/yallist/README.md +0 -205
  1998. package/node_modules/yallist/dist/commonjs/index.d.ts +0 -39
  1999. package/node_modules/yallist/dist/commonjs/index.d.ts.map +0 -1
  2000. package/node_modules/yallist/dist/commonjs/index.js +0 -384
  2001. package/node_modules/yallist/dist/commonjs/index.js.map +0 -1
  2002. package/node_modules/yallist/dist/commonjs/package.json +0 -3
  2003. package/node_modules/yallist/dist/esm/index.d.ts +0 -39
  2004. package/node_modules/yallist/dist/esm/index.d.ts.map +0 -1
  2005. package/node_modules/yallist/dist/esm/index.js +0 -379
  2006. package/node_modules/yallist/dist/esm/index.js.map +0 -1
  2007. package/node_modules/yallist/dist/esm/package.json +0 -3
  2008. package/node_modules/yallist/package.json +0 -68
  2009. package/node_modules/zod/LICENSE +0 -21
  2010. package/node_modules/zod/README.md +0 -208
  2011. package/node_modules/zod/index.cjs +0 -33
  2012. package/node_modules/zod/index.d.cts +0 -4
  2013. package/node_modules/zod/index.d.ts +0 -4
  2014. package/node_modules/zod/index.js +0 -4
  2015. package/node_modules/zod/package.json +0 -118
  2016. package/node_modules/zod/src/index.ts +0 -4
  2017. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  2018. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  2019. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  2020. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  2021. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  2022. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  2023. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  2024. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  2025. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  2026. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  2027. package/node_modules/zod/src/v3/errors.ts +0 -13
  2028. package/node_modules/zod/src/v3/external.ts +0 -6
  2029. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  2030. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  2031. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  2032. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  2033. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  2034. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  2035. package/node_modules/zod/src/v3/index.ts +0 -4
  2036. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  2037. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  2038. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  2039. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  2040. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  2041. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  2042. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  2043. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  2044. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  2045. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  2046. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  2047. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  2048. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  2049. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
  2050. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  2051. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  2052. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  2053. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  2054. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  2055. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  2056. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  2057. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  2058. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  2059. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  2060. package/node_modules/zod/src/v3/tests/function.test.ts +0 -257
  2061. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  2062. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  2063. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  2064. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  2065. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  2066. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  2067. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  2068. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  2069. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  2070. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
  2071. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  2072. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  2073. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  2074. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  2075. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  2076. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  2077. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  2078. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  2079. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  2080. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  2081. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  2082. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  2083. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  2084. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  2085. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  2086. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  2087. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  2088. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  2089. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  2090. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  2091. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  2092. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  2093. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  2094. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  2095. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  2096. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  2097. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  2098. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  2099. package/node_modules/zod/src/v3/types.ts +0 -5136
  2100. package/node_modules/zod/src/v4/classic/checks.ts +0 -30
  2101. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  2102. package/node_modules/zod/src/v4/classic/compat.ts +0 -66
  2103. package/node_modules/zod/src/v4/classic/errors.ts +0 -75
  2104. package/node_modules/zod/src/v4/classic/external.ts +0 -50
  2105. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  2106. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  2107. package/node_modules/zod/src/v4/classic/parse.ts +0 -33
  2108. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
  2109. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  2110. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  2111. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  2112. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  2113. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  2114. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  2115. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  2116. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
  2117. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
  2118. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  2119. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  2120. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
  2121. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  2122. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
  2123. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
  2124. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
  2125. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  2126. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
  2127. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  2128. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
  2129. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  2130. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
  2131. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
  2132. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
  2133. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  2134. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
  2135. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
  2136. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
  2137. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
  2138. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  2139. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
  2140. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
  2141. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  2142. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  2143. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
  2144. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  2145. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
  2146. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
  2147. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
  2148. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
  2149. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
  2150. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
  2151. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
  2152. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
  2153. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  2154. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  2155. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  2156. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  2157. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
  2158. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
  2159. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
  2160. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
  2161. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
  2162. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
  2163. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
  2164. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
  2165. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
  2166. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
  2167. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
  2168. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
  2169. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
  2170. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
  2171. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  2172. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  2173. package/node_modules/zod/src/v4/core/api.ts +0 -1594
  2174. package/node_modules/zod/src/v4/core/checks.ts +0 -1283
  2175. package/node_modules/zod/src/v4/core/config.ts +0 -15
  2176. package/node_modules/zod/src/v4/core/core.ts +0 -134
  2177. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  2178. package/node_modules/zod/src/v4/core/errors.ts +0 -424
  2179. package/node_modules/zod/src/v4/core/function.ts +0 -176
  2180. package/node_modules/zod/src/v4/core/index.ts +0 -15
  2181. package/node_modules/zod/src/v4/core/json-schema.ts +0 -143
  2182. package/node_modules/zod/src/v4/core/parse.ts +0 -94
  2183. package/node_modules/zod/src/v4/core/regexes.ts +0 -135
  2184. package/node_modules/zod/src/v4/core/registries.ts +0 -96
  2185. package/node_modules/zod/src/v4/core/schemas.ts +0 -3842
  2186. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
  2187. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  2188. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  2189. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  2190. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  2191. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  2192. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
  2193. package/node_modules/zod/src/v4/core/util.ts +0 -775
  2194. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  2195. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  2196. package/node_modules/zod/src/v4/index.ts +0 -4
  2197. package/node_modules/zod/src/v4/locales/ar.ts +0 -125
  2198. package/node_modules/zod/src/v4/locales/az.ts +0 -121
  2199. package/node_modules/zod/src/v4/locales/be.ts +0 -184
  2200. package/node_modules/zod/src/v4/locales/ca.ts +0 -127
  2201. package/node_modules/zod/src/v4/locales/cs.ts +0 -142
  2202. package/node_modules/zod/src/v4/locales/de.ts +0 -124
  2203. package/node_modules/zod/src/v4/locales/en.ts +0 -127
  2204. package/node_modules/zod/src/v4/locales/eo.ts +0 -125
  2205. package/node_modules/zod/src/v4/locales/es.ts +0 -125
  2206. package/node_modules/zod/src/v4/locales/fa.ts +0 -134
  2207. package/node_modules/zod/src/v4/locales/fi.ts +0 -131
  2208. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
  2209. package/node_modules/zod/src/v4/locales/fr.ts +0 -124
  2210. package/node_modules/zod/src/v4/locales/he.ts +0 -125
  2211. package/node_modules/zod/src/v4/locales/hu.ts +0 -126
  2212. package/node_modules/zod/src/v4/locales/id.ts +0 -125
  2213. package/node_modules/zod/src/v4/locales/index.ts +0 -39
  2214. package/node_modules/zod/src/v4/locales/it.ts +0 -125
  2215. package/node_modules/zod/src/v4/locales/ja.ts +0 -122
  2216. package/node_modules/zod/src/v4/locales/kh.ts +0 -126
  2217. package/node_modules/zod/src/v4/locales/ko.ts +0 -131
  2218. package/node_modules/zod/src/v4/locales/mk.ts +0 -127
  2219. package/node_modules/zod/src/v4/locales/ms.ts +0 -124
  2220. package/node_modules/zod/src/v4/locales/nl.ts +0 -126
  2221. package/node_modules/zod/src/v4/locales/no.ts +0 -124
  2222. package/node_modules/zod/src/v4/locales/ota.ts +0 -125
  2223. package/node_modules/zod/src/v4/locales/pl.ts +0 -126
  2224. package/node_modules/zod/src/v4/locales/ps.ts +0 -133
  2225. package/node_modules/zod/src/v4/locales/pt.ts +0 -123
  2226. package/node_modules/zod/src/v4/locales/ru.ts +0 -184
  2227. package/node_modules/zod/src/v4/locales/sl.ts +0 -126
  2228. package/node_modules/zod/src/v4/locales/sv.ts +0 -127
  2229. package/node_modules/zod/src/v4/locales/ta.ts +0 -125
  2230. package/node_modules/zod/src/v4/locales/th.ts +0 -126
  2231. package/node_modules/zod/src/v4/locales/tr.ts +0 -121
  2232. package/node_modules/zod/src/v4/locales/ua.ts +0 -126
  2233. package/node_modules/zod/src/v4/locales/ur.ts +0 -126
  2234. package/node_modules/zod/src/v4/locales/vi.ts +0 -125
  2235. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
  2236. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
  2237. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  2238. package/node_modules/zod/src/v4/mini/coerce.ts +0 -22
  2239. package/node_modules/zod/src/v4/mini/external.ts +0 -40
  2240. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  2241. package/node_modules/zod/src/v4/mini/iso.ts +0 -62
  2242. package/node_modules/zod/src/v4/mini/parse.ts +0 -1
  2243. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
  2244. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  2245. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
  2246. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  2247. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  2248. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  2249. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
  2250. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
  2251. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  2252. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
  2253. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  2254. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  2255. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
  2256. package/node_modules/zod/src/v4-mini/index.ts +0 -1
  2257. package/node_modules/zod/v3/ZodError.cjs +0 -138
  2258. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  2259. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  2260. package/node_modules/zod/v3/ZodError.js +0 -133
  2261. package/node_modules/zod/v3/errors.cjs +0 -17
  2262. package/node_modules/zod/v3/errors.d.cts +0 -5
  2263. package/node_modules/zod/v3/errors.d.ts +0 -5
  2264. package/node_modules/zod/v3/errors.js +0 -9
  2265. package/node_modules/zod/v3/external.cjs +0 -22
  2266. package/node_modules/zod/v3/external.d.cts +0 -6
  2267. package/node_modules/zod/v3/external.d.ts +0 -6
  2268. package/node_modules/zod/v3/external.js +0 -6
  2269. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  2270. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  2271. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  2272. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  2273. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  2274. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  2275. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  2276. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  2277. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  2278. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  2279. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  2280. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  2281. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  2282. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  2283. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  2284. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  2285. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  2286. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  2287. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  2288. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  2289. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  2290. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  2291. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  2292. package/node_modules/zod/v3/helpers/util.js +0 -133
  2293. package/node_modules/zod/v3/index.cjs +0 -33
  2294. package/node_modules/zod/v3/index.d.cts +0 -4
  2295. package/node_modules/zod/v3/index.d.ts +0 -4
  2296. package/node_modules/zod/v3/index.js +0 -4
  2297. package/node_modules/zod/v3/locales/en.cjs +0 -111
  2298. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  2299. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  2300. package/node_modules/zod/v3/locales/en.js +0 -109
  2301. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  2302. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  2303. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  2304. package/node_modules/zod/v3/standard-schema.js +0 -1
  2305. package/node_modules/zod/v3/types.cjs +0 -3775
  2306. package/node_modules/zod/v3/types.d.cts +0 -1031
  2307. package/node_modules/zod/v3/types.d.ts +0 -1031
  2308. package/node_modules/zod/v3/types.js +0 -3693
  2309. package/node_modules/zod/v4/classic/checks.cjs +0 -32
  2310. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  2311. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  2312. package/node_modules/zod/v4/classic/checks.js +0 -1
  2313. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  2314. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  2315. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  2316. package/node_modules/zod/v4/classic/coerce.js +0 -17
  2317. package/node_modules/zod/v4/classic/compat.cjs +0 -57
  2318. package/node_modules/zod/v4/classic/compat.d.cts +0 -46
  2319. package/node_modules/zod/v4/classic/compat.d.ts +0 -46
  2320. package/node_modules/zod/v4/classic/compat.js +0 -27
  2321. package/node_modules/zod/v4/classic/errors.cjs +0 -67
  2322. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  2323. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  2324. package/node_modules/zod/v4/classic/errors.js +0 -41
  2325. package/node_modules/zod/v4/classic/external.cjs +0 -70
  2326. package/node_modules/zod/v4/classic/external.d.cts +0 -13
  2327. package/node_modules/zod/v4/classic/external.d.ts +0 -13
  2328. package/node_modules/zod/v4/classic/external.js +0 -18
  2329. package/node_modules/zod/v4/classic/index.cjs +0 -33
  2330. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  2331. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  2332. package/node_modules/zod/v4/classic/index.js +0 -4
  2333. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  2334. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  2335. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  2336. package/node_modules/zod/v4/classic/iso.js +0 -30
  2337. package/node_modules/zod/v4/classic/parse.cjs +0 -32
  2338. package/node_modules/zod/v4/classic/parse.d.cts +0 -23
  2339. package/node_modules/zod/v4/classic/parse.d.ts +0 -23
  2340. package/node_modules/zod/v4/classic/parse.js +0 -6
  2341. package/node_modules/zod/v4/classic/schemas.cjs +0 -1109
  2342. package/node_modules/zod/v4/classic/schemas.d.cts +0 -630
  2343. package/node_modules/zod/v4/classic/schemas.d.ts +0 -630
  2344. package/node_modules/zod/v4/classic/schemas.js +0 -1006
  2345. package/node_modules/zod/v4/core/api.cjs +0 -1039
  2346. package/node_modules/zod/v4/core/api.d.cts +0 -284
  2347. package/node_modules/zod/v4/core/api.d.ts +0 -284
  2348. package/node_modules/zod/v4/core/api.js +0 -906
  2349. package/node_modules/zod/v4/core/checks.cjs +0 -591
  2350. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  2351. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  2352. package/node_modules/zod/v4/core/checks.js +0 -565
  2353. package/node_modules/zod/v4/core/core.cjs +0 -67
  2354. package/node_modules/zod/v4/core/core.d.cts +0 -49
  2355. package/node_modules/zod/v4/core/core.d.ts +0 -49
  2356. package/node_modules/zod/v4/core/core.js +0 -61
  2357. package/node_modules/zod/v4/core/doc.cjs +0 -39
  2358. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  2359. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  2360. package/node_modules/zod/v4/core/doc.js +0 -35
  2361. package/node_modules/zod/v4/core/errors.cjs +0 -226
  2362. package/node_modules/zod/v4/core/errors.d.cts +0 -208
  2363. package/node_modules/zod/v4/core/errors.d.ts +0 -208
  2364. package/node_modules/zod/v4/core/errors.js +0 -195
  2365. package/node_modules/zod/v4/core/function.cjs +0 -102
  2366. package/node_modules/zod/v4/core/function.d.cts +0 -52
  2367. package/node_modules/zod/v4/core/function.d.ts +0 -52
  2368. package/node_modules/zod/v4/core/function.js +0 -75
  2369. package/node_modules/zod/v4/core/index.cjs +0 -44
  2370. package/node_modules/zod/v4/core/index.d.cts +0 -15
  2371. package/node_modules/zod/v4/core/index.d.ts +0 -15
  2372. package/node_modules/zod/v4/core/index.js +0 -15
  2373. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  2374. package/node_modules/zod/v4/core/json-schema.d.cts +0 -87
  2375. package/node_modules/zod/v4/core/json-schema.d.ts +0 -87
  2376. package/node_modules/zod/v4/core/json-schema.js +0 -1
  2377. package/node_modules/zod/v4/core/parse.cjs +0 -87
  2378. package/node_modules/zod/v4/core/parse.d.cts +0 -25
  2379. package/node_modules/zod/v4/core/parse.d.ts +0 -25
  2380. package/node_modules/zod/v4/core/parse.js +0 -57
  2381. package/node_modules/zod/v4/core/regexes.cjs +0 -103
  2382. package/node_modules/zod/v4/core/regexes.d.cts +0 -62
  2383. package/node_modules/zod/v4/core/regexes.d.ts +0 -62
  2384. package/node_modules/zod/v4/core/regexes.js +0 -95
  2385. package/node_modules/zod/v4/core/registries.cjs +0 -56
  2386. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  2387. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  2388. package/node_modules/zod/v4/core/registries.js +0 -51
  2389. package/node_modules/zod/v4/core/schemas.cjs +0 -1748
  2390. package/node_modules/zod/v4/core/schemas.d.cts +0 -1041
  2391. package/node_modules/zod/v4/core/schemas.d.ts +0 -1041
  2392. package/node_modules/zod/v4/core/schemas.js +0 -1717
  2393. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  2394. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
  2395. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
  2396. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  2397. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
  2398. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
  2399. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
  2400. package/node_modules/zod/v4/core/to-json-schema.js +0 -849
  2401. package/node_modules/zod/v4/core/util.cjs +0 -539
  2402. package/node_modules/zod/v4/core/util.d.cts +0 -183
  2403. package/node_modules/zod/v4/core/util.d.ts +0 -183
  2404. package/node_modules/zod/v4/core/util.js +0 -493
  2405. package/node_modules/zod/v4/core/versions.cjs +0 -8
  2406. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  2407. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  2408. package/node_modules/zod/v4/core/versions.js +0 -5
  2409. package/node_modules/zod/v4/index.cjs +0 -22
  2410. package/node_modules/zod/v4/index.d.cts +0 -3
  2411. package/node_modules/zod/v4/index.d.ts +0 -3
  2412. package/node_modules/zod/v4/index.js +0 -3
  2413. package/node_modules/zod/v4/locales/ar.cjs +0 -142
  2414. package/node_modules/zod/v4/locales/ar.d.cts +0 -4
  2415. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  2416. package/node_modules/zod/v4/locales/ar.js +0 -116
  2417. package/node_modules/zod/v4/locales/az.cjs +0 -141
  2418. package/node_modules/zod/v4/locales/az.d.cts +0 -4
  2419. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  2420. package/node_modules/zod/v4/locales/az.js +0 -115
  2421. package/node_modules/zod/v4/locales/be.cjs +0 -190
  2422. package/node_modules/zod/v4/locales/be.d.cts +0 -4
  2423. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  2424. package/node_modules/zod/v4/locales/be.js +0 -164
  2425. package/node_modules/zod/v4/locales/ca.cjs +0 -144
  2426. package/node_modules/zod/v4/locales/ca.d.cts +0 -4
  2427. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  2428. package/node_modules/zod/v4/locales/ca.js +0 -118
  2429. package/node_modules/zod/v4/locales/cs.cjs +0 -161
  2430. package/node_modules/zod/v4/locales/cs.d.cts +0 -4
  2431. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  2432. package/node_modules/zod/v4/locales/cs.js +0 -135
  2433. package/node_modules/zod/v4/locales/de.cjs +0 -142
  2434. package/node_modules/zod/v4/locales/de.d.cts +0 -4
  2435. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  2436. package/node_modules/zod/v4/locales/de.js +0 -116
  2437. package/node_modules/zod/v4/locales/en.cjs +0 -145
  2438. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  2439. package/node_modules/zod/v4/locales/en.d.ts +0 -5
  2440. package/node_modules/zod/v4/locales/en.js +0 -117
  2441. package/node_modules/zod/v4/locales/eo.cjs +0 -144
  2442. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  2443. package/node_modules/zod/v4/locales/eo.d.ts +0 -5
  2444. package/node_modules/zod/v4/locales/eo.js +0 -116
  2445. package/node_modules/zod/v4/locales/es.cjs +0 -143
  2446. package/node_modules/zod/v4/locales/es.d.cts +0 -4
  2447. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  2448. package/node_modules/zod/v4/locales/es.js +0 -117
  2449. package/node_modules/zod/v4/locales/fa.cjs +0 -148
  2450. package/node_modules/zod/v4/locales/fa.d.cts +0 -4
  2451. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  2452. package/node_modules/zod/v4/locales/fa.js +0 -122
  2453. package/node_modules/zod/v4/locales/fi.cjs +0 -148
  2454. package/node_modules/zod/v4/locales/fi.d.cts +0 -4
  2455. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  2456. package/node_modules/zod/v4/locales/fi.js +0 -122
  2457. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
  2458. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
  2459. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  2460. package/node_modules/zod/v4/locales/fr-CA.js +0 -117
  2461. package/node_modules/zod/v4/locales/fr.cjs +0 -142
  2462. package/node_modules/zod/v4/locales/fr.d.cts +0 -4
  2463. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  2464. package/node_modules/zod/v4/locales/fr.js +0 -116
  2465. package/node_modules/zod/v4/locales/he.cjs +0 -143
  2466. package/node_modules/zod/v4/locales/he.d.cts +0 -4
  2467. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  2468. package/node_modules/zod/v4/locales/he.js +0 -117
  2469. package/node_modules/zod/v4/locales/hu.cjs +0 -143
  2470. package/node_modules/zod/v4/locales/hu.d.cts +0 -4
  2471. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  2472. package/node_modules/zod/v4/locales/hu.js +0 -117
  2473. package/node_modules/zod/v4/locales/id.cjs +0 -142
  2474. package/node_modules/zod/v4/locales/id.d.cts +0 -4
  2475. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  2476. package/node_modules/zod/v4/locales/id.js +0 -116
  2477. package/node_modules/zod/v4/locales/index.cjs +0 -84
  2478. package/node_modules/zod/v4/locales/index.d.cts +0 -39
  2479. package/node_modules/zod/v4/locales/index.d.ts +0 -39
  2480. package/node_modules/zod/v4/locales/index.js +0 -39
  2481. package/node_modules/zod/v4/locales/it.cjs +0 -143
  2482. package/node_modules/zod/v4/locales/it.d.cts +0 -4
  2483. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  2484. package/node_modules/zod/v4/locales/it.js +0 -117
  2485. package/node_modules/zod/v4/locales/ja.cjs +0 -141
  2486. package/node_modules/zod/v4/locales/ja.d.cts +0 -4
  2487. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  2488. package/node_modules/zod/v4/locales/ja.js +0 -115
  2489. package/node_modules/zod/v4/locales/kh.cjs +0 -143
  2490. package/node_modules/zod/v4/locales/kh.d.cts +0 -4
  2491. package/node_modules/zod/v4/locales/kh.d.ts +0 -4
  2492. package/node_modules/zod/v4/locales/kh.js +0 -117
  2493. package/node_modules/zod/v4/locales/ko.cjs +0 -147
  2494. package/node_modules/zod/v4/locales/ko.d.cts +0 -4
  2495. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  2496. package/node_modules/zod/v4/locales/ko.js +0 -121
  2497. package/node_modules/zod/v4/locales/mk.cjs +0 -144
  2498. package/node_modules/zod/v4/locales/mk.d.cts +0 -4
  2499. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  2500. package/node_modules/zod/v4/locales/mk.js +0 -118
  2501. package/node_modules/zod/v4/locales/ms.cjs +0 -142
  2502. package/node_modules/zod/v4/locales/ms.d.cts +0 -4
  2503. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  2504. package/node_modules/zod/v4/locales/ms.js +0 -116
  2505. package/node_modules/zod/v4/locales/nl.cjs +0 -143
  2506. package/node_modules/zod/v4/locales/nl.d.cts +0 -4
  2507. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  2508. package/node_modules/zod/v4/locales/nl.js +0 -117
  2509. package/node_modules/zod/v4/locales/no.cjs +0 -142
  2510. package/node_modules/zod/v4/locales/no.d.cts +0 -4
  2511. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  2512. package/node_modules/zod/v4/locales/no.js +0 -116
  2513. package/node_modules/zod/v4/locales/ota.cjs +0 -143
  2514. package/node_modules/zod/v4/locales/ota.d.cts +0 -4
  2515. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  2516. package/node_modules/zod/v4/locales/ota.js +0 -117
  2517. package/node_modules/zod/v4/locales/pl.cjs +0 -143
  2518. package/node_modules/zod/v4/locales/pl.d.cts +0 -4
  2519. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  2520. package/node_modules/zod/v4/locales/pl.js +0 -117
  2521. package/node_modules/zod/v4/locales/ps.cjs +0 -148
  2522. package/node_modules/zod/v4/locales/ps.d.cts +0 -4
  2523. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  2524. package/node_modules/zod/v4/locales/ps.js +0 -122
  2525. package/node_modules/zod/v4/locales/pt.cjs +0 -142
  2526. package/node_modules/zod/v4/locales/pt.d.cts +0 -4
  2527. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  2528. package/node_modules/zod/v4/locales/pt.js +0 -116
  2529. package/node_modules/zod/v4/locales/ru.cjs +0 -190
  2530. package/node_modules/zod/v4/locales/ru.d.cts +0 -4
  2531. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  2532. package/node_modules/zod/v4/locales/ru.js +0 -164
  2533. package/node_modules/zod/v4/locales/sl.cjs +0 -143
  2534. package/node_modules/zod/v4/locales/sl.d.cts +0 -4
  2535. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  2536. package/node_modules/zod/v4/locales/sl.js +0 -117
  2537. package/node_modules/zod/v4/locales/sv.cjs +0 -144
  2538. package/node_modules/zod/v4/locales/sv.d.cts +0 -4
  2539. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  2540. package/node_modules/zod/v4/locales/sv.js +0 -118
  2541. package/node_modules/zod/v4/locales/ta.cjs +0 -143
  2542. package/node_modules/zod/v4/locales/ta.d.cts +0 -4
  2543. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  2544. package/node_modules/zod/v4/locales/ta.js +0 -117
  2545. package/node_modules/zod/v4/locales/th.cjs +0 -143
  2546. package/node_modules/zod/v4/locales/th.d.cts +0 -4
  2547. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  2548. package/node_modules/zod/v4/locales/th.js +0 -117
  2549. package/node_modules/zod/v4/locales/tr.cjs +0 -143
  2550. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  2551. package/node_modules/zod/v4/locales/tr.d.ts +0 -5
  2552. package/node_modules/zod/v4/locales/tr.js +0 -115
  2553. package/node_modules/zod/v4/locales/ua.cjs +0 -143
  2554. package/node_modules/zod/v4/locales/ua.d.cts +0 -4
  2555. package/node_modules/zod/v4/locales/ua.d.ts +0 -4
  2556. package/node_modules/zod/v4/locales/ua.js +0 -117
  2557. package/node_modules/zod/v4/locales/ur.cjs +0 -143
  2558. package/node_modules/zod/v4/locales/ur.d.cts +0 -4
  2559. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  2560. package/node_modules/zod/v4/locales/ur.js +0 -117
  2561. package/node_modules/zod/v4/locales/vi.cjs +0 -142
  2562. package/node_modules/zod/v4/locales/vi.d.cts +0 -4
  2563. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  2564. package/node_modules/zod/v4/locales/vi.js +0 -116
  2565. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
  2566. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
  2567. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  2568. package/node_modules/zod/v4/locales/zh-CN.js +0 -116
  2569. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
  2570. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
  2571. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  2572. package/node_modules/zod/v4/locales/zh-TW.js +0 -117
  2573. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  2574. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  2575. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  2576. package/node_modules/zod/v4/mini/checks.js +0 -1
  2577. package/node_modules/zod/v4/mini/coerce.cjs +0 -47
  2578. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  2579. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  2580. package/node_modules/zod/v4/mini/coerce.js +0 -17
  2581. package/node_modules/zod/v4/mini/external.cjs +0 -62
  2582. package/node_modules/zod/v4/mini/external.d.cts +0 -11
  2583. package/node_modules/zod/v4/mini/external.d.ts +0 -11
  2584. package/node_modules/zod/v4/mini/external.js +0 -13
  2585. package/node_modules/zod/v4/mini/index.cjs +0 -32
  2586. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  2587. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  2588. package/node_modules/zod/v4/mini/index.js +0 -3
  2589. package/node_modules/zod/v4/mini/iso.cjs +0 -60
  2590. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  2591. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  2592. package/node_modules/zod/v4/mini/iso.js +0 -30
  2593. package/node_modules/zod/v4/mini/parse.cjs +0 -8
  2594. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  2595. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  2596. package/node_modules/zod/v4/mini/parse.js +0 -1
  2597. package/node_modules/zod/v4/mini/schemas.cjs +0 -839
  2598. package/node_modules/zod/v4/mini/schemas.d.cts +0 -356
  2599. package/node_modules/zod/v4/mini/schemas.d.ts +0 -356
  2600. package/node_modules/zod/v4/mini/schemas.js +0 -732
  2601. package/node_modules/zod/v4-mini/index.cjs +0 -17
  2602. package/node_modules/zod/v4-mini/index.d.cts +0 -1
  2603. package/node_modules/zod/v4-mini/index.d.ts +0 -1
  2604. 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
- }