coaia-visualizer 1.6.5 → 1.6.6

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 (1044) hide show
  1. package/app/api/charts/[id]/route.ts +6 -1
  2. package/app/api/charts/route.ts +6 -1
  3. package/components/asterion-session-context-badge.tsx +27 -1
  4. package/components/chart-detail-editable.tsx +19 -3
  5. package/dist/cli.js +0 -0
  6. package/lib/asterion-metadata.ts +36 -5
  7. package/lib/chart-editor.ts +15 -12
  8. package/lib/types.ts +5 -2
  9. package/mcp/dist/api-client.d.ts +138 -0
  10. package/mcp/dist/api-client.d.ts.map +1 -0
  11. package/mcp/dist/api-client.js +115 -0
  12. package/mcp/dist/api-client.js.map +1 -0
  13. package/mcp/dist/index.d.ts +2 -0
  14. package/mcp/dist/index.d.ts.map +1 -0
  15. package/mcp/dist/index.js +286 -0
  16. package/mcp/dist/index.js.map +1 -0
  17. package/mcp/dist/tools/index.d.ts +18 -0
  18. package/mcp/dist/tools/index.d.ts.map +1 -0
  19. package/mcp/dist/tools/index.js +322 -0
  20. package/mcp/dist/tools/index.js.map +1 -0
  21. package/mcp/node_modules/.package-lock.json +194 -0
  22. package/mcp/node_modules/@modelcontextprotocol/sdk/LICENSE +21 -0
  23. package/mcp/node_modules/@modelcontextprotocol/sdk/README.md +105 -0
  24. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/cli.d.ts +2 -0
  25. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/cli.d.ts.map +1 -0
  26. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/cli.js +129 -0
  27. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/cli.js.map +1 -0
  28. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.d.ts +773 -0
  29. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.d.ts.map +1 -0
  30. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.js +206 -0
  31. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.js.map +1 -0
  32. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.d.ts +2 -0
  33. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.d.ts.map +1 -0
  34. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.js +393 -0
  35. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.js.map +1 -0
  36. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/sse.d.ts +22 -0
  37. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/sse.d.ts.map +1 -0
  38. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/sse.js +91 -0
  39. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/sse.js.map +1 -0
  40. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.d.ts +56 -0
  41. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.d.ts.map +1 -0
  42. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.js +147 -0
  43. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.js.map +1 -0
  44. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.d.ts +2 -0
  45. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.d.ts.map +1 -0
  46. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.js +51 -0
  47. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.js.map +1 -0
  48. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.d.ts +17 -0
  49. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.d.ts.map +1 -0
  50. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.js +61 -0
  51. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.js.map +1 -0
  52. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.d.ts +20 -0
  53. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.d.ts.map +1 -0
  54. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.js +47 -0
  55. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.js.map +1 -0
  56. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.d.ts +2 -0
  57. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.d.ts.map +1 -0
  58. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.js +74 -0
  59. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.js.map +1 -0
  60. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.d.ts +112 -0
  61. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.d.ts.map +1 -0
  62. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.js +182 -0
  63. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.js.map +1 -0
  64. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.d.ts +2 -0
  65. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.d.ts.map +1 -0
  66. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.js +408 -0
  67. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.js.map +1 -0
  68. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/sse.d.ts +46 -0
  69. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/sse.d.ts.map +1 -0
  70. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/sse.js +116 -0
  71. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/sse.js.map +1 -0
  72. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.d.ts +28 -0
  73. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.d.ts.map +1 -0
  74. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.js +69 -0
  75. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.js.map +1 -0
  76. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.d.ts +2 -0
  77. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.d.ts.map +1 -0
  78. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.js +87 -0
  79. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.js.map +1 -0
  80. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.d.ts +157 -0
  81. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.d.ts.map +1 -0
  82. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.js +297 -0
  83. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.js.map +1 -0
  84. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.d.ts +13 -0
  85. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.d.ts.map +1 -0
  86. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.js +31 -0
  87. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.js.map +1 -0
  88. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.d.ts +2 -0
  89. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.d.ts.map +1 -0
  90. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.js +27 -0
  91. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.js.map +1 -0
  92. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.d.ts +39 -0
  93. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.d.ts.map +1 -0
  94. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.js +2 -0
  95. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.js.map +1 -0
  96. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/types.d.ts +26425 -0
  97. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/types.d.ts.map +1 -0
  98. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/types.js +997 -0
  99. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/types.js.map +1 -0
  100. package/mcp/node_modules/@modelcontextprotocol/sdk/package.json +61 -0
  101. package/mcp/node_modules/@types/node/LICENSE +21 -0
  102. package/mcp/node_modules/@types/node/README.md +15 -0
  103. package/mcp/node_modules/@types/node/assert/strict.d.ts +111 -0
  104. package/mcp/node_modules/@types/node/assert.d.ts +1078 -0
  105. package/mcp/node_modules/@types/node/async_hooks.d.ts +603 -0
  106. package/mcp/node_modules/@types/node/buffer.buffer.d.ts +472 -0
  107. package/mcp/node_modules/@types/node/buffer.d.ts +1934 -0
  108. package/mcp/node_modules/@types/node/child_process.d.ts +1476 -0
  109. package/mcp/node_modules/@types/node/cluster.d.ts +578 -0
  110. package/mcp/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
  111. package/mcp/node_modules/@types/node/compatibility/index.d.ts +9 -0
  112. package/mcp/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  113. package/mcp/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
  114. package/mcp/node_modules/@types/node/console.d.ts +452 -0
  115. package/mcp/node_modules/@types/node/constants.d.ts +21 -0
  116. package/mcp/node_modules/@types/node/crypto.d.ts +4545 -0
  117. package/mcp/node_modules/@types/node/dgram.d.ts +600 -0
  118. package/mcp/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
  119. package/mcp/node_modules/@types/node/dns/promises.d.ts +503 -0
  120. package/mcp/node_modules/@types/node/dns.d.ts +923 -0
  121. package/mcp/node_modules/@types/node/domain.d.ts +170 -0
  122. package/mcp/node_modules/@types/node/events.d.ts +976 -0
  123. package/mcp/node_modules/@types/node/fs/promises.d.ts +1295 -0
  124. package/mcp/node_modules/@types/node/fs.d.ts +4461 -0
  125. package/mcp/node_modules/@types/node/globals.d.ts +172 -0
  126. package/mcp/node_modules/@types/node/globals.typedarray.d.ts +38 -0
  127. package/mcp/node_modules/@types/node/http.d.ts +2089 -0
  128. package/mcp/node_modules/@types/node/http2.d.ts +2644 -0
  129. package/mcp/node_modules/@types/node/https.d.ts +579 -0
  130. package/mcp/node_modules/@types/node/index.d.ts +97 -0
  131. package/mcp/node_modules/@types/node/inspector.d.ts +253 -0
  132. package/mcp/node_modules/@types/node/inspector.generated.d.ts +4052 -0
  133. package/mcp/node_modules/@types/node/module.d.ts +891 -0
  134. package/mcp/node_modules/@types/node/net.d.ts +1057 -0
  135. package/mcp/node_modules/@types/node/os.d.ts +506 -0
  136. package/mcp/node_modules/@types/node/package.json +145 -0
  137. package/mcp/node_modules/@types/node/path.d.ts +200 -0
  138. package/mcp/node_modules/@types/node/perf_hooks.d.ts +968 -0
  139. package/mcp/node_modules/@types/node/process.d.ts +2084 -0
  140. package/mcp/node_modules/@types/node/punycode.d.ts +117 -0
  141. package/mcp/node_modules/@types/node/querystring.d.ts +152 -0
  142. package/mcp/node_modules/@types/node/readline/promises.d.ts +161 -0
  143. package/mcp/node_modules/@types/node/readline.d.ts +594 -0
  144. package/mcp/node_modules/@types/node/repl.d.ts +428 -0
  145. package/mcp/node_modules/@types/node/sea.d.ts +153 -0
  146. package/mcp/node_modules/@types/node/sqlite.d.ts +721 -0
  147. package/mcp/node_modules/@types/node/stream/consumers.d.ts +38 -0
  148. package/mcp/node_modules/@types/node/stream/promises.d.ts +90 -0
  149. package/mcp/node_modules/@types/node/stream/web.d.ts +622 -0
  150. package/mcp/node_modules/@types/node/stream.d.ts +1664 -0
  151. package/mcp/node_modules/@types/node/string_decoder.d.ts +67 -0
  152. package/mcp/node_modules/@types/node/test.d.ts +2163 -0
  153. package/mcp/node_modules/@types/node/timers/promises.d.ts +108 -0
  154. package/mcp/node_modules/@types/node/timers.d.ts +287 -0
  155. package/mcp/node_modules/@types/node/tls.d.ts +1319 -0
  156. package/mcp/node_modules/@types/node/trace_events.d.ts +197 -0
  157. package/mcp/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
  158. package/mcp/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
  159. package/mcp/node_modules/@types/node/ts5.6/index.d.ts +97 -0
  160. package/mcp/node_modules/@types/node/tty.d.ts +208 -0
  161. package/mcp/node_modules/@types/node/url.d.ts +984 -0
  162. package/mcp/node_modules/@types/node/util.d.ts +2606 -0
  163. package/mcp/node_modules/@types/node/v8.d.ts +920 -0
  164. package/mcp/node_modules/@types/node/vm.d.ts +1000 -0
  165. package/mcp/node_modules/@types/node/wasi.d.ts +181 -0
  166. package/mcp/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  167. package/mcp/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  168. package/mcp/node_modules/@types/node/web-globals/events.d.ts +97 -0
  169. package/mcp/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
  170. package/mcp/node_modules/@types/node/web-globals/navigator.d.ts +22 -0
  171. package/mcp/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  172. package/mcp/node_modules/@types/node/worker_threads.d.ts +784 -0
  173. package/mcp/node_modules/@types/node/zlib.d.ts +747 -0
  174. package/mcp/node_modules/bytes/History.md +97 -0
  175. package/mcp/node_modules/bytes/LICENSE +23 -0
  176. package/mcp/node_modules/bytes/Readme.md +152 -0
  177. package/mcp/node_modules/bytes/index.js +170 -0
  178. package/mcp/node_modules/bytes/package.json +42 -0
  179. package/mcp/node_modules/content-type/HISTORY.md +29 -0
  180. package/mcp/node_modules/content-type/LICENSE +22 -0
  181. package/mcp/node_modules/content-type/README.md +94 -0
  182. package/mcp/node_modules/content-type/index.js +225 -0
  183. package/mcp/node_modules/content-type/package.json +42 -0
  184. package/mcp/node_modules/depd/History.md +103 -0
  185. package/mcp/node_modules/depd/LICENSE +22 -0
  186. package/mcp/node_modules/depd/Readme.md +280 -0
  187. package/mcp/node_modules/depd/index.js +538 -0
  188. package/mcp/node_modules/depd/lib/browser/index.js +77 -0
  189. package/mcp/node_modules/depd/package.json +45 -0
  190. package/mcp/node_modules/dotenv/CHANGELOG.md +621 -0
  191. package/mcp/node_modules/dotenv/LICENSE +23 -0
  192. package/mcp/node_modules/dotenv/README-es.md +774 -0
  193. package/mcp/node_modules/dotenv/README.md +774 -0
  194. package/mcp/node_modules/dotenv/SECURITY.md +1 -0
  195. package/mcp/node_modules/dotenv/config.d.ts +1 -0
  196. package/mcp/node_modules/dotenv/config.js +9 -0
  197. package/mcp/node_modules/dotenv/lib/cli-options.js +17 -0
  198. package/mcp/node_modules/dotenv/lib/env-options.js +28 -0
  199. package/mcp/node_modules/dotenv/lib/main.d.ts +179 -0
  200. package/mcp/node_modules/dotenv/lib/main.js +431 -0
  201. package/mcp/node_modules/dotenv/package.json +62 -0
  202. package/mcp/node_modules/http-errors/HISTORY.md +186 -0
  203. package/mcp/node_modules/http-errors/LICENSE +23 -0
  204. package/mcp/node_modules/http-errors/README.md +169 -0
  205. package/mcp/node_modules/http-errors/index.js +290 -0
  206. package/mcp/node_modules/http-errors/package.json +54 -0
  207. package/mcp/node_modules/iconv-lite/LICENSE +21 -0
  208. package/mcp/node_modules/iconv-lite/README.md +138 -0
  209. package/mcp/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
  210. package/mcp/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
  211. package/mcp/node_modules/iconv-lite/encodings/index.js +23 -0
  212. package/mcp/node_modules/iconv-lite/encodings/internal.js +218 -0
  213. package/mcp/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
  214. package/mcp/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  215. package/mcp/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
  216. package/mcp/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  217. package/mcp/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  218. package/mcp/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  219. package/mcp/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  220. package/mcp/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  221. package/mcp/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  222. package/mcp/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  223. package/mcp/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  224. package/mcp/node_modules/iconv-lite/encodings/utf16.js +187 -0
  225. package/mcp/node_modules/iconv-lite/encodings/utf32.js +307 -0
  226. package/mcp/node_modules/iconv-lite/encodings/utf7.js +283 -0
  227. package/mcp/node_modules/iconv-lite/lib/bom-handling.js +48 -0
  228. package/mcp/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
  229. package/mcp/node_modules/iconv-lite/lib/index.d.ts +129 -0
  230. package/mcp/node_modules/iconv-lite/lib/index.js +182 -0
  231. package/mcp/node_modules/iconv-lite/lib/streams.js +105 -0
  232. package/mcp/node_modules/iconv-lite/package.json +70 -0
  233. package/mcp/node_modules/iconv-lite/types/encodings.d.ts +423 -0
  234. package/mcp/node_modules/inherits/LICENSE +16 -0
  235. package/mcp/node_modules/inherits/README.md +42 -0
  236. package/mcp/node_modules/inherits/inherits.js +9 -0
  237. package/mcp/node_modules/inherits/inherits_browser.js +27 -0
  238. package/mcp/node_modules/inherits/package.json +29 -0
  239. package/mcp/node_modules/raw-body/LICENSE +22 -0
  240. package/mcp/node_modules/raw-body/README.md +223 -0
  241. package/mcp/node_modules/raw-body/index.d.ts +85 -0
  242. package/mcp/node_modules/raw-body/index.js +336 -0
  243. package/mcp/node_modules/raw-body/package.json +46 -0
  244. package/mcp/node_modules/safer-buffer/LICENSE +21 -0
  245. package/mcp/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  246. package/mcp/node_modules/safer-buffer/Readme.md +156 -0
  247. package/mcp/node_modules/safer-buffer/dangerous.js +58 -0
  248. package/mcp/node_modules/safer-buffer/package.json +34 -0
  249. package/mcp/node_modules/safer-buffer/safer.js +77 -0
  250. package/mcp/node_modules/safer-buffer/tests.js +406 -0
  251. package/mcp/node_modules/setprototypeof/LICENSE +13 -0
  252. package/mcp/node_modules/setprototypeof/README.md +31 -0
  253. package/mcp/node_modules/setprototypeof/index.d.ts +2 -0
  254. package/mcp/node_modules/setprototypeof/index.js +17 -0
  255. package/mcp/node_modules/setprototypeof/package.json +38 -0
  256. package/mcp/node_modules/setprototypeof/test/index.js +24 -0
  257. package/mcp/node_modules/statuses/HISTORY.md +87 -0
  258. package/mcp/node_modules/statuses/LICENSE +23 -0
  259. package/mcp/node_modules/statuses/README.md +139 -0
  260. package/mcp/node_modules/statuses/codes.json +65 -0
  261. package/mcp/node_modules/statuses/index.js +146 -0
  262. package/mcp/node_modules/statuses/package.json +49 -0
  263. package/mcp/node_modules/toidentifier/HISTORY.md +9 -0
  264. package/mcp/node_modules/toidentifier/LICENSE +21 -0
  265. package/mcp/node_modules/toidentifier/README.md +61 -0
  266. package/mcp/node_modules/toidentifier/index.js +32 -0
  267. package/mcp/node_modules/toidentifier/package.json +38 -0
  268. package/mcp/node_modules/typescript/LICENSE.txt +55 -0
  269. package/mcp/node_modules/typescript/README.md +50 -0
  270. package/mcp/node_modules/typescript/SECURITY.md +41 -0
  271. package/mcp/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  272. package/mcp/node_modules/typescript/bin/tsc +2 -0
  273. package/mcp/node_modules/typescript/bin/tsserver +2 -0
  274. package/mcp/node_modules/typescript/lib/_tsc.js +133818 -0
  275. package/mcp/node_modules/typescript/lib/_tsserver.js +659 -0
  276. package/mcp/node_modules/typescript/lib/_typingsInstaller.js +222 -0
  277. package/mcp/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2122 -0
  278. package/mcp/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2122 -0
  279. package/mcp/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2122 -0
  280. package/mcp/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2122 -0
  281. package/mcp/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2122 -0
  282. package/mcp/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2122 -0
  283. package/mcp/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2122 -0
  284. package/mcp/node_modules/typescript/lib/lib.d.ts +22 -0
  285. package/mcp/node_modules/typescript/lib/lib.decorators.d.ts +384 -0
  286. package/mcp/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  287. package/mcp/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
  288. package/mcp/node_modules/typescript/lib/lib.dom.d.ts +39429 -0
  289. package/mcp/node_modules/typescript/lib/lib.dom.iterable.d.ts +571 -0
  290. package/mcp/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  291. package/mcp/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  292. package/mcp/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  293. package/mcp/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  294. package/mcp/node_modules/typescript/lib/lib.es2015.iterable.d.ts +605 -0
  295. package/mcp/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  296. package/mcp/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  297. package/mcp/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  298. package/mcp/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  299. package/mcp/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  300. package/mcp/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  301. package/mcp/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  302. package/mcp/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  303. package/mcp/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  304. package/mcp/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
  305. package/mcp/node_modules/typescript/lib/lib.es2017.d.ts +26 -0
  306. package/mcp/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  307. package/mcp/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  308. package/mcp/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  309. package/mcp/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  310. package/mcp/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  311. package/mcp/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  312. package/mcp/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  313. package/mcp/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  314. package/mcp/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
  315. package/mcp/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  316. package/mcp/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  317. package/mcp/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  318. package/mcp/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  319. package/mcp/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  320. package/mcp/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  321. package/mcp/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  322. package/mcp/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  323. package/mcp/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  324. package/mcp/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  325. package/mcp/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  326. package/mcp/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  327. package/mcp/node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
  328. package/mcp/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  329. package/mcp/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  330. package/mcp/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  331. package/mcp/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  332. package/mcp/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  333. package/mcp/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  334. package/mcp/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
  335. package/mcp/node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
  336. package/mcp/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
  337. package/mcp/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  338. package/mcp/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  339. package/mcp/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  340. package/mcp/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  341. package/mcp/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  342. package/mcp/node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
  343. package/mcp/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  344. package/mcp/node_modules/typescript/lib/lib.es2022.d.ts +25 -0
  345. package/mcp/node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
  346. package/mcp/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  347. package/mcp/node_modules/typescript/lib/lib.es2022.intl.d.ts +145 -0
  348. package/mcp/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  349. package/mcp/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  350. package/mcp/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  351. package/mcp/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  352. package/mcp/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  353. package/mcp/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  354. package/mcp/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  355. package/mcp/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  356. package/mcp/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
  357. package/mcp/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
  358. package/mcp/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
  359. package/mcp/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
  360. package/mcp/node_modules/typescript/lib/lib.es2024.object.d.ts +29 -0
  361. package/mcp/node_modules/typescript/lib/lib.es2024.promise.d.ts +35 -0
  362. package/mcp/node_modules/typescript/lib/lib.es2024.regexp.d.ts +25 -0
  363. package/mcp/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +68 -0
  364. package/mcp/node_modules/typescript/lib/lib.es2024.string.d.ts +29 -0
  365. package/mcp/node_modules/typescript/lib/lib.es5.d.ts +4601 -0
  366. package/mcp/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  367. package/mcp/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  368. package/mcp/node_modules/typescript/lib/lib.esnext.collection.d.ts +96 -0
  369. package/mcp/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
  370. package/mcp/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  371. package/mcp/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
  372. package/mcp/node_modules/typescript/lib/lib.esnext.error.d.ts +24 -0
  373. package/mcp/node_modules/typescript/lib/lib.esnext.float16.d.ts +445 -0
  374. package/mcp/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  375. package/mcp/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  376. package/mcp/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
  377. package/mcp/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
  378. package/mcp/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +25 -0
  379. package/mcp/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  380. package/mcp/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
  381. package/mcp/node_modules/typescript/lib/lib.webworker.d.ts +13150 -0
  382. package/mcp/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  383. package/mcp/node_modules/typescript/lib/lib.webworker.iterable.d.ts +340 -0
  384. package/mcp/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2122 -0
  385. package/mcp/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2122 -0
  386. package/mcp/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2122 -0
  387. package/mcp/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2122 -0
  388. package/mcp/node_modules/typescript/lib/tsc.js +8 -0
  389. package/mcp/node_modules/typescript/lib/tsserver.js +8 -0
  390. package/mcp/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  391. package/mcp/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  392. package/mcp/node_modules/typescript/lib/typesMap.json +497 -0
  393. package/mcp/node_modules/typescript/lib/typescript.d.ts +11437 -0
  394. package/mcp/node_modules/typescript/lib/typescript.js +200276 -0
  395. package/mcp/node_modules/typescript/lib/typingsInstaller.js +8 -0
  396. package/mcp/node_modules/typescript/lib/watchGuard.js +53 -0
  397. package/mcp/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2122 -0
  398. package/mcp/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2122 -0
  399. package/mcp/node_modules/typescript/package.json +120 -0
  400. package/mcp/node_modules/undici-types/LICENSE +21 -0
  401. package/mcp/node_modules/undici-types/README.md +6 -0
  402. package/mcp/node_modules/undici-types/agent.d.ts +31 -0
  403. package/mcp/node_modules/undici-types/api.d.ts +43 -0
  404. package/mcp/node_modules/undici-types/balanced-pool.d.ts +29 -0
  405. package/mcp/node_modules/undici-types/cache.d.ts +36 -0
  406. package/mcp/node_modules/undici-types/client.d.ts +108 -0
  407. package/mcp/node_modules/undici-types/connector.d.ts +34 -0
  408. package/mcp/node_modules/undici-types/content-type.d.ts +21 -0
  409. package/mcp/node_modules/undici-types/cookies.d.ts +28 -0
  410. package/mcp/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  411. package/mcp/node_modules/undici-types/dispatcher.d.ts +256 -0
  412. package/mcp/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  413. package/mcp/node_modules/undici-types/errors.d.ts +149 -0
  414. package/mcp/node_modules/undici-types/eventsource.d.ts +61 -0
  415. package/mcp/node_modules/undici-types/fetch.d.ts +209 -0
  416. package/mcp/node_modules/undici-types/file.d.ts +39 -0
  417. package/mcp/node_modules/undici-types/filereader.d.ts +54 -0
  418. package/mcp/node_modules/undici-types/formdata.d.ts +108 -0
  419. package/mcp/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  420. package/mcp/node_modules/undici-types/global-origin.d.ts +7 -0
  421. package/mcp/node_modules/undici-types/handlers.d.ts +15 -0
  422. package/mcp/node_modules/undici-types/header.d.ts +4 -0
  423. package/mcp/node_modules/undici-types/index.d.ts +71 -0
  424. package/mcp/node_modules/undici-types/interceptors.d.ts +17 -0
  425. package/mcp/node_modules/undici-types/mock-agent.d.ts +50 -0
  426. package/mcp/node_modules/undici-types/mock-client.d.ts +25 -0
  427. package/mcp/node_modules/undici-types/mock-errors.d.ts +12 -0
  428. package/mcp/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  429. package/mcp/node_modules/undici-types/mock-pool.d.ts +25 -0
  430. package/mcp/node_modules/undici-types/package.json +55 -0
  431. package/mcp/node_modules/undici-types/patch.d.ts +33 -0
  432. package/mcp/node_modules/undici-types/pool-stats.d.ts +19 -0
  433. package/mcp/node_modules/undici-types/pool.d.ts +39 -0
  434. package/mcp/node_modules/undici-types/proxy-agent.d.ts +28 -0
  435. package/mcp/node_modules/undici-types/readable.d.ts +65 -0
  436. package/mcp/node_modules/undici-types/retry-agent.d.ts +8 -0
  437. package/mcp/node_modules/undici-types/retry-handler.d.ts +116 -0
  438. package/mcp/node_modules/undici-types/util.d.ts +18 -0
  439. package/mcp/node_modules/undici-types/webidl.d.ts +228 -0
  440. package/mcp/node_modules/undici-types/websocket.d.ts +150 -0
  441. package/mcp/node_modules/unpipe/HISTORY.md +4 -0
  442. package/mcp/node_modules/unpipe/LICENSE +22 -0
  443. package/mcp/node_modules/unpipe/README.md +43 -0
  444. package/mcp/node_modules/unpipe/index.js +69 -0
  445. package/mcp/node_modules/unpipe/package.json +27 -0
  446. package/mcp/node_modules/zod/LICENSE +21 -0
  447. package/mcp/node_modules/zod/README.md +208 -0
  448. package/mcp/node_modules/zod/index.cjs +33 -0
  449. package/mcp/node_modules/zod/index.d.cts +4 -0
  450. package/mcp/node_modules/zod/index.d.ts +4 -0
  451. package/mcp/node_modules/zod/index.js +4 -0
  452. package/mcp/node_modules/zod/package.json +118 -0
  453. package/mcp/node_modules/zod/src/index.ts +4 -0
  454. package/mcp/node_modules/zod/src/v3/ZodError.ts +330 -0
  455. package/mcp/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  456. package/mcp/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  457. package/mcp/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  458. package/mcp/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  459. package/mcp/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  460. package/mcp/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  461. package/mcp/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  462. package/mcp/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  463. package/mcp/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  464. package/mcp/node_modules/zod/src/v3/errors.ts +13 -0
  465. package/mcp/node_modules/zod/src/v3/external.ts +6 -0
  466. package/mcp/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  467. package/mcp/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  468. package/mcp/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  469. package/mcp/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  470. package/mcp/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  471. package/mcp/node_modules/zod/src/v3/helpers/util.ts +224 -0
  472. package/mcp/node_modules/zod/src/v3/index.ts +4 -0
  473. package/mcp/node_modules/zod/src/v3/locales/en.ts +124 -0
  474. package/mcp/node_modules/zod/src/v3/standard-schema.ts +113 -0
  475. package/mcp/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  476. package/mcp/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  477. package/mcp/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  478. package/mcp/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  479. package/mcp/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  480. package/mcp/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  481. package/mcp/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  482. package/mcp/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  483. package/mcp/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  484. package/mcp/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  485. package/mcp/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  486. package/mcp/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
  487. package/mcp/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  488. package/mcp/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  489. package/mcp/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  490. package/mcp/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  491. package/mcp/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  492. package/mcp/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  493. package/mcp/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  494. package/mcp/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  495. package/mcp/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  496. package/mcp/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  497. package/mcp/node_modules/zod/src/v3/tests/function.test.ts +257 -0
  498. package/mcp/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  499. package/mcp/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  500. package/mcp/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  501. package/mcp/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  502. package/mcp/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  503. package/mcp/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  504. package/mcp/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  505. package/mcp/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  506. package/mcp/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  507. package/mcp/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
  508. package/mcp/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  509. package/mcp/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  510. package/mcp/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  511. package/mcp/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  512. package/mcp/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  513. package/mcp/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  514. package/mcp/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  515. package/mcp/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  516. package/mcp/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  517. package/mcp/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  518. package/mcp/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  519. package/mcp/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  520. package/mcp/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  521. package/mcp/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  522. package/mcp/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  523. package/mcp/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  524. package/mcp/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  525. package/mcp/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  526. package/mcp/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  527. package/mcp/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  528. package/mcp/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  529. package/mcp/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  530. package/mcp/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  531. package/mcp/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  532. package/mcp/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  533. package/mcp/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  534. package/mcp/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  535. package/mcp/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  536. package/mcp/node_modules/zod/src/v3/types.ts +5136 -0
  537. package/mcp/node_modules/zod/src/v4/classic/checks.ts +30 -0
  538. package/mcp/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  539. package/mcp/node_modules/zod/src/v4/classic/compat.ts +66 -0
  540. package/mcp/node_modules/zod/src/v4/classic/errors.ts +75 -0
  541. package/mcp/node_modules/zod/src/v4/classic/external.ts +50 -0
  542. package/mcp/node_modules/zod/src/v4/classic/index.ts +5 -0
  543. package/mcp/node_modules/zod/src/v4/classic/iso.ts +90 -0
  544. package/mcp/node_modules/zod/src/v4/classic/parse.ts +33 -0
  545. package/mcp/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
  546. package/mcp/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  547. package/mcp/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  548. package/mcp/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
  549. package/mcp/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  550. package/mcp/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  551. package/mcp/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  552. package/mcp/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  553. package/mcp/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
  554. package/mcp/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
  555. package/mcp/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  556. package/mcp/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  557. package/mcp/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
  558. package/mcp/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  559. package/mcp/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
  560. package/mcp/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
  561. package/mcp/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
  562. package/mcp/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  563. package/mcp/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
  564. package/mcp/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  565. package/mcp/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
  566. package/mcp/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  567. package/mcp/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
  568. package/mcp/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
  569. package/mcp/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
  570. package/mcp/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  571. package/mcp/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
  572. package/mcp/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
  573. package/mcp/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
  574. package/mcp/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
  575. package/mcp/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  576. package/mcp/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
  577. package/mcp/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
  578. package/mcp/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  579. package/mcp/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  580. package/mcp/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
  581. package/mcp/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  582. package/mcp/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
  583. package/mcp/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
  584. package/mcp/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
  585. package/mcp/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
  586. package/mcp/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
  587. package/mcp/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
  588. package/mcp/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
  589. package/mcp/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
  590. package/mcp/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  591. package/mcp/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  592. package/mcp/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  593. package/mcp/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  594. package/mcp/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
  595. package/mcp/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
  596. package/mcp/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
  597. package/mcp/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
  598. package/mcp/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
  599. package/mcp/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
  600. package/mcp/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
  601. package/mcp/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
  602. package/mcp/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
  603. package/mcp/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
  604. package/mcp/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
  605. package/mcp/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
  606. package/mcp/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
  607. package/mcp/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
  608. package/mcp/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  609. package/mcp/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  610. package/mcp/node_modules/zod/src/v4/core/api.ts +1594 -0
  611. package/mcp/node_modules/zod/src/v4/core/checks.ts +1283 -0
  612. package/mcp/node_modules/zod/src/v4/core/config.ts +15 -0
  613. package/mcp/node_modules/zod/src/v4/core/core.ts +134 -0
  614. package/mcp/node_modules/zod/src/v4/core/doc.ts +44 -0
  615. package/mcp/node_modules/zod/src/v4/core/errors.ts +424 -0
  616. package/mcp/node_modules/zod/src/v4/core/function.ts +176 -0
  617. package/mcp/node_modules/zod/src/v4/core/index.ts +15 -0
  618. package/mcp/node_modules/zod/src/v4/core/json-schema.ts +143 -0
  619. package/mcp/node_modules/zod/src/v4/core/parse.ts +94 -0
  620. package/mcp/node_modules/zod/src/v4/core/regexes.ts +135 -0
  621. package/mcp/node_modules/zod/src/v4/core/registries.ts +96 -0
  622. package/mcp/node_modules/zod/src/v4/core/schemas.ts +3842 -0
  623. package/mcp/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
  624. package/mcp/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  625. package/mcp/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  626. package/mcp/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  627. package/mcp/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  628. package/mcp/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  629. package/mcp/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
  630. package/mcp/node_modules/zod/src/v4/core/util.ts +775 -0
  631. package/mcp/node_modules/zod/src/v4/core/versions.ts +5 -0
  632. package/mcp/node_modules/zod/src/v4/core/zsf.ts +323 -0
  633. package/mcp/node_modules/zod/src/v4/index.ts +4 -0
  634. package/mcp/node_modules/zod/src/v4/locales/ar.ts +125 -0
  635. package/mcp/node_modules/zod/src/v4/locales/az.ts +121 -0
  636. package/mcp/node_modules/zod/src/v4/locales/be.ts +184 -0
  637. package/mcp/node_modules/zod/src/v4/locales/ca.ts +127 -0
  638. package/mcp/node_modules/zod/src/v4/locales/cs.ts +142 -0
  639. package/mcp/node_modules/zod/src/v4/locales/de.ts +124 -0
  640. package/mcp/node_modules/zod/src/v4/locales/en.ts +127 -0
  641. package/mcp/node_modules/zod/src/v4/locales/eo.ts +125 -0
  642. package/mcp/node_modules/zod/src/v4/locales/es.ts +125 -0
  643. package/mcp/node_modules/zod/src/v4/locales/fa.ts +134 -0
  644. package/mcp/node_modules/zod/src/v4/locales/fi.ts +131 -0
  645. package/mcp/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
  646. package/mcp/node_modules/zod/src/v4/locales/fr.ts +124 -0
  647. package/mcp/node_modules/zod/src/v4/locales/he.ts +125 -0
  648. package/mcp/node_modules/zod/src/v4/locales/hu.ts +126 -0
  649. package/mcp/node_modules/zod/src/v4/locales/id.ts +125 -0
  650. package/mcp/node_modules/zod/src/v4/locales/index.ts +39 -0
  651. package/mcp/node_modules/zod/src/v4/locales/it.ts +125 -0
  652. package/mcp/node_modules/zod/src/v4/locales/ja.ts +122 -0
  653. package/mcp/node_modules/zod/src/v4/locales/kh.ts +126 -0
  654. package/mcp/node_modules/zod/src/v4/locales/ko.ts +131 -0
  655. package/mcp/node_modules/zod/src/v4/locales/mk.ts +127 -0
  656. package/mcp/node_modules/zod/src/v4/locales/ms.ts +124 -0
  657. package/mcp/node_modules/zod/src/v4/locales/nl.ts +126 -0
  658. package/mcp/node_modules/zod/src/v4/locales/no.ts +124 -0
  659. package/mcp/node_modules/zod/src/v4/locales/ota.ts +125 -0
  660. package/mcp/node_modules/zod/src/v4/locales/pl.ts +126 -0
  661. package/mcp/node_modules/zod/src/v4/locales/ps.ts +133 -0
  662. package/mcp/node_modules/zod/src/v4/locales/pt.ts +123 -0
  663. package/mcp/node_modules/zod/src/v4/locales/ru.ts +184 -0
  664. package/mcp/node_modules/zod/src/v4/locales/sl.ts +126 -0
  665. package/mcp/node_modules/zod/src/v4/locales/sv.ts +127 -0
  666. package/mcp/node_modules/zod/src/v4/locales/ta.ts +125 -0
  667. package/mcp/node_modules/zod/src/v4/locales/th.ts +126 -0
  668. package/mcp/node_modules/zod/src/v4/locales/tr.ts +121 -0
  669. package/mcp/node_modules/zod/src/v4/locales/ua.ts +126 -0
  670. package/mcp/node_modules/zod/src/v4/locales/ur.ts +126 -0
  671. package/mcp/node_modules/zod/src/v4/locales/vi.ts +125 -0
  672. package/mcp/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
  673. package/mcp/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
  674. package/mcp/node_modules/zod/src/v4/mini/checks.ts +32 -0
  675. package/mcp/node_modules/zod/src/v4/mini/coerce.ts +22 -0
  676. package/mcp/node_modules/zod/src/v4/mini/external.ts +40 -0
  677. package/mcp/node_modules/zod/src/v4/mini/index.ts +3 -0
  678. package/mcp/node_modules/zod/src/v4/mini/iso.ts +62 -0
  679. package/mcp/node_modules/zod/src/v4/mini/parse.ts +1 -0
  680. package/mcp/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
  681. package/mcp/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  682. package/mcp/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
  683. package/mcp/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  684. package/mcp/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  685. package/mcp/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  686. package/mcp/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
  687. package/mcp/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
  688. package/mcp/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  689. package/mcp/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
  690. package/mcp/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  691. package/mcp/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
  692. package/mcp/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
  693. package/mcp/node_modules/zod/src/v4-mini/index.ts +1 -0
  694. package/mcp/node_modules/zod/v3/ZodError.cjs +138 -0
  695. package/mcp/node_modules/zod/v3/ZodError.d.cts +164 -0
  696. package/mcp/node_modules/zod/v3/ZodError.d.ts +164 -0
  697. package/mcp/node_modules/zod/v3/ZodError.js +133 -0
  698. package/mcp/node_modules/zod/v3/errors.cjs +17 -0
  699. package/mcp/node_modules/zod/v3/errors.d.cts +5 -0
  700. package/mcp/node_modules/zod/v3/errors.d.ts +5 -0
  701. package/mcp/node_modules/zod/v3/errors.js +9 -0
  702. package/mcp/node_modules/zod/v3/external.cjs +22 -0
  703. package/mcp/node_modules/zod/v3/external.d.cts +6 -0
  704. package/mcp/node_modules/zod/v3/external.d.ts +6 -0
  705. package/mcp/node_modules/zod/v3/external.js +6 -0
  706. package/mcp/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  707. package/mcp/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  708. package/mcp/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  709. package/mcp/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  710. package/mcp/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  711. package/mcp/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  712. package/mcp/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  713. package/mcp/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  714. package/mcp/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  715. package/mcp/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  716. package/mcp/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  717. package/mcp/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  718. package/mcp/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  719. package/mcp/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  720. package/mcp/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  721. package/mcp/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  722. package/mcp/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  723. package/mcp/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  724. package/mcp/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  725. package/mcp/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  726. package/mcp/node_modules/zod/v3/helpers/util.cjs +137 -0
  727. package/mcp/node_modules/zod/v3/helpers/util.d.cts +85 -0
  728. package/mcp/node_modules/zod/v3/helpers/util.d.ts +85 -0
  729. package/mcp/node_modules/zod/v3/helpers/util.js +133 -0
  730. package/mcp/node_modules/zod/v3/index.cjs +33 -0
  731. package/mcp/node_modules/zod/v3/index.d.cts +4 -0
  732. package/mcp/node_modules/zod/v3/index.d.ts +4 -0
  733. package/mcp/node_modules/zod/v3/index.js +4 -0
  734. package/mcp/node_modules/zod/v3/locales/en.cjs +111 -0
  735. package/mcp/node_modules/zod/v3/locales/en.d.cts +3 -0
  736. package/mcp/node_modules/zod/v3/locales/en.d.ts +3 -0
  737. package/mcp/node_modules/zod/v3/locales/en.js +109 -0
  738. package/mcp/node_modules/zod/v3/standard-schema.cjs +2 -0
  739. package/mcp/node_modules/zod/v3/standard-schema.d.cts +102 -0
  740. package/mcp/node_modules/zod/v3/standard-schema.d.ts +102 -0
  741. package/mcp/node_modules/zod/v3/standard-schema.js +1 -0
  742. package/mcp/node_modules/zod/v3/types.cjs +3775 -0
  743. package/mcp/node_modules/zod/v3/types.d.cts +1031 -0
  744. package/mcp/node_modules/zod/v3/types.d.ts +1031 -0
  745. package/mcp/node_modules/zod/v3/types.js +3693 -0
  746. package/mcp/node_modules/zod/v4/classic/checks.cjs +32 -0
  747. package/mcp/node_modules/zod/v4/classic/checks.d.cts +1 -0
  748. package/mcp/node_modules/zod/v4/classic/checks.d.ts +1 -0
  749. package/mcp/node_modules/zod/v4/classic/checks.js +1 -0
  750. package/mcp/node_modules/zod/v4/classic/coerce.cjs +47 -0
  751. package/mcp/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  752. package/mcp/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  753. package/mcp/node_modules/zod/v4/classic/coerce.js +17 -0
  754. package/mcp/node_modules/zod/v4/classic/compat.cjs +57 -0
  755. package/mcp/node_modules/zod/v4/classic/compat.d.cts +46 -0
  756. package/mcp/node_modules/zod/v4/classic/compat.d.ts +46 -0
  757. package/mcp/node_modules/zod/v4/classic/compat.js +27 -0
  758. package/mcp/node_modules/zod/v4/classic/errors.cjs +67 -0
  759. package/mcp/node_modules/zod/v4/classic/errors.d.cts +30 -0
  760. package/mcp/node_modules/zod/v4/classic/errors.d.ts +30 -0
  761. package/mcp/node_modules/zod/v4/classic/errors.js +41 -0
  762. package/mcp/node_modules/zod/v4/classic/external.cjs +70 -0
  763. package/mcp/node_modules/zod/v4/classic/external.d.cts +13 -0
  764. package/mcp/node_modules/zod/v4/classic/external.d.ts +13 -0
  765. package/mcp/node_modules/zod/v4/classic/external.js +18 -0
  766. package/mcp/node_modules/zod/v4/classic/index.cjs +33 -0
  767. package/mcp/node_modules/zod/v4/classic/index.d.cts +4 -0
  768. package/mcp/node_modules/zod/v4/classic/index.d.ts +4 -0
  769. package/mcp/node_modules/zod/v4/classic/index.js +4 -0
  770. package/mcp/node_modules/zod/v4/classic/iso.cjs +60 -0
  771. package/mcp/node_modules/zod/v4/classic/iso.d.cts +22 -0
  772. package/mcp/node_modules/zod/v4/classic/iso.d.ts +22 -0
  773. package/mcp/node_modules/zod/v4/classic/iso.js +30 -0
  774. package/mcp/node_modules/zod/v4/classic/parse.cjs +32 -0
  775. package/mcp/node_modules/zod/v4/classic/parse.d.cts +23 -0
  776. package/mcp/node_modules/zod/v4/classic/parse.d.ts +23 -0
  777. package/mcp/node_modules/zod/v4/classic/parse.js +6 -0
  778. package/mcp/node_modules/zod/v4/classic/schemas.cjs +1109 -0
  779. package/mcp/node_modules/zod/v4/classic/schemas.d.cts +630 -0
  780. package/mcp/node_modules/zod/v4/classic/schemas.d.ts +630 -0
  781. package/mcp/node_modules/zod/v4/classic/schemas.js +1006 -0
  782. package/mcp/node_modules/zod/v4/core/api.cjs +1039 -0
  783. package/mcp/node_modules/zod/v4/core/api.d.cts +284 -0
  784. package/mcp/node_modules/zod/v4/core/api.d.ts +284 -0
  785. package/mcp/node_modules/zod/v4/core/api.js +906 -0
  786. package/mcp/node_modules/zod/v4/core/checks.cjs +591 -0
  787. package/mcp/node_modules/zod/v4/core/checks.d.cts +278 -0
  788. package/mcp/node_modules/zod/v4/core/checks.d.ts +278 -0
  789. package/mcp/node_modules/zod/v4/core/checks.js +565 -0
  790. package/mcp/node_modules/zod/v4/core/core.cjs +67 -0
  791. package/mcp/node_modules/zod/v4/core/core.d.cts +49 -0
  792. package/mcp/node_modules/zod/v4/core/core.d.ts +49 -0
  793. package/mcp/node_modules/zod/v4/core/core.js +61 -0
  794. package/mcp/node_modules/zod/v4/core/doc.cjs +39 -0
  795. package/mcp/node_modules/zod/v4/core/doc.d.cts +14 -0
  796. package/mcp/node_modules/zod/v4/core/doc.d.ts +14 -0
  797. package/mcp/node_modules/zod/v4/core/doc.js +35 -0
  798. package/mcp/node_modules/zod/v4/core/errors.cjs +226 -0
  799. package/mcp/node_modules/zod/v4/core/errors.d.cts +208 -0
  800. package/mcp/node_modules/zod/v4/core/errors.d.ts +208 -0
  801. package/mcp/node_modules/zod/v4/core/errors.js +195 -0
  802. package/mcp/node_modules/zod/v4/core/function.cjs +102 -0
  803. package/mcp/node_modules/zod/v4/core/function.d.cts +52 -0
  804. package/mcp/node_modules/zod/v4/core/function.d.ts +52 -0
  805. package/mcp/node_modules/zod/v4/core/function.js +75 -0
  806. package/mcp/node_modules/zod/v4/core/index.cjs +44 -0
  807. package/mcp/node_modules/zod/v4/core/index.d.cts +15 -0
  808. package/mcp/node_modules/zod/v4/core/index.d.ts +15 -0
  809. package/mcp/node_modules/zod/v4/core/index.js +15 -0
  810. package/mcp/node_modules/zod/v4/core/json-schema.cjs +2 -0
  811. package/mcp/node_modules/zod/v4/core/json-schema.d.cts +87 -0
  812. package/mcp/node_modules/zod/v4/core/json-schema.d.ts +87 -0
  813. package/mcp/node_modules/zod/v4/core/json-schema.js +1 -0
  814. package/mcp/node_modules/zod/v4/core/parse.cjs +87 -0
  815. package/mcp/node_modules/zod/v4/core/parse.d.cts +25 -0
  816. package/mcp/node_modules/zod/v4/core/parse.d.ts +25 -0
  817. package/mcp/node_modules/zod/v4/core/parse.js +57 -0
  818. package/mcp/node_modules/zod/v4/core/regexes.cjs +103 -0
  819. package/mcp/node_modules/zod/v4/core/regexes.d.cts +62 -0
  820. package/mcp/node_modules/zod/v4/core/regexes.d.ts +62 -0
  821. package/mcp/node_modules/zod/v4/core/regexes.js +95 -0
  822. package/mcp/node_modules/zod/v4/core/registries.cjs +56 -0
  823. package/mcp/node_modules/zod/v4/core/registries.d.cts +35 -0
  824. package/mcp/node_modules/zod/v4/core/registries.d.ts +35 -0
  825. package/mcp/node_modules/zod/v4/core/registries.js +51 -0
  826. package/mcp/node_modules/zod/v4/core/schemas.cjs +1748 -0
  827. package/mcp/node_modules/zod/v4/core/schemas.d.cts +1041 -0
  828. package/mcp/node_modules/zod/v4/core/schemas.d.ts +1041 -0
  829. package/mcp/node_modules/zod/v4/core/schemas.js +1717 -0
  830. package/mcp/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  831. package/mcp/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
  832. package/mcp/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
  833. package/mcp/node_modules/zod/v4/core/standard-schema.js +1 -0
  834. package/mcp/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
  835. package/mcp/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
  836. package/mcp/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
  837. package/mcp/node_modules/zod/v4/core/to-json-schema.js +849 -0
  838. package/mcp/node_modules/zod/v4/core/util.cjs +539 -0
  839. package/mcp/node_modules/zod/v4/core/util.d.cts +183 -0
  840. package/mcp/node_modules/zod/v4/core/util.d.ts +183 -0
  841. package/mcp/node_modules/zod/v4/core/util.js +493 -0
  842. package/mcp/node_modules/zod/v4/core/versions.cjs +8 -0
  843. package/mcp/node_modules/zod/v4/core/versions.d.cts +5 -0
  844. package/mcp/node_modules/zod/v4/core/versions.d.ts +5 -0
  845. package/mcp/node_modules/zod/v4/core/versions.js +5 -0
  846. package/mcp/node_modules/zod/v4/index.cjs +22 -0
  847. package/mcp/node_modules/zod/v4/index.d.cts +3 -0
  848. package/mcp/node_modules/zod/v4/index.d.ts +3 -0
  849. package/mcp/node_modules/zod/v4/index.js +3 -0
  850. package/mcp/node_modules/zod/v4/locales/ar.cjs +142 -0
  851. package/mcp/node_modules/zod/v4/locales/ar.d.cts +4 -0
  852. package/mcp/node_modules/zod/v4/locales/ar.d.ts +4 -0
  853. package/mcp/node_modules/zod/v4/locales/ar.js +116 -0
  854. package/mcp/node_modules/zod/v4/locales/az.cjs +141 -0
  855. package/mcp/node_modules/zod/v4/locales/az.d.cts +4 -0
  856. package/mcp/node_modules/zod/v4/locales/az.d.ts +4 -0
  857. package/mcp/node_modules/zod/v4/locales/az.js +115 -0
  858. package/mcp/node_modules/zod/v4/locales/be.cjs +190 -0
  859. package/mcp/node_modules/zod/v4/locales/be.d.cts +4 -0
  860. package/mcp/node_modules/zod/v4/locales/be.d.ts +4 -0
  861. package/mcp/node_modules/zod/v4/locales/be.js +164 -0
  862. package/mcp/node_modules/zod/v4/locales/ca.cjs +144 -0
  863. package/mcp/node_modules/zod/v4/locales/ca.d.cts +4 -0
  864. package/mcp/node_modules/zod/v4/locales/ca.d.ts +4 -0
  865. package/mcp/node_modules/zod/v4/locales/ca.js +118 -0
  866. package/mcp/node_modules/zod/v4/locales/cs.cjs +161 -0
  867. package/mcp/node_modules/zod/v4/locales/cs.d.cts +4 -0
  868. package/mcp/node_modules/zod/v4/locales/cs.d.ts +4 -0
  869. package/mcp/node_modules/zod/v4/locales/cs.js +135 -0
  870. package/mcp/node_modules/zod/v4/locales/de.cjs +142 -0
  871. package/mcp/node_modules/zod/v4/locales/de.d.cts +4 -0
  872. package/mcp/node_modules/zod/v4/locales/de.d.ts +4 -0
  873. package/mcp/node_modules/zod/v4/locales/de.js +116 -0
  874. package/mcp/node_modules/zod/v4/locales/en.cjs +145 -0
  875. package/mcp/node_modules/zod/v4/locales/en.d.cts +5 -0
  876. package/mcp/node_modules/zod/v4/locales/en.d.ts +5 -0
  877. package/mcp/node_modules/zod/v4/locales/en.js +117 -0
  878. package/mcp/node_modules/zod/v4/locales/eo.cjs +144 -0
  879. package/mcp/node_modules/zod/v4/locales/eo.d.cts +5 -0
  880. package/mcp/node_modules/zod/v4/locales/eo.d.ts +5 -0
  881. package/mcp/node_modules/zod/v4/locales/eo.js +116 -0
  882. package/mcp/node_modules/zod/v4/locales/es.cjs +143 -0
  883. package/mcp/node_modules/zod/v4/locales/es.d.cts +4 -0
  884. package/mcp/node_modules/zod/v4/locales/es.d.ts +4 -0
  885. package/mcp/node_modules/zod/v4/locales/es.js +117 -0
  886. package/mcp/node_modules/zod/v4/locales/fa.cjs +148 -0
  887. package/mcp/node_modules/zod/v4/locales/fa.d.cts +4 -0
  888. package/mcp/node_modules/zod/v4/locales/fa.d.ts +4 -0
  889. package/mcp/node_modules/zod/v4/locales/fa.js +122 -0
  890. package/mcp/node_modules/zod/v4/locales/fi.cjs +148 -0
  891. package/mcp/node_modules/zod/v4/locales/fi.d.cts +4 -0
  892. package/mcp/node_modules/zod/v4/locales/fi.d.ts +4 -0
  893. package/mcp/node_modules/zod/v4/locales/fi.js +122 -0
  894. package/mcp/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
  895. package/mcp/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
  896. package/mcp/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  897. package/mcp/node_modules/zod/v4/locales/fr-CA.js +117 -0
  898. package/mcp/node_modules/zod/v4/locales/fr.cjs +142 -0
  899. package/mcp/node_modules/zod/v4/locales/fr.d.cts +4 -0
  900. package/mcp/node_modules/zod/v4/locales/fr.d.ts +4 -0
  901. package/mcp/node_modules/zod/v4/locales/fr.js +116 -0
  902. package/mcp/node_modules/zod/v4/locales/he.cjs +143 -0
  903. package/mcp/node_modules/zod/v4/locales/he.d.cts +4 -0
  904. package/mcp/node_modules/zod/v4/locales/he.d.ts +4 -0
  905. package/mcp/node_modules/zod/v4/locales/he.js +117 -0
  906. package/mcp/node_modules/zod/v4/locales/hu.cjs +143 -0
  907. package/mcp/node_modules/zod/v4/locales/hu.d.cts +4 -0
  908. package/mcp/node_modules/zod/v4/locales/hu.d.ts +4 -0
  909. package/mcp/node_modules/zod/v4/locales/hu.js +117 -0
  910. package/mcp/node_modules/zod/v4/locales/id.cjs +142 -0
  911. package/mcp/node_modules/zod/v4/locales/id.d.cts +4 -0
  912. package/mcp/node_modules/zod/v4/locales/id.d.ts +4 -0
  913. package/mcp/node_modules/zod/v4/locales/id.js +116 -0
  914. package/mcp/node_modules/zod/v4/locales/index.cjs +84 -0
  915. package/mcp/node_modules/zod/v4/locales/index.d.cts +39 -0
  916. package/mcp/node_modules/zod/v4/locales/index.d.ts +39 -0
  917. package/mcp/node_modules/zod/v4/locales/index.js +39 -0
  918. package/mcp/node_modules/zod/v4/locales/it.cjs +143 -0
  919. package/mcp/node_modules/zod/v4/locales/it.d.cts +4 -0
  920. package/mcp/node_modules/zod/v4/locales/it.d.ts +4 -0
  921. package/mcp/node_modules/zod/v4/locales/it.js +117 -0
  922. package/mcp/node_modules/zod/v4/locales/ja.cjs +141 -0
  923. package/mcp/node_modules/zod/v4/locales/ja.d.cts +4 -0
  924. package/mcp/node_modules/zod/v4/locales/ja.d.ts +4 -0
  925. package/mcp/node_modules/zod/v4/locales/ja.js +115 -0
  926. package/mcp/node_modules/zod/v4/locales/kh.cjs +143 -0
  927. package/mcp/node_modules/zod/v4/locales/kh.d.cts +4 -0
  928. package/mcp/node_modules/zod/v4/locales/kh.d.ts +4 -0
  929. package/mcp/node_modules/zod/v4/locales/kh.js +117 -0
  930. package/mcp/node_modules/zod/v4/locales/ko.cjs +147 -0
  931. package/mcp/node_modules/zod/v4/locales/ko.d.cts +4 -0
  932. package/mcp/node_modules/zod/v4/locales/ko.d.ts +4 -0
  933. package/mcp/node_modules/zod/v4/locales/ko.js +121 -0
  934. package/mcp/node_modules/zod/v4/locales/mk.cjs +144 -0
  935. package/mcp/node_modules/zod/v4/locales/mk.d.cts +4 -0
  936. package/mcp/node_modules/zod/v4/locales/mk.d.ts +4 -0
  937. package/mcp/node_modules/zod/v4/locales/mk.js +118 -0
  938. package/mcp/node_modules/zod/v4/locales/ms.cjs +142 -0
  939. package/mcp/node_modules/zod/v4/locales/ms.d.cts +4 -0
  940. package/mcp/node_modules/zod/v4/locales/ms.d.ts +4 -0
  941. package/mcp/node_modules/zod/v4/locales/ms.js +116 -0
  942. package/mcp/node_modules/zod/v4/locales/nl.cjs +143 -0
  943. package/mcp/node_modules/zod/v4/locales/nl.d.cts +4 -0
  944. package/mcp/node_modules/zod/v4/locales/nl.d.ts +4 -0
  945. package/mcp/node_modules/zod/v4/locales/nl.js +117 -0
  946. package/mcp/node_modules/zod/v4/locales/no.cjs +142 -0
  947. package/mcp/node_modules/zod/v4/locales/no.d.cts +4 -0
  948. package/mcp/node_modules/zod/v4/locales/no.d.ts +4 -0
  949. package/mcp/node_modules/zod/v4/locales/no.js +116 -0
  950. package/mcp/node_modules/zod/v4/locales/ota.cjs +143 -0
  951. package/mcp/node_modules/zod/v4/locales/ota.d.cts +4 -0
  952. package/mcp/node_modules/zod/v4/locales/ota.d.ts +4 -0
  953. package/mcp/node_modules/zod/v4/locales/ota.js +117 -0
  954. package/mcp/node_modules/zod/v4/locales/pl.cjs +143 -0
  955. package/mcp/node_modules/zod/v4/locales/pl.d.cts +4 -0
  956. package/mcp/node_modules/zod/v4/locales/pl.d.ts +4 -0
  957. package/mcp/node_modules/zod/v4/locales/pl.js +117 -0
  958. package/mcp/node_modules/zod/v4/locales/ps.cjs +148 -0
  959. package/mcp/node_modules/zod/v4/locales/ps.d.cts +4 -0
  960. package/mcp/node_modules/zod/v4/locales/ps.d.ts +4 -0
  961. package/mcp/node_modules/zod/v4/locales/ps.js +122 -0
  962. package/mcp/node_modules/zod/v4/locales/pt.cjs +142 -0
  963. package/mcp/node_modules/zod/v4/locales/pt.d.cts +4 -0
  964. package/mcp/node_modules/zod/v4/locales/pt.d.ts +4 -0
  965. package/mcp/node_modules/zod/v4/locales/pt.js +116 -0
  966. package/mcp/node_modules/zod/v4/locales/ru.cjs +190 -0
  967. package/mcp/node_modules/zod/v4/locales/ru.d.cts +4 -0
  968. package/mcp/node_modules/zod/v4/locales/ru.d.ts +4 -0
  969. package/mcp/node_modules/zod/v4/locales/ru.js +164 -0
  970. package/mcp/node_modules/zod/v4/locales/sl.cjs +143 -0
  971. package/mcp/node_modules/zod/v4/locales/sl.d.cts +4 -0
  972. package/mcp/node_modules/zod/v4/locales/sl.d.ts +4 -0
  973. package/mcp/node_modules/zod/v4/locales/sl.js +117 -0
  974. package/mcp/node_modules/zod/v4/locales/sv.cjs +144 -0
  975. package/mcp/node_modules/zod/v4/locales/sv.d.cts +4 -0
  976. package/mcp/node_modules/zod/v4/locales/sv.d.ts +4 -0
  977. package/mcp/node_modules/zod/v4/locales/sv.js +118 -0
  978. package/mcp/node_modules/zod/v4/locales/ta.cjs +143 -0
  979. package/mcp/node_modules/zod/v4/locales/ta.d.cts +4 -0
  980. package/mcp/node_modules/zod/v4/locales/ta.d.ts +4 -0
  981. package/mcp/node_modules/zod/v4/locales/ta.js +117 -0
  982. package/mcp/node_modules/zod/v4/locales/th.cjs +143 -0
  983. package/mcp/node_modules/zod/v4/locales/th.d.cts +4 -0
  984. package/mcp/node_modules/zod/v4/locales/th.d.ts +4 -0
  985. package/mcp/node_modules/zod/v4/locales/th.js +117 -0
  986. package/mcp/node_modules/zod/v4/locales/tr.cjs +143 -0
  987. package/mcp/node_modules/zod/v4/locales/tr.d.cts +5 -0
  988. package/mcp/node_modules/zod/v4/locales/tr.d.ts +5 -0
  989. package/mcp/node_modules/zod/v4/locales/tr.js +115 -0
  990. package/mcp/node_modules/zod/v4/locales/ua.cjs +143 -0
  991. package/mcp/node_modules/zod/v4/locales/ua.d.cts +4 -0
  992. package/mcp/node_modules/zod/v4/locales/ua.d.ts +4 -0
  993. package/mcp/node_modules/zod/v4/locales/ua.js +117 -0
  994. package/mcp/node_modules/zod/v4/locales/ur.cjs +143 -0
  995. package/mcp/node_modules/zod/v4/locales/ur.d.cts +4 -0
  996. package/mcp/node_modules/zod/v4/locales/ur.d.ts +4 -0
  997. package/mcp/node_modules/zod/v4/locales/ur.js +117 -0
  998. package/mcp/node_modules/zod/v4/locales/vi.cjs +142 -0
  999. package/mcp/node_modules/zod/v4/locales/vi.d.cts +4 -0
  1000. package/mcp/node_modules/zod/v4/locales/vi.d.ts +4 -0
  1001. package/mcp/node_modules/zod/v4/locales/vi.js +116 -0
  1002. package/mcp/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
  1003. package/mcp/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
  1004. package/mcp/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  1005. package/mcp/node_modules/zod/v4/locales/zh-CN.js +116 -0
  1006. package/mcp/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
  1007. package/mcp/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
  1008. package/mcp/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  1009. package/mcp/node_modules/zod/v4/locales/zh-TW.js +117 -0
  1010. package/mcp/node_modules/zod/v4/mini/checks.cjs +34 -0
  1011. package/mcp/node_modules/zod/v4/mini/checks.d.cts +1 -0
  1012. package/mcp/node_modules/zod/v4/mini/checks.d.ts +1 -0
  1013. package/mcp/node_modules/zod/v4/mini/checks.js +1 -0
  1014. package/mcp/node_modules/zod/v4/mini/coerce.cjs +47 -0
  1015. package/mcp/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  1016. package/mcp/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  1017. package/mcp/node_modules/zod/v4/mini/coerce.js +17 -0
  1018. package/mcp/node_modules/zod/v4/mini/external.cjs +62 -0
  1019. package/mcp/node_modules/zod/v4/mini/external.d.cts +11 -0
  1020. package/mcp/node_modules/zod/v4/mini/external.d.ts +11 -0
  1021. package/mcp/node_modules/zod/v4/mini/external.js +13 -0
  1022. package/mcp/node_modules/zod/v4/mini/index.cjs +32 -0
  1023. package/mcp/node_modules/zod/v4/mini/index.d.cts +3 -0
  1024. package/mcp/node_modules/zod/v4/mini/index.d.ts +3 -0
  1025. package/mcp/node_modules/zod/v4/mini/index.js +3 -0
  1026. package/mcp/node_modules/zod/v4/mini/iso.cjs +60 -0
  1027. package/mcp/node_modules/zod/v4/mini/iso.d.cts +22 -0
  1028. package/mcp/node_modules/zod/v4/mini/iso.d.ts +22 -0
  1029. package/mcp/node_modules/zod/v4/mini/iso.js +30 -0
  1030. package/mcp/node_modules/zod/v4/mini/parse.cjs +8 -0
  1031. package/mcp/node_modules/zod/v4/mini/parse.d.cts +1 -0
  1032. package/mcp/node_modules/zod/v4/mini/parse.d.ts +1 -0
  1033. package/mcp/node_modules/zod/v4/mini/parse.js +1 -0
  1034. package/mcp/node_modules/zod/v4/mini/schemas.cjs +839 -0
  1035. package/mcp/node_modules/zod/v4/mini/schemas.d.cts +356 -0
  1036. package/mcp/node_modules/zod/v4/mini/schemas.d.ts +356 -0
  1037. package/mcp/node_modules/zod/v4/mini/schemas.js +732 -0
  1038. package/mcp/node_modules/zod/v4-mini/index.cjs +17 -0
  1039. package/mcp/node_modules/zod/v4-mini/index.d.cts +1 -0
  1040. package/mcp/node_modules/zod/v4-mini/index.d.ts +1 -0
  1041. package/mcp/node_modules/zod/v4-mini/index.js +1 -0
  1042. package/mcp/package-lock.json +210 -0
  1043. package/next-env.d.ts +1 -1
  1044. package/package.json +1 -1
@@ -0,0 +1,97 @@
1
+ 3.1.2 / 2022-01-27
2
+ ==================
3
+
4
+ * Fix return value for un-parsable strings
5
+
6
+ 3.1.1 / 2021-11-15
7
+ ==================
8
+
9
+ * Fix "thousandsSeparator" incorrecting formatting fractional part
10
+
11
+ 3.1.0 / 2019-01-22
12
+ ==================
13
+
14
+ * Add petabyte (`pb`) support
15
+
16
+ 3.0.0 / 2017-08-31
17
+ ==================
18
+
19
+ * Change "kB" to "KB" in format output
20
+ * Remove support for Node.js 0.6
21
+ * Remove support for ComponentJS
22
+
23
+ 2.5.0 / 2017-03-24
24
+ ==================
25
+
26
+ * Add option "unit"
27
+
28
+ 2.4.0 / 2016-06-01
29
+ ==================
30
+
31
+ * Add option "unitSeparator"
32
+
33
+ 2.3.0 / 2016-02-15
34
+ ==================
35
+
36
+ * Drop partial bytes on all parsed units
37
+ * Fix non-finite numbers to `.format` to return `null`
38
+ * Fix parsing byte string that looks like hex
39
+ * perf: hoist regular expressions
40
+
41
+ 2.2.0 / 2015-11-13
42
+ ==================
43
+
44
+ * add option "decimalPlaces"
45
+ * add option "fixedDecimals"
46
+
47
+ 2.1.0 / 2015-05-21
48
+ ==================
49
+
50
+ * add `.format` export
51
+ * add `.parse` export
52
+
53
+ 2.0.2 / 2015-05-20
54
+ ==================
55
+
56
+ * remove map recreation
57
+ * remove unnecessary object construction
58
+
59
+ 2.0.1 / 2015-05-07
60
+ ==================
61
+
62
+ * fix browserify require
63
+ * remove node.extend dependency
64
+
65
+ 2.0.0 / 2015-04-12
66
+ ==================
67
+
68
+ * add option "case"
69
+ * add option "thousandsSeparator"
70
+ * return "null" on invalid parse input
71
+ * support proper round-trip: bytes(bytes(num)) === num
72
+ * units no longer case sensitive when parsing
73
+
74
+ 1.0.0 / 2014-05-05
75
+ ==================
76
+
77
+ * add negative support. fixes #6
78
+
79
+ 0.3.0 / 2014-03-19
80
+ ==================
81
+
82
+ * added terabyte support
83
+
84
+ 0.2.1 / 2013-04-01
85
+ ==================
86
+
87
+ * add .component
88
+
89
+ 0.2.0 / 2012-10-28
90
+ ==================
91
+
92
+ * bytes(200).should.eql('200b')
93
+
94
+ 0.1.0 / 2012-07-04
95
+ ==================
96
+
97
+ * add bytes to string conversion [yields]
@@ -0,0 +1,23 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2012-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+ Copyright (c) 2015 Jed Watson <jed.watson@me.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining
7
+ a copy of this software and associated documentation files (the
8
+ 'Software'), to deal in the Software without restriction, including
9
+ without limitation the rights to use, copy, modify, merge, publish,
10
+ distribute, sublicense, and/or sell copies of the Software, and to
11
+ permit persons to whom the Software is furnished to do so, subject to
12
+ the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be
15
+ included in all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,152 @@
1
+ # Bytes utility
2
+
3
+ [![NPM Version][npm-image]][npm-url]
4
+ [![NPM Downloads][downloads-image]][downloads-url]
5
+ [![Build Status][ci-image]][ci-url]
6
+ [![Test Coverage][coveralls-image]][coveralls-url]
7
+
8
+ Utility to parse a string bytes (ex: `1TB`) to bytes (`1099511627776`) and vice-versa.
9
+
10
+ ## Installation
11
+
12
+ This is a [Node.js](https://nodejs.org/en/) module available through the
13
+ [npm registry](https://www.npmjs.com/). Installation is done using the
14
+ [`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
15
+
16
+ ```bash
17
+ $ npm install bytes
18
+ ```
19
+
20
+ ## Usage
21
+
22
+ ```js
23
+ var bytes = require('bytes');
24
+ ```
25
+
26
+ #### bytes(number|string value, [options]): number|string|null
27
+
28
+ Default export function. Delegates to either `bytes.format` or `bytes.parse` based on the type of `value`.
29
+
30
+ **Arguments**
31
+
32
+ | Name | Type | Description |
33
+ |---------|----------|--------------------|
34
+ | value | `number`|`string` | Number value to format or string value to parse |
35
+ | options | `Object` | Conversion options for `format` |
36
+
37
+ **Returns**
38
+
39
+ | Name | Type | Description |
40
+ |---------|------------------|-------------------------------------------------|
41
+ | results | `string`|`number`|`null` | Return null upon error. Numeric value in bytes, or string value otherwise. |
42
+
43
+ **Example**
44
+
45
+ ```js
46
+ bytes(1024);
47
+ // output: '1KB'
48
+
49
+ bytes('1KB');
50
+ // output: 1024
51
+ ```
52
+
53
+ #### bytes.format(number value, [options]): string|null
54
+
55
+ Format the given value in bytes into a string. If the value is negative, it is kept as such. If it is a float, it is
56
+ rounded.
57
+
58
+ **Arguments**
59
+
60
+ | Name | Type | Description |
61
+ |---------|----------|--------------------|
62
+ | value | `number` | Value in bytes |
63
+ | options | `Object` | Conversion options |
64
+
65
+ **Options**
66
+
67
+ | Property | Type | Description |
68
+ |-------------------|--------|-----------------------------------------------------------------------------------------|
69
+ | decimalPlaces | `number`|`null` | Maximum number of decimal places to include in output. Default value to `2`. |
70
+ | fixedDecimals | `boolean`|`null` | Whether to always display the maximum number of decimal places. Default value to `false` |
71
+ | thousandsSeparator | `string`|`null` | Example of values: `' '`, `','` and `'.'`... Default value to `''`. |
72
+ | unit | `string`|`null` | The unit in which the result will be returned (B/KB/MB/GB/TB). Default value to `''` (which means auto detect). |
73
+ | unitSeparator | `string`|`null` | Separator to use between number and unit. Default value to `''`. |
74
+
75
+ **Returns**
76
+
77
+ | Name | Type | Description |
78
+ |---------|------------------|-------------------------------------------------|
79
+ | results | `string`|`null` | Return null upon error. String value otherwise. |
80
+
81
+ **Example**
82
+
83
+ ```js
84
+ bytes.format(1024);
85
+ // output: '1KB'
86
+
87
+ bytes.format(1000);
88
+ // output: '1000B'
89
+
90
+ bytes.format(1000, {thousandsSeparator: ' '});
91
+ // output: '1 000B'
92
+
93
+ bytes.format(1024 * 1.7, {decimalPlaces: 0});
94
+ // output: '2KB'
95
+
96
+ bytes.format(1024, {unitSeparator: ' '});
97
+ // output: '1 KB'
98
+ ```
99
+
100
+ #### bytes.parse(string|number value): number|null
101
+
102
+ Parse the string value into an integer in bytes. If no unit is given, or `value`
103
+ is a number, it is assumed the value is in bytes.
104
+
105
+ Supported units and abbreviations are as follows and are case-insensitive:
106
+
107
+ * `b` for bytes
108
+ * `kb` for kilobytes
109
+ * `mb` for megabytes
110
+ * `gb` for gigabytes
111
+ * `tb` for terabytes
112
+ * `pb` for petabytes
113
+
114
+ The units are in powers of two, not ten. This means 1kb = 1024b according to this parser.
115
+
116
+ **Arguments**
117
+
118
+ | Name | Type | Description |
119
+ |---------------|--------|--------------------|
120
+ | value | `string`|`number` | String to parse, or number in bytes. |
121
+
122
+ **Returns**
123
+
124
+ | Name | Type | Description |
125
+ |---------|-------------|-------------------------|
126
+ | results | `number`|`null` | Return null upon error. Value in bytes otherwise. |
127
+
128
+ **Example**
129
+
130
+ ```js
131
+ bytes.parse('1KB');
132
+ // output: 1024
133
+
134
+ bytes.parse('1024');
135
+ // output: 1024
136
+
137
+ bytes.parse(1024);
138
+ // output: 1024
139
+ ```
140
+
141
+ ## License
142
+
143
+ [MIT](LICENSE)
144
+
145
+ [ci-image]: https://badgen.net/github/checks/visionmedia/bytes.js/master?label=ci
146
+ [ci-url]: https://github.com/visionmedia/bytes.js/actions?query=workflow%3Aci
147
+ [coveralls-image]: https://badgen.net/coveralls/c/github/visionmedia/bytes.js/master
148
+ [coveralls-url]: https://coveralls.io/r/visionmedia/bytes.js?branch=master
149
+ [downloads-image]: https://badgen.net/npm/dm/bytes
150
+ [downloads-url]: https://npmjs.org/package/bytes
151
+ [npm-image]: https://badgen.net/npm/v/bytes
152
+ [npm-url]: https://npmjs.org/package/bytes
@@ -0,0 +1,170 @@
1
+ /*!
2
+ * bytes
3
+ * Copyright(c) 2012-2014 TJ Holowaychuk
4
+ * Copyright(c) 2015 Jed Watson
5
+ * MIT Licensed
6
+ */
7
+
8
+ 'use strict';
9
+
10
+ /**
11
+ * Module exports.
12
+ * @public
13
+ */
14
+
15
+ module.exports = bytes;
16
+ module.exports.format = format;
17
+ module.exports.parse = parse;
18
+
19
+ /**
20
+ * Module variables.
21
+ * @private
22
+ */
23
+
24
+ var formatThousandsRegExp = /\B(?=(\d{3})+(?!\d))/g;
25
+
26
+ var formatDecimalsRegExp = /(?:\.0*|(\.[^0]+)0+)$/;
27
+
28
+ var map = {
29
+ b: 1,
30
+ kb: 1 << 10,
31
+ mb: 1 << 20,
32
+ gb: 1 << 30,
33
+ tb: Math.pow(1024, 4),
34
+ pb: Math.pow(1024, 5),
35
+ };
36
+
37
+ var parseRegExp = /^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;
38
+
39
+ /**
40
+ * Convert the given value in bytes into a string or parse to string to an integer in bytes.
41
+ *
42
+ * @param {string|number} value
43
+ * @param {{
44
+ * case: [string],
45
+ * decimalPlaces: [number]
46
+ * fixedDecimals: [boolean]
47
+ * thousandsSeparator: [string]
48
+ * unitSeparator: [string]
49
+ * }} [options] bytes options.
50
+ *
51
+ * @returns {string|number|null}
52
+ */
53
+
54
+ function bytes(value, options) {
55
+ if (typeof value === 'string') {
56
+ return parse(value);
57
+ }
58
+
59
+ if (typeof value === 'number') {
60
+ return format(value, options);
61
+ }
62
+
63
+ return null;
64
+ }
65
+
66
+ /**
67
+ * Format the given value in bytes into a string.
68
+ *
69
+ * If the value is negative, it is kept as such. If it is a float,
70
+ * it is rounded.
71
+ *
72
+ * @param {number} value
73
+ * @param {object} [options]
74
+ * @param {number} [options.decimalPlaces=2]
75
+ * @param {number} [options.fixedDecimals=false]
76
+ * @param {string} [options.thousandsSeparator=]
77
+ * @param {string} [options.unit=]
78
+ * @param {string} [options.unitSeparator=]
79
+ *
80
+ * @returns {string|null}
81
+ * @public
82
+ */
83
+
84
+ function format(value, options) {
85
+ if (!Number.isFinite(value)) {
86
+ return null;
87
+ }
88
+
89
+ var mag = Math.abs(value);
90
+ var thousandsSeparator = (options && options.thousandsSeparator) || '';
91
+ var unitSeparator = (options && options.unitSeparator) || '';
92
+ var decimalPlaces = (options && options.decimalPlaces !== undefined) ? options.decimalPlaces : 2;
93
+ var fixedDecimals = Boolean(options && options.fixedDecimals);
94
+ var unit = (options && options.unit) || '';
95
+
96
+ if (!unit || !map[unit.toLowerCase()]) {
97
+ if (mag >= map.pb) {
98
+ unit = 'PB';
99
+ } else if (mag >= map.tb) {
100
+ unit = 'TB';
101
+ } else if (mag >= map.gb) {
102
+ unit = 'GB';
103
+ } else if (mag >= map.mb) {
104
+ unit = 'MB';
105
+ } else if (mag >= map.kb) {
106
+ unit = 'KB';
107
+ } else {
108
+ unit = 'B';
109
+ }
110
+ }
111
+
112
+ var val = value / map[unit.toLowerCase()];
113
+ var str = val.toFixed(decimalPlaces);
114
+
115
+ if (!fixedDecimals) {
116
+ str = str.replace(formatDecimalsRegExp, '$1');
117
+ }
118
+
119
+ if (thousandsSeparator) {
120
+ str = str.split('.').map(function (s, i) {
121
+ return i === 0
122
+ ? s.replace(formatThousandsRegExp, thousandsSeparator)
123
+ : s
124
+ }).join('.');
125
+ }
126
+
127
+ return str + unitSeparator + unit;
128
+ }
129
+
130
+ /**
131
+ * Parse the string value into an integer in bytes.
132
+ *
133
+ * If no unit is given, it is assumed the value is in bytes.
134
+ *
135
+ * @param {number|string} val
136
+ *
137
+ * @returns {number|null}
138
+ * @public
139
+ */
140
+
141
+ function parse(val) {
142
+ if (typeof val === 'number' && !isNaN(val)) {
143
+ return val;
144
+ }
145
+
146
+ if (typeof val !== 'string') {
147
+ return null;
148
+ }
149
+
150
+ // Test if the string passed is valid
151
+ var results = parseRegExp.exec(val);
152
+ var floatValue;
153
+ var unit = 'b';
154
+
155
+ if (!results) {
156
+ // Nothing could be extracted from the given string
157
+ floatValue = parseInt(val, 10);
158
+ unit = 'b'
159
+ } else {
160
+ // Retrieve the value and the unit
161
+ floatValue = parseFloat(results[1]);
162
+ unit = results[4].toLowerCase();
163
+ }
164
+
165
+ if (isNaN(floatValue)) {
166
+ return null;
167
+ }
168
+
169
+ return Math.floor(map[unit] * floatValue);
170
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "bytes",
3
+ "description": "Utility to parse a string bytes to bytes and vice-versa",
4
+ "version": "3.1.2",
5
+ "author": "TJ Holowaychuk <tj@vision-media.ca> (http://tjholowaychuk.com)",
6
+ "contributors": [
7
+ "Jed Watson <jed.watson@me.com>",
8
+ "Théo FIDRY <theo.fidry@gmail.com>"
9
+ ],
10
+ "license": "MIT",
11
+ "keywords": [
12
+ "byte",
13
+ "bytes",
14
+ "utility",
15
+ "parse",
16
+ "parser",
17
+ "convert",
18
+ "converter"
19
+ ],
20
+ "repository": "visionmedia/bytes.js",
21
+ "devDependencies": {
22
+ "eslint": "7.32.0",
23
+ "eslint-plugin-markdown": "2.2.1",
24
+ "mocha": "9.2.0",
25
+ "nyc": "15.1.0"
26
+ },
27
+ "files": [
28
+ "History.md",
29
+ "LICENSE",
30
+ "Readme.md",
31
+ "index.js"
32
+ ],
33
+ "engines": {
34
+ "node": ">= 0.8"
35
+ },
36
+ "scripts": {
37
+ "lint": "eslint .",
38
+ "test": "mocha --check-leaks --reporter spec",
39
+ "test-ci": "nyc --reporter=lcov --reporter=text npm test",
40
+ "test-cov": "nyc --reporter=html --reporter=text npm test"
41
+ }
42
+ }
@@ -0,0 +1,29 @@
1
+ 1.0.5 / 2023-01-29
2
+ ==================
3
+
4
+ * perf: skip value escaping when unnecessary
5
+
6
+ 1.0.4 / 2017-09-11
7
+ ==================
8
+
9
+ * perf: skip parameter parsing when no parameters
10
+
11
+ 1.0.3 / 2017-09-10
12
+ ==================
13
+
14
+ * perf: remove argument reassignment
15
+
16
+ 1.0.2 / 2016-05-09
17
+ ==================
18
+
19
+ * perf: enable strict mode
20
+
21
+ 1.0.1 / 2015-02-13
22
+ ==================
23
+
24
+ * Improve missing `Content-Type` header error message
25
+
26
+ 1.0.0 / 2015-02-01
27
+ ==================
28
+
29
+ * Initial implementation, derived from `media-typer@0.3.0`
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2015 Douglas Christopher Wilson
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,94 @@
1
+ # content-type
2
+
3
+ [![NPM Version][npm-version-image]][npm-url]
4
+ [![NPM Downloads][npm-downloads-image]][npm-url]
5
+ [![Node.js Version][node-image]][node-url]
6
+ [![Build Status][ci-image]][ci-url]
7
+ [![Coverage Status][coveralls-image]][coveralls-url]
8
+
9
+ Create and parse HTTP Content-Type header according to RFC 7231
10
+
11
+ ## Installation
12
+
13
+ ```sh
14
+ $ npm install content-type
15
+ ```
16
+
17
+ ## API
18
+
19
+ ```js
20
+ var contentType = require('content-type')
21
+ ```
22
+
23
+ ### contentType.parse(string)
24
+
25
+ ```js
26
+ var obj = contentType.parse('image/svg+xml; charset=utf-8')
27
+ ```
28
+
29
+ Parse a `Content-Type` header. This will return an object with the following
30
+ properties (examples are shown for the string `'image/svg+xml; charset=utf-8'`):
31
+
32
+ - `type`: The media type (the type and subtype, always lower case).
33
+ Example: `'image/svg+xml'`
34
+
35
+ - `parameters`: An object of the parameters in the media type (name of parameter
36
+ always lower case). Example: `{charset: 'utf-8'}`
37
+
38
+ Throws a `TypeError` if the string is missing or invalid.
39
+
40
+ ### contentType.parse(req)
41
+
42
+ ```js
43
+ var obj = contentType.parse(req)
44
+ ```
45
+
46
+ Parse the `Content-Type` header from the given `req`. Short-cut for
47
+ `contentType.parse(req.headers['content-type'])`.
48
+
49
+ Throws a `TypeError` if the `Content-Type` header is missing or invalid.
50
+
51
+ ### contentType.parse(res)
52
+
53
+ ```js
54
+ var obj = contentType.parse(res)
55
+ ```
56
+
57
+ Parse the `Content-Type` header set on the given `res`. Short-cut for
58
+ `contentType.parse(res.getHeader('content-type'))`.
59
+
60
+ Throws a `TypeError` if the `Content-Type` header is missing or invalid.
61
+
62
+ ### contentType.format(obj)
63
+
64
+ ```js
65
+ var str = contentType.format({
66
+ type: 'image/svg+xml',
67
+ parameters: { charset: 'utf-8' }
68
+ })
69
+ ```
70
+
71
+ Format an object into a `Content-Type` header. This will return a string of the
72
+ content type for the given object with the following properties (examples are
73
+ shown that produce the string `'image/svg+xml; charset=utf-8'`):
74
+
75
+ - `type`: The media type (will be lower-cased). Example: `'image/svg+xml'`
76
+
77
+ - `parameters`: An object of the parameters in the media type (name of the
78
+ parameter will be lower-cased). Example: `{charset: 'utf-8'}`
79
+
80
+ Throws a `TypeError` if the object contains an invalid type or parameter names.
81
+
82
+ ## License
83
+
84
+ [MIT](LICENSE)
85
+
86
+ [ci-image]: https://badgen.net/github/checks/jshttp/content-type/master?label=ci
87
+ [ci-url]: https://github.com/jshttp/content-type/actions/workflows/ci.yml
88
+ [coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/content-type/master
89
+ [coveralls-url]: https://coveralls.io/r/jshttp/content-type?branch=master
90
+ [node-image]: https://badgen.net/npm/node/content-type
91
+ [node-url]: https://nodejs.org/en/download
92
+ [npm-downloads-image]: https://badgen.net/npm/dm/content-type
93
+ [npm-url]: https://npmjs.org/package/content-type
94
+ [npm-version-image]: https://badgen.net/npm/v/content-type