@openclaw/twitch 2026.7.2-beta.4 → 2026.7.2-beta.7

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 (1807) hide show
  1. package/dist/api.js +1 -1
  2. package/dist/channel-plugin-api.js +1 -1
  3. package/dist/{monitor-CQidEQhp.js → monitor-BoEAKAWR.js} +15 -51
  4. package/dist/{plugin-B31l1oaD.js → plugin-BFfcWmGY.js} +3 -22
  5. package/dist/setup-plugin-api.js +1 -1
  6. package/dist/{setup-surface-CVAaMigx.js → setup-surface-BzftVkdX.js} +70 -91
  7. package/package.json +9 -12
  8. package/node_modules/@d-fischer/cache-decorators/LICENSE +0 -21
  9. package/node_modules/@d-fischer/cache-decorators/es/decorators/Cacheable.mjs +0 -63
  10. package/node_modules/@d-fischer/cache-decorators/es/decorators/Cached.mjs +0 -19
  11. package/node_modules/@d-fischer/cache-decorators/es/decorators/CachedGetter.mjs +0 -20
  12. package/node_modules/@d-fischer/cache-decorators/es/decorators/ClearsCache.mjs +0 -12
  13. package/node_modules/@d-fischer/cache-decorators/es/index.mjs +0 -5
  14. package/node_modules/@d-fischer/cache-decorators/es/types/CacheEntry.mjs +0 -1
  15. package/node_modules/@d-fischer/cache-decorators/es/utils/createCacheKey.mjs +0 -27
  16. package/node_modules/@d-fischer/cache-decorators/lib/decorators/Cacheable.d.ts +0 -7
  17. package/node_modules/@d-fischer/cache-decorators/lib/decorators/Cacheable.js +0 -67
  18. package/node_modules/@d-fischer/cache-decorators/lib/decorators/Cached.d.ts +0 -1
  19. package/node_modules/@d-fischer/cache-decorators/lib/decorators/Cached.js +0 -23
  20. package/node_modules/@d-fischer/cache-decorators/lib/decorators/CachedGetter.d.ts +0 -1
  21. package/node_modules/@d-fischer/cache-decorators/lib/decorators/CachedGetter.js +0 -24
  22. package/node_modules/@d-fischer/cache-decorators/lib/decorators/ClearsCache.d.ts +0 -1
  23. package/node_modules/@d-fischer/cache-decorators/lib/decorators/ClearsCache.js +0 -16
  24. package/node_modules/@d-fischer/cache-decorators/lib/index.d.ts +0 -6
  25. package/node_modules/@d-fischer/cache-decorators/lib/index.js +0 -13
  26. package/node_modules/@d-fischer/cache-decorators/lib/types/CacheEntry.d.ts +0 -4
  27. package/node_modules/@d-fischer/cache-decorators/lib/types/CacheEntry.js +0 -2
  28. package/node_modules/@d-fischer/cache-decorators/lib/utils/createCacheKey.d.ts +0 -1
  29. package/node_modules/@d-fischer/cache-decorators/lib/utils/createCacheKey.js +0 -31
  30. package/node_modules/@d-fischer/cache-decorators/package.json +0 -57
  31. package/node_modules/@d-fischer/connection/LICENSE +0 -21
  32. package/node_modules/@d-fischer/connection/es/AbstractConnection.mjs +0 -52
  33. package/node_modules/@d-fischer/connection/es/Connection.mjs +0 -1
  34. package/node_modules/@d-fischer/connection/es/DirectConnection-stub.mjs +0 -5
  35. package/node_modules/@d-fischer/connection/es/DirectConnection.mjs +0 -85
  36. package/node_modules/@d-fischer/connection/es/PersistentConnection.mjs +0 -136
  37. package/node_modules/@d-fischer/connection/es/WebSocketConnection.mjs +0 -88
  38. package/node_modules/@d-fischer/connection/es/browser.mjs +0 -4
  39. package/node_modules/@d-fischer/connection/es/index.mjs +0 -4
  40. package/node_modules/@d-fischer/connection/lib/AbstractConnection.d.ts +0 -27
  41. package/node_modules/@d-fischer/connection/lib/AbstractConnection.js +0 -56
  42. package/node_modules/@d-fischer/connection/lib/Connection.d.ts +0 -26
  43. package/node_modules/@d-fischer/connection/lib/Connection.js +0 -2
  44. package/node_modules/@d-fischer/connection/lib/DirectConnection-stub.d.ts +0 -17
  45. package/node_modules/@d-fischer/connection/lib/DirectConnection-stub.js +0 -9
  46. package/node_modules/@d-fischer/connection/lib/DirectConnection.d.ts +0 -16
  47. package/node_modules/@d-fischer/connection/lib/DirectConnection.js +0 -89
  48. package/node_modules/@d-fischer/connection/lib/PersistentConnection.d.ts +0 -39
  49. package/node_modules/@d-fischer/connection/lib/PersistentConnection.js +0 -140
  50. package/node_modules/@d-fischer/connection/lib/WebSocketConnection.d.ts +0 -18
  51. package/node_modules/@d-fischer/connection/lib/WebSocketConnection.js +0 -92
  52. package/node_modules/@d-fischer/connection/lib/browser.d.ts +0 -8
  53. package/node_modules/@d-fischer/connection/lib/browser.js +0 -11
  54. package/node_modules/@d-fischer/connection/lib/index.d.ts +0 -8
  55. package/node_modules/@d-fischer/connection/lib/index.js +0 -11
  56. package/node_modules/@d-fischer/connection/package.json +0 -68
  57. package/node_modules/@d-fischer/deprecate/.idea/jsLibraryMappings.xml +0 -6
  58. package/node_modules/@d-fischer/deprecate/.idea/modules.xml +0 -8
  59. package/node_modules/@d-fischer/deprecate/.idea/node-deprecate.iml +0 -12
  60. package/node_modules/@d-fischer/deprecate/.idea/vcs.xml +0 -6
  61. package/node_modules/@d-fischer/deprecate/.idea/workspace.xml +0 -104
  62. package/node_modules/@d-fischer/deprecate/.travis.yml +0 -3
  63. package/node_modules/@d-fischer/deprecate/README.md +0 -50
  64. package/node_modules/@d-fischer/deprecate/index.d.ts +0 -33
  65. package/node_modules/@d-fischer/deprecate/index.js +0 -46
  66. package/node_modules/@d-fischer/deprecate/index.mjs +0 -3
  67. package/node_modules/@d-fischer/deprecate/package.json +0 -31
  68. package/node_modules/@d-fischer/deprecate/test/index.js +0 -64
  69. package/node_modules/@d-fischer/detect-node/LICENSE +0 -21
  70. package/node_modules/@d-fischer/detect-node/Readme.md +0 -30
  71. package/node_modules/@d-fischer/detect-node/browser.js +0 -2
  72. package/node_modules/@d-fischer/detect-node/index.d.ts +0 -1
  73. package/node_modules/@d-fischer/detect-node/index.esm.js +0 -2
  74. package/node_modules/@d-fischer/detect-node/index.js +0 -2
  75. package/node_modules/@d-fischer/detect-node/package.json +0 -25
  76. package/node_modules/@d-fischer/escape-string-regexp/index.d.ts +0 -18
  77. package/node_modules/@d-fischer/escape-string-regexp/index.js +0 -15
  78. package/node_modules/@d-fischer/escape-string-regexp/license +0 -9
  79. package/node_modules/@d-fischer/escape-string-regexp/package.json +0 -36
  80. package/node_modules/@d-fischer/escape-string-regexp/readme.md +0 -34
  81. package/node_modules/@d-fischer/isomorphic-ws/LICENSE +0 -21
  82. package/node_modules/@d-fischer/isomorphic-ws/README.md +0 -59
  83. package/node_modules/@d-fischer/isomorphic-ws/browser.js +0 -17
  84. package/node_modules/@d-fischer/isomorphic-ws/browser.mjs +0 -19
  85. package/node_modules/@d-fischer/isomorphic-ws/index.d.ts +0 -38
  86. package/node_modules/@d-fischer/isomorphic-ws/node.js +0 -6
  87. package/node_modules/@d-fischer/isomorphic-ws/node.mjs +0 -5
  88. package/node_modules/@d-fischer/isomorphic-ws/package.json +0 -51
  89. package/node_modules/@d-fischer/logger/LICENSE +0 -21
  90. package/node_modules/@d-fischer/logger/es/BaseLogger.mjs +0 -37
  91. package/node_modules/@d-fischer/logger/es/BrowserLogger.mjs +0 -22
  92. package/node_modules/@d-fischer/logger/es/CustomLoggerWrapper.mjs +0 -69
  93. package/node_modules/@d-fischer/logger/es/LogLevel.mjs +0 -42
  94. package/node_modules/@d-fischer/logger/es/Logger.mjs +0 -1
  95. package/node_modules/@d-fischer/logger/es/LoggerOptions.mjs +0 -1
  96. package/node_modules/@d-fischer/logger/es/NodeLogger.mjs +0 -105
  97. package/node_modules/@d-fischer/logger/es/createLogger.mjs +0 -13
  98. package/node_modules/@d-fischer/logger/es/getMinLogLevelFromEnv.mjs +0 -38
  99. package/node_modules/@d-fischer/logger/es/index.mjs +0 -2
  100. package/node_modules/@d-fischer/logger/lib/BaseLogger.d.ts +0 -18
  101. package/node_modules/@d-fischer/logger/lib/BaseLogger.js +0 -40
  102. package/node_modules/@d-fischer/logger/lib/BrowserLogger.d.ts +0 -5
  103. package/node_modules/@d-fischer/logger/lib/BrowserLogger.js +0 -25
  104. package/node_modules/@d-fischer/logger/lib/CustomLoggerWrapper.d.ts +0 -26
  105. package/node_modules/@d-fischer/logger/lib/CustomLoggerWrapper.js +0 -72
  106. package/node_modules/@d-fischer/logger/lib/LogLevel.d.ts +0 -13
  107. package/node_modules/@d-fischer/logger/lib/LogLevel.js +0 -47
  108. package/node_modules/@d-fischer/logger/lib/Logger.d.ts +0 -10
  109. package/node_modules/@d-fischer/logger/lib/Logger.js +0 -2
  110. package/node_modules/@d-fischer/logger/lib/LoggerOptions.d.ts +0 -10
  111. package/node_modules/@d-fischer/logger/lib/LoggerOptions.js +0 -2
  112. package/node_modules/@d-fischer/logger/lib/NodeLogger.d.ts +0 -11
  113. package/node_modules/@d-fischer/logger/lib/NodeLogger.js +0 -108
  114. package/node_modules/@d-fischer/logger/lib/createLogger.d.ts +0 -3
  115. package/node_modules/@d-fischer/logger/lib/createLogger.js +0 -17
  116. package/node_modules/@d-fischer/logger/lib/getMinLogLevelFromEnv.d.ts +0 -2
  117. package/node_modules/@d-fischer/logger/lib/getMinLogLevelFromEnv.js +0 -42
  118. package/node_modules/@d-fischer/logger/lib/index.d.ts +0 -5
  119. package/node_modules/@d-fischer/logger/lib/index.js +0 -7
  120. package/node_modules/@d-fischer/logger/package.json +0 -62
  121. package/node_modules/@d-fischer/rate-limiter/LICENSE +0 -21
  122. package/node_modules/@d-fischer/rate-limiter/es/QueueEntry.mjs +0 -1
  123. package/node_modules/@d-fischer/rate-limiter/es/RateLimiter.mjs +0 -1
  124. package/node_modules/@d-fischer/rate-limiter/es/RateLimiterStats.mjs +0 -1
  125. package/node_modules/@d-fischer/rate-limiter/es/errors/CustomError.mjs +0 -15
  126. package/node_modules/@d-fischer/rate-limiter/es/errors/RateLimitReachedError.mjs +0 -3
  127. package/node_modules/@d-fischer/rate-limiter/es/errors/RateLimiterDestroyedError.mjs +0 -3
  128. package/node_modules/@d-fischer/rate-limiter/es/errors/RetryAfterError.mjs +0 -10
  129. package/node_modules/@d-fischer/rate-limiter/es/index.mjs +0 -9
  130. package/node_modules/@d-fischer/rate-limiter/es/limiters/NullRateLimiter.mjs +0 -17
  131. package/node_modules/@d-fischer/rate-limiter/es/limiters/PartitionedRateLimiter.mjs +0 -52
  132. package/node_modules/@d-fischer/rate-limiter/es/limiters/PartitionedTimeBasedRateLimiter.mjs +0 -138
  133. package/node_modules/@d-fischer/rate-limiter/es/limiters/ResponseBasedRateLimiter.mjs +0 -159
  134. package/node_modules/@d-fischer/rate-limiter/es/limiters/TimeBasedRateLimiter.mjs +0 -117
  135. package/node_modules/@d-fischer/rate-limiter/es/limiters/TimedPassthruRateLimiter.mjs +0 -11
  136. package/node_modules/@d-fischer/rate-limiter/lib/QueueEntry.d.ts +0 -7
  137. package/node_modules/@d-fischer/rate-limiter/lib/QueueEntry.js +0 -2
  138. package/node_modules/@d-fischer/rate-limiter/lib/RateLimiter.d.ts +0 -11
  139. package/node_modules/@d-fischer/rate-limiter/lib/RateLimiter.js +0 -2
  140. package/node_modules/@d-fischer/rate-limiter/lib/RateLimiterStats.d.ts +0 -5
  141. package/node_modules/@d-fischer/rate-limiter/lib/RateLimiterStats.js +0 -2
  142. package/node_modules/@d-fischer/rate-limiter/lib/errors/CustomError.d.ts +0 -5
  143. package/node_modules/@d-fischer/rate-limiter/lib/errors/CustomError.js +0 -19
  144. package/node_modules/@d-fischer/rate-limiter/lib/errors/RateLimitReachedError.d.ts +0 -3
  145. package/node_modules/@d-fischer/rate-limiter/lib/errors/RateLimitReachedError.js +0 -7
  146. package/node_modules/@d-fischer/rate-limiter/lib/errors/RateLimiterDestroyedError.d.ts +0 -3
  147. package/node_modules/@d-fischer/rate-limiter/lib/errors/RateLimiterDestroyedError.js +0 -7
  148. package/node_modules/@d-fischer/rate-limiter/lib/errors/RetryAfterError.d.ts +0 -6
  149. package/node_modules/@d-fischer/rate-limiter/lib/errors/RetryAfterError.js +0 -14
  150. package/node_modules/@d-fischer/rate-limiter/lib/index.d.ts +0 -12
  151. package/node_modules/@d-fischer/rate-limiter/lib/index.js +0 -21
  152. package/node_modules/@d-fischer/rate-limiter/lib/limiters/NullRateLimiter.d.ts +0 -9
  153. package/node_modules/@d-fischer/rate-limiter/lib/limiters/NullRateLimiter.js +0 -21
  154. package/node_modules/@d-fischer/rate-limiter/lib/limiters/PartitionedRateLimiter.d.ts +0 -19
  155. package/node_modules/@d-fischer/rate-limiter/lib/limiters/PartitionedRateLimiter.js +0 -56
  156. package/node_modules/@d-fischer/rate-limiter/lib/limiters/PartitionedTimeBasedRateLimiter.d.ts +0 -26
  157. package/node_modules/@d-fischer/rate-limiter/lib/limiters/PartitionedTimeBasedRateLimiter.js +0 -142
  158. package/node_modules/@d-fischer/rate-limiter/lib/limiters/ResponseBasedRateLimiter.d.ts +0 -30
  159. package/node_modules/@d-fischer/rate-limiter/lib/limiters/ResponseBasedRateLimiter.js +0 -163
  160. package/node_modules/@d-fischer/rate-limiter/lib/limiters/TimeBasedRateLimiter.d.ts +0 -27
  161. package/node_modules/@d-fischer/rate-limiter/lib/limiters/TimeBasedRateLimiter.js +0 -121
  162. package/node_modules/@d-fischer/rate-limiter/lib/limiters/TimedPassthruRateLimiter.d.ts +0 -5
  163. package/node_modules/@d-fischer/rate-limiter/lib/limiters/TimedPassthruRateLimiter.js +0 -15
  164. package/node_modules/@d-fischer/rate-limiter/package.json +0 -64
  165. package/node_modules/@d-fischer/shared-utils/LICENSE +0 -21
  166. package/node_modules/@d-fischer/shared-utils/es/decorators/Enumerable.mjs +0 -23
  167. package/node_modules/@d-fischer/shared-utils/es/functions/array/flatten.mjs +0 -5
  168. package/node_modules/@d-fischer/shared-utils/es/functions/array/immutableSplice.mjs +0 -8
  169. package/node_modules/@d-fischer/shared-utils/es/functions/array/partitionedFlatMap.mjs +0 -29
  170. package/node_modules/@d-fischer/shared-utils/es/functions/config/resolveConfigValue.mjs +0 -23
  171. package/node_modules/@d-fischer/shared-utils/es/functions/deprecate/deprecateClass.mjs +0 -22
  172. package/node_modules/@d-fischer/shared-utils/es/functions/match/match.mjs +0 -15
  173. package/node_modules/@d-fischer/shared-utils/es/functions/math/fib.mjs +0 -27
  174. package/node_modules/@d-fischer/shared-utils/es/functions/object/arrayToObject.mjs +0 -4
  175. package/node_modules/@d-fischer/shared-utils/es/functions/object/entriesToObject.mjs +0 -9
  176. package/node_modules/@d-fischer/shared-utils/es/functions/object/forEachObjectEntry.mjs +0 -7
  177. package/node_modules/@d-fischer/shared-utils/es/functions/object/groupBy.mjs +0 -26
  178. package/node_modules/@d-fischer/shared-utils/es/functions/object/indexBy.mjs +0 -12
  179. package/node_modules/@d-fischer/shared-utils/es/functions/object/mapObject.mjs +0 -11
  180. package/node_modules/@d-fischer/shared-utils/es/functions/object/omit.mjs +0 -5
  181. package/node_modules/@d-fischer/shared-utils/es/functions/object/pick.mjs +0 -14
  182. package/node_modules/@d-fischer/shared-utils/es/functions/optional/mapOptional.mjs +0 -9
  183. package/node_modules/@d-fischer/shared-utils/es/functions/promise/delay.mjs +0 -13
  184. package/node_modules/@d-fischer/shared-utils/es/functions/promise/withResolvers.mjs +0 -11
  185. package/node_modules/@d-fischer/shared-utils/es/functions/string/padLeft.mjs +0 -25
  186. package/node_modules/@d-fischer/shared-utils/es/functions/string/splitWithLimit.mjs +0 -8
  187. package/node_modules/@d-fischer/shared-utils/es/functions/string/utf8.mjs +0 -7
  188. package/node_modules/@d-fischer/shared-utils/es/index.mjs +0 -22
  189. package/node_modules/@d-fischer/shared-utils/es/types/MakeOptional.mjs +0 -1
  190. package/node_modules/@d-fischer/shared-utils/es/types/NoInfer.mjs +0 -1
  191. package/node_modules/@d-fischer/shared-utils/es/types/PickType.mjs +0 -1
  192. package/node_modules/@d-fischer/shared-utils/es/types/constructor.mjs +0 -1
  193. package/node_modules/@d-fischer/shared-utils/es/types/object.mjs +0 -1
  194. package/node_modules/@d-fischer/shared-utils/lib/decorators/Enumerable.d.ts +0 -1
  195. package/node_modules/@d-fischer/shared-utils/lib/decorators/Enumerable.js +0 -27
  196. package/node_modules/@d-fischer/shared-utils/lib/functions/array/flatten.d.ts +0 -1
  197. package/node_modules/@d-fischer/shared-utils/lib/functions/array/flatten.js +0 -9
  198. package/node_modules/@d-fischer/shared-utils/lib/functions/array/immutableSplice.d.ts +0 -1
  199. package/node_modules/@d-fischer/shared-utils/lib/functions/array/immutableSplice.js +0 -12
  200. package/node_modules/@d-fischer/shared-utils/lib/functions/array/partitionedFlatMap.d.ts +0 -1
  201. package/node_modules/@d-fischer/shared-utils/lib/functions/array/partitionedFlatMap.js +0 -33
  202. package/node_modules/@d-fischer/shared-utils/lib/functions/config/resolveConfigValue.d.ts +0 -4
  203. package/node_modules/@d-fischer/shared-utils/lib/functions/config/resolveConfigValue.js +0 -28
  204. package/node_modules/@d-fischer/shared-utils/lib/functions/deprecate/deprecateClass.d.ts +0 -2
  205. package/node_modules/@d-fischer/shared-utils/lib/functions/deprecate/deprecateClass.js +0 -26
  206. package/node_modules/@d-fischer/shared-utils/lib/functions/match/match.d.ts +0 -10
  207. package/node_modules/@d-fischer/shared-utils/lib/functions/match/match.js +0 -19
  208. package/node_modules/@d-fischer/shared-utils/lib/functions/math/fib.d.ts +0 -1
  209. package/node_modules/@d-fischer/shared-utils/lib/functions/math/fib.js +0 -31
  210. package/node_modules/@d-fischer/shared-utils/lib/functions/object/arrayToObject.d.ts +0 -2
  211. package/node_modules/@d-fischer/shared-utils/lib/functions/object/arrayToObject.js +0 -8
  212. package/node_modules/@d-fischer/shared-utils/lib/functions/object/entriesToObject.d.ts +0 -1
  213. package/node_modules/@d-fischer/shared-utils/lib/functions/object/entriesToObject.js +0 -13
  214. package/node_modules/@d-fischer/shared-utils/lib/functions/object/forEachObjectEntry.d.ts +0 -1
  215. package/node_modules/@d-fischer/shared-utils/lib/functions/object/forEachObjectEntry.js +0 -11
  216. package/node_modules/@d-fischer/shared-utils/lib/functions/object/groupBy.d.ts +0 -2
  217. package/node_modules/@d-fischer/shared-utils/lib/functions/object/groupBy.js +0 -30
  218. package/node_modules/@d-fischer/shared-utils/lib/functions/object/indexBy.d.ts +0 -2
  219. package/node_modules/@d-fischer/shared-utils/lib/functions/object/indexBy.js +0 -16
  220. package/node_modules/@d-fischer/shared-utils/lib/functions/object/mapObject.d.ts +0 -2
  221. package/node_modules/@d-fischer/shared-utils/lib/functions/object/mapObject.js +0 -15
  222. package/node_modules/@d-fischer/shared-utils/lib/functions/object/omit.d.ts +0 -1
  223. package/node_modules/@d-fischer/shared-utils/lib/functions/object/omit.js +0 -9
  224. package/node_modules/@d-fischer/shared-utils/lib/functions/object/pick.d.ts +0 -1
  225. package/node_modules/@d-fischer/shared-utils/lib/functions/object/pick.js +0 -18
  226. package/node_modules/@d-fischer/shared-utils/lib/functions/optional/mapOptional.d.ts +0 -3
  227. package/node_modules/@d-fischer/shared-utils/lib/functions/optional/mapOptional.js +0 -15
  228. package/node_modules/@d-fischer/shared-utils/lib/functions/promise/delay.d.ts +0 -1
  229. package/node_modules/@d-fischer/shared-utils/lib/functions/promise/delay.js +0 -17
  230. package/node_modules/@d-fischer/shared-utils/lib/functions/promise/withResolvers.d.ts +0 -6
  231. package/node_modules/@d-fischer/shared-utils/lib/functions/promise/withResolvers.js +0 -15
  232. package/node_modules/@d-fischer/shared-utils/lib/functions/string/padLeft.d.ts +0 -1
  233. package/node_modules/@d-fischer/shared-utils/lib/functions/string/padLeft.js +0 -29
  234. package/node_modules/@d-fischer/shared-utils/lib/functions/string/splitWithLimit.d.ts +0 -1
  235. package/node_modules/@d-fischer/shared-utils/lib/functions/string/splitWithLimit.js +0 -12
  236. package/node_modules/@d-fischer/shared-utils/lib/functions/string/utf8.d.ts +0 -2
  237. package/node_modules/@d-fischer/shared-utils/lib/functions/string/utf8.js +0 -12
  238. package/node_modules/@d-fischer/shared-utils/lib/index.d.ts +0 -27
  239. package/node_modules/@d-fischer/shared-utils/lib/index.js +0 -52
  240. package/node_modules/@d-fischer/shared-utils/lib/types/MakeOptional.d.ts +0 -5
  241. package/node_modules/@d-fischer/shared-utils/lib/types/MakeOptional.js +0 -2
  242. package/node_modules/@d-fischer/shared-utils/lib/types/NoInfer.d.ts +0 -1
  243. package/node_modules/@d-fischer/shared-utils/lib/types/NoInfer.js +0 -2
  244. package/node_modules/@d-fischer/shared-utils/lib/types/PickType.d.ts +0 -5
  245. package/node_modules/@d-fischer/shared-utils/lib/types/PickType.js +0 -2
  246. package/node_modules/@d-fischer/shared-utils/lib/types/constructor.d.ts +0 -2
  247. package/node_modules/@d-fischer/shared-utils/lib/types/constructor.js +0 -2
  248. package/node_modules/@d-fischer/shared-utils/lib/types/object.d.ts +0 -5
  249. package/node_modules/@d-fischer/shared-utils/lib/types/object.js +0 -2
  250. package/node_modules/@d-fischer/shared-utils/package.json +0 -57
  251. package/node_modules/@d-fischer/typed-event-emitter/LICENSE +0 -45
  252. package/node_modules/@d-fischer/typed-event-emitter/README.md +0 -172
  253. package/node_modules/@d-fischer/typed-event-emitter/es/EventEmitter.mjs +0 -77
  254. package/node_modules/@d-fischer/typed-event-emitter/es/Listener.mjs +0 -13
  255. package/node_modules/@d-fischer/typed-event-emitter/es/index.mjs +0 -2
  256. package/node_modules/@d-fischer/typed-event-emitter/lib/EventEmitter.d.ts +0 -19
  257. package/node_modules/@d-fischer/typed-event-emitter/lib/EventEmitter.js +0 -81
  258. package/node_modules/@d-fischer/typed-event-emitter/lib/Listener.d.ts +0 -11
  259. package/node_modules/@d-fischer/typed-event-emitter/lib/Listener.js +0 -17
  260. package/node_modules/@d-fischer/typed-event-emitter/lib/index.d.ts +0 -3
  261. package/node_modules/@d-fischer/typed-event-emitter/lib/index.js +0 -7
  262. package/node_modules/@d-fischer/typed-event-emitter/package.json +0 -74
  263. package/node_modules/@twurple/api-call/LICENSE +0 -21
  264. package/node_modules/@twurple/api-call/README.md +0 -9
  265. package/node_modules/@twurple/api-call/lib/HelixResponse.d.ts +0 -15
  266. package/node_modules/@twurple/api-call/lib/HelixResponse.js +0 -1
  267. package/node_modules/@twurple/api-call/lib/TwitchApiCallOptions.d.ts +0 -74
  268. package/node_modules/@twurple/api-call/lib/TwitchApiCallOptions.js +0 -1
  269. package/node_modules/@twurple/api-call/lib/apiCall.d.ts +0 -31
  270. package/node_modules/@twurple/api-call/lib/apiCall.js +0 -59
  271. package/node_modules/@twurple/api-call/lib/errors/HttpStatusCodeError.d.ts +0 -29
  272. package/node_modules/@twurple/api-call/lib/errors/HttpStatusCodeError.js +0 -42
  273. package/node_modules/@twurple/api-call/lib/helpers/queries.external.d.ts +0 -3
  274. package/node_modules/@twurple/api-call/lib/helpers/queries.external.js +0 -6
  275. package/node_modules/@twurple/api-call/lib/helpers/transform.d.ts +0 -7
  276. package/node_modules/@twurple/api-call/lib/helpers/transform.js +0 -23
  277. package/node_modules/@twurple/api-call/lib/helpers/url.d.ts +0 -2
  278. package/node_modules/@twurple/api-call/lib/helpers/url.js +0 -25
  279. package/node_modules/@twurple/api-call/lib/index.d.ts +0 -7
  280. package/node_modules/@twurple/api-call/lib/index.js +0 -4
  281. package/node_modules/@twurple/api-call/package.json +0 -44
  282. package/node_modules/@twurple/auth/LICENSE +0 -21
  283. package/node_modules/@twurple/auth/README.md +0 -24
  284. package/node_modules/@twurple/auth/lib/AccessToken.d.ts +0 -77
  285. package/node_modules/@twurple/auth/lib/AccessToken.external.d.ts +0 -2
  286. package/node_modules/@twurple/auth/lib/AccessToken.external.js +0 -1
  287. package/node_modules/@twurple/auth/lib/AccessToken.js +0 -29
  288. package/node_modules/@twurple/auth/lib/TokenFetcher.d.ts +0 -12
  289. package/node_modules/@twurple/auth/lib/TokenFetcher.js +0 -67
  290. package/node_modules/@twurple/auth/lib/TokenInfo.d.ts +0 -31
  291. package/node_modules/@twurple/auth/lib/TokenInfo.external.d.ts +0 -8
  292. package/node_modules/@twurple/auth/lib/TokenInfo.external.js +0 -1
  293. package/node_modules/@twurple/auth/lib/TokenInfo.js +0 -50
  294. package/node_modules/@twurple/auth/lib/errors/CachedRefreshFailureError.d.ts +0 -10
  295. package/node_modules/@twurple/auth/lib/errors/CachedRefreshFailureError.js +0 -15
  296. package/node_modules/@twurple/auth/lib/errors/IntermediateUserRemovalError.d.ts +0 -10
  297. package/node_modules/@twurple/auth/lib/errors/IntermediateUserRemovalError.js +0 -14
  298. package/node_modules/@twurple/auth/lib/errors/InvalidTokenError.d.ts +0 -9
  299. package/node_modules/@twurple/auth/lib/errors/InvalidTokenError.js +0 -10
  300. package/node_modules/@twurple/auth/lib/errors/InvalidTokenTypeError.d.ts +0 -7
  301. package/node_modules/@twurple/auth/lib/errors/InvalidTokenTypeError.js +0 -6
  302. package/node_modules/@twurple/auth/lib/errors/UnknownIntentError.d.ts +0 -13
  303. package/node_modules/@twurple/auth/lib/errors/UnknownIntentError.js +0 -15
  304. package/node_modules/@twurple/auth/lib/helpers.d.ts +0 -82
  305. package/node_modules/@twurple/auth/lib/helpers.external.d.ts +0 -2
  306. package/node_modules/@twurple/auth/lib/helpers.external.js +0 -34
  307. package/node_modules/@twurple/auth/lib/helpers.js +0 -250
  308. package/node_modules/@twurple/auth/lib/index.d.ts +0 -17
  309. package/node_modules/@twurple/auth/lib/index.js +0 -12
  310. package/node_modules/@twurple/auth/lib/providers/AppTokenAuthProvider.d.ts +0 -52
  311. package/node_modules/@twurple/auth/lib/providers/AppTokenAuthProvider.js +0 -114
  312. package/node_modules/@twurple/auth/lib/providers/AuthProvider.d.ts +0 -105
  313. package/node_modules/@twurple/auth/lib/providers/AuthProvider.js +0 -1
  314. package/node_modules/@twurple/auth/lib/providers/RefreshingAuthProvider.d.ts +0 -186
  315. package/node_modules/@twurple/auth/lib/providers/RefreshingAuthProvider.js +0 -442
  316. package/node_modules/@twurple/auth/lib/providers/StaticAuthProvider.d.ts +0 -62
  317. package/node_modules/@twurple/auth/lib/providers/StaticAuthProvider.js +0 -102
  318. package/node_modules/@twurple/auth/package.json +0 -49
  319. package/node_modules/@twurple/chat/LICENSE +0 -21
  320. package/node_modules/@twurple/chat/README.md +0 -24
  321. package/node_modules/@twurple/chat/lib/ChatClient.d.ts +0 -577
  322. package/node_modules/@twurple/chat/lib/ChatClient.js +0 -1153
  323. package/node_modules/@twurple/chat/lib/ChatMessageAttributes.d.ts +0 -13
  324. package/node_modules/@twurple/chat/lib/ChatMessageAttributes.js +0 -5
  325. package/node_modules/@twurple/chat/lib/ChatUser.d.ts +0 -68
  326. package/node_modules/@twurple/chat/lib/ChatUser.js +0 -134
  327. package/node_modules/@twurple/chat/lib/caps/TwitchMembershipCapability.d.ts +0 -2
  328. package/node_modules/@twurple/chat/lib/caps/TwitchMembershipCapability.js +0 -9
  329. package/node_modules/@twurple/chat/lib/caps/twitchCommands/index.d.ts +0 -2
  330. package/node_modules/@twurple/chat/lib/caps/twitchCommands/index.js +0 -11
  331. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/ClearChat.d.ts +0 -16
  332. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/ClearChat.js +0 -20
  333. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/Reconnect.d.ts +0 -6
  334. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/Reconnect.js +0 -5
  335. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/RoomState.d.ts +0 -12
  336. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/RoomState.js +0 -9
  337. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/UserNotice.d.ts +0 -19
  338. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/UserNotice.js +0 -28
  339. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/UserState.d.ts +0 -14
  340. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/UserState.js +0 -10
  341. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/Whisper.d.ts +0 -18
  342. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/Whisper.js +0 -19
  343. package/node_modules/@twurple/chat/lib/caps/twitchTags/index.d.ts +0 -2
  344. package/node_modules/@twurple/chat/lib/caps/twitchTags/index.js +0 -11
  345. package/node_modules/@twurple/chat/lib/caps/twitchTags/messageTypes/ClearMsg.d.ts +0 -17
  346. package/node_modules/@twurple/chat/lib/caps/twitchTags/messageTypes/ClearMsg.js +0 -23
  347. package/node_modules/@twurple/chat/lib/caps/twitchTags/messageTypes/GlobalUserState.d.ts +0 -10
  348. package/node_modules/@twurple/chat/lib/caps/twitchTags/messageTypes/GlobalUserState.js +0 -9
  349. package/node_modules/@twurple/chat/lib/commands/ChatMessage.d.ts +0 -137
  350. package/node_modules/@twurple/chat/lib/commands/ChatMessage.js +0 -216
  351. package/node_modules/@twurple/chat/lib/emotes/ParsedMessagePart.d.ts +0 -76
  352. package/node_modules/@twurple/chat/lib/emotes/ParsedMessagePart.js +0 -1
  353. package/node_modules/@twurple/chat/lib/emotes/buildEmoteImageUrl.d.ts +0 -39
  354. package/node_modules/@twurple/chat/lib/emotes/buildEmoteImageUrl.js +0 -12
  355. package/node_modules/@twurple/chat/lib/emotes/messagePartParser.d.ts +0 -31
  356. package/node_modules/@twurple/chat/lib/emotes/messagePartParser.js +0 -109
  357. package/node_modules/@twurple/chat/lib/index.d.ts +0 -33
  358. package/node_modules/@twurple/chat/lib/index.js +0 -18
  359. package/node_modules/@twurple/chat/lib/userNotices/ChatAnnouncementInfo.d.ts +0 -12
  360. package/node_modules/@twurple/chat/lib/userNotices/ChatAnnouncementInfo.js +0 -1
  361. package/node_modules/@twurple/chat/lib/userNotices/ChatBitsBadgeUpgradeInfo.d.ts +0 -14
  362. package/node_modules/@twurple/chat/lib/userNotices/ChatBitsBadgeUpgradeInfo.js +0 -1
  363. package/node_modules/@twurple/chat/lib/userNotices/ChatCommunityPayForwardInfo.d.ts +0 -26
  364. package/node_modules/@twurple/chat/lib/userNotices/ChatCommunityPayForwardInfo.js +0 -1
  365. package/node_modules/@twurple/chat/lib/userNotices/ChatCommunitySubInfo.d.ts +0 -32
  366. package/node_modules/@twurple/chat/lib/userNotices/ChatCommunitySubInfo.js +0 -1
  367. package/node_modules/@twurple/chat/lib/userNotices/ChatPrimeCommunityGiftInfo.d.ts +0 -18
  368. package/node_modules/@twurple/chat/lib/userNotices/ChatPrimeCommunityGiftInfo.js +0 -1
  369. package/node_modules/@twurple/chat/lib/userNotices/ChatRaidInfo.d.ts +0 -14
  370. package/node_modules/@twurple/chat/lib/userNotices/ChatRaidInfo.js +0 -1
  371. package/node_modules/@twurple/chat/lib/userNotices/ChatRewardGiftInfo.d.ts +0 -32
  372. package/node_modules/@twurple/chat/lib/userNotices/ChatRewardGiftInfo.js +0 -1
  373. package/node_modules/@twurple/chat/lib/userNotices/ChatRitualInfo.d.ts +0 -18
  374. package/node_modules/@twurple/chat/lib/userNotices/ChatRitualInfo.js +0 -1
  375. package/node_modules/@twurple/chat/lib/userNotices/ChatStandardPayForwardInfo.d.ts +0 -34
  376. package/node_modules/@twurple/chat/lib/userNotices/ChatStandardPayForwardInfo.js +0 -1
  377. package/node_modules/@twurple/chat/lib/userNotices/ChatSubInfo.d.ts +0 -171
  378. package/node_modules/@twurple/chat/lib/userNotices/ChatSubInfo.js +0 -1
  379. package/node_modules/@twurple/chat/lib/userNotices/ChatViewerMilestoneInfo.d.ts +0 -30
  380. package/node_modules/@twurple/chat/lib/userNotices/ChatViewerMilestoneInfo.js +0 -1
  381. package/node_modules/@twurple/chat/lib/utils/emoteUtil.d.ts +0 -7
  382. package/node_modules/@twurple/chat/lib/utils/emoteUtil.js +0 -20
  383. package/node_modules/@twurple/chat/lib/utils/messageUtil.d.ts +0 -17
  384. package/node_modules/@twurple/chat/lib/utils/messageUtil.js +0 -87
  385. package/node_modules/@twurple/chat/lib/utils/userUtil.d.ts +0 -13
  386. package/node_modules/@twurple/chat/lib/utils/userUtil.js +0 -24
  387. package/node_modules/@twurple/chat/package.json +0 -58
  388. package/node_modules/@twurple/common/LICENSE +0 -21
  389. package/node_modules/@twurple/common/README.md +0 -9
  390. package/node_modules/@twurple/common/lib/DataObject.d.ts +0 -15
  391. package/node_modules/@twurple/common/lib/DataObject.js +0 -19
  392. package/node_modules/@twurple/common/lib/errors/CustomError.d.ts +0 -10
  393. package/node_modules/@twurple/common/lib/errors/CustomError.js +0 -13
  394. package/node_modules/@twurple/common/lib/errors/HellFreezesOverError.d.ts +0 -10
  395. package/node_modules/@twurple/common/lib/errors/HellFreezesOverError.js +0 -11
  396. package/node_modules/@twurple/common/lib/errors/RelationAssertionError.d.ts +0 -8
  397. package/node_modules/@twurple/common/lib/errors/RelationAssertionError.js +0 -9
  398. package/node_modules/@twurple/common/lib/extensions/HelixExtension.d.ts +0 -224
  399. package/node_modules/@twurple/common/lib/extensions/HelixExtension.external.d.ts +0 -87
  400. package/node_modules/@twurple/common/lib/extensions/HelixExtension.external.js +0 -1
  401. package/node_modules/@twurple/common/lib/extensions/HelixExtension.js +0 -314
  402. package/node_modules/@twurple/common/lib/index.d.ts +0 -14
  403. package/node_modules/@twurple/common/lib/index.js +0 -10
  404. package/node_modules/@twurple/common/lib/mockApiPort.d.ts +0 -3
  405. package/node_modules/@twurple/common/lib/mockApiPort.js +0 -15
  406. package/node_modules/@twurple/common/lib/qs.d.ts +0 -2
  407. package/node_modules/@twurple/common/lib/qs.js +0 -21
  408. package/node_modules/@twurple/common/lib/relations.d.ts +0 -3
  409. package/node_modules/@twurple/common/lib/relations.js +0 -8
  410. package/node_modules/@twurple/common/lib/rtfm.d.ts +0 -9
  411. package/node_modules/@twurple/common/lib/rtfm.js +0 -17
  412. package/node_modules/@twurple/common/lib/types.d.ts +0 -9
  413. package/node_modules/@twurple/common/lib/types.js +0 -1
  414. package/node_modules/@twurple/common/lib/userResolvers.d.ts +0 -42
  415. package/node_modules/@twurple/common/lib/userResolvers.js +0 -22
  416. package/node_modules/@twurple/common/package.json +0 -43
  417. package/node_modules/@types/node/LICENSE +0 -21
  418. package/node_modules/@types/node/README.md +0 -15
  419. package/node_modules/@types/node/assert/strict.d.ts +0 -8
  420. package/node_modules/@types/node/assert.d.ts +0 -1062
  421. package/node_modules/@types/node/async_hooks.d.ts +0 -605
  422. package/node_modules/@types/node/buffer.buffer.d.ts +0 -471
  423. package/node_modules/@types/node/buffer.d.ts +0 -1936
  424. package/node_modules/@types/node/child_process.d.ts +0 -1475
  425. package/node_modules/@types/node/cluster.d.ts +0 -577
  426. package/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  427. package/node_modules/@types/node/compatibility/index.d.ts +0 -9
  428. package/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  429. package/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  430. package/node_modules/@types/node/console.d.ts +0 -452
  431. package/node_modules/@types/node/constants.d.ts +0 -21
  432. package/node_modules/@types/node/crypto.d.ts +0 -4590
  433. package/node_modules/@types/node/dgram.d.ts +0 -597
  434. package/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  435. package/node_modules/@types/node/dns/promises.d.ts +0 -479
  436. package/node_modules/@types/node/dns.d.ts +0 -871
  437. package/node_modules/@types/node/domain.d.ts +0 -170
  438. package/node_modules/@types/node/events.d.ts +0 -977
  439. package/node_modules/@types/node/fs/promises.d.ts +0 -1270
  440. package/node_modules/@types/node/fs.d.ts +0 -4375
  441. package/node_modules/@types/node/globals.d.ts +0 -172
  442. package/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  443. package/node_modules/@types/node/http.d.ts +0 -2049
  444. package/node_modules/@types/node/http2.d.ts +0 -2712
  445. package/node_modules/@types/node/https.d.ts +0 -578
  446. package/node_modules/@types/node/index.d.ts +0 -93
  447. package/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  448. package/node_modules/@types/node/module.d.ts +0 -539
  449. package/node_modules/@types/node/net.d.ts +0 -1031
  450. package/node_modules/@types/node/os.d.ts +0 -506
  451. package/node_modules/@types/node/package.json +0 -140
  452. package/node_modules/@types/node/path.d.ts +0 -200
  453. package/node_modules/@types/node/perf_hooks.d.ts +0 -961
  454. package/node_modules/@types/node/process.d.ts +0 -1961
  455. package/node_modules/@types/node/punycode.d.ts +0 -117
  456. package/node_modules/@types/node/querystring.d.ts +0 -152
  457. package/node_modules/@types/node/readline/promises.d.ts +0 -162
  458. package/node_modules/@types/node/readline.d.ts +0 -589
  459. package/node_modules/@types/node/repl.d.ts +0 -430
  460. package/node_modules/@types/node/sea.d.ts +0 -153
  461. package/node_modules/@types/node/stream/consumers.d.ts +0 -38
  462. package/node_modules/@types/node/stream/promises.d.ts +0 -90
  463. package/node_modules/@types/node/stream/web.d.ts +0 -533
  464. package/node_modules/@types/node/stream.d.ts +0 -1698
  465. package/node_modules/@types/node/string_decoder.d.ts +0 -67
  466. package/node_modules/@types/node/test.d.ts +0 -1787
  467. package/node_modules/@types/node/timers/promises.d.ts +0 -108
  468. package/node_modules/@types/node/timers.d.ts +0 -286
  469. package/node_modules/@types/node/tls.d.ts +0 -1259
  470. package/node_modules/@types/node/trace_events.d.ts +0 -197
  471. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  472. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  473. package/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  474. package/node_modules/@types/node/tty.d.ts +0 -208
  475. package/node_modules/@types/node/url.d.ts +0 -964
  476. package/node_modules/@types/node/util.d.ts +0 -2331
  477. package/node_modules/@types/node/v8.d.ts +0 -809
  478. package/node_modules/@types/node/vm.d.ts +0 -1001
  479. package/node_modules/@types/node/wasi.d.ts +0 -181
  480. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  481. package/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  482. package/node_modules/@types/node/web-globals/events.d.ts +0 -97
  483. package/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  484. package/node_modules/@types/node/worker_threads.d.ts +0 -715
  485. package/node_modules/@types/node/zlib.d.ts +0 -598
  486. package/node_modules/@types/ws/LICENSE +0 -21
  487. package/node_modules/@types/ws/README.md +0 -15
  488. package/node_modules/@types/ws/index.d.mts +0 -451
  489. package/node_modules/@types/ws/index.d.ts +0 -445
  490. package/node_modules/@types/ws/node_modules/@types/node/LICENSE +0 -21
  491. package/node_modules/@types/ws/node_modules/@types/node/README.md +0 -15
  492. package/node_modules/@types/ws/node_modules/@types/node/assert/strict.d.ts +0 -68
  493. package/node_modules/@types/ws/node_modules/@types/node/assert.d.ts +0 -1077
  494. package/node_modules/@types/ws/node_modules/@types/node/async_hooks.d.ts +0 -711
  495. package/node_modules/@types/ws/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  496. package/node_modules/@types/ws/node_modules/@types/node/buffer.d.ts +0 -1799
  497. package/node_modules/@types/ws/node_modules/@types/node/child_process.d.ts +0 -1362
  498. package/node_modules/@types/ws/node_modules/@types/node/cluster.d.ts +0 -432
  499. package/node_modules/@types/ws/node_modules/@types/node/console.d.ts +0 -93
  500. package/node_modules/@types/ws/node_modules/@types/node/constants.d.ts +0 -14
  501. package/node_modules/@types/ws/node_modules/@types/node/crypto.d.ts +0 -3954
  502. package/node_modules/@types/ws/node_modules/@types/node/dgram.d.ts +0 -537
  503. package/node_modules/@types/ws/node_modules/@types/node/diagnostics_channel.d.ts +0 -794
  504. package/node_modules/@types/ws/node_modules/@types/node/dns/promises.d.ts +0 -497
  505. package/node_modules/@types/ws/node_modules/@types/node/dns.d.ts +0 -876
  506. package/node_modules/@types/ws/node_modules/@types/node/domain.d.ts +0 -150
  507. package/node_modules/@types/ws/node_modules/@types/node/events.d.ts +0 -1008
  508. package/node_modules/@types/ws/node_modules/@types/node/ffi.d.ts +0 -486
  509. package/node_modules/@types/ws/node_modules/@types/node/fs/promises.d.ts +0 -1481
  510. package/node_modules/@types/ws/node_modules/@types/node/fs.d.ts +0 -4786
  511. package/node_modules/@types/ws/node_modules/@types/node/globals.d.ts +0 -150
  512. package/node_modules/@types/ws/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  513. package/node_modules/@types/ws/node_modules/@types/node/http.d.ts +0 -2172
  514. package/node_modules/@types/ws/node_modules/@types/node/http2.d.ts +0 -2489
  515. package/node_modules/@types/ws/node_modules/@types/node/https.d.ts +0 -400
  516. package/node_modules/@types/ws/node_modules/@types/node/index.d.ts +0 -115
  517. package/node_modules/@types/ws/node_modules/@types/node/inspector/promises.d.ts +0 -35
  518. package/node_modules/@types/ws/node_modules/@types/node/inspector.d.ts +0 -264
  519. package/node_modules/@types/ws/node_modules/@types/node/inspector.generated.d.ts +0 -4406
  520. package/node_modules/@types/ws/node_modules/@types/node/module.d.ts +0 -726
  521. package/node_modules/@types/ws/node_modules/@types/node/net.d.ts +0 -970
  522. package/node_modules/@types/ws/node_modules/@types/node/os.d.ts +0 -498
  523. package/node_modules/@types/ws/node_modules/@types/node/package.json +0 -155
  524. package/node_modules/@types/ws/node_modules/@types/node/path/posix.d.ts +0 -8
  525. package/node_modules/@types/ws/node_modules/@types/node/path/win32.d.ts +0 -8
  526. package/node_modules/@types/ws/node_modules/@types/node/path.d.ts +0 -178
  527. package/node_modules/@types/ws/node_modules/@types/node/perf_hooks.d.ts +0 -604
  528. package/node_modules/@types/ws/node_modules/@types/node/process.d.ts +0 -2217
  529. package/node_modules/@types/ws/node_modules/@types/node/punycode.d.ts +0 -89
  530. package/node_modules/@types/ws/node_modules/@types/node/querystring.d.ts +0 -139
  531. package/node_modules/@types/ws/node_modules/@types/node/quic.d.ts +0 -978
  532. package/node_modules/@types/ws/node_modules/@types/node/readline/promises.d.ts +0 -158
  533. package/node_modules/@types/ws/node_modules/@types/node/readline.d.ts +0 -508
  534. package/node_modules/@types/ws/node_modules/@types/node/repl.d.ts +0 -420
  535. package/node_modules/@types/ws/node_modules/@types/node/sea.d.ts +0 -47
  536. package/node_modules/@types/ws/node_modules/@types/node/sqlite.d.ts +0 -1123
  537. package/node_modules/@types/ws/node_modules/@types/node/stream/consumers.d.ts +0 -114
  538. package/node_modules/@types/ws/node_modules/@types/node/stream/iter.d.ts +0 -451
  539. package/node_modules/@types/ws/node_modules/@types/node/stream/promises.d.ts +0 -211
  540. package/node_modules/@types/ws/node_modules/@types/node/stream/web.d.ts +0 -300
  541. package/node_modules/@types/ws/node_modules/@types/node/stream.d.ts +0 -1806
  542. package/node_modules/@types/ws/node_modules/@types/node/string_decoder.d.ts +0 -27
  543. package/node_modules/@types/ws/node_modules/@types/node/test/reporters.d.ts +0 -59
  544. package/node_modules/@types/ws/node_modules/@types/node/test.d.ts +0 -2389
  545. package/node_modules/@types/ws/node_modules/@types/node/timers/promises.d.ts +0 -93
  546. package/node_modules/@types/ws/node_modules/@types/node/timers.d.ts +0 -149
  547. package/node_modules/@types/ws/node_modules/@types/node/tls.d.ts +0 -1193
  548. package/node_modules/@types/ws/node_modules/@types/node/trace_events.d.ts +0 -103
  549. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  550. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  551. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  552. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/index.d.ts +0 -117
  553. package/node_modules/@types/ws/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  554. package/node_modules/@types/ws/node_modules/@types/node/ts5.7/index.d.ts +0 -117
  555. package/node_modules/@types/ws/node_modules/@types/node/tty.d.ts +0 -225
  556. package/node_modules/@types/ws/node_modules/@types/node/url.d.ts +0 -556
  557. package/node_modules/@types/ws/node_modules/@types/node/util/types.d.ts +0 -558
  558. package/node_modules/@types/ws/node_modules/@types/node/util.d.ts +0 -1677
  559. package/node_modules/@types/ws/node_modules/@types/node/v8.d.ts +0 -1062
  560. package/node_modules/@types/ws/node_modules/@types/node/vm.d.ts +0 -1136
  561. package/node_modules/@types/ws/node_modules/@types/node/wasi.d.ts +0 -131
  562. package/node_modules/@types/ws/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  563. package/node_modules/@types/ws/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  564. package/node_modules/@types/ws/node_modules/@types/node/web-globals/console.d.ts +0 -9
  565. package/node_modules/@types/ws/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  566. package/node_modules/@types/ws/node_modules/@types/node/web-globals/domexception.d.ts +0 -83
  567. package/node_modules/@types/ws/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  568. package/node_modules/@types/ws/node_modules/@types/node/web-globals/events.d.ts +0 -106
  569. package/node_modules/@types/ws/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
  570. package/node_modules/@types/ws/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  571. package/node_modules/@types/ws/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  572. package/node_modules/@types/ws/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  573. package/node_modules/@types/ws/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  574. package/node_modules/@types/ws/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  575. package/node_modules/@types/ws/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  576. package/node_modules/@types/ws/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  577. package/node_modules/@types/ws/node_modules/@types/node/web-globals/url.d.ts +0 -24
  578. package/node_modules/@types/ws/node_modules/@types/node/worker_threads.d.ts +0 -669
  579. package/node_modules/@types/ws/node_modules/@types/node/zlib/iter.d.ts +0 -131
  580. package/node_modules/@types/ws/node_modules/@types/node/zlib.d.ts +0 -589
  581. package/node_modules/@types/ws/node_modules/undici-types/LICENSE +0 -21
  582. package/node_modules/@types/ws/node_modules/undici-types/README.md +0 -6
  583. package/node_modules/@types/ws/node_modules/undici-types/agent.d.ts +0 -30
  584. package/node_modules/@types/ws/node_modules/undici-types/api.d.ts +0 -43
  585. package/node_modules/@types/ws/node_modules/undici-types/balanced-pool.d.ts +0 -30
  586. package/node_modules/@types/ws/node_modules/undici-types/cache-interceptor.d.ts +0 -179
  587. package/node_modules/@types/ws/node_modules/undici-types/cache.d.ts +0 -36
  588. package/node_modules/@types/ws/node_modules/undici-types/client-stats.d.ts +0 -15
  589. package/node_modules/@types/ws/node_modules/undici-types/client.d.ts +0 -129
  590. package/node_modules/@types/ws/node_modules/undici-types/connector.d.ts +0 -36
  591. package/node_modules/@types/ws/node_modules/undici-types/content-type.d.ts +0 -21
  592. package/node_modules/@types/ws/node_modules/undici-types/cookies.d.ts +0 -30
  593. package/node_modules/@types/ws/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  594. package/node_modules/@types/ws/node_modules/undici-types/dispatcher.d.ts +0 -253
  595. package/node_modules/@types/ws/node_modules/undici-types/dispatcher1-wrapper.d.ts +0 -7
  596. package/node_modules/@types/ws/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  597. package/node_modules/@types/ws/node_modules/undici-types/errors.d.ts +0 -177
  598. package/node_modules/@types/ws/node_modules/undici-types/eventsource.d.ts +0 -66
  599. package/node_modules/@types/ws/node_modules/undici-types/fetch.d.ts +0 -231
  600. package/node_modules/@types/ws/node_modules/undici-types/formdata.d.ts +0 -108
  601. package/node_modules/@types/ws/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  602. package/node_modules/@types/ws/node_modules/undici-types/global-origin.d.ts +0 -7
  603. package/node_modules/@types/ws/node_modules/undici-types/h2c-client.d.ts +0 -73
  604. package/node_modules/@types/ws/node_modules/undici-types/handlers.d.ts +0 -14
  605. package/node_modules/@types/ws/node_modules/undici-types/header.d.ts +0 -165
  606. package/node_modules/@types/ws/node_modules/undici-types/index.d.ts +0 -93
  607. package/node_modules/@types/ws/node_modules/undici-types/interceptors.d.ts +0 -80
  608. package/node_modules/@types/ws/node_modules/undici-types/mock-agent.d.ts +0 -68
  609. package/node_modules/@types/ws/node_modules/undici-types/mock-call-history.d.ts +0 -111
  610. package/node_modules/@types/ws/node_modules/undici-types/mock-client.d.ts +0 -27
  611. package/node_modules/@types/ws/node_modules/undici-types/mock-errors.d.ts +0 -12
  612. package/node_modules/@types/ws/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  613. package/node_modules/@types/ws/node_modules/undici-types/mock-pool.d.ts +0 -27
  614. package/node_modules/@types/ws/node_modules/undici-types/package.json +0 -55
  615. package/node_modules/@types/ws/node_modules/undici-types/patch.d.ts +0 -29
  616. package/node_modules/@types/ws/node_modules/undici-types/pool-stats.d.ts +0 -19
  617. package/node_modules/@types/ws/node_modules/undici-types/pool.d.ts +0 -39
  618. package/node_modules/@types/ws/node_modules/undici-types/proxy-agent.d.ts +0 -29
  619. package/node_modules/@types/ws/node_modules/undici-types/readable.d.ts +0 -68
  620. package/node_modules/@types/ws/node_modules/undici-types/retry-agent.d.ts +0 -8
  621. package/node_modules/@types/ws/node_modules/undici-types/retry-handler.d.ts +0 -125
  622. package/node_modules/@types/ws/node_modules/undici-types/round-robin-pool.d.ts +0 -39
  623. package/node_modules/@types/ws/node_modules/undici-types/snapshot-agent.d.ts +0 -113
  624. package/node_modules/@types/ws/node_modules/undici-types/socks5-proxy-agent.d.ts +0 -25
  625. package/node_modules/@types/ws/node_modules/undici-types/util.d.ts +0 -18
  626. package/node_modules/@types/ws/node_modules/undici-types/utility.d.ts +0 -7
  627. package/node_modules/@types/ws/node_modules/undici-types/webidl.d.ts +0 -346
  628. package/node_modules/@types/ws/node_modules/undici-types/websocket.d.ts +0 -188
  629. package/node_modules/@types/ws/package.json +0 -72
  630. package/node_modules/ircv3/LICENSE +0 -21
  631. package/node_modules/ircv3/README.md +0 -6
  632. package/node_modules/ircv3/es/Capability/Capability.mjs +0 -1
  633. package/node_modules/ircv3/es/Capability/CoreCapabilities/AwayNotifyCapability.mjs +0 -4
  634. package/node_modules/ircv3/es/Capability/CoreCapabilities/BatchCapability/MessageTypes/Commands/Batch.mjs +0 -11
  635. package/node_modules/ircv3/es/Capability/CoreCapabilities/BatchCapability/index.mjs +0 -6
  636. package/node_modules/ircv3/es/Capability/CoreCapabilities/CapNotifyCapability.mjs +0 -4
  637. package/node_modules/ircv3/es/Capability/CoreCapabilities/ChgHostCapability/MessageTypes/Commands/ChgHost.mjs +0 -10
  638. package/node_modules/ircv3/es/Capability/CoreCapabilities/ChgHostCapability/index.mjs +0 -5
  639. package/node_modules/ircv3/es/Capability/CoreCapabilities/InviteNotifyCapability.mjs +0 -4
  640. package/node_modules/ircv3/es/Capability/CoreCapabilities/LabeledResponseCapability/MessageTypes/Commands/Acknowledgement.mjs +0 -4
  641. package/node_modules/ircv3/es/Capability/CoreCapabilities/LabeledResponseCapability/index.mjs +0 -6
  642. package/node_modules/ircv3/es/Capability/CoreCapabilities/MessageTagsCapability.mjs +0 -5
  643. package/node_modules/ircv3/es/Capability/CoreCapabilities/MultiPrefixCapability.mjs +0 -4
  644. package/node_modules/ircv3/es/Capability/CoreCapabilities/index.mjs +0 -8
  645. package/node_modules/ircv3/es/Errors/MessageError.mjs +0 -14
  646. package/node_modules/ircv3/es/Errors/NotEnoughParametersError.mjs +0 -22
  647. package/node_modules/ircv3/es/Errors/ParameterRequirementMismatchError.mjs +0 -27
  648. package/node_modules/ircv3/es/Errors/UnknownChannelModeCharError.mjs +0 -14
  649. package/node_modules/ircv3/es/IrcClient.mjs +0 -638
  650. package/node_modules/ircv3/es/Message/Message.mjs +0 -291
  651. package/node_modules/ircv3/es/Message/MessageCollector.mjs +0 -49
  652. package/node_modules/ircv3/es/Message/MessageParser.mjs +0 -98
  653. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Away.mjs +0 -12
  654. package/node_modules/ircv3/es/Message/MessageTypes/Commands/CapabilityNegotiation.mjs +0 -51
  655. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ChannelInvite.mjs +0 -10
  656. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ChannelJoin.mjs +0 -10
  657. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ChannelKick.mjs +0 -11
  658. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ChannelList.mjs +0 -10
  659. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ChannelPart.mjs +0 -10
  660. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ClientQuit.mjs +0 -9
  661. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ErrorMessage.mjs +0 -9
  662. package/node_modules/ircv3/es/Message/MessageTypes/Commands/IsOnQuery.mjs +0 -9
  663. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Kill.mjs +0 -10
  664. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Mode.mjs +0 -83
  665. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Names.mjs +0 -10
  666. package/node_modules/ircv3/es/Message/MessageTypes/Commands/NickChange.mjs +0 -9
  667. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Notice.mjs +0 -10
  668. package/node_modules/ircv3/es/Message/MessageTypes/Commands/OperLogin.mjs +0 -10
  669. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Password.mjs +0 -9
  670. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Ping.mjs +0 -9
  671. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Pong.mjs +0 -10
  672. package/node_modules/ircv3/es/Message/MessageTypes/Commands/PrivateMessage.mjs +0 -10
  673. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Rehash.mjs +0 -4
  674. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Restart.mjs +0 -4
  675. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ServerQuit.mjs +0 -10
  676. package/node_modules/ircv3/es/Message/MessageTypes/Commands/TagMessage.mjs +0 -9
  677. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Time.mjs +0 -9
  678. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Topic.mjs +0 -10
  679. package/node_modules/ircv3/es/Message/MessageTypes/Commands/UserHostQuery.mjs +0 -9
  680. package/node_modules/ircv3/es/Message/MessageTypes/Commands/UserRegistration.mjs +0 -12
  681. package/node_modules/ircv3/es/Message/MessageTypes/Commands/WallopsMessage.mjs +0 -9
  682. package/node_modules/ircv3/es/Message/MessageTypes/Commands/WhoIsQuery.mjs +0 -10
  683. package/node_modules/ircv3/es/Message/MessageTypes/Commands/WhoQuery.mjs +0 -11
  684. package/node_modules/ircv3/es/Message/MessageTypes/Commands/WhoWasQuery.mjs +0 -11
  685. package/node_modules/ircv3/es/Message/MessageTypes/Commands/index.mjs +0 -33
  686. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error401NoSuchNick.mjs +0 -11
  687. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error402NoSuchServer.mjs +0 -11
  688. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error403NoSuchChannel.mjs +0 -11
  689. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error404CanNotSendToChan.mjs +0 -11
  690. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error405TooManyChannels.mjs +0 -11
  691. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error410InvalidCapCmd.mjs +0 -11
  692. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error421UnknownCommand.mjs +0 -17
  693. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error422NoMotd.mjs +0 -10
  694. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error431NoNickNameGiven.mjs +0 -16
  695. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error432ErroneusNickname.mjs +0 -17
  696. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error433NickNameInUse.mjs +0 -17
  697. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error436NickCollision.mjs +0 -17
  698. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error441UserNotInChannel.mjs +0 -18
  699. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error442NotOnChannel.mjs +0 -17
  700. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error443UserOnChannel.mjs +0 -18
  701. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error451NotRegistered.mjs +0 -10
  702. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error461NeedMoreParams.mjs +0 -11
  703. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error462AlreadyRegistered.mjs +0 -10
  704. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error471ChannelIsFull.mjs +0 -11
  705. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error472UnknownMode.mjs +0 -11
  706. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error473InviteOnlyChan.mjs +0 -11
  707. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error474BannedFromChan.mjs +0 -11
  708. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error475BadChannelKey.mjs +0 -11
  709. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error479BadChanName.mjs +0 -11
  710. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error481NoPrivileges.mjs +0 -10
  711. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error482ChanOpPrivsNeeded.mjs +0 -11
  712. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error491NoOperHost.mjs +0 -10
  713. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error501UmodeUnknownFlag.mjs +0 -11
  714. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error502UsersDontMatch.mjs +0 -10
  715. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply001Welcome.mjs +0 -12
  716. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply002YourHost.mjs +0 -10
  717. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply003Created.mjs +0 -10
  718. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply004ServerInfo.mjs +0 -16
  719. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply005Isupport.mjs +0 -11
  720. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply221UmodeIs.mjs +0 -10
  721. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply301Away.mjs +0 -11
  722. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply302UserHost.mjs +0 -10
  723. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply305UnAway.mjs +0 -10
  724. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply306NowAway.mjs +0 -10
  725. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply311WhoisUser.mjs +0 -14
  726. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply315EndOfWho.mjs +0 -18
  727. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply318EndOfWhois.mjs +0 -11
  728. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply319WhoisChannels.mjs +0 -11
  729. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply322List.mjs +0 -12
  730. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply323ListEnd.mjs +0 -10
  731. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply324ChannelModeIs.mjs +0 -11
  732. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply331NoTopic.mjs +0 -11
  733. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply332Topic.mjs +0 -11
  734. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply333TopicWhoTime.mjs +0 -12
  735. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply341Inviting.mjs +0 -11
  736. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply348ExceptList.mjs +0 -13
  737. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply349EndOfExceptList.mjs +0 -11
  738. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply352WhoReply.mjs +0 -38
  739. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply353NamesReply.mjs +0 -16
  740. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply366EndOfNames.mjs +0 -18
  741. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply367BanList.mjs +0 -13
  742. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply368EndOfBanList.mjs +0 -11
  743. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply372Motd.mjs +0 -10
  744. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply375MotdStart.mjs +0 -10
  745. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply376EndOfMotd.mjs +0 -10
  746. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply381YoureOper.mjs +0 -10
  747. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply391Time.mjs +0 -11
  748. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/index.mjs +0 -62
  749. package/node_modules/ircv3/es/Message/MessageTypes/index.mjs +0 -4
  750. package/node_modules/ircv3/es/ServerProperties.mjs +0 -22
  751. package/node_modules/ircv3/es/Toolkit/StringTools.mjs +0 -40
  752. package/node_modules/ircv3/es/index.mjs +0 -14
  753. package/node_modules/ircv3/lib/Capability/Capability.d.ts +0 -9
  754. package/node_modules/ircv3/lib/Capability/Capability.js +0 -2
  755. package/node_modules/ircv3/lib/Capability/CoreCapabilities/AwayNotifyCapability.d.ts +0 -2
  756. package/node_modules/ircv3/lib/Capability/CoreCapabilities/AwayNotifyCapability.js +0 -7
  757. package/node_modules/ircv3/lib/Capability/CoreCapabilities/BatchCapability/MessageTypes/Commands/Batch.d.ts +0 -13
  758. package/node_modules/ircv3/lib/Capability/CoreCapabilities/BatchCapability/MessageTypes/Commands/Batch.js +0 -15
  759. package/node_modules/ircv3/lib/Capability/CoreCapabilities/BatchCapability/index.d.ts +0 -2
  760. package/node_modules/ircv3/lib/Capability/CoreCapabilities/BatchCapability/index.js +0 -9
  761. package/node_modules/ircv3/lib/Capability/CoreCapabilities/CapNotifyCapability.d.ts +0 -2
  762. package/node_modules/ircv3/lib/Capability/CoreCapabilities/CapNotifyCapability.js +0 -7
  763. package/node_modules/ircv3/lib/Capability/CoreCapabilities/ChgHostCapability/MessageTypes/Commands/ChgHost.d.ts +0 -12
  764. package/node_modules/ircv3/lib/Capability/CoreCapabilities/ChgHostCapability/MessageTypes/Commands/ChgHost.js +0 -14
  765. package/node_modules/ircv3/lib/Capability/CoreCapabilities/ChgHostCapability/index.d.ts +0 -2
  766. package/node_modules/ircv3/lib/Capability/CoreCapabilities/ChgHostCapability/index.js +0 -8
  767. package/node_modules/ircv3/lib/Capability/CoreCapabilities/InviteNotifyCapability.d.ts +0 -2
  768. package/node_modules/ircv3/lib/Capability/CoreCapabilities/InviteNotifyCapability.js +0 -7
  769. package/node_modules/ircv3/lib/Capability/CoreCapabilities/LabeledResponseCapability/MessageTypes/Commands/Acknowledgement.d.ts +0 -4
  770. package/node_modules/ircv3/lib/Capability/CoreCapabilities/LabeledResponseCapability/MessageTypes/Commands/Acknowledgement.js +0 -8
  771. package/node_modules/ircv3/lib/Capability/CoreCapabilities/LabeledResponseCapability/index.d.ts +0 -2
  772. package/node_modules/ircv3/lib/Capability/CoreCapabilities/LabeledResponseCapability/index.js +0 -9
  773. package/node_modules/ircv3/lib/Capability/CoreCapabilities/MessageTagsCapability.d.ts +0 -2
  774. package/node_modules/ircv3/lib/Capability/CoreCapabilities/MessageTagsCapability.js +0 -8
  775. package/node_modules/ircv3/lib/Capability/CoreCapabilities/MultiPrefixCapability.d.ts +0 -2
  776. package/node_modules/ircv3/lib/Capability/CoreCapabilities/MultiPrefixCapability.js +0 -7
  777. package/node_modules/ircv3/lib/Capability/CoreCapabilities/index.d.ts +0 -8
  778. package/node_modules/ircv3/lib/Capability/CoreCapabilities/index.js +0 -19
  779. package/node_modules/ircv3/lib/Errors/MessageError.d.ts +0 -6
  780. package/node_modules/ircv3/lib/Errors/MessageError.js +0 -18
  781. package/node_modules/ircv3/lib/Errors/NotEnoughParametersError.d.ts +0 -9
  782. package/node_modules/ircv3/lib/Errors/NotEnoughParametersError.js +0 -26
  783. package/node_modules/ircv3/lib/Errors/ParameterRequirementMismatchError.d.ts +0 -12
  784. package/node_modules/ircv3/lib/Errors/ParameterRequirementMismatchError.js +0 -31
  785. package/node_modules/ircv3/lib/Errors/UnknownChannelModeCharError.d.ts +0 -5
  786. package/node_modules/ircv3/lib/Errors/UnknownChannelModeCharError.js +0 -18
  787. package/node_modules/ircv3/lib/IrcClient.d.ts +0 -154
  788. package/node_modules/ircv3/lib/IrcClient.js +0 -642
  789. package/node_modules/ircv3/lib/Message/Message.d.ts +0 -88
  790. package/node_modules/ircv3/lib/Message/Message.js +0 -297
  791. package/node_modules/ircv3/lib/Message/MessageCollector.d.ts +0 -20
  792. package/node_modules/ircv3/lib/Message/MessageCollector.js +0 -53
  793. package/node_modules/ircv3/lib/Message/MessageParser.d.ts +0 -5
  794. package/node_modules/ircv3/lib/Message/MessageParser.js +0 -104
  795. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Away.d.ts +0 -11
  796. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Away.js +0 -16
  797. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/CapabilityNegotiation.d.ts +0 -18
  798. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/CapabilityNegotiation.js +0 -55
  799. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelInvite.d.ts +0 -12
  800. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelInvite.js +0 -14
  801. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelJoin.d.ts +0 -12
  802. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelJoin.js +0 -14
  803. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelKick.d.ts +0 -13
  804. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelKick.js +0 -15
  805. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelList.d.ts +0 -12
  806. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelList.js +0 -14
  807. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelPart.d.ts +0 -12
  808. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelPart.js +0 -14
  809. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ClientQuit.d.ts +0 -11
  810. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ClientQuit.js +0 -13
  811. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ErrorMessage.d.ts +0 -11
  812. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ErrorMessage.js +0 -13
  813. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/IsOnQuery.d.ts +0 -11
  814. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/IsOnQuery.js +0 -13
  815. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Kill.d.ts +0 -12
  816. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Kill.js +0 -14
  817. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Mode.d.ts +0 -22
  818. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Mode.js +0 -87
  819. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Names.d.ts +0 -12
  820. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Names.js +0 -14
  821. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/NickChange.d.ts +0 -11
  822. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/NickChange.js +0 -13
  823. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Notice.d.ts +0 -12
  824. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Notice.js +0 -14
  825. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/OperLogin.d.ts +0 -12
  826. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/OperLogin.js +0 -14
  827. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Password.d.ts +0 -11
  828. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Password.js +0 -13
  829. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Ping.d.ts +0 -11
  830. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Ping.js +0 -13
  831. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Pong.d.ts +0 -12
  832. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Pong.js +0 -14
  833. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/PrivateMessage.d.ts +0 -12
  834. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/PrivateMessage.js +0 -14
  835. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Rehash.d.ts +0 -4
  836. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Rehash.js +0 -8
  837. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Restart.d.ts +0 -4
  838. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Restart.js +0 -8
  839. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ServerQuit.d.ts +0 -12
  840. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ServerQuit.js +0 -14
  841. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/TagMessage.d.ts +0 -11
  842. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/TagMessage.js +0 -13
  843. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Time.d.ts +0 -11
  844. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Time.js +0 -13
  845. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Topic.d.ts +0 -12
  846. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Topic.js +0 -14
  847. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/UserHostQuery.d.ts +0 -11
  848. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/UserHostQuery.js +0 -13
  849. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/UserRegistration.d.ts +0 -14
  850. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/UserRegistration.js +0 -16
  851. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WallopsMessage.d.ts +0 -11
  852. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WallopsMessage.js +0 -13
  853. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WhoIsQuery.d.ts +0 -12
  854. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WhoIsQuery.js +0 -14
  855. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WhoQuery.d.ts +0 -13
  856. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WhoQuery.js +0 -15
  857. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WhoWasQuery.d.ts +0 -13
  858. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WhoWasQuery.js +0 -15
  859. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/index.d.ts +0 -32
  860. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/index.js +0 -126
  861. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error401NoSuchNick.d.ts +0 -13
  862. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error401NoSuchNick.js +0 -15
  863. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error402NoSuchServer.d.ts +0 -13
  864. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error402NoSuchServer.js +0 -15
  865. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error403NoSuchChannel.d.ts +0 -13
  866. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error403NoSuchChannel.js +0 -15
  867. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error404CanNotSendToChan.d.ts +0 -13
  868. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error404CanNotSendToChan.js +0 -15
  869. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error405TooManyChannels.d.ts +0 -13
  870. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error405TooManyChannels.js +0 -15
  871. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error410InvalidCapCmd.d.ts +0 -13
  872. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error410InvalidCapCmd.js +0 -15
  873. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error421UnknownCommand.d.ts +0 -15
  874. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error421UnknownCommand.js +0 -21
  875. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error422NoMotd.d.ts +0 -12
  876. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error422NoMotd.js +0 -14
  877. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error431NoNickNameGiven.d.ts +0 -14
  878. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error431NoNickNameGiven.js +0 -20
  879. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error432ErroneusNickname.d.ts +0 -15
  880. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error432ErroneusNickname.js +0 -21
  881. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error433NickNameInUse.d.ts +0 -15
  882. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error433NickNameInUse.js +0 -21
  883. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error436NickCollision.d.ts +0 -15
  884. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error436NickCollision.js +0 -21
  885. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error441UserNotInChannel.d.ts +0 -16
  886. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error441UserNotInChannel.js +0 -22
  887. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error442NotOnChannel.d.ts +0 -15
  888. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error442NotOnChannel.js +0 -21
  889. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error443UserOnChannel.d.ts +0 -16
  890. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error443UserOnChannel.js +0 -22
  891. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error451NotRegistered.d.ts +0 -12
  892. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error451NotRegistered.js +0 -14
  893. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error461NeedMoreParams.d.ts +0 -13
  894. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error461NeedMoreParams.js +0 -15
  895. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error462AlreadyRegistered.d.ts +0 -12
  896. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error462AlreadyRegistered.js +0 -14
  897. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error471ChannelIsFull.d.ts +0 -13
  898. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error471ChannelIsFull.js +0 -15
  899. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error472UnknownMode.d.ts +0 -13
  900. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error472UnknownMode.js +0 -15
  901. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error473InviteOnlyChan.d.ts +0 -13
  902. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error473InviteOnlyChan.js +0 -15
  903. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error474BannedFromChan.d.ts +0 -13
  904. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error474BannedFromChan.js +0 -15
  905. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error475BadChannelKey.d.ts +0 -13
  906. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error475BadChannelKey.js +0 -15
  907. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error479BadChanName.d.ts +0 -13
  908. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error479BadChanName.js +0 -15
  909. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error481NoPrivileges.d.ts +0 -12
  910. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error481NoPrivileges.js +0 -14
  911. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error482ChanOpPrivsNeeded.d.ts +0 -13
  912. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error482ChanOpPrivsNeeded.js +0 -15
  913. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error491NoOperHost.d.ts +0 -12
  914. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error491NoOperHost.js +0 -14
  915. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error501UmodeUnknownFlag.d.ts +0 -13
  916. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error501UmodeUnknownFlag.js +0 -15
  917. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error502UsersDontMatch.d.ts +0 -12
  918. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error502UsersDontMatch.js +0 -14
  919. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply001Welcome.d.ts +0 -12
  920. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply001Welcome.js +0 -16
  921. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply002YourHost.d.ts +0 -12
  922. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply002YourHost.js +0 -14
  923. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply003Created.d.ts +0 -12
  924. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply003Created.js +0 -14
  925. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply004ServerInfo.d.ts +0 -16
  926. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply004ServerInfo.js +0 -20
  927. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply005Isupport.d.ts +0 -13
  928. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply005Isupport.js +0 -15
  929. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply221UmodeIs.d.ts +0 -12
  930. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply221UmodeIs.js +0 -14
  931. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply301Away.d.ts +0 -13
  932. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply301Away.js +0 -15
  933. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply302UserHost.d.ts +0 -12
  934. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply302UserHost.js +0 -14
  935. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply305UnAway.d.ts +0 -12
  936. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply305UnAway.js +0 -14
  937. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply306NowAway.d.ts +0 -12
  938. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply306NowAway.js +0 -14
  939. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply311WhoisUser.d.ts +0 -16
  940. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply311WhoisUser.js +0 -18
  941. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply315EndOfWho.d.ts +0 -15
  942. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply315EndOfWho.js +0 -22
  943. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply318EndOfWhois.d.ts +0 -13
  944. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply318EndOfWhois.js +0 -15
  945. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply319WhoisChannels.d.ts +0 -13
  946. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply319WhoisChannels.js +0 -15
  947. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply322List.d.ts +0 -14
  948. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply322List.js +0 -16
  949. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply323ListEnd.d.ts +0 -12
  950. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply323ListEnd.js +0 -14
  951. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply324ChannelModeIs.d.ts +0 -13
  952. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply324ChannelModeIs.js +0 -15
  953. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply331NoTopic.d.ts +0 -13
  954. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply331NoTopic.js +0 -15
  955. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply332Topic.d.ts +0 -13
  956. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply332Topic.js +0 -15
  957. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply333TopicWhoTime.d.ts +0 -14
  958. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply333TopicWhoTime.js +0 -16
  959. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply341Inviting.d.ts +0 -13
  960. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply341Inviting.js +0 -15
  961. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply348ExceptList.d.ts +0 -15
  962. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply348ExceptList.js +0 -17
  963. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply349EndOfExceptList.d.ts +0 -13
  964. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply349EndOfExceptList.js +0 -15
  965. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply352WhoReply.d.ts +0 -31
  966. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply352WhoReply.js +0 -42
  967. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply353NamesReply.d.ts +0 -15
  968. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply353NamesReply.js +0 -20
  969. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply366EndOfNames.d.ts +0 -15
  970. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply366EndOfNames.js +0 -22
  971. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply367BanList.d.ts +0 -15
  972. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply367BanList.js +0 -17
  973. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply368EndOfBanList.d.ts +0 -13
  974. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply368EndOfBanList.js +0 -15
  975. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply372Motd.d.ts +0 -12
  976. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply372Motd.js +0 -14
  977. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply375MotdStart.d.ts +0 -12
  978. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply375MotdStart.js +0 -14
  979. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply376EndOfMotd.d.ts +0 -12
  980. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply376EndOfMotd.js +0 -14
  981. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply381YoureOper.d.ts +0 -12
  982. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply381YoureOper.js +0 -14
  983. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply391Time.d.ts +0 -13
  984. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply391Time.js +0 -15
  985. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/index.d.ts +0 -62
  986. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/index.js +0 -128
  987. package/node_modules/ircv3/lib/Message/MessageTypes/index.d.ts +0 -5
  988. package/node_modules/ircv3/lib/Message/MessageTypes/index.js +0 -8
  989. package/node_modules/ircv3/lib/ServerProperties.d.ts +0 -18
  990. package/node_modules/ircv3/lib/ServerProperties.js +0 -25
  991. package/node_modules/ircv3/lib/Toolkit/StringTools.d.ts +0 -7
  992. package/node_modules/ircv3/lib/Toolkit/StringTools.js +0 -46
  993. package/node_modules/ircv3/lib/index.d.ts +0 -20
  994. package/node_modules/ircv3/lib/index.js +0 -34
  995. package/node_modules/ircv3/package.json +0 -67
  996. package/node_modules/klona/dist/index.js +0 -83
  997. package/node_modules/klona/dist/index.min.js +0 -1
  998. package/node_modules/klona/dist/index.mjs +0 -81
  999. package/node_modules/klona/full/index.d.ts +0 -1
  1000. package/node_modules/klona/full/index.js +0 -55
  1001. package/node_modules/klona/full/index.min.js +0 -1
  1002. package/node_modules/klona/full/index.mjs +0 -53
  1003. package/node_modules/klona/index.d.ts +0 -1
  1004. package/node_modules/klona/json/index.d.ts +0 -1
  1005. package/node_modules/klona/json/index.js +0 -30
  1006. package/node_modules/klona/json/index.min.js +0 -1
  1007. package/node_modules/klona/json/index.mjs +0 -28
  1008. package/node_modules/klona/license +0 -9
  1009. package/node_modules/klona/lite/index.d.ts +0 -1
  1010. package/node_modules/klona/lite/index.js +0 -53
  1011. package/node_modules/klona/lite/index.min.js +0 -1
  1012. package/node_modules/klona/lite/index.mjs +0 -51
  1013. package/node_modules/klona/package.json +0 -74
  1014. package/node_modules/klona/readme.md +0 -213
  1015. package/node_modules/tslib/CopyrightNotice.txt +0 -15
  1016. package/node_modules/tslib/LICENSE.txt +0 -12
  1017. package/node_modules/tslib/README.md +0 -164
  1018. package/node_modules/tslib/SECURITY.md +0 -41
  1019. package/node_modules/tslib/modules/index.d.ts +0 -38
  1020. package/node_modules/tslib/modules/index.js +0 -70
  1021. package/node_modules/tslib/modules/package.json +0 -3
  1022. package/node_modules/tslib/package.json +0 -47
  1023. package/node_modules/tslib/tslib.d.ts +0 -460
  1024. package/node_modules/tslib/tslib.es6.html +0 -1
  1025. package/node_modules/tslib/tslib.es6.js +0 -402
  1026. package/node_modules/tslib/tslib.es6.mjs +0 -401
  1027. package/node_modules/tslib/tslib.html +0 -1
  1028. package/node_modules/tslib/tslib.js +0 -484
  1029. package/node_modules/undici-types/LICENSE +0 -21
  1030. package/node_modules/undici-types/README.md +0 -6
  1031. package/node_modules/undici-types/agent.d.ts +0 -31
  1032. package/node_modules/undici-types/api.d.ts +0 -43
  1033. package/node_modules/undici-types/balanced-pool.d.ts +0 -29
  1034. package/node_modules/undici-types/cache.d.ts +0 -36
  1035. package/node_modules/undici-types/client.d.ts +0 -108
  1036. package/node_modules/undici-types/connector.d.ts +0 -34
  1037. package/node_modules/undici-types/content-type.d.ts +0 -21
  1038. package/node_modules/undici-types/cookies.d.ts +0 -28
  1039. package/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  1040. package/node_modules/undici-types/dispatcher.d.ts +0 -256
  1041. package/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  1042. package/node_modules/undici-types/errors.d.ts +0 -149
  1043. package/node_modules/undici-types/eventsource.d.ts +0 -61
  1044. package/node_modules/undici-types/fetch.d.ts +0 -209
  1045. package/node_modules/undici-types/file.d.ts +0 -39
  1046. package/node_modules/undici-types/filereader.d.ts +0 -54
  1047. package/node_modules/undici-types/formdata.d.ts +0 -108
  1048. package/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  1049. package/node_modules/undici-types/global-origin.d.ts +0 -7
  1050. package/node_modules/undici-types/handlers.d.ts +0 -15
  1051. package/node_modules/undici-types/header.d.ts +0 -4
  1052. package/node_modules/undici-types/index.d.ts +0 -71
  1053. package/node_modules/undici-types/interceptors.d.ts +0 -17
  1054. package/node_modules/undici-types/mock-agent.d.ts +0 -50
  1055. package/node_modules/undici-types/mock-client.d.ts +0 -25
  1056. package/node_modules/undici-types/mock-errors.d.ts +0 -12
  1057. package/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  1058. package/node_modules/undici-types/mock-pool.d.ts +0 -25
  1059. package/node_modules/undici-types/package.json +0 -55
  1060. package/node_modules/undici-types/patch.d.ts +0 -33
  1061. package/node_modules/undici-types/pool-stats.d.ts +0 -19
  1062. package/node_modules/undici-types/pool.d.ts +0 -39
  1063. package/node_modules/undici-types/proxy-agent.d.ts +0 -28
  1064. package/node_modules/undici-types/readable.d.ts +0 -65
  1065. package/node_modules/undici-types/retry-agent.d.ts +0 -8
  1066. package/node_modules/undici-types/retry-handler.d.ts +0 -116
  1067. package/node_modules/undici-types/util.d.ts +0 -18
  1068. package/node_modules/undici-types/webidl.d.ts +0 -228
  1069. package/node_modules/undici-types/websocket.d.ts +0 -150
  1070. package/node_modules/ws/LICENSE +0 -20
  1071. package/node_modules/ws/README.md +0 -548
  1072. package/node_modules/ws/browser.js +0 -8
  1073. package/node_modules/ws/index.js +0 -22
  1074. package/node_modules/ws/lib/buffer-util.js +0 -131
  1075. package/node_modules/ws/lib/constants.js +0 -19
  1076. package/node_modules/ws/lib/event-target.js +0 -292
  1077. package/node_modules/ws/lib/extension.js +0 -203
  1078. package/node_modules/ws/lib/limiter.js +0 -55
  1079. package/node_modules/ws/lib/permessage-deflate.js +0 -528
  1080. package/node_modules/ws/lib/receiver.js +0 -743
  1081. package/node_modules/ws/lib/sender.js +0 -607
  1082. package/node_modules/ws/lib/stream.js +0 -161
  1083. package/node_modules/ws/lib/subprotocol.js +0 -62
  1084. package/node_modules/ws/lib/validation.js +0 -152
  1085. package/node_modules/ws/lib/websocket-server.js +0 -562
  1086. package/node_modules/ws/lib/websocket.js +0 -1407
  1087. package/node_modules/ws/package.json +0 -74
  1088. package/node_modules/ws/wrapper.mjs +0 -21
  1089. package/node_modules/zod/LICENSE +0 -21
  1090. package/node_modules/zod/README.md +0 -191
  1091. package/node_modules/zod/index.cjs +0 -33
  1092. package/node_modules/zod/index.d.cts +0 -4
  1093. package/node_modules/zod/index.d.ts +0 -4
  1094. package/node_modules/zod/index.js +0 -4
  1095. package/node_modules/zod/locales/index.cjs +0 -17
  1096. package/node_modules/zod/locales/index.d.cts +0 -1
  1097. package/node_modules/zod/locales/index.d.ts +0 -1
  1098. package/node_modules/zod/locales/index.js +0 -1
  1099. package/node_modules/zod/locales/package.json +0 -7
  1100. package/node_modules/zod/mini/index.cjs +0 -32
  1101. package/node_modules/zod/mini/index.d.cts +0 -3
  1102. package/node_modules/zod/mini/index.d.ts +0 -3
  1103. package/node_modules/zod/mini/index.js +0 -3
  1104. package/node_modules/zod/mini/package.json +0 -7
  1105. package/node_modules/zod/package.json +0 -135
  1106. package/node_modules/zod/src/index.ts +0 -4
  1107. package/node_modules/zod/src/locales/index.ts +0 -1
  1108. package/node_modules/zod/src/mini/index.ts +0 -3
  1109. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  1110. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  1111. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  1112. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  1113. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  1114. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  1115. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  1116. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  1117. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  1118. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  1119. package/node_modules/zod/src/v3/errors.ts +0 -13
  1120. package/node_modules/zod/src/v3/external.ts +0 -6
  1121. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  1122. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  1123. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  1124. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  1125. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  1126. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  1127. package/node_modules/zod/src/v3/index.ts +0 -4
  1128. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  1129. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  1130. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  1131. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  1132. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  1133. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  1134. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  1135. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  1136. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  1137. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  1138. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  1139. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  1140. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  1141. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  1142. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  1143. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  1144. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  1145. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  1146. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  1147. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  1148. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  1149. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  1150. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  1151. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  1152. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  1153. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  1154. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  1155. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  1156. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  1157. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  1158. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  1159. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  1160. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  1161. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  1162. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  1163. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  1164. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  1165. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  1166. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  1167. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  1168. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  1169. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  1170. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  1171. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  1172. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  1173. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  1174. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  1175. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  1176. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  1177. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  1178. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  1179. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  1180. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  1181. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  1182. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  1183. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  1184. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  1185. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  1186. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  1187. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  1188. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  1189. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  1190. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  1191. package/node_modules/zod/src/v3/types.ts +0 -5138
  1192. package/node_modules/zod/src/v4/classic/checks.ts +0 -32
  1193. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  1194. package/node_modules/zod/src/v4/classic/compat.ts +0 -70
  1195. package/node_modules/zod/src/v4/classic/errors.ts +0 -82
  1196. package/node_modules/zod/src/v4/classic/external.ts +0 -52
  1197. package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -659
  1198. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  1199. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  1200. package/node_modules/zod/src/v4/classic/parse.ts +0 -82
  1201. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2672
  1202. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  1203. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
  1204. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  1205. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -216
  1206. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  1207. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  1208. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  1209. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  1210. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  1211. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -326
  1212. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  1213. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
  1214. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -703
  1215. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  1216. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  1217. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  1218. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
  1219. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
  1220. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -409
  1221. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  1222. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  1223. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
  1224. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -694
  1225. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  1226. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -807
  1227. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  1228. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  1229. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  1230. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  1231. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -895
  1232. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
  1233. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  1234. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
  1235. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
  1236. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
  1237. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
  1238. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
  1239. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
  1240. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  1241. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  1242. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
  1243. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  1244. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  1245. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
  1246. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  1247. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  1248. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  1249. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  1250. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -325
  1251. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -717
  1252. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -333
  1253. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -450
  1254. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  1255. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  1256. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
  1257. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
  1258. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  1259. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  1260. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  1261. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  1262. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  1263. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -717
  1264. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -631
  1265. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -633
  1266. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  1267. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
  1268. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
  1269. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  1270. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1224
  1271. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
  1272. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
  1273. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  1274. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -3125
  1275. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  1276. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
  1277. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -273
  1278. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  1279. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  1280. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  1281. package/node_modules/zod/src/v4/core/api.ts +0 -1823
  1282. package/node_modules/zod/src/v4/core/checks.ts +0 -1293
  1283. package/node_modules/zod/src/v4/core/config.ts +0 -15
  1284. package/node_modules/zod/src/v4/core/core.ts +0 -153
  1285. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  1286. package/node_modules/zod/src/v4/core/errors.ts +0 -455
  1287. package/node_modules/zod/src/v4/core/index.ts +0 -16
  1288. package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
  1289. package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -666
  1290. package/node_modules/zod/src/v4/core/json-schema.ts +0 -147
  1291. package/node_modules/zod/src/v4/core/parse.ts +0 -195
  1292. package/node_modules/zod/src/v4/core/regexes.ts +0 -190
  1293. package/node_modules/zod/src/v4/core/registries.ts +0 -105
  1294. package/node_modules/zod/src/v4/core/schemas.ts +0 -4730
  1295. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  1296. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  1297. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  1298. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  1299. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
  1300. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  1301. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
  1302. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  1303. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  1304. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  1305. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  1306. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  1307. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  1308. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  1309. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  1310. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  1311. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -622
  1312. package/node_modules/zod/src/v4/core/util.ts +0 -983
  1313. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  1314. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  1315. package/node_modules/zod/src/v4/index.ts +0 -4
  1316. package/node_modules/zod/src/v4/locales/ar.ts +0 -115
  1317. package/node_modules/zod/src/v4/locales/az.ts +0 -111
  1318. package/node_modules/zod/src/v4/locales/be.ts +0 -176
  1319. package/node_modules/zod/src/v4/locales/bg.ts +0 -128
  1320. package/node_modules/zod/src/v4/locales/ca.ts +0 -116
  1321. package/node_modules/zod/src/v4/locales/cs.ts +0 -118
  1322. package/node_modules/zod/src/v4/locales/da.ts +0 -123
  1323. package/node_modules/zod/src/v4/locales/de.ts +0 -116
  1324. package/node_modules/zod/src/v4/locales/el.ts +0 -121
  1325. package/node_modules/zod/src/v4/locales/en.ts +0 -123
  1326. package/node_modules/zod/src/v4/locales/eo.ts +0 -118
  1327. package/node_modules/zod/src/v4/locales/es.ts +0 -141
  1328. package/node_modules/zod/src/v4/locales/fa.ts +0 -126
  1329. package/node_modules/zod/src/v4/locales/fi.ts +0 -121
  1330. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
  1331. package/node_modules/zod/src/v4/locales/fr.ts +0 -132
  1332. package/node_modules/zod/src/v4/locales/he.ts +0 -246
  1333. package/node_modules/zod/src/v4/locales/hr.ts +0 -131
  1334. package/node_modules/zod/src/v4/locales/hu.ts +0 -117
  1335. package/node_modules/zod/src/v4/locales/hy.ts +0 -164
  1336. package/node_modules/zod/src/v4/locales/id.ts +0 -115
  1337. package/node_modules/zod/src/v4/locales/index.ts +0 -52
  1338. package/node_modules/zod/src/v4/locales/is.ts +0 -119
  1339. package/node_modules/zod/src/v4/locales/it.ts +0 -116
  1340. package/node_modules/zod/src/v4/locales/ja.ts +0 -114
  1341. package/node_modules/zod/src/v4/locales/ka.ts +0 -123
  1342. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  1343. package/node_modules/zod/src/v4/locales/km.ts +0 -119
  1344. package/node_modules/zod/src/v4/locales/ko.ts +0 -121
  1345. package/node_modules/zod/src/v4/locales/lt.ts +0 -239
  1346. package/node_modules/zod/src/v4/locales/mk.ts +0 -118
  1347. package/node_modules/zod/src/v4/locales/ms.ts +0 -115
  1348. package/node_modules/zod/src/v4/locales/nl.ts +0 -121
  1349. package/node_modules/zod/src/v4/locales/no.ts +0 -116
  1350. package/node_modules/zod/src/v4/locales/ota.ts +0 -117
  1351. package/node_modules/zod/src/v4/locales/pl.ts +0 -118
  1352. package/node_modules/zod/src/v4/locales/ps.ts +0 -126
  1353. package/node_modules/zod/src/v4/locales/pt.ts +0 -116
  1354. package/node_modules/zod/src/v4/locales/ro.ts +0 -129
  1355. package/node_modules/zod/src/v4/locales/ru.ts +0 -176
  1356. package/node_modules/zod/src/v4/locales/sl.ts +0 -118
  1357. package/node_modules/zod/src/v4/locales/sv.ts +0 -119
  1358. package/node_modules/zod/src/v4/locales/ta.ts +0 -118
  1359. package/node_modules/zod/src/v4/locales/th.ts +0 -119
  1360. package/node_modules/zod/src/v4/locales/tr.ts +0 -111
  1361. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  1362. package/node_modules/zod/src/v4/locales/uk.ts +0 -117
  1363. package/node_modules/zod/src/v4/locales/ur.ts +0 -119
  1364. package/node_modules/zod/src/v4/locales/uz.ts +0 -117
  1365. package/node_modules/zod/src/v4/locales/vi.ts +0 -117
  1366. package/node_modules/zod/src/v4/locales/yo.ts +0 -124
  1367. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
  1368. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
  1369. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  1370. package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  1371. package/node_modules/zod/src/v4/mini/external.ts +0 -41
  1372. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  1373. package/node_modules/zod/src/v4/mini/iso.ts +0 -66
  1374. package/node_modules/zod/src/v4/mini/parse.ts +0 -14
  1375. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1947
  1376. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
  1377. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  1378. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  1379. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  1380. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -548
  1381. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  1382. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  1383. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
  1384. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -993
  1385. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  1386. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
  1387. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  1388. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -325
  1389. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  1390. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -352
  1391. package/node_modules/zod/src/v4-mini/index.ts +0 -3
  1392. package/node_modules/zod/v3/ZodError.cjs +0 -138
  1393. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  1394. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  1395. package/node_modules/zod/v3/ZodError.js +0 -133
  1396. package/node_modules/zod/v3/errors.cjs +0 -17
  1397. package/node_modules/zod/v3/errors.d.cts +0 -5
  1398. package/node_modules/zod/v3/errors.d.ts +0 -5
  1399. package/node_modules/zod/v3/errors.js +0 -9
  1400. package/node_modules/zod/v3/external.cjs +0 -22
  1401. package/node_modules/zod/v3/external.d.cts +0 -6
  1402. package/node_modules/zod/v3/external.d.ts +0 -6
  1403. package/node_modules/zod/v3/external.js +0 -6
  1404. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  1405. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  1406. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  1407. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  1408. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  1409. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  1410. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  1411. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  1412. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  1413. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  1414. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  1415. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  1416. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  1417. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  1418. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  1419. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  1420. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  1421. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  1422. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  1423. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  1424. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  1425. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  1426. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  1427. package/node_modules/zod/v3/helpers/util.js +0 -133
  1428. package/node_modules/zod/v3/index.cjs +0 -33
  1429. package/node_modules/zod/v3/index.d.cts +0 -4
  1430. package/node_modules/zod/v3/index.d.ts +0 -4
  1431. package/node_modules/zod/v3/index.js +0 -4
  1432. package/node_modules/zod/v3/locales/en.cjs +0 -112
  1433. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  1434. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  1435. package/node_modules/zod/v3/locales/en.js +0 -109
  1436. package/node_modules/zod/v3/package.json +0 -7
  1437. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  1438. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  1439. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  1440. package/node_modules/zod/v3/standard-schema.js +0 -1
  1441. package/node_modules/zod/v3/types.cjs +0 -3777
  1442. package/node_modules/zod/v3/types.d.cts +0 -1034
  1443. package/node_modules/zod/v3/types.d.ts +0 -1034
  1444. package/node_modules/zod/v3/types.js +0 -3695
  1445. package/node_modules/zod/v4/classic/checks.cjs +0 -33
  1446. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  1447. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  1448. package/node_modules/zod/v4/classic/checks.js +0 -1
  1449. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  1450. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  1451. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  1452. package/node_modules/zod/v4/classic/coerce.js +0 -17
  1453. package/node_modules/zod/v4/classic/compat.cjs +0 -61
  1454. package/node_modules/zod/v4/classic/compat.d.cts +0 -50
  1455. package/node_modules/zod/v4/classic/compat.d.ts +0 -50
  1456. package/node_modules/zod/v4/classic/compat.js +0 -31
  1457. package/node_modules/zod/v4/classic/errors.cjs +0 -74
  1458. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  1459. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  1460. package/node_modules/zod/v4/classic/errors.js +0 -48
  1461. package/node_modules/zod/v4/classic/external.cjs +0 -73
  1462. package/node_modules/zod/v4/classic/external.d.cts +0 -16
  1463. package/node_modules/zod/v4/classic/external.d.ts +0 -16
  1464. package/node_modules/zod/v4/classic/external.js +0 -20
  1465. package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -625
  1466. package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  1467. package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  1468. package/node_modules/zod/v4/classic/from-json-schema.js +0 -599
  1469. package/node_modules/zod/v4/classic/index.cjs +0 -33
  1470. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  1471. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  1472. package/node_modules/zod/v4/classic/index.js +0 -4
  1473. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  1474. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  1475. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  1476. package/node_modules/zod/v4/classic/iso.js +0 -30
  1477. package/node_modules/zod/v4/classic/package.json +0 -7
  1478. package/node_modules/zod/v4/classic/parse.cjs +0 -41
  1479. package/node_modules/zod/v4/classic/parse.d.cts +0 -31
  1480. package/node_modules/zod/v4/classic/parse.d.ts +0 -31
  1481. package/node_modules/zod/v4/classic/parse.js +0 -15
  1482. package/node_modules/zod/v4/classic/schemas.cjs +0 -1511
  1483. package/node_modules/zod/v4/classic/schemas.d.cts +0 -767
  1484. package/node_modules/zod/v4/classic/schemas.d.ts +0 -767
  1485. package/node_modules/zod/v4/classic/schemas.js +0 -1395
  1486. package/node_modules/zod/v4/core/api.cjs +0 -1227
  1487. package/node_modules/zod/v4/core/api.d.cts +0 -325
  1488. package/node_modules/zod/v4/core/api.d.ts +0 -325
  1489. package/node_modules/zod/v4/core/api.js +0 -1087
  1490. package/node_modules/zod/v4/core/checks.cjs +0 -601
  1491. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  1492. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  1493. package/node_modules/zod/v4/core/checks.js +0 -575
  1494. package/node_modules/zod/v4/core/core.cjs +0 -85
  1495. package/node_modules/zod/v4/core/core.d.cts +0 -70
  1496. package/node_modules/zod/v4/core/core.d.ts +0 -70
  1497. package/node_modules/zod/v4/core/core.js +0 -78
  1498. package/node_modules/zod/v4/core/doc.cjs +0 -39
  1499. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  1500. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  1501. package/node_modules/zod/v4/core/doc.js +0 -35
  1502. package/node_modules/zod/v4/core/errors.cjs +0 -216
  1503. package/node_modules/zod/v4/core/errors.d.cts +0 -221
  1504. package/node_modules/zod/v4/core/errors.d.ts +0 -221
  1505. package/node_modules/zod/v4/core/errors.js +0 -185
  1506. package/node_modules/zod/v4/core/index.cjs +0 -47
  1507. package/node_modules/zod/v4/core/index.d.cts +0 -16
  1508. package/node_modules/zod/v4/core/index.d.ts +0 -16
  1509. package/node_modules/zod/v4/core/index.js +0 -16
  1510. package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
  1511. package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  1512. package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  1513. package/node_modules/zod/v4/core/json-schema-generator.js +0 -95
  1514. package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -644
  1515. package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
  1516. package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
  1517. package/node_modules/zod/v4/core/json-schema-processors.js +0 -601
  1518. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  1519. package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
  1520. package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
  1521. package/node_modules/zod/v4/core/json-schema.js +0 -1
  1522. package/node_modules/zod/v4/core/package.json +0 -7
  1523. package/node_modules/zod/v4/core/parse.cjs +0 -131
  1524. package/node_modules/zod/v4/core/parse.d.cts +0 -49
  1525. package/node_modules/zod/v4/core/parse.d.ts +0 -49
  1526. package/node_modules/zod/v4/core/parse.js +0 -93
  1527. package/node_modules/zod/v4/core/regexes.cjs +0 -172
  1528. package/node_modules/zod/v4/core/regexes.d.cts +0 -85
  1529. package/node_modules/zod/v4/core/regexes.d.ts +0 -85
  1530. package/node_modules/zod/v4/core/regexes.js +0 -139
  1531. package/node_modules/zod/v4/core/registries.cjs +0 -56
  1532. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  1533. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  1534. package/node_modules/zod/v4/core/registries.js +0 -51
  1535. package/node_modules/zod/v4/core/schemas.cjs +0 -2270
  1536. package/node_modules/zod/v4/core/schemas.d.cts +0 -1184
  1537. package/node_modules/zod/v4/core/schemas.d.ts +0 -1184
  1538. package/node_modules/zod/v4/core/schemas.js +0 -2239
  1539. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  1540. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  1541. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  1542. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  1543. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -457
  1544. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
  1545. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
  1546. package/node_modules/zod/v4/core/to-json-schema.js +0 -448
  1547. package/node_modules/zod/v4/core/util.cjs +0 -734
  1548. package/node_modules/zod/v4/core/util.d.cts +0 -200
  1549. package/node_modules/zod/v4/core/util.d.ts +0 -200
  1550. package/node_modules/zod/v4/core/util.js +0 -674
  1551. package/node_modules/zod/v4/core/versions.cjs +0 -8
  1552. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  1553. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  1554. package/node_modules/zod/v4/core/versions.js +0 -5
  1555. package/node_modules/zod/v4/index.cjs +0 -22
  1556. package/node_modules/zod/v4/index.d.cts +0 -3
  1557. package/node_modules/zod/v4/index.d.ts +0 -3
  1558. package/node_modules/zod/v4/index.js +0 -3
  1559. package/node_modules/zod/v4/locales/ar.cjs +0 -133
  1560. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  1561. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  1562. package/node_modules/zod/v4/locales/ar.js +0 -106
  1563. package/node_modules/zod/v4/locales/az.cjs +0 -132
  1564. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  1565. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  1566. package/node_modules/zod/v4/locales/az.js +0 -105
  1567. package/node_modules/zod/v4/locales/be.cjs +0 -183
  1568. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  1569. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  1570. package/node_modules/zod/v4/locales/be.js +0 -156
  1571. package/node_modules/zod/v4/locales/bg.cjs +0 -147
  1572. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  1573. package/node_modules/zod/v4/locales/bg.d.ts +0 -4
  1574. package/node_modules/zod/v4/locales/bg.js +0 -120
  1575. package/node_modules/zod/v4/locales/ca.cjs +0 -134
  1576. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  1577. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  1578. package/node_modules/zod/v4/locales/ca.js +0 -107
  1579. package/node_modules/zod/v4/locales/cs.cjs +0 -138
  1580. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  1581. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  1582. package/node_modules/zod/v4/locales/cs.js +0 -111
  1583. package/node_modules/zod/v4/locales/da.cjs +0 -142
  1584. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  1585. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  1586. package/node_modules/zod/v4/locales/da.js +0 -115
  1587. package/node_modules/zod/v4/locales/de.cjs +0 -135
  1588. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  1589. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  1590. package/node_modules/zod/v4/locales/de.js +0 -108
  1591. package/node_modules/zod/v4/locales/el.cjs +0 -136
  1592. package/node_modules/zod/v4/locales/el.d.cts +0 -5
  1593. package/node_modules/zod/v4/locales/el.d.ts +0 -4
  1594. package/node_modules/zod/v4/locales/el.js +0 -109
  1595. package/node_modules/zod/v4/locales/en.cjs +0 -140
  1596. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  1597. package/node_modules/zod/v4/locales/en.d.ts +0 -4
  1598. package/node_modules/zod/v4/locales/en.js +0 -113
  1599. package/node_modules/zod/v4/locales/eo.cjs +0 -136
  1600. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  1601. package/node_modules/zod/v4/locales/eo.d.ts +0 -4
  1602. package/node_modules/zod/v4/locales/eo.js +0 -109
  1603. package/node_modules/zod/v4/locales/es.cjs +0 -159
  1604. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  1605. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  1606. package/node_modules/zod/v4/locales/es.js +0 -132
  1607. package/node_modules/zod/v4/locales/fa.cjs +0 -141
  1608. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  1609. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  1610. package/node_modules/zod/v4/locales/fa.js +0 -114
  1611. package/node_modules/zod/v4/locales/fi.cjs +0 -139
  1612. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  1613. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  1614. package/node_modules/zod/v4/locales/fi.js +0 -112
  1615. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
  1616. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  1617. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  1618. package/node_modules/zod/v4/locales/fr-CA.js +0 -107
  1619. package/node_modules/zod/v4/locales/fr.cjs +0 -152
  1620. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  1621. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  1622. package/node_modules/zod/v4/locales/fr.js +0 -125
  1623. package/node_modules/zod/v4/locales/he.cjs +0 -241
  1624. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  1625. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  1626. package/node_modules/zod/v4/locales/he.js +0 -214
  1627. package/node_modules/zod/v4/locales/hr.cjs +0 -149
  1628. package/node_modules/zod/v4/locales/hr.d.cts +0 -5
  1629. package/node_modules/zod/v4/locales/hr.d.ts +0 -4
  1630. package/node_modules/zod/v4/locales/hr.js +0 -122
  1631. package/node_modules/zod/v4/locales/hu.cjs +0 -135
  1632. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  1633. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  1634. package/node_modules/zod/v4/locales/hu.js +0 -108
  1635. package/node_modules/zod/v4/locales/hy.cjs +0 -174
  1636. package/node_modules/zod/v4/locales/hy.d.cts +0 -5
  1637. package/node_modules/zod/v4/locales/hy.d.ts +0 -4
  1638. package/node_modules/zod/v4/locales/hy.js +0 -147
  1639. package/node_modules/zod/v4/locales/id.cjs +0 -133
  1640. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  1641. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  1642. package/node_modules/zod/v4/locales/id.js +0 -106
  1643. package/node_modules/zod/v4/locales/index.cjs +0 -111
  1644. package/node_modules/zod/v4/locales/index.d.cts +0 -52
  1645. package/node_modules/zod/v4/locales/index.d.ts +0 -52
  1646. package/node_modules/zod/v4/locales/index.js +0 -52
  1647. package/node_modules/zod/v4/locales/is.cjs +0 -136
  1648. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  1649. package/node_modules/zod/v4/locales/is.d.ts +0 -4
  1650. package/node_modules/zod/v4/locales/is.js +0 -109
  1651. package/node_modules/zod/v4/locales/it.cjs +0 -135
  1652. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  1653. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  1654. package/node_modules/zod/v4/locales/it.js +0 -108
  1655. package/node_modules/zod/v4/locales/ja.cjs +0 -134
  1656. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  1657. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  1658. package/node_modules/zod/v4/locales/ja.js +0 -107
  1659. package/node_modules/zod/v4/locales/ka.cjs +0 -139
  1660. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  1661. package/node_modules/zod/v4/locales/ka.d.ts +0 -4
  1662. package/node_modules/zod/v4/locales/ka.js +0 -112
  1663. package/node_modules/zod/v4/locales/kh.cjs +0 -12
  1664. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  1665. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  1666. package/node_modules/zod/v4/locales/kh.js +0 -5
  1667. package/node_modules/zod/v4/locales/km.cjs +0 -137
  1668. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  1669. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  1670. package/node_modules/zod/v4/locales/km.js +0 -110
  1671. package/node_modules/zod/v4/locales/ko.cjs +0 -138
  1672. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  1673. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  1674. package/node_modules/zod/v4/locales/ko.js +0 -111
  1675. package/node_modules/zod/v4/locales/lt.cjs +0 -230
  1676. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  1677. package/node_modules/zod/v4/locales/lt.d.ts +0 -4
  1678. package/node_modules/zod/v4/locales/lt.js +0 -203
  1679. package/node_modules/zod/v4/locales/mk.cjs +0 -136
  1680. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  1681. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  1682. package/node_modules/zod/v4/locales/mk.js +0 -109
  1683. package/node_modules/zod/v4/locales/ms.cjs +0 -134
  1684. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  1685. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  1686. package/node_modules/zod/v4/locales/ms.js +0 -107
  1687. package/node_modules/zod/v4/locales/nl.cjs +0 -137
  1688. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  1689. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  1690. package/node_modules/zod/v4/locales/nl.js +0 -110
  1691. package/node_modules/zod/v4/locales/no.cjs +0 -135
  1692. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  1693. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  1694. package/node_modules/zod/v4/locales/no.js +0 -108
  1695. package/node_modules/zod/v4/locales/ota.cjs +0 -136
  1696. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  1697. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  1698. package/node_modules/zod/v4/locales/ota.js +0 -109
  1699. package/node_modules/zod/v4/locales/package.json +0 -7
  1700. package/node_modules/zod/v4/locales/pl.cjs +0 -136
  1701. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  1702. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  1703. package/node_modules/zod/v4/locales/pl.js +0 -109
  1704. package/node_modules/zod/v4/locales/ps.cjs +0 -141
  1705. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  1706. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  1707. package/node_modules/zod/v4/locales/ps.js +0 -114
  1708. package/node_modules/zod/v4/locales/pt.cjs +0 -135
  1709. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  1710. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  1711. package/node_modules/zod/v4/locales/pt.js +0 -108
  1712. package/node_modules/zod/v4/locales/ro.cjs +0 -146
  1713. package/node_modules/zod/v4/locales/ro.d.cts +0 -5
  1714. package/node_modules/zod/v4/locales/ro.d.ts +0 -4
  1715. package/node_modules/zod/v4/locales/ro.js +0 -119
  1716. package/node_modules/zod/v4/locales/ru.cjs +0 -183
  1717. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  1718. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  1719. package/node_modules/zod/v4/locales/ru.js +0 -156
  1720. package/node_modules/zod/v4/locales/sl.cjs +0 -136
  1721. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  1722. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  1723. package/node_modules/zod/v4/locales/sl.js +0 -109
  1724. package/node_modules/zod/v4/locales/sv.cjs +0 -137
  1725. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  1726. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  1727. package/node_modules/zod/v4/locales/sv.js +0 -110
  1728. package/node_modules/zod/v4/locales/ta.cjs +0 -137
  1729. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  1730. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  1731. package/node_modules/zod/v4/locales/ta.js +0 -110
  1732. package/node_modules/zod/v4/locales/th.cjs +0 -137
  1733. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  1734. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  1735. package/node_modules/zod/v4/locales/th.js +0 -110
  1736. package/node_modules/zod/v4/locales/tr.cjs +0 -132
  1737. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  1738. package/node_modules/zod/v4/locales/tr.d.ts +0 -4
  1739. package/node_modules/zod/v4/locales/tr.js +0 -105
  1740. package/node_modules/zod/v4/locales/ua.cjs +0 -12
  1741. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  1742. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  1743. package/node_modules/zod/v4/locales/ua.js +0 -5
  1744. package/node_modules/zod/v4/locales/uk.cjs +0 -135
  1745. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  1746. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  1747. package/node_modules/zod/v4/locales/uk.js +0 -108
  1748. package/node_modules/zod/v4/locales/ur.cjs +0 -137
  1749. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  1750. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  1751. package/node_modules/zod/v4/locales/ur.js +0 -110
  1752. package/node_modules/zod/v4/locales/uz.cjs +0 -137
  1753. package/node_modules/zod/v4/locales/uz.d.cts +0 -5
  1754. package/node_modules/zod/v4/locales/uz.d.ts +0 -4
  1755. package/node_modules/zod/v4/locales/uz.js +0 -110
  1756. package/node_modules/zod/v4/locales/vi.cjs +0 -135
  1757. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  1758. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  1759. package/node_modules/zod/v4/locales/vi.js +0 -108
  1760. package/node_modules/zod/v4/locales/yo.cjs +0 -134
  1761. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  1762. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  1763. package/node_modules/zod/v4/locales/yo.js +0 -107
  1764. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
  1765. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  1766. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  1767. package/node_modules/zod/v4/locales/zh-CN.js +0 -109
  1768. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
  1769. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  1770. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  1771. package/node_modules/zod/v4/locales/zh-TW.js +0 -107
  1772. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  1773. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  1774. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  1775. package/node_modules/zod/v4/mini/checks.js +0 -1
  1776. package/node_modules/zod/v4/mini/coerce.cjs +0 -52
  1777. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  1778. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  1779. package/node_modules/zod/v4/mini/coerce.js +0 -22
  1780. package/node_modules/zod/v4/mini/external.cjs +0 -63
  1781. package/node_modules/zod/v4/mini/external.d.cts +0 -13
  1782. package/node_modules/zod/v4/mini/external.d.ts +0 -13
  1783. package/node_modules/zod/v4/mini/external.js +0 -14
  1784. package/node_modules/zod/v4/mini/index.cjs +0 -32
  1785. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  1786. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  1787. package/node_modules/zod/v4/mini/index.js +0 -3
  1788. package/node_modules/zod/v4/mini/iso.cjs +0 -64
  1789. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  1790. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  1791. package/node_modules/zod/v4/mini/iso.js +0 -34
  1792. package/node_modules/zod/v4/mini/package.json +0 -7
  1793. package/node_modules/zod/v4/mini/parse.cjs +0 -16
  1794. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  1795. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  1796. package/node_modules/zod/v4/mini/parse.js +0 -1
  1797. package/node_modules/zod/v4/mini/schemas.cjs +0 -1083
  1798. package/node_modules/zod/v4/mini/schemas.d.cts +0 -445
  1799. package/node_modules/zod/v4/mini/schemas.d.ts +0 -445
  1800. package/node_modules/zod/v4/mini/schemas.js +0 -961
  1801. package/node_modules/zod/v4/package.json +0 -7
  1802. package/node_modules/zod/v4-mini/index.cjs +0 -32
  1803. package/node_modules/zod/v4-mini/index.d.cts +0 -3
  1804. package/node_modules/zod/v4-mini/index.d.ts +0 -3
  1805. package/node_modules/zod/v4-mini/index.js +0 -3
  1806. package/node_modules/zod/v4-mini/package.json +0 -7
  1807. package/npm-shrinkwrap.json +0 -299
@@ -1,1806 +0,0 @@
1
- declare module "node:stream" {
2
- import { Blob } from "node:buffer";
3
- import { Abortable, EventEmitter } from "node:events";
4
- import { ByteReadableStream, toAsyncStreamable } from "node:stream/iter";
5
- import * as promises from "node:stream/promises";
6
- import * as web from "node:stream/web";
7
- class Stream extends EventEmitter {
8
- /**
9
- * @since v0.9.4
10
- */
11
- pipe<T extends NodeJS.WritableStream>(
12
- destination: T,
13
- options?: Stream.PipeOptions,
14
- ): T;
15
- }
16
- namespace Stream {
17
- export { promises, Stream };
18
- }
19
- namespace Stream {
20
- interface PipeOptions {
21
- /**
22
- * End the writer when the reader ends.
23
- * @default true
24
- */
25
- end?: boolean | undefined;
26
- }
27
- interface StreamOptions<T extends Stream> extends Abortable {
28
- emitClose?: boolean | undefined;
29
- highWaterMark?: number | undefined;
30
- objectMode?: boolean | undefined;
31
- construct?: ((this: T, callback: (error?: Error | null) => void) => void) | undefined;
32
- destroy?: ((this: T, error: Error | null, callback: (error?: Error | null) => void) => void) | undefined;
33
- autoDestroy?: boolean | undefined;
34
- }
35
- interface ReadableOptions<T extends Readable = Readable> extends StreamOptions<T> {
36
- encoding?: BufferEncoding | undefined;
37
- read?: ((this: T, size: number) => void) | undefined;
38
- }
39
- interface ReadableIteratorOptions {
40
- /**
41
- * When set to `false`, calling `return` on the async iterator,
42
- * or exiting a `for await...of` iteration using a `break`,
43
- * `return`, or `throw` will not destroy the stream.
44
- * @default true
45
- */
46
- destroyOnReturn?: boolean | undefined;
47
- }
48
- interface ReadableOperatorOptions extends Abortable {
49
- /**
50
- * The maximum concurrent invocations of `fn` to call
51
- * on the stream at once.
52
- * @default 1
53
- */
54
- concurrency?: number | undefined;
55
- /**
56
- * How many items to buffer while waiting for user consumption
57
- * of the output.
58
- * @default concurrency * 2 - 1
59
- */
60
- highWaterMark?: number | undefined;
61
- }
62
- /** @deprecated Use `ReadableOperatorOptions` instead. */
63
- interface ArrayOptions extends ReadableOperatorOptions {}
64
- interface ReadableToWebOptions {
65
- strategy?: web.QueuingStrategy | undefined;
66
- type?: web.ReadableStreamType | undefined;
67
- }
68
- interface ReadableEventMap {
69
- "close": [];
70
- "data": [chunk: any];
71
- "end": [];
72
- "error": [err: Error];
73
- "pause": [];
74
- "readable": [];
75
- "resume": [];
76
- }
77
- /**
78
- * @since v0.9.4
79
- */
80
- class Readable extends Stream implements NodeJS.ReadableStream {
81
- constructor(options?: ReadableOptions);
82
- /**
83
- * A utility method for creating Readable Streams out of iterators.
84
- * @since v12.3.0, v10.17.0
85
- * @param iterable Object implementing the `Symbol.asyncIterator` or `Symbol.iterator` iterable protocol. Emits an 'error' event if a null value is passed.
86
- * @param options Options provided to `new stream.Readable([options])`. By default, `Readable.from()` will set `options.objectMode` to `true`, unless this is explicitly opted out by setting `options.objectMode` to `false`.
87
- */
88
- static from(iterable: Iterable<any> | AsyncIterable<any>, options?: ReadableOptions): Readable;
89
- /**
90
- * A utility method for creating a `Readable` from a web `ReadableStream`.
91
- * @since v17.0.0
92
- */
93
- static fromWeb(
94
- readableStream: web.ReadableStream,
95
- options?: Pick<ReadableOptions, "encoding" | "highWaterMark" | "objectMode" | "signal">,
96
- ): Readable;
97
- /**
98
- * A utility method for creating a web `ReadableStream` from a `Readable`.
99
- * @since v17.0.0
100
- */
101
- static toWeb(
102
- streamReadable: NodeJS.ReadableStream,
103
- options?: ReadableToWebOptions,
104
- ): web.ReadableStream;
105
- /**
106
- * Returns whether the stream has been read from or cancelled.
107
- * @since v16.8.0
108
- */
109
- static isDisturbed(stream: NodeJS.ReadableStream | web.ReadableStream): boolean;
110
- /**
111
- * Returns whether the stream was destroyed or errored before emitting `'end'`.
112
- * @since v16.8.0
113
- */
114
- readonly readableAborted: boolean;
115
- /**
116
- * Is `true` if it is safe to call {@link read}, which means
117
- * the stream has not been destroyed or emitted `'error'` or `'end'`.
118
- * @since v11.4.0
119
- */
120
- readable: boolean;
121
- /**
122
- * Returns whether `'data'` has been emitted.
123
- * @since v16.7.0, v14.18.0
124
- */
125
- readonly readableDidRead: boolean;
126
- /**
127
- * Getter for the property `encoding` of a given `Readable` stream. The `encoding` property can be set using the {@link setEncoding} method.
128
- * @since v12.7.0
129
- */
130
- readonly readableEncoding: BufferEncoding | null;
131
- /**
132
- * Becomes `true` when [`'end'`](https://nodejs.org/docs/latest-v26.x/api/stream.html#event-end) event is emitted.
133
- * @since v12.9.0
134
- */
135
- readonly readableEnded: boolean;
136
- /**
137
- * This property reflects the current state of a `Readable` stream as described
138
- * in the [Three states](https://nodejs.org/docs/latest-v26.x/api/stream.html#three-states) section.
139
- * @since v9.4.0
140
- */
141
- readableFlowing: boolean | null;
142
- /**
143
- * Returns the value of `highWaterMark` passed when creating this `Readable`.
144
- * @since v9.3.0
145
- */
146
- readonly readableHighWaterMark: number;
147
- /**
148
- * This property contains the number of bytes (or objects) in the queue
149
- * ready to be read. The value provides introspection data regarding
150
- * the status of the `highWaterMark`.
151
- * @since v9.4.0
152
- */
153
- readonly readableLength: number;
154
- /**
155
- * Getter for the property `objectMode` of a given `Readable` stream.
156
- * @since v12.3.0
157
- */
158
- readonly readableObjectMode: boolean;
159
- /**
160
- * Is `true` after `readable.destroy()` has been called.
161
- * @since v8.0.0
162
- */
163
- destroyed: boolean;
164
- /**
165
- * Is `true` after `'close'` has been emitted.
166
- * @since v18.0.0
167
- */
168
- readonly closed: boolean;
169
- /**
170
- * Returns error if the stream has been destroyed with an error.
171
- * @since v18.0.0
172
- */
173
- readonly errored: Error | null;
174
- _construct?(callback: (error?: Error | null) => void): void;
175
- _read(size: number): void;
176
- /**
177
- * The `readable.read()` method reads data out of the internal buffer and
178
- * returns it. If no data is available to be read, `null` is returned. By default,
179
- * the data is returned as a `Buffer` object unless an encoding has been
180
- * specified using the `readable.setEncoding()` method or the stream is operating
181
- * in object mode.
182
- *
183
- * The optional `size` argument specifies a specific number of bytes to read. If
184
- * `size` bytes are not available to be read, `null` will be returned _unless_ the
185
- * stream has ended, in which case all of the data remaining in the internal buffer
186
- * will be returned.
187
- *
188
- * If the `size` argument is not specified, all of the data contained in the
189
- * internal buffer will be returned.
190
- *
191
- * The `size` argument must be less than or equal to 1 GiB.
192
- *
193
- * The `readable.read()` method should only be called on `Readable` streams
194
- * operating in paused mode. In flowing mode, `readable.read()` is called
195
- * automatically until the internal buffer is fully drained.
196
- *
197
- * ```js
198
- * const readable = getReadableStreamSomehow();
199
- *
200
- * // 'readable' may be triggered multiple times as data is buffered in
201
- * readable.on('readable', () => {
202
- * let chunk;
203
- * console.log('Stream is readable (new data received in buffer)');
204
- * // Use a loop to make sure we read all currently available data
205
- * while (null !== (chunk = readable.read())) {
206
- * console.log(`Read ${chunk.length} bytes of data...`);
207
- * }
208
- * });
209
- *
210
- * // 'end' will be triggered once when there is no more data available
211
- * readable.on('end', () => {
212
- * console.log('Reached end of stream.');
213
- * });
214
- * ```
215
- *
216
- * Each call to `readable.read()` returns a chunk of data, or `null`. The chunks
217
- * are not concatenated. A `while` loop is necessary to consume all data
218
- * currently in the buffer. When reading a large file `.read()` may return `null`,
219
- * having consumed all buffered content so far, but there is still more data to
220
- * come not yet buffered. In this case a new `'readable'` event will be emitted
221
- * when there is more data in the buffer. Finally the `'end'` event will be
222
- * emitted when there is no more data to come.
223
- *
224
- * Therefore to read a file's whole contents from a `readable`, it is necessary
225
- * to collect chunks across multiple `'readable'` events:
226
- *
227
- * ```js
228
- * const chunks = [];
229
- *
230
- * readable.on('readable', () => {
231
- * let chunk;
232
- * while (null !== (chunk = readable.read())) {
233
- * chunks.push(chunk);
234
- * }
235
- * });
236
- *
237
- * readable.on('end', () => {
238
- * const content = chunks.join('');
239
- * });
240
- * ```
241
- *
242
- * A `Readable` stream in object mode will always return a single item from
243
- * a call to `readable.read(size)`, regardless of the value of the `size` argument.
244
- *
245
- * If the `readable.read()` method returns a chunk of data, a `'data'` event will
246
- * also be emitted.
247
- *
248
- * Calling {@link read} after the `'end'` event has
249
- * been emitted will return `null`. No runtime error will be raised.
250
- * @since v0.9.4
251
- * @param size Optional argument to specify how much data to read.
252
- */
253
- read(size?: number): any;
254
- /**
255
- * The `readable.setEncoding()` method sets the character encoding for
256
- * data read from the `Readable` stream.
257
- *
258
- * By default, no encoding is assigned and stream data will be returned as `Buffer` objects. Setting an encoding causes the stream data
259
- * to be returned as strings of the specified encoding rather than as `Buffer` objects. For instance, calling `readable.setEncoding('utf8')` will cause the
260
- * output data to be interpreted as UTF-8 data, and passed as strings. Calling `readable.setEncoding('hex')` will cause the data to be encoded in hexadecimal
261
- * string format.
262
- *
263
- * The `Readable` stream will properly handle multi-byte characters delivered
264
- * through the stream that would otherwise become improperly decoded if simply
265
- * pulled from the stream as `Buffer` objects.
266
- *
267
- * ```js
268
- * const readable = getReadableStreamSomehow();
269
- * readable.setEncoding('utf8');
270
- * readable.on('data', (chunk) => {
271
- * assert.equal(typeof chunk, 'string');
272
- * console.log('Got %d characters of string data:', chunk.length);
273
- * });
274
- * ```
275
- * @since v0.9.4
276
- * @param encoding The encoding to use.
277
- */
278
- setEncoding(encoding: BufferEncoding): this;
279
- /**
280
- * The `readable.pause()` method will cause a stream in flowing mode to stop
281
- * emitting `'data'` events, switching out of flowing mode. Any data that
282
- * becomes available will remain in the internal buffer.
283
- *
284
- * ```js
285
- * const readable = getReadableStreamSomehow();
286
- * readable.on('data', (chunk) => {
287
- * console.log(`Received ${chunk.length} bytes of data.`);
288
- * readable.pause();
289
- * console.log('There will be no additional data for 1 second.');
290
- * setTimeout(() => {
291
- * console.log('Now data will start flowing again.');
292
- * readable.resume();
293
- * }, 1000);
294
- * });
295
- * ```
296
- *
297
- * The `readable.pause()` method has no effect if there is a `'readable'` event listener.
298
- * @since v0.9.4
299
- */
300
- pause(): this;
301
- /**
302
- * The `readable.resume()` method causes an explicitly paused `Readable` stream to
303
- * resume emitting `'data'` events, switching the stream into flowing mode.
304
- *
305
- * The `readable.resume()` method can be used to fully consume the data from a
306
- * stream without actually processing any of that data:
307
- *
308
- * ```js
309
- * getReadableStreamSomehow()
310
- * .resume()
311
- * .on('end', () => {
312
- * console.log('Reached the end, but did not read anything.');
313
- * });
314
- * ```
315
- *
316
- * The `readable.resume()` method has no effect if there is a `'readable'` event listener.
317
- * @since v0.9.4
318
- */
319
- resume(): this;
320
- /**
321
- * The `readable.isPaused()` method returns the current operating state of the `Readable`.
322
- * This is used primarily by the mechanism that underlies the `readable.pipe()` method.
323
- * In most typical cases, there will be no reason to use this method directly.
324
- *
325
- * ```js
326
- * const readable = new stream.Readable();
327
- *
328
- * readable.isPaused(); // === false
329
- * readable.pause();
330
- * readable.isPaused(); // === true
331
- * readable.resume();
332
- * readable.isPaused(); // === false
333
- * ```
334
- * @since v0.11.14
335
- */
336
- isPaused(): boolean;
337
- /**
338
- * The `readable.unpipe()` method detaches a `Writable` stream previously attached
339
- * using the {@link pipe} method.
340
- *
341
- * If the `destination` is not specified, then _all_ pipes are detached.
342
- *
343
- * If the `destination` is specified, but no pipe is set up for it, then
344
- * the method does nothing.
345
- *
346
- * ```js
347
- * import fs from 'node:fs';
348
- * const readable = getReadableStreamSomehow();
349
- * const writable = fs.createWriteStream('file.txt');
350
- * // All the data from readable goes into 'file.txt',
351
- * // but only for the first second.
352
- * readable.pipe(writable);
353
- * setTimeout(() => {
354
- * console.log('Stop writing to file.txt.');
355
- * readable.unpipe(writable);
356
- * console.log('Manually close the file stream.');
357
- * writable.end();
358
- * }, 1000);
359
- * ```
360
- * @since v0.9.4
361
- * @param destination Optional specific stream to unpipe
362
- */
363
- unpipe(destination?: NodeJS.WritableStream): this;
364
- /**
365
- * Passing `chunk` as `null` signals the end of the stream (EOF) and behaves the
366
- * same as `readable.push(null)`, after which no more data can be written. The EOF
367
- * signal is put at the end of the buffer and any buffered data will still be
368
- * flushed.
369
- *
370
- * The `readable.unshift()` method pushes a chunk of data back into the internal
371
- * buffer. This is useful in certain situations where a stream is being consumed by
372
- * code that needs to "un-consume" some amount of data that it has optimistically
373
- * pulled out of the source, so that the data can be passed on to some other party.
374
- *
375
- * The `stream.unshift(chunk)` method cannot be called after the `'end'` event
376
- * has been emitted or a runtime error will be thrown.
377
- *
378
- * Developers using `stream.unshift()` often should consider switching to
379
- * use of a `Transform` stream instead. See the `API for stream implementers` section for more information.
380
- *
381
- * ```js
382
- * // Pull off a header delimited by \n\n.
383
- * // Use unshift() if we get too much.
384
- * // Call the callback with (error, header, stream).
385
- * import { StringDecoder } from 'node:string_decoder';
386
- * function parseHeader(stream, callback) {
387
- * stream.on('error', callback);
388
- * stream.on('readable', onReadable);
389
- * const decoder = new StringDecoder('utf8');
390
- * let header = '';
391
- * function onReadable() {
392
- * let chunk;
393
- * while (null !== (chunk = stream.read())) {
394
- * const str = decoder.write(chunk);
395
- * if (str.includes('\n\n')) {
396
- * // Found the header boundary.
397
- * const split = str.split(/\n\n/);
398
- * header += split.shift();
399
- * const remaining = split.join('\n\n');
400
- * const buf = Buffer.from(remaining, 'utf8');
401
- * stream.removeListener('error', callback);
402
- * // Remove the 'readable' listener before unshifting.
403
- * stream.removeListener('readable', onReadable);
404
- * if (buf.length)
405
- * stream.unshift(buf);
406
- * // Now the body of the message can be read from the stream.
407
- * callback(null, header, stream);
408
- * return;
409
- * }
410
- * // Still reading the header.
411
- * header += str;
412
- * }
413
- * }
414
- * }
415
- * ```
416
- *
417
- * Unlike {@link push}, `stream.unshift(chunk)` will not
418
- * end the reading process by resetting the internal reading state of the stream.
419
- * This can cause unexpected results if `readable.unshift()` is called during a
420
- * read (i.e. from within a {@link _read} implementation on a
421
- * custom stream). Following the call to `readable.unshift()` with an immediate {@link push} will reset the reading state appropriately,
422
- * however it is best to simply avoid calling `readable.unshift()` while in the
423
- * process of performing a read.
424
- * @since v0.9.11
425
- * @param chunk Chunk of data to unshift onto the read queue. For streams not operating in object mode, `chunk` must
426
- * be a {string}, {Buffer}, {TypedArray}, {DataView} or `null`. For object mode streams, `chunk` may be any JavaScript value.
427
- * @param encoding Encoding of string chunks. Must be a valid `Buffer` encoding, such as `'utf8'` or `'ascii'`.
428
- */
429
- unshift(chunk: any, encoding?: BufferEncoding): void;
430
- /**
431
- * Prior to Node.js 0.10, streams did not implement the entire `node:stream` module API as it is currently defined. (See `Compatibility` for more
432
- * information.)
433
- *
434
- * When using an older Node.js library that emits `'data'` events and has a {@link pause} method that is advisory only, the `readable.wrap()` method can be used to create a `Readable`
435
- * stream that uses
436
- * the old stream as its data source.
437
- *
438
- * It will rarely be necessary to use `readable.wrap()` but the method has been
439
- * provided as a convenience for interacting with older Node.js applications and
440
- * libraries.
441
- *
442
- * ```js
443
- * import { OldReader } from './old-api-module.js';
444
- * import { Readable } from 'node:stream';
445
- * const oreader = new OldReader();
446
- * const myReader = new Readable().wrap(oreader);
447
- *
448
- * myReader.on('readable', () => {
449
- * myReader.read(); // etc.
450
- * });
451
- * ```
452
- * @since v0.9.4
453
- * @param stream An "old style" readable stream
454
- */
455
- wrap(stream: NodeJS.ReadableStream): this;
456
- push(chunk: any, encoding?: BufferEncoding): boolean;
457
- /**
458
- * ```js
459
- * import { Readable } from 'node:stream';
460
- *
461
- * async function* splitToWords(source) {
462
- * for await (const chunk of source) {
463
- * const words = String(chunk).split(' ');
464
- *
465
- * for (const word of words) {
466
- * yield word;
467
- * }
468
- * }
469
- * }
470
- *
471
- * const wordsStream = Readable.from(['text passed through', 'composed stream']).compose(splitToWords);
472
- * const words = await wordsStream.toArray();
473
- *
474
- * console.log(words); // prints ['text', 'passed', 'through', 'composed', 'stream']
475
- * ```
476
- *
477
- * `readable.compose(s)` is equivalent to `stream.compose(readable, s)`.
478
- *
479
- * This method also allows for an `AbortSignal` to be provided, which will destroy
480
- * the composed stream when aborted.
481
- *
482
- * See [`stream.compose(...streams)`](https://nodejs.org/docs/latest-v26.x/api/stream.html#streamcomposestreams) for more information.
483
- * @since v19.1.0, v18.13.0
484
- * @returns a stream composed with the stream `stream`.
485
- */
486
- compose(
487
- stream: NodeJS.WritableStream | web.WritableStream | web.TransformStream | ((source: any) => void),
488
- options?: Abortable,
489
- ): Duplex;
490
- /**
491
- * The iterator created by this method gives users the option to cancel the destruction
492
- * of the stream if the `for await...of` loop is exited by `return`, `break`, or `throw`,
493
- * or if the iterator should destroy the stream if the stream emitted an error during iteration.
494
- * @since v16.3.0
495
- */
496
- iterator(options?: ReadableIteratorOptions): NodeJS.AsyncIterator<any>;
497
- /**
498
- * This method allows mapping over the stream. The *fn* function will be called for every chunk in the stream.
499
- * If the *fn* function returns a promise - that promise will be `await`ed before being passed to the result stream.
500
- * @since v17.4.0, v16.14.0
501
- * @param fn a function to map over every chunk in the stream. Async or not.
502
- * @returns a stream mapped with the function *fn*.
503
- */
504
- map(fn: (data: any, options?: Abortable) => any, options?: ReadableOperatorOptions): Readable;
505
- /**
506
- * This method allows filtering the stream. For each chunk in the stream the *fn* function will be called
507
- * and if it returns a truthy value, the chunk will be passed to the result stream.
508
- * If the *fn* function returns a promise - that promise will be `await`ed.
509
- * @since v17.4.0, v16.14.0
510
- * @param fn a function to filter chunks from the stream. Async or not.
511
- * @returns a stream filtered with the predicate *fn*.
512
- */
513
- filter(
514
- fn: (data: any, options?: Abortable) => boolean | Promise<boolean>,
515
- options?: ReadableOperatorOptions,
516
- ): Readable;
517
- /**
518
- * This method allows iterating a stream. For each chunk in the stream the *fn* function will be called.
519
- * If the *fn* function returns a promise - that promise will be `await`ed.
520
- *
521
- * This method is different from `for await...of` loops in that it can optionally process chunks concurrently.
522
- * In addition, a `forEach` iteration can only be stopped by having passed a `signal` option
523
- * and aborting the related AbortController while `for await...of` can be stopped with `break` or `return`.
524
- * In either case the stream will be destroyed.
525
- *
526
- * This method is different from listening to the `'data'` event in that it uses the `readable` event
527
- * in the underlying machinary and can limit the number of concurrent *fn* calls.
528
- * @since v17.5.0
529
- * @param fn a function to call on each chunk of the stream. Async or not.
530
- * @returns a promise for when the stream has finished.
531
- */
532
- forEach(
533
- fn: (data: any, options?: Abortable) => void | Promise<void>,
534
- options?: Pick<ReadableOperatorOptions, "concurrency" | "signal">,
535
- ): Promise<void>;
536
- /**
537
- * This method allows easily obtaining the contents of a stream.
538
- *
539
- * As this method reads the entire stream into memory, it negates the benefits of streams. It's intended
540
- * for interoperability and convenience, not as the primary way to consume streams.
541
- * @since v17.5.0
542
- * @returns a promise containing an array with the contents of the stream.
543
- */
544
- toArray(options?: Abortable): Promise<any[]>;
545
- /**
546
- * This method is similar to `Array.prototype.some` and calls *fn* on each chunk in the stream
547
- * until the awaited return value is `true` (or any truthy value). Once an *fn* call on a chunk
548
- * `await`ed return value is truthy, the stream is destroyed and the promise is fulfilled with `true`.
549
- * If none of the *fn* calls on the chunks return a truthy value, the promise is fulfilled with `false`.
550
- * @since v17.5.0
551
- * @param fn a function to call on each chunk of the stream. Async or not.
552
- * @returns a promise evaluating to `true` if *fn* returned a truthy value for at least one of the chunks.
553
- */
554
- some(
555
- fn: (data: any, options?: Abortable) => boolean | Promise<boolean>,
556
- options?: Pick<ReadableOperatorOptions, "concurrency" | "signal">,
557
- ): Promise<boolean>;
558
- /**
559
- * This method is similar to `Array.prototype.find` and calls *fn* on each chunk in the stream
560
- * to find a chunk with a truthy value for *fn*. Once an *fn* call's awaited return value is truthy,
561
- * the stream is destroyed and the promise is fulfilled with value for which *fn* returned a truthy value.
562
- * If all of the *fn* calls on the chunks return a falsy value, the promise is fulfilled with `undefined`.
563
- * @since v17.5.0
564
- * @param fn a function to call on each chunk of the stream. Async or not.
565
- * @returns a promise evaluating to the first chunk for which *fn* evaluated with a truthy value,
566
- * or `undefined` if no element was found.
567
- */
568
- find<T>(
569
- fn: (data: any, options?: Abortable) => data is T,
570
- options?: Pick<ReadableOperatorOptions, "concurrency" | "signal">,
571
- ): Promise<T | undefined>;
572
- find(
573
- fn: (data: any, options?: Abortable) => boolean | Promise<boolean>,
574
- options?: Pick<ReadableOperatorOptions, "concurrency" | "signal">,
575
- ): Promise<any>;
576
- /**
577
- * This method is similar to `Array.prototype.every` and calls *fn* on each chunk in the stream
578
- * to check if all awaited return values are truthy value for *fn*. Once an *fn* call on a chunk
579
- * `await`ed return value is falsy, the stream is destroyed and the promise is fulfilled with `false`.
580
- * If all of the *fn* calls on the chunks return a truthy value, the promise is fulfilled with `true`.
581
- * @since v17.5.0
582
- * @param fn a function to call on each chunk of the stream. Async or not.
583
- * @returns a promise evaluating to `true` if *fn* returned a truthy value for every one of the chunks.
584
- */
585
- every(
586
- fn: (data: any, options?: Abortable) => boolean | Promise<boolean>,
587
- options?: Pick<ReadableOperatorOptions, "concurrency" | "signal">,
588
- ): Promise<boolean>;
589
- /**
590
- * This method returns a new stream by applying the given callback to each chunk of the stream
591
- * and then flattening the result.
592
- *
593
- * It is possible to return a stream or another iterable or async iterable from *fn* and the result streams
594
- * will be merged (flattened) into the returned stream.
595
- * @since v17.5.0
596
- * @param fn a function to map over every chunk in the stream. May be async. May be a stream or generator.
597
- * @returns a stream flat-mapped with the function *fn*.
598
- */
599
- flatMap(
600
- fn: (data: any, options?: Abortable) => any,
601
- options?: Pick<ReadableOperatorOptions, "concurrency" | "signal">,
602
- ): Readable;
603
- /**
604
- * This method returns a new stream with the first *limit* chunks dropped from the start.
605
- * @since v17.5.0
606
- * @param limit the number of chunks to drop from the readable.
607
- * @returns a stream with *limit* chunks dropped from the start.
608
- */
609
- drop(limit: number, options?: Abortable): Readable;
610
- /**
611
- * This method returns a new stream with the first *limit* chunks.
612
- * @since v17.5.0
613
- * @param limit the number of chunks to take from the readable.
614
- * @returns a stream with *limit* chunks taken.
615
- */
616
- take(limit: number, options?: Abortable): Readable;
617
- /**
618
- * This method calls *fn* on each chunk of the stream in order, passing it the result from the calculation
619
- * on the previous element. It returns a promise for the final value of the reduction.
620
- *
621
- * If no *initial* value is supplied the first chunk of the stream is used as the initial value.
622
- * If the stream is empty, the promise is rejected with a `TypeError` with the `ERR_INVALID_ARGS` code property.
623
- *
624
- * The reducer function iterates the stream element-by-element which means that there is no *concurrency* parameter
625
- * or parallelism. To perform a reduce concurrently, you can extract the async function to `readable.map` method.
626
- * @since v17.5.0
627
- * @param fn a reducer function to call over every chunk in the stream. Async or not.
628
- * @param initial the initial value to use in the reduction.
629
- * @returns a promise for the final value of the reduction.
630
- */
631
- reduce<T>(fn: (previous: any, data: any, options?: Abortable) => T): Promise<T>;
632
- reduce<T>(
633
- fn: (previous: T, data: any, options?: Abortable) => T,
634
- initial: T,
635
- options?: Abortable,
636
- ): Promise<T>;
637
- _destroy(error: Error | null, callback: (error?: Error | null) => void): void;
638
- /**
639
- * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'` event (unless `emitClose` is set to `false`). After this call, the readable
640
- * stream will release any internal resources and subsequent calls to `push()` will be ignored.
641
- *
642
- * Once `destroy()` has been called any further calls will be a no-op and no
643
- * further errors except from `_destroy()` may be emitted as `'error'`.
644
- *
645
- * Implementors should not override this method, but instead implement `readable._destroy()`.
646
- * @since v8.0.0
647
- * @param error Error which will be passed as payload in `'error'` event
648
- */
649
- destroy(error?: Error): this;
650
- /**
651
- * @returns `AsyncIterator` to fully consume the stream.
652
- * @since v10.0.0
653
- */
654
- [Symbol.asyncIterator](): NodeJS.AsyncIterator<any>;
655
- /**
656
- * When the `--experimental-stream-iter` flag is enabled, `Readable` streams
657
- * implement the `Stream.toAsyncStreamable` protocol, enabling efficient
658
- * consumption by the `stream/iter` API.
659
- *
660
- * This provides a batched async iterator that drains the stream's internal
661
- * buffer into `Uint8Array[]` batches, amortizing the per-chunk Promise overhead
662
- * of the standard `Symbol.asyncIterator` path. For byte-mode streams, chunks
663
- * are yielded directly as `Buffer` instances (which are `Uint8Array` subclasses).
664
- * For object-mode or encoded streams, each chunk is normalized to `Uint8Array`
665
- * before batching.
666
- *
667
- * The returned iterator is tagged as a validated source, so `from()`
668
- * passes it through without additional normalization.
669
- *
670
- * ```js
671
- * import { Readable } from 'node:stream';
672
- * import { text, from } from 'node:stream/iter';
673
- *
674
- * const readable = new Readable({
675
- * read() { this.push('hello'); this.push(null); },
676
- * });
677
- *
678
- * // Readable is automatically consumed via toAsyncStreamable
679
- * console.log(await text(from(readable))); // 'hello'
680
- * ```
681
- *
682
- * Without the `--experimental-stream-iter` flag, calling this method throws
683
- * `ERR_STREAM_ITER_MISSING_FLAG`.
684
- */
685
- [toAsyncStreamable](): ByteReadableStream;
686
- /**
687
- * Calls `readable.destroy()` with an `AbortError` and returns
688
- * a promise that fulfills when the stream is finished.
689
- * @since v20.4.0
690
- */
691
- [Symbol.asyncDispose](): Promise<void>;
692
- // #region InternalEventEmitter
693
- addListener<E extends keyof ReadableEventMap>(
694
- eventName: E,
695
- listener: (...args: ReadableEventMap[E]) => void,
696
- ): this;
697
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
698
- emit<E extends keyof ReadableEventMap>(eventName: E, ...args: ReadableEventMap[E]): boolean;
699
- emit(eventName: string | symbol, ...args: any[]): boolean;
700
- listenerCount<E extends keyof ReadableEventMap>(
701
- eventName: E,
702
- listener?: (...args: ReadableEventMap[E]) => void,
703
- ): number;
704
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
705
- listeners<E extends keyof ReadableEventMap>(eventName: E): ((...args: ReadableEventMap[E]) => void)[];
706
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
707
- off<E extends keyof ReadableEventMap>(eventName: E, listener: (...args: ReadableEventMap[E]) => void): this;
708
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
709
- on<E extends keyof ReadableEventMap>(eventName: E, listener: (...args: ReadableEventMap[E]) => void): this;
710
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
711
- once<E extends keyof ReadableEventMap>(
712
- eventName: E,
713
- listener: (...args: ReadableEventMap[E]) => void,
714
- ): this;
715
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
716
- prependListener<E extends keyof ReadableEventMap>(
717
- eventName: E,
718
- listener: (...args: ReadableEventMap[E]) => void,
719
- ): this;
720
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
721
- prependOnceListener<E extends keyof ReadableEventMap>(
722
- eventName: E,
723
- listener: (...args: ReadableEventMap[E]) => void,
724
- ): this;
725
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
726
- rawListeners<E extends keyof ReadableEventMap>(eventName: E): ((...args: ReadableEventMap[E]) => void)[];
727
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
728
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
729
- removeAllListeners<E extends keyof ReadableEventMap>(eventName?: E): this;
730
- removeAllListeners(eventName?: string | symbol): this;
731
- removeListener<E extends keyof ReadableEventMap>(
732
- eventName: E,
733
- listener: (...args: ReadableEventMap[E]) => void,
734
- ): this;
735
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
736
- // #endregion
737
- }
738
- interface WritableOptions<T extends Writable = Writable> extends StreamOptions<T> {
739
- decodeStrings?: boolean | undefined;
740
- defaultEncoding?: BufferEncoding | undefined;
741
- write?:
742
- | ((
743
- this: T,
744
- chunk: any,
745
- encoding: BufferEncoding,
746
- callback: (error?: Error | null) => void,
747
- ) => void)
748
- | undefined;
749
- writev?:
750
- | ((
751
- this: T,
752
- chunks: {
753
- chunk: any;
754
- encoding: BufferEncoding;
755
- }[],
756
- callback: (error?: Error | null) => void,
757
- ) => void)
758
- | undefined;
759
- final?: ((this: T, callback: (error?: Error | null) => void) => void) | undefined;
760
- }
761
- interface WritableEventMap {
762
- "close": [];
763
- "drain": [];
764
- "error": [err: Error];
765
- "finish": [];
766
- "pipe": [src: Readable];
767
- "unpipe": [src: Readable];
768
- }
769
- /**
770
- * @since v0.9.4
771
- */
772
- class Writable extends Stream implements NodeJS.WritableStream {
773
- constructor(options?: WritableOptions);
774
- /**
775
- * A utility method for creating a `Writable` from a web `WritableStream`.
776
- * @since v17.0.0
777
- */
778
- static fromWeb(
779
- writableStream: web.WritableStream,
780
- options?: Pick<WritableOptions, "decodeStrings" | "highWaterMark" | "objectMode" | "signal">,
781
- ): Writable;
782
- /**
783
- * A utility method for creating a web `WritableStream` from a `Writable`.
784
- * @since v17.0.0
785
- */
786
- static toWeb(streamWritable: NodeJS.WritableStream): web.WritableStream;
787
- /**
788
- * Is `true` if it is safe to call `writable.write()`, which means
789
- * the stream has not been destroyed, errored, or ended.
790
- * @since v11.4.0
791
- */
792
- writable: boolean;
793
- /**
794
- * Returns whether the stream was destroyed or errored before emitting `'finish'`.
795
- * @since v18.0.0, v16.17.0
796
- */
797
- readonly writableAborted: boolean;
798
- /**
799
- * Is `true` after `writable.end()` has been called. This property
800
- * does not indicate whether the data has been flushed, for this use `writable.writableFinished` instead.
801
- * @since v12.9.0
802
- */
803
- readonly writableEnded: boolean;
804
- /**
805
- * Is set to `true` immediately before the `'finish'` event is emitted.
806
- * @since v12.6.0
807
- */
808
- readonly writableFinished: boolean;
809
- /**
810
- * Return the value of `highWaterMark` passed when creating this `Writable`.
811
- * @since v9.3.0
812
- */
813
- readonly writableHighWaterMark: number;
814
- /**
815
- * This property contains the number of bytes (or objects) in the queue
816
- * ready to be written. The value provides introspection data regarding
817
- * the status of the `highWaterMark`.
818
- * @since v9.4.0
819
- */
820
- readonly writableLength: number;
821
- /**
822
- * Getter for the property `objectMode` of a given `Writable` stream.
823
- * @since v12.3.0
824
- */
825
- readonly writableObjectMode: boolean;
826
- /**
827
- * Number of times `writable.uncork()` needs to be
828
- * called in order to fully uncork the stream.
829
- * @since v13.2.0, v12.16.0
830
- */
831
- readonly writableCorked: number;
832
- /**
833
- * Is `true` after `writable.destroy()` has been called.
834
- * @since v8.0.0
835
- */
836
- destroyed: boolean;
837
- /**
838
- * Is `true` after `'close'` has been emitted.
839
- * @since v18.0.0
840
- */
841
- readonly closed: boolean;
842
- /**
843
- * Returns error if the stream has been destroyed with an error.
844
- * @since v18.0.0
845
- */
846
- readonly errored: Error | null;
847
- /**
848
- * Is `true` if the stream's buffer has been full and stream will emit `'drain'`.
849
- * @since v15.2.0, v14.17.0
850
- */
851
- readonly writableNeedDrain: boolean;
852
- _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
853
- _writev?(
854
- chunks: {
855
- chunk: any;
856
- encoding: BufferEncoding;
857
- }[],
858
- callback: (error?: Error | null) => void,
859
- ): void;
860
- _construct?(callback: (error?: Error | null) => void): void;
861
- _destroy(error: Error | null, callback: (error?: Error | null) => void): void;
862
- _final(callback: (error?: Error | null) => void): void;
863
- /**
864
- * The `writable.write()` method writes some data to the stream, and calls the
865
- * supplied `callback` once the data has been fully handled. If an error
866
- * occurs, the `callback` will be called with the error as its
867
- * first argument. The `callback` is called asynchronously and before `'error'` is
868
- * emitted.
869
- *
870
- * The return value is `true` if the internal buffer is less than the `highWaterMark` configured when the stream was created after admitting `chunk`.
871
- * If `false` is returned, further attempts to write data to the stream should
872
- * stop until the `'drain'` event is emitted.
873
- *
874
- * While a stream is not draining, calls to `write()` will buffer `chunk`, and
875
- * return false. Once all currently buffered chunks are drained (accepted for
876
- * delivery by the operating system), the `'drain'` event will be emitted.
877
- * Once `write()` returns false, do not write more chunks
878
- * until the `'drain'` event is emitted. While calling `write()` on a stream that
879
- * is not draining is allowed, Node.js will buffer all written chunks until
880
- * maximum memory usage occurs, at which point it will abort unconditionally.
881
- * Even before it aborts, high memory usage will cause poor garbage collector
882
- * performance and high RSS (which is not typically released back to the system,
883
- * even after the memory is no longer required). Since TCP sockets may never
884
- * drain if the remote peer does not read the data, writing a socket that is
885
- * not draining may lead to a remotely exploitable vulnerability.
886
- *
887
- * Writing data while the stream is not draining is particularly
888
- * problematic for a `Transform`, because the `Transform` streams are paused
889
- * by default until they are piped or a `'data'` or `'readable'` event handler
890
- * is added.
891
- *
892
- * If the data to be written can be generated or fetched on demand, it is
893
- * recommended to encapsulate the logic into a `Readable` and use {@link pipe}. However, if calling `write()` is preferred, it is
894
- * possible to respect backpressure and avoid memory issues using the `'drain'` event:
895
- *
896
- * ```js
897
- * function write(data, cb) {
898
- * if (!stream.write(data)) {
899
- * stream.once('drain', cb);
900
- * } else {
901
- * process.nextTick(cb);
902
- * }
903
- * }
904
- *
905
- * // Wait for cb to be called before doing any other write.
906
- * write('hello', () => {
907
- * console.log('Write completed, do more writes now.');
908
- * });
909
- * ```
910
- *
911
- * A `Writable` stream in object mode will always ignore the `encoding` argument.
912
- * @since v0.9.4
913
- * @param chunk Optional data to write. For streams not operating in object mode, `chunk` must be a {string}, {Buffer},
914
- * {TypedArray} or {DataView}. For object mode streams, `chunk` may be any JavaScript value other than `null`.
915
- * @param callback Callback for when this chunk of data is flushed.
916
- * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
917
- */
918
- write(chunk: any, callback?: (error: Error | null | undefined) => void): boolean;
919
- /**
920
- * Writes data to the stream, with an explicit encoding for string data.
921
- * @see {@link Writable.write} for full details.
922
- * @since v0.9.4
923
- * @param chunk Optional data to write. For streams not operating in object mode, `chunk` must be a {string}, {Buffer},
924
- * {TypedArray} or {DataView}. For object mode streams, `chunk` may be any JavaScript value other than `null`.
925
- * @param encoding The encoding, if `chunk` is a string.
926
- * @param callback Callback for when this chunk of data is flushed.
927
- * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
928
- */
929
- write(chunk: any, encoding: BufferEncoding, callback?: (error: Error | null | undefined) => void): boolean;
930
- /**
931
- * The `writable.setDefaultEncoding()` method sets the default `encoding` for a `Writable` stream.
932
- * @since v0.11.15
933
- * @param encoding The new default encoding
934
- */
935
- setDefaultEncoding(encoding: BufferEncoding): this;
936
- /**
937
- * Calling the `writable.end()` method signals that no more data will be written
938
- * to the `Writable`. The optional `chunk` and `encoding` arguments allow one
939
- * final additional chunk of data to be written immediately before closing the
940
- * stream.
941
- *
942
- * Calling the {@link write} method after calling {@link end} will raise an error.
943
- *
944
- * ```js
945
- * // Write 'hello, ' and then end with 'world!'.
946
- * import fs from 'node:fs';
947
- * const file = fs.createWriteStream('example.txt');
948
- * file.write('hello, ');
949
- * file.end('world!');
950
- * // Writing more now is not allowed!
951
- * ```
952
- * @since v0.9.4
953
- * @param cb Callback for when the stream is finished.
954
- */
955
- end(cb?: () => void): this;
956
- /**
957
- * Signals that no more data will be written, with one final chunk of data.
958
- * @see {@link Writable.end} for full details.
959
- * @since v0.9.4
960
- * @param chunk Optional data to write. For streams not operating in object mode, `chunk` must be a {string}, {Buffer},
961
- * {TypedArray} or {DataView}. For object mode streams, `chunk` may be any JavaScript value other than `null`.
962
- * @param cb Callback for when the stream is finished.
963
- */
964
- end(chunk: any, cb?: () => void): this;
965
- /**
966
- * Signals that no more data will be written, with one final chunk of data.
967
- * @see {@link Writable.end} for full details.
968
- * @since v0.9.4
969
- * @param chunk Optional data to write. For streams not operating in object mode, `chunk` must be a {string}, {Buffer},
970
- * {TypedArray} or {DataView}. For object mode streams, `chunk` may be any JavaScript value other than `null`.
971
- * @param encoding The encoding if `chunk` is a string
972
- * @param cb Callback for when the stream is finished.
973
- */
974
- end(chunk: any, encoding: BufferEncoding, cb?: () => void): this;
975
- /**
976
- * The `writable.cork()` method forces all written data to be buffered in memory.
977
- * The buffered data will be flushed when either the {@link uncork} or {@link end} methods are called.
978
- *
979
- * The primary intent of `writable.cork()` is to accommodate a situation in which
980
- * several small chunks are written to the stream in rapid succession. Instead of
981
- * immediately forwarding them to the underlying destination, `writable.cork()` buffers all the chunks until `writable.uncork()` is called, which will pass them
982
- * all to `writable._writev()`, if present. This prevents a head-of-line blocking
983
- * situation where data is being buffered while waiting for the first small chunk
984
- * to be processed. However, use of `writable.cork()` without implementing `writable._writev()` may have an adverse effect on throughput.
985
- *
986
- * See also: `writable.uncork()`, `writable._writev()`.
987
- * @since v0.11.2
988
- */
989
- cork(): void;
990
- /**
991
- * The `writable.uncork()` method flushes all data buffered since {@link cork} was called.
992
- *
993
- * When using `writable.cork()` and `writable.uncork()` to manage the buffering
994
- * of writes to a stream, defer calls to `writable.uncork()` using `process.nextTick()`. Doing so allows batching of all `writable.write()` calls that occur within a given Node.js event
995
- * loop phase.
996
- *
997
- * ```js
998
- * stream.cork();
999
- * stream.write('some ');
1000
- * stream.write('data ');
1001
- * process.nextTick(() => stream.uncork());
1002
- * ```
1003
- *
1004
- * If the `writable.cork()` method is called multiple times on a stream, the
1005
- * same number of calls to `writable.uncork()` must be called to flush the buffered
1006
- * data.
1007
- *
1008
- * ```js
1009
- * stream.cork();
1010
- * stream.write('some ');
1011
- * stream.cork();
1012
- * stream.write('data ');
1013
- * process.nextTick(() => {
1014
- * stream.uncork();
1015
- * // The data will not be flushed until uncork() is called a second time.
1016
- * stream.uncork();
1017
- * });
1018
- * ```
1019
- *
1020
- * See also: `writable.cork()`.
1021
- * @since v0.11.2
1022
- */
1023
- uncork(): void;
1024
- /**
1025
- * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'` event (unless `emitClose` is set to `false`). After this call, the writable
1026
- * stream has ended and subsequent calls to `write()` or `end()` will result in
1027
- * an `ERR_STREAM_DESTROYED` error.
1028
- * This is a destructive and immediate way to destroy a stream. Previous calls to `write()` may not have drained, and may trigger an `ERR_STREAM_DESTROYED` error.
1029
- * Use `end()` instead of destroy if data should flush before close, or wait for
1030
- * the `'drain'` event before destroying the stream.
1031
- *
1032
- * Once `destroy()` has been called any further calls will be a no-op and no
1033
- * further errors except from `_destroy()` may be emitted as `'error'`.
1034
- *
1035
- * Implementors should not override this method,
1036
- * but instead implement `writable._destroy()`.
1037
- * @since v8.0.0
1038
- * @param error Optional, an error to emit with `'error'` event.
1039
- */
1040
- destroy(error?: Error): this;
1041
- /**
1042
- * Calls `writable.destroy()` with an `AbortError` and returns
1043
- * a promise that fulfills when the stream is finished.
1044
- * @since v22.4.0, v20.16.0
1045
- */
1046
- [Symbol.asyncDispose](): Promise<void>;
1047
- // #region InternalEventEmitter
1048
- addListener<E extends keyof WritableEventMap>(
1049
- eventName: E,
1050
- listener: (...args: WritableEventMap[E]) => void,
1051
- ): this;
1052
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1053
- emit<E extends keyof WritableEventMap>(eventName: E, ...args: WritableEventMap[E]): boolean;
1054
- emit(eventName: string | symbol, ...args: any[]): boolean;
1055
- listenerCount<E extends keyof WritableEventMap>(
1056
- eventName: E,
1057
- listener?: (...args: WritableEventMap[E]) => void,
1058
- ): number;
1059
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
1060
- listeners<E extends keyof WritableEventMap>(eventName: E): ((...args: WritableEventMap[E]) => void)[];
1061
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
1062
- off<E extends keyof WritableEventMap>(eventName: E, listener: (...args: WritableEventMap[E]) => void): this;
1063
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
1064
- on<E extends keyof WritableEventMap>(eventName: E, listener: (...args: WritableEventMap[E]) => void): this;
1065
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
1066
- once<E extends keyof WritableEventMap>(
1067
- eventName: E,
1068
- listener: (...args: WritableEventMap[E]) => void,
1069
- ): this;
1070
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
1071
- prependListener<E extends keyof WritableEventMap>(
1072
- eventName: E,
1073
- listener: (...args: WritableEventMap[E]) => void,
1074
- ): this;
1075
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1076
- prependOnceListener<E extends keyof WritableEventMap>(
1077
- eventName: E,
1078
- listener: (...args: WritableEventMap[E]) => void,
1079
- ): this;
1080
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1081
- rawListeners<E extends keyof WritableEventMap>(eventName: E): ((...args: WritableEventMap[E]) => void)[];
1082
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
1083
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
1084
- removeAllListeners<E extends keyof WritableEventMap>(eventName?: E): this;
1085
- removeAllListeners(eventName?: string | symbol): this;
1086
- removeListener<E extends keyof WritableEventMap>(
1087
- eventName: E,
1088
- listener: (...args: WritableEventMap[E]) => void,
1089
- ): this;
1090
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1091
- // #endregion
1092
- }
1093
- interface DuplexOptions<T extends Duplex = Duplex> extends ReadableOptions<T>, WritableOptions<T> {
1094
- allowHalfOpen?: boolean | undefined;
1095
- readableObjectMode?: boolean | undefined;
1096
- writableObjectMode?: boolean | undefined;
1097
- readableHighWaterMark?: number | undefined;
1098
- writableHighWaterMark?: number | undefined;
1099
- writableCorked?: number | undefined;
1100
- }
1101
- interface DuplexToWebOptions {
1102
- readableType?: web.ReadableStreamType | undefined;
1103
- }
1104
- interface DuplexEventMap extends ReadableEventMap, WritableEventMap {}
1105
- /**
1106
- * Duplex streams are streams that implement both the `Readable` and `Writable` interfaces.
1107
- *
1108
- * Examples of `Duplex` streams include:
1109
- *
1110
- * * `TCP sockets`
1111
- * * `zlib streams`
1112
- * * `crypto streams`
1113
- * @since v0.9.4
1114
- */
1115
- class Duplex extends Stream implements NodeJS.ReadWriteStream {
1116
- constructor(options?: DuplexOptions);
1117
- /**
1118
- * A utility method for creating duplex streams.
1119
- *
1120
- * - `Stream` converts writable stream into writable `Duplex` and readable stream
1121
- * to `Duplex`.
1122
- * - `Blob` converts into readable `Duplex`.
1123
- * - `string` converts into readable `Duplex`.
1124
- * - `ArrayBuffer` converts into readable `Duplex`.
1125
- * - `AsyncIterable` converts into a readable `Duplex`. Cannot yield `null`.
1126
- * - `AsyncGeneratorFunction` converts into a readable/writable transform
1127
- * `Duplex`. Must take a source `AsyncIterable` as first parameter. Cannot yield
1128
- * `null`.
1129
- * - `AsyncFunction` converts into a writable `Duplex`. Must return
1130
- * either `null` or `undefined`
1131
- * - `Object ({ writable, readable })` converts `readable` and
1132
- * `writable` into `Stream` and then combines them into `Duplex` where the
1133
- * `Duplex` will write to the `writable` and read from the `readable`.
1134
- * - `Promise` converts into readable `Duplex`. Value `null` is ignored.
1135
- *
1136
- * @since v16.8.0
1137
- */
1138
- static from(
1139
- src:
1140
- | NodeJS.ReadableStream
1141
- | NodeJS.WritableStream
1142
- | Blob
1143
- | string
1144
- | Iterable<any>
1145
- | AsyncIterable<any>
1146
- | ((source: AsyncIterable<any>) => AsyncIterable<any>)
1147
- | ((source: AsyncIterable<any>) => Promise<void>)
1148
- | Promise<any>
1149
- | web.ReadableWritablePair
1150
- | web.ReadableStream
1151
- | web.WritableStream,
1152
- ): Duplex;
1153
- /**
1154
- * A utility method for creating a web `ReadableStream` and `WritableStream` from a `Duplex`.
1155
- * @since v17.0.0
1156
- */
1157
- static toWeb(streamDuplex: NodeJS.ReadWriteStream, options?: DuplexToWebOptions): web.ReadableWritablePair;
1158
- /**
1159
- * A utility method for creating a `Duplex` from a web `ReadableStream` and `WritableStream`.
1160
- * @since v17.0.0
1161
- */
1162
- static fromWeb(
1163
- duplexStream: web.ReadableWritablePair,
1164
- options?: Pick<
1165
- DuplexOptions,
1166
- "allowHalfOpen" | "decodeStrings" | "encoding" | "highWaterMark" | "objectMode" | "signal"
1167
- >,
1168
- ): Duplex;
1169
- /**
1170
- * If `false` then the stream will automatically end the writable side when the
1171
- * readable side ends. Set initially by the `allowHalfOpen` constructor option,
1172
- * which defaults to `true`.
1173
- *
1174
- * This can be changed manually to change the half-open behavior of an existing
1175
- * `Duplex` stream instance, but must be changed before the `'end'` event is emitted.
1176
- * @since v0.9.4
1177
- */
1178
- allowHalfOpen: boolean;
1179
- // #region InternalEventEmitter
1180
- addListener<E extends keyof DuplexEventMap>(
1181
- eventName: E,
1182
- listener: (...args: DuplexEventMap[E]) => void,
1183
- ): this;
1184
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1185
- emit<E extends keyof DuplexEventMap>(eventName: E, ...args: DuplexEventMap[E]): boolean;
1186
- emit(eventName: string | symbol, ...args: any[]): boolean;
1187
- listenerCount<E extends keyof DuplexEventMap>(
1188
- eventName: E,
1189
- listener?: (...args: DuplexEventMap[E]) => void,
1190
- ): number;
1191
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
1192
- listeners<E extends keyof DuplexEventMap>(eventName: E): ((...args: DuplexEventMap[E]) => void)[];
1193
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
1194
- off<E extends keyof DuplexEventMap>(eventName: E, listener: (...args: DuplexEventMap[E]) => void): this;
1195
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
1196
- on<E extends keyof DuplexEventMap>(eventName: E, listener: (...args: DuplexEventMap[E]) => void): this;
1197
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
1198
- once<E extends keyof DuplexEventMap>(eventName: E, listener: (...args: DuplexEventMap[E]) => void): this;
1199
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
1200
- prependListener<E extends keyof DuplexEventMap>(
1201
- eventName: E,
1202
- listener: (...args: DuplexEventMap[E]) => void,
1203
- ): this;
1204
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1205
- prependOnceListener<E extends keyof DuplexEventMap>(
1206
- eventName: E,
1207
- listener: (...args: DuplexEventMap[E]) => void,
1208
- ): this;
1209
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1210
- rawListeners<E extends keyof DuplexEventMap>(eventName: E): ((...args: DuplexEventMap[E]) => void)[];
1211
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
1212
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
1213
- removeAllListeners<E extends keyof DuplexEventMap>(eventName?: E): this;
1214
- removeAllListeners(eventName?: string | symbol): this;
1215
- removeListener<E extends keyof DuplexEventMap>(
1216
- eventName: E,
1217
- listener: (...args: DuplexEventMap[E]) => void,
1218
- ): this;
1219
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1220
- // #endregion
1221
- }
1222
- interface Duplex extends Readable, Writable {}
1223
- /**
1224
- * The utility function `duplexPair` returns an Array with two items,
1225
- * each being a `Duplex` stream connected to the other side:
1226
- *
1227
- * ```js
1228
- * const [ sideA, sideB ] = duplexPair();
1229
- * ```
1230
- *
1231
- * Whatever is written to one stream is made readable on the other. It provides
1232
- * behavior analogous to a network connection, where the data written by the client
1233
- * becomes readable by the server, and vice-versa.
1234
- *
1235
- * The Duplex streams are symmetrical; one or the other may be used without any
1236
- * difference in behavior.
1237
- * @param options A value to pass to both {@link Duplex} constructors,
1238
- * to set options such as buffering.
1239
- * @since v22.6.0
1240
- */
1241
- function duplexPair(options?: DuplexOptions): [Duplex, Duplex];
1242
- type TransformCallback = (error?: Error | null, data?: any) => void;
1243
- interface TransformOptions<T extends Transform = Transform> extends DuplexOptions<T> {
1244
- transform?:
1245
- | ((this: T, chunk: any, encoding: BufferEncoding, callback: TransformCallback) => void)
1246
- | undefined;
1247
- flush?: ((this: T, callback: TransformCallback) => void) | undefined;
1248
- }
1249
- /**
1250
- * Transform streams are `Duplex` streams where the output is in some way
1251
- * related to the input. Like all `Duplex` streams, `Transform` streams
1252
- * implement both the `Readable` and `Writable` interfaces.
1253
- *
1254
- * Examples of `Transform` streams include:
1255
- *
1256
- * * `zlib streams`
1257
- * * `crypto streams`
1258
- * @since v0.9.4
1259
- */
1260
- class Transform extends Duplex {
1261
- constructor(options?: TransformOptions);
1262
- _transform(chunk: any, encoding: BufferEncoding, callback: TransformCallback): void;
1263
- _flush(callback: TransformCallback): void;
1264
- }
1265
- /**
1266
- * The `stream.PassThrough` class is a trivial implementation of a `Transform` stream that simply passes the input bytes across to the output. Its purpose is
1267
- * primarily for examples and testing, but there are some use cases where `stream.PassThrough` is useful as a building block for novel sorts of streams.
1268
- */
1269
- class PassThrough extends Transform {}
1270
- /**
1271
- * A stream to attach a signal to.
1272
- *
1273
- * Attaches an AbortSignal to a readable or writeable stream. This lets code
1274
- * control stream destruction using an `AbortController`.
1275
- *
1276
- * Calling `abort` on the `AbortController` corresponding to the passed `AbortSignal` will behave the same way as calling `.destroy(new AbortError())` on the
1277
- * stream, and `controller.error(new AbortError())` for webstreams.
1278
- *
1279
- * ```js
1280
- * import fs from 'node:fs';
1281
- *
1282
- * const controller = new AbortController();
1283
- * const read = addAbortSignal(
1284
- * controller.signal,
1285
- * fs.createReadStream(('object.json')),
1286
- * );
1287
- * // Later, abort the operation closing the stream
1288
- * controller.abort();
1289
- * ```
1290
- *
1291
- * Or using an `AbortSignal` with a readable stream as an async iterable:
1292
- *
1293
- * ```js
1294
- * const controller = new AbortController();
1295
- * setTimeout(() => controller.abort(), 10_000); // set a timeout
1296
- * const stream = addAbortSignal(
1297
- * controller.signal,
1298
- * fs.createReadStream(('object.json')),
1299
- * );
1300
- * (async () => {
1301
- * try {
1302
- * for await (const chunk of stream) {
1303
- * await process(chunk);
1304
- * }
1305
- * } catch (e) {
1306
- * if (e.name === 'AbortError') {
1307
- * // The operation was cancelled
1308
- * } else {
1309
- * throw e;
1310
- * }
1311
- * }
1312
- * })();
1313
- * ```
1314
- *
1315
- * Or using an `AbortSignal` with a ReadableStream:
1316
- *
1317
- * ```js
1318
- * const controller = new AbortController();
1319
- * const rs = new ReadableStream({
1320
- * start(controller) {
1321
- * controller.enqueue('hello');
1322
- * controller.enqueue('world');
1323
- * controller.close();
1324
- * },
1325
- * });
1326
- *
1327
- * addAbortSignal(controller.signal, rs);
1328
- *
1329
- * finished(rs, (err) => {
1330
- * if (err) {
1331
- * if (err.name === 'AbortError') {
1332
- * // The operation was cancelled
1333
- * }
1334
- * }
1335
- * });
1336
- *
1337
- * const reader = rs.getReader();
1338
- *
1339
- * reader.read().then(({ value, done }) => {
1340
- * console.log(value); // hello
1341
- * console.log(done); // false
1342
- * controller.abort();
1343
- * });
1344
- * ```
1345
- * @since v15.4.0
1346
- * @param signal A signal representing possible cancellation
1347
- * @param stream A stream to attach a signal to.
1348
- */
1349
- function addAbortSignal<
1350
- T extends NodeJS.ReadableStream | NodeJS.WritableStream | web.ReadableStream | web.WritableStream,
1351
- >(signal: AbortSignal, stream: T): T;
1352
- /**
1353
- * Returns the default highWaterMark used by streams.
1354
- * Defaults to `65536` (64 KiB), or `16` for `objectMode`.
1355
- * @since v19.9.0
1356
- */
1357
- function getDefaultHighWaterMark(objectMode: boolean): number;
1358
- /**
1359
- * Sets the default highWaterMark used by streams.
1360
- * @since v19.9.0
1361
- * @param value highWaterMark value
1362
- */
1363
- function setDefaultHighWaterMark(objectMode: boolean, value: number): void;
1364
- interface FinishedOptions extends Abortable {
1365
- error?: boolean | undefined;
1366
- readable?: boolean | undefined;
1367
- writable?: boolean | undefined;
1368
- }
1369
- /**
1370
- * A readable and/or writable stream/webstream.
1371
- *
1372
- * A function to get notified when a stream is no longer readable, writable
1373
- * or has experienced an error or a premature close event.
1374
- *
1375
- * ```js
1376
- * import { finished } from 'node:stream';
1377
- * import fs from 'node:fs';
1378
- *
1379
- * const rs = fs.createReadStream('archive.tar');
1380
- *
1381
- * finished(rs, (err) => {
1382
- * if (err) {
1383
- * console.error('Stream failed.', err);
1384
- * } else {
1385
- * console.log('Stream is done reading.');
1386
- * }
1387
- * });
1388
- *
1389
- * rs.resume(); // Drain the stream.
1390
- * ```
1391
- *
1392
- * Especially useful in error handling scenarios where a stream is destroyed
1393
- * prematurely (like an aborted HTTP request), and will not emit `'end'` or `'finish'`.
1394
- *
1395
- * The `finished` API provides [`promise version`](https://nodejs.org/docs/latest-v26.x/api/stream.html#streamfinishedstream-options).
1396
- *
1397
- * `stream.finished()` leaves dangling event listeners (in particular `'error'`, `'end'`, `'finish'` and `'close'`) after `callback` has been
1398
- * invoked. The reason for this is so that unexpected `'error'` events (due to
1399
- * incorrect stream implementations) do not cause unexpected crashes.
1400
- * If this is unwanted behavior then the returned cleanup function needs to be
1401
- * invoked in the callback:
1402
- *
1403
- * ```js
1404
- * const cleanup = finished(rs, (err) => {
1405
- * cleanup();
1406
- * // ...
1407
- * });
1408
- * ```
1409
- * @since v10.0.0
1410
- * @param stream A readable and/or writable stream.
1411
- * @param callback A callback function that takes an optional error argument.
1412
- * @returns A cleanup function which removes all registered listeners.
1413
- */
1414
- function finished(
1415
- stream: NodeJS.ReadableStream | NodeJS.WritableStream | web.ReadableStream | web.WritableStream,
1416
- options: FinishedOptions,
1417
- callback: (err?: NodeJS.ErrnoException | null) => void,
1418
- ): () => void;
1419
- function finished(
1420
- stream: NodeJS.ReadableStream | NodeJS.WritableStream | web.ReadableStream | web.WritableStream,
1421
- callback: (err?: NodeJS.ErrnoException | null) => void,
1422
- ): () => void;
1423
- namespace finished {
1424
- import __promisify__ = promises.finished;
1425
- export { __promisify__ };
1426
- }
1427
- type PipelineSourceFunction<O> = (options?: Abortable) => Iterable<O> | AsyncIterable<O>;
1428
- type PipelineSource<O> =
1429
- | NodeJS.ReadableStream
1430
- | web.ReadableStream<O>
1431
- | web.TransformStream<any, O>
1432
- | Iterable<O>
1433
- | AsyncIterable<O>
1434
- | PipelineSourceFunction<O>;
1435
- type PipelineSourceArgument<T> = (T extends (...args: any[]) => infer R ? R : T) extends infer S
1436
- ? S extends web.TransformStream<any, infer O> ? web.ReadableStream<O> : S
1437
- : never;
1438
- type PipelineTransformGenerator<S extends PipelineTransformSource<any>, O> = (
1439
- source: PipelineSourceArgument<S>,
1440
- options?: Abortable,
1441
- ) => AsyncIterable<O>;
1442
- type PipelineTransformStreams<I, O> =
1443
- | NodeJS.ReadWriteStream
1444
- | web.TransformStream<I, O>;
1445
- type PipelineTransform<S extends PipelineTransformSource<any>, O> = S extends
1446
- PipelineSource<infer I> | PipelineTransformStreams<any, infer I> | ((...args: any[]) => infer I)
1447
- ? PipelineTransformStreams<I, O> | PipelineTransformGenerator<S, O>
1448
- : never;
1449
- type PipelineTransformSource<O> = PipelineSource<O> | PipelineTransform<any, O>;
1450
- type PipelineDestinationFunction<S extends PipelineTransformSource<any>, R> = (
1451
- source: PipelineSourceArgument<S>,
1452
- options?: Abortable,
1453
- ) => R;
1454
- type PipelineDestination<S extends PipelineTransformSource<any>, R> = S extends
1455
- PipelineSource<infer I> | PipelineTransform<any, infer I> ?
1456
- | NodeJS.WritableStream
1457
- | web.WritableStream<I>
1458
- | web.TransformStream<I, any>
1459
- | PipelineDestinationFunction<S, R>
1460
- : never;
1461
- type PipelineCallback<S extends PipelineDestination<any, any>> = (
1462
- err: NodeJS.ErrnoException | null,
1463
- value: S extends (...args: any[]) => PromiseLike<infer R> ? R : undefined,
1464
- ) => void;
1465
- type PipelineResult<S extends PipelineDestination<any, any>> = S extends NodeJS.WritableStream ? S : Duplex;
1466
- /**
1467
- * A module method to pipe between streams and generators forwarding errors and
1468
- * properly cleaning up and provide a callback when the pipeline is complete.
1469
- *
1470
- * ```js
1471
- * import { pipeline } from 'node:stream';
1472
- * import fs from 'node:fs';
1473
- * import zlib from 'node:zlib';
1474
- *
1475
- * // Use the pipeline API to easily pipe a series of streams
1476
- * // together and get notified when the pipeline is fully done.
1477
- *
1478
- * // A pipeline to gzip a potentially huge tar file efficiently:
1479
- *
1480
- * pipeline(
1481
- * fs.createReadStream('archive.tar'),
1482
- * zlib.createGzip(),
1483
- * fs.createWriteStream('archive.tar.gz'),
1484
- * (err) => {
1485
- * if (err) {
1486
- * console.error('Pipeline failed.', err);
1487
- * } else {
1488
- * console.log('Pipeline succeeded.');
1489
- * }
1490
- * },
1491
- * );
1492
- * ```
1493
- *
1494
- * The `pipeline` API provides a [`promise version`](https://nodejs.org/docs/latest-v26.x/api/stream.html#streampipelinesource-transforms-destination-options).
1495
- *
1496
- * `stream.pipeline()` will call `stream.destroy(err)` on all streams except:
1497
- *
1498
- * * `Readable` streams which have emitted `'end'` or `'close'`.
1499
- * * `Writable` streams which have emitted `'finish'` or `'close'`.
1500
- *
1501
- * `stream.pipeline()` leaves dangling event listeners on the streams
1502
- * after the `callback` has been invoked. In the case of reuse of streams after
1503
- * failure, this can cause event listener leaks and swallowed errors. If the last
1504
- * stream is readable, dangling event listeners will be removed so that the last
1505
- * stream can be consumed later.
1506
- *
1507
- * `stream.pipeline()` closes all the streams when an error is raised.
1508
- * The `IncomingRequest` usage with `pipeline` could lead to an unexpected behavior
1509
- * once it would destroy the socket without sending the expected response.
1510
- * See the example below:
1511
- *
1512
- * ```js
1513
- * import fs from 'node:fs';
1514
- * import http from 'node:http';
1515
- * import { pipeline } from 'node:stream';
1516
- *
1517
- * const server = http.createServer((req, res) => {
1518
- * const fileStream = fs.createReadStream('./fileNotExist.txt');
1519
- * pipeline(fileStream, res, (err) => {
1520
- * if (err) {
1521
- * console.log(err); // No such file
1522
- * // this message can't be sent once `pipeline` already destroyed the socket
1523
- * return res.end('error!!!');
1524
- * }
1525
- * });
1526
- * });
1527
- * ```
1528
- * @since v10.0.0
1529
- * @param callback Called when the pipeline is fully done.
1530
- */
1531
- function pipeline<S extends PipelineSource<any>, D extends PipelineDestination<S, any>>(
1532
- source: S,
1533
- destination: D,
1534
- callback: PipelineCallback<D>,
1535
- ): PipelineResult<D>;
1536
- function pipeline<
1537
- S extends PipelineSource<any>,
1538
- T extends PipelineTransform<S, any>,
1539
- D extends PipelineDestination<T, any>,
1540
- >(
1541
- source: S,
1542
- transform: T,
1543
- destination: D,
1544
- callback: PipelineCallback<D>,
1545
- ): PipelineResult<D>;
1546
- function pipeline<
1547
- S extends PipelineSource<any>,
1548
- T1 extends PipelineTransform<S, any>,
1549
- T2 extends PipelineTransform<T1, any>,
1550
- D extends PipelineDestination<T2, any>,
1551
- >(
1552
- source: S,
1553
- transform1: T1,
1554
- transform2: T2,
1555
- destination: D,
1556
- callback: PipelineCallback<D>,
1557
- ): PipelineResult<D>;
1558
- function pipeline<
1559
- S extends PipelineSource<any>,
1560
- T1 extends PipelineTransform<S, any>,
1561
- T2 extends PipelineTransform<T1, any>,
1562
- T3 extends PipelineTransform<T2, any>,
1563
- D extends PipelineDestination<T3, any>,
1564
- >(
1565
- source: S,
1566
- transform1: T1,
1567
- transform2: T2,
1568
- transform3: T3,
1569
- destination: D,
1570
- callback: PipelineCallback<D>,
1571
- ): PipelineResult<D>;
1572
- function pipeline<
1573
- S extends PipelineSource<any>,
1574
- T1 extends PipelineTransform<S, any>,
1575
- T2 extends PipelineTransform<T1, any>,
1576
- T3 extends PipelineTransform<T2, any>,
1577
- T4 extends PipelineTransform<T3, any>,
1578
- D extends PipelineDestination<T4, any>,
1579
- >(
1580
- source: S,
1581
- transform1: T1,
1582
- transform2: T2,
1583
- transform3: T3,
1584
- transform4: T4,
1585
- destination: D,
1586
- callback: PipelineCallback<D>,
1587
- ): PipelineResult<D>;
1588
- function pipeline(
1589
- streams: ReadonlyArray<PipelineSource<any> | PipelineTransform<any, any> | PipelineDestination<any, any>>,
1590
- callback: (err: NodeJS.ErrnoException | null) => void,
1591
- ): NodeJS.WritableStream;
1592
- function pipeline(
1593
- ...streams: [
1594
- ...[PipelineSource<any>, ...PipelineTransform<any, any>[], PipelineDestination<any, any>],
1595
- callback: ((err: NodeJS.ErrnoException | null) => void),
1596
- ]
1597
- ): NodeJS.WritableStream;
1598
- namespace pipeline {
1599
- import __promisify__ = promises.pipeline;
1600
- export { __promisify__ };
1601
- }
1602
- type ComposeSource<O> =
1603
- | NodeJS.ReadableStream
1604
- | web.ReadableStream<O>
1605
- | Iterable<O>
1606
- | AsyncIterable<O>
1607
- | (() => AsyncIterable<O>);
1608
- type ComposeTransformStreams<I, O> = NodeJS.ReadWriteStream | web.TransformStream<I, O>;
1609
- type ComposeTransformGenerator<I, O> = (source: AsyncIterable<I>) => AsyncIterable<O>;
1610
- type ComposeTransform<S extends ComposeTransformSource<any>, O> = S extends
1611
- ComposeSource<infer I> | ComposeTransformStreams<any, infer I> | ComposeTransformGenerator<any, infer I>
1612
- ? ComposeTransformStreams<I, O> | ComposeTransformGenerator<I, O>
1613
- : never;
1614
- type ComposeTransformSource<O> = ComposeSource<O> | ComposeTransform<any, O>;
1615
- type ComposeDestination<S extends ComposeTransformSource<any>> = S extends ComposeTransformSource<infer I> ?
1616
- | NodeJS.WritableStream
1617
- | web.WritableStream<I>
1618
- | web.TransformStream<I, any>
1619
- | ((source: AsyncIterable<I>) => void)
1620
- : never;
1621
- /**
1622
- * Combines two or more streams into a `Duplex` stream that writes to the
1623
- * first stream and reads from the last. Each provided stream is piped into
1624
- * the next, using `stream.pipeline`. If any of the streams error then all
1625
- * are destroyed, including the outer `Duplex` stream.
1626
- *
1627
- * Because `stream.compose` returns a new stream that in turn can (and
1628
- * should) be piped into other streams, it enables composition. In contrast,
1629
- * when passing streams to `stream.pipeline`, typically the first stream is
1630
- * a readable stream and the last a writable stream, forming a closed
1631
- * circuit.
1632
- *
1633
- * If passed a `Function` it must be a factory method taking a `source`
1634
- * `Iterable`.
1635
- *
1636
- * ```js
1637
- * import { compose, Transform } from 'node:stream';
1638
- *
1639
- * const removeSpaces = new Transform({
1640
- * transform(chunk, encoding, callback) {
1641
- * callback(null, String(chunk).replace(' ', ''));
1642
- * },
1643
- * });
1644
- *
1645
- * async function* toUpper(source) {
1646
- * for await (const chunk of source) {
1647
- * yield String(chunk).toUpperCase();
1648
- * }
1649
- * }
1650
- *
1651
- * let res = '';
1652
- * for await (const buf of compose(removeSpaces, toUpper).end('hello world')) {
1653
- * res += buf;
1654
- * }
1655
- *
1656
- * console.log(res); // prints 'HELLOWORLD'
1657
- * ```
1658
- *
1659
- * `stream.compose` can be used to convert async iterables, generators and
1660
- * functions into streams.
1661
- *
1662
- * * `AsyncIterable` converts into a readable `Duplex`. Cannot yield
1663
- * `null`.
1664
- * * `AsyncGeneratorFunction` converts into a readable/writable transform `Duplex`.
1665
- * Must take a source `AsyncIterable` as first parameter. Cannot yield
1666
- * `null`.
1667
- * * `AsyncFunction` converts into a writable `Duplex`. Must return
1668
- * either `null` or `undefined`.
1669
- *
1670
- * ```js
1671
- * import { compose } from 'node:stream';
1672
- * import { finished } from 'node:stream/promises';
1673
- *
1674
- * // Convert AsyncIterable into readable Duplex.
1675
- * const s1 = compose(async function*() {
1676
- * yield 'Hello';
1677
- * yield 'World';
1678
- * }());
1679
- *
1680
- * // Convert AsyncGenerator into transform Duplex.
1681
- * const s2 = compose(async function*(source) {
1682
- * for await (const chunk of source) {
1683
- * yield String(chunk).toUpperCase();
1684
- * }
1685
- * });
1686
- *
1687
- * let res = '';
1688
- *
1689
- * // Convert AsyncFunction into writable Duplex.
1690
- * const s3 = compose(async function(source) {
1691
- * for await (const chunk of source) {
1692
- * res += chunk;
1693
- * }
1694
- * });
1695
- *
1696
- * await finished(compose(s1, s2, s3));
1697
- *
1698
- * console.log(res); // prints 'HELLOWORLD'
1699
- * ```
1700
- *
1701
- * For convenience, the `readable.compose(stream)` method is available on
1702
- * `Readable` and `Duplex` streams as a wrapper for this function.
1703
- * @since v16.9.0
1704
- * @experimental
1705
- */
1706
- /* eslint-disable @definitelytyped/no-unnecessary-generics */
1707
- function compose(stream: ComposeSource<any> | ComposeDestination<any>): Duplex;
1708
- function compose<
1709
- S extends ComposeSource<any> | ComposeTransform<any, any>,
1710
- D extends ComposeTransform<S, any> | ComposeDestination<S>,
1711
- >(
1712
- source: S,
1713
- destination: D,
1714
- ): Duplex;
1715
- function compose<
1716
- S extends ComposeSource<any> | ComposeTransform<any, any>,
1717
- T extends ComposeTransform<S, any>,
1718
- D extends ComposeTransform<T, any> | ComposeDestination<T>,
1719
- >(source: S, transform: T, destination: D): Duplex;
1720
- function compose<
1721
- S extends ComposeSource<any> | ComposeTransform<any, any>,
1722
- T1 extends ComposeTransform<S, any>,
1723
- T2 extends ComposeTransform<T1, any>,
1724
- D extends ComposeTransform<T2, any> | ComposeDestination<T2>,
1725
- >(source: S, transform1: T1, transform2: T2, destination: D): Duplex;
1726
- function compose<
1727
- S extends ComposeSource<any> | ComposeTransform<any, any>,
1728
- T1 extends ComposeTransform<S, any>,
1729
- T2 extends ComposeTransform<T1, any>,
1730
- T3 extends ComposeTransform<T2, any>,
1731
- D extends ComposeTransform<T3, any> | ComposeDestination<T3>,
1732
- >(source: S, transform1: T1, transform2: T2, transform3: T3, destination: D): Duplex;
1733
- function compose<
1734
- S extends ComposeSource<any> | ComposeTransform<any, any>,
1735
- T1 extends ComposeTransform<S, any>,
1736
- T2 extends ComposeTransform<T1, any>,
1737
- T3 extends ComposeTransform<T2, any>,
1738
- T4 extends ComposeTransform<T3, any>,
1739
- D extends ComposeTransform<T4, any> | ComposeDestination<T4>,
1740
- >(source: S, transform1: T1, transform2: T2, transform3: T3, transform4: T4, destination: D): Duplex;
1741
- function compose(
1742
- ...streams: [
1743
- ComposeSource<any>,
1744
- ...ComposeTransform<any, any>[],
1745
- ComposeDestination<any>,
1746
- ]
1747
- ): Duplex;
1748
- /* eslint-enable @definitelytyped/no-unnecessary-generics */
1749
- /**
1750
- * Returns whether the stream has encountered an error.
1751
- * @since v17.3.0, v16.14.0
1752
- */
1753
- function isErrored(
1754
- stream: NodeJS.ReadableStream | NodeJS.WritableStream | web.ReadableStream | web.WritableStream,
1755
- ): boolean;
1756
- /**
1757
- * Returns whether the stream is readable.
1758
- * @since v17.4.0, v16.14.0
1759
- * @returns Only returns `null` if `stream` is not a valid `Readable`, `Duplex` or `ReadableStream`.
1760
- */
1761
- function isReadable(stream: NodeJS.ReadableStream | web.ReadableStream): boolean | null;
1762
- /**
1763
- * Returns whether the stream is writable.
1764
- * @since v20.0.0
1765
- * @returns Only returns `null` if `stream` is not a valid `Writable`, `Duplex` or `WritableStream`.
1766
- */
1767
- function isWritable(stream: NodeJS.WritableStream | web.WritableStream): boolean | null;
1768
- }
1769
- global {
1770
- namespace NodeJS {
1771
- // These interfaces are vestigial, and correspond roughly to the "streams2" interfaces
1772
- // from early versions of Node.js, but they are still used widely across the ecosystem.
1773
- // Accordingly, they are commonly used as "in-types" for @types/node APIs, so that
1774
- // eg. streams returned from older libraries will still be considered valid input to
1775
- // functions which accept stream arguments.
1776
- // It's not possible to change or remove these without astronomical levels of breakage.
1777
- interface ReadableStream extends EventEmitter {
1778
- readable: boolean;
1779
- read(size?: number): string | Buffer;
1780
- setEncoding(encoding: BufferEncoding): this;
1781
- pause(): this;
1782
- resume(): this;
1783
- isPaused(): boolean;
1784
- pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined }): T;
1785
- unpipe(destination?: WritableStream): this;
1786
- unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void;
1787
- wrap(oldStream: ReadableStream): this;
1788
- [Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>;
1789
- }
1790
- interface WritableStream extends EventEmitter {
1791
- writable: boolean;
1792
- write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
1793
- write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
1794
- end(cb?: () => void): this;
1795
- end(data: string | Uint8Array, cb?: () => void): this;
1796
- end(str: string, encoding?: BufferEncoding, cb?: () => void): this;
1797
- }
1798
- interface ReadWriteStream extends ReadableStream, WritableStream {}
1799
- }
1800
- }
1801
- export = Stream;
1802
- }
1803
- declare module "stream" {
1804
- import stream = require("node:stream");
1805
- export = stream;
1806
- }