@openclaw/twitch 2026.7.2-beta.3 → 2026.7.2-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1808) hide show
  1. package/dist/api.js +1 -1
  2. package/dist/channel-plugin-api.js +1 -1
  3. package/dist/{monitor-8jPqCs8-.js → monitor-D9sSDntu.js} +214 -15
  4. package/dist/{plugin-D1zR5fBz.js → plugin-CNFX3B8N.js} +16 -42
  5. package/dist/setup-plugin-api.js +1 -1
  6. package/dist/{setup-surface-CxAa0pLj.js → setup-surface-Dh9kVN1p.js} +67 -68
  7. package/openclaw.plugin.json +0 -5
  8. package/package.json +23 -13
  9. package/node_modules/@d-fischer/cache-decorators/LICENSE +0 -21
  10. package/node_modules/@d-fischer/cache-decorators/es/decorators/Cacheable.mjs +0 -63
  11. package/node_modules/@d-fischer/cache-decorators/es/decorators/Cached.mjs +0 -19
  12. package/node_modules/@d-fischer/cache-decorators/es/decorators/CachedGetter.mjs +0 -20
  13. package/node_modules/@d-fischer/cache-decorators/es/decorators/ClearsCache.mjs +0 -12
  14. package/node_modules/@d-fischer/cache-decorators/es/index.mjs +0 -5
  15. package/node_modules/@d-fischer/cache-decorators/es/types/CacheEntry.mjs +0 -1
  16. package/node_modules/@d-fischer/cache-decorators/es/utils/createCacheKey.mjs +0 -27
  17. package/node_modules/@d-fischer/cache-decorators/lib/decorators/Cacheable.d.ts +0 -7
  18. package/node_modules/@d-fischer/cache-decorators/lib/decorators/Cacheable.js +0 -67
  19. package/node_modules/@d-fischer/cache-decorators/lib/decorators/Cached.d.ts +0 -1
  20. package/node_modules/@d-fischer/cache-decorators/lib/decorators/Cached.js +0 -23
  21. package/node_modules/@d-fischer/cache-decorators/lib/decorators/CachedGetter.d.ts +0 -1
  22. package/node_modules/@d-fischer/cache-decorators/lib/decorators/CachedGetter.js +0 -24
  23. package/node_modules/@d-fischer/cache-decorators/lib/decorators/ClearsCache.d.ts +0 -1
  24. package/node_modules/@d-fischer/cache-decorators/lib/decorators/ClearsCache.js +0 -16
  25. package/node_modules/@d-fischer/cache-decorators/lib/index.d.ts +0 -6
  26. package/node_modules/@d-fischer/cache-decorators/lib/index.js +0 -13
  27. package/node_modules/@d-fischer/cache-decorators/lib/types/CacheEntry.d.ts +0 -4
  28. package/node_modules/@d-fischer/cache-decorators/lib/types/CacheEntry.js +0 -2
  29. package/node_modules/@d-fischer/cache-decorators/lib/utils/createCacheKey.d.ts +0 -1
  30. package/node_modules/@d-fischer/cache-decorators/lib/utils/createCacheKey.js +0 -31
  31. package/node_modules/@d-fischer/cache-decorators/package.json +0 -57
  32. package/node_modules/@d-fischer/connection/LICENSE +0 -21
  33. package/node_modules/@d-fischer/connection/es/AbstractConnection.mjs +0 -52
  34. package/node_modules/@d-fischer/connection/es/Connection.mjs +0 -1
  35. package/node_modules/@d-fischer/connection/es/DirectConnection-stub.mjs +0 -5
  36. package/node_modules/@d-fischer/connection/es/DirectConnection.mjs +0 -85
  37. package/node_modules/@d-fischer/connection/es/PersistentConnection.mjs +0 -136
  38. package/node_modules/@d-fischer/connection/es/WebSocketConnection.mjs +0 -88
  39. package/node_modules/@d-fischer/connection/es/browser.mjs +0 -4
  40. package/node_modules/@d-fischer/connection/es/index.mjs +0 -4
  41. package/node_modules/@d-fischer/connection/lib/AbstractConnection.d.ts +0 -27
  42. package/node_modules/@d-fischer/connection/lib/AbstractConnection.js +0 -56
  43. package/node_modules/@d-fischer/connection/lib/Connection.d.ts +0 -26
  44. package/node_modules/@d-fischer/connection/lib/Connection.js +0 -2
  45. package/node_modules/@d-fischer/connection/lib/DirectConnection-stub.d.ts +0 -17
  46. package/node_modules/@d-fischer/connection/lib/DirectConnection-stub.js +0 -9
  47. package/node_modules/@d-fischer/connection/lib/DirectConnection.d.ts +0 -16
  48. package/node_modules/@d-fischer/connection/lib/DirectConnection.js +0 -89
  49. package/node_modules/@d-fischer/connection/lib/PersistentConnection.d.ts +0 -39
  50. package/node_modules/@d-fischer/connection/lib/PersistentConnection.js +0 -140
  51. package/node_modules/@d-fischer/connection/lib/WebSocketConnection.d.ts +0 -18
  52. package/node_modules/@d-fischer/connection/lib/WebSocketConnection.js +0 -92
  53. package/node_modules/@d-fischer/connection/lib/browser.d.ts +0 -8
  54. package/node_modules/@d-fischer/connection/lib/browser.js +0 -11
  55. package/node_modules/@d-fischer/connection/lib/index.d.ts +0 -8
  56. package/node_modules/@d-fischer/connection/lib/index.js +0 -11
  57. package/node_modules/@d-fischer/connection/package.json +0 -68
  58. package/node_modules/@d-fischer/deprecate/.idea/jsLibraryMappings.xml +0 -6
  59. package/node_modules/@d-fischer/deprecate/.idea/modules.xml +0 -8
  60. package/node_modules/@d-fischer/deprecate/.idea/node-deprecate.iml +0 -12
  61. package/node_modules/@d-fischer/deprecate/.idea/vcs.xml +0 -6
  62. package/node_modules/@d-fischer/deprecate/.idea/workspace.xml +0 -104
  63. package/node_modules/@d-fischer/deprecate/.travis.yml +0 -3
  64. package/node_modules/@d-fischer/deprecate/README.md +0 -50
  65. package/node_modules/@d-fischer/deprecate/index.d.ts +0 -33
  66. package/node_modules/@d-fischer/deprecate/index.js +0 -46
  67. package/node_modules/@d-fischer/deprecate/index.mjs +0 -3
  68. package/node_modules/@d-fischer/deprecate/package.json +0 -31
  69. package/node_modules/@d-fischer/deprecate/test/index.js +0 -64
  70. package/node_modules/@d-fischer/detect-node/LICENSE +0 -21
  71. package/node_modules/@d-fischer/detect-node/Readme.md +0 -30
  72. package/node_modules/@d-fischer/detect-node/browser.js +0 -2
  73. package/node_modules/@d-fischer/detect-node/index.d.ts +0 -1
  74. package/node_modules/@d-fischer/detect-node/index.esm.js +0 -2
  75. package/node_modules/@d-fischer/detect-node/index.js +0 -2
  76. package/node_modules/@d-fischer/detect-node/package.json +0 -25
  77. package/node_modules/@d-fischer/escape-string-regexp/index.d.ts +0 -18
  78. package/node_modules/@d-fischer/escape-string-regexp/index.js +0 -15
  79. package/node_modules/@d-fischer/escape-string-regexp/license +0 -9
  80. package/node_modules/@d-fischer/escape-string-regexp/package.json +0 -36
  81. package/node_modules/@d-fischer/escape-string-regexp/readme.md +0 -34
  82. package/node_modules/@d-fischer/isomorphic-ws/LICENSE +0 -21
  83. package/node_modules/@d-fischer/isomorphic-ws/README.md +0 -59
  84. package/node_modules/@d-fischer/isomorphic-ws/browser.js +0 -17
  85. package/node_modules/@d-fischer/isomorphic-ws/browser.mjs +0 -19
  86. package/node_modules/@d-fischer/isomorphic-ws/index.d.ts +0 -38
  87. package/node_modules/@d-fischer/isomorphic-ws/node.js +0 -6
  88. package/node_modules/@d-fischer/isomorphic-ws/node.mjs +0 -5
  89. package/node_modules/@d-fischer/isomorphic-ws/package.json +0 -51
  90. package/node_modules/@d-fischer/logger/LICENSE +0 -21
  91. package/node_modules/@d-fischer/logger/es/BaseLogger.mjs +0 -37
  92. package/node_modules/@d-fischer/logger/es/BrowserLogger.mjs +0 -22
  93. package/node_modules/@d-fischer/logger/es/CustomLoggerWrapper.mjs +0 -69
  94. package/node_modules/@d-fischer/logger/es/LogLevel.mjs +0 -42
  95. package/node_modules/@d-fischer/logger/es/Logger.mjs +0 -1
  96. package/node_modules/@d-fischer/logger/es/LoggerOptions.mjs +0 -1
  97. package/node_modules/@d-fischer/logger/es/NodeLogger.mjs +0 -105
  98. package/node_modules/@d-fischer/logger/es/createLogger.mjs +0 -13
  99. package/node_modules/@d-fischer/logger/es/getMinLogLevelFromEnv.mjs +0 -38
  100. package/node_modules/@d-fischer/logger/es/index.mjs +0 -2
  101. package/node_modules/@d-fischer/logger/lib/BaseLogger.d.ts +0 -18
  102. package/node_modules/@d-fischer/logger/lib/BaseLogger.js +0 -40
  103. package/node_modules/@d-fischer/logger/lib/BrowserLogger.d.ts +0 -5
  104. package/node_modules/@d-fischer/logger/lib/BrowserLogger.js +0 -25
  105. package/node_modules/@d-fischer/logger/lib/CustomLoggerWrapper.d.ts +0 -26
  106. package/node_modules/@d-fischer/logger/lib/CustomLoggerWrapper.js +0 -72
  107. package/node_modules/@d-fischer/logger/lib/LogLevel.d.ts +0 -13
  108. package/node_modules/@d-fischer/logger/lib/LogLevel.js +0 -47
  109. package/node_modules/@d-fischer/logger/lib/Logger.d.ts +0 -10
  110. package/node_modules/@d-fischer/logger/lib/Logger.js +0 -2
  111. package/node_modules/@d-fischer/logger/lib/LoggerOptions.d.ts +0 -10
  112. package/node_modules/@d-fischer/logger/lib/LoggerOptions.js +0 -2
  113. package/node_modules/@d-fischer/logger/lib/NodeLogger.d.ts +0 -11
  114. package/node_modules/@d-fischer/logger/lib/NodeLogger.js +0 -108
  115. package/node_modules/@d-fischer/logger/lib/createLogger.d.ts +0 -3
  116. package/node_modules/@d-fischer/logger/lib/createLogger.js +0 -17
  117. package/node_modules/@d-fischer/logger/lib/getMinLogLevelFromEnv.d.ts +0 -2
  118. package/node_modules/@d-fischer/logger/lib/getMinLogLevelFromEnv.js +0 -42
  119. package/node_modules/@d-fischer/logger/lib/index.d.ts +0 -5
  120. package/node_modules/@d-fischer/logger/lib/index.js +0 -7
  121. package/node_modules/@d-fischer/logger/package.json +0 -62
  122. package/node_modules/@d-fischer/rate-limiter/LICENSE +0 -21
  123. package/node_modules/@d-fischer/rate-limiter/es/QueueEntry.mjs +0 -1
  124. package/node_modules/@d-fischer/rate-limiter/es/RateLimiter.mjs +0 -1
  125. package/node_modules/@d-fischer/rate-limiter/es/RateLimiterStats.mjs +0 -1
  126. package/node_modules/@d-fischer/rate-limiter/es/errors/CustomError.mjs +0 -15
  127. package/node_modules/@d-fischer/rate-limiter/es/errors/RateLimitReachedError.mjs +0 -3
  128. package/node_modules/@d-fischer/rate-limiter/es/errors/RateLimiterDestroyedError.mjs +0 -3
  129. package/node_modules/@d-fischer/rate-limiter/es/errors/RetryAfterError.mjs +0 -10
  130. package/node_modules/@d-fischer/rate-limiter/es/index.mjs +0 -9
  131. package/node_modules/@d-fischer/rate-limiter/es/limiters/NullRateLimiter.mjs +0 -17
  132. package/node_modules/@d-fischer/rate-limiter/es/limiters/PartitionedRateLimiter.mjs +0 -52
  133. package/node_modules/@d-fischer/rate-limiter/es/limiters/PartitionedTimeBasedRateLimiter.mjs +0 -138
  134. package/node_modules/@d-fischer/rate-limiter/es/limiters/ResponseBasedRateLimiter.mjs +0 -159
  135. package/node_modules/@d-fischer/rate-limiter/es/limiters/TimeBasedRateLimiter.mjs +0 -117
  136. package/node_modules/@d-fischer/rate-limiter/es/limiters/TimedPassthruRateLimiter.mjs +0 -11
  137. package/node_modules/@d-fischer/rate-limiter/lib/QueueEntry.d.ts +0 -7
  138. package/node_modules/@d-fischer/rate-limiter/lib/QueueEntry.js +0 -2
  139. package/node_modules/@d-fischer/rate-limiter/lib/RateLimiter.d.ts +0 -11
  140. package/node_modules/@d-fischer/rate-limiter/lib/RateLimiter.js +0 -2
  141. package/node_modules/@d-fischer/rate-limiter/lib/RateLimiterStats.d.ts +0 -5
  142. package/node_modules/@d-fischer/rate-limiter/lib/RateLimiterStats.js +0 -2
  143. package/node_modules/@d-fischer/rate-limiter/lib/errors/CustomError.d.ts +0 -5
  144. package/node_modules/@d-fischer/rate-limiter/lib/errors/CustomError.js +0 -19
  145. package/node_modules/@d-fischer/rate-limiter/lib/errors/RateLimitReachedError.d.ts +0 -3
  146. package/node_modules/@d-fischer/rate-limiter/lib/errors/RateLimitReachedError.js +0 -7
  147. package/node_modules/@d-fischer/rate-limiter/lib/errors/RateLimiterDestroyedError.d.ts +0 -3
  148. package/node_modules/@d-fischer/rate-limiter/lib/errors/RateLimiterDestroyedError.js +0 -7
  149. package/node_modules/@d-fischer/rate-limiter/lib/errors/RetryAfterError.d.ts +0 -6
  150. package/node_modules/@d-fischer/rate-limiter/lib/errors/RetryAfterError.js +0 -14
  151. package/node_modules/@d-fischer/rate-limiter/lib/index.d.ts +0 -12
  152. package/node_modules/@d-fischer/rate-limiter/lib/index.js +0 -21
  153. package/node_modules/@d-fischer/rate-limiter/lib/limiters/NullRateLimiter.d.ts +0 -9
  154. package/node_modules/@d-fischer/rate-limiter/lib/limiters/NullRateLimiter.js +0 -21
  155. package/node_modules/@d-fischer/rate-limiter/lib/limiters/PartitionedRateLimiter.d.ts +0 -19
  156. package/node_modules/@d-fischer/rate-limiter/lib/limiters/PartitionedRateLimiter.js +0 -56
  157. package/node_modules/@d-fischer/rate-limiter/lib/limiters/PartitionedTimeBasedRateLimiter.d.ts +0 -26
  158. package/node_modules/@d-fischer/rate-limiter/lib/limiters/PartitionedTimeBasedRateLimiter.js +0 -142
  159. package/node_modules/@d-fischer/rate-limiter/lib/limiters/ResponseBasedRateLimiter.d.ts +0 -30
  160. package/node_modules/@d-fischer/rate-limiter/lib/limiters/ResponseBasedRateLimiter.js +0 -163
  161. package/node_modules/@d-fischer/rate-limiter/lib/limiters/TimeBasedRateLimiter.d.ts +0 -27
  162. package/node_modules/@d-fischer/rate-limiter/lib/limiters/TimeBasedRateLimiter.js +0 -121
  163. package/node_modules/@d-fischer/rate-limiter/lib/limiters/TimedPassthruRateLimiter.d.ts +0 -5
  164. package/node_modules/@d-fischer/rate-limiter/lib/limiters/TimedPassthruRateLimiter.js +0 -15
  165. package/node_modules/@d-fischer/rate-limiter/package.json +0 -64
  166. package/node_modules/@d-fischer/shared-utils/LICENSE +0 -21
  167. package/node_modules/@d-fischer/shared-utils/es/decorators/Enumerable.mjs +0 -23
  168. package/node_modules/@d-fischer/shared-utils/es/functions/array/flatten.mjs +0 -5
  169. package/node_modules/@d-fischer/shared-utils/es/functions/array/immutableSplice.mjs +0 -8
  170. package/node_modules/@d-fischer/shared-utils/es/functions/array/partitionedFlatMap.mjs +0 -29
  171. package/node_modules/@d-fischer/shared-utils/es/functions/config/resolveConfigValue.mjs +0 -23
  172. package/node_modules/@d-fischer/shared-utils/es/functions/deprecate/deprecateClass.mjs +0 -22
  173. package/node_modules/@d-fischer/shared-utils/es/functions/match/match.mjs +0 -15
  174. package/node_modules/@d-fischer/shared-utils/es/functions/math/fib.mjs +0 -27
  175. package/node_modules/@d-fischer/shared-utils/es/functions/object/arrayToObject.mjs +0 -4
  176. package/node_modules/@d-fischer/shared-utils/es/functions/object/entriesToObject.mjs +0 -9
  177. package/node_modules/@d-fischer/shared-utils/es/functions/object/forEachObjectEntry.mjs +0 -7
  178. package/node_modules/@d-fischer/shared-utils/es/functions/object/groupBy.mjs +0 -26
  179. package/node_modules/@d-fischer/shared-utils/es/functions/object/indexBy.mjs +0 -12
  180. package/node_modules/@d-fischer/shared-utils/es/functions/object/mapObject.mjs +0 -11
  181. package/node_modules/@d-fischer/shared-utils/es/functions/object/omit.mjs +0 -5
  182. package/node_modules/@d-fischer/shared-utils/es/functions/object/pick.mjs +0 -14
  183. package/node_modules/@d-fischer/shared-utils/es/functions/optional/mapOptional.mjs +0 -9
  184. package/node_modules/@d-fischer/shared-utils/es/functions/promise/delay.mjs +0 -13
  185. package/node_modules/@d-fischer/shared-utils/es/functions/promise/withResolvers.mjs +0 -11
  186. package/node_modules/@d-fischer/shared-utils/es/functions/string/padLeft.mjs +0 -25
  187. package/node_modules/@d-fischer/shared-utils/es/functions/string/splitWithLimit.mjs +0 -8
  188. package/node_modules/@d-fischer/shared-utils/es/functions/string/utf8.mjs +0 -7
  189. package/node_modules/@d-fischer/shared-utils/es/index.mjs +0 -22
  190. package/node_modules/@d-fischer/shared-utils/es/types/MakeOptional.mjs +0 -1
  191. package/node_modules/@d-fischer/shared-utils/es/types/NoInfer.mjs +0 -1
  192. package/node_modules/@d-fischer/shared-utils/es/types/PickType.mjs +0 -1
  193. package/node_modules/@d-fischer/shared-utils/es/types/constructor.mjs +0 -1
  194. package/node_modules/@d-fischer/shared-utils/es/types/object.mjs +0 -1
  195. package/node_modules/@d-fischer/shared-utils/lib/decorators/Enumerable.d.ts +0 -1
  196. package/node_modules/@d-fischer/shared-utils/lib/decorators/Enumerable.js +0 -27
  197. package/node_modules/@d-fischer/shared-utils/lib/functions/array/flatten.d.ts +0 -1
  198. package/node_modules/@d-fischer/shared-utils/lib/functions/array/flatten.js +0 -9
  199. package/node_modules/@d-fischer/shared-utils/lib/functions/array/immutableSplice.d.ts +0 -1
  200. package/node_modules/@d-fischer/shared-utils/lib/functions/array/immutableSplice.js +0 -12
  201. package/node_modules/@d-fischer/shared-utils/lib/functions/array/partitionedFlatMap.d.ts +0 -1
  202. package/node_modules/@d-fischer/shared-utils/lib/functions/array/partitionedFlatMap.js +0 -33
  203. package/node_modules/@d-fischer/shared-utils/lib/functions/config/resolveConfigValue.d.ts +0 -4
  204. package/node_modules/@d-fischer/shared-utils/lib/functions/config/resolveConfigValue.js +0 -28
  205. package/node_modules/@d-fischer/shared-utils/lib/functions/deprecate/deprecateClass.d.ts +0 -2
  206. package/node_modules/@d-fischer/shared-utils/lib/functions/deprecate/deprecateClass.js +0 -26
  207. package/node_modules/@d-fischer/shared-utils/lib/functions/match/match.d.ts +0 -10
  208. package/node_modules/@d-fischer/shared-utils/lib/functions/match/match.js +0 -19
  209. package/node_modules/@d-fischer/shared-utils/lib/functions/math/fib.d.ts +0 -1
  210. package/node_modules/@d-fischer/shared-utils/lib/functions/math/fib.js +0 -31
  211. package/node_modules/@d-fischer/shared-utils/lib/functions/object/arrayToObject.d.ts +0 -2
  212. package/node_modules/@d-fischer/shared-utils/lib/functions/object/arrayToObject.js +0 -8
  213. package/node_modules/@d-fischer/shared-utils/lib/functions/object/entriesToObject.d.ts +0 -1
  214. package/node_modules/@d-fischer/shared-utils/lib/functions/object/entriesToObject.js +0 -13
  215. package/node_modules/@d-fischer/shared-utils/lib/functions/object/forEachObjectEntry.d.ts +0 -1
  216. package/node_modules/@d-fischer/shared-utils/lib/functions/object/forEachObjectEntry.js +0 -11
  217. package/node_modules/@d-fischer/shared-utils/lib/functions/object/groupBy.d.ts +0 -2
  218. package/node_modules/@d-fischer/shared-utils/lib/functions/object/groupBy.js +0 -30
  219. package/node_modules/@d-fischer/shared-utils/lib/functions/object/indexBy.d.ts +0 -2
  220. package/node_modules/@d-fischer/shared-utils/lib/functions/object/indexBy.js +0 -16
  221. package/node_modules/@d-fischer/shared-utils/lib/functions/object/mapObject.d.ts +0 -2
  222. package/node_modules/@d-fischer/shared-utils/lib/functions/object/mapObject.js +0 -15
  223. package/node_modules/@d-fischer/shared-utils/lib/functions/object/omit.d.ts +0 -1
  224. package/node_modules/@d-fischer/shared-utils/lib/functions/object/omit.js +0 -9
  225. package/node_modules/@d-fischer/shared-utils/lib/functions/object/pick.d.ts +0 -1
  226. package/node_modules/@d-fischer/shared-utils/lib/functions/object/pick.js +0 -18
  227. package/node_modules/@d-fischer/shared-utils/lib/functions/optional/mapOptional.d.ts +0 -3
  228. package/node_modules/@d-fischer/shared-utils/lib/functions/optional/mapOptional.js +0 -15
  229. package/node_modules/@d-fischer/shared-utils/lib/functions/promise/delay.d.ts +0 -1
  230. package/node_modules/@d-fischer/shared-utils/lib/functions/promise/delay.js +0 -17
  231. package/node_modules/@d-fischer/shared-utils/lib/functions/promise/withResolvers.d.ts +0 -6
  232. package/node_modules/@d-fischer/shared-utils/lib/functions/promise/withResolvers.js +0 -15
  233. package/node_modules/@d-fischer/shared-utils/lib/functions/string/padLeft.d.ts +0 -1
  234. package/node_modules/@d-fischer/shared-utils/lib/functions/string/padLeft.js +0 -29
  235. package/node_modules/@d-fischer/shared-utils/lib/functions/string/splitWithLimit.d.ts +0 -1
  236. package/node_modules/@d-fischer/shared-utils/lib/functions/string/splitWithLimit.js +0 -12
  237. package/node_modules/@d-fischer/shared-utils/lib/functions/string/utf8.d.ts +0 -2
  238. package/node_modules/@d-fischer/shared-utils/lib/functions/string/utf8.js +0 -12
  239. package/node_modules/@d-fischer/shared-utils/lib/index.d.ts +0 -27
  240. package/node_modules/@d-fischer/shared-utils/lib/index.js +0 -52
  241. package/node_modules/@d-fischer/shared-utils/lib/types/MakeOptional.d.ts +0 -5
  242. package/node_modules/@d-fischer/shared-utils/lib/types/MakeOptional.js +0 -2
  243. package/node_modules/@d-fischer/shared-utils/lib/types/NoInfer.d.ts +0 -1
  244. package/node_modules/@d-fischer/shared-utils/lib/types/NoInfer.js +0 -2
  245. package/node_modules/@d-fischer/shared-utils/lib/types/PickType.d.ts +0 -5
  246. package/node_modules/@d-fischer/shared-utils/lib/types/PickType.js +0 -2
  247. package/node_modules/@d-fischer/shared-utils/lib/types/constructor.d.ts +0 -2
  248. package/node_modules/@d-fischer/shared-utils/lib/types/constructor.js +0 -2
  249. package/node_modules/@d-fischer/shared-utils/lib/types/object.d.ts +0 -5
  250. package/node_modules/@d-fischer/shared-utils/lib/types/object.js +0 -2
  251. package/node_modules/@d-fischer/shared-utils/package.json +0 -57
  252. package/node_modules/@d-fischer/typed-event-emitter/LICENSE +0 -45
  253. package/node_modules/@d-fischer/typed-event-emitter/README.md +0 -172
  254. package/node_modules/@d-fischer/typed-event-emitter/es/EventEmitter.mjs +0 -77
  255. package/node_modules/@d-fischer/typed-event-emitter/es/Listener.mjs +0 -13
  256. package/node_modules/@d-fischer/typed-event-emitter/es/index.mjs +0 -2
  257. package/node_modules/@d-fischer/typed-event-emitter/lib/EventEmitter.d.ts +0 -19
  258. package/node_modules/@d-fischer/typed-event-emitter/lib/EventEmitter.js +0 -81
  259. package/node_modules/@d-fischer/typed-event-emitter/lib/Listener.d.ts +0 -11
  260. package/node_modules/@d-fischer/typed-event-emitter/lib/Listener.js +0 -17
  261. package/node_modules/@d-fischer/typed-event-emitter/lib/index.d.ts +0 -3
  262. package/node_modules/@d-fischer/typed-event-emitter/lib/index.js +0 -7
  263. package/node_modules/@d-fischer/typed-event-emitter/package.json +0 -74
  264. package/node_modules/@twurple/api-call/LICENSE +0 -21
  265. package/node_modules/@twurple/api-call/README.md +0 -9
  266. package/node_modules/@twurple/api-call/lib/HelixResponse.d.ts +0 -15
  267. package/node_modules/@twurple/api-call/lib/HelixResponse.js +0 -1
  268. package/node_modules/@twurple/api-call/lib/TwitchApiCallOptions.d.ts +0 -74
  269. package/node_modules/@twurple/api-call/lib/TwitchApiCallOptions.js +0 -1
  270. package/node_modules/@twurple/api-call/lib/apiCall.d.ts +0 -31
  271. package/node_modules/@twurple/api-call/lib/apiCall.js +0 -59
  272. package/node_modules/@twurple/api-call/lib/errors/HttpStatusCodeError.d.ts +0 -29
  273. package/node_modules/@twurple/api-call/lib/errors/HttpStatusCodeError.js +0 -42
  274. package/node_modules/@twurple/api-call/lib/helpers/queries.external.d.ts +0 -3
  275. package/node_modules/@twurple/api-call/lib/helpers/queries.external.js +0 -6
  276. package/node_modules/@twurple/api-call/lib/helpers/transform.d.ts +0 -7
  277. package/node_modules/@twurple/api-call/lib/helpers/transform.js +0 -23
  278. package/node_modules/@twurple/api-call/lib/helpers/url.d.ts +0 -2
  279. package/node_modules/@twurple/api-call/lib/helpers/url.js +0 -25
  280. package/node_modules/@twurple/api-call/lib/index.d.ts +0 -7
  281. package/node_modules/@twurple/api-call/lib/index.js +0 -4
  282. package/node_modules/@twurple/api-call/package.json +0 -44
  283. package/node_modules/@twurple/auth/LICENSE +0 -21
  284. package/node_modules/@twurple/auth/README.md +0 -24
  285. package/node_modules/@twurple/auth/lib/AccessToken.d.ts +0 -77
  286. package/node_modules/@twurple/auth/lib/AccessToken.external.d.ts +0 -2
  287. package/node_modules/@twurple/auth/lib/AccessToken.external.js +0 -1
  288. package/node_modules/@twurple/auth/lib/AccessToken.js +0 -29
  289. package/node_modules/@twurple/auth/lib/TokenFetcher.d.ts +0 -12
  290. package/node_modules/@twurple/auth/lib/TokenFetcher.js +0 -67
  291. package/node_modules/@twurple/auth/lib/TokenInfo.d.ts +0 -31
  292. package/node_modules/@twurple/auth/lib/TokenInfo.external.d.ts +0 -8
  293. package/node_modules/@twurple/auth/lib/TokenInfo.external.js +0 -1
  294. package/node_modules/@twurple/auth/lib/TokenInfo.js +0 -50
  295. package/node_modules/@twurple/auth/lib/errors/CachedRefreshFailureError.d.ts +0 -10
  296. package/node_modules/@twurple/auth/lib/errors/CachedRefreshFailureError.js +0 -15
  297. package/node_modules/@twurple/auth/lib/errors/IntermediateUserRemovalError.d.ts +0 -10
  298. package/node_modules/@twurple/auth/lib/errors/IntermediateUserRemovalError.js +0 -14
  299. package/node_modules/@twurple/auth/lib/errors/InvalidTokenError.d.ts +0 -9
  300. package/node_modules/@twurple/auth/lib/errors/InvalidTokenError.js +0 -10
  301. package/node_modules/@twurple/auth/lib/errors/InvalidTokenTypeError.d.ts +0 -7
  302. package/node_modules/@twurple/auth/lib/errors/InvalidTokenTypeError.js +0 -6
  303. package/node_modules/@twurple/auth/lib/errors/UnknownIntentError.d.ts +0 -13
  304. package/node_modules/@twurple/auth/lib/errors/UnknownIntentError.js +0 -15
  305. package/node_modules/@twurple/auth/lib/helpers.d.ts +0 -82
  306. package/node_modules/@twurple/auth/lib/helpers.external.d.ts +0 -2
  307. package/node_modules/@twurple/auth/lib/helpers.external.js +0 -34
  308. package/node_modules/@twurple/auth/lib/helpers.js +0 -250
  309. package/node_modules/@twurple/auth/lib/index.d.ts +0 -17
  310. package/node_modules/@twurple/auth/lib/index.js +0 -12
  311. package/node_modules/@twurple/auth/lib/providers/AppTokenAuthProvider.d.ts +0 -52
  312. package/node_modules/@twurple/auth/lib/providers/AppTokenAuthProvider.js +0 -114
  313. package/node_modules/@twurple/auth/lib/providers/AuthProvider.d.ts +0 -105
  314. package/node_modules/@twurple/auth/lib/providers/AuthProvider.js +0 -1
  315. package/node_modules/@twurple/auth/lib/providers/RefreshingAuthProvider.d.ts +0 -186
  316. package/node_modules/@twurple/auth/lib/providers/RefreshingAuthProvider.js +0 -442
  317. package/node_modules/@twurple/auth/lib/providers/StaticAuthProvider.d.ts +0 -62
  318. package/node_modules/@twurple/auth/lib/providers/StaticAuthProvider.js +0 -102
  319. package/node_modules/@twurple/auth/package.json +0 -49
  320. package/node_modules/@twurple/chat/LICENSE +0 -21
  321. package/node_modules/@twurple/chat/README.md +0 -24
  322. package/node_modules/@twurple/chat/lib/ChatClient.d.ts +0 -577
  323. package/node_modules/@twurple/chat/lib/ChatClient.js +0 -1153
  324. package/node_modules/@twurple/chat/lib/ChatMessageAttributes.d.ts +0 -13
  325. package/node_modules/@twurple/chat/lib/ChatMessageAttributes.js +0 -5
  326. package/node_modules/@twurple/chat/lib/ChatUser.d.ts +0 -68
  327. package/node_modules/@twurple/chat/lib/ChatUser.js +0 -134
  328. package/node_modules/@twurple/chat/lib/caps/TwitchMembershipCapability.d.ts +0 -2
  329. package/node_modules/@twurple/chat/lib/caps/TwitchMembershipCapability.js +0 -9
  330. package/node_modules/@twurple/chat/lib/caps/twitchCommands/index.d.ts +0 -2
  331. package/node_modules/@twurple/chat/lib/caps/twitchCommands/index.js +0 -11
  332. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/ClearChat.d.ts +0 -16
  333. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/ClearChat.js +0 -20
  334. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/Reconnect.d.ts +0 -6
  335. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/Reconnect.js +0 -5
  336. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/RoomState.d.ts +0 -12
  337. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/RoomState.js +0 -9
  338. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/UserNotice.d.ts +0 -19
  339. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/UserNotice.js +0 -28
  340. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/UserState.d.ts +0 -14
  341. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/UserState.js +0 -10
  342. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/Whisper.d.ts +0 -18
  343. package/node_modules/@twurple/chat/lib/caps/twitchCommands/messageTypes/Whisper.js +0 -19
  344. package/node_modules/@twurple/chat/lib/caps/twitchTags/index.d.ts +0 -2
  345. package/node_modules/@twurple/chat/lib/caps/twitchTags/index.js +0 -11
  346. package/node_modules/@twurple/chat/lib/caps/twitchTags/messageTypes/ClearMsg.d.ts +0 -17
  347. package/node_modules/@twurple/chat/lib/caps/twitchTags/messageTypes/ClearMsg.js +0 -23
  348. package/node_modules/@twurple/chat/lib/caps/twitchTags/messageTypes/GlobalUserState.d.ts +0 -10
  349. package/node_modules/@twurple/chat/lib/caps/twitchTags/messageTypes/GlobalUserState.js +0 -9
  350. package/node_modules/@twurple/chat/lib/commands/ChatMessage.d.ts +0 -137
  351. package/node_modules/@twurple/chat/lib/commands/ChatMessage.js +0 -216
  352. package/node_modules/@twurple/chat/lib/emotes/ParsedMessagePart.d.ts +0 -76
  353. package/node_modules/@twurple/chat/lib/emotes/ParsedMessagePart.js +0 -1
  354. package/node_modules/@twurple/chat/lib/emotes/buildEmoteImageUrl.d.ts +0 -39
  355. package/node_modules/@twurple/chat/lib/emotes/buildEmoteImageUrl.js +0 -12
  356. package/node_modules/@twurple/chat/lib/emotes/messagePartParser.d.ts +0 -31
  357. package/node_modules/@twurple/chat/lib/emotes/messagePartParser.js +0 -109
  358. package/node_modules/@twurple/chat/lib/index.d.ts +0 -33
  359. package/node_modules/@twurple/chat/lib/index.js +0 -18
  360. package/node_modules/@twurple/chat/lib/userNotices/ChatAnnouncementInfo.d.ts +0 -12
  361. package/node_modules/@twurple/chat/lib/userNotices/ChatAnnouncementInfo.js +0 -1
  362. package/node_modules/@twurple/chat/lib/userNotices/ChatBitsBadgeUpgradeInfo.d.ts +0 -14
  363. package/node_modules/@twurple/chat/lib/userNotices/ChatBitsBadgeUpgradeInfo.js +0 -1
  364. package/node_modules/@twurple/chat/lib/userNotices/ChatCommunityPayForwardInfo.d.ts +0 -26
  365. package/node_modules/@twurple/chat/lib/userNotices/ChatCommunityPayForwardInfo.js +0 -1
  366. package/node_modules/@twurple/chat/lib/userNotices/ChatCommunitySubInfo.d.ts +0 -32
  367. package/node_modules/@twurple/chat/lib/userNotices/ChatCommunitySubInfo.js +0 -1
  368. package/node_modules/@twurple/chat/lib/userNotices/ChatPrimeCommunityGiftInfo.d.ts +0 -18
  369. package/node_modules/@twurple/chat/lib/userNotices/ChatPrimeCommunityGiftInfo.js +0 -1
  370. package/node_modules/@twurple/chat/lib/userNotices/ChatRaidInfo.d.ts +0 -14
  371. package/node_modules/@twurple/chat/lib/userNotices/ChatRaidInfo.js +0 -1
  372. package/node_modules/@twurple/chat/lib/userNotices/ChatRewardGiftInfo.d.ts +0 -32
  373. package/node_modules/@twurple/chat/lib/userNotices/ChatRewardGiftInfo.js +0 -1
  374. package/node_modules/@twurple/chat/lib/userNotices/ChatRitualInfo.d.ts +0 -18
  375. package/node_modules/@twurple/chat/lib/userNotices/ChatRitualInfo.js +0 -1
  376. package/node_modules/@twurple/chat/lib/userNotices/ChatStandardPayForwardInfo.d.ts +0 -34
  377. package/node_modules/@twurple/chat/lib/userNotices/ChatStandardPayForwardInfo.js +0 -1
  378. package/node_modules/@twurple/chat/lib/userNotices/ChatSubInfo.d.ts +0 -171
  379. package/node_modules/@twurple/chat/lib/userNotices/ChatSubInfo.js +0 -1
  380. package/node_modules/@twurple/chat/lib/userNotices/ChatViewerMilestoneInfo.d.ts +0 -30
  381. package/node_modules/@twurple/chat/lib/userNotices/ChatViewerMilestoneInfo.js +0 -1
  382. package/node_modules/@twurple/chat/lib/utils/emoteUtil.d.ts +0 -7
  383. package/node_modules/@twurple/chat/lib/utils/emoteUtil.js +0 -20
  384. package/node_modules/@twurple/chat/lib/utils/messageUtil.d.ts +0 -17
  385. package/node_modules/@twurple/chat/lib/utils/messageUtil.js +0 -87
  386. package/node_modules/@twurple/chat/lib/utils/userUtil.d.ts +0 -13
  387. package/node_modules/@twurple/chat/lib/utils/userUtil.js +0 -24
  388. package/node_modules/@twurple/chat/package.json +0 -58
  389. package/node_modules/@twurple/common/LICENSE +0 -21
  390. package/node_modules/@twurple/common/README.md +0 -9
  391. package/node_modules/@twurple/common/lib/DataObject.d.ts +0 -15
  392. package/node_modules/@twurple/common/lib/DataObject.js +0 -19
  393. package/node_modules/@twurple/common/lib/errors/CustomError.d.ts +0 -10
  394. package/node_modules/@twurple/common/lib/errors/CustomError.js +0 -13
  395. package/node_modules/@twurple/common/lib/errors/HellFreezesOverError.d.ts +0 -10
  396. package/node_modules/@twurple/common/lib/errors/HellFreezesOverError.js +0 -11
  397. package/node_modules/@twurple/common/lib/errors/RelationAssertionError.d.ts +0 -8
  398. package/node_modules/@twurple/common/lib/errors/RelationAssertionError.js +0 -9
  399. package/node_modules/@twurple/common/lib/extensions/HelixExtension.d.ts +0 -224
  400. package/node_modules/@twurple/common/lib/extensions/HelixExtension.external.d.ts +0 -87
  401. package/node_modules/@twurple/common/lib/extensions/HelixExtension.external.js +0 -1
  402. package/node_modules/@twurple/common/lib/extensions/HelixExtension.js +0 -314
  403. package/node_modules/@twurple/common/lib/index.d.ts +0 -14
  404. package/node_modules/@twurple/common/lib/index.js +0 -10
  405. package/node_modules/@twurple/common/lib/mockApiPort.d.ts +0 -3
  406. package/node_modules/@twurple/common/lib/mockApiPort.js +0 -15
  407. package/node_modules/@twurple/common/lib/qs.d.ts +0 -2
  408. package/node_modules/@twurple/common/lib/qs.js +0 -21
  409. package/node_modules/@twurple/common/lib/relations.d.ts +0 -3
  410. package/node_modules/@twurple/common/lib/relations.js +0 -8
  411. package/node_modules/@twurple/common/lib/rtfm.d.ts +0 -9
  412. package/node_modules/@twurple/common/lib/rtfm.js +0 -17
  413. package/node_modules/@twurple/common/lib/types.d.ts +0 -9
  414. package/node_modules/@twurple/common/lib/types.js +0 -1
  415. package/node_modules/@twurple/common/lib/userResolvers.d.ts +0 -42
  416. package/node_modules/@twurple/common/lib/userResolvers.js +0 -22
  417. package/node_modules/@twurple/common/package.json +0 -43
  418. package/node_modules/@types/node/LICENSE +0 -21
  419. package/node_modules/@types/node/README.md +0 -15
  420. package/node_modules/@types/node/assert/strict.d.ts +0 -8
  421. package/node_modules/@types/node/assert.d.ts +0 -1062
  422. package/node_modules/@types/node/async_hooks.d.ts +0 -605
  423. package/node_modules/@types/node/buffer.buffer.d.ts +0 -471
  424. package/node_modules/@types/node/buffer.d.ts +0 -1936
  425. package/node_modules/@types/node/child_process.d.ts +0 -1475
  426. package/node_modules/@types/node/cluster.d.ts +0 -577
  427. package/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  428. package/node_modules/@types/node/compatibility/index.d.ts +0 -9
  429. package/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  430. package/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  431. package/node_modules/@types/node/console.d.ts +0 -452
  432. package/node_modules/@types/node/constants.d.ts +0 -21
  433. package/node_modules/@types/node/crypto.d.ts +0 -4590
  434. package/node_modules/@types/node/dgram.d.ts +0 -597
  435. package/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  436. package/node_modules/@types/node/dns/promises.d.ts +0 -479
  437. package/node_modules/@types/node/dns.d.ts +0 -871
  438. package/node_modules/@types/node/domain.d.ts +0 -170
  439. package/node_modules/@types/node/events.d.ts +0 -977
  440. package/node_modules/@types/node/fs/promises.d.ts +0 -1270
  441. package/node_modules/@types/node/fs.d.ts +0 -4375
  442. package/node_modules/@types/node/globals.d.ts +0 -172
  443. package/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  444. package/node_modules/@types/node/http.d.ts +0 -2049
  445. package/node_modules/@types/node/http2.d.ts +0 -2712
  446. package/node_modules/@types/node/https.d.ts +0 -578
  447. package/node_modules/@types/node/index.d.ts +0 -93
  448. package/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  449. package/node_modules/@types/node/module.d.ts +0 -539
  450. package/node_modules/@types/node/net.d.ts +0 -1031
  451. package/node_modules/@types/node/os.d.ts +0 -506
  452. package/node_modules/@types/node/package.json +0 -140
  453. package/node_modules/@types/node/path.d.ts +0 -200
  454. package/node_modules/@types/node/perf_hooks.d.ts +0 -961
  455. package/node_modules/@types/node/process.d.ts +0 -1961
  456. package/node_modules/@types/node/punycode.d.ts +0 -117
  457. package/node_modules/@types/node/querystring.d.ts +0 -152
  458. package/node_modules/@types/node/readline/promises.d.ts +0 -162
  459. package/node_modules/@types/node/readline.d.ts +0 -589
  460. package/node_modules/@types/node/repl.d.ts +0 -430
  461. package/node_modules/@types/node/sea.d.ts +0 -153
  462. package/node_modules/@types/node/stream/consumers.d.ts +0 -38
  463. package/node_modules/@types/node/stream/promises.d.ts +0 -90
  464. package/node_modules/@types/node/stream/web.d.ts +0 -533
  465. package/node_modules/@types/node/stream.d.ts +0 -1698
  466. package/node_modules/@types/node/string_decoder.d.ts +0 -67
  467. package/node_modules/@types/node/test.d.ts +0 -1787
  468. package/node_modules/@types/node/timers/promises.d.ts +0 -108
  469. package/node_modules/@types/node/timers.d.ts +0 -286
  470. package/node_modules/@types/node/tls.d.ts +0 -1259
  471. package/node_modules/@types/node/trace_events.d.ts +0 -197
  472. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  473. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  474. package/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  475. package/node_modules/@types/node/tty.d.ts +0 -208
  476. package/node_modules/@types/node/url.d.ts +0 -964
  477. package/node_modules/@types/node/util.d.ts +0 -2331
  478. package/node_modules/@types/node/v8.d.ts +0 -809
  479. package/node_modules/@types/node/vm.d.ts +0 -1001
  480. package/node_modules/@types/node/wasi.d.ts +0 -181
  481. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  482. package/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  483. package/node_modules/@types/node/web-globals/events.d.ts +0 -97
  484. package/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  485. package/node_modules/@types/node/worker_threads.d.ts +0 -715
  486. package/node_modules/@types/node/zlib.d.ts +0 -598
  487. package/node_modules/@types/ws/LICENSE +0 -21
  488. package/node_modules/@types/ws/README.md +0 -15
  489. package/node_modules/@types/ws/index.d.mts +0 -451
  490. package/node_modules/@types/ws/index.d.ts +0 -445
  491. package/node_modules/@types/ws/node_modules/@types/node/LICENSE +0 -21
  492. package/node_modules/@types/ws/node_modules/@types/node/README.md +0 -15
  493. package/node_modules/@types/ws/node_modules/@types/node/assert/strict.d.ts +0 -68
  494. package/node_modules/@types/ws/node_modules/@types/node/assert.d.ts +0 -1077
  495. package/node_modules/@types/ws/node_modules/@types/node/async_hooks.d.ts +0 -711
  496. package/node_modules/@types/ws/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  497. package/node_modules/@types/ws/node_modules/@types/node/buffer.d.ts +0 -1799
  498. package/node_modules/@types/ws/node_modules/@types/node/child_process.d.ts +0 -1362
  499. package/node_modules/@types/ws/node_modules/@types/node/cluster.d.ts +0 -432
  500. package/node_modules/@types/ws/node_modules/@types/node/console.d.ts +0 -93
  501. package/node_modules/@types/ws/node_modules/@types/node/constants.d.ts +0 -14
  502. package/node_modules/@types/ws/node_modules/@types/node/crypto.d.ts +0 -3954
  503. package/node_modules/@types/ws/node_modules/@types/node/dgram.d.ts +0 -537
  504. package/node_modules/@types/ws/node_modules/@types/node/diagnostics_channel.d.ts +0 -794
  505. package/node_modules/@types/ws/node_modules/@types/node/dns/promises.d.ts +0 -497
  506. package/node_modules/@types/ws/node_modules/@types/node/dns.d.ts +0 -876
  507. package/node_modules/@types/ws/node_modules/@types/node/domain.d.ts +0 -150
  508. package/node_modules/@types/ws/node_modules/@types/node/events.d.ts +0 -1008
  509. package/node_modules/@types/ws/node_modules/@types/node/ffi.d.ts +0 -486
  510. package/node_modules/@types/ws/node_modules/@types/node/fs/promises.d.ts +0 -1471
  511. package/node_modules/@types/ws/node_modules/@types/node/fs.d.ts +0 -4786
  512. package/node_modules/@types/ws/node_modules/@types/node/globals.d.ts +0 -150
  513. package/node_modules/@types/ws/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  514. package/node_modules/@types/ws/node_modules/@types/node/http.d.ts +0 -2172
  515. package/node_modules/@types/ws/node_modules/@types/node/http2.d.ts +0 -2489
  516. package/node_modules/@types/ws/node_modules/@types/node/https.d.ts +0 -400
  517. package/node_modules/@types/ws/node_modules/@types/node/index.d.ts +0 -115
  518. package/node_modules/@types/ws/node_modules/@types/node/inspector/promises.d.ts +0 -35
  519. package/node_modules/@types/ws/node_modules/@types/node/inspector.d.ts +0 -264
  520. package/node_modules/@types/ws/node_modules/@types/node/inspector.generated.d.ts +0 -4406
  521. package/node_modules/@types/ws/node_modules/@types/node/module.d.ts +0 -726
  522. package/node_modules/@types/ws/node_modules/@types/node/net.d.ts +0 -970
  523. package/node_modules/@types/ws/node_modules/@types/node/os.d.ts +0 -498
  524. package/node_modules/@types/ws/node_modules/@types/node/package.json +0 -155
  525. package/node_modules/@types/ws/node_modules/@types/node/path/posix.d.ts +0 -8
  526. package/node_modules/@types/ws/node_modules/@types/node/path/win32.d.ts +0 -8
  527. package/node_modules/@types/ws/node_modules/@types/node/path.d.ts +0 -178
  528. package/node_modules/@types/ws/node_modules/@types/node/perf_hooks.d.ts +0 -604
  529. package/node_modules/@types/ws/node_modules/@types/node/process.d.ts +0 -2217
  530. package/node_modules/@types/ws/node_modules/@types/node/punycode.d.ts +0 -89
  531. package/node_modules/@types/ws/node_modules/@types/node/querystring.d.ts +0 -139
  532. package/node_modules/@types/ws/node_modules/@types/node/quic.d.ts +0 -978
  533. package/node_modules/@types/ws/node_modules/@types/node/readline/promises.d.ts +0 -158
  534. package/node_modules/@types/ws/node_modules/@types/node/readline.d.ts +0 -508
  535. package/node_modules/@types/ws/node_modules/@types/node/repl.d.ts +0 -420
  536. package/node_modules/@types/ws/node_modules/@types/node/sea.d.ts +0 -47
  537. package/node_modules/@types/ws/node_modules/@types/node/sqlite.d.ts +0 -1123
  538. package/node_modules/@types/ws/node_modules/@types/node/stream/consumers.d.ts +0 -114
  539. package/node_modules/@types/ws/node_modules/@types/node/stream/iter.d.ts +0 -451
  540. package/node_modules/@types/ws/node_modules/@types/node/stream/promises.d.ts +0 -211
  541. package/node_modules/@types/ws/node_modules/@types/node/stream/web.d.ts +0 -300
  542. package/node_modules/@types/ws/node_modules/@types/node/stream.d.ts +0 -1806
  543. package/node_modules/@types/ws/node_modules/@types/node/string_decoder.d.ts +0 -27
  544. package/node_modules/@types/ws/node_modules/@types/node/test/reporters.d.ts +0 -59
  545. package/node_modules/@types/ws/node_modules/@types/node/test.d.ts +0 -2389
  546. package/node_modules/@types/ws/node_modules/@types/node/timers/promises.d.ts +0 -93
  547. package/node_modules/@types/ws/node_modules/@types/node/timers.d.ts +0 -149
  548. package/node_modules/@types/ws/node_modules/@types/node/tls.d.ts +0 -1193
  549. package/node_modules/@types/ws/node_modules/@types/node/trace_events.d.ts +0 -103
  550. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  551. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  552. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  553. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/index.d.ts +0 -117
  554. package/node_modules/@types/ws/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  555. package/node_modules/@types/ws/node_modules/@types/node/ts5.7/index.d.ts +0 -117
  556. package/node_modules/@types/ws/node_modules/@types/node/tty.d.ts +0 -225
  557. package/node_modules/@types/ws/node_modules/@types/node/url.d.ts +0 -556
  558. package/node_modules/@types/ws/node_modules/@types/node/util/types.d.ts +0 -558
  559. package/node_modules/@types/ws/node_modules/@types/node/util.d.ts +0 -1677
  560. package/node_modules/@types/ws/node_modules/@types/node/v8.d.ts +0 -1062
  561. package/node_modules/@types/ws/node_modules/@types/node/vm.d.ts +0 -1136
  562. package/node_modules/@types/ws/node_modules/@types/node/wasi.d.ts +0 -131
  563. package/node_modules/@types/ws/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  564. package/node_modules/@types/ws/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  565. package/node_modules/@types/ws/node_modules/@types/node/web-globals/console.d.ts +0 -9
  566. package/node_modules/@types/ws/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  567. package/node_modules/@types/ws/node_modules/@types/node/web-globals/domexception.d.ts +0 -83
  568. package/node_modules/@types/ws/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  569. package/node_modules/@types/ws/node_modules/@types/node/web-globals/events.d.ts +0 -106
  570. package/node_modules/@types/ws/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
  571. package/node_modules/@types/ws/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  572. package/node_modules/@types/ws/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  573. package/node_modules/@types/ws/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  574. package/node_modules/@types/ws/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  575. package/node_modules/@types/ws/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  576. package/node_modules/@types/ws/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  577. package/node_modules/@types/ws/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  578. package/node_modules/@types/ws/node_modules/@types/node/web-globals/url.d.ts +0 -24
  579. package/node_modules/@types/ws/node_modules/@types/node/worker_threads.d.ts +0 -669
  580. package/node_modules/@types/ws/node_modules/@types/node/zlib/iter.d.ts +0 -131
  581. package/node_modules/@types/ws/node_modules/@types/node/zlib.d.ts +0 -589
  582. package/node_modules/@types/ws/node_modules/undici-types/LICENSE +0 -21
  583. package/node_modules/@types/ws/node_modules/undici-types/README.md +0 -6
  584. package/node_modules/@types/ws/node_modules/undici-types/agent.d.ts +0 -30
  585. package/node_modules/@types/ws/node_modules/undici-types/api.d.ts +0 -43
  586. package/node_modules/@types/ws/node_modules/undici-types/balanced-pool.d.ts +0 -30
  587. package/node_modules/@types/ws/node_modules/undici-types/cache-interceptor.d.ts +0 -179
  588. package/node_modules/@types/ws/node_modules/undici-types/cache.d.ts +0 -36
  589. package/node_modules/@types/ws/node_modules/undici-types/client-stats.d.ts +0 -15
  590. package/node_modules/@types/ws/node_modules/undici-types/client.d.ts +0 -129
  591. package/node_modules/@types/ws/node_modules/undici-types/connector.d.ts +0 -36
  592. package/node_modules/@types/ws/node_modules/undici-types/content-type.d.ts +0 -21
  593. package/node_modules/@types/ws/node_modules/undici-types/cookies.d.ts +0 -30
  594. package/node_modules/@types/ws/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  595. package/node_modules/@types/ws/node_modules/undici-types/dispatcher.d.ts +0 -253
  596. package/node_modules/@types/ws/node_modules/undici-types/dispatcher1-wrapper.d.ts +0 -7
  597. package/node_modules/@types/ws/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  598. package/node_modules/@types/ws/node_modules/undici-types/errors.d.ts +0 -177
  599. package/node_modules/@types/ws/node_modules/undici-types/eventsource.d.ts +0 -66
  600. package/node_modules/@types/ws/node_modules/undici-types/fetch.d.ts +0 -231
  601. package/node_modules/@types/ws/node_modules/undici-types/formdata.d.ts +0 -108
  602. package/node_modules/@types/ws/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  603. package/node_modules/@types/ws/node_modules/undici-types/global-origin.d.ts +0 -7
  604. package/node_modules/@types/ws/node_modules/undici-types/h2c-client.d.ts +0 -73
  605. package/node_modules/@types/ws/node_modules/undici-types/handlers.d.ts +0 -14
  606. package/node_modules/@types/ws/node_modules/undici-types/header.d.ts +0 -165
  607. package/node_modules/@types/ws/node_modules/undici-types/index.d.ts +0 -93
  608. package/node_modules/@types/ws/node_modules/undici-types/interceptors.d.ts +0 -80
  609. package/node_modules/@types/ws/node_modules/undici-types/mock-agent.d.ts +0 -68
  610. package/node_modules/@types/ws/node_modules/undici-types/mock-call-history.d.ts +0 -111
  611. package/node_modules/@types/ws/node_modules/undici-types/mock-client.d.ts +0 -27
  612. package/node_modules/@types/ws/node_modules/undici-types/mock-errors.d.ts +0 -12
  613. package/node_modules/@types/ws/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  614. package/node_modules/@types/ws/node_modules/undici-types/mock-pool.d.ts +0 -27
  615. package/node_modules/@types/ws/node_modules/undici-types/package.json +0 -55
  616. package/node_modules/@types/ws/node_modules/undici-types/patch.d.ts +0 -29
  617. package/node_modules/@types/ws/node_modules/undici-types/pool-stats.d.ts +0 -19
  618. package/node_modules/@types/ws/node_modules/undici-types/pool.d.ts +0 -39
  619. package/node_modules/@types/ws/node_modules/undici-types/proxy-agent.d.ts +0 -29
  620. package/node_modules/@types/ws/node_modules/undici-types/readable.d.ts +0 -68
  621. package/node_modules/@types/ws/node_modules/undici-types/retry-agent.d.ts +0 -8
  622. package/node_modules/@types/ws/node_modules/undici-types/retry-handler.d.ts +0 -125
  623. package/node_modules/@types/ws/node_modules/undici-types/round-robin-pool.d.ts +0 -39
  624. package/node_modules/@types/ws/node_modules/undici-types/snapshot-agent.d.ts +0 -113
  625. package/node_modules/@types/ws/node_modules/undici-types/socks5-proxy-agent.d.ts +0 -25
  626. package/node_modules/@types/ws/node_modules/undici-types/util.d.ts +0 -18
  627. package/node_modules/@types/ws/node_modules/undici-types/utility.d.ts +0 -7
  628. package/node_modules/@types/ws/node_modules/undici-types/webidl.d.ts +0 -346
  629. package/node_modules/@types/ws/node_modules/undici-types/websocket.d.ts +0 -188
  630. package/node_modules/@types/ws/package.json +0 -72
  631. package/node_modules/ircv3/LICENSE +0 -21
  632. package/node_modules/ircv3/README.md +0 -6
  633. package/node_modules/ircv3/es/Capability/Capability.mjs +0 -1
  634. package/node_modules/ircv3/es/Capability/CoreCapabilities/AwayNotifyCapability.mjs +0 -4
  635. package/node_modules/ircv3/es/Capability/CoreCapabilities/BatchCapability/MessageTypes/Commands/Batch.mjs +0 -11
  636. package/node_modules/ircv3/es/Capability/CoreCapabilities/BatchCapability/index.mjs +0 -6
  637. package/node_modules/ircv3/es/Capability/CoreCapabilities/CapNotifyCapability.mjs +0 -4
  638. package/node_modules/ircv3/es/Capability/CoreCapabilities/ChgHostCapability/MessageTypes/Commands/ChgHost.mjs +0 -10
  639. package/node_modules/ircv3/es/Capability/CoreCapabilities/ChgHostCapability/index.mjs +0 -5
  640. package/node_modules/ircv3/es/Capability/CoreCapabilities/InviteNotifyCapability.mjs +0 -4
  641. package/node_modules/ircv3/es/Capability/CoreCapabilities/LabeledResponseCapability/MessageTypes/Commands/Acknowledgement.mjs +0 -4
  642. package/node_modules/ircv3/es/Capability/CoreCapabilities/LabeledResponseCapability/index.mjs +0 -6
  643. package/node_modules/ircv3/es/Capability/CoreCapabilities/MessageTagsCapability.mjs +0 -5
  644. package/node_modules/ircv3/es/Capability/CoreCapabilities/MultiPrefixCapability.mjs +0 -4
  645. package/node_modules/ircv3/es/Capability/CoreCapabilities/index.mjs +0 -8
  646. package/node_modules/ircv3/es/Errors/MessageError.mjs +0 -14
  647. package/node_modules/ircv3/es/Errors/NotEnoughParametersError.mjs +0 -22
  648. package/node_modules/ircv3/es/Errors/ParameterRequirementMismatchError.mjs +0 -27
  649. package/node_modules/ircv3/es/Errors/UnknownChannelModeCharError.mjs +0 -14
  650. package/node_modules/ircv3/es/IrcClient.mjs +0 -638
  651. package/node_modules/ircv3/es/Message/Message.mjs +0 -291
  652. package/node_modules/ircv3/es/Message/MessageCollector.mjs +0 -49
  653. package/node_modules/ircv3/es/Message/MessageParser.mjs +0 -98
  654. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Away.mjs +0 -12
  655. package/node_modules/ircv3/es/Message/MessageTypes/Commands/CapabilityNegotiation.mjs +0 -51
  656. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ChannelInvite.mjs +0 -10
  657. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ChannelJoin.mjs +0 -10
  658. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ChannelKick.mjs +0 -11
  659. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ChannelList.mjs +0 -10
  660. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ChannelPart.mjs +0 -10
  661. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ClientQuit.mjs +0 -9
  662. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ErrorMessage.mjs +0 -9
  663. package/node_modules/ircv3/es/Message/MessageTypes/Commands/IsOnQuery.mjs +0 -9
  664. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Kill.mjs +0 -10
  665. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Mode.mjs +0 -83
  666. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Names.mjs +0 -10
  667. package/node_modules/ircv3/es/Message/MessageTypes/Commands/NickChange.mjs +0 -9
  668. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Notice.mjs +0 -10
  669. package/node_modules/ircv3/es/Message/MessageTypes/Commands/OperLogin.mjs +0 -10
  670. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Password.mjs +0 -9
  671. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Ping.mjs +0 -9
  672. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Pong.mjs +0 -10
  673. package/node_modules/ircv3/es/Message/MessageTypes/Commands/PrivateMessage.mjs +0 -10
  674. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Rehash.mjs +0 -4
  675. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Restart.mjs +0 -4
  676. package/node_modules/ircv3/es/Message/MessageTypes/Commands/ServerQuit.mjs +0 -10
  677. package/node_modules/ircv3/es/Message/MessageTypes/Commands/TagMessage.mjs +0 -9
  678. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Time.mjs +0 -9
  679. package/node_modules/ircv3/es/Message/MessageTypes/Commands/Topic.mjs +0 -10
  680. package/node_modules/ircv3/es/Message/MessageTypes/Commands/UserHostQuery.mjs +0 -9
  681. package/node_modules/ircv3/es/Message/MessageTypes/Commands/UserRegistration.mjs +0 -12
  682. package/node_modules/ircv3/es/Message/MessageTypes/Commands/WallopsMessage.mjs +0 -9
  683. package/node_modules/ircv3/es/Message/MessageTypes/Commands/WhoIsQuery.mjs +0 -10
  684. package/node_modules/ircv3/es/Message/MessageTypes/Commands/WhoQuery.mjs +0 -11
  685. package/node_modules/ircv3/es/Message/MessageTypes/Commands/WhoWasQuery.mjs +0 -11
  686. package/node_modules/ircv3/es/Message/MessageTypes/Commands/index.mjs +0 -33
  687. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error401NoSuchNick.mjs +0 -11
  688. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error402NoSuchServer.mjs +0 -11
  689. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error403NoSuchChannel.mjs +0 -11
  690. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error404CanNotSendToChan.mjs +0 -11
  691. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error405TooManyChannels.mjs +0 -11
  692. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error410InvalidCapCmd.mjs +0 -11
  693. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error421UnknownCommand.mjs +0 -17
  694. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error422NoMotd.mjs +0 -10
  695. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error431NoNickNameGiven.mjs +0 -16
  696. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error432ErroneusNickname.mjs +0 -17
  697. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error433NickNameInUse.mjs +0 -17
  698. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error436NickCollision.mjs +0 -17
  699. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error441UserNotInChannel.mjs +0 -18
  700. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error442NotOnChannel.mjs +0 -17
  701. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error443UserOnChannel.mjs +0 -18
  702. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error451NotRegistered.mjs +0 -10
  703. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error461NeedMoreParams.mjs +0 -11
  704. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error462AlreadyRegistered.mjs +0 -10
  705. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error471ChannelIsFull.mjs +0 -11
  706. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error472UnknownMode.mjs +0 -11
  707. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error473InviteOnlyChan.mjs +0 -11
  708. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error474BannedFromChan.mjs +0 -11
  709. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error475BadChannelKey.mjs +0 -11
  710. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error479BadChanName.mjs +0 -11
  711. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error481NoPrivileges.mjs +0 -10
  712. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error482ChanOpPrivsNeeded.mjs +0 -11
  713. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error491NoOperHost.mjs +0 -10
  714. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error501UmodeUnknownFlag.mjs +0 -11
  715. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Error502UsersDontMatch.mjs +0 -10
  716. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply001Welcome.mjs +0 -12
  717. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply002YourHost.mjs +0 -10
  718. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply003Created.mjs +0 -10
  719. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply004ServerInfo.mjs +0 -16
  720. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply005Isupport.mjs +0 -11
  721. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply221UmodeIs.mjs +0 -10
  722. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply301Away.mjs +0 -11
  723. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply302UserHost.mjs +0 -10
  724. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply305UnAway.mjs +0 -10
  725. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply306NowAway.mjs +0 -10
  726. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply311WhoisUser.mjs +0 -14
  727. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply315EndOfWho.mjs +0 -18
  728. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply318EndOfWhois.mjs +0 -11
  729. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply319WhoisChannels.mjs +0 -11
  730. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply322List.mjs +0 -12
  731. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply323ListEnd.mjs +0 -10
  732. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply324ChannelModeIs.mjs +0 -11
  733. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply331NoTopic.mjs +0 -11
  734. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply332Topic.mjs +0 -11
  735. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply333TopicWhoTime.mjs +0 -12
  736. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply341Inviting.mjs +0 -11
  737. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply348ExceptList.mjs +0 -13
  738. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply349EndOfExceptList.mjs +0 -11
  739. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply352WhoReply.mjs +0 -38
  740. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply353NamesReply.mjs +0 -16
  741. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply366EndOfNames.mjs +0 -18
  742. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply367BanList.mjs +0 -13
  743. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply368EndOfBanList.mjs +0 -11
  744. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply372Motd.mjs +0 -10
  745. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply375MotdStart.mjs +0 -10
  746. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply376EndOfMotd.mjs +0 -10
  747. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply381YoureOper.mjs +0 -10
  748. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/Reply391Time.mjs +0 -11
  749. package/node_modules/ircv3/es/Message/MessageTypes/Numerics/index.mjs +0 -62
  750. package/node_modules/ircv3/es/Message/MessageTypes/index.mjs +0 -4
  751. package/node_modules/ircv3/es/ServerProperties.mjs +0 -22
  752. package/node_modules/ircv3/es/Toolkit/StringTools.mjs +0 -40
  753. package/node_modules/ircv3/es/index.mjs +0 -14
  754. package/node_modules/ircv3/lib/Capability/Capability.d.ts +0 -9
  755. package/node_modules/ircv3/lib/Capability/Capability.js +0 -2
  756. package/node_modules/ircv3/lib/Capability/CoreCapabilities/AwayNotifyCapability.d.ts +0 -2
  757. package/node_modules/ircv3/lib/Capability/CoreCapabilities/AwayNotifyCapability.js +0 -7
  758. package/node_modules/ircv3/lib/Capability/CoreCapabilities/BatchCapability/MessageTypes/Commands/Batch.d.ts +0 -13
  759. package/node_modules/ircv3/lib/Capability/CoreCapabilities/BatchCapability/MessageTypes/Commands/Batch.js +0 -15
  760. package/node_modules/ircv3/lib/Capability/CoreCapabilities/BatchCapability/index.d.ts +0 -2
  761. package/node_modules/ircv3/lib/Capability/CoreCapabilities/BatchCapability/index.js +0 -9
  762. package/node_modules/ircv3/lib/Capability/CoreCapabilities/CapNotifyCapability.d.ts +0 -2
  763. package/node_modules/ircv3/lib/Capability/CoreCapabilities/CapNotifyCapability.js +0 -7
  764. package/node_modules/ircv3/lib/Capability/CoreCapabilities/ChgHostCapability/MessageTypes/Commands/ChgHost.d.ts +0 -12
  765. package/node_modules/ircv3/lib/Capability/CoreCapabilities/ChgHostCapability/MessageTypes/Commands/ChgHost.js +0 -14
  766. package/node_modules/ircv3/lib/Capability/CoreCapabilities/ChgHostCapability/index.d.ts +0 -2
  767. package/node_modules/ircv3/lib/Capability/CoreCapabilities/ChgHostCapability/index.js +0 -8
  768. package/node_modules/ircv3/lib/Capability/CoreCapabilities/InviteNotifyCapability.d.ts +0 -2
  769. package/node_modules/ircv3/lib/Capability/CoreCapabilities/InviteNotifyCapability.js +0 -7
  770. package/node_modules/ircv3/lib/Capability/CoreCapabilities/LabeledResponseCapability/MessageTypes/Commands/Acknowledgement.d.ts +0 -4
  771. package/node_modules/ircv3/lib/Capability/CoreCapabilities/LabeledResponseCapability/MessageTypes/Commands/Acknowledgement.js +0 -8
  772. package/node_modules/ircv3/lib/Capability/CoreCapabilities/LabeledResponseCapability/index.d.ts +0 -2
  773. package/node_modules/ircv3/lib/Capability/CoreCapabilities/LabeledResponseCapability/index.js +0 -9
  774. package/node_modules/ircv3/lib/Capability/CoreCapabilities/MessageTagsCapability.d.ts +0 -2
  775. package/node_modules/ircv3/lib/Capability/CoreCapabilities/MessageTagsCapability.js +0 -8
  776. package/node_modules/ircv3/lib/Capability/CoreCapabilities/MultiPrefixCapability.d.ts +0 -2
  777. package/node_modules/ircv3/lib/Capability/CoreCapabilities/MultiPrefixCapability.js +0 -7
  778. package/node_modules/ircv3/lib/Capability/CoreCapabilities/index.d.ts +0 -8
  779. package/node_modules/ircv3/lib/Capability/CoreCapabilities/index.js +0 -19
  780. package/node_modules/ircv3/lib/Errors/MessageError.d.ts +0 -6
  781. package/node_modules/ircv3/lib/Errors/MessageError.js +0 -18
  782. package/node_modules/ircv3/lib/Errors/NotEnoughParametersError.d.ts +0 -9
  783. package/node_modules/ircv3/lib/Errors/NotEnoughParametersError.js +0 -26
  784. package/node_modules/ircv3/lib/Errors/ParameterRequirementMismatchError.d.ts +0 -12
  785. package/node_modules/ircv3/lib/Errors/ParameterRequirementMismatchError.js +0 -31
  786. package/node_modules/ircv3/lib/Errors/UnknownChannelModeCharError.d.ts +0 -5
  787. package/node_modules/ircv3/lib/Errors/UnknownChannelModeCharError.js +0 -18
  788. package/node_modules/ircv3/lib/IrcClient.d.ts +0 -154
  789. package/node_modules/ircv3/lib/IrcClient.js +0 -642
  790. package/node_modules/ircv3/lib/Message/Message.d.ts +0 -88
  791. package/node_modules/ircv3/lib/Message/Message.js +0 -297
  792. package/node_modules/ircv3/lib/Message/MessageCollector.d.ts +0 -20
  793. package/node_modules/ircv3/lib/Message/MessageCollector.js +0 -53
  794. package/node_modules/ircv3/lib/Message/MessageParser.d.ts +0 -5
  795. package/node_modules/ircv3/lib/Message/MessageParser.js +0 -104
  796. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Away.d.ts +0 -11
  797. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Away.js +0 -16
  798. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/CapabilityNegotiation.d.ts +0 -18
  799. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/CapabilityNegotiation.js +0 -55
  800. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelInvite.d.ts +0 -12
  801. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelInvite.js +0 -14
  802. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelJoin.d.ts +0 -12
  803. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelJoin.js +0 -14
  804. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelKick.d.ts +0 -13
  805. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelKick.js +0 -15
  806. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelList.d.ts +0 -12
  807. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelList.js +0 -14
  808. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelPart.d.ts +0 -12
  809. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ChannelPart.js +0 -14
  810. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ClientQuit.d.ts +0 -11
  811. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ClientQuit.js +0 -13
  812. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ErrorMessage.d.ts +0 -11
  813. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ErrorMessage.js +0 -13
  814. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/IsOnQuery.d.ts +0 -11
  815. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/IsOnQuery.js +0 -13
  816. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Kill.d.ts +0 -12
  817. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Kill.js +0 -14
  818. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Mode.d.ts +0 -22
  819. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Mode.js +0 -87
  820. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Names.d.ts +0 -12
  821. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Names.js +0 -14
  822. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/NickChange.d.ts +0 -11
  823. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/NickChange.js +0 -13
  824. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Notice.d.ts +0 -12
  825. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Notice.js +0 -14
  826. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/OperLogin.d.ts +0 -12
  827. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/OperLogin.js +0 -14
  828. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Password.d.ts +0 -11
  829. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Password.js +0 -13
  830. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Ping.d.ts +0 -11
  831. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Ping.js +0 -13
  832. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Pong.d.ts +0 -12
  833. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Pong.js +0 -14
  834. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/PrivateMessage.d.ts +0 -12
  835. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/PrivateMessage.js +0 -14
  836. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Rehash.d.ts +0 -4
  837. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Rehash.js +0 -8
  838. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Restart.d.ts +0 -4
  839. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Restart.js +0 -8
  840. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ServerQuit.d.ts +0 -12
  841. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/ServerQuit.js +0 -14
  842. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/TagMessage.d.ts +0 -11
  843. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/TagMessage.js +0 -13
  844. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Time.d.ts +0 -11
  845. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Time.js +0 -13
  846. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Topic.d.ts +0 -12
  847. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/Topic.js +0 -14
  848. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/UserHostQuery.d.ts +0 -11
  849. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/UserHostQuery.js +0 -13
  850. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/UserRegistration.d.ts +0 -14
  851. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/UserRegistration.js +0 -16
  852. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WallopsMessage.d.ts +0 -11
  853. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WallopsMessage.js +0 -13
  854. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WhoIsQuery.d.ts +0 -12
  855. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WhoIsQuery.js +0 -14
  856. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WhoQuery.d.ts +0 -13
  857. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WhoQuery.js +0 -15
  858. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WhoWasQuery.d.ts +0 -13
  859. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/WhoWasQuery.js +0 -15
  860. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/index.d.ts +0 -32
  861. package/node_modules/ircv3/lib/Message/MessageTypes/Commands/index.js +0 -126
  862. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error401NoSuchNick.d.ts +0 -13
  863. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error401NoSuchNick.js +0 -15
  864. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error402NoSuchServer.d.ts +0 -13
  865. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error402NoSuchServer.js +0 -15
  866. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error403NoSuchChannel.d.ts +0 -13
  867. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error403NoSuchChannel.js +0 -15
  868. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error404CanNotSendToChan.d.ts +0 -13
  869. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error404CanNotSendToChan.js +0 -15
  870. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error405TooManyChannels.d.ts +0 -13
  871. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error405TooManyChannels.js +0 -15
  872. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error410InvalidCapCmd.d.ts +0 -13
  873. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error410InvalidCapCmd.js +0 -15
  874. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error421UnknownCommand.d.ts +0 -15
  875. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error421UnknownCommand.js +0 -21
  876. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error422NoMotd.d.ts +0 -12
  877. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error422NoMotd.js +0 -14
  878. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error431NoNickNameGiven.d.ts +0 -14
  879. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error431NoNickNameGiven.js +0 -20
  880. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error432ErroneusNickname.d.ts +0 -15
  881. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error432ErroneusNickname.js +0 -21
  882. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error433NickNameInUse.d.ts +0 -15
  883. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error433NickNameInUse.js +0 -21
  884. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error436NickCollision.d.ts +0 -15
  885. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error436NickCollision.js +0 -21
  886. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error441UserNotInChannel.d.ts +0 -16
  887. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error441UserNotInChannel.js +0 -22
  888. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error442NotOnChannel.d.ts +0 -15
  889. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error442NotOnChannel.js +0 -21
  890. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error443UserOnChannel.d.ts +0 -16
  891. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error443UserOnChannel.js +0 -22
  892. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error451NotRegistered.d.ts +0 -12
  893. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error451NotRegistered.js +0 -14
  894. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error461NeedMoreParams.d.ts +0 -13
  895. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error461NeedMoreParams.js +0 -15
  896. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error462AlreadyRegistered.d.ts +0 -12
  897. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error462AlreadyRegistered.js +0 -14
  898. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error471ChannelIsFull.d.ts +0 -13
  899. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error471ChannelIsFull.js +0 -15
  900. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error472UnknownMode.d.ts +0 -13
  901. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error472UnknownMode.js +0 -15
  902. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error473InviteOnlyChan.d.ts +0 -13
  903. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error473InviteOnlyChan.js +0 -15
  904. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error474BannedFromChan.d.ts +0 -13
  905. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error474BannedFromChan.js +0 -15
  906. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error475BadChannelKey.d.ts +0 -13
  907. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error475BadChannelKey.js +0 -15
  908. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error479BadChanName.d.ts +0 -13
  909. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error479BadChanName.js +0 -15
  910. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error481NoPrivileges.d.ts +0 -12
  911. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error481NoPrivileges.js +0 -14
  912. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error482ChanOpPrivsNeeded.d.ts +0 -13
  913. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error482ChanOpPrivsNeeded.js +0 -15
  914. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error491NoOperHost.d.ts +0 -12
  915. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error491NoOperHost.js +0 -14
  916. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error501UmodeUnknownFlag.d.ts +0 -13
  917. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error501UmodeUnknownFlag.js +0 -15
  918. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error502UsersDontMatch.d.ts +0 -12
  919. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Error502UsersDontMatch.js +0 -14
  920. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply001Welcome.d.ts +0 -12
  921. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply001Welcome.js +0 -16
  922. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply002YourHost.d.ts +0 -12
  923. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply002YourHost.js +0 -14
  924. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply003Created.d.ts +0 -12
  925. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply003Created.js +0 -14
  926. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply004ServerInfo.d.ts +0 -16
  927. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply004ServerInfo.js +0 -20
  928. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply005Isupport.d.ts +0 -13
  929. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply005Isupport.js +0 -15
  930. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply221UmodeIs.d.ts +0 -12
  931. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply221UmodeIs.js +0 -14
  932. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply301Away.d.ts +0 -13
  933. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply301Away.js +0 -15
  934. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply302UserHost.d.ts +0 -12
  935. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply302UserHost.js +0 -14
  936. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply305UnAway.d.ts +0 -12
  937. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply305UnAway.js +0 -14
  938. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply306NowAway.d.ts +0 -12
  939. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply306NowAway.js +0 -14
  940. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply311WhoisUser.d.ts +0 -16
  941. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply311WhoisUser.js +0 -18
  942. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply315EndOfWho.d.ts +0 -15
  943. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply315EndOfWho.js +0 -22
  944. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply318EndOfWhois.d.ts +0 -13
  945. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply318EndOfWhois.js +0 -15
  946. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply319WhoisChannels.d.ts +0 -13
  947. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply319WhoisChannels.js +0 -15
  948. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply322List.d.ts +0 -14
  949. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply322List.js +0 -16
  950. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply323ListEnd.d.ts +0 -12
  951. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply323ListEnd.js +0 -14
  952. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply324ChannelModeIs.d.ts +0 -13
  953. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply324ChannelModeIs.js +0 -15
  954. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply331NoTopic.d.ts +0 -13
  955. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply331NoTopic.js +0 -15
  956. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply332Topic.d.ts +0 -13
  957. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply332Topic.js +0 -15
  958. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply333TopicWhoTime.d.ts +0 -14
  959. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply333TopicWhoTime.js +0 -16
  960. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply341Inviting.d.ts +0 -13
  961. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply341Inviting.js +0 -15
  962. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply348ExceptList.d.ts +0 -15
  963. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply348ExceptList.js +0 -17
  964. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply349EndOfExceptList.d.ts +0 -13
  965. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply349EndOfExceptList.js +0 -15
  966. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply352WhoReply.d.ts +0 -31
  967. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply352WhoReply.js +0 -42
  968. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply353NamesReply.d.ts +0 -15
  969. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply353NamesReply.js +0 -20
  970. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply366EndOfNames.d.ts +0 -15
  971. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply366EndOfNames.js +0 -22
  972. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply367BanList.d.ts +0 -15
  973. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply367BanList.js +0 -17
  974. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply368EndOfBanList.d.ts +0 -13
  975. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply368EndOfBanList.js +0 -15
  976. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply372Motd.d.ts +0 -12
  977. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply372Motd.js +0 -14
  978. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply375MotdStart.d.ts +0 -12
  979. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply375MotdStart.js +0 -14
  980. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply376EndOfMotd.d.ts +0 -12
  981. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply376EndOfMotd.js +0 -14
  982. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply381YoureOper.d.ts +0 -12
  983. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply381YoureOper.js +0 -14
  984. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply391Time.d.ts +0 -13
  985. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/Reply391Time.js +0 -15
  986. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/index.d.ts +0 -62
  987. package/node_modules/ircv3/lib/Message/MessageTypes/Numerics/index.js +0 -128
  988. package/node_modules/ircv3/lib/Message/MessageTypes/index.d.ts +0 -5
  989. package/node_modules/ircv3/lib/Message/MessageTypes/index.js +0 -8
  990. package/node_modules/ircv3/lib/ServerProperties.d.ts +0 -18
  991. package/node_modules/ircv3/lib/ServerProperties.js +0 -25
  992. package/node_modules/ircv3/lib/Toolkit/StringTools.d.ts +0 -7
  993. package/node_modules/ircv3/lib/Toolkit/StringTools.js +0 -46
  994. package/node_modules/ircv3/lib/index.d.ts +0 -20
  995. package/node_modules/ircv3/lib/index.js +0 -34
  996. package/node_modules/ircv3/package.json +0 -67
  997. package/node_modules/klona/dist/index.js +0 -83
  998. package/node_modules/klona/dist/index.min.js +0 -1
  999. package/node_modules/klona/dist/index.mjs +0 -81
  1000. package/node_modules/klona/full/index.d.ts +0 -1
  1001. package/node_modules/klona/full/index.js +0 -55
  1002. package/node_modules/klona/full/index.min.js +0 -1
  1003. package/node_modules/klona/full/index.mjs +0 -53
  1004. package/node_modules/klona/index.d.ts +0 -1
  1005. package/node_modules/klona/json/index.d.ts +0 -1
  1006. package/node_modules/klona/json/index.js +0 -30
  1007. package/node_modules/klona/json/index.min.js +0 -1
  1008. package/node_modules/klona/json/index.mjs +0 -28
  1009. package/node_modules/klona/license +0 -9
  1010. package/node_modules/klona/lite/index.d.ts +0 -1
  1011. package/node_modules/klona/lite/index.js +0 -53
  1012. package/node_modules/klona/lite/index.min.js +0 -1
  1013. package/node_modules/klona/lite/index.mjs +0 -51
  1014. package/node_modules/klona/package.json +0 -74
  1015. package/node_modules/klona/readme.md +0 -213
  1016. package/node_modules/tslib/CopyrightNotice.txt +0 -15
  1017. package/node_modules/tslib/LICENSE.txt +0 -12
  1018. package/node_modules/tslib/README.md +0 -164
  1019. package/node_modules/tslib/SECURITY.md +0 -41
  1020. package/node_modules/tslib/modules/index.d.ts +0 -38
  1021. package/node_modules/tslib/modules/index.js +0 -70
  1022. package/node_modules/tslib/modules/package.json +0 -3
  1023. package/node_modules/tslib/package.json +0 -47
  1024. package/node_modules/tslib/tslib.d.ts +0 -460
  1025. package/node_modules/tslib/tslib.es6.html +0 -1
  1026. package/node_modules/tslib/tslib.es6.js +0 -402
  1027. package/node_modules/tslib/tslib.es6.mjs +0 -401
  1028. package/node_modules/tslib/tslib.html +0 -1
  1029. package/node_modules/tslib/tslib.js +0 -484
  1030. package/node_modules/undici-types/LICENSE +0 -21
  1031. package/node_modules/undici-types/README.md +0 -6
  1032. package/node_modules/undici-types/agent.d.ts +0 -31
  1033. package/node_modules/undici-types/api.d.ts +0 -43
  1034. package/node_modules/undici-types/balanced-pool.d.ts +0 -29
  1035. package/node_modules/undici-types/cache.d.ts +0 -36
  1036. package/node_modules/undici-types/client.d.ts +0 -108
  1037. package/node_modules/undici-types/connector.d.ts +0 -34
  1038. package/node_modules/undici-types/content-type.d.ts +0 -21
  1039. package/node_modules/undici-types/cookies.d.ts +0 -28
  1040. package/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  1041. package/node_modules/undici-types/dispatcher.d.ts +0 -256
  1042. package/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  1043. package/node_modules/undici-types/errors.d.ts +0 -149
  1044. package/node_modules/undici-types/eventsource.d.ts +0 -61
  1045. package/node_modules/undici-types/fetch.d.ts +0 -209
  1046. package/node_modules/undici-types/file.d.ts +0 -39
  1047. package/node_modules/undici-types/filereader.d.ts +0 -54
  1048. package/node_modules/undici-types/formdata.d.ts +0 -108
  1049. package/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  1050. package/node_modules/undici-types/global-origin.d.ts +0 -7
  1051. package/node_modules/undici-types/handlers.d.ts +0 -15
  1052. package/node_modules/undici-types/header.d.ts +0 -4
  1053. package/node_modules/undici-types/index.d.ts +0 -71
  1054. package/node_modules/undici-types/interceptors.d.ts +0 -17
  1055. package/node_modules/undici-types/mock-agent.d.ts +0 -50
  1056. package/node_modules/undici-types/mock-client.d.ts +0 -25
  1057. package/node_modules/undici-types/mock-errors.d.ts +0 -12
  1058. package/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  1059. package/node_modules/undici-types/mock-pool.d.ts +0 -25
  1060. package/node_modules/undici-types/package.json +0 -55
  1061. package/node_modules/undici-types/patch.d.ts +0 -33
  1062. package/node_modules/undici-types/pool-stats.d.ts +0 -19
  1063. package/node_modules/undici-types/pool.d.ts +0 -39
  1064. package/node_modules/undici-types/proxy-agent.d.ts +0 -28
  1065. package/node_modules/undici-types/readable.d.ts +0 -65
  1066. package/node_modules/undici-types/retry-agent.d.ts +0 -8
  1067. package/node_modules/undici-types/retry-handler.d.ts +0 -116
  1068. package/node_modules/undici-types/util.d.ts +0 -18
  1069. package/node_modules/undici-types/webidl.d.ts +0 -228
  1070. package/node_modules/undici-types/websocket.d.ts +0 -150
  1071. package/node_modules/ws/LICENSE +0 -20
  1072. package/node_modules/ws/README.md +0 -548
  1073. package/node_modules/ws/browser.js +0 -8
  1074. package/node_modules/ws/index.js +0 -22
  1075. package/node_modules/ws/lib/buffer-util.js +0 -131
  1076. package/node_modules/ws/lib/constants.js +0 -19
  1077. package/node_modules/ws/lib/event-target.js +0 -292
  1078. package/node_modules/ws/lib/extension.js +0 -203
  1079. package/node_modules/ws/lib/limiter.js +0 -55
  1080. package/node_modules/ws/lib/permessage-deflate.js +0 -528
  1081. package/node_modules/ws/lib/receiver.js +0 -760
  1082. package/node_modules/ws/lib/sender.js +0 -607
  1083. package/node_modules/ws/lib/stream.js +0 -161
  1084. package/node_modules/ws/lib/subprotocol.js +0 -62
  1085. package/node_modules/ws/lib/validation.js +0 -152
  1086. package/node_modules/ws/lib/websocket-server.js +0 -562
  1087. package/node_modules/ws/lib/websocket.js +0 -1407
  1088. package/node_modules/ws/package.json +0 -70
  1089. package/node_modules/ws/wrapper.mjs +0 -21
  1090. package/node_modules/zod/LICENSE +0 -21
  1091. package/node_modules/zod/README.md +0 -191
  1092. package/node_modules/zod/index.cjs +0 -33
  1093. package/node_modules/zod/index.d.cts +0 -4
  1094. package/node_modules/zod/index.d.ts +0 -4
  1095. package/node_modules/zod/index.js +0 -4
  1096. package/node_modules/zod/locales/index.cjs +0 -17
  1097. package/node_modules/zod/locales/index.d.cts +0 -1
  1098. package/node_modules/zod/locales/index.d.ts +0 -1
  1099. package/node_modules/zod/locales/index.js +0 -1
  1100. package/node_modules/zod/locales/package.json +0 -7
  1101. package/node_modules/zod/mini/index.cjs +0 -32
  1102. package/node_modules/zod/mini/index.d.cts +0 -3
  1103. package/node_modules/zod/mini/index.d.ts +0 -3
  1104. package/node_modules/zod/mini/index.js +0 -3
  1105. package/node_modules/zod/mini/package.json +0 -7
  1106. package/node_modules/zod/package.json +0 -135
  1107. package/node_modules/zod/src/index.ts +0 -4
  1108. package/node_modules/zod/src/locales/index.ts +0 -1
  1109. package/node_modules/zod/src/mini/index.ts +0 -3
  1110. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  1111. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  1112. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  1113. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  1114. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  1115. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  1116. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  1117. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  1118. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  1119. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  1120. package/node_modules/zod/src/v3/errors.ts +0 -13
  1121. package/node_modules/zod/src/v3/external.ts +0 -6
  1122. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  1123. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  1124. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  1125. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  1126. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  1127. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  1128. package/node_modules/zod/src/v3/index.ts +0 -4
  1129. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  1130. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  1131. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  1132. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  1133. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  1134. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  1135. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  1136. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  1137. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  1138. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  1139. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  1140. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  1141. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  1142. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  1143. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  1144. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  1145. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  1146. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  1147. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  1148. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  1149. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  1150. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  1151. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  1152. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  1153. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  1154. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  1155. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  1156. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  1157. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  1158. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  1159. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  1160. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  1161. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  1162. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  1163. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  1164. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  1165. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  1166. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  1167. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  1168. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  1169. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  1170. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  1171. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  1172. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  1173. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  1174. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  1175. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  1176. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  1177. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  1178. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  1179. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  1180. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  1181. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  1182. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  1183. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  1184. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  1185. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  1186. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  1187. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  1188. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  1189. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  1190. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  1191. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  1192. package/node_modules/zod/src/v3/types.ts +0 -5138
  1193. package/node_modules/zod/src/v4/classic/checks.ts +0 -32
  1194. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  1195. package/node_modules/zod/src/v4/classic/compat.ts +0 -70
  1196. package/node_modules/zod/src/v4/classic/errors.ts +0 -82
  1197. package/node_modules/zod/src/v4/classic/external.ts +0 -52
  1198. package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -659
  1199. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  1200. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  1201. package/node_modules/zod/src/v4/classic/parse.ts +0 -82
  1202. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2672
  1203. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  1204. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
  1205. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  1206. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -216
  1207. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  1208. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  1209. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  1210. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  1211. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  1212. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -326
  1213. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  1214. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
  1215. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -703
  1216. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  1217. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  1218. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  1219. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
  1220. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
  1221. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -409
  1222. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  1223. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  1224. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
  1225. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -694
  1226. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  1227. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -807
  1228. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  1229. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  1230. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  1231. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  1232. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -895
  1233. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
  1234. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  1235. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
  1236. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
  1237. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
  1238. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
  1239. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
  1240. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
  1241. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  1242. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  1243. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
  1244. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  1245. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  1246. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
  1247. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  1248. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  1249. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  1250. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  1251. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -325
  1252. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -717
  1253. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -333
  1254. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -450
  1255. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  1256. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  1257. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
  1258. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
  1259. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  1260. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  1261. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  1262. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  1263. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  1264. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -717
  1265. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -631
  1266. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -633
  1267. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  1268. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
  1269. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
  1270. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  1271. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1224
  1272. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
  1273. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
  1274. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  1275. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -3125
  1276. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  1277. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
  1278. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -273
  1279. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  1280. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  1281. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  1282. package/node_modules/zod/src/v4/core/api.ts +0 -1823
  1283. package/node_modules/zod/src/v4/core/checks.ts +0 -1293
  1284. package/node_modules/zod/src/v4/core/config.ts +0 -15
  1285. package/node_modules/zod/src/v4/core/core.ts +0 -153
  1286. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  1287. package/node_modules/zod/src/v4/core/errors.ts +0 -455
  1288. package/node_modules/zod/src/v4/core/index.ts +0 -16
  1289. package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
  1290. package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -666
  1291. package/node_modules/zod/src/v4/core/json-schema.ts +0 -147
  1292. package/node_modules/zod/src/v4/core/parse.ts +0 -195
  1293. package/node_modules/zod/src/v4/core/regexes.ts +0 -190
  1294. package/node_modules/zod/src/v4/core/registries.ts +0 -105
  1295. package/node_modules/zod/src/v4/core/schemas.ts +0 -4730
  1296. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  1297. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  1298. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  1299. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  1300. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
  1301. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  1302. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
  1303. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  1304. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  1305. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  1306. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  1307. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  1308. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  1309. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  1310. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  1311. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  1312. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -622
  1313. package/node_modules/zod/src/v4/core/util.ts +0 -983
  1314. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  1315. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  1316. package/node_modules/zod/src/v4/index.ts +0 -4
  1317. package/node_modules/zod/src/v4/locales/ar.ts +0 -115
  1318. package/node_modules/zod/src/v4/locales/az.ts +0 -111
  1319. package/node_modules/zod/src/v4/locales/be.ts +0 -176
  1320. package/node_modules/zod/src/v4/locales/bg.ts +0 -128
  1321. package/node_modules/zod/src/v4/locales/ca.ts +0 -116
  1322. package/node_modules/zod/src/v4/locales/cs.ts +0 -118
  1323. package/node_modules/zod/src/v4/locales/da.ts +0 -123
  1324. package/node_modules/zod/src/v4/locales/de.ts +0 -116
  1325. package/node_modules/zod/src/v4/locales/el.ts +0 -121
  1326. package/node_modules/zod/src/v4/locales/en.ts +0 -123
  1327. package/node_modules/zod/src/v4/locales/eo.ts +0 -118
  1328. package/node_modules/zod/src/v4/locales/es.ts +0 -141
  1329. package/node_modules/zod/src/v4/locales/fa.ts +0 -126
  1330. package/node_modules/zod/src/v4/locales/fi.ts +0 -121
  1331. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
  1332. package/node_modules/zod/src/v4/locales/fr.ts +0 -132
  1333. package/node_modules/zod/src/v4/locales/he.ts +0 -246
  1334. package/node_modules/zod/src/v4/locales/hr.ts +0 -131
  1335. package/node_modules/zod/src/v4/locales/hu.ts +0 -117
  1336. package/node_modules/zod/src/v4/locales/hy.ts +0 -164
  1337. package/node_modules/zod/src/v4/locales/id.ts +0 -115
  1338. package/node_modules/zod/src/v4/locales/index.ts +0 -52
  1339. package/node_modules/zod/src/v4/locales/is.ts +0 -119
  1340. package/node_modules/zod/src/v4/locales/it.ts +0 -116
  1341. package/node_modules/zod/src/v4/locales/ja.ts +0 -114
  1342. package/node_modules/zod/src/v4/locales/ka.ts +0 -123
  1343. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  1344. package/node_modules/zod/src/v4/locales/km.ts +0 -119
  1345. package/node_modules/zod/src/v4/locales/ko.ts +0 -121
  1346. package/node_modules/zod/src/v4/locales/lt.ts +0 -239
  1347. package/node_modules/zod/src/v4/locales/mk.ts +0 -118
  1348. package/node_modules/zod/src/v4/locales/ms.ts +0 -115
  1349. package/node_modules/zod/src/v4/locales/nl.ts +0 -121
  1350. package/node_modules/zod/src/v4/locales/no.ts +0 -116
  1351. package/node_modules/zod/src/v4/locales/ota.ts +0 -117
  1352. package/node_modules/zod/src/v4/locales/pl.ts +0 -118
  1353. package/node_modules/zod/src/v4/locales/ps.ts +0 -126
  1354. package/node_modules/zod/src/v4/locales/pt.ts +0 -116
  1355. package/node_modules/zod/src/v4/locales/ro.ts +0 -129
  1356. package/node_modules/zod/src/v4/locales/ru.ts +0 -176
  1357. package/node_modules/zod/src/v4/locales/sl.ts +0 -118
  1358. package/node_modules/zod/src/v4/locales/sv.ts +0 -119
  1359. package/node_modules/zod/src/v4/locales/ta.ts +0 -118
  1360. package/node_modules/zod/src/v4/locales/th.ts +0 -119
  1361. package/node_modules/zod/src/v4/locales/tr.ts +0 -111
  1362. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  1363. package/node_modules/zod/src/v4/locales/uk.ts +0 -117
  1364. package/node_modules/zod/src/v4/locales/ur.ts +0 -119
  1365. package/node_modules/zod/src/v4/locales/uz.ts +0 -117
  1366. package/node_modules/zod/src/v4/locales/vi.ts +0 -117
  1367. package/node_modules/zod/src/v4/locales/yo.ts +0 -124
  1368. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
  1369. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
  1370. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  1371. package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  1372. package/node_modules/zod/src/v4/mini/external.ts +0 -41
  1373. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  1374. package/node_modules/zod/src/v4/mini/iso.ts +0 -66
  1375. package/node_modules/zod/src/v4/mini/parse.ts +0 -14
  1376. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1947
  1377. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
  1378. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  1379. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  1380. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  1381. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -548
  1382. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  1383. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  1384. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
  1385. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -993
  1386. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  1387. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
  1388. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  1389. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -325
  1390. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  1391. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -352
  1392. package/node_modules/zod/src/v4-mini/index.ts +0 -3
  1393. package/node_modules/zod/v3/ZodError.cjs +0 -138
  1394. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  1395. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  1396. package/node_modules/zod/v3/ZodError.js +0 -133
  1397. package/node_modules/zod/v3/errors.cjs +0 -17
  1398. package/node_modules/zod/v3/errors.d.cts +0 -5
  1399. package/node_modules/zod/v3/errors.d.ts +0 -5
  1400. package/node_modules/zod/v3/errors.js +0 -9
  1401. package/node_modules/zod/v3/external.cjs +0 -22
  1402. package/node_modules/zod/v3/external.d.cts +0 -6
  1403. package/node_modules/zod/v3/external.d.ts +0 -6
  1404. package/node_modules/zod/v3/external.js +0 -6
  1405. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  1406. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  1407. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  1408. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  1409. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  1410. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  1411. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  1412. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  1413. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  1414. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  1415. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  1416. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  1417. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  1418. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  1419. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  1420. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  1421. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  1422. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  1423. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  1424. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  1425. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  1426. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  1427. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  1428. package/node_modules/zod/v3/helpers/util.js +0 -133
  1429. package/node_modules/zod/v3/index.cjs +0 -33
  1430. package/node_modules/zod/v3/index.d.cts +0 -4
  1431. package/node_modules/zod/v3/index.d.ts +0 -4
  1432. package/node_modules/zod/v3/index.js +0 -4
  1433. package/node_modules/zod/v3/locales/en.cjs +0 -112
  1434. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  1435. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  1436. package/node_modules/zod/v3/locales/en.js +0 -109
  1437. package/node_modules/zod/v3/package.json +0 -7
  1438. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  1439. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  1440. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  1441. package/node_modules/zod/v3/standard-schema.js +0 -1
  1442. package/node_modules/zod/v3/types.cjs +0 -3777
  1443. package/node_modules/zod/v3/types.d.cts +0 -1034
  1444. package/node_modules/zod/v3/types.d.ts +0 -1034
  1445. package/node_modules/zod/v3/types.js +0 -3695
  1446. package/node_modules/zod/v4/classic/checks.cjs +0 -33
  1447. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  1448. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  1449. package/node_modules/zod/v4/classic/checks.js +0 -1
  1450. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  1451. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  1452. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  1453. package/node_modules/zod/v4/classic/coerce.js +0 -17
  1454. package/node_modules/zod/v4/classic/compat.cjs +0 -61
  1455. package/node_modules/zod/v4/classic/compat.d.cts +0 -50
  1456. package/node_modules/zod/v4/classic/compat.d.ts +0 -50
  1457. package/node_modules/zod/v4/classic/compat.js +0 -31
  1458. package/node_modules/zod/v4/classic/errors.cjs +0 -74
  1459. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  1460. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  1461. package/node_modules/zod/v4/classic/errors.js +0 -48
  1462. package/node_modules/zod/v4/classic/external.cjs +0 -73
  1463. package/node_modules/zod/v4/classic/external.d.cts +0 -16
  1464. package/node_modules/zod/v4/classic/external.d.ts +0 -16
  1465. package/node_modules/zod/v4/classic/external.js +0 -20
  1466. package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -625
  1467. package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  1468. package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  1469. package/node_modules/zod/v4/classic/from-json-schema.js +0 -599
  1470. package/node_modules/zod/v4/classic/index.cjs +0 -33
  1471. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  1472. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  1473. package/node_modules/zod/v4/classic/index.js +0 -4
  1474. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  1475. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  1476. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  1477. package/node_modules/zod/v4/classic/iso.js +0 -30
  1478. package/node_modules/zod/v4/classic/package.json +0 -7
  1479. package/node_modules/zod/v4/classic/parse.cjs +0 -41
  1480. package/node_modules/zod/v4/classic/parse.d.cts +0 -31
  1481. package/node_modules/zod/v4/classic/parse.d.ts +0 -31
  1482. package/node_modules/zod/v4/classic/parse.js +0 -15
  1483. package/node_modules/zod/v4/classic/schemas.cjs +0 -1511
  1484. package/node_modules/zod/v4/classic/schemas.d.cts +0 -767
  1485. package/node_modules/zod/v4/classic/schemas.d.ts +0 -767
  1486. package/node_modules/zod/v4/classic/schemas.js +0 -1395
  1487. package/node_modules/zod/v4/core/api.cjs +0 -1227
  1488. package/node_modules/zod/v4/core/api.d.cts +0 -325
  1489. package/node_modules/zod/v4/core/api.d.ts +0 -325
  1490. package/node_modules/zod/v4/core/api.js +0 -1087
  1491. package/node_modules/zod/v4/core/checks.cjs +0 -601
  1492. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  1493. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  1494. package/node_modules/zod/v4/core/checks.js +0 -575
  1495. package/node_modules/zod/v4/core/core.cjs +0 -85
  1496. package/node_modules/zod/v4/core/core.d.cts +0 -70
  1497. package/node_modules/zod/v4/core/core.d.ts +0 -70
  1498. package/node_modules/zod/v4/core/core.js +0 -78
  1499. package/node_modules/zod/v4/core/doc.cjs +0 -39
  1500. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  1501. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  1502. package/node_modules/zod/v4/core/doc.js +0 -35
  1503. package/node_modules/zod/v4/core/errors.cjs +0 -216
  1504. package/node_modules/zod/v4/core/errors.d.cts +0 -221
  1505. package/node_modules/zod/v4/core/errors.d.ts +0 -221
  1506. package/node_modules/zod/v4/core/errors.js +0 -185
  1507. package/node_modules/zod/v4/core/index.cjs +0 -47
  1508. package/node_modules/zod/v4/core/index.d.cts +0 -16
  1509. package/node_modules/zod/v4/core/index.d.ts +0 -16
  1510. package/node_modules/zod/v4/core/index.js +0 -16
  1511. package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
  1512. package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  1513. package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  1514. package/node_modules/zod/v4/core/json-schema-generator.js +0 -95
  1515. package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -644
  1516. package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
  1517. package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
  1518. package/node_modules/zod/v4/core/json-schema-processors.js +0 -601
  1519. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  1520. package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
  1521. package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
  1522. package/node_modules/zod/v4/core/json-schema.js +0 -1
  1523. package/node_modules/zod/v4/core/package.json +0 -7
  1524. package/node_modules/zod/v4/core/parse.cjs +0 -131
  1525. package/node_modules/zod/v4/core/parse.d.cts +0 -49
  1526. package/node_modules/zod/v4/core/parse.d.ts +0 -49
  1527. package/node_modules/zod/v4/core/parse.js +0 -93
  1528. package/node_modules/zod/v4/core/regexes.cjs +0 -172
  1529. package/node_modules/zod/v4/core/regexes.d.cts +0 -85
  1530. package/node_modules/zod/v4/core/regexes.d.ts +0 -85
  1531. package/node_modules/zod/v4/core/regexes.js +0 -139
  1532. package/node_modules/zod/v4/core/registries.cjs +0 -56
  1533. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  1534. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  1535. package/node_modules/zod/v4/core/registries.js +0 -51
  1536. package/node_modules/zod/v4/core/schemas.cjs +0 -2270
  1537. package/node_modules/zod/v4/core/schemas.d.cts +0 -1184
  1538. package/node_modules/zod/v4/core/schemas.d.ts +0 -1184
  1539. package/node_modules/zod/v4/core/schemas.js +0 -2239
  1540. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  1541. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  1542. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  1543. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  1544. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -457
  1545. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
  1546. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
  1547. package/node_modules/zod/v4/core/to-json-schema.js +0 -448
  1548. package/node_modules/zod/v4/core/util.cjs +0 -734
  1549. package/node_modules/zod/v4/core/util.d.cts +0 -200
  1550. package/node_modules/zod/v4/core/util.d.ts +0 -200
  1551. package/node_modules/zod/v4/core/util.js +0 -674
  1552. package/node_modules/zod/v4/core/versions.cjs +0 -8
  1553. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  1554. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  1555. package/node_modules/zod/v4/core/versions.js +0 -5
  1556. package/node_modules/zod/v4/index.cjs +0 -22
  1557. package/node_modules/zod/v4/index.d.cts +0 -3
  1558. package/node_modules/zod/v4/index.d.ts +0 -3
  1559. package/node_modules/zod/v4/index.js +0 -3
  1560. package/node_modules/zod/v4/locales/ar.cjs +0 -133
  1561. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  1562. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  1563. package/node_modules/zod/v4/locales/ar.js +0 -106
  1564. package/node_modules/zod/v4/locales/az.cjs +0 -132
  1565. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  1566. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  1567. package/node_modules/zod/v4/locales/az.js +0 -105
  1568. package/node_modules/zod/v4/locales/be.cjs +0 -183
  1569. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  1570. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  1571. package/node_modules/zod/v4/locales/be.js +0 -156
  1572. package/node_modules/zod/v4/locales/bg.cjs +0 -147
  1573. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  1574. package/node_modules/zod/v4/locales/bg.d.ts +0 -4
  1575. package/node_modules/zod/v4/locales/bg.js +0 -120
  1576. package/node_modules/zod/v4/locales/ca.cjs +0 -134
  1577. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  1578. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  1579. package/node_modules/zod/v4/locales/ca.js +0 -107
  1580. package/node_modules/zod/v4/locales/cs.cjs +0 -138
  1581. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  1582. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  1583. package/node_modules/zod/v4/locales/cs.js +0 -111
  1584. package/node_modules/zod/v4/locales/da.cjs +0 -142
  1585. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  1586. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  1587. package/node_modules/zod/v4/locales/da.js +0 -115
  1588. package/node_modules/zod/v4/locales/de.cjs +0 -135
  1589. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  1590. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  1591. package/node_modules/zod/v4/locales/de.js +0 -108
  1592. package/node_modules/zod/v4/locales/el.cjs +0 -136
  1593. package/node_modules/zod/v4/locales/el.d.cts +0 -5
  1594. package/node_modules/zod/v4/locales/el.d.ts +0 -4
  1595. package/node_modules/zod/v4/locales/el.js +0 -109
  1596. package/node_modules/zod/v4/locales/en.cjs +0 -140
  1597. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  1598. package/node_modules/zod/v4/locales/en.d.ts +0 -4
  1599. package/node_modules/zod/v4/locales/en.js +0 -113
  1600. package/node_modules/zod/v4/locales/eo.cjs +0 -136
  1601. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  1602. package/node_modules/zod/v4/locales/eo.d.ts +0 -4
  1603. package/node_modules/zod/v4/locales/eo.js +0 -109
  1604. package/node_modules/zod/v4/locales/es.cjs +0 -159
  1605. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  1606. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  1607. package/node_modules/zod/v4/locales/es.js +0 -132
  1608. package/node_modules/zod/v4/locales/fa.cjs +0 -141
  1609. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  1610. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  1611. package/node_modules/zod/v4/locales/fa.js +0 -114
  1612. package/node_modules/zod/v4/locales/fi.cjs +0 -139
  1613. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  1614. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  1615. package/node_modules/zod/v4/locales/fi.js +0 -112
  1616. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
  1617. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  1618. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  1619. package/node_modules/zod/v4/locales/fr-CA.js +0 -107
  1620. package/node_modules/zod/v4/locales/fr.cjs +0 -152
  1621. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  1622. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  1623. package/node_modules/zod/v4/locales/fr.js +0 -125
  1624. package/node_modules/zod/v4/locales/he.cjs +0 -241
  1625. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  1626. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  1627. package/node_modules/zod/v4/locales/he.js +0 -214
  1628. package/node_modules/zod/v4/locales/hr.cjs +0 -149
  1629. package/node_modules/zod/v4/locales/hr.d.cts +0 -5
  1630. package/node_modules/zod/v4/locales/hr.d.ts +0 -4
  1631. package/node_modules/zod/v4/locales/hr.js +0 -122
  1632. package/node_modules/zod/v4/locales/hu.cjs +0 -135
  1633. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  1634. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  1635. package/node_modules/zod/v4/locales/hu.js +0 -108
  1636. package/node_modules/zod/v4/locales/hy.cjs +0 -174
  1637. package/node_modules/zod/v4/locales/hy.d.cts +0 -5
  1638. package/node_modules/zod/v4/locales/hy.d.ts +0 -4
  1639. package/node_modules/zod/v4/locales/hy.js +0 -147
  1640. package/node_modules/zod/v4/locales/id.cjs +0 -133
  1641. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  1642. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  1643. package/node_modules/zod/v4/locales/id.js +0 -106
  1644. package/node_modules/zod/v4/locales/index.cjs +0 -111
  1645. package/node_modules/zod/v4/locales/index.d.cts +0 -52
  1646. package/node_modules/zod/v4/locales/index.d.ts +0 -52
  1647. package/node_modules/zod/v4/locales/index.js +0 -52
  1648. package/node_modules/zod/v4/locales/is.cjs +0 -136
  1649. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  1650. package/node_modules/zod/v4/locales/is.d.ts +0 -4
  1651. package/node_modules/zod/v4/locales/is.js +0 -109
  1652. package/node_modules/zod/v4/locales/it.cjs +0 -135
  1653. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  1654. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  1655. package/node_modules/zod/v4/locales/it.js +0 -108
  1656. package/node_modules/zod/v4/locales/ja.cjs +0 -134
  1657. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  1658. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  1659. package/node_modules/zod/v4/locales/ja.js +0 -107
  1660. package/node_modules/zod/v4/locales/ka.cjs +0 -139
  1661. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  1662. package/node_modules/zod/v4/locales/ka.d.ts +0 -4
  1663. package/node_modules/zod/v4/locales/ka.js +0 -112
  1664. package/node_modules/zod/v4/locales/kh.cjs +0 -12
  1665. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  1666. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  1667. package/node_modules/zod/v4/locales/kh.js +0 -5
  1668. package/node_modules/zod/v4/locales/km.cjs +0 -137
  1669. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  1670. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  1671. package/node_modules/zod/v4/locales/km.js +0 -110
  1672. package/node_modules/zod/v4/locales/ko.cjs +0 -138
  1673. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  1674. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  1675. package/node_modules/zod/v4/locales/ko.js +0 -111
  1676. package/node_modules/zod/v4/locales/lt.cjs +0 -230
  1677. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  1678. package/node_modules/zod/v4/locales/lt.d.ts +0 -4
  1679. package/node_modules/zod/v4/locales/lt.js +0 -203
  1680. package/node_modules/zod/v4/locales/mk.cjs +0 -136
  1681. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  1682. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  1683. package/node_modules/zod/v4/locales/mk.js +0 -109
  1684. package/node_modules/zod/v4/locales/ms.cjs +0 -134
  1685. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  1686. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  1687. package/node_modules/zod/v4/locales/ms.js +0 -107
  1688. package/node_modules/zod/v4/locales/nl.cjs +0 -137
  1689. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  1690. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  1691. package/node_modules/zod/v4/locales/nl.js +0 -110
  1692. package/node_modules/zod/v4/locales/no.cjs +0 -135
  1693. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  1694. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  1695. package/node_modules/zod/v4/locales/no.js +0 -108
  1696. package/node_modules/zod/v4/locales/ota.cjs +0 -136
  1697. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  1698. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  1699. package/node_modules/zod/v4/locales/ota.js +0 -109
  1700. package/node_modules/zod/v4/locales/package.json +0 -7
  1701. package/node_modules/zod/v4/locales/pl.cjs +0 -136
  1702. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  1703. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  1704. package/node_modules/zod/v4/locales/pl.js +0 -109
  1705. package/node_modules/zod/v4/locales/ps.cjs +0 -141
  1706. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  1707. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  1708. package/node_modules/zod/v4/locales/ps.js +0 -114
  1709. package/node_modules/zod/v4/locales/pt.cjs +0 -135
  1710. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  1711. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  1712. package/node_modules/zod/v4/locales/pt.js +0 -108
  1713. package/node_modules/zod/v4/locales/ro.cjs +0 -146
  1714. package/node_modules/zod/v4/locales/ro.d.cts +0 -5
  1715. package/node_modules/zod/v4/locales/ro.d.ts +0 -4
  1716. package/node_modules/zod/v4/locales/ro.js +0 -119
  1717. package/node_modules/zod/v4/locales/ru.cjs +0 -183
  1718. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  1719. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  1720. package/node_modules/zod/v4/locales/ru.js +0 -156
  1721. package/node_modules/zod/v4/locales/sl.cjs +0 -136
  1722. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  1723. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  1724. package/node_modules/zod/v4/locales/sl.js +0 -109
  1725. package/node_modules/zod/v4/locales/sv.cjs +0 -137
  1726. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  1727. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  1728. package/node_modules/zod/v4/locales/sv.js +0 -110
  1729. package/node_modules/zod/v4/locales/ta.cjs +0 -137
  1730. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  1731. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  1732. package/node_modules/zod/v4/locales/ta.js +0 -110
  1733. package/node_modules/zod/v4/locales/th.cjs +0 -137
  1734. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  1735. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  1736. package/node_modules/zod/v4/locales/th.js +0 -110
  1737. package/node_modules/zod/v4/locales/tr.cjs +0 -132
  1738. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  1739. package/node_modules/zod/v4/locales/tr.d.ts +0 -4
  1740. package/node_modules/zod/v4/locales/tr.js +0 -105
  1741. package/node_modules/zod/v4/locales/ua.cjs +0 -12
  1742. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  1743. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  1744. package/node_modules/zod/v4/locales/ua.js +0 -5
  1745. package/node_modules/zod/v4/locales/uk.cjs +0 -135
  1746. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  1747. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  1748. package/node_modules/zod/v4/locales/uk.js +0 -108
  1749. package/node_modules/zod/v4/locales/ur.cjs +0 -137
  1750. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  1751. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  1752. package/node_modules/zod/v4/locales/ur.js +0 -110
  1753. package/node_modules/zod/v4/locales/uz.cjs +0 -137
  1754. package/node_modules/zod/v4/locales/uz.d.cts +0 -5
  1755. package/node_modules/zod/v4/locales/uz.d.ts +0 -4
  1756. package/node_modules/zod/v4/locales/uz.js +0 -110
  1757. package/node_modules/zod/v4/locales/vi.cjs +0 -135
  1758. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  1759. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  1760. package/node_modules/zod/v4/locales/vi.js +0 -108
  1761. package/node_modules/zod/v4/locales/yo.cjs +0 -134
  1762. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  1763. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  1764. package/node_modules/zod/v4/locales/yo.js +0 -107
  1765. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
  1766. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  1767. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  1768. package/node_modules/zod/v4/locales/zh-CN.js +0 -109
  1769. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
  1770. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  1771. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  1772. package/node_modules/zod/v4/locales/zh-TW.js +0 -107
  1773. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  1774. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  1775. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  1776. package/node_modules/zod/v4/mini/checks.js +0 -1
  1777. package/node_modules/zod/v4/mini/coerce.cjs +0 -52
  1778. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  1779. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  1780. package/node_modules/zod/v4/mini/coerce.js +0 -22
  1781. package/node_modules/zod/v4/mini/external.cjs +0 -63
  1782. package/node_modules/zod/v4/mini/external.d.cts +0 -13
  1783. package/node_modules/zod/v4/mini/external.d.ts +0 -13
  1784. package/node_modules/zod/v4/mini/external.js +0 -14
  1785. package/node_modules/zod/v4/mini/index.cjs +0 -32
  1786. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  1787. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  1788. package/node_modules/zod/v4/mini/index.js +0 -3
  1789. package/node_modules/zod/v4/mini/iso.cjs +0 -64
  1790. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  1791. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  1792. package/node_modules/zod/v4/mini/iso.js +0 -34
  1793. package/node_modules/zod/v4/mini/package.json +0 -7
  1794. package/node_modules/zod/v4/mini/parse.cjs +0 -16
  1795. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  1796. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  1797. package/node_modules/zod/v4/mini/parse.js +0 -1
  1798. package/node_modules/zod/v4/mini/schemas.cjs +0 -1083
  1799. package/node_modules/zod/v4/mini/schemas.d.cts +0 -445
  1800. package/node_modules/zod/v4/mini/schemas.d.ts +0 -445
  1801. package/node_modules/zod/v4/mini/schemas.js +0 -961
  1802. package/node_modules/zod/v4/package.json +0 -7
  1803. package/node_modules/zod/v4-mini/index.cjs +0 -32
  1804. package/node_modules/zod/v4-mini/index.d.cts +0 -3
  1805. package/node_modules/zod/v4-mini/index.d.ts +0 -3
  1806. package/node_modules/zod/v4-mini/index.js +0 -3
  1807. package/node_modules/zod/v4-mini/package.json +0 -7
  1808. package/npm-shrinkwrap.json +0 -299
@@ -1,2331 +0,0 @@
1
- /**
2
- * The `node:util` module supports the needs of Node.js internal APIs. Many of the
3
- * utilities are useful for application and module developers as well. To access
4
- * it:
5
- *
6
- * ```js
7
- * import util from 'node:util';
8
- * ```
9
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/util.js)
10
- */
11
- declare module "util" {
12
- import * as types from "node:util/types";
13
- export interface InspectOptions {
14
- /**
15
- * If `true`, object's non-enumerable symbols and properties are included in the formatted result.
16
- * `WeakMap` and `WeakSet` entries are also included as well as user defined prototype properties (excluding method properties).
17
- * @default false
18
- */
19
- showHidden?: boolean | undefined;
20
- /**
21
- * Specifies the number of times to recurse while formatting object.
22
- * This is useful for inspecting large objects.
23
- * To recurse up to the maximum call stack size pass `Infinity` or `null`.
24
- * @default 2
25
- */
26
- depth?: number | null | undefined;
27
- /**
28
- * If `true`, the output is styled with ANSI color codes. Colors are customizable.
29
- */
30
- colors?: boolean | undefined;
31
- /**
32
- * If `false`, `[util.inspect.custom](depth, opts, inspect)` functions are not invoked.
33
- * @default true
34
- */
35
- customInspect?: boolean | undefined;
36
- /**
37
- * If `true`, `Proxy` inspection includes the target and handler objects.
38
- * @default false
39
- */
40
- showProxy?: boolean | undefined;
41
- /**
42
- * Specifies the maximum number of `Array`, `TypedArray`, `WeakMap`, and `WeakSet` elements
43
- * to include when formatting. Set to `null` or `Infinity` to show all elements.
44
- * Set to `0` or negative to show no elements.
45
- * @default 100
46
- */
47
- maxArrayLength?: number | null | undefined;
48
- /**
49
- * Specifies the maximum number of characters to
50
- * include when formatting. Set to `null` or `Infinity` to show all elements.
51
- * Set to `0` or negative to show no characters.
52
- * @default 10000
53
- */
54
- maxStringLength?: number | null | undefined;
55
- /**
56
- * The length at which input values are split across multiple lines.
57
- * Set to `Infinity` to format the input as a single line
58
- * (in combination with `compact` set to `true` or any number >= `1`).
59
- * @default 80
60
- */
61
- breakLength?: number | undefined;
62
- /**
63
- * Setting this to `false` causes each object key
64
- * to be displayed on a new line. It will also add new lines to text that is
65
- * longer than `breakLength`. If set to a number, the most `n` inner elements
66
- * are united on a single line as long as all properties fit into
67
- * `breakLength`. Short array elements are also grouped together. Note that no
68
- * text will be reduced below 16 characters, no matter the `breakLength` size.
69
- * For more information, see the example below.
70
- * @default true
71
- */
72
- compact?: boolean | number | undefined;
73
- /**
74
- * If set to `true` or a function, all properties of an object, and `Set` and `Map`
75
- * entries are sorted in the resulting string.
76
- * If set to `true` the default sort is used.
77
- * If set to a function, it is used as a compare function.
78
- */
79
- sorted?: boolean | ((a: string, b: string) => number) | undefined;
80
- /**
81
- * If set to `true`, getters are going to be
82
- * inspected as well. If set to `'get'` only getters without setter are going
83
- * to be inspected. If set to `'set'` only getters having a corresponding
84
- * setter are going to be inspected. This might cause side effects depending on
85
- * the getter function.
86
- * @default false
87
- */
88
- getters?: "get" | "set" | boolean | undefined;
89
- /**
90
- * If set to `true`, an underscore is used to separate every three digits in all bigints and numbers.
91
- * @default false
92
- */
93
- numericSeparator?: boolean | undefined;
94
- }
95
- export type Style =
96
- | "special"
97
- | "number"
98
- | "bigint"
99
- | "boolean"
100
- | "undefined"
101
- | "null"
102
- | "string"
103
- | "symbol"
104
- | "date"
105
- | "regexp"
106
- | "module";
107
- export type CustomInspectFunction = (depth: number, options: InspectOptionsStylized) => any; // TODO: , inspect: inspect
108
- export interface InspectOptionsStylized extends InspectOptions {
109
- stylize(text: string, styleType: Style): string;
110
- }
111
- /**
112
- * The `util.format()` method returns a formatted string using the first argument
113
- * as a `printf`-like format string which can contain zero or more format
114
- * specifiers. Each specifier is replaced with the converted value from the
115
- * corresponding argument. Supported specifiers are:
116
- *
117
- * If a specifier does not have a corresponding argument, it is not replaced:
118
- *
119
- * ```js
120
- * util.format('%s:%s', 'foo');
121
- * // Returns: 'foo:%s'
122
- * ```
123
- *
124
- * Values that are not part of the format string are formatted using `util.inspect()` if their type is not `string`.
125
- *
126
- * If there are more arguments passed to the `util.format()` method than the
127
- * number of specifiers, the extra arguments are concatenated to the returned
128
- * string, separated by spaces:
129
- *
130
- * ```js
131
- * util.format('%s:%s', 'foo', 'bar', 'baz');
132
- * // Returns: 'foo:bar baz'
133
- * ```
134
- *
135
- * If the first argument does not contain a valid format specifier, `util.format()` returns a string that is the concatenation of all arguments separated by spaces:
136
- *
137
- * ```js
138
- * util.format(1, 2, 3);
139
- * // Returns: '1 2 3'
140
- * ```
141
- *
142
- * If only one argument is passed to `util.format()`, it is returned as it is
143
- * without any formatting:
144
- *
145
- * ```js
146
- * util.format('%% %s');
147
- * // Returns: '%% %s'
148
- * ```
149
- *
150
- * `util.format()` is a synchronous method that is intended as a debugging tool.
151
- * Some input values can have a significant performance overhead that can block the
152
- * event loop. Use this function with care and never in a hot code path.
153
- * @since v0.5.3
154
- * @param format A `printf`-like format string.
155
- */
156
- export function format(format?: any, ...param: any[]): string;
157
- /**
158
- * This function is identical to {@link format}, except in that it takes
159
- * an `inspectOptions` argument which specifies options that are passed along to {@link inspect}.
160
- *
161
- * ```js
162
- * util.formatWithOptions({ colors: true }, 'See object %O', { foo: 42 });
163
- * // Returns 'See object { foo: 42 }', where `42` is colored as a number
164
- * // when printed to a terminal.
165
- * ```
166
- * @since v10.0.0
167
- */
168
- export function formatWithOptions(inspectOptions: InspectOptions, format?: any, ...param: any[]): string;
169
- /**
170
- * Returns the string name for a numeric error code that comes from a Node.js API.
171
- * The mapping between error codes and error names is platform-dependent.
172
- * See `Common System Errors` for the names of common errors.
173
- *
174
- * ```js
175
- * fs.access('file/that/does/not/exist', (err) => {
176
- * const name = util.getSystemErrorName(err.errno);
177
- * console.error(name); // ENOENT
178
- * });
179
- * ```
180
- * @since v9.7.0
181
- */
182
- export function getSystemErrorName(err: number): string;
183
- /**
184
- * Returns a Map of all system error codes available from the Node.js API.
185
- * The mapping between error codes and error names is platform-dependent.
186
- * See `Common System Errors` for the names of common errors.
187
- *
188
- * ```js
189
- * fs.access('file/that/does/not/exist', (err) => {
190
- * const errorMap = util.getSystemErrorMap();
191
- * const name = errorMap.get(err.errno);
192
- * console.error(name); // ENOENT
193
- * });
194
- * ```
195
- * @since v16.0.0, v14.17.0
196
- */
197
- export function getSystemErrorMap(): Map<number, [string, string]>;
198
- /**
199
- * The `util.log()` method prints the given `string` to `stdout` with an included
200
- * timestamp.
201
- *
202
- * ```js
203
- * import util from 'node:util';
204
- *
205
- * util.log('Timestamped message.');
206
- * ```
207
- * @since v0.3.0
208
- * @deprecated Since v6.0.0 - Use a third party module instead.
209
- */
210
- export function log(string: string): void;
211
- /**
212
- * Returns the `string` after replacing any surrogate code points
213
- * (or equivalently, any unpaired surrogate code units) with the
214
- * Unicode "replacement character" U+FFFD.
215
- * @since v16.8.0, v14.18.0
216
- */
217
- export function toUSVString(string: string): string;
218
- /**
219
- * Creates and returns an `AbortController` instance whose `AbortSignal` is marked
220
- * as transferable and can be used with `structuredClone()` or `postMessage()`.
221
- * @since v18.11.0
222
- * @experimental
223
- * @returns A transferable AbortController
224
- */
225
- export function transferableAbortController(): AbortController;
226
- /**
227
- * Marks the given `AbortSignal` as transferable so that it can be used with`structuredClone()` and `postMessage()`.
228
- *
229
- * ```js
230
- * const signal = transferableAbortSignal(AbortSignal.timeout(100));
231
- * const channel = new MessageChannel();
232
- * channel.port2.postMessage(signal, [signal]);
233
- * ```
234
- * @since v18.11.0
235
- * @experimental
236
- * @param signal The AbortSignal
237
- * @returns The same AbortSignal
238
- */
239
- export function transferableAbortSignal(signal: AbortSignal): AbortSignal;
240
- /**
241
- * Listens to abort event on the provided `signal` and
242
- * returns a promise that is fulfilled when the `signal` is
243
- * aborted. If the passed `resource` is garbage collected before the `signal` is
244
- * aborted, the returned promise shall remain pending indefinitely.
245
- *
246
- * ```js
247
- * import { aborted } from 'node:util';
248
- *
249
- * const dependent = obtainSomethingAbortable();
250
- *
251
- * aborted(dependent.signal, dependent).then(() => {
252
- * // Do something when dependent is aborted.
253
- * });
254
- *
255
- * dependent.on('event', () => {
256
- * dependent.abort();
257
- * });
258
- * ```
259
- * @since v19.7.0
260
- * @experimental
261
- * @param resource Any non-null entity, reference to which is held weakly.
262
- */
263
- export function aborted(signal: AbortSignal, resource: any): Promise<void>;
264
- /**
265
- * The `util.inspect()` method returns a string representation of `object` that is
266
- * intended for debugging. The output of `util.inspect` may change at any time
267
- * and should not be depended upon programmatically. Additional `options` may be
268
- * passed that alter the result. `util.inspect()` will use the constructor's name and/or `@@toStringTag` to make
269
- * an identifiable tag for an inspected value.
270
- *
271
- * ```js
272
- * class Foo {
273
- * get [Symbol.toStringTag]() {
274
- * return 'bar';
275
- * }
276
- * }
277
- *
278
- * class Bar {}
279
- *
280
- * const baz = Object.create(null, { [Symbol.toStringTag]: { value: 'foo' } });
281
- *
282
- * util.inspect(new Foo()); // 'Foo [bar] {}'
283
- * util.inspect(new Bar()); // 'Bar {}'
284
- * util.inspect(baz); // '[foo] {}'
285
- * ```
286
- *
287
- * Circular references point to their anchor by using a reference index:
288
- *
289
- * ```js
290
- * import { inspect } from 'node:util';
291
- *
292
- * const obj = {};
293
- * obj.a = [obj];
294
- * obj.b = {};
295
- * obj.b.inner = obj.b;
296
- * obj.b.obj = obj;
297
- *
298
- * console.log(inspect(obj));
299
- * // <ref *1> {
300
- * // a: [ [Circular *1] ],
301
- * // b: <ref *2> { inner: [Circular *2], obj: [Circular *1] }
302
- * // }
303
- * ```
304
- *
305
- * The following example inspects all properties of the `util` object:
306
- *
307
- * ```js
308
- * import util from 'node:util';
309
- *
310
- * console.log(util.inspect(util, { showHidden: true, depth: null }));
311
- * ```
312
- *
313
- * The following example highlights the effect of the `compact` option:
314
- *
315
- * ```js
316
- * import util from 'node:util';
317
- *
318
- * const o = {
319
- * a: [1, 2, [[
320
- * 'Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit, sed do ' +
321
- * 'eiusmod \ntempor incididunt ut labore et dolore magna aliqua.',
322
- * 'test',
323
- * 'foo']], 4],
324
- * b: new Map([['za', 1], ['zb', 'test']]),
325
- * };
326
- * console.log(util.inspect(o, { compact: true, depth: 5, breakLength: 80 }));
327
- *
328
- * // { a:
329
- * // [ 1,
330
- * // 2,
331
- * // [ [ 'Lorem ipsum dolor sit amet,\nconsectetur [...]', // A long line
332
- * // 'test',
333
- * // 'foo' ] ],
334
- * // 4 ],
335
- * // b: Map(2) { 'za' => 1, 'zb' => 'test' } }
336
- *
337
- * // Setting `compact` to false or an integer creates more reader friendly output.
338
- * console.log(util.inspect(o, { compact: false, depth: 5, breakLength: 80 }));
339
- *
340
- * // {
341
- * // a: [
342
- * // 1,
343
- * // 2,
344
- * // [
345
- * // [
346
- * // 'Lorem ipsum dolor sit amet,\n' +
347
- * // 'consectetur adipiscing elit, sed do eiusmod \n' +
348
- * // 'tempor incididunt ut labore et dolore magna aliqua.',
349
- * // 'test',
350
- * // 'foo'
351
- * // ]
352
- * // ],
353
- * // 4
354
- * // ],
355
- * // b: Map(2) {
356
- * // 'za' => 1,
357
- * // 'zb' => 'test'
358
- * // }
359
- * // }
360
- *
361
- * // Setting `breakLength` to e.g. 150 will print the "Lorem ipsum" text in a
362
- * // single line.
363
- * ```
364
- *
365
- * The `showHidden` option allows [`WeakMap`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap) and
366
- * [`WeakSet`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) entries to be
367
- * inspected. If there are more entries than `maxArrayLength`, there is no
368
- * guarantee which entries are displayed. That means retrieving the same [`WeakSet`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) entries twice may
369
- * result in different output. Furthermore, entries
370
- * with no remaining strong references may be garbage collected at any time.
371
- *
372
- * ```js
373
- * import { inspect } from 'node:util';
374
- *
375
- * const obj = { a: 1 };
376
- * const obj2 = { b: 2 };
377
- * const weakSet = new WeakSet([obj, obj2]);
378
- *
379
- * console.log(inspect(weakSet, { showHidden: true }));
380
- * // WeakSet { { a: 1 }, { b: 2 } }
381
- * ```
382
- *
383
- * The `sorted` option ensures that an object's property insertion order does not
384
- * impact the result of `util.inspect()`.
385
- *
386
- * ```js
387
- * import { inspect } from 'node:util';
388
- * import assert from 'node:assert';
389
- *
390
- * const o1 = {
391
- * b: [2, 3, 1],
392
- * a: '`a` comes before `b`',
393
- * c: new Set([2, 3, 1]),
394
- * };
395
- * console.log(inspect(o1, { sorted: true }));
396
- * // { a: '`a` comes before `b`', b: [ 2, 3, 1 ], c: Set(3) { 1, 2, 3 } }
397
- * console.log(inspect(o1, { sorted: (a, b) => b.localeCompare(a) }));
398
- * // { c: Set(3) { 3, 2, 1 }, b: [ 2, 3, 1 ], a: '`a` comes before `b`' }
399
- *
400
- * const o2 = {
401
- * c: new Set([2, 1, 3]),
402
- * a: '`a` comes before `b`',
403
- * b: [2, 3, 1],
404
- * };
405
- * assert.strict.equal(
406
- * inspect(o1, { sorted: true }),
407
- * inspect(o2, { sorted: true }),
408
- * );
409
- * ```
410
- *
411
- * The `numericSeparator` option adds an underscore every three digits to all
412
- * numbers.
413
- *
414
- * ```js
415
- * import { inspect } from 'node:util';
416
- *
417
- * const thousand = 1_000;
418
- * const million = 1_000_000;
419
- * const bigNumber = 123_456_789n;
420
- * const bigDecimal = 1_234.123_45;
421
- *
422
- * console.log(inspect(thousand, { numericSeparator: true }));
423
- * // 1_000
424
- * console.log(inspect(million, { numericSeparator: true }));
425
- * // 1_000_000
426
- * console.log(inspect(bigNumber, { numericSeparator: true }));
427
- * // 123_456_789n
428
- * console.log(inspect(bigDecimal, { numericSeparator: true }));
429
- * // 1_234.123_45
430
- * ```
431
- *
432
- * `util.inspect()` is a synchronous method intended for debugging. Its maximum
433
- * output length is approximately 128 MiB. Inputs that result in longer output will
434
- * be truncated.
435
- * @since v0.3.0
436
- * @param object Any JavaScript primitive or `Object`.
437
- * @return The representation of `object`.
438
- */
439
- export function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
440
- export function inspect(object: any, options?: InspectOptions): string;
441
- export namespace inspect {
442
- let colors: NodeJS.Dict<[number, number]>;
443
- let styles: {
444
- [K in Style]: string;
445
- };
446
- let defaultOptions: InspectOptions;
447
- /**
448
- * Allows changing inspect settings from the repl.
449
- */
450
- let replDefaults: InspectOptions;
451
- /**
452
- * That can be used to declare custom inspect functions.
453
- */
454
- const custom: unique symbol;
455
- }
456
- /**
457
- * Alias for [`Array.isArray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray).
458
- *
459
- * Returns `true` if the given `object` is an `Array`. Otherwise, returns `false`.
460
- *
461
- * ```js
462
- * import util from 'node:util';
463
- *
464
- * util.isArray([]);
465
- * // Returns: true
466
- * util.isArray(new Array());
467
- * // Returns: true
468
- * util.isArray({});
469
- * // Returns: false
470
- * ```
471
- * @since v0.6.0
472
- * @deprecated Since v4.0.0 - Use `isArray` instead.
473
- */
474
- export function isArray(object: unknown): object is unknown[];
475
- /**
476
- * Returns `true` if the given `object` is a `RegExp`. Otherwise, returns `false`.
477
- *
478
- * ```js
479
- * import util from 'node:util';
480
- *
481
- * util.isRegExp(/some regexp/);
482
- * // Returns: true
483
- * util.isRegExp(new RegExp('another regexp'));
484
- * // Returns: true
485
- * util.isRegExp({});
486
- * // Returns: false
487
- * ```
488
- * @since v0.6.0
489
- * @deprecated Since v4.0.0 - Deprecated
490
- */
491
- export function isRegExp(object: unknown): object is RegExp;
492
- /**
493
- * Returns `true` if the given `object` is a `Date`. Otherwise, returns `false`.
494
- *
495
- * ```js
496
- * import util from 'node:util';
497
- *
498
- * util.isDate(new Date());
499
- * // Returns: true
500
- * util.isDate(Date());
501
- * // false (without 'new' returns a String)
502
- * util.isDate({});
503
- * // Returns: false
504
- * ```
505
- * @since v0.6.0
506
- * @deprecated Since v4.0.0 - Use {@link types.isDate} instead.
507
- */
508
- export function isDate(object: unknown): object is Date;
509
- /**
510
- * Returns `true` if the given `object` is an `Error`. Otherwise, returns `false`.
511
- *
512
- * ```js
513
- * import util from 'node:util';
514
- *
515
- * util.isError(new Error());
516
- * // Returns: true
517
- * util.isError(new TypeError());
518
- * // Returns: true
519
- * util.isError({ name: 'Error', message: 'an error occurred' });
520
- * // Returns: false
521
- * ```
522
- *
523
- * This method relies on `Object.prototype.toString()` behavior. It is
524
- * possible to obtain an incorrect result when the `object` argument manipulates `@@toStringTag`.
525
- *
526
- * ```js
527
- * import util from 'node:util';
528
- * const obj = { name: 'Error', message: 'an error occurred' };
529
- *
530
- * util.isError(obj);
531
- * // Returns: false
532
- * obj[Symbol.toStringTag] = 'Error';
533
- * util.isError(obj);
534
- * // Returns: true
535
- * ```
536
- * @since v0.6.0
537
- * @deprecated Since v4.0.0 - Use {@link types.isNativeError} instead.
538
- */
539
- export function isError(object: unknown): object is Error;
540
- /**
541
- * Usage of `util.inherits()` is discouraged. Please use the ES6 `class` and `extends` keywords to get language level inheritance support. Also note
542
- * that the two styles are [semantically incompatible](https://github.com/nodejs/node/issues/4179).
543
- *
544
- * Inherit the prototype methods from one [constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/constructor) into another. The
545
- * prototype of `constructor` will be set to a new object created from `superConstructor`.
546
- *
547
- * This mainly adds some input validation on top of`Object.setPrototypeOf(constructor.prototype, superConstructor.prototype)`.
548
- * As an additional convenience, `superConstructor` will be accessible
549
- * through the `constructor.super_` property.
550
- *
551
- * ```js
552
- * import util from 'node:util';
553
- * import EventEmitter from 'node:events';
554
- *
555
- * function MyStream() {
556
- * EventEmitter.call(this);
557
- * }
558
- *
559
- * util.inherits(MyStream, EventEmitter);
560
- *
561
- * MyStream.prototype.write = function(data) {
562
- * this.emit('data', data);
563
- * };
564
- *
565
- * const stream = new MyStream();
566
- *
567
- * console.log(stream instanceof EventEmitter); // true
568
- * console.log(MyStream.super_ === EventEmitter); // true
569
- *
570
- * stream.on('data', (data) => {
571
- * console.log(`Received data: "${data}"`);
572
- * });
573
- * stream.write('It works!'); // Received data: "It works!"
574
- * ```
575
- *
576
- * ES6 example using `class` and `extends`:
577
- *
578
- * ```js
579
- * import EventEmitter from 'node:events';
580
- *
581
- * class MyStream extends EventEmitter {
582
- * write(data) {
583
- * this.emit('data', data);
584
- * }
585
- * }
586
- *
587
- * const stream = new MyStream();
588
- *
589
- * stream.on('data', (data) => {
590
- * console.log(`Received data: "${data}"`);
591
- * });
592
- * stream.write('With ES6');
593
- * ```
594
- * @since v0.3.0
595
- * @legacy Use ES2015 class syntax and `extends` keyword instead.
596
- */
597
- export function inherits(constructor: unknown, superConstructor: unknown): void;
598
- export type DebugLoggerFunction = (msg: string, ...param: unknown[]) => void;
599
- export interface DebugLogger extends DebugLoggerFunction {
600
- enabled: boolean;
601
- }
602
- /**
603
- * The `util.debuglog()` method is used to create a function that conditionally
604
- * writes debug messages to `stderr` based on the existence of the `NODE_DEBUG`environment variable. If the `section` name appears within the value of that
605
- * environment variable, then the returned function operates similar to `console.error()`. If not, then the returned function is a no-op.
606
- *
607
- * ```js
608
- * import util from 'node:util';
609
- * const debuglog = util.debuglog('foo');
610
- *
611
- * debuglog('hello from foo [%d]', 123);
612
- * ```
613
- *
614
- * If this program is run with `NODE_DEBUG=foo` in the environment, then
615
- * it will output something like:
616
- *
617
- * ```console
618
- * FOO 3245: hello from foo [123]
619
- * ```
620
- *
621
- * where `3245` is the process id. If it is not run with that
622
- * environment variable set, then it will not print anything.
623
- *
624
- * The `section` supports wildcard also:
625
- *
626
- * ```js
627
- * import util from 'node:util';
628
- * const debuglog = util.debuglog('foo-bar');
629
- *
630
- * debuglog('hi there, it\'s foo-bar [%d]', 2333);
631
- * ```
632
- *
633
- * if it is run with `NODE_DEBUG=foo*` in the environment, then it will output
634
- * something like:
635
- *
636
- * ```console
637
- * FOO-BAR 3257: hi there, it's foo-bar [2333]
638
- * ```
639
- *
640
- * Multiple comma-separated `section` names may be specified in the `NODE_DEBUG`environment variable: `NODE_DEBUG=fs,net,tls`.
641
- *
642
- * The optional `callback` argument can be used to replace the logging function
643
- * with a different function that doesn't have any initialization or
644
- * unnecessary wrapping.
645
- *
646
- * ```js
647
- * import util from 'node:util';
648
- * let debuglog = util.debuglog('internals', (debug) => {
649
- * // Replace with a logging function that optimizes out
650
- * // testing if the section is enabled
651
- * debuglog = debug;
652
- * });
653
- * ```
654
- * @since v0.11.3
655
- * @param section A string identifying the portion of the application for which the `debuglog` function is being created.
656
- * @param callback A callback invoked the first time the logging function is called with a function argument that is a more optimized logging function.
657
- * @return The logging function
658
- */
659
- export function debuglog(section: string, callback?: (fn: DebugLoggerFunction) => void): DebugLogger;
660
- export const debug: typeof debuglog;
661
- /**
662
- * Returns `true` if the given `object` is a `Boolean`. Otherwise, returns `false`.
663
- *
664
- * ```js
665
- * import util from 'node:util';
666
- *
667
- * util.isBoolean(1);
668
- * // Returns: false
669
- * util.isBoolean(0);
670
- * // Returns: false
671
- * util.isBoolean(false);
672
- * // Returns: true
673
- * ```
674
- * @since v0.11.5
675
- * @deprecated Since v4.0.0 - Use `typeof value === 'boolean'` instead.
676
- */
677
- export function isBoolean(object: unknown): object is boolean;
678
- /**
679
- * Returns `true` if the given `object` is a `Buffer`. Otherwise, returns `false`.
680
- *
681
- * ```js
682
- * import util from 'node:util';
683
- *
684
- * util.isBuffer({ length: 0 });
685
- * // Returns: false
686
- * util.isBuffer([]);
687
- * // Returns: false
688
- * util.isBuffer(Buffer.from('hello world'));
689
- * // Returns: true
690
- * ```
691
- * @since v0.11.5
692
- * @deprecated Since v4.0.0 - Use `isBuffer` instead.
693
- */
694
- export function isBuffer(object: unknown): object is Buffer;
695
- /**
696
- * Returns `true` if the given `object` is a `Function`. Otherwise, returns `false`.
697
- *
698
- * ```js
699
- * import util from 'node:util';
700
- *
701
- * function Foo() {}
702
- * const Bar = () => {};
703
- *
704
- * util.isFunction({});
705
- * // Returns: false
706
- * util.isFunction(Foo);
707
- * // Returns: true
708
- * util.isFunction(Bar);
709
- * // Returns: true
710
- * ```
711
- * @since v0.11.5
712
- * @deprecated Since v4.0.0 - Use `typeof value === 'function'` instead.
713
- */
714
- export function isFunction(object: unknown): boolean;
715
- /**
716
- * Returns `true` if the given `object` is strictly `null`. Otherwise, returns`false`.
717
- *
718
- * ```js
719
- * import util from 'node:util';
720
- *
721
- * util.isNull(0);
722
- * // Returns: false
723
- * util.isNull(undefined);
724
- * // Returns: false
725
- * util.isNull(null);
726
- * // Returns: true
727
- * ```
728
- * @since v0.11.5
729
- * @deprecated Since v4.0.0 - Use `value === null` instead.
730
- */
731
- export function isNull(object: unknown): object is null;
732
- /**
733
- * Returns `true` if the given `object` is `null` or `undefined`. Otherwise,
734
- * returns `false`.
735
- *
736
- * ```js
737
- * import util from 'node:util';
738
- *
739
- * util.isNullOrUndefined(0);
740
- * // Returns: false
741
- * util.isNullOrUndefined(undefined);
742
- * // Returns: true
743
- * util.isNullOrUndefined(null);
744
- * // Returns: true
745
- * ```
746
- * @since v0.11.5
747
- * @deprecated Since v4.0.0 - Use `value === undefined || value === null` instead.
748
- */
749
- export function isNullOrUndefined(object: unknown): object is null | undefined;
750
- /**
751
- * Returns `true` if the given `object` is a `Number`. Otherwise, returns `false`.
752
- *
753
- * ```js
754
- * import util from 'node:util';
755
- *
756
- * util.isNumber(false);
757
- * // Returns: false
758
- * util.isNumber(Infinity);
759
- * // Returns: true
760
- * util.isNumber(0);
761
- * // Returns: true
762
- * util.isNumber(NaN);
763
- * // Returns: true
764
- * ```
765
- * @since v0.11.5
766
- * @deprecated Since v4.0.0 - Use `typeof value === 'number'` instead.
767
- */
768
- export function isNumber(object: unknown): object is number;
769
- /**
770
- * Returns `true` if the given `object` is strictly an `Object`**and** not a`Function` (even though functions are objects in JavaScript).
771
- * Otherwise, returns `false`.
772
- *
773
- * ```js
774
- * import util from 'node:util';
775
- *
776
- * util.isObject(5);
777
- * // Returns: false
778
- * util.isObject(null);
779
- * // Returns: false
780
- * util.isObject({});
781
- * // Returns: true
782
- * util.isObject(() => {});
783
- * // Returns: false
784
- * ```
785
- * @since v0.11.5
786
- * @deprecated Since v4.0.0 - Use `value !== null && typeof value === 'object'` instead.
787
- */
788
- export function isObject(object: unknown): boolean;
789
- /**
790
- * Returns `true` if the given `object` is a primitive type. Otherwise, returns`false`.
791
- *
792
- * ```js
793
- * import util from 'node:util';
794
- *
795
- * util.isPrimitive(5);
796
- * // Returns: true
797
- * util.isPrimitive('foo');
798
- * // Returns: true
799
- * util.isPrimitive(false);
800
- * // Returns: true
801
- * util.isPrimitive(null);
802
- * // Returns: true
803
- * util.isPrimitive(undefined);
804
- * // Returns: true
805
- * util.isPrimitive({});
806
- * // Returns: false
807
- * util.isPrimitive(() => {});
808
- * // Returns: false
809
- * util.isPrimitive(/^$/);
810
- * // Returns: false
811
- * util.isPrimitive(new Date());
812
- * // Returns: false
813
- * ```
814
- * @since v0.11.5
815
- * @deprecated Since v4.0.0 - Use `(typeof value !== 'object' && typeof value !== 'function') || value === null` instead.
816
- */
817
- export function isPrimitive(object: unknown): boolean;
818
- /**
819
- * Returns `true` if the given `object` is a `string`. Otherwise, returns `false`.
820
- *
821
- * ```js
822
- * import util from 'node:util';
823
- *
824
- * util.isString('');
825
- * // Returns: true
826
- * util.isString('foo');
827
- * // Returns: true
828
- * util.isString(String('foo'));
829
- * // Returns: true
830
- * util.isString(5);
831
- * // Returns: false
832
- * ```
833
- * @since v0.11.5
834
- * @deprecated Since v4.0.0 - Use `typeof value === 'string'` instead.
835
- */
836
- export function isString(object: unknown): object is string;
837
- /**
838
- * Returns `true` if the given `object` is a `Symbol`. Otherwise, returns `false`.
839
- *
840
- * ```js
841
- * import util from 'node:util';
842
- *
843
- * util.isSymbol(5);
844
- * // Returns: false
845
- * util.isSymbol('foo');
846
- * // Returns: false
847
- * util.isSymbol(Symbol('foo'));
848
- * // Returns: true
849
- * ```
850
- * @since v0.11.5
851
- * @deprecated Since v4.0.0 - Use `typeof value === 'symbol'` instead.
852
- */
853
- export function isSymbol(object: unknown): object is symbol;
854
- /**
855
- * Returns `true` if the given `object` is `undefined`. Otherwise, returns `false`.
856
- *
857
- * ```js
858
- * import util from 'node:util';
859
- *
860
- * const foo = undefined;
861
- * util.isUndefined(5);
862
- * // Returns: false
863
- * util.isUndefined(foo);
864
- * // Returns: true
865
- * util.isUndefined(null);
866
- * // Returns: false
867
- * ```
868
- * @since v0.11.5
869
- * @deprecated Since v4.0.0 - Use `value === undefined` instead.
870
- */
871
- export function isUndefined(object: unknown): object is undefined;
872
- /**
873
- * The `util.deprecate()` method wraps `fn` (which may be a function or class) in
874
- * such a way that it is marked as deprecated.
875
- *
876
- * ```js
877
- * import util from 'node:util';
878
- *
879
- * exports.obsoleteFunction = util.deprecate(() => {
880
- * // Do something here.
881
- * }, 'obsoleteFunction() is deprecated. Use newShinyFunction() instead.');
882
- * ```
883
- *
884
- * When called, `util.deprecate()` will return a function that will emit a `DeprecationWarning` using the `'warning'` event. The warning will
885
- * be emitted and printed to `stderr` the first time the returned function is
886
- * called. After the warning is emitted, the wrapped function is called without
887
- * emitting a warning.
888
- *
889
- * If the same optional `code` is supplied in multiple calls to `util.deprecate()`,
890
- * the warning will be emitted only once for that `code`.
891
- *
892
- * ```js
893
- * import util from 'node:util';
894
- *
895
- * const fn1 = util.deprecate(someFunction, someMessage, 'DEP0001');
896
- * const fn2 = util.deprecate(someOtherFunction, someOtherMessage, 'DEP0001');
897
- * fn1(); // Emits a deprecation warning with code DEP0001
898
- * fn2(); // Does not emit a deprecation warning because it has the same code
899
- * ```
900
- *
901
- * If either the `--no-deprecation` or `--no-warnings` command-line flags are
902
- * used, or if the `process.noDeprecation` property is set to `true`_prior_ to
903
- * the first deprecation warning, the `util.deprecate()` method does nothing.
904
- *
905
- * If the `--trace-deprecation` or `--trace-warnings` command-line flags are set,
906
- * or the `process.traceDeprecation` property is set to `true`, a warning and a
907
- * stack trace are printed to `stderr` the first time the deprecated function is
908
- * called.
909
- *
910
- * If the `--throw-deprecation` command-line flag is set, or the `process.throwDeprecation` property is set to `true`, then an exception will be
911
- * thrown when the deprecated function is called.
912
- *
913
- * The `--throw-deprecation` command-line flag and `process.throwDeprecation` property take precedence over `--trace-deprecation` and `process.traceDeprecation`.
914
- * @since v0.8.0
915
- * @param fn The function that is being deprecated.
916
- * @param msg A warning message to display when the deprecated function is invoked.
917
- * @param code A deprecation code. See the `list of deprecated APIs` for a list of codes.
918
- * @return The deprecated function wrapped to emit a warning.
919
- */
920
- export function deprecate<T extends Function>(fn: T, msg: string, code?: string): T;
921
- /**
922
- * Returns `true` if there is deep strict equality between `val1` and `val2`.
923
- * Otherwise, returns `false`.
924
- *
925
- * See `assert.deepStrictEqual()` for more information about deep strict
926
- * equality.
927
- * @since v9.0.0
928
- */
929
- export function isDeepStrictEqual(val1: unknown, val2: unknown): boolean;
930
- /**
931
- * Returns `str` with any ANSI escape codes removed.
932
- *
933
- * ```js
934
- * console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m'));
935
- * // Prints "value"
936
- * ```
937
- * @since v16.11.0
938
- */
939
- export function stripVTControlCharacters(str: string): string;
940
- /**
941
- * Takes an `async` function (or a function that returns a `Promise`) and returns a
942
- * function following the error-first callback style, i.e. taking
943
- * an `(err, value) => ...` callback as the last argument. In the callback, the
944
- * first argument will be the rejection reason (or `null` if the `Promise` resolved), and the second argument will be the resolved value.
945
- *
946
- * ```js
947
- * import util from 'node:util';
948
- *
949
- * async function fn() {
950
- * return 'hello world';
951
- * }
952
- * const callbackFunction = util.callbackify(fn);
953
- *
954
- * callbackFunction((err, ret) => {
955
- * if (err) throw err;
956
- * console.log(ret);
957
- * });
958
- * ```
959
- *
960
- * Will print:
961
- *
962
- * ```text
963
- * hello world
964
- * ```
965
- *
966
- * The callback is executed asynchronously, and will have a limited stack trace.
967
- * If the callback throws, the process will emit an `'uncaughtException'` event, and if not handled will exit.
968
- *
969
- * Since `null` has a special meaning as the first argument to a callback, if a
970
- * wrapped function rejects a `Promise` with a falsy value as a reason, the value
971
- * is wrapped in an `Error` with the original value stored in a field named `reason`.
972
- *
973
- * ```js
974
- * function fn() {
975
- * return Promise.reject(null);
976
- * }
977
- * const callbackFunction = util.callbackify(fn);
978
- *
979
- * callbackFunction((err, ret) => {
980
- * // When the Promise was rejected with `null` it is wrapped with an Error and
981
- * // the original value is stored in `reason`.
982
- * err &#x26;&#x26; Object.hasOwn(err, 'reason') &#x26;&#x26; err.reason === null; // true
983
- * });
984
- * ```
985
- * @since v8.2.0
986
- * @param fn An `async` function
987
- * @return a callback style function
988
- */
989
- export function callbackify(fn: () => Promise<void>): (callback: (err: NodeJS.ErrnoException) => void) => void;
990
- export function callbackify<TResult>(
991
- fn: () => Promise<TResult>,
992
- ): (callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void;
993
- export function callbackify<T1>(
994
- fn: (arg1: T1) => Promise<void>,
995
- ): (arg1: T1, callback: (err: NodeJS.ErrnoException) => void) => void;
996
- export function callbackify<T1, TResult>(
997
- fn: (arg1: T1) => Promise<TResult>,
998
- ): (arg1: T1, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void;
999
- export function callbackify<T1, T2>(
1000
- fn: (arg1: T1, arg2: T2) => Promise<void>,
1001
- ): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException) => void) => void;
1002
- export function callbackify<T1, T2, TResult>(
1003
- fn: (arg1: T1, arg2: T2) => Promise<TResult>,
1004
- ): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
1005
- export function callbackify<T1, T2, T3>(
1006
- fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<void>,
1007
- ): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException) => void) => void;
1008
- export function callbackify<T1, T2, T3, TResult>(
1009
- fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<TResult>,
1010
- ): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
1011
- export function callbackify<T1, T2, T3, T4>(
1012
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<void>,
1013
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException) => void) => void;
1014
- export function callbackify<T1, T2, T3, T4, TResult>(
1015
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<TResult>,
1016
- ): (
1017
- arg1: T1,
1018
- arg2: T2,
1019
- arg3: T3,
1020
- arg4: T4,
1021
- callback: (err: NodeJS.ErrnoException | null, result: TResult) => void,
1022
- ) => void;
1023
- export function callbackify<T1, T2, T3, T4, T5>(
1024
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<void>,
1025
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException) => void) => void;
1026
- export function callbackify<T1, T2, T3, T4, T5, TResult>(
1027
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<TResult>,
1028
- ): (
1029
- arg1: T1,
1030
- arg2: T2,
1031
- arg3: T3,
1032
- arg4: T4,
1033
- arg5: T5,
1034
- callback: (err: NodeJS.ErrnoException | null, result: TResult) => void,
1035
- ) => void;
1036
- export function callbackify<T1, T2, T3, T4, T5, T6>(
1037
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<void>,
1038
- ): (
1039
- arg1: T1,
1040
- arg2: T2,
1041
- arg3: T3,
1042
- arg4: T4,
1043
- arg5: T5,
1044
- arg6: T6,
1045
- callback: (err: NodeJS.ErrnoException) => void,
1046
- ) => void;
1047
- export function callbackify<T1, T2, T3, T4, T5, T6, TResult>(
1048
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<TResult>,
1049
- ): (
1050
- arg1: T1,
1051
- arg2: T2,
1052
- arg3: T3,
1053
- arg4: T4,
1054
- arg5: T5,
1055
- arg6: T6,
1056
- callback: (err: NodeJS.ErrnoException | null, result: TResult) => void,
1057
- ) => void;
1058
- export interface CustomPromisifyLegacy<TCustom extends Function> extends Function {
1059
- __promisify__: TCustom;
1060
- }
1061
- export interface CustomPromisifySymbol<TCustom extends Function> extends Function {
1062
- [promisify.custom]: TCustom;
1063
- }
1064
- export type CustomPromisify<TCustom extends Function> =
1065
- | CustomPromisifySymbol<TCustom>
1066
- | CustomPromisifyLegacy<TCustom>;
1067
- /**
1068
- * Takes a function following the common error-first callback style, i.e. taking
1069
- * an `(err, value) => ...` callback as the last argument, and returns a version
1070
- * that returns promises.
1071
- *
1072
- * ```js
1073
- * import util from 'node:util';
1074
- * import fs from 'node:fs';
1075
- *
1076
- * const stat = util.promisify(fs.stat);
1077
- * stat('.').then((stats) => {
1078
- * // Do something with `stats`
1079
- * }).catch((error) => {
1080
- * // Handle the error.
1081
- * });
1082
- * ```
1083
- *
1084
- * Or, equivalently using `async function`s:
1085
- *
1086
- * ```js
1087
- * import util from 'node:util';
1088
- * import fs from 'node:fs';
1089
- *
1090
- * const stat = util.promisify(fs.stat);
1091
- *
1092
- * async function callStat() {
1093
- * const stats = await stat('.');
1094
- * console.log(`This directory is owned by ${stats.uid}`);
1095
- * }
1096
- *
1097
- * callStat();
1098
- * ```
1099
- *
1100
- * If there is an `original[util.promisify.custom]` property present, `promisify` will return its value, see `Custom promisified functions`.
1101
- *
1102
- * `promisify()` assumes that `original` is a function taking a callback as its
1103
- * final argument in all cases. If `original` is not a function, `promisify()` will throw an error. If `original` is a function but its last argument is not
1104
- * an error-first callback, it will still be passed an error-first
1105
- * callback as its last argument.
1106
- *
1107
- * Using `promisify()` on class methods or other methods that use `this` may not
1108
- * work as expected unless handled specially:
1109
- *
1110
- * ```js
1111
- * import util from 'node:util';
1112
- *
1113
- * class Foo {
1114
- * constructor() {
1115
- * this.a = 42;
1116
- * }
1117
- *
1118
- * bar(callback) {
1119
- * callback(null, this.a);
1120
- * }
1121
- * }
1122
- *
1123
- * const foo = new Foo();
1124
- *
1125
- * const naiveBar = util.promisify(foo.bar);
1126
- * // TypeError: Cannot read property 'a' of undefined
1127
- * // naiveBar().then(a => console.log(a));
1128
- *
1129
- * naiveBar.call(foo).then((a) => console.log(a)); // '42'
1130
- *
1131
- * const bindBar = naiveBar.bind(foo);
1132
- * bindBar().then((a) => console.log(a)); // '42'
1133
- * ```
1134
- * @since v8.0.0
1135
- */
1136
- export function promisify<TCustom extends Function>(fn: CustomPromisify<TCustom>): TCustom;
1137
- export function promisify<TResult>(
1138
- fn: (callback: (err: any, result: TResult) => void) => void,
1139
- ): () => Promise<TResult>;
1140
- export function promisify(fn: (callback: (err?: any) => void) => void): () => Promise<void>;
1141
- export function promisify<T1, TResult>(
1142
- fn: (arg1: T1, callback: (err: any, result: TResult) => void) => void,
1143
- ): (arg1: T1) => Promise<TResult>;
1144
- export function promisify<T1>(fn: (arg1: T1, callback: (err?: any) => void) => void): (arg1: T1) => Promise<void>;
1145
- export function promisify<T1, T2, TResult>(
1146
- fn: (arg1: T1, arg2: T2, callback: (err: any, result: TResult) => void) => void,
1147
- ): (arg1: T1, arg2: T2) => Promise<TResult>;
1148
- export function promisify<T1, T2>(
1149
- fn: (arg1: T1, arg2: T2, callback: (err?: any) => void) => void,
1150
- ): (arg1: T1, arg2: T2) => Promise<void>;
1151
- export function promisify<T1, T2, T3, TResult>(
1152
- fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err: any, result: TResult) => void) => void,
1153
- ): (arg1: T1, arg2: T2, arg3: T3) => Promise<TResult>;
1154
- export function promisify<T1, T2, T3>(
1155
- fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err?: any) => void) => void,
1156
- ): (arg1: T1, arg2: T2, arg3: T3) => Promise<void>;
1157
- export function promisify<T1, T2, T3, T4, TResult>(
1158
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: any, result: TResult) => void) => void,
1159
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<TResult>;
1160
- export function promisify<T1, T2, T3, T4>(
1161
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err?: any) => void) => void,
1162
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<void>;
1163
- export function promisify<T1, T2, T3, T4, T5, TResult>(
1164
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: any, result: TResult) => void) => void,
1165
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<TResult>;
1166
- export function promisify<T1, T2, T3, T4, T5>(
1167
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err?: any) => void) => void,
1168
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<void>;
1169
- export function promisify(fn: Function): Function;
1170
- export namespace promisify {
1171
- /**
1172
- * That can be used to declare custom promisified variants of functions.
1173
- */
1174
- const custom: unique symbol;
1175
- }
1176
- /**
1177
- * Stability: 1.1 - Active development
1178
- * Given an example `.env` file:
1179
- *
1180
- * ```js
1181
- * import { parseEnv } from 'node:util';
1182
- *
1183
- * parseEnv('HELLO=world\nHELLO=oh my\n');
1184
- * // Returns: { HELLO: 'oh my' }
1185
- * ```
1186
- * @param content The raw contents of a `.env` file.
1187
- * @since v20.12.0
1188
- */
1189
- export function parseEnv(content: string): NodeJS.Dict<string>;
1190
- // https://nodejs.org/docs/latest/api/util.html#foreground-colors
1191
- type ForegroundColors =
1192
- | "black"
1193
- | "blackBright"
1194
- | "blue"
1195
- | "blueBright"
1196
- | "cyan"
1197
- | "cyanBright"
1198
- | "gray"
1199
- | "green"
1200
- | "greenBright"
1201
- | "grey"
1202
- | "magenta"
1203
- | "magentaBright"
1204
- | "red"
1205
- | "redBright"
1206
- | "white"
1207
- | "whiteBright"
1208
- | "yellow"
1209
- | "yellowBright";
1210
- // https://nodejs.org/docs/latest/api/util.html#background-colors
1211
- type BackgroundColors =
1212
- | "bgBlack"
1213
- | "bgBlackBright"
1214
- | "bgBlue"
1215
- | "bgBlueBright"
1216
- | "bgCyan"
1217
- | "bgCyanBright"
1218
- | "bgGray"
1219
- | "bgGreen"
1220
- | "bgGreenBright"
1221
- | "bgGrey"
1222
- | "bgMagenta"
1223
- | "bgMagentaBright"
1224
- | "bgRed"
1225
- | "bgRedBright"
1226
- | "bgWhite"
1227
- | "bgWhiteBright"
1228
- | "bgYellow"
1229
- | "bgYellowBright";
1230
- // https://nodejs.org/docs/latest/api/util.html#modifiers
1231
- type Modifiers =
1232
- | "blink"
1233
- | "bold"
1234
- | "dim"
1235
- | "doubleunderline"
1236
- | "framed"
1237
- | "hidden"
1238
- | "inverse"
1239
- | "italic"
1240
- | "overlined"
1241
- | "reset"
1242
- | "strikethrough"
1243
- | "underline";
1244
- export interface StyleTextOptions {
1245
- /**
1246
- * When true, `stream` is checked to see if it can handle colors.
1247
- * @default true
1248
- */
1249
- validateStream?: boolean | undefined;
1250
- /**
1251
- * A stream that will be validated if it can be colored.
1252
- * @default process.stdout
1253
- */
1254
- stream?: NodeJS.WritableStream | undefined;
1255
- }
1256
- /**
1257
- * Stability: 1.1 - Active development
1258
- *
1259
- * This function returns a formatted text considering the `format` passed.
1260
- *
1261
- * ```js
1262
- * import { styleText } from 'node:util';
1263
- * const errorMessage = styleText('red', 'Error! Error!');
1264
- * console.log(errorMessage);
1265
- * ```
1266
- *
1267
- * `util.inspect.colors` also provides text formats such as `italic`, and `underline` and you can combine both:
1268
- *
1269
- * ```js
1270
- * console.log(
1271
- * util.styleText(['underline', 'italic'], 'My italic underlined message'),
1272
- * );
1273
- * ```
1274
- *
1275
- * When passing an array of formats, the order of the format applied is left to right so the following style
1276
- * might overwrite the previous one.
1277
- *
1278
- * ```js
1279
- * console.log(
1280
- * util.styleText(['red', 'green'], 'text'), // green
1281
- * );
1282
- * ```
1283
- *
1284
- * The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v20.x/api/util.html#modifiers).
1285
- * @param format A text format or an Array of text formats defined in `util.inspect.colors`.
1286
- * @param text The text to to be formatted.
1287
- * @since v20.12.0
1288
- */
1289
- export function styleText(
1290
- format:
1291
- | ForegroundColors
1292
- | BackgroundColors
1293
- | Modifiers
1294
- | Array<ForegroundColors | BackgroundColors | Modifiers>,
1295
- text: string,
1296
- options?: StyleTextOptions,
1297
- ): string;
1298
- /**
1299
- * An implementation of the [WHATWG Encoding Standard](https://encoding.spec.whatwg.org/) `TextDecoder` API.
1300
- *
1301
- * ```js
1302
- * const decoder = new TextDecoder();
1303
- * const u8arr = new Uint8Array([72, 101, 108, 108, 111]);
1304
- * console.log(decoder.decode(u8arr)); // Hello
1305
- * ```
1306
- * @since v8.3.0
1307
- */
1308
- export class TextDecoder {
1309
- /**
1310
- * The encoding supported by the `TextDecoder` instance.
1311
- */
1312
- readonly encoding: string;
1313
- /**
1314
- * The value will be `true` if decoding errors result in a `TypeError` being
1315
- * thrown.
1316
- */
1317
- readonly fatal: boolean;
1318
- /**
1319
- * The value will be `true` if the decoding result will include the byte order
1320
- * mark.
1321
- */
1322
- readonly ignoreBOM: boolean;
1323
- constructor(
1324
- encoding?: string,
1325
- options?: {
1326
- fatal?: boolean | undefined;
1327
- ignoreBOM?: boolean | undefined;
1328
- },
1329
- );
1330
- /**
1331
- * Decodes the `input` and returns a string. If `options.stream` is `true`, any
1332
- * incomplete byte sequences occurring at the end of the `input` are buffered
1333
- * internally and emitted after the next call to `textDecoder.decode()`.
1334
- *
1335
- * If `textDecoder.fatal` is `true`, decoding errors that occur will result in a `TypeError` being thrown.
1336
- * @param input An `ArrayBuffer`, `DataView`, or `TypedArray` instance containing the encoded data.
1337
- */
1338
- decode(
1339
- input?: NodeJS.ArrayBufferView | ArrayBuffer | null,
1340
- options?: {
1341
- stream?: boolean | undefined;
1342
- },
1343
- ): string;
1344
- }
1345
- export interface EncodeIntoResult {
1346
- /**
1347
- * The read Unicode code units of input.
1348
- */
1349
- read: number;
1350
- /**
1351
- * The written UTF-8 bytes of output.
1352
- */
1353
- written: number;
1354
- }
1355
- export { types };
1356
-
1357
- //// TextEncoder/Decoder
1358
- /**
1359
- * An implementation of the [WHATWG Encoding Standard](https://encoding.spec.whatwg.org/) `TextEncoder` API. All
1360
- * instances of `TextEncoder` only support UTF-8 encoding.
1361
- *
1362
- * ```js
1363
- * const encoder = new TextEncoder();
1364
- * const uint8array = encoder.encode('this is some data');
1365
- * ```
1366
- *
1367
- * The `TextEncoder` class is also available on the global object.
1368
- * @since v8.3.0
1369
- */
1370
- export class TextEncoder {
1371
- /**
1372
- * The encoding supported by the `TextEncoder` instance. Always set to `'utf-8'`.
1373
- */
1374
- readonly encoding: string;
1375
- /**
1376
- * UTF-8 encodes the `input` string and returns a `Uint8Array` containing the
1377
- * encoded bytes.
1378
- * @param [input='an empty string'] The text to encode.
1379
- */
1380
- encode(input?: string): NodeJS.NonSharedUint8Array;
1381
- /**
1382
- * UTF-8 encodes the `src` string to the `dest` Uint8Array and returns an object
1383
- * containing the read Unicode code units and written UTF-8 bytes.
1384
- *
1385
- * ```js
1386
- * const encoder = new TextEncoder();
1387
- * const src = 'this is some data';
1388
- * const dest = new Uint8Array(10);
1389
- * const { read, written } = encoder.encodeInto(src, dest);
1390
- * ```
1391
- * @param src The text to encode.
1392
- * @param dest The array to hold the encode result.
1393
- */
1394
- encodeInto(src: string, dest: Uint8Array): EncodeIntoResult;
1395
- }
1396
- import { TextDecoder as _TextDecoder, TextEncoder as _TextEncoder } from "util";
1397
- global {
1398
- /**
1399
- * `TextDecoder` class is a global reference for `import { TextDecoder } from 'node:util'`
1400
- * https://nodejs.org/api/globals.html#textdecoder
1401
- * @since v11.0.0
1402
- */
1403
- var TextDecoder: typeof globalThis extends {
1404
- onmessage: any;
1405
- TextDecoder: infer TextDecoder;
1406
- } ? TextDecoder
1407
- : typeof _TextDecoder;
1408
- /**
1409
- * `TextEncoder` class is a global reference for `import { TextEncoder } from 'node:util'`
1410
- * https://nodejs.org/api/globals.html#textencoder
1411
- * @since v11.0.0
1412
- */
1413
- var TextEncoder: typeof globalThis extends {
1414
- onmessage: any;
1415
- TextEncoder: infer TextEncoder;
1416
- } ? TextEncoder
1417
- : typeof _TextEncoder;
1418
- }
1419
-
1420
- //// parseArgs
1421
- /**
1422
- * Provides a higher level API for command-line argument parsing than interacting
1423
- * with `process.argv` directly. Takes a specification for the expected arguments
1424
- * and returns a structured object with the parsed options and positionals.
1425
- *
1426
- * ```js
1427
- * import { parseArgs } from 'node:util';
1428
- * const args = ['-f', '--bar', 'b'];
1429
- * const options = {
1430
- * foo: {
1431
- * type: 'boolean',
1432
- * short: 'f',
1433
- * },
1434
- * bar: {
1435
- * type: 'string',
1436
- * },
1437
- * };
1438
- * const {
1439
- * values,
1440
- * positionals,
1441
- * } = parseArgs({ args, options });
1442
- * console.log(values, positionals);
1443
- * // Prints: [Object: null prototype] { foo: true, bar: 'b' } []
1444
- * ```
1445
- * @since v18.3.0, v16.17.0
1446
- * @param config Used to provide arguments for parsing and to configure the parser. `config` supports the following properties:
1447
- * @return The parsed command line arguments:
1448
- */
1449
- export function parseArgs<T extends ParseArgsConfig>(config?: T): ParsedResults<T>;
1450
- interface ParseArgsOptionConfig {
1451
- /**
1452
- * Type of argument.
1453
- */
1454
- type: "string" | "boolean";
1455
- /**
1456
- * Whether this option can be provided multiple times.
1457
- * If `true`, all values will be collected in an array.
1458
- * If `false`, values for the option are last-wins.
1459
- * @default false.
1460
- */
1461
- multiple?: boolean | undefined;
1462
- /**
1463
- * A single character alias for the option.
1464
- */
1465
- short?: string | undefined;
1466
- /**
1467
- * The default option value when it is not set by args.
1468
- * It must be of the same type as the the `type` property.
1469
- * When `multiple` is `true`, it must be an array.
1470
- * @since v18.11.0
1471
- */
1472
- default?: string | boolean | string[] | boolean[] | undefined;
1473
- }
1474
- interface ParseArgsOptionsConfig {
1475
- [longOption: string]: ParseArgsOptionConfig;
1476
- }
1477
- export interface ParseArgsConfig {
1478
- /**
1479
- * Array of argument strings.
1480
- */
1481
- args?: readonly string[] | undefined;
1482
- /**
1483
- * Used to describe arguments known to the parser.
1484
- */
1485
- options?: ParseArgsOptionsConfig | undefined;
1486
- /**
1487
- * Should an error be thrown when unknown arguments are encountered,
1488
- * or when arguments are passed that do not match the `type` configured in `options`.
1489
- * @default true
1490
- */
1491
- strict?: boolean | undefined;
1492
- /**
1493
- * Whether this command accepts positional arguments.
1494
- */
1495
- allowPositionals?: boolean | undefined;
1496
- /**
1497
- * If `true`, allows explicitly setting boolean options to `false` by prefixing the option name with `--no-`.
1498
- * @default false
1499
- * @since v20.16.0
1500
- */
1501
- allowNegative?: boolean | undefined;
1502
- /**
1503
- * Return the parsed tokens. This is useful for extending the built-in behavior,
1504
- * from adding additional checks through to reprocessing the tokens in different ways.
1505
- * @default false
1506
- */
1507
- tokens?: boolean | undefined;
1508
- }
1509
- /*
1510
- IfDefaultsTrue and IfDefaultsFalse are helpers to handle default values for missing boolean properties.
1511
- TypeScript does not have exact types for objects: https://github.com/microsoft/TypeScript/issues/12936
1512
- This means it is impossible to distinguish between "field X is definitely not present" and "field X may or may not be present".
1513
- But we expect users to generally provide their config inline or `as const`, which means TS will always know whether a given field is present.
1514
- So this helper treats "not definitely present" (i.e., not `extends boolean`) as being "definitely not present", i.e. it should have its default value.
1515
- This is technically incorrect but is a much nicer UX for the common case.
1516
- The IfDefaultsTrue version is for things which default to true; the IfDefaultsFalse version is for things which default to false.
1517
- */
1518
- type IfDefaultsTrue<T, IfTrue, IfFalse> = T extends true ? IfTrue
1519
- : T extends false ? IfFalse
1520
- : IfTrue;
1521
-
1522
- // we put the `extends false` condition first here because `undefined` compares like `any` when `strictNullChecks: false`
1523
- type IfDefaultsFalse<T, IfTrue, IfFalse> = T extends false ? IfFalse
1524
- : T extends true ? IfTrue
1525
- : IfFalse;
1526
-
1527
- type ExtractOptionValue<T extends ParseArgsConfig, O extends ParseArgsOptionConfig> = IfDefaultsTrue<
1528
- T["strict"],
1529
- O["type"] extends "string" ? string : O["type"] extends "boolean" ? boolean : string | boolean,
1530
- string | boolean
1531
- >;
1532
-
1533
- type ApplyOptionalModifiers<O extends ParseArgsOptionsConfig, V extends Record<keyof O, unknown>> = (
1534
- & { -readonly [LongOption in keyof O]?: V[LongOption] }
1535
- & { [LongOption in keyof O as O[LongOption]["default"] extends {} ? LongOption : never]: V[LongOption] }
1536
- ) extends infer P ? { [K in keyof P]: P[K] } : never; // resolve intersection to object
1537
-
1538
- type ParsedValues<T extends ParseArgsConfig> =
1539
- & IfDefaultsTrue<T["strict"], unknown, { [longOption: string]: undefined | string | boolean }>
1540
- & (T["options"] extends ParseArgsOptionsConfig ? ApplyOptionalModifiers<
1541
- T["options"],
1542
- {
1543
- [LongOption in keyof T["options"]]: IfDefaultsFalse<
1544
- T["options"][LongOption]["multiple"],
1545
- Array<ExtractOptionValue<T, T["options"][LongOption]>>,
1546
- ExtractOptionValue<T, T["options"][LongOption]>
1547
- >;
1548
- }
1549
- >
1550
- : {});
1551
-
1552
- type ParsedPositionals<T extends ParseArgsConfig> = IfDefaultsTrue<
1553
- T["strict"],
1554
- IfDefaultsFalse<T["allowPositionals"], string[], []>,
1555
- IfDefaultsTrue<T["allowPositionals"], string[], []>
1556
- >;
1557
-
1558
- type PreciseTokenForOptions<
1559
- K extends string,
1560
- O extends ParseArgsOptionConfig,
1561
- > = O["type"] extends "string" ? {
1562
- kind: "option";
1563
- index: number;
1564
- name: K;
1565
- rawName: string;
1566
- value: string;
1567
- inlineValue: boolean;
1568
- }
1569
- : O["type"] extends "boolean" ? {
1570
- kind: "option";
1571
- index: number;
1572
- name: K;
1573
- rawName: string;
1574
- value: undefined;
1575
- inlineValue: undefined;
1576
- }
1577
- : OptionToken & { name: K };
1578
-
1579
- type TokenForOptions<
1580
- T extends ParseArgsConfig,
1581
- K extends keyof T["options"] = keyof T["options"],
1582
- > = K extends unknown
1583
- ? T["options"] extends ParseArgsOptionsConfig ? PreciseTokenForOptions<K & string, T["options"][K]>
1584
- : OptionToken
1585
- : never;
1586
-
1587
- type ParsedOptionToken<T extends ParseArgsConfig> = IfDefaultsTrue<T["strict"], TokenForOptions<T>, OptionToken>;
1588
-
1589
- type ParsedPositionalToken<T extends ParseArgsConfig> = IfDefaultsTrue<
1590
- T["strict"],
1591
- IfDefaultsFalse<T["allowPositionals"], { kind: "positional"; index: number; value: string }, never>,
1592
- IfDefaultsTrue<T["allowPositionals"], { kind: "positional"; index: number; value: string }, never>
1593
- >;
1594
-
1595
- type ParsedTokens<T extends ParseArgsConfig> = Array<
1596
- ParsedOptionToken<T> | ParsedPositionalToken<T> | { kind: "option-terminator"; index: number }
1597
- >;
1598
-
1599
- type PreciseParsedResults<T extends ParseArgsConfig> = IfDefaultsFalse<
1600
- T["tokens"],
1601
- {
1602
- values: ParsedValues<T>;
1603
- positionals: ParsedPositionals<T>;
1604
- tokens: ParsedTokens<T>;
1605
- },
1606
- {
1607
- values: ParsedValues<T>;
1608
- positionals: ParsedPositionals<T>;
1609
- }
1610
- >;
1611
-
1612
- type OptionToken =
1613
- | { kind: "option"; index: number; name: string; rawName: string; value: string; inlineValue: boolean }
1614
- | {
1615
- kind: "option";
1616
- index: number;
1617
- name: string;
1618
- rawName: string;
1619
- value: undefined;
1620
- inlineValue: undefined;
1621
- };
1622
-
1623
- type Token =
1624
- | OptionToken
1625
- | { kind: "positional"; index: number; value: string }
1626
- | { kind: "option-terminator"; index: number };
1627
-
1628
- // If ParseArgsConfig extends T, then the user passed config constructed elsewhere.
1629
- // So we can't rely on the `"not definitely present" implies "definitely not present"` assumption mentioned above.
1630
- type ParsedResults<T extends ParseArgsConfig> = ParseArgsConfig extends T ? {
1631
- values: {
1632
- [longOption: string]: undefined | string | boolean | Array<string | boolean>;
1633
- };
1634
- positionals: string[];
1635
- tokens?: Token[];
1636
- }
1637
- : PreciseParsedResults<T>;
1638
-
1639
- /**
1640
- * An implementation of [the MIMEType class](https://bmeck.github.io/node-proposal-mime-api/).
1641
- *
1642
- * In accordance with browser conventions, all properties of `MIMEType` objects
1643
- * are implemented as getters and setters on the class prototype, rather than as
1644
- * data properties on the object itself.
1645
- *
1646
- * A MIME string is a structured string containing multiple meaningful
1647
- * components. When parsed, a `MIMEType` object is returned containing
1648
- * properties for each of these components.
1649
- * @since v19.1.0, v18.13.0
1650
- * @experimental
1651
- */
1652
- export class MIMEType {
1653
- /**
1654
- * Creates a new MIMEType object by parsing the input.
1655
- *
1656
- * A `TypeError` will be thrown if the `input` is not a valid MIME.
1657
- * Note that an effort will be made to coerce the given values into strings.
1658
- * @param input The input MIME to parse.
1659
- */
1660
- constructor(input: string | { toString: () => string });
1661
-
1662
- /**
1663
- * Gets and sets the type portion of the MIME.
1664
- *
1665
- * ```js
1666
- * import { MIMEType } from 'node:util';
1667
- *
1668
- * const myMIME = new MIMEType('text/javascript');
1669
- * console.log(myMIME.type);
1670
- * // Prints: text
1671
- * myMIME.type = 'application';
1672
- * console.log(myMIME.type);
1673
- * // Prints: application
1674
- * console.log(String(myMIME));
1675
- * // Prints: application/javascript
1676
- * ```
1677
- */
1678
- type: string;
1679
- /**
1680
- * Gets and sets the subtype portion of the MIME.
1681
- *
1682
- * ```js
1683
- * import { MIMEType } from 'node:util';
1684
- *
1685
- * const myMIME = new MIMEType('text/ecmascript');
1686
- * console.log(myMIME.subtype);
1687
- * // Prints: ecmascript
1688
- * myMIME.subtype = 'javascript';
1689
- * console.log(myMIME.subtype);
1690
- * // Prints: javascript
1691
- * console.log(String(myMIME));
1692
- * // Prints: text/javascript
1693
- * ```
1694
- */
1695
- subtype: string;
1696
- /**
1697
- * Gets the essence of the MIME. This property is read only.
1698
- * Use `mime.type` or `mime.subtype` to alter the MIME.
1699
- *
1700
- * ```js
1701
- * import { MIMEType } from 'node:util';
1702
- *
1703
- * const myMIME = new MIMEType('text/javascript;key=value');
1704
- * console.log(myMIME.essence);
1705
- * // Prints: text/javascript
1706
- * myMIME.type = 'application';
1707
- * console.log(myMIME.essence);
1708
- * // Prints: application/javascript
1709
- * console.log(String(myMIME));
1710
- * // Prints: application/javascript;key=value
1711
- * ```
1712
- */
1713
- readonly essence: string;
1714
- /**
1715
- * Gets the `MIMEParams` object representing the
1716
- * parameters of the MIME. This property is read-only. See `MIMEParams` documentation for details.
1717
- */
1718
- readonly params: MIMEParams;
1719
- /**
1720
- * The `toString()` method on the `MIMEType` object returns the serialized MIME.
1721
- *
1722
- * Because of the need for standard compliance, this method does not allow users
1723
- * to customize the serialization process of the MIME.
1724
- */
1725
- toString(): string;
1726
- }
1727
- /**
1728
- * The `MIMEParams` API provides read and write access to the parameters of a `MIMEType`.
1729
- * @since v19.1.0, v18.13.0
1730
- */
1731
- export class MIMEParams {
1732
- /**
1733
- * Remove all name-value pairs whose name is `name`.
1734
- */
1735
- delete(name: string): void;
1736
- /**
1737
- * Returns an iterator over each of the name-value pairs in the parameters.
1738
- * Each item of the iterator is a JavaScript `Array`. The first item of the array
1739
- * is the `name`, the second item of the array is the `value`.
1740
- */
1741
- entries(): NodeJS.Iterator<[name: string, value: string]>;
1742
- /**
1743
- * Returns the value of the first name-value pair whose name is `name`. If there
1744
- * are no such pairs, `null` is returned.
1745
- * @return or `null` if there is no name-value pair with the given `name`.
1746
- */
1747
- get(name: string): string | null;
1748
- /**
1749
- * Returns `true` if there is at least one name-value pair whose name is `name`.
1750
- */
1751
- has(name: string): boolean;
1752
- /**
1753
- * Returns an iterator over the names of each name-value pair.
1754
- *
1755
- * ```js
1756
- * import { MIMEType } from 'node:util';
1757
- *
1758
- * const { params } = new MIMEType('text/plain;foo=0;bar=1');
1759
- * for (const name of params.keys()) {
1760
- * console.log(name);
1761
- * }
1762
- * // Prints:
1763
- * // foo
1764
- * // bar
1765
- * ```
1766
- */
1767
- keys(): NodeJS.Iterator<string>;
1768
- /**
1769
- * Sets the value in the `MIMEParams` object associated with `name` to `value`. If there are any pre-existing name-value pairs whose names are `name`,
1770
- * set the first such pair's value to `value`.
1771
- *
1772
- * ```js
1773
- * import { MIMEType } from 'node:util';
1774
- *
1775
- * const { params } = new MIMEType('text/plain;foo=0;bar=1');
1776
- * params.set('foo', 'def');
1777
- * params.set('baz', 'xyz');
1778
- * console.log(params.toString());
1779
- * // Prints: foo=def;bar=1;baz=xyz
1780
- * ```
1781
- */
1782
- set(name: string, value: string): void;
1783
- /**
1784
- * Returns an iterator over the values of each name-value pair.
1785
- */
1786
- values(): NodeJS.Iterator<string>;
1787
- /**
1788
- * Returns an iterator over each of the name-value pairs in the parameters.
1789
- */
1790
- [Symbol.iterator](): NodeJS.Iterator<[name: string, value: string]>;
1791
- }
1792
- }
1793
- declare module "util/types" {
1794
- import { KeyObject, webcrypto } from "node:crypto";
1795
- /**
1796
- * Returns `true` if the value is a built-in [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) or
1797
- * [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instance.
1798
- *
1799
- * See also `util.types.isArrayBuffer()` and `util.types.isSharedArrayBuffer()`.
1800
- *
1801
- * ```js
1802
- * util.types.isAnyArrayBuffer(new ArrayBuffer()); // Returns true
1803
- * util.types.isAnyArrayBuffer(new SharedArrayBuffer()); // Returns true
1804
- * ```
1805
- * @since v10.0.0
1806
- */
1807
- function isAnyArrayBuffer(object: unknown): object is ArrayBufferLike;
1808
- /**
1809
- * Returns `true` if the value is an `arguments` object.
1810
- *
1811
- * ```js
1812
- * function foo() {
1813
- * util.types.isArgumentsObject(arguments); // Returns true
1814
- * }
1815
- * ```
1816
- * @since v10.0.0
1817
- */
1818
- function isArgumentsObject(object: unknown): object is IArguments;
1819
- /**
1820
- * Returns `true` if the value is a built-in [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) instance.
1821
- * This does _not_ include [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instances. Usually, it is
1822
- * desirable to test for both; See `util.types.isAnyArrayBuffer()` for that.
1823
- *
1824
- * ```js
1825
- * util.types.isArrayBuffer(new ArrayBuffer()); // Returns true
1826
- * util.types.isArrayBuffer(new SharedArrayBuffer()); // Returns false
1827
- * ```
1828
- * @since v10.0.0
1829
- */
1830
- function isArrayBuffer(object: unknown): object is ArrayBuffer;
1831
- /**
1832
- * Returns `true` if the value is an instance of one of the [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) views, such as typed
1833
- * array objects or [`DataView`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView). Equivalent to
1834
- * [`ArrayBuffer.isView()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView).
1835
- *
1836
- * ```js
1837
- * util.types.isArrayBufferView(new Int8Array()); // true
1838
- * util.types.isArrayBufferView(Buffer.from('hello world')); // true
1839
- * util.types.isArrayBufferView(new DataView(new ArrayBuffer(16))); // true
1840
- * util.types.isArrayBufferView(new ArrayBuffer()); // false
1841
- * ```
1842
- * @since v10.0.0
1843
- */
1844
- function isArrayBufferView(object: unknown): object is NodeJS.ArrayBufferView;
1845
- /**
1846
- * Returns `true` if the value is an [async function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function).
1847
- * This only reports back what the JavaScript engine is seeing;
1848
- * in particular, the return value may not match the original source code if
1849
- * a transpilation tool was used.
1850
- *
1851
- * ```js
1852
- * util.types.isAsyncFunction(function foo() {}); // Returns false
1853
- * util.types.isAsyncFunction(async function foo() {}); // Returns true
1854
- * ```
1855
- * @since v10.0.0
1856
- */
1857
- function isAsyncFunction(object: unknown): boolean;
1858
- /**
1859
- * Returns `true` if the value is a `BigInt64Array` instance.
1860
- *
1861
- * ```js
1862
- * util.types.isBigInt64Array(new BigInt64Array()); // Returns true
1863
- * util.types.isBigInt64Array(new BigUint64Array()); // Returns false
1864
- * ```
1865
- * @since v10.0.0
1866
- */
1867
- function isBigInt64Array(value: unknown): value is BigInt64Array;
1868
- /**
1869
- * Returns `true` if the value is a BigInt object, e.g. created
1870
- * by `Object(BigInt(123))`.
1871
- *
1872
- * ```js
1873
- * util.types.isBigIntObject(Object(BigInt(123))); // Returns true
1874
- * util.types.isBigIntObject(BigInt(123)); // Returns false
1875
- * util.types.isBigIntObject(123); // Returns false
1876
- * ```
1877
- * @since v10.4.0
1878
- */
1879
- function isBigIntObject(object: unknown): object is BigInt;
1880
- /**
1881
- * Returns `true` if the value is a `BigUint64Array` instance.
1882
- *
1883
- * ```js
1884
- * util.types.isBigUint64Array(new BigInt64Array()); // Returns false
1885
- * util.types.isBigUint64Array(new BigUint64Array()); // Returns true
1886
- * ```
1887
- * @since v10.0.0
1888
- */
1889
- function isBigUint64Array(value: unknown): value is BigUint64Array;
1890
- /**
1891
- * Returns `true` if the value is a boolean object, e.g. created
1892
- * by `new Boolean()`.
1893
- *
1894
- * ```js
1895
- * util.types.isBooleanObject(false); // Returns false
1896
- * util.types.isBooleanObject(true); // Returns false
1897
- * util.types.isBooleanObject(new Boolean(false)); // Returns true
1898
- * util.types.isBooleanObject(new Boolean(true)); // Returns true
1899
- * util.types.isBooleanObject(Boolean(false)); // Returns false
1900
- * util.types.isBooleanObject(Boolean(true)); // Returns false
1901
- * ```
1902
- * @since v10.0.0
1903
- */
1904
- function isBooleanObject(object: unknown): object is Boolean;
1905
- /**
1906
- * Returns `true` if the value is any boxed primitive object, e.g. created
1907
- * by `new Boolean()`, `new String()` or `Object(Symbol())`.
1908
- *
1909
- * For example:
1910
- *
1911
- * ```js
1912
- * util.types.isBoxedPrimitive(false); // Returns false
1913
- * util.types.isBoxedPrimitive(new Boolean(false)); // Returns true
1914
- * util.types.isBoxedPrimitive(Symbol('foo')); // Returns false
1915
- * util.types.isBoxedPrimitive(Object(Symbol('foo'))); // Returns true
1916
- * util.types.isBoxedPrimitive(Object(BigInt(5))); // Returns true
1917
- * ```
1918
- * @since v10.11.0
1919
- */
1920
- function isBoxedPrimitive(object: unknown): object is String | Number | BigInt | Boolean | Symbol;
1921
- /**
1922
- * Returns `true` if the value is a built-in [`DataView`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView) instance.
1923
- *
1924
- * ```js
1925
- * const ab = new ArrayBuffer(20);
1926
- * util.types.isDataView(new DataView(ab)); // Returns true
1927
- * util.types.isDataView(new Float64Array()); // Returns false
1928
- * ```
1929
- *
1930
- * See also [`ArrayBuffer.isView()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView).
1931
- * @since v10.0.0
1932
- */
1933
- function isDataView(object: unknown): object is DataView;
1934
- /**
1935
- * Returns `true` if the value is a built-in [`Date`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
1936
- *
1937
- * ```js
1938
- * util.types.isDate(new Date()); // Returns true
1939
- * ```
1940
- * @since v10.0.0
1941
- */
1942
- function isDate(object: unknown): object is Date;
1943
- /**
1944
- * Returns `true` if the value is a native `External` value.
1945
- *
1946
- * A native `External` value is a special type of object that contains a
1947
- * raw C++ pointer (`void*`) for access from native code, and has no other
1948
- * properties. Such objects are created either by Node.js internals or native
1949
- * addons. In JavaScript, they are [frozen](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze) objects with a`null` prototype.
1950
- *
1951
- * ```c
1952
- * #include <js_native_api.h>
1953
- * #include <stdlib.h>
1954
- * napi_value result;
1955
- * static napi_value MyNapi(napi_env env, napi_callback_info info) {
1956
- * int* raw = (int*) malloc(1024);
1957
- * napi_status status = napi_create_external(env, (void*) raw, NULL, NULL, &#x26;result);
1958
- * if (status != napi_ok) {
1959
- * napi_throw_error(env, NULL, "napi_create_external failed");
1960
- * return NULL;
1961
- * }
1962
- * return result;
1963
- * }
1964
- * ...
1965
- * DECLARE_NAPI_PROPERTY("myNapi", MyNapi)
1966
- * ...
1967
- * ```
1968
- *
1969
- * ```js
1970
- * const native =require('napi_addon.node');
1971
- * const data = native.myNapi();
1972
- * util.types.isExternal(data); // returns true
1973
- * util.types.isExternal(0); // returns false
1974
- * util.types.isExternal(new String('foo')); // returns false
1975
- * ```
1976
- *
1977
- * For further information on `napi_create_external`, refer to `napi_create_external()`.
1978
- * @since v10.0.0
1979
- */
1980
- function isExternal(object: unknown): boolean;
1981
- /**
1982
- * Returns `true` if the value is a built-in [`Float32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array) instance.
1983
- *
1984
- * ```js
1985
- * util.types.isFloat32Array(new ArrayBuffer()); // Returns false
1986
- * util.types.isFloat32Array(new Float32Array()); // Returns true
1987
- * util.types.isFloat32Array(new Float64Array()); // Returns false
1988
- * ```
1989
- * @since v10.0.0
1990
- */
1991
- function isFloat32Array(object: unknown): object is Float32Array;
1992
- /**
1993
- * Returns `true` if the value is a built-in [`Float64Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array) instance.
1994
- *
1995
- * ```js
1996
- * util.types.isFloat64Array(new ArrayBuffer()); // Returns false
1997
- * util.types.isFloat64Array(new Uint8Array()); // Returns false
1998
- * util.types.isFloat64Array(new Float64Array()); // Returns true
1999
- * ```
2000
- * @since v10.0.0
2001
- */
2002
- function isFloat64Array(object: unknown): object is Float64Array;
2003
- /**
2004
- * Returns `true` if the value is a generator function.
2005
- * This only reports back what the JavaScript engine is seeing;
2006
- * in particular, the return value may not match the original source code if
2007
- * a transpilation tool was used.
2008
- *
2009
- * ```js
2010
- * util.types.isGeneratorFunction(function foo() {}); // Returns false
2011
- * util.types.isGeneratorFunction(function* foo() {}); // Returns true
2012
- * ```
2013
- * @since v10.0.0
2014
- */
2015
- function isGeneratorFunction(object: unknown): object is GeneratorFunction;
2016
- /**
2017
- * Returns `true` if the value is a generator object as returned from a
2018
- * built-in generator function.
2019
- * This only reports back what the JavaScript engine is seeing;
2020
- * in particular, the return value may not match the original source code if
2021
- * a transpilation tool was used.
2022
- *
2023
- * ```js
2024
- * function* foo() {}
2025
- * const generator = foo();
2026
- * util.types.isGeneratorObject(generator); // Returns true
2027
- * ```
2028
- * @since v10.0.0
2029
- */
2030
- function isGeneratorObject(object: unknown): object is Generator;
2031
- /**
2032
- * Returns `true` if the value is a built-in [`Int8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array) instance.
2033
- *
2034
- * ```js
2035
- * util.types.isInt8Array(new ArrayBuffer()); // Returns false
2036
- * util.types.isInt8Array(new Int8Array()); // Returns true
2037
- * util.types.isInt8Array(new Float64Array()); // Returns false
2038
- * ```
2039
- * @since v10.0.0
2040
- */
2041
- function isInt8Array(object: unknown): object is Int8Array;
2042
- /**
2043
- * Returns `true` if the value is a built-in [`Int16Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array) instance.
2044
- *
2045
- * ```js
2046
- * util.types.isInt16Array(new ArrayBuffer()); // Returns false
2047
- * util.types.isInt16Array(new Int16Array()); // Returns true
2048
- * util.types.isInt16Array(new Float64Array()); // Returns false
2049
- * ```
2050
- * @since v10.0.0
2051
- */
2052
- function isInt16Array(object: unknown): object is Int16Array;
2053
- /**
2054
- * Returns `true` if the value is a built-in [`Int32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array) instance.
2055
- *
2056
- * ```js
2057
- * util.types.isInt32Array(new ArrayBuffer()); // Returns false
2058
- * util.types.isInt32Array(new Int32Array()); // Returns true
2059
- * util.types.isInt32Array(new Float64Array()); // Returns false
2060
- * ```
2061
- * @since v10.0.0
2062
- */
2063
- function isInt32Array(object: unknown): object is Int32Array;
2064
- /**
2065
- * Returns `true` if the value is a built-in [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) instance.
2066
- *
2067
- * ```js
2068
- * util.types.isMap(new Map()); // Returns true
2069
- * ```
2070
- * @since v10.0.0
2071
- */
2072
- function isMap<T>(
2073
- object: T | {},
2074
- ): object is T extends ReadonlyMap<any, any> ? (unknown extends T ? never : ReadonlyMap<any, any>)
2075
- : Map<unknown, unknown>;
2076
- /**
2077
- * Returns `true` if the value is an iterator returned for a built-in [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) instance.
2078
- *
2079
- * ```js
2080
- * const map = new Map();
2081
- * util.types.isMapIterator(map.keys()); // Returns true
2082
- * util.types.isMapIterator(map.values()); // Returns true
2083
- * util.types.isMapIterator(map.entries()); // Returns true
2084
- * util.types.isMapIterator(map[Symbol.iterator]()); // Returns true
2085
- * ```
2086
- * @since v10.0.0
2087
- */
2088
- function isMapIterator(object: unknown): boolean;
2089
- /**
2090
- * Returns `true` if the value is an instance of a [Module Namespace Object](https://tc39.github.io/ecma262/#sec-module-namespace-exotic-objects).
2091
- *
2092
- * ```js
2093
- * import * as ns from './a.js';
2094
- *
2095
- * util.types.isModuleNamespaceObject(ns); // Returns true
2096
- * ```
2097
- * @since v10.0.0
2098
- */
2099
- function isModuleNamespaceObject(value: unknown): boolean;
2100
- /**
2101
- * Returns `true` if the value was returned by the constructor of a [built-in `Error` type](https://tc39.es/ecma262/#sec-error-objects).
2102
- *
2103
- * ```js
2104
- * console.log(util.types.isNativeError(new Error())); // true
2105
- * console.log(util.types.isNativeError(new TypeError())); // true
2106
- * console.log(util.types.isNativeError(new RangeError())); // true
2107
- * ```
2108
- *
2109
- * Subclasses of the native error types are also native errors:
2110
- *
2111
- * ```js
2112
- * class MyError extends Error {}
2113
- * console.log(util.types.isNativeError(new MyError())); // true
2114
- * ```
2115
- *
2116
- * A value being `instanceof` a native error class is not equivalent to `isNativeError()` returning `true` for that value. `isNativeError()` returns `true` for errors
2117
- * which come from a different [realm](https://tc39.es/ecma262/#realm) while `instanceof Error` returns `false` for these errors:
2118
- *
2119
- * ```js
2120
- * import vm from 'node:vm';
2121
- * const context = vm.createContext({});
2122
- * const myError = vm.runInContext('new Error()', context);
2123
- * console.log(util.types.isNativeError(myError)); // true
2124
- * console.log(myError instanceof Error); // false
2125
- * ```
2126
- *
2127
- * Conversely, `isNativeError()` returns `false` for all objects which were not
2128
- * returned by the constructor of a native error. That includes values
2129
- * which are `instanceof` native errors:
2130
- *
2131
- * ```js
2132
- * const myError = { __proto__: Error.prototype };
2133
- * console.log(util.types.isNativeError(myError)); // false
2134
- * console.log(myError instanceof Error); // true
2135
- * ```
2136
- * @since v10.0.0
2137
- */
2138
- function isNativeError(object: unknown): object is Error;
2139
- /**
2140
- * Returns `true` if the value is a number object, e.g. created
2141
- * by `new Number()`.
2142
- *
2143
- * ```js
2144
- * util.types.isNumberObject(0); // Returns false
2145
- * util.types.isNumberObject(new Number(0)); // Returns true
2146
- * ```
2147
- * @since v10.0.0
2148
- */
2149
- function isNumberObject(object: unknown): object is Number;
2150
- /**
2151
- * Returns `true` if the value is a built-in [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise).
2152
- *
2153
- * ```js
2154
- * util.types.isPromise(Promise.resolve(42)); // Returns true
2155
- * ```
2156
- * @since v10.0.0
2157
- */
2158
- function isPromise(object: unknown): object is Promise<unknown>;
2159
- /**
2160
- * Returns `true` if the value is a [`Proxy`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) instance.
2161
- *
2162
- * ```js
2163
- * const target = {};
2164
- * const proxy = new Proxy(target, {});
2165
- * util.types.isProxy(target); // Returns false
2166
- * util.types.isProxy(proxy); // Returns true
2167
- * ```
2168
- * @since v10.0.0
2169
- */
2170
- function isProxy(object: unknown): boolean;
2171
- /**
2172
- * Returns `true` if the value is a regular expression object.
2173
- *
2174
- * ```js
2175
- * util.types.isRegExp(/abc/); // Returns true
2176
- * util.types.isRegExp(new RegExp('abc')); // Returns true
2177
- * ```
2178
- * @since v10.0.0
2179
- */
2180
- function isRegExp(object: unknown): object is RegExp;
2181
- /**
2182
- * Returns `true` if the value is a built-in [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instance.
2183
- *
2184
- * ```js
2185
- * util.types.isSet(new Set()); // Returns true
2186
- * ```
2187
- * @since v10.0.0
2188
- */
2189
- function isSet<T>(
2190
- object: T | {},
2191
- ): object is T extends ReadonlySet<any> ? (unknown extends T ? never : ReadonlySet<any>) : Set<unknown>;
2192
- /**
2193
- * Returns `true` if the value is an iterator returned for a built-in [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instance.
2194
- *
2195
- * ```js
2196
- * const set = new Set();
2197
- * util.types.isSetIterator(set.keys()); // Returns true
2198
- * util.types.isSetIterator(set.values()); // Returns true
2199
- * util.types.isSetIterator(set.entries()); // Returns true
2200
- * util.types.isSetIterator(set[Symbol.iterator]()); // Returns true
2201
- * ```
2202
- * @since v10.0.0
2203
- */
2204
- function isSetIterator(object: unknown): boolean;
2205
- /**
2206
- * Returns `true` if the value is a built-in [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instance.
2207
- * This does _not_ include [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) instances. Usually, it is
2208
- * desirable to test for both; See `util.types.isAnyArrayBuffer()` for that.
2209
- *
2210
- * ```js
2211
- * util.types.isSharedArrayBuffer(new ArrayBuffer()); // Returns false
2212
- * util.types.isSharedArrayBuffer(new SharedArrayBuffer()); // Returns true
2213
- * ```
2214
- * @since v10.0.0
2215
- */
2216
- function isSharedArrayBuffer(object: unknown): object is SharedArrayBuffer;
2217
- /**
2218
- * Returns `true` if the value is a string object, e.g. created
2219
- * by `new String()`.
2220
- *
2221
- * ```js
2222
- * util.types.isStringObject('foo'); // Returns false
2223
- * util.types.isStringObject(new String('foo')); // Returns true
2224
- * ```
2225
- * @since v10.0.0
2226
- */
2227
- function isStringObject(object: unknown): object is String;
2228
- /**
2229
- * Returns `true` if the value is a symbol object, created
2230
- * by calling `Object()` on a `Symbol` primitive.
2231
- *
2232
- * ```js
2233
- * const symbol = Symbol('foo');
2234
- * util.types.isSymbolObject(symbol); // Returns false
2235
- * util.types.isSymbolObject(Object(symbol)); // Returns true
2236
- * ```
2237
- * @since v10.0.0
2238
- */
2239
- function isSymbolObject(object: unknown): object is Symbol;
2240
- /**
2241
- * Returns `true` if the value is a built-in [`TypedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray) instance.
2242
- *
2243
- * ```js
2244
- * util.types.isTypedArray(new ArrayBuffer()); // Returns false
2245
- * util.types.isTypedArray(new Uint8Array()); // Returns true
2246
- * util.types.isTypedArray(new Float64Array()); // Returns true
2247
- * ```
2248
- *
2249
- * See also [`ArrayBuffer.isView()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView).
2250
- * @since v10.0.0
2251
- */
2252
- function isTypedArray(object: unknown): object is NodeJS.TypedArray;
2253
- /**
2254
- * Returns `true` if the value is a built-in [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) instance.
2255
- *
2256
- * ```js
2257
- * util.types.isUint8Array(new ArrayBuffer()); // Returns false
2258
- * util.types.isUint8Array(new Uint8Array()); // Returns true
2259
- * util.types.isUint8Array(new Float64Array()); // Returns false
2260
- * ```
2261
- * @since v10.0.0
2262
- */
2263
- function isUint8Array(object: unknown): object is Uint8Array;
2264
- /**
2265
- * Returns `true` if the value is a built-in [`Uint8ClampedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray) instance.
2266
- *
2267
- * ```js
2268
- * util.types.isUint8ClampedArray(new ArrayBuffer()); // Returns false
2269
- * util.types.isUint8ClampedArray(new Uint8ClampedArray()); // Returns true
2270
- * util.types.isUint8ClampedArray(new Float64Array()); // Returns false
2271
- * ```
2272
- * @since v10.0.0
2273
- */
2274
- function isUint8ClampedArray(object: unknown): object is Uint8ClampedArray;
2275
- /**
2276
- * Returns `true` if the value is a built-in [`Uint16Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array) instance.
2277
- *
2278
- * ```js
2279
- * util.types.isUint16Array(new ArrayBuffer()); // Returns false
2280
- * util.types.isUint16Array(new Uint16Array()); // Returns true
2281
- * util.types.isUint16Array(new Float64Array()); // Returns false
2282
- * ```
2283
- * @since v10.0.0
2284
- */
2285
- function isUint16Array(object: unknown): object is Uint16Array;
2286
- /**
2287
- * Returns `true` if the value is a built-in [`Uint32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array) instance.
2288
- *
2289
- * ```js
2290
- * util.types.isUint32Array(new ArrayBuffer()); // Returns false
2291
- * util.types.isUint32Array(new Uint32Array()); // Returns true
2292
- * util.types.isUint32Array(new Float64Array()); // Returns false
2293
- * ```
2294
- * @since v10.0.0
2295
- */
2296
- function isUint32Array(object: unknown): object is Uint32Array;
2297
- /**
2298
- * Returns `true` if the value is a built-in [`WeakMap`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap) instance.
2299
- *
2300
- * ```js
2301
- * util.types.isWeakMap(new WeakMap()); // Returns true
2302
- * ```
2303
- * @since v10.0.0
2304
- */
2305
- function isWeakMap(object: unknown): object is WeakMap<object, unknown>;
2306
- /**
2307
- * Returns `true` if the value is a built-in [`WeakSet`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) instance.
2308
- *
2309
- * ```js
2310
- * util.types.isWeakSet(new WeakSet()); // Returns true
2311
- * ```
2312
- * @since v10.0.0
2313
- */
2314
- function isWeakSet(object: unknown): object is WeakSet<object>;
2315
- /**
2316
- * Returns `true` if `value` is a `KeyObject`, `false` otherwise.
2317
- * @since v16.2.0
2318
- */
2319
- function isKeyObject(object: unknown): object is KeyObject;
2320
- /**
2321
- * Returns `true` if `value` is a `CryptoKey`, `false` otherwise.
2322
- * @since v16.2.0
2323
- */
2324
- function isCryptoKey(object: unknown): object is webcrypto.CryptoKey;
2325
- }
2326
- declare module "node:util" {
2327
- export * from "util";
2328
- }
2329
- declare module "node:util/types" {
2330
- export * from "util/types";
2331
- }