agent-relay 4.0.11 → 4.0.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 (847) hide show
  1. package/dist/index.cjs +100 -100
  2. package/dist/src/cli/commands/messaging.d.ts +1 -0
  3. package/dist/src/cli/commands/messaging.d.ts.map +1 -1
  4. package/dist/src/cli/commands/messaging.js +39 -11
  5. package/dist/src/cli/commands/messaging.js.map +1 -1
  6. package/install.sh +135 -40
  7. package/node_modules/@agent-relay/cloud/package.json +2 -3
  8. package/node_modules/@agent-relay/config/package.json +1 -2
  9. package/node_modules/@agent-relay/hooks/package.json +4 -5
  10. package/node_modules/@agent-relay/sdk/package.json +3 -4
  11. package/node_modules/@agent-relay/telemetry/package.json +1 -2
  12. package/node_modules/@agent-relay/trajectory/package.json +2 -3
  13. package/node_modules/@agent-relay/user-directory/package.json +2 -3
  14. package/node_modules/@agent-relay/utils/package.json +2 -3
  15. package/node_modules/@relaycast/sdk/dist/agent.d.ts +5 -1
  16. package/node_modules/@relaycast/sdk/dist/agent.d.ts.map +1 -1
  17. package/node_modules/@relaycast/sdk/dist/agent.js +8 -0
  18. package/node_modules/@relaycast/sdk/dist/agent.js.map +1 -1
  19. package/node_modules/@relaycast/sdk/dist/index.d.ts +1 -1
  20. package/node_modules/@relaycast/sdk/dist/index.d.ts.map +1 -1
  21. package/node_modules/@relaycast/sdk/dist/index.js.map +1 -1
  22. package/node_modules/@relaycast/sdk/dist/relay.d.ts +9 -1
  23. package/node_modules/@relaycast/sdk/dist/relay.d.ts.map +1 -1
  24. package/node_modules/@relaycast/sdk/dist/relay.js +54 -11
  25. package/node_modules/@relaycast/sdk/dist/relay.js.map +1 -1
  26. package/node_modules/@relaycast/sdk/dist/types.d.ts +4 -0
  27. package/node_modules/@relaycast/sdk/dist/types.d.ts.map +1 -1
  28. package/node_modules/@relaycast/sdk/dist/version.d.ts +1 -1
  29. package/node_modules/@relaycast/sdk/dist/version.js +1 -1
  30. package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/channel.d.ts +9 -0
  31. package/node_modules/@relaycast/sdk/node_modules/@relaycast/types/dist/channel.d.ts.map +1 -0
  32. package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/channel.js +7 -0
  33. package/node_modules/@relaycast/sdk/node_modules/@relaycast/types/dist/channel.js.map +1 -0
  34. package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/events.d.ts +28 -0
  35. package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/events.d.ts.map +1 -1
  36. package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/events.js +14 -0
  37. package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/events.js.map +1 -1
  38. package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/workspace.d.ts +6 -0
  39. package/node_modules/@relaycast/sdk/node_modules/@relaycast/types/dist/workspace.d.ts.map +1 -0
  40. package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/workspace.js +5 -0
  41. package/node_modules/@relaycast/sdk/node_modules/@relaycast/types/dist/workspace.js.map +1 -0
  42. package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/package.json +1 -1
  43. package/node_modules/@relaycast/sdk/package.json +2 -2
  44. package/node_modules/@relayfile/sdk/dist/index.d.ts +1 -0
  45. package/node_modules/@relayfile/sdk/dist/index.js +1 -0
  46. package/node_modules/@relayfile/sdk/dist/integration-adapter.d.ts +63 -0
  47. package/node_modules/@relayfile/sdk/dist/integration-adapter.js +8 -0
  48. package/node_modules/@relayfile/sdk/package.json +1 -1
  49. package/node_modules/color-convert/CHANGELOG.md +54 -0
  50. package/package.json +13 -12
  51. package/packages/cloud/package.json +2 -3
  52. package/packages/config/package.json +1 -2
  53. package/packages/hooks/package.json +4 -5
  54. package/packages/sdk/package.json +3 -4
  55. package/packages/telemetry/package.json +1 -2
  56. package/packages/trajectory/package.json +2 -3
  57. package/packages/user-directory/package.json +2 -3
  58. package/packages/utils/package.json +2 -3
  59. package/node_modules/@relaycast/types/dist/channel.d.ts.map +0 -1
  60. package/node_modules/@relaycast/types/dist/channel.js.map +0 -1
  61. package/node_modules/@relaycast/types/dist/workspace.d.ts.map +0 -1
  62. package/node_modules/@relaycast/types/dist/workspace.js.map +0 -1
  63. package/node_modules/@relaycast/types/node_modules/zod/LICENSE +0 -21
  64. package/node_modules/@relaycast/types/node_modules/zod/README.md +0 -208
  65. package/node_modules/@relaycast/types/node_modules/zod/index.cjs +0 -33
  66. package/node_modules/@relaycast/types/node_modules/zod/index.d.cts +0 -4
  67. package/node_modules/@relaycast/types/node_modules/zod/index.d.ts +0 -4
  68. package/node_modules/@relaycast/types/node_modules/zod/index.js +0 -4
  69. package/node_modules/@relaycast/types/node_modules/zod/locales/index.cjs +0 -17
  70. package/node_modules/@relaycast/types/node_modules/zod/locales/index.d.cts +0 -1
  71. package/node_modules/@relaycast/types/node_modules/zod/locales/index.d.ts +0 -1
  72. package/node_modules/@relaycast/types/node_modules/zod/locales/index.js +0 -1
  73. package/node_modules/@relaycast/types/node_modules/zod/locales/package.json +0 -6
  74. package/node_modules/@relaycast/types/node_modules/zod/mini/index.cjs +0 -32
  75. package/node_modules/@relaycast/types/node_modules/zod/mini/index.d.cts +0 -3
  76. package/node_modules/@relaycast/types/node_modules/zod/mini/index.d.ts +0 -3
  77. package/node_modules/@relaycast/types/node_modules/zod/mini/index.js +0 -3
  78. package/node_modules/@relaycast/types/node_modules/zod/mini/package.json +0 -6
  79. package/node_modules/@relaycast/types/node_modules/zod/package.json +0 -135
  80. package/node_modules/@relaycast/types/node_modules/zod/src/index.ts +0 -4
  81. package/node_modules/@relaycast/types/node_modules/zod/src/locales/index.ts +0 -1
  82. package/node_modules/@relaycast/types/node_modules/zod/src/mini/index.ts +0 -3
  83. package/node_modules/@relaycast/types/node_modules/zod/src/v3/ZodError.ts +0 -330
  84. package/node_modules/@relaycast/types/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  85. package/node_modules/@relaycast/types/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  86. package/node_modules/@relaycast/types/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  87. package/node_modules/@relaycast/types/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  88. package/node_modules/@relaycast/types/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  89. package/node_modules/@relaycast/types/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  90. package/node_modules/@relaycast/types/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  91. package/node_modules/@relaycast/types/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  92. package/node_modules/@relaycast/types/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  93. package/node_modules/@relaycast/types/node_modules/zod/src/v3/errors.ts +0 -13
  94. package/node_modules/@relaycast/types/node_modules/zod/src/v3/external.ts +0 -6
  95. package/node_modules/@relaycast/types/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  96. package/node_modules/@relaycast/types/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  97. package/node_modules/@relaycast/types/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  98. package/node_modules/@relaycast/types/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  99. package/node_modules/@relaycast/types/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  100. package/node_modules/@relaycast/types/node_modules/zod/src/v3/helpers/util.ts +0 -224
  101. package/node_modules/@relaycast/types/node_modules/zod/src/v3/index.ts +0 -4
  102. package/node_modules/@relaycast/types/node_modules/zod/src/v3/locales/en.ts +0 -124
  103. package/node_modules/@relaycast/types/node_modules/zod/src/v3/standard-schema.ts +0 -113
  104. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  105. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  106. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  107. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  108. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  109. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  110. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  111. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  112. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  113. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  114. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  115. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  116. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  117. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  118. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  119. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  120. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  121. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  122. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  123. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  124. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  125. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  126. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  127. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  128. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  129. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  130. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  131. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  132. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  133. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  134. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  135. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  136. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  137. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  138. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  139. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  140. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  141. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  142. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  143. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  144. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  145. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  146. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  147. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  148. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  149. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  150. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  151. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  152. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  153. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  154. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  155. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  156. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  157. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  158. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  159. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  160. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  161. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  162. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  163. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  164. package/node_modules/@relaycast/types/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  165. package/node_modules/@relaycast/types/node_modules/zod/src/v3/types.ts +0 -5138
  166. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/checks.ts +0 -32
  167. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  168. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/compat.ts +0 -70
  169. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/errors.ts +0 -82
  170. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/external.ts +0 -51
  171. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -643
  172. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/index.ts +0 -5
  173. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/iso.ts +0 -90
  174. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/parse.ts +0 -82
  175. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/schemas.ts +0 -2409
  176. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  177. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
  178. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  179. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  180. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  181. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  182. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  183. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  184. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  185. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -276
  186. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  187. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
  188. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -562
  189. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  190. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  191. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  192. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
  193. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
  194. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -365
  195. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  196. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  197. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -661
  198. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  199. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -595
  200. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  201. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  202. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  203. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  204. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -734
  205. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
  206. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  207. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
  208. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
  209. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
  210. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
  211. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  212. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  213. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
  214. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
  215. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  216. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  217. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  218. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  219. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -270
  220. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -640
  221. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -223
  222. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -427
  223. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  224. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  225. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
  226. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -282
  227. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  228. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  229. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  230. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  231. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -632
  232. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -582
  233. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -570
  234. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  235. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
  236. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
  237. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  238. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1175
  239. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
  240. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
  241. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  242. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2990
  243. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -361
  244. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -183
  245. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -219
  246. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  247. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  248. package/node_modules/@relaycast/types/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  249. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/api.ts +0 -1798
  250. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/checks.ts +0 -1293
  251. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/config.ts +0 -15
  252. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/core.ts +0 -138
  253. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/doc.ts +0 -44
  254. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/errors.ts +0 -448
  255. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/index.ts +0 -16
  256. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
  257. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -667
  258. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/json-schema.ts +0 -147
  259. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/parse.ts +0 -195
  260. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/regexes.ts +0 -183
  261. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/registries.ts +0 -105
  262. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/schemas.ts +0 -4538
  263. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  264. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  265. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  266. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  267. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  268. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
  269. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  270. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  271. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  272. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  273. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -83
  274. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -67
  275. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  276. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/to-json-schema.ts +0 -613
  277. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/util.ts +0 -966
  278. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/versions.ts +0 -5
  279. package/node_modules/@relaycast/types/node_modules/zod/src/v4/core/zsf.ts +0 -323
  280. package/node_modules/@relaycast/types/node_modules/zod/src/v4/index.ts +0 -4
  281. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/ar.ts +0 -115
  282. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/az.ts +0 -111
  283. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/be.ts +0 -176
  284. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/bg.ts +0 -128
  285. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/ca.ts +0 -116
  286. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/cs.ts +0 -118
  287. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/da.ts +0 -123
  288. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/de.ts +0 -116
  289. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/en.ts +0 -119
  290. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/eo.ts +0 -118
  291. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/es.ts +0 -141
  292. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/fa.ts +0 -126
  293. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/fi.ts +0 -121
  294. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
  295. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/fr.ts +0 -116
  296. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/he.ts +0 -246
  297. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/hu.ts +0 -117
  298. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/hy.ts +0 -164
  299. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/id.ts +0 -115
  300. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/index.ts +0 -49
  301. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/is.ts +0 -119
  302. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/it.ts +0 -116
  303. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/ja.ts +0 -114
  304. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/ka.ts +0 -123
  305. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/kh.ts +0 -7
  306. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/km.ts +0 -119
  307. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/ko.ts +0 -121
  308. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/lt.ts +0 -239
  309. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/mk.ts +0 -118
  310. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/ms.ts +0 -115
  311. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/nl.ts +0 -121
  312. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/no.ts +0 -116
  313. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/ota.ts +0 -117
  314. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/pl.ts +0 -118
  315. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/ps.ts +0 -126
  316. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/pt.ts +0 -116
  317. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/ru.ts +0 -176
  318. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/sl.ts +0 -118
  319. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/sv.ts +0 -119
  320. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/ta.ts +0 -118
  321. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/th.ts +0 -119
  322. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/tr.ts +0 -111
  323. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/ua.ts +0 -7
  324. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/uk.ts +0 -117
  325. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/ur.ts +0 -119
  326. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/uz.ts +0 -116
  327. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/vi.ts +0 -117
  328. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/yo.ts +0 -124
  329. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
  330. package/node_modules/@relaycast/types/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
  331. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/checks.ts +0 -32
  332. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  333. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/external.ts +0 -40
  334. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/index.ts +0 -3
  335. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/iso.ts +0 -66
  336. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/parse.ts +0 -14
  337. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/schemas.ts +0 -1916
  338. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
  339. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  340. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  341. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  342. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -529
  343. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  344. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  345. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
  346. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -963
  347. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  348. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
  349. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  350. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  351. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  352. package/node_modules/@relaycast/types/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -347
  353. package/node_modules/@relaycast/types/node_modules/zod/src/v4-mini/index.ts +0 -3
  354. package/node_modules/@relaycast/types/node_modules/zod/v3/ZodError.cjs +0 -138
  355. package/node_modules/@relaycast/types/node_modules/zod/v3/ZodError.d.cts +0 -164
  356. package/node_modules/@relaycast/types/node_modules/zod/v3/ZodError.d.ts +0 -164
  357. package/node_modules/@relaycast/types/node_modules/zod/v3/ZodError.js +0 -133
  358. package/node_modules/@relaycast/types/node_modules/zod/v3/errors.cjs +0 -17
  359. package/node_modules/@relaycast/types/node_modules/zod/v3/errors.d.cts +0 -5
  360. package/node_modules/@relaycast/types/node_modules/zod/v3/errors.d.ts +0 -5
  361. package/node_modules/@relaycast/types/node_modules/zod/v3/errors.js +0 -9
  362. package/node_modules/@relaycast/types/node_modules/zod/v3/external.cjs +0 -22
  363. package/node_modules/@relaycast/types/node_modules/zod/v3/external.d.cts +0 -6
  364. package/node_modules/@relaycast/types/node_modules/zod/v3/external.d.ts +0 -6
  365. package/node_modules/@relaycast/types/node_modules/zod/v3/external.js +0 -6
  366. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  367. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  368. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  369. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  370. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  371. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  372. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  373. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  374. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  375. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  376. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  377. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  378. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  379. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  380. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  381. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  382. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  383. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  384. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  385. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  386. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/util.cjs +0 -137
  387. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/util.d.cts +0 -85
  388. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/util.d.ts +0 -85
  389. package/node_modules/@relaycast/types/node_modules/zod/v3/helpers/util.js +0 -133
  390. package/node_modules/@relaycast/types/node_modules/zod/v3/index.cjs +0 -33
  391. package/node_modules/@relaycast/types/node_modules/zod/v3/index.d.cts +0 -4
  392. package/node_modules/@relaycast/types/node_modules/zod/v3/index.d.ts +0 -4
  393. package/node_modules/@relaycast/types/node_modules/zod/v3/index.js +0 -4
  394. package/node_modules/@relaycast/types/node_modules/zod/v3/locales/en.cjs +0 -112
  395. package/node_modules/@relaycast/types/node_modules/zod/v3/locales/en.d.cts +0 -3
  396. package/node_modules/@relaycast/types/node_modules/zod/v3/locales/en.d.ts +0 -3
  397. package/node_modules/@relaycast/types/node_modules/zod/v3/locales/en.js +0 -109
  398. package/node_modules/@relaycast/types/node_modules/zod/v3/package.json +0 -6
  399. package/node_modules/@relaycast/types/node_modules/zod/v3/standard-schema.cjs +0 -2
  400. package/node_modules/@relaycast/types/node_modules/zod/v3/standard-schema.d.cts +0 -102
  401. package/node_modules/@relaycast/types/node_modules/zod/v3/standard-schema.d.ts +0 -102
  402. package/node_modules/@relaycast/types/node_modules/zod/v3/standard-schema.js +0 -1
  403. package/node_modules/@relaycast/types/node_modules/zod/v3/types.cjs +0 -3777
  404. package/node_modules/@relaycast/types/node_modules/zod/v3/types.d.cts +0 -1034
  405. package/node_modules/@relaycast/types/node_modules/zod/v3/types.d.ts +0 -1034
  406. package/node_modules/@relaycast/types/node_modules/zod/v3/types.js +0 -3695
  407. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/checks.cjs +0 -33
  408. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/checks.d.cts +0 -1
  409. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/checks.d.ts +0 -1
  410. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/checks.js +0 -1
  411. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/coerce.cjs +0 -47
  412. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  413. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  414. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/coerce.js +0 -17
  415. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/compat.cjs +0 -61
  416. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/compat.d.cts +0 -50
  417. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/compat.d.ts +0 -50
  418. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/compat.js +0 -31
  419. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/errors.cjs +0 -74
  420. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/errors.d.cts +0 -30
  421. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/errors.d.ts +0 -30
  422. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/errors.js +0 -48
  423. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/external.cjs +0 -73
  424. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/external.d.cts +0 -15
  425. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/external.d.ts +0 -15
  426. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/external.js +0 -20
  427. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/from-json-schema.cjs +0 -610
  428. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  429. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  430. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/from-json-schema.js +0 -584
  431. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/index.cjs +0 -33
  432. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/index.d.cts +0 -4
  433. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/index.d.ts +0 -4
  434. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/index.js +0 -4
  435. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/iso.cjs +0 -60
  436. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/iso.d.cts +0 -22
  437. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/iso.d.ts +0 -22
  438. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/iso.js +0 -30
  439. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/package.json +0 -6
  440. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/parse.cjs +0 -41
  441. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/parse.d.cts +0 -31
  442. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/parse.d.ts +0 -31
  443. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/parse.js +0 -15
  444. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/schemas.cjs +0 -1272
  445. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/schemas.d.cts +0 -739
  446. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/schemas.d.ts +0 -739
  447. package/node_modules/@relaycast/types/node_modules/zod/v4/classic/schemas.js +0 -1157
  448. package/node_modules/@relaycast/types/node_modules/zod/v4/core/api.cjs +0 -1222
  449. package/node_modules/@relaycast/types/node_modules/zod/v4/core/api.d.cts +0 -304
  450. package/node_modules/@relaycast/types/node_modules/zod/v4/core/api.d.ts +0 -304
  451. package/node_modules/@relaycast/types/node_modules/zod/v4/core/api.js +0 -1082
  452. package/node_modules/@relaycast/types/node_modules/zod/v4/core/checks.cjs +0 -601
  453. package/node_modules/@relaycast/types/node_modules/zod/v4/core/checks.d.cts +0 -278
  454. package/node_modules/@relaycast/types/node_modules/zod/v4/core/checks.d.ts +0 -278
  455. package/node_modules/@relaycast/types/node_modules/zod/v4/core/checks.js +0 -575
  456. package/node_modules/@relaycast/types/node_modules/zod/v4/core/core.cjs +0 -83
  457. package/node_modules/@relaycast/types/node_modules/zod/v4/core/core.d.cts +0 -70
  458. package/node_modules/@relaycast/types/node_modules/zod/v4/core/core.d.ts +0 -70
  459. package/node_modules/@relaycast/types/node_modules/zod/v4/core/core.js +0 -76
  460. package/node_modules/@relaycast/types/node_modules/zod/v4/core/doc.cjs +0 -39
  461. package/node_modules/@relaycast/types/node_modules/zod/v4/core/doc.d.cts +0 -14
  462. package/node_modules/@relaycast/types/node_modules/zod/v4/core/doc.d.ts +0 -14
  463. package/node_modules/@relaycast/types/node_modules/zod/v4/core/doc.js +0 -35
  464. package/node_modules/@relaycast/types/node_modules/zod/v4/core/errors.cjs +0 -213
  465. package/node_modules/@relaycast/types/node_modules/zod/v4/core/errors.d.cts +0 -220
  466. package/node_modules/@relaycast/types/node_modules/zod/v4/core/errors.d.ts +0 -220
  467. package/node_modules/@relaycast/types/node_modules/zod/v4/core/errors.js +0 -182
  468. package/node_modules/@relaycast/types/node_modules/zod/v4/core/index.cjs +0 -47
  469. package/node_modules/@relaycast/types/node_modules/zod/v4/core/index.d.cts +0 -16
  470. package/node_modules/@relaycast/types/node_modules/zod/v4/core/index.d.ts +0 -16
  471. package/node_modules/@relaycast/types/node_modules/zod/v4/core/index.js +0 -16
  472. package/node_modules/@relaycast/types/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
  473. package/node_modules/@relaycast/types/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  474. package/node_modules/@relaycast/types/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  475. package/node_modules/@relaycast/types/node_modules/zod/v4/core/json-schema-generator.js +0 -95
  476. package/node_modules/@relaycast/types/node_modules/zod/v4/core/json-schema-processors.cjs +0 -648
  477. package/node_modules/@relaycast/types/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
  478. package/node_modules/@relaycast/types/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
  479. package/node_modules/@relaycast/types/node_modules/zod/v4/core/json-schema-processors.js +0 -605
  480. package/node_modules/@relaycast/types/node_modules/zod/v4/core/json-schema.cjs +0 -2
  481. package/node_modules/@relaycast/types/node_modules/zod/v4/core/json-schema.d.cts +0 -88
  482. package/node_modules/@relaycast/types/node_modules/zod/v4/core/json-schema.d.ts +0 -88
  483. package/node_modules/@relaycast/types/node_modules/zod/v4/core/json-schema.js +0 -1
  484. package/node_modules/@relaycast/types/node_modules/zod/v4/core/package.json +0 -6
  485. package/node_modules/@relaycast/types/node_modules/zod/v4/core/parse.cjs +0 -131
  486. package/node_modules/@relaycast/types/node_modules/zod/v4/core/parse.d.cts +0 -49
  487. package/node_modules/@relaycast/types/node_modules/zod/v4/core/parse.d.ts +0 -49
  488. package/node_modules/@relaycast/types/node_modules/zod/v4/core/parse.js +0 -93
  489. package/node_modules/@relaycast/types/node_modules/zod/v4/core/regexes.cjs +0 -166
  490. package/node_modules/@relaycast/types/node_modules/zod/v4/core/regexes.d.cts +0 -79
  491. package/node_modules/@relaycast/types/node_modules/zod/v4/core/regexes.d.ts +0 -79
  492. package/node_modules/@relaycast/types/node_modules/zod/v4/core/regexes.js +0 -133
  493. package/node_modules/@relaycast/types/node_modules/zod/v4/core/registries.cjs +0 -56
  494. package/node_modules/@relaycast/types/node_modules/zod/v4/core/registries.d.cts +0 -35
  495. package/node_modules/@relaycast/types/node_modules/zod/v4/core/registries.d.ts +0 -35
  496. package/node_modules/@relaycast/types/node_modules/zod/v4/core/registries.js +0 -51
  497. package/node_modules/@relaycast/types/node_modules/zod/v4/core/schemas.cjs +0 -2124
  498. package/node_modules/@relaycast/types/node_modules/zod/v4/core/schemas.d.cts +0 -1146
  499. package/node_modules/@relaycast/types/node_modules/zod/v4/core/schemas.d.ts +0 -1146
  500. package/node_modules/@relaycast/types/node_modules/zod/v4/core/schemas.js +0 -2093
  501. package/node_modules/@relaycast/types/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  502. package/node_modules/@relaycast/types/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  503. package/node_modules/@relaycast/types/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  504. package/node_modules/@relaycast/types/node_modules/zod/v4/core/standard-schema.js +0 -1
  505. package/node_modules/@relaycast/types/node_modules/zod/v4/core/to-json-schema.cjs +0 -446
  506. package/node_modules/@relaycast/types/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
  507. package/node_modules/@relaycast/types/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
  508. package/node_modules/@relaycast/types/node_modules/zod/v4/core/to-json-schema.js +0 -437
  509. package/node_modules/@relaycast/types/node_modules/zod/v4/core/util.cjs +0 -710
  510. package/node_modules/@relaycast/types/node_modules/zod/v4/core/util.d.cts +0 -199
  511. package/node_modules/@relaycast/types/node_modules/zod/v4/core/util.d.ts +0 -199
  512. package/node_modules/@relaycast/types/node_modules/zod/v4/core/util.js +0 -651
  513. package/node_modules/@relaycast/types/node_modules/zod/v4/core/versions.cjs +0 -8
  514. package/node_modules/@relaycast/types/node_modules/zod/v4/core/versions.d.cts +0 -5
  515. package/node_modules/@relaycast/types/node_modules/zod/v4/core/versions.d.ts +0 -5
  516. package/node_modules/@relaycast/types/node_modules/zod/v4/core/versions.js +0 -5
  517. package/node_modules/@relaycast/types/node_modules/zod/v4/index.cjs +0 -22
  518. package/node_modules/@relaycast/types/node_modules/zod/v4/index.d.cts +0 -3
  519. package/node_modules/@relaycast/types/node_modules/zod/v4/index.d.ts +0 -3
  520. package/node_modules/@relaycast/types/node_modules/zod/v4/index.js +0 -3
  521. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ar.cjs +0 -133
  522. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ar.d.cts +0 -5
  523. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ar.d.ts +0 -4
  524. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ar.js +0 -106
  525. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/az.cjs +0 -132
  526. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/az.d.cts +0 -5
  527. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/az.d.ts +0 -4
  528. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/az.js +0 -105
  529. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/be.cjs +0 -183
  530. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/be.d.cts +0 -5
  531. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/be.d.ts +0 -4
  532. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/be.js +0 -156
  533. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/bg.cjs +0 -147
  534. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/bg.d.cts +0 -5
  535. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/bg.d.ts +0 -4
  536. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/bg.js +0 -120
  537. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ca.cjs +0 -134
  538. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ca.d.cts +0 -5
  539. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ca.d.ts +0 -4
  540. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ca.js +0 -107
  541. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/cs.cjs +0 -138
  542. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/cs.d.cts +0 -5
  543. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/cs.d.ts +0 -4
  544. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/cs.js +0 -111
  545. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/da.cjs +0 -142
  546. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/da.d.cts +0 -5
  547. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/da.d.ts +0 -4
  548. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/da.js +0 -115
  549. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/de.cjs +0 -135
  550. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/de.d.cts +0 -5
  551. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/de.d.ts +0 -4
  552. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/de.js +0 -108
  553. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/en.cjs +0 -136
  554. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/en.d.cts +0 -5
  555. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/en.d.ts +0 -4
  556. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/en.js +0 -109
  557. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/eo.cjs +0 -136
  558. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/eo.d.cts +0 -5
  559. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/eo.d.ts +0 -4
  560. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/eo.js +0 -109
  561. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/es.cjs +0 -159
  562. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/es.d.cts +0 -5
  563. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/es.d.ts +0 -4
  564. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/es.js +0 -132
  565. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fa.cjs +0 -141
  566. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fa.d.cts +0 -5
  567. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fa.d.ts +0 -4
  568. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fa.js +0 -114
  569. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fi.cjs +0 -139
  570. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fi.d.cts +0 -5
  571. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fi.d.ts +0 -4
  572. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fi.js +0 -112
  573. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
  574. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  575. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  576. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fr-CA.js +0 -107
  577. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fr.cjs +0 -135
  578. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fr.d.cts +0 -5
  579. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fr.d.ts +0 -4
  580. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/fr.js +0 -108
  581. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/he.cjs +0 -241
  582. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/he.d.cts +0 -5
  583. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/he.d.ts +0 -4
  584. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/he.js +0 -214
  585. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/hu.cjs +0 -135
  586. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/hu.d.cts +0 -5
  587. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/hu.d.ts +0 -4
  588. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/hu.js +0 -108
  589. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/hy.cjs +0 -174
  590. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/hy.d.cts +0 -5
  591. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/hy.d.ts +0 -4
  592. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/hy.js +0 -147
  593. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/id.cjs +0 -133
  594. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/id.d.cts +0 -5
  595. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/id.d.ts +0 -4
  596. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/id.js +0 -106
  597. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/index.cjs +0 -104
  598. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/index.d.cts +0 -49
  599. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/index.d.ts +0 -49
  600. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/index.js +0 -49
  601. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/is.cjs +0 -136
  602. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/is.d.cts +0 -5
  603. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/is.d.ts +0 -4
  604. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/is.js +0 -109
  605. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/it.cjs +0 -135
  606. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/it.d.cts +0 -5
  607. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/it.d.ts +0 -4
  608. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/it.js +0 -108
  609. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ja.cjs +0 -134
  610. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ja.d.cts +0 -5
  611. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ja.d.ts +0 -4
  612. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ja.js +0 -107
  613. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ka.cjs +0 -139
  614. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ka.d.cts +0 -5
  615. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ka.d.ts +0 -4
  616. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ka.js +0 -112
  617. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/kh.cjs +0 -12
  618. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/kh.d.cts +0 -5
  619. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/kh.d.ts +0 -5
  620. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/kh.js +0 -5
  621. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/km.cjs +0 -137
  622. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/km.d.cts +0 -5
  623. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/km.d.ts +0 -4
  624. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/km.js +0 -110
  625. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ko.cjs +0 -138
  626. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ko.d.cts +0 -5
  627. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ko.d.ts +0 -4
  628. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ko.js +0 -111
  629. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/lt.cjs +0 -230
  630. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/lt.d.cts +0 -5
  631. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/lt.d.ts +0 -4
  632. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/lt.js +0 -203
  633. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/mk.cjs +0 -136
  634. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/mk.d.cts +0 -5
  635. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/mk.d.ts +0 -4
  636. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/mk.js +0 -109
  637. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ms.cjs +0 -134
  638. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ms.d.cts +0 -5
  639. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ms.d.ts +0 -4
  640. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ms.js +0 -107
  641. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/nl.cjs +0 -137
  642. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/nl.d.cts +0 -5
  643. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/nl.d.ts +0 -4
  644. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/nl.js +0 -110
  645. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/no.cjs +0 -135
  646. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/no.d.cts +0 -5
  647. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/no.d.ts +0 -4
  648. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/no.js +0 -108
  649. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ota.cjs +0 -136
  650. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ota.d.cts +0 -5
  651. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ota.d.ts +0 -4
  652. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ota.js +0 -109
  653. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/package.json +0 -6
  654. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/pl.cjs +0 -136
  655. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/pl.d.cts +0 -5
  656. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/pl.d.ts +0 -4
  657. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/pl.js +0 -109
  658. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ps.cjs +0 -141
  659. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ps.d.cts +0 -5
  660. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ps.d.ts +0 -4
  661. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ps.js +0 -114
  662. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/pt.cjs +0 -135
  663. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/pt.d.cts +0 -5
  664. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/pt.d.ts +0 -4
  665. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/pt.js +0 -108
  666. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ru.cjs +0 -183
  667. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ru.d.cts +0 -5
  668. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ru.d.ts +0 -4
  669. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ru.js +0 -156
  670. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/sl.cjs +0 -136
  671. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/sl.d.cts +0 -5
  672. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/sl.d.ts +0 -4
  673. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/sl.js +0 -109
  674. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/sv.cjs +0 -137
  675. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/sv.d.cts +0 -5
  676. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/sv.d.ts +0 -4
  677. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/sv.js +0 -110
  678. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ta.cjs +0 -137
  679. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ta.d.cts +0 -5
  680. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ta.d.ts +0 -4
  681. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ta.js +0 -110
  682. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/th.cjs +0 -137
  683. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/th.d.cts +0 -5
  684. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/th.d.ts +0 -4
  685. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/th.js +0 -110
  686. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/tr.cjs +0 -132
  687. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/tr.d.cts +0 -5
  688. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/tr.d.ts +0 -4
  689. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/tr.js +0 -105
  690. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ua.cjs +0 -12
  691. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ua.d.cts +0 -5
  692. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ua.d.ts +0 -5
  693. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ua.js +0 -5
  694. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/uk.cjs +0 -135
  695. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/uk.d.cts +0 -5
  696. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/uk.d.ts +0 -4
  697. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/uk.js +0 -108
  698. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ur.cjs +0 -137
  699. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ur.d.cts +0 -5
  700. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ur.d.ts +0 -4
  701. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/ur.js +0 -110
  702. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/uz.cjs +0 -136
  703. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/uz.d.cts +0 -5
  704. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/uz.d.ts +0 -4
  705. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/uz.js +0 -109
  706. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/vi.cjs +0 -135
  707. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/vi.d.cts +0 -5
  708. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/vi.d.ts +0 -4
  709. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/vi.js +0 -108
  710. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/yo.cjs +0 -134
  711. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/yo.d.cts +0 -5
  712. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/yo.d.ts +0 -4
  713. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/yo.js +0 -107
  714. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
  715. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  716. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  717. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/zh-CN.js +0 -109
  718. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
  719. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  720. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  721. package/node_modules/@relaycast/types/node_modules/zod/v4/locales/zh-TW.js +0 -107
  722. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/checks.cjs +0 -34
  723. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/checks.d.cts +0 -1
  724. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/checks.d.ts +0 -1
  725. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/checks.js +0 -1
  726. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/coerce.cjs +0 -52
  727. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  728. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  729. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/coerce.js +0 -22
  730. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/external.cjs +0 -63
  731. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/external.d.cts +0 -12
  732. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/external.d.ts +0 -12
  733. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/external.js +0 -14
  734. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/index.cjs +0 -32
  735. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/index.d.cts +0 -3
  736. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/index.d.ts +0 -3
  737. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/index.js +0 -3
  738. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/iso.cjs +0 -64
  739. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/iso.d.cts +0 -22
  740. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/iso.d.ts +0 -22
  741. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/iso.js +0 -34
  742. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/package.json +0 -6
  743. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/parse.cjs +0 -16
  744. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/parse.d.cts +0 -1
  745. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/parse.d.ts +0 -1
  746. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/parse.js +0 -1
  747. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/schemas.cjs +0 -1046
  748. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/schemas.d.cts +0 -427
  749. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/schemas.d.ts +0 -427
  750. package/node_modules/@relaycast/types/node_modules/zod/v4/mini/schemas.js +0 -925
  751. package/node_modules/@relaycast/types/node_modules/zod/v4/package.json +0 -6
  752. package/node_modules/@relaycast/types/node_modules/zod/v4-mini/index.cjs +0 -32
  753. package/node_modules/@relaycast/types/node_modules/zod/v4-mini/index.d.cts +0 -3
  754. package/node_modules/@relaycast/types/node_modules/zod/v4-mini/index.d.ts +0 -3
  755. package/node_modules/@relaycast/types/node_modules/zod/v4-mini/index.js +0 -3
  756. package/node_modules/@relaycast/types/node_modules/zod/v4-mini/package.json +0 -6
  757. package/node_modules/minizlib/node_modules/minipass/LICENSE.md +0 -55
  758. package/node_modules/minizlib/node_modules/minipass/README.md +0 -825
  759. package/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
  760. package/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  761. package/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.js +0 -1038
  762. package/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  763. package/node_modules/minizlib/node_modules/minipass/dist/commonjs/package.json +0 -3
  764. package/node_modules/minizlib/node_modules/minipass/dist/esm/index.d.ts +0 -545
  765. package/node_modules/minizlib/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  766. package/node_modules/minizlib/node_modules/minipass/dist/esm/index.js +0 -1020
  767. package/node_modules/minizlib/node_modules/minipass/dist/esm/index.js.map +0 -1
  768. package/node_modules/minizlib/node_modules/minipass/dist/esm/package.json +0 -3
  769. package/node_modules/minizlib/node_modules/minipass/package.json +0 -77
  770. package/node_modules/tar/node_modules/minipass/LICENSE.md +0 -55
  771. package/node_modules/tar/node_modules/minipass/README.md +0 -825
  772. package/node_modules/tar/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
  773. package/node_modules/tar/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  774. package/node_modules/tar/node_modules/minipass/dist/commonjs/index.js +0 -1038
  775. package/node_modules/tar/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  776. package/node_modules/tar/node_modules/minipass/dist/commonjs/package.json +0 -3
  777. package/node_modules/tar/node_modules/minipass/dist/esm/index.d.ts +0 -545
  778. package/node_modules/tar/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  779. package/node_modules/tar/node_modules/minipass/dist/esm/index.js +0 -1020
  780. package/node_modules/tar/node_modules/minipass/dist/esm/index.js.map +0 -1
  781. package/node_modules/tar/node_modules/minipass/dist/esm/package.json +0 -3
  782. package/node_modules/tar/node_modules/minipass/package.json +0 -77
  783. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/agent.d.ts +0 -0
  784. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/agent.d.ts.map +0 -0
  785. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/agent.js +0 -0
  786. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/agent.js.map +0 -0
  787. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/api.d.ts +0 -0
  788. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/api.d.ts.map +0 -0
  789. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/api.js +0 -0
  790. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/api.js.map +0 -0
  791. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/command.d.ts +0 -0
  792. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/command.d.ts.map +0 -0
  793. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/command.js +0 -0
  794. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/command.js.map +0 -0
  795. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/dm.d.ts +0 -0
  796. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/dm.d.ts.map +0 -0
  797. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/dm.js +0 -0
  798. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/dm.js.map +0 -0
  799. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/emoji.d.ts +0 -0
  800. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/emoji.d.ts.map +0 -0
  801. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/emoji.js +0 -0
  802. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/emoji.js.map +0 -0
  803. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/file.d.ts +0 -0
  804. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/file.d.ts.map +0 -0
  805. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/file.js +0 -0
  806. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/file.js.map +0 -0
  807. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/index.d.ts +0 -0
  808. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/index.d.ts.map +0 -0
  809. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/index.js +0 -0
  810. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/index.js.map +0 -0
  811. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/message.d.ts +0 -0
  812. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/message.d.ts.map +0 -0
  813. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/message.js +0 -0
  814. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/message.js.map +0 -0
  815. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/reaction.d.ts +0 -0
  816. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/reaction.d.ts.map +0 -0
  817. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/reaction.js +0 -0
  818. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/reaction.js.map +0 -0
  819. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/receipt.d.ts +0 -0
  820. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/receipt.d.ts.map +0 -0
  821. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/receipt.js +0 -0
  822. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/receipt.js.map +0 -0
  823. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/subscription.d.ts +0 -0
  824. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/subscription.d.ts.map +0 -0
  825. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/subscription.js +0 -0
  826. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/subscription.js.map +0 -0
  827. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/telemetry.d.ts +0 -0
  828. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/telemetry.d.ts.map +0 -0
  829. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/telemetry.js +0 -0
  830. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/telemetry.js.map +0 -0
  831. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/webhook.d.ts +0 -0
  832. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/webhook.d.ts.map +0 -0
  833. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/webhook.js +0 -0
  834. /package/node_modules/@relaycast/{types → sdk/node_modules/@relaycast/types}/dist/webhook.js.map +0 -0
  835. /package/node_modules/{@isaacs/fs-minipass/node_modules/minipass → minipass}/LICENSE.md +0 -0
  836. /package/node_modules/{@isaacs/fs-minipass/node_modules/minipass → minipass}/README.md +0 -0
  837. /package/node_modules/{@isaacs/fs-minipass/node_modules/minipass → minipass}/dist/commonjs/index.d.ts +0 -0
  838. /package/node_modules/{@isaacs/fs-minipass/node_modules/minipass → minipass}/dist/commonjs/index.d.ts.map +0 -0
  839. /package/node_modules/{@isaacs/fs-minipass/node_modules/minipass → minipass}/dist/commonjs/index.js +0 -0
  840. /package/node_modules/{@isaacs/fs-minipass/node_modules/minipass → minipass}/dist/commonjs/index.js.map +0 -0
  841. /package/node_modules/{@isaacs/fs-minipass/node_modules/minipass → minipass}/dist/commonjs/package.json +0 -0
  842. /package/node_modules/{@isaacs/fs-minipass/node_modules/minipass → minipass}/dist/esm/index.d.ts +0 -0
  843. /package/node_modules/{@isaacs/fs-minipass/node_modules/minipass → minipass}/dist/esm/index.d.ts.map +0 -0
  844. /package/node_modules/{@isaacs/fs-minipass/node_modules/minipass → minipass}/dist/esm/index.js +0 -0
  845. /package/node_modules/{@isaacs/fs-minipass/node_modules/minipass → minipass}/dist/esm/index.js.map +0 -0
  846. /package/node_modules/{@isaacs/fs-minipass/node_modules/minipass → minipass}/dist/esm/package.json +0 -0
  847. /package/node_modules/{@isaacs/fs-minipass/node_modules/minipass → minipass}/package.json +0 -0
@@ -1,545 +0,0 @@
1
- import { EventEmitter } from 'node:events';
2
- import { StringDecoder } from 'node:string_decoder';
3
- /**
4
- * Same as StringDecoder, but exposing the `lastNeed` flag on the type
5
- */
6
- type SD = StringDecoder & {
7
- lastNeed: boolean;
8
- };
9
- export type { SD, Pipe, PipeProxyErrors };
10
- /**
11
- * Return true if the argument is a Minipass stream, Node stream, or something
12
- * else that Minipass can interact with.
13
- */
14
- export declare const isStream: (s: any) => s is Minipass<any, any, any> | NodeJS.ReadStream | NodeJS.WriteStream | (EventEmitter<any> & {
15
- end(): any;
16
- write(chunk: any, ...args: any[]): any;
17
- }) | (EventEmitter<any> & {
18
- pause(): any;
19
- resume(): any;
20
- pipe(...destArgs: any[]): any;
21
- }) | (NodeJS.ReadStream & {
22
- fd: number;
23
- }) | (NodeJS.WriteStream & {
24
- fd: number;
25
- });
26
- /**
27
- * Return true if the argument is a valid {@link Minipass.Readable}
28
- */
29
- export declare const isReadable: (s: any) => s is Minipass.Readable;
30
- /**
31
- * Return true if the argument is a valid {@link Minipass.Writable}
32
- */
33
- export declare const isWritable: (s: any) => s is Minipass.Readable;
34
- declare const EOF: unique symbol;
35
- declare const MAYBE_EMIT_END: unique symbol;
36
- declare const EMITTED_END: unique symbol;
37
- declare const EMITTING_END: unique symbol;
38
- declare const EMITTED_ERROR: unique symbol;
39
- declare const CLOSED: unique symbol;
40
- declare const READ: unique symbol;
41
- declare const FLUSH: unique symbol;
42
- declare const FLUSHCHUNK: unique symbol;
43
- declare const ENCODING: unique symbol;
44
- declare const DECODER: unique symbol;
45
- declare const FLOWING: unique symbol;
46
- declare const PAUSED: unique symbol;
47
- declare const RESUME: unique symbol;
48
- declare const BUFFER: unique symbol;
49
- declare const PIPES: unique symbol;
50
- declare const BUFFERLENGTH: unique symbol;
51
- declare const BUFFERPUSH: unique symbol;
52
- declare const BUFFERSHIFT: unique symbol;
53
- declare const OBJECTMODE: unique symbol;
54
- declare const DESTROYED: unique symbol;
55
- declare const ERROR: unique symbol;
56
- declare const EMITDATA: unique symbol;
57
- declare const EMITEND: unique symbol;
58
- declare const EMITEND2: unique symbol;
59
- declare const ASYNC: unique symbol;
60
- declare const ABORT: unique symbol;
61
- declare const ABORTED: unique symbol;
62
- declare const SIGNAL: unique symbol;
63
- declare const DATALISTENERS: unique symbol;
64
- declare const DISCARDED: unique symbol;
65
- /**
66
- * Options that may be passed to stream.pipe()
67
- */
68
- export interface PipeOptions {
69
- /**
70
- * end the destination stream when the source stream ends
71
- */
72
- end?: boolean;
73
- /**
74
- * proxy errors from the source stream to the destination stream
75
- */
76
- proxyErrors?: boolean;
77
- }
78
- /**
79
- * Internal class representing a pipe to a destination stream.
80
- *
81
- * @internal
82
- */
83
- declare class Pipe<T extends unknown> {
84
- src: Minipass<T>;
85
- dest: Minipass<any, T>;
86
- opts: PipeOptions;
87
- ondrain: () => any;
88
- constructor(src: Minipass<T>, dest: Minipass.Writable, opts: PipeOptions);
89
- unpipe(): void;
90
- proxyErrors(_er: any): void;
91
- end(): void;
92
- }
93
- /**
94
- * Internal class representing a pipe to a destination stream where
95
- * errors are proxied.
96
- *
97
- * @internal
98
- */
99
- declare class PipeProxyErrors<T> extends Pipe<T> {
100
- unpipe(): void;
101
- constructor(src: Minipass<T>, dest: Minipass.Writable, opts: PipeOptions);
102
- }
103
- export declare namespace Minipass {
104
- /**
105
- * Encoding used to create a stream that outputs strings rather than
106
- * Buffer objects.
107
- */
108
- export type Encoding = BufferEncoding | 'buffer' | null;
109
- /**
110
- * Any stream that Minipass can pipe into
111
- */
112
- export type Writable = Minipass<any, any, any> | NodeJS.WriteStream | (NodeJS.WriteStream & {
113
- fd: number;
114
- }) | (EventEmitter & {
115
- end(): any;
116
- write(chunk: any, ...args: any[]): any;
117
- });
118
- /**
119
- * Any stream that can be read from
120
- */
121
- export type Readable = Minipass<any, any, any> | NodeJS.ReadStream | (NodeJS.ReadStream & {
122
- fd: number;
123
- }) | (EventEmitter & {
124
- pause(): any;
125
- resume(): any;
126
- pipe(...destArgs: any[]): any;
127
- });
128
- /**
129
- * Utility type that can be iterated sync or async
130
- */
131
- export type DualIterable<T> = Iterable<T> & AsyncIterable<T>;
132
- type EventArguments = Record<string | symbol, unknown[]>;
133
- /**
134
- * The listing of events that a Minipass class can emit.
135
- * Extend this when extending the Minipass class, and pass as
136
- * the third template argument. The key is the name of the event,
137
- * and the value is the argument list.
138
- *
139
- * Any undeclared events will still be allowed, but the handler will get
140
- * arguments as `unknown[]`.
141
- */
142
- export interface Events<RType extends any = Buffer> extends EventArguments {
143
- readable: [];
144
- data: [chunk: RType];
145
- error: [er: unknown];
146
- abort: [reason: unknown];
147
- drain: [];
148
- resume: [];
149
- end: [];
150
- finish: [];
151
- prefinish: [];
152
- close: [];
153
- [DESTROYED]: [er?: unknown];
154
- [ERROR]: [er: unknown];
155
- }
156
- /**
157
- * String or buffer-like data that can be joined and sliced
158
- */
159
- export type ContiguousData = Buffer | ArrayBufferLike | ArrayBufferView | string;
160
- export type BufferOrString = Buffer | string;
161
- /**
162
- * Options passed to the Minipass constructor.
163
- */
164
- export type SharedOptions = {
165
- /**
166
- * Defer all data emission and other events until the end of the
167
- * current tick, similar to Node core streams
168
- */
169
- async?: boolean;
170
- /**
171
- * A signal which will abort the stream
172
- */
173
- signal?: AbortSignal;
174
- /**
175
- * Output string encoding. Set to `null` or `'buffer'` (or omit) to
176
- * emit Buffer objects rather than strings.
177
- *
178
- * Conflicts with `objectMode`
179
- */
180
- encoding?: BufferEncoding | null | 'buffer';
181
- /**
182
- * Output data exactly as it was written, supporting non-buffer/string
183
- * data (such as arbitrary objects, falsey values, etc.)
184
- *
185
- * Conflicts with `encoding`
186
- */
187
- objectMode?: boolean;
188
- };
189
- /**
190
- * Options for a string encoded output
191
- */
192
- export type EncodingOptions = SharedOptions & {
193
- encoding: BufferEncoding;
194
- objectMode?: false;
195
- };
196
- /**
197
- * Options for contiguous data buffer output
198
- */
199
- export type BufferOptions = SharedOptions & {
200
- encoding?: null | 'buffer';
201
- objectMode?: false;
202
- };
203
- /**
204
- * Options for objectMode arbitrary output
205
- */
206
- export type ObjectModeOptions = SharedOptions & {
207
- objectMode: true;
208
- encoding?: null;
209
- };
210
- /**
211
- * Utility type to determine allowed options based on read type
212
- */
213
- export type Options<T> = ObjectModeOptions | (T extends string ? EncodingOptions : T extends Buffer ? BufferOptions : SharedOptions);
214
- export {};
215
- }
216
- /**
217
- * Main export, the Minipass class
218
- *
219
- * `RType` is the type of data emitted, defaults to Buffer
220
- *
221
- * `WType` is the type of data to be written, if RType is buffer or string,
222
- * then any {@link Minipass.ContiguousData} is allowed.
223
- *
224
- * `Events` is the set of event handler signatures that this object
225
- * will emit, see {@link Minipass.Events}
226
- */
227
- export declare class Minipass<RType extends unknown = Buffer, WType extends unknown = RType extends Minipass.BufferOrString ? Minipass.ContiguousData : RType, Events extends Minipass.Events<RType> = Minipass.Events<RType>> extends EventEmitter implements Minipass.DualIterable<RType> {
228
- [FLOWING]: boolean;
229
- [PAUSED]: boolean;
230
- [PIPES]: Pipe<RType>[];
231
- [BUFFER]: RType[];
232
- [OBJECTMODE]: boolean;
233
- [ENCODING]: BufferEncoding | null;
234
- [ASYNC]: boolean;
235
- [DECODER]: SD | null;
236
- [EOF]: boolean;
237
- [EMITTED_END]: boolean;
238
- [EMITTING_END]: boolean;
239
- [CLOSED]: boolean;
240
- [EMITTED_ERROR]: unknown;
241
- [BUFFERLENGTH]: number;
242
- [DESTROYED]: boolean;
243
- [SIGNAL]?: AbortSignal;
244
- [ABORTED]: boolean;
245
- [DATALISTENERS]: number;
246
- [DISCARDED]: boolean;
247
- /**
248
- * true if the stream can be written
249
- */
250
- writable: boolean;
251
- /**
252
- * true if the stream can be read
253
- */
254
- readable: boolean;
255
- /**
256
- * If `RType` is Buffer, then options do not need to be provided.
257
- * Otherwise, an options object must be provided to specify either
258
- * {@link Minipass.SharedOptions.objectMode} or
259
- * {@link Minipass.SharedOptions.encoding}, as appropriate.
260
- */
261
- constructor(...args: [Minipass.ObjectModeOptions] | (RType extends Buffer ? [] | [Minipass.Options<RType>] : [Minipass.Options<RType>]));
262
- /**
263
- * The amount of data stored in the buffer waiting to be read.
264
- *
265
- * For Buffer strings, this will be the total byte length.
266
- * For string encoding streams, this will be the string character length,
267
- * according to JavaScript's `string.length` logic.
268
- * For objectMode streams, this is a count of the items waiting to be
269
- * emitted.
270
- */
271
- get bufferLength(): number;
272
- /**
273
- * The `BufferEncoding` currently in use, or `null`
274
- */
275
- get encoding(): BufferEncoding | null;
276
- /**
277
- * @deprecated - This is a read only property
278
- */
279
- set encoding(_enc: BufferEncoding | null);
280
- /**
281
- * @deprecated - Encoding may only be set at instantiation time
282
- */
283
- setEncoding(_enc: Minipass.Encoding): void;
284
- /**
285
- * True if this is an objectMode stream
286
- */
287
- get objectMode(): boolean;
288
- /**
289
- * @deprecated - This is a read-only property
290
- */
291
- set objectMode(_om: boolean);
292
- /**
293
- * true if this is an async stream
294
- */
295
- get ['async'](): boolean;
296
- /**
297
- * Set to true to make this stream async.
298
- *
299
- * Once set, it cannot be unset, as this would potentially cause incorrect
300
- * behavior. Ie, a sync stream can be made async, but an async stream
301
- * cannot be safely made sync.
302
- */
303
- set ['async'](a: boolean);
304
- [ABORT](): void;
305
- /**
306
- * True if the stream has been aborted.
307
- */
308
- get aborted(): boolean;
309
- /**
310
- * No-op setter. Stream aborted status is set via the AbortSignal provided
311
- * in the constructor options.
312
- */
313
- set aborted(_: boolean);
314
- /**
315
- * Write data into the stream
316
- *
317
- * If the chunk written is a string, and encoding is not specified, then
318
- * `utf8` will be assumed. If the stream encoding matches the encoding of
319
- * a written string, and the state of the string decoder allows it, then
320
- * the string will be passed through to either the output or the internal
321
- * buffer without any processing. Otherwise, it will be turned into a
322
- * Buffer object for processing into the desired encoding.
323
- *
324
- * If provided, `cb` function is called immediately before return for
325
- * sync streams, or on next tick for async streams, because for this
326
- * base class, a chunk is considered "processed" once it is accepted
327
- * and either emitted or buffered. That is, the callback does not indicate
328
- * that the chunk has been eventually emitted, though of course child
329
- * classes can override this function to do whatever processing is required
330
- * and call `super.write(...)` only once processing is completed.
331
- */
332
- write(chunk: WType, cb?: () => void): boolean;
333
- write(chunk: WType, encoding?: Minipass.Encoding, cb?: () => void): boolean;
334
- /**
335
- * Low-level explicit read method.
336
- *
337
- * In objectMode, the argument is ignored, and one item is returned if
338
- * available.
339
- *
340
- * `n` is the number of bytes (or in the case of encoding streams,
341
- * characters) to consume. If `n` is not provided, then the entire buffer
342
- * is returned, or `null` is returned if no data is available.
343
- *
344
- * If `n` is greater that the amount of data in the internal buffer,
345
- * then `null` is returned.
346
- */
347
- read(n?: number | null): RType | null;
348
- [READ](n: number | null, chunk: RType): RType;
349
- /**
350
- * End the stream, optionally providing a final write.
351
- *
352
- * See {@link Minipass#write} for argument descriptions
353
- */
354
- end(cb?: () => void): this;
355
- end(chunk: WType, cb?: () => void): this;
356
- end(chunk: WType, encoding?: Minipass.Encoding, cb?: () => void): this;
357
- [RESUME](): void;
358
- /**
359
- * Resume the stream if it is currently in a paused state
360
- *
361
- * If called when there are no pipe destinations or `data` event listeners,
362
- * this will place the stream in a "discarded" state, where all data will
363
- * be thrown away. The discarded state is removed if a pipe destination or
364
- * data handler is added, if pause() is called, or if any synchronous or
365
- * asynchronous iteration is started.
366
- */
367
- resume(): void;
368
- /**
369
- * Pause the stream
370
- */
371
- pause(): void;
372
- /**
373
- * true if the stream has been forcibly destroyed
374
- */
375
- get destroyed(): boolean;
376
- /**
377
- * true if the stream is currently in a flowing state, meaning that
378
- * any writes will be immediately emitted.
379
- */
380
- get flowing(): boolean;
381
- /**
382
- * true if the stream is currently in a paused state
383
- */
384
- get paused(): boolean;
385
- [BUFFERPUSH](chunk: RType): void;
386
- [BUFFERSHIFT](): RType;
387
- [FLUSH](noDrain?: boolean): void;
388
- [FLUSHCHUNK](chunk: RType): boolean;
389
- /**
390
- * Pipe all data emitted by this stream into the destination provided.
391
- *
392
- * Triggers the flow of data.
393
- */
394
- pipe<W extends Minipass.Writable>(dest: W, opts?: PipeOptions): W;
395
- /**
396
- * Fully unhook a piped destination stream.
397
- *
398
- * If the destination stream was the only consumer of this stream (ie,
399
- * there are no other piped destinations or `'data'` event listeners)
400
- * then the flow of data will stop until there is another consumer or
401
- * {@link Minipass#resume} is explicitly called.
402
- */
403
- unpipe<W extends Minipass.Writable>(dest: W): void;
404
- /**
405
- * Alias for {@link Minipass#on}
406
- */
407
- addListener<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;
408
- /**
409
- * Mostly identical to `EventEmitter.on`, with the following
410
- * behavior differences to prevent data loss and unnecessary hangs:
411
- *
412
- * - Adding a 'data' event handler will trigger the flow of data
413
- *
414
- * - Adding a 'readable' event handler when there is data waiting to be read
415
- * will cause 'readable' to be emitted immediately.
416
- *
417
- * - Adding an 'endish' event handler ('end', 'finish', etc.) which has
418
- * already passed will cause the event to be emitted immediately and all
419
- * handlers removed.
420
- *
421
- * - Adding an 'error' event handler after an error has been emitted will
422
- * cause the event to be re-emitted immediately with the error previously
423
- * raised.
424
- */
425
- on<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;
426
- /**
427
- * Alias for {@link Minipass#off}
428
- */
429
- removeListener<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;
430
- /**
431
- * Mostly identical to `EventEmitter.off`
432
- *
433
- * If a 'data' event handler is removed, and it was the last consumer
434
- * (ie, there are no pipe destinations or other 'data' event listeners),
435
- * then the flow of data will stop until there is another consumer or
436
- * {@link Minipass#resume} is explicitly called.
437
- */
438
- off<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;
439
- /**
440
- * Mostly identical to `EventEmitter.removeAllListeners`
441
- *
442
- * If all 'data' event handlers are removed, and they were the last consumer
443
- * (ie, there are no pipe destinations), then the flow of data will stop
444
- * until there is another consumer or {@link Minipass#resume} is explicitly
445
- * called.
446
- */
447
- removeAllListeners<Event extends keyof Events>(ev?: Event): this;
448
- /**
449
- * true if the 'end' event has been emitted
450
- */
451
- get emittedEnd(): boolean;
452
- [MAYBE_EMIT_END](): void;
453
- /**
454
- * Mostly identical to `EventEmitter.emit`, with the following
455
- * behavior differences to prevent data loss and unnecessary hangs:
456
- *
457
- * If the stream has been destroyed, and the event is something other
458
- * than 'close' or 'error', then `false` is returned and no handlers
459
- * are called.
460
- *
461
- * If the event is 'end', and has already been emitted, then the event
462
- * is ignored. If the stream is in a paused or non-flowing state, then
463
- * the event will be deferred until data flow resumes. If the stream is
464
- * async, then handlers will be called on the next tick rather than
465
- * immediately.
466
- *
467
- * If the event is 'close', and 'end' has not yet been emitted, then
468
- * the event will be deferred until after 'end' is emitted.
469
- *
470
- * If the event is 'error', and an AbortSignal was provided for the stream,
471
- * and there are no listeners, then the event is ignored, matching the
472
- * behavior of node core streams in the presense of an AbortSignal.
473
- *
474
- * If the event is 'finish' or 'prefinish', then all listeners will be
475
- * removed after emitting the event, to prevent double-firing.
476
- */
477
- emit<Event extends keyof Events>(ev: Event, ...args: Events[Event]): boolean;
478
- [EMITDATA](data: RType): boolean;
479
- [EMITEND](): boolean;
480
- [EMITEND2](): boolean;
481
- /**
482
- * Return a Promise that resolves to an array of all emitted data once
483
- * the stream ends.
484
- */
485
- collect(): Promise<RType[] & {
486
- dataLength: number;
487
- }>;
488
- /**
489
- * Return a Promise that resolves to the concatenation of all emitted data
490
- * once the stream ends.
491
- *
492
- * Not allowed on objectMode streams.
493
- */
494
- concat(): Promise<RType>;
495
- /**
496
- * Return a void Promise that resolves once the stream ends.
497
- */
498
- promise(): Promise<void>;
499
- /**
500
- * Asynchronous `for await of` iteration.
501
- *
502
- * This will continue emitting all chunks until the stream terminates.
503
- */
504
- [Symbol.asyncIterator](): AsyncGenerator<RType, void, void>;
505
- /**
506
- * Synchronous `for of` iteration.
507
- *
508
- * The iteration will terminate when the internal buffer runs out, even
509
- * if the stream has not yet terminated.
510
- */
511
- [Symbol.iterator](): Generator<RType, void, void>;
512
- /**
513
- * Destroy a stream, preventing it from being used for any further purpose.
514
- *
515
- * If the stream has a `close()` method, then it will be called on
516
- * destruction.
517
- *
518
- * After destruction, any attempt to write data, read data, or emit most
519
- * events will be ignored.
520
- *
521
- * If an error argument is provided, then it will be emitted in an
522
- * 'error' event.
523
- */
524
- destroy(er?: unknown): this;
525
- /**
526
- * Alias for {@link isStream}
527
- *
528
- * Former export location, maintained for backwards compatibility.
529
- *
530
- * @deprecated
531
- */
532
- static get isStream(): (s: any) => s is Minipass<any, any, any> | NodeJS.ReadStream | NodeJS.WriteStream | (EventEmitter<any> & {
533
- end(): any;
534
- write(chunk: any, ...args: any[]): any;
535
- }) | (EventEmitter<any> & {
536
- pause(): any;
537
- resume(): any;
538
- pipe(...destArgs: any[]): any;
539
- }) | (NodeJS.ReadStream & {
540
- fd: number;
541
- }) | (NodeJS.WriteStream & {
542
- fd: number;
543
- });
544
- }
545
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAEnD;;GAEG;AACH,KAAK,EAAE,GAAG,aAAa,GAAG;IAAE,QAAQ,EAAE,OAAO,CAAA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I,CAAC,CA4D1D;IAED;;;;;OAKG;IACH,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,CAiChD;IAED;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,EAAE,CAAC,EAAE,OAAO,QAwBnB;IAED;;;;;;OAMG;IACH,MAAM,KAAK,QAAQ;;;;;;;;;;;OAElB;CACF","sourcesContent":["const proc =\n typeof process === 'object' && process\n ? process\n : {\n stdout: null,\n stderr: null,\n }\nimport { EventEmitter } from 'node:events'\nimport Stream from 'node:stream'\nimport { StringDecoder } from 'node:string_decoder'\n\n/**\n * Same as StringDecoder, but exposing the `lastNeed` flag on the type\n */\ntype SD = StringDecoder & { lastNeed: boolean }\n\nexport type { SD, Pipe, PipeProxyErrors }\n\n/**\n * Return true if the argument is a Minipass stream, Node stream, or something\n * else that Minipass can interact with.\n */\nexport const isStream = (\n s: any\n): s is Minipass.Readable | Minipass.Writable =>\n !!s &&\n typeof s === 'object' &&\n (s instanceof Minipass ||\n s instanceof Stream ||\n isReadable(s) ||\n isWritable(s))\n\n/**\n * Return true if the argument is a valid {@link Minipass.Readable}\n */\nexport const isReadable = (s: any): s is Minipass.Readable =>\n !!s &&\n typeof s === 'object' &&\n s instanceof EventEmitter &&\n typeof (s as Minipass.Readable).pipe === 'function' &&\n // node core Writable streams have a pipe() method, but it throws\n (s as Minipass.Readable).pipe !== Stream.Writable.prototype.pipe\n\n/**\n * Return true if the argument is a valid {@link Minipass.Writable}\n */\nexport const isWritable = (s: any): s is Minipass.Readable =>\n !!s &&\n typeof s === 'object' &&\n s instanceof EventEmitter &&\n typeof (s as Minipass.Writable).write === 'function' &&\n typeof (s as Minipass.Writable).end === 'function'\n\nconst EOF = Symbol('EOF')\nconst MAYBE_EMIT_END = Symbol('maybeEmitEnd')\nconst EMITTED_END = Symbol('emittedEnd')\nconst EMITTING_END = Symbol('emittingEnd')\nconst EMITTED_ERROR = Symbol('emittedError')\nconst CLOSED = Symbol('closed')\nconst READ = Symbol('read')\nconst FLUSH = Symbol('flush')\nconst FLUSHCHUNK = Symbol('flushChunk')\nconst ENCODING = Symbol('encoding')\nconst DECODER = Symbol('decoder')\nconst FLOWING = Symbol('flowing')\nconst PAUSED = Symbol('paused')\nconst RESUME = Symbol('resume')\nconst BUFFER = Symbol('buffer')\nconst PIPES = Symbol('pipes')\nconst BUFFERLENGTH = Symbol('bufferLength')\nconst BUFFERPUSH = Symbol('bufferPush')\nconst BUFFERSHIFT = Symbol('bufferShift')\nconst OBJECTMODE = Symbol('objectMode')\n// internal event when stream is destroyed\nconst DESTROYED = Symbol('destroyed')\n// internal event when stream has an error\nconst ERROR = Symbol('error')\nconst EMITDATA = Symbol('emitData')\nconst EMITEND = Symbol('emitEnd')\nconst EMITEND2 = Symbol('emitEnd2')\nconst ASYNC = Symbol('async')\nconst ABORT = Symbol('abort')\nconst ABORTED = Symbol('aborted')\nconst SIGNAL = Symbol('signal')\nconst DATALISTENERS = Symbol('dataListeners')\nconst DISCARDED = Symbol('discarded')\n\nconst defer = (fn: (...a: any[]) => any) => Promise.resolve().then(fn)\nconst nodefer = (fn: (...a: any[]) => any) => fn()\n\n// events that mean 'the stream is over'\n// these are treated specially, and re-emitted\n// if they are listened for after emitting.\ntype EndishEvent = 'end' | 'finish' | 'prefinish'\nconst isEndish = (ev: any): ev is EndishEvent =>\n ev === 'end' || ev === 'finish' || ev === 'prefinish'\n\nconst isArrayBufferLike = (b: any): b is ArrayBufferLike =>\n b instanceof ArrayBuffer ||\n (!!b &&\n typeof b === 'object' &&\n b.constructor &&\n b.constructor.name === 'ArrayBuffer' &&\n b.byteLength >= 0)\n\nconst isArrayBufferView = (b: any): b is ArrayBufferView =>\n !Buffer.isBuffer(b) && ArrayBuffer.isView(b)\n\n/**\n * Options that may be passed to stream.pipe()\n */\nexport interface PipeOptions {\n /**\n * end the destination stream when the source stream ends\n */\n end?: boolean\n /**\n * proxy errors from the source stream to the destination stream\n */\n proxyErrors?: boolean\n}\n\n/**\n * Internal class representing a pipe to a destination stream.\n *\n * @internal\n */\nclass Pipe<T extends unknown> {\n src: Minipass<T>\n dest: Minipass<any, T>\n opts: PipeOptions\n ondrain: () => any\n constructor(\n src: Minipass<T>,\n dest: Minipass.Writable,\n opts: PipeOptions\n ) {\n this.src = src\n this.dest = dest as Minipass<any, T>\n this.opts = opts\n this.ondrain = () => src[RESUME]()\n this.dest.on('drain', this.ondrain)\n }\n unpipe() {\n this.dest.removeListener('drain', this.ondrain)\n }\n // only here for the prototype\n /* c8 ignore start */\n proxyErrors(_er: any) {}\n /* c8 ignore stop */\n end() {\n this.unpipe()\n if (this.opts.end) this.dest.end()\n }\n}\n\n/**\n * Internal class representing a pipe to a destination stream where\n * errors are proxied.\n *\n * @internal\n */\nclass PipeProxyErrors<T> extends Pipe<T> {\n unpipe() {\n this.src.removeListener('error', this.proxyErrors)\n super.unpipe()\n }\n constructor(\n src: Minipass<T>,\n dest: Minipass.Writable,\n opts: PipeOptions\n ) {\n super(src, dest, opts)\n this.proxyErrors = (er: Error) => this.dest.emit('error', er)\n src.on('error', this.proxyErrors)\n }\n}\n\nexport namespace Minipass {\n /**\n * Encoding used to create a stream that outputs strings rather than\n * Buffer objects.\n */\n export type Encoding = BufferEncoding | 'buffer' | null\n\n /**\n * Any stream that Minipass can pipe into\n */\n export type Writable =\n | Minipass<any, any, any>\n | NodeJS.WriteStream\n | (NodeJS.WriteStream & { fd: number })\n | (EventEmitter & {\n end(): any\n write(chunk: any, ...args: any[]): any\n })\n\n /**\n * Any stream that can be read from\n */\n export type Readable =\n | Minipass<any, any, any>\n | NodeJS.ReadStream\n | (NodeJS.ReadStream & { fd: number })\n | (EventEmitter & {\n pause(): any\n resume(): any\n pipe(...destArgs: any[]): any\n })\n\n /**\n * Utility type that can be iterated sync or async\n */\n export type DualIterable<T> = Iterable<T> & AsyncIterable<T>\n\n type EventArguments = Record<string | symbol, unknown[]>\n\n /**\n * The listing of events that a Minipass class can emit.\n * Extend this when extending the Minipass class, and pass as\n * the third template argument. The key is the name of the event,\n * and the value is the argument list.\n *\n * Any undeclared events will still be allowed, but the handler will get\n * arguments as `unknown[]`.\n */\n export interface Events<RType extends any = Buffer>\n extends EventArguments {\n readable: []\n data: [chunk: RType]\n error: [er: unknown]\n abort: [reason: unknown]\n drain: []\n resume: []\n end: []\n finish: []\n prefinish: []\n close: []\n [DESTROYED]: [er?: unknown]\n [ERROR]: [er: unknown]\n }\n\n /**\n * String or buffer-like data that can be joined and sliced\n */\n export type ContiguousData =\n | Buffer\n | ArrayBufferLike\n | ArrayBufferView\n | string\n export type BufferOrString = Buffer | string\n\n /**\n * Options passed to the Minipass constructor.\n */\n export type SharedOptions = {\n /**\n * Defer all data emission and other events until the end of the\n * current tick, similar to Node core streams\n */\n async?: boolean\n /**\n * A signal which will abort the stream\n */\n signal?: AbortSignal\n /**\n * Output string encoding. Set to `null` or `'buffer'` (or omit) to\n * emit Buffer objects rather than strings.\n *\n * Conflicts with `objectMode`\n */\n encoding?: BufferEncoding | null | 'buffer'\n /**\n * Output data exactly as it was written, supporting non-buffer/string\n * data (such as arbitrary objects, falsey values, etc.)\n *\n * Conflicts with `encoding`\n */\n objectMode?: boolean\n }\n\n /**\n * Options for a string encoded output\n */\n export type EncodingOptions = SharedOptions & {\n encoding: BufferEncoding\n objectMode?: false\n }\n\n /**\n * Options for contiguous data buffer output\n */\n export type BufferOptions = SharedOptions & {\n encoding?: null | 'buffer'\n objectMode?: false\n }\n\n /**\n * Options for objectMode arbitrary output\n */\n export type ObjectModeOptions = SharedOptions & {\n objectMode: true\n encoding?: null\n }\n\n /**\n * Utility type to determine allowed options based on read type\n */\n export type Options<T> =\n | ObjectModeOptions\n | (T extends string\n ? EncodingOptions\n : T extends Buffer\n ? BufferOptions\n : SharedOptions)\n}\n\nconst isObjectModeOptions = (\n o: Minipass.SharedOptions\n): o is Minipass.ObjectModeOptions => !!o.objectMode\n\nconst isEncodingOptions = (\n o: Minipass.SharedOptions\n): o is Minipass.EncodingOptions =>\n !o.objectMode && !!o.encoding && o.encoding !== 'buffer'\n\n/**\n * Main export, the Minipass class\n *\n * `RType` is the type of data emitted, defaults to Buffer\n *\n * `WType` is the type of data to be written, if RType is buffer or string,\n * then any {@link Minipass.ContiguousData} is allowed.\n *\n * `Events` is the set of event handler signatures that this object\n * will emit, see {@link Minipass.Events}\n */\nexport class Minipass<\n RType extends unknown = Buffer,\n WType extends unknown = RType extends Minipass.BufferOrString\n ? Minipass.ContiguousData\n : RType,\n Events extends Minipass.Events<RType> = Minipass.Events<RType>\n >\n extends EventEmitter\n implements Minipass.DualIterable<RType>\n{\n [FLOWING]: boolean = false;\n [PAUSED]: boolean = false;\n [PIPES]: Pipe<RType>[] = [];\n [BUFFER]: RType[] = [];\n [OBJECTMODE]: boolean;\n [ENCODING]: BufferEncoding | null;\n [ASYNC]: boolean;\n [DECODER]: SD | null;\n [EOF]: boolean = false;\n [EMITTED_END]: boolean = false;\n [EMITTING_END]: boolean = false;\n [CLOSED]: boolean = false;\n [EMITTED_ERROR]: unknown = null;\n [BUFFERLENGTH]: number = 0;\n [DESTROYED]: boolean = false;\n [SIGNAL]?: AbortSignal;\n [ABORTED]: boolean = false;\n [DATALISTENERS]: number = 0;\n [DISCARDED]: boolean = false\n\n /**\n * true if the stream can be written\n */\n writable: boolean = true\n /**\n * true if the stream can be read\n */\n readable: boolean = true\n\n /**\n * If `RType` is Buffer, then options do not need to be provided.\n * Otherwise, an options object must be provided to specify either\n * {@link Minipass.SharedOptions.objectMode} or\n * {@link Minipass.SharedOptions.encoding}, as appropriate.\n */\n constructor(\n ...args:\n | [Minipass.ObjectModeOptions]\n | (RType extends Buffer\n ? [] | [Minipass.Options<RType>]\n : [Minipass.Options<RType>])\n ) {\n const options: Minipass.Options<RType> = (args[0] ||\n {}) as Minipass.Options<RType>\n super()\n if (options.objectMode && typeof options.encoding === 'string') {\n throw new TypeError(\n 'Encoding and objectMode may not be used together'\n )\n }\n if (isObjectModeOptions(options)) {\n this[OBJECTMODE] = true\n this[ENCODING] = null\n } else if (isEncodingOptions(options)) {\n this[ENCODING] = options.encoding\n this[OBJECTMODE] = false\n } else {\n this[OBJECTMODE] = false\n this[ENCODING] = null\n }\n this[ASYNC] = !!options.async\n this[DECODER] = this[ENCODING]\n ? (new StringDecoder(this[ENCODING]) as SD)\n : null\n\n //@ts-ignore - private option for debugging and testing\n if (options && options.debugExposeBuffer === true) {\n Object.defineProperty(this, 'buffer', { get: () => this[BUFFER] })\n }\n //@ts-ignore - private option for debugging and testing\n if (options && options.debugExposePipes === true) {\n Object.defineProperty(this, 'pipes', { get: () => this[PIPES] })\n }\n\n const { signal } = options\n if (signal) {\n this[SIGNAL] = signal\n if (signal.aborted) {\n this[ABORT]()\n } else {\n signal.addEventListener('abort', () => this[ABORT]())\n }\n }\n }\n\n /**\n * The amount of data stored in the buffer waiting to be read.\n *\n * For Buffer strings, this will be the total byte length.\n * For string encoding streams, this will be the string character length,\n * according to JavaScript's `string.length` logic.\n * For objectMode streams, this is a count of the items waiting to be\n * emitted.\n */\n get bufferLength() {\n return this[BUFFERLENGTH]\n }\n\n /**\n * The `BufferEncoding` currently in use, or `null`\n */\n get encoding() {\n return this[ENCODING]\n }\n\n /**\n * @deprecated - This is a read only property\n */\n set encoding(_enc) {\n throw new Error('Encoding must be set at instantiation time')\n }\n\n /**\n * @deprecated - Encoding may only be set at instantiation time\n */\n setEncoding(_enc: Minipass.Encoding) {\n throw new Error('Encoding must be set at instantiation time')\n }\n\n /**\n * True if this is an objectMode stream\n */\n get objectMode() {\n return this[OBJECTMODE]\n }\n\n /**\n * @deprecated - This is a read-only property\n */\n set objectMode(_om) {\n throw new Error('objectMode must be set at instantiation time')\n }\n\n /**\n * true if this is an async stream\n */\n get ['async'](): boolean {\n return this[ASYNC]\n }\n /**\n * Set to true to make this stream async.\n *\n * Once set, it cannot be unset, as this would potentially cause incorrect\n * behavior. Ie, a sync stream can be made async, but an async stream\n * cannot be safely made sync.\n */\n set ['async'](a: boolean) {\n this[ASYNC] = this[ASYNC] || !!a\n }\n\n // drop everything and get out of the flow completely\n [ABORT]() {\n this[ABORTED] = true\n this.emit('abort', this[SIGNAL]?.reason)\n this.destroy(this[SIGNAL]?.reason)\n }\n\n /**\n * True if the stream has been aborted.\n */\n get aborted() {\n return this[ABORTED]\n }\n /**\n * No-op setter. Stream aborted status is set via the AbortSignal provided\n * in the constructor options.\n */\n set aborted(_) {}\n\n /**\n * Write data into the stream\n *\n * If the chunk written is a string, and encoding is not specified, then\n * `utf8` will be assumed. If the stream encoding matches the encoding of\n * a written string, and the state of the string decoder allows it, then\n * the string will be passed through to either the output or the internal\n * buffer without any processing. Otherwise, it will be turned into a\n * Buffer object for processing into the desired encoding.\n *\n * If provided, `cb` function is called immediately before return for\n * sync streams, or on next tick for async streams, because for this\n * base class, a chunk is considered \"processed\" once it is accepted\n * and either emitted or buffered. That is, the callback does not indicate\n * that the chunk has been eventually emitted, though of course child\n * classes can override this function to do whatever processing is required\n * and call `super.write(...)` only once processing is completed.\n */\n write(chunk: WType, cb?: () => void): boolean\n write(\n chunk: WType,\n encoding?: Minipass.Encoding,\n cb?: () => void\n ): boolean\n write(\n chunk: WType,\n encoding?: Minipass.Encoding | (() => void),\n cb?: () => void\n ): boolean {\n if (this[ABORTED]) return false\n if (this[EOF]) throw new Error('write after end')\n\n if (this[DESTROYED]) {\n this.emit(\n 'error',\n Object.assign(\n new Error('Cannot call write after a stream was destroyed'),\n { code: 'ERR_STREAM_DESTROYED' }\n )\n )\n return true\n }\n\n if (typeof encoding === 'function') {\n cb = encoding\n encoding = 'utf8'\n }\n\n if (!encoding) encoding = 'utf8'\n\n const fn = this[ASYNC] ? defer : nodefer\n\n // convert array buffers and typed array views into buffers\n // at some point in the future, we may want to do the opposite!\n // leave strings and buffers as-is\n // anything is only allowed if in object mode, so throw\n if (!this[OBJECTMODE] && !Buffer.isBuffer(chunk)) {\n if (isArrayBufferView(chunk)) {\n //@ts-ignore - sinful unsafe type changing\n chunk = Buffer.from(\n chunk.buffer,\n chunk.byteOffset,\n chunk.byteLength\n )\n } else if (isArrayBufferLike(chunk)) {\n //@ts-ignore - sinful unsafe type changing\n chunk = Buffer.from(chunk)\n } else if (typeof chunk !== 'string') {\n throw new Error(\n 'Non-contiguous data written to non-objectMode stream'\n )\n }\n }\n\n // handle object mode up front, since it's simpler\n // this yields better performance, fewer checks later.\n if (this[OBJECTMODE]) {\n // maybe impossible?\n /* c8 ignore start */\n if (this[FLOWING] && this[BUFFERLENGTH] !== 0) this[FLUSH](true)\n /* c8 ignore stop */\n\n if (this[FLOWING]) this.emit('data', chunk as unknown as RType)\n else this[BUFFERPUSH](chunk as unknown as RType)\n\n if (this[BUFFERLENGTH] !== 0) this.emit('readable')\n\n if (cb) fn(cb)\n\n return this[FLOWING]\n }\n\n // at this point the chunk is a buffer or string\n // don't buffer it up or send it to the decoder\n if (!(chunk as Minipass.BufferOrString).length) {\n if (this[BUFFERLENGTH] !== 0) this.emit('readable')\n if (cb) fn(cb)\n return this[FLOWING]\n }\n\n // fast-path writing strings of same encoding to a stream with\n // an empty buffer, skipping the buffer/decoder dance\n if (\n typeof chunk === 'string' &&\n // unless it is a string already ready for us to use\n !(encoding === this[ENCODING] && !this[DECODER]?.lastNeed)\n ) {\n //@ts-ignore - sinful unsafe type change\n chunk = Buffer.from(chunk, encoding)\n }\n\n if (Buffer.isBuffer(chunk) && this[ENCODING]) {\n //@ts-ignore - sinful unsafe type change\n chunk = this[DECODER].write(chunk)\n }\n\n // Note: flushing CAN potentially switch us into not-flowing mode\n if (this[FLOWING] && this[BUFFERLENGTH] !== 0) this[FLUSH](true)\n\n if (this[FLOWING]) this.emit('data', chunk as unknown as RType)\n else this[BUFFERPUSH](chunk as unknown as RType)\n\n if (this[BUFFERLENGTH] !== 0) this.emit('readable')\n\n if (cb) fn(cb)\n\n return this[FLOWING]\n }\n\n /**\n * Low-level explicit read method.\n *\n * In objectMode, the argument is ignored, and one item is returned if\n * available.\n *\n * `n` is the number of bytes (or in the case of encoding streams,\n * characters) to consume. If `n` is not provided, then the entire buffer\n * is returned, or `null` is returned if no data is available.\n *\n * If `n` is greater that the amount of data in the internal buffer,\n * then `null` is returned.\n */\n read(n?: number | null): RType | null {\n if (this[DESTROYED]) return null\n this[DISCARDED] = false\n\n if (\n this[BUFFERLENGTH] === 0 ||\n n === 0 ||\n (n && n > this[BUFFERLENGTH])\n ) {\n this[MAYBE_EMIT_END]()\n return null\n }\n\n if (this[OBJECTMODE]) n = null\n\n if (this[BUFFER].length > 1 && !this[OBJECTMODE]) {\n // not object mode, so if we have an encoding, then RType is string\n // otherwise, must be Buffer\n this[BUFFER] = [\n (this[ENCODING]\n ? this[BUFFER].join('')\n : Buffer.concat(\n this[BUFFER] as Buffer[],\n this[BUFFERLENGTH]\n )) as RType,\n ]\n }\n\n const ret = this[READ](n || null, this[BUFFER][0] as RType)\n this[MAYBE_EMIT_END]()\n return ret\n }\n\n [READ](n: number | null, chunk: RType) {\n if (this[OBJECTMODE]) this[BUFFERSHIFT]()\n else {\n const c = chunk as Minipass.BufferOrString\n if (n === c.length || n === null) this[BUFFERSHIFT]()\n else if (typeof c === 'string') {\n this[BUFFER][0] = c.slice(n) as RType\n chunk = c.slice(0, n) as RType\n this[BUFFERLENGTH] -= n\n } else {\n this[BUFFER][0] = c.subarray(n) as RType\n chunk = c.subarray(0, n) as RType\n this[BUFFERLENGTH] -= n\n }\n }\n\n this.emit('data', chunk)\n\n if (!this[BUFFER].length && !this[EOF]) this.emit('drain')\n\n return chunk\n }\n\n /**\n * End the stream, optionally providing a final write.\n *\n * See {@link Minipass#write} for argument descriptions\n */\n end(cb?: () => void): this\n end(chunk: WType, cb?: () => void): this\n end(chunk: WType, encoding?: Minipass.Encoding, cb?: () => void): this\n end(\n chunk?: WType | (() => void),\n encoding?: Minipass.Encoding | (() => void),\n cb?: () => void\n ): this {\n if (typeof chunk === 'function') {\n cb = chunk as () => void\n chunk = undefined\n }\n if (typeof encoding === 'function') {\n cb = encoding\n encoding = 'utf8'\n }\n if (chunk !== undefined) this.write(chunk, encoding)\n if (cb) this.once('end', cb)\n this[EOF] = true\n this.writable = false\n\n // if we haven't written anything, then go ahead and emit,\n // even if we're not reading.\n // we'll re-emit if a new 'end' listener is added anyway.\n // This makes MP more suitable to write-only use cases.\n if (this[FLOWING] || !this[PAUSED]) this[MAYBE_EMIT_END]()\n return this\n }\n\n // don't let the internal resume be overwritten\n [RESUME]() {\n if (this[DESTROYED]) return\n\n if (!this[DATALISTENERS] && !this[PIPES].length) {\n this[DISCARDED] = true\n }\n this[PAUSED] = false\n this[FLOWING] = true\n this.emit('resume')\n if (this[BUFFER].length) this[FLUSH]()\n else if (this[EOF]) this[MAYBE_EMIT_END]()\n else this.emit('drain')\n }\n\n /**\n * Resume the stream if it is currently in a paused state\n *\n * If called when there are no pipe destinations or `data` event listeners,\n * this will place the stream in a \"discarded\" state, where all data will\n * be thrown away. The discarded state is removed if a pipe destination or\n * data handler is added, if pause() is called, or if any synchronous or\n * asynchronous iteration is started.\n */\n resume() {\n return this[RESUME]()\n }\n\n /**\n * Pause the stream\n */\n pause() {\n this[FLOWING] = false\n this[PAUSED] = true\n this[DISCARDED] = false\n }\n\n /**\n * true if the stream has been forcibly destroyed\n */\n get destroyed() {\n return this[DESTROYED]\n }\n\n /**\n * true if the stream is currently in a flowing state, meaning that\n * any writes will be immediately emitted.\n */\n get flowing() {\n return this[FLOWING]\n }\n\n /**\n * true if the stream is currently in a paused state\n */\n get paused() {\n return this[PAUSED]\n }\n\n [BUFFERPUSH](chunk: RType) {\n if (this[OBJECTMODE]) this[BUFFERLENGTH] += 1\n else this[BUFFERLENGTH] += (chunk as Minipass.BufferOrString).length\n this[BUFFER].push(chunk)\n }\n\n [BUFFERSHIFT](): RType {\n if (this[OBJECTMODE]) this[BUFFERLENGTH] -= 1\n else\n this[BUFFERLENGTH] -= (\n this[BUFFER][0] as Minipass.BufferOrString\n ).length\n return this[BUFFER].shift() as RType\n }\n\n [FLUSH](noDrain: boolean = false) {\n do {} while (\n this[FLUSHCHUNK](this[BUFFERSHIFT]()) &&\n this[BUFFER].length\n )\n\n if (!noDrain && !this[BUFFER].length && !this[EOF]) this.emit('drain')\n }\n\n [FLUSHCHUNK](chunk: RType) {\n this.emit('data', chunk)\n return this[FLOWING]\n }\n\n /**\n * Pipe all data emitted by this stream into the destination provided.\n *\n * Triggers the flow of data.\n */\n pipe<W extends Minipass.Writable>(dest: W, opts?: PipeOptions): W {\n if (this[DESTROYED]) return dest\n this[DISCARDED] = false\n\n const ended = this[EMITTED_END]\n opts = opts || {}\n if (dest === proc.stdout || dest === proc.stderr) opts.end = false\n else opts.end = opts.end !== false\n opts.proxyErrors = !!opts.proxyErrors\n\n // piping an ended stream ends immediately\n if (ended) {\n if (opts.end) dest.end()\n } else {\n // \"as\" here just ignores the WType, which pipes don't care about,\n // since they're only consuming from us, and writing to the dest\n this[PIPES].push(\n !opts.proxyErrors\n ? new Pipe<RType>(this as Minipass<RType>, dest, opts)\n : new PipeProxyErrors<RType>(this as Minipass<RType>, dest, opts)\n )\n if (this[ASYNC]) defer(() => this[RESUME]())\n else this[RESUME]()\n }\n\n return dest\n }\n\n /**\n * Fully unhook a piped destination stream.\n *\n * If the destination stream was the only consumer of this stream (ie,\n * there are no other piped destinations or `'data'` event listeners)\n * then the flow of data will stop until there is another consumer or\n * {@link Minipass#resume} is explicitly called.\n */\n unpipe<W extends Minipass.Writable>(dest: W) {\n const p = this[PIPES].find(p => p.dest === dest)\n if (p) {\n if (this[PIPES].length === 1) {\n if (this[FLOWING] && this[DATALISTENERS] === 0) {\n this[FLOWING] = false\n }\n this[PIPES] = []\n } else this[PIPES].splice(this[PIPES].indexOf(p), 1)\n p.unpipe()\n }\n }\n\n /**\n * Alias for {@link Minipass#on}\n */\n addListener<Event extends keyof Events>(\n ev: Event,\n handler: (...args: Events[Event]) => any\n ): this {\n return this.on(ev, handler)\n }\n\n /**\n * Mostly identical to `EventEmitter.on`, with the following\n * behavior differences to prevent data loss and unnecessary hangs:\n *\n * - Adding a 'data' event handler will trigger the flow of data\n *\n * - Adding a 'readable' event handler when there is data waiting to be read\n * will cause 'readable' to be emitted immediately.\n *\n * - Adding an 'endish' event handler ('end', 'finish', etc.) which has\n * already passed will cause the event to be emitted immediately and all\n * handlers removed.\n *\n * - Adding an 'error' event handler after an error has been emitted will\n * cause the event to be re-emitted immediately with the error previously\n * raised.\n */\n on<Event extends keyof Events>(\n ev: Event,\n handler: (...args: Events[Event]) => any\n ): this {\n const ret = super.on(\n ev as string | symbol,\n handler as (...a: any[]) => any\n )\n if (ev === 'data') {\n this[DISCARDED] = false\n this[DATALISTENERS]++\n if (!this[PIPES].length && !this[FLOWING]) {\n this[RESUME]()\n }\n } else if (ev === 'readable' && this[BUFFERLENGTH] !== 0) {\n super.emit('readable')\n } else if (isEndish(ev) && this[EMITTED_END]) {\n super.emit(ev)\n this.removeAllListeners(ev)\n } else if (ev === 'error' && this[EMITTED_ERROR]) {\n const h = handler as (...a: Events['error']) => any\n if (this[ASYNC]) defer(() => h.call(this, this[EMITTED_ERROR]))\n else h.call(this, this[EMITTED_ERROR])\n }\n return ret\n }\n\n /**\n * Alias for {@link Minipass#off}\n */\n removeListener<Event extends keyof Events>(\n ev: Event,\n handler: (...args: Events[Event]) => any\n ) {\n return this.off(ev, handler)\n }\n\n /**\n * Mostly identical to `EventEmitter.off`\n *\n * If a 'data' event handler is removed, and it was the last consumer\n * (ie, there are no pipe destinations or other 'data' event listeners),\n * then the flow of data will stop until there is another consumer or\n * {@link Minipass#resume} is explicitly called.\n */\n off<Event extends keyof Events>(\n ev: Event,\n handler: (...args: Events[Event]) => any\n ) {\n const ret = super.off(\n ev as string | symbol,\n handler as (...a: any[]) => any\n )\n // if we previously had listeners, and now we don't, and we don't\n // have any pipes, then stop the flow, unless it's been explicitly\n // put in a discarded flowing state via stream.resume().\n if (ev === 'data') {\n this[DATALISTENERS] = this.listeners('data').length\n if (\n this[DATALISTENERS] === 0 &&\n !this[DISCARDED] &&\n !this[PIPES].length\n ) {\n this[FLOWING] = false\n }\n }\n return ret\n }\n\n /**\n * Mostly identical to `EventEmitter.removeAllListeners`\n *\n * If all 'data' event handlers are removed, and they were the last consumer\n * (ie, there are no pipe destinations), then the flow of data will stop\n * until there is another consumer or {@link Minipass#resume} is explicitly\n * called.\n */\n removeAllListeners<Event extends keyof Events>(ev?: Event) {\n const ret = super.removeAllListeners(ev as string | symbol | undefined)\n if (ev === 'data' || ev === undefined) {\n this[DATALISTENERS] = 0\n if (!this[DISCARDED] && !this[PIPES].length) {\n this[FLOWING] = false\n }\n }\n return ret\n }\n\n /**\n * true if the 'end' event has been emitted\n */\n get emittedEnd() {\n return this[EMITTED_END]\n }\n\n [MAYBE_EMIT_END]() {\n if (\n !this[EMITTING_END] &&\n !this[EMITTED_END] &&\n !this[DESTROYED] &&\n this[BUFFER].length === 0 &&\n this[EOF]\n ) {\n this[EMITTING_END] = true\n this.emit('end')\n this.emit('prefinish')\n this.emit('finish')\n if (this[CLOSED]) this.emit('close')\n this[EMITTING_END] = false\n }\n }\n\n /**\n * Mostly identical to `EventEmitter.emit`, with the following\n * behavior differences to prevent data loss and unnecessary hangs:\n *\n * If the stream has been destroyed, and the event is something other\n * than 'close' or 'error', then `false` is returned and no handlers\n * are called.\n *\n * If the event is 'end', and has already been emitted, then the event\n * is ignored. If the stream is in a paused or non-flowing state, then\n * the event will be deferred until data flow resumes. If the stream is\n * async, then handlers will be called on the next tick rather than\n * immediately.\n *\n * If the event is 'close', and 'end' has not yet been emitted, then\n * the event will be deferred until after 'end' is emitted.\n *\n * If the event is 'error', and an AbortSignal was provided for the stream,\n * and there are no listeners, then the event is ignored, matching the\n * behavior of node core streams in the presense of an AbortSignal.\n *\n * If the event is 'finish' or 'prefinish', then all listeners will be\n * removed after emitting the event, to prevent double-firing.\n */\n emit<Event extends keyof Events>(\n ev: Event,\n ...args: Events[Event]\n ): boolean {\n const data = args[0]\n // error and close are only events allowed after calling destroy()\n if (\n ev !== 'error' &&\n ev !== 'close' &&\n ev !== DESTROYED &&\n this[DESTROYED]\n ) {\n return false\n } else if (ev === 'data') {\n return !this[OBJECTMODE] && !data\n ? false\n : this[ASYNC]\n ? (defer(() => this[EMITDATA](data as RType)), true)\n : this[EMITDATA](data as RType)\n } else if (ev === 'end') {\n return this[EMITEND]()\n } else if (ev === 'close') {\n this[CLOSED] = true\n // don't emit close before 'end' and 'finish'\n if (!this[EMITTED_END] && !this[DESTROYED]) return false\n const ret = super.emit('close')\n this.removeAllListeners('close')\n return ret\n } else if (ev === 'error') {\n this[EMITTED_ERROR] = data\n super.emit(ERROR, data)\n const ret =\n !this[SIGNAL] || this.listeners('error').length\n ? super.emit('error', data)\n : false\n this[MAYBE_EMIT_END]()\n return ret\n } else if (ev === 'resume') {\n const ret = super.emit('resume')\n this[MAYBE_EMIT_END]()\n return ret\n } else if (ev === 'finish' || ev === 'prefinish') {\n const ret = super.emit(ev)\n this.removeAllListeners(ev)\n return ret\n }\n\n // Some other unknown event\n const ret = super.emit(ev as string, ...args)\n this[MAYBE_EMIT_END]()\n return ret\n }\n\n [EMITDATA](data: RType) {\n for (const p of this[PIPES]) {\n if (p.dest.write(data as RType) === false) this.pause()\n }\n const ret = this[DISCARDED] ? false : super.emit('data', data)\n this[MAYBE_EMIT_END]()\n return ret\n }\n\n [EMITEND]() {\n if (this[EMITTED_END]) return false\n\n this[EMITTED_END] = true\n this.readable = false\n return this[ASYNC]\n ? (defer(() => this[EMITEND2]()), true)\n : this[EMITEND2]()\n }\n\n [EMITEND2]() {\n if (this[DECODER]) {\n const data = this[DECODER].end()\n if (data) {\n for (const p of this[PIPES]) {\n p.dest.write(data as RType)\n }\n if (!this[DISCARDED]) super.emit('data', data)\n }\n }\n\n for (const p of this[PIPES]) {\n p.end()\n }\n const ret = super.emit('end')\n this.removeAllListeners('end')\n return ret\n }\n\n /**\n * Return a Promise that resolves to an array of all emitted data once\n * the stream ends.\n */\n async collect(): Promise<RType[] & { dataLength: number }> {\n const buf: RType[] & { dataLength: number } = Object.assign([], {\n dataLength: 0,\n })\n if (!this[OBJECTMODE]) buf.dataLength = 0\n // set the promise first, in case an error is raised\n // by triggering the flow here.\n const p = this.promise()\n this.on('data', c => {\n buf.push(c)\n if (!this[OBJECTMODE])\n buf.dataLength += (c as Minipass.BufferOrString).length\n })\n await p\n return buf\n }\n\n /**\n * Return a Promise that resolves to the concatenation of all emitted data\n * once the stream ends.\n *\n * Not allowed on objectMode streams.\n */\n async concat(): Promise<RType> {\n if (this[OBJECTMODE]) {\n throw new Error('cannot concat in objectMode')\n }\n const buf = await this.collect()\n return (\n this[ENCODING]\n ? buf.join('')\n : Buffer.concat(buf as Buffer[], buf.dataLength)\n ) as RType\n }\n\n /**\n * Return a void Promise that resolves once the stream ends.\n */\n async promise(): Promise<void> {\n return new Promise<void>((resolve, reject) => {\n this.on(DESTROYED, () => reject(new Error('stream destroyed')))\n this.on('error', er => reject(er))\n this.on('end', () => resolve())\n })\n }\n\n /**\n * Asynchronous `for await of` iteration.\n *\n * This will continue emitting all chunks until the stream terminates.\n */\n [Symbol.asyncIterator](): AsyncGenerator<RType, void, void> {\n // set this up front, in case the consumer doesn't call next()\n // right away.\n this[DISCARDED] = false\n let stopped = false\n const stop = async (): Promise<IteratorReturnResult<void>> => {\n this.pause()\n stopped = true\n return { value: undefined, done: true }\n }\n const next = (): Promise<IteratorResult<RType, void>> => {\n if (stopped) return stop()\n const res = this.read()\n if (res !== null) return Promise.resolve({ done: false, value: res })\n\n if (this[EOF]) return stop()\n\n let resolve!: (res: IteratorResult<RType>) => void\n let reject!: (er: unknown) => void\n const onerr = (er: unknown) => {\n this.off('data', ondata)\n this.off('end', onend)\n this.off(DESTROYED, ondestroy)\n stop()\n reject(er)\n }\n const ondata = (value: RType) => {\n this.off('error', onerr)\n this.off('end', onend)\n this.off(DESTROYED, ondestroy)\n this.pause()\n resolve({ value, done: !!this[EOF] })\n }\n const onend = () => {\n this.off('error', onerr)\n this.off('data', ondata)\n this.off(DESTROYED, ondestroy)\n stop()\n resolve({ done: true, value: undefined })\n }\n const ondestroy = () => onerr(new Error('stream destroyed'))\n return new Promise<IteratorResult<RType>>((res, rej) => {\n reject = rej\n resolve = res\n this.once(DESTROYED, ondestroy)\n this.once('error', onerr)\n this.once('end', onend)\n this.once('data', ondata)\n })\n }\n\n return {\n next,\n throw: stop,\n return: stop,\n [Symbol.asyncIterator]() {\n return this\n },\n [Symbol.asyncDispose]: async () => {},\n }\n }\n\n /**\n * Synchronous `for of` iteration.\n *\n * The iteration will terminate when the internal buffer runs out, even\n * if the stream has not yet terminated.\n */\n [Symbol.iterator](): Generator<RType, void, void> {\n // set this up front, in case the consumer doesn't call next()\n // right away.\n this[DISCARDED] = false\n let stopped = false\n const stop = (): IteratorReturnResult<void> => {\n this.pause()\n this.off(ERROR, stop)\n this.off(DESTROYED, stop)\n this.off('end', stop)\n stopped = true\n return { done: true, value: undefined }\n }\n\n const next = (): IteratorResult<RType, void> => {\n if (stopped) return stop()\n const value = this.read()\n return value === null ? stop() : { done: false, value }\n }\n\n this.once('end', stop)\n this.once(ERROR, stop)\n this.once(DESTROYED, stop)\n\n return {\n next,\n throw: stop,\n return: stop,\n [Symbol.iterator]() {\n return this\n },\n [Symbol.dispose]: () => {},\n }\n }\n\n /**\n * Destroy a stream, preventing it from being used for any further purpose.\n *\n * If the stream has a `close()` method, then it will be called on\n * destruction.\n *\n * After destruction, any attempt to write data, read data, or emit most\n * events will be ignored.\n *\n * If an error argument is provided, then it will be emitted in an\n * 'error' event.\n */\n destroy(er?: unknown) {\n if (this[DESTROYED]) {\n if (er) this.emit('error', er)\n else this.emit(DESTROYED)\n return this\n }\n\n this[DESTROYED] = true\n this[DISCARDED] = true\n\n // throw away all buffered data, it's never coming out\n this[BUFFER].length = 0\n this[BUFFERLENGTH] = 0\n\n const wc = this as Minipass<RType, WType, Events> & {\n close?: () => void\n }\n if (typeof wc.close === 'function' && !this[CLOSED]) wc.close()\n\n if (er) this.emit('error', er)\n // if no error to emit, still reject pending promises\n else this.emit(DESTROYED)\n\n return this\n }\n\n /**\n * Alias for {@link isStream}\n *\n * Former export location, maintained for backwards compatibility.\n *\n * @deprecated\n */\n static get isStream() {\n return isStream\n }\n}\n"]}