@emulsify/cli 2.2.0 → 2.3.1

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 (1532) hide show
  1. package/README.md +17 -1
  2. package/dist/handlers/audit.js +103 -0
  3. package/dist/handlers/cacheClear.js +62 -0
  4. package/dist/handlers/componentCreate.js +3 -1
  5. package/dist/handlers/componentInstall.js +8 -6
  6. package/dist/handlers/componentList.js +4 -2
  7. package/dist/handlers/hofs/withEmulsifySystem.js +69 -6
  8. package/dist/handlers/init.js +9 -1
  9. package/dist/handlers/systemInstall.js +77 -31
  10. package/dist/index.js +43 -8
  11. package/dist/lib/constants.js +1 -0
  12. package/dist/schemas/emulsifyProjectConfig.json +61 -2
  13. package/dist/schemas/system.json +1 -1
  14. package/dist/schemas/variant.json +28 -3
  15. package/dist/util/cache/cloneIntoCache.js +212 -11
  16. package/dist/util/cache/copyItemFromCache.js +8 -7
  17. package/dist/util/cache/getCachedItemCheckout.js +2 -2
  18. package/dist/util/cache/getCachedItemPath.js +10 -7
  19. package/dist/util/cache/getJsonFromCachedFile.js +6 -2
  20. package/dist/util/cache/normalizeRepositoryUrl.js +16 -0
  21. package/dist/util/fs/findFileInCurrentPath.js +13 -4
  22. package/dist/util/getAvailableStarters.js +6 -0
  23. package/dist/util/platform/getPlatformInfo.js +9 -3
  24. package/dist/util/platform/getWordPressInfo.js +40 -0
  25. package/dist/util/platform/platformCompatibility.js +104 -0
  26. package/dist/util/project/getEmulsifyConfig.js +4 -0
  27. package/dist/util/system/getAvailableSystems.js +2 -2
  28. package/dist/util/system/validateSystemConfig.js +28 -0
  29. package/package.json +28 -19
  30. package/dist/node_modules/.package-lock.json +0 -884
  31. package/dist/node_modules/@inquirer/ansi/LICENSE +0 -22
  32. package/dist/node_modules/@inquirer/ansi/README.md +0 -89
  33. package/dist/node_modules/@inquirer/ansi/dist/index.d.ts +0 -14
  34. package/dist/node_modules/@inquirer/ansi/dist/index.js +0 -21
  35. package/dist/node_modules/@inquirer/ansi/package.json +0 -78
  36. package/dist/node_modules/@inquirer/checkbox/LICENSE +0 -22
  37. package/dist/node_modules/@inquirer/checkbox/README.md +0 -195
  38. package/dist/node_modules/@inquirer/checkbox/dist/index.d.ts +0 -56
  39. package/dist/node_modules/@inquirer/checkbox/dist/index.js +0 -210
  40. package/dist/node_modules/@inquirer/checkbox/package.json +0 -92
  41. package/dist/node_modules/@inquirer/confirm/LICENSE +0 -22
  42. package/dist/node_modules/@inquirer/confirm/README.md +0 -92
  43. package/dist/node_modules/@inquirer/confirm/dist/index.d.ts +0 -10
  44. package/dist/node_modules/@inquirer/confirm/dist/index.js +0 -48
  45. package/dist/node_modules/@inquirer/confirm/package.json +0 -90
  46. package/dist/node_modules/@inquirer/core/LICENSE +0 -22
  47. package/dist/node_modules/@inquirer/core/README.md +0 -386
  48. package/dist/node_modules/@inquirer/core/dist/index.d.ts +0 -13
  49. package/dist/node_modules/@inquirer/core/dist/index.js +0 -12
  50. package/dist/node_modules/@inquirer/core/dist/lib/Separator.d.ts +0 -10
  51. package/dist/node_modules/@inquirer/core/dist/lib/Separator.js +0 -21
  52. package/dist/node_modules/@inquirer/core/dist/lib/create-prompt.d.ts +0 -4
  53. package/dist/node_modules/@inquirer/core/dist/lib/create-prompt.js +0 -165
  54. package/dist/node_modules/@inquirer/core/dist/lib/errors.d.ts +0 -20
  55. package/dist/node_modules/@inquirer/core/dist/lib/errors.js +0 -21
  56. package/dist/node_modules/@inquirer/core/dist/lib/hook-engine.d.ts +0 -23
  57. package/dist/node_modules/@inquirer/core/dist/lib/hook-engine.js +0 -111
  58. package/dist/node_modules/@inquirer/core/dist/lib/key.d.ts +0 -15
  59. package/dist/node_modules/@inquirer/core/dist/lib/key.js +0 -34
  60. package/dist/node_modules/@inquirer/core/dist/lib/make-theme.d.ts +0 -3
  61. package/dist/node_modules/@inquirer/core/dist/lib/make-theme.js +0 -32
  62. package/dist/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.d.ts +0 -16
  63. package/dist/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js +0 -121
  64. package/dist/node_modules/@inquirer/core/dist/lib/promise-polyfill.d.ts +0 -7
  65. package/dist/node_modules/@inquirer/core/dist/lib/promise-polyfill.js +0 -14
  66. package/dist/node_modules/@inquirer/core/dist/lib/screen-manager.d.ts +0 -14
  67. package/dist/node_modules/@inquirer/core/dist/lib/screen-manager.js +0 -84
  68. package/dist/node_modules/@inquirer/core/dist/lib/theme.d.ts +0 -166
  69. package/dist/node_modules/@inquirer/core/dist/lib/theme.js +0 -29
  70. package/dist/node_modules/@inquirer/core/dist/lib/use-effect.d.ts +0 -2
  71. package/dist/node_modules/@inquirer/core/dist/lib/use-effect.js +0 -11
  72. package/dist/node_modules/@inquirer/core/dist/lib/use-keypress.d.ts +0 -3
  73. package/dist/node_modules/@inquirer/core/dist/lib/use-keypress.js +0 -20
  74. package/dist/node_modules/@inquirer/core/dist/lib/use-memo.d.ts +0 -1
  75. package/dist/node_modules/@inquirer/core/dist/lib/use-memo.js +0 -14
  76. package/dist/node_modules/@inquirer/core/dist/lib/use-prefix.d.ts +0 -5
  77. package/dist/node_modules/@inquirer/core/dist/lib/use-prefix.js +0 -35
  78. package/dist/node_modules/@inquirer/core/dist/lib/use-ref.d.ts +0 -6
  79. package/dist/node_modules/@inquirer/core/dist/lib/use-ref.js +0 -4
  80. package/dist/node_modules/@inquirer/core/dist/lib/use-state.d.ts +0 -4
  81. package/dist/node_modules/@inquirer/core/dist/lib/use-state.js +0 -23
  82. package/dist/node_modules/@inquirer/core/dist/lib/utils.d.ts +0 -13
  83. package/dist/node_modules/@inquirer/core/dist/lib/utils.js +0 -25
  84. package/dist/node_modules/@inquirer/core/package.json +0 -97
  85. package/dist/node_modules/@inquirer/editor/LICENSE +0 -22
  86. package/dist/node_modules/@inquirer/editor/README.md +0 -101
  87. package/dist/node_modules/@inquirer/editor/dist/index.d.ts +0 -21
  88. package/dist/node_modules/@inquirer/editor/dist/index.js +0 -73
  89. package/dist/node_modules/@inquirer/editor/package.json +0 -91
  90. package/dist/node_modules/@inquirer/expand/LICENSE +0 -22
  91. package/dist/node_modules/@inquirer/expand/README.md +0 -141
  92. package/dist/node_modules/@inquirer/expand/dist/index.d.ts +0 -24
  93. package/dist/node_modules/@inquirer/expand/dist/index.js +0 -110
  94. package/dist/node_modules/@inquirer/expand/package.json +0 -90
  95. package/dist/node_modules/@inquirer/external-editor/LICENSE +0 -22
  96. package/dist/node_modules/@inquirer/external-editor/README.md +0 -154
  97. package/dist/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.d.ts +0 -10
  98. package/dist/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.js +0 -13
  99. package/dist/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.d.ts +0 -10
  100. package/dist/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.js +0 -13
  101. package/dist/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.d.ts +0 -10
  102. package/dist/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.js +0 -13
  103. package/dist/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.d.ts +0 -10
  104. package/dist/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.js +0 -13
  105. package/dist/node_modules/@inquirer/external-editor/dist/errors.d.ts +0 -20
  106. package/dist/node_modules/@inquirer/external-editor/dist/errors.js +0 -32
  107. package/dist/node_modules/@inquirer/external-editor/dist/index.d.ts +0 -35
  108. package/dist/node_modules/@inquirer/external-editor/dist/index.js +0 -146
  109. package/dist/node_modules/@inquirer/external-editor/dist/parse-editor-command.d.ts +0 -5
  110. package/dist/node_modules/@inquirer/external-editor/dist/parse-editor-command.js +0 -28
  111. package/dist/node_modules/@inquirer/external-editor/package.json +0 -97
  112. package/dist/node_modules/@inquirer/figures/LICENSE +0 -22
  113. package/dist/node_modules/@inquirer/figures/dist/index.d.ts +0 -275
  114. package/dist/node_modules/@inquirer/figures/dist/index.js +0 -315
  115. package/dist/node_modules/@inquirer/figures/package.json +0 -80
  116. package/dist/node_modules/@inquirer/input/LICENSE +0 -22
  117. package/dist/node_modules/@inquirer/input/README.md +0 -101
  118. package/dist/node_modules/@inquirer/input/dist/index.d.ts +0 -20
  119. package/dist/node_modules/@inquirer/input/dist/index.js +0 -99
  120. package/dist/node_modules/@inquirer/input/package.json +0 -90
  121. package/dist/node_modules/@inquirer/number/LICENSE +0 -22
  122. package/dist/node_modules/@inquirer/number/README.md +0 -95
  123. package/dist/node_modules/@inquirer/number/dist/index.d.ts +0 -13
  124. package/dist/node_modules/@inquirer/number/dist/index.js +0 -95
  125. package/dist/node_modules/@inquirer/number/package.json +0 -90
  126. package/dist/node_modules/@inquirer/password/LICENSE +0 -22
  127. package/dist/node_modules/@inquirer/password/README.md +0 -93
  128. package/dist/node_modules/@inquirer/password/dist/index.d.ts +0 -15
  129. package/dist/node_modules/@inquirer/password/dist/index.js +0 -60
  130. package/dist/node_modules/@inquirer/password/package.json +0 -91
  131. package/dist/node_modules/@inquirer/prompts/LICENSE +0 -22
  132. package/dist/node_modules/@inquirer/prompts/README.md +0 -543
  133. package/dist/node_modules/@inquirer/prompts/dist/index.d.ts +0 -10
  134. package/dist/node_modules/@inquirer/prompts/dist/index.js +0 -10
  135. package/dist/node_modules/@inquirer/prompts/package.json +0 -101
  136. package/dist/node_modules/@inquirer/rawlist/LICENSE +0 -22
  137. package/dist/node_modules/@inquirer/rawlist/README.md +0 -135
  138. package/dist/node_modules/@inquirer/rawlist/dist/index.d.ts +0 -23
  139. package/dist/node_modules/@inquirer/rawlist/dist/index.js +0 -145
  140. package/dist/node_modules/@inquirer/rawlist/package.json +0 -90
  141. package/dist/node_modules/@inquirer/search/LICENSE +0 -22
  142. package/dist/node_modules/@inquirer/search/README.md +0 -213
  143. package/dist/node_modules/@inquirer/search/dist/index.d.ts +0 -33
  144. package/dist/node_modules/@inquirer/search/dist/index.js +0 -195
  145. package/dist/node_modules/@inquirer/search/package.json +0 -91
  146. package/dist/node_modules/@inquirer/select/LICENSE +0 -22
  147. package/dist/node_modules/@inquirer/select/README.md +0 -188
  148. package/dist/node_modules/@inquirer/select/dist/index.d.ts +0 -34
  149. package/dist/node_modules/@inquirer/select/dist/index.js +0 -191
  150. package/dist/node_modules/@inquirer/select/package.json +0 -92
  151. package/dist/node_modules/@inquirer/type/LICENSE +0 -22
  152. package/dist/node_modules/@inquirer/type/dist/index.d.ts +0 -2
  153. package/dist/node_modules/@inquirer/type/dist/index.js +0 -2
  154. package/dist/node_modules/@inquirer/type/dist/inquirer.d.ts +0 -35
  155. package/dist/node_modules/@inquirer/type/dist/inquirer.js +0 -1
  156. package/dist/node_modules/@inquirer/type/dist/utils.d.ts +0 -29
  157. package/dist/node_modules/@inquirer/type/dist/utils.js +0 -2
  158. package/dist/node_modules/@inquirer/type/package.json +0 -87
  159. package/dist/node_modules/@kwsites/file-exists/CHANGELOG.md +0 -12
  160. package/dist/node_modules/@kwsites/file-exists/LICENSE +0 -20
  161. package/dist/node_modules/@kwsites/file-exists/dist/index.d.ts +0 -1
  162. package/dist/node_modules/@kwsites/file-exists/dist/index.js +0 -7
  163. package/dist/node_modules/@kwsites/file-exists/dist/index.js.map +0 -1
  164. package/dist/node_modules/@kwsites/file-exists/dist/src/index.d.ts +0 -19
  165. package/dist/node_modules/@kwsites/file-exists/dist/src/index.js +0 -55
  166. package/dist/node_modules/@kwsites/file-exists/dist/src/index.js.map +0 -1
  167. package/dist/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.d.ts +0 -7
  168. package/dist/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.js +0 -26
  169. package/dist/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.js.map +0 -1
  170. package/dist/node_modules/@kwsites/file-exists/dist/test/exists.spec.d.ts +0 -1
  171. package/dist/node_modules/@kwsites/file-exists/dist/test/exists.spec.js +0 -77
  172. package/dist/node_modules/@kwsites/file-exists/dist/test/exists.spec.js.map +0 -1
  173. package/dist/node_modules/@kwsites/file-exists/package.json +0 -42
  174. package/dist/node_modules/@kwsites/file-exists/readme.md +0 -41
  175. package/dist/node_modules/@kwsites/promise-deferred/LICENSE +0 -21
  176. package/dist/node_modules/@kwsites/promise-deferred/dist/index.d.ts +0 -49
  177. package/dist/node_modules/@kwsites/promise-deferred/dist/index.js +0 -59
  178. package/dist/node_modules/@kwsites/promise-deferred/dist/index.js.map +0 -1
  179. package/dist/node_modules/@kwsites/promise-deferred/package.json +0 -43
  180. package/dist/node_modules/@simple-git/args-pathspec/dist/index.cjs +0 -2
  181. package/dist/node_modules/@simple-git/args-pathspec/dist/index.cjs.map +0 -1
  182. package/dist/node_modules/@simple-git/args-pathspec/dist/index.d.ts +0 -1
  183. package/dist/node_modules/@simple-git/args-pathspec/dist/index.mjs +0 -17
  184. package/dist/node_modules/@simple-git/args-pathspec/dist/index.mjs.map +0 -1
  185. package/dist/node_modules/@simple-git/args-pathspec/dist/src/pathspec.d.ts +0 -8
  186. package/dist/node_modules/@simple-git/args-pathspec/package.json +0 -32
  187. package/dist/node_modules/@simple-git/argv-parser/dist/index.cjs +0 -2
  188. package/dist/node_modules/@simple-git/argv-parser/dist/index.cjs.map +0 -1
  189. package/dist/node_modules/@simple-git/argv-parser/dist/index.d.ts +0 -5
  190. package/dist/node_modules/@simple-git/argv-parser/dist/index.mjs +0 -463
  191. package/dist/node_modules/@simple-git/argv-parser/dist/index.mjs.map +0 -1
  192. package/dist/node_modules/@simple-git/argv-parser/dist/src/args/parse-argv.d.ts +0 -6
  193. package/dist/node_modules/@simple-git/argv-parser/dist/src/args/parse-argv.types.d.ts +0 -59
  194. package/dist/node_modules/@simple-git/argv-parser/dist/src/config/analyse-config.d.ts +0 -3
  195. package/dist/node_modules/@simple-git/argv-parser/dist/src/config/config-operands.d.ts +0 -4
  196. package/dist/node_modules/@simple-git/argv-parser/dist/src/config/config.types.d.ts +0 -6
  197. package/dist/node_modules/@simple-git/argv-parser/dist/src/config/detect-config-action.d.ts +0 -13
  198. package/dist/node_modules/@simple-git/argv-parser/dist/src/env/parse-env.d.ts +0 -6
  199. package/dist/node_modules/@simple-git/argv-parser/dist/src/flags/flags.helpers.d.ts +0 -9
  200. package/dist/node_modules/@simple-git/argv-parser/dist/src/flags/parse-global-flags.d.ts +0 -6
  201. package/dist/node_modules/@simple-git/argv-parser/dist/src/flags/parse-task-flags.d.ts +0 -8
  202. package/dist/node_modules/@simple-git/argv-parser/dist/src/tokens/flag-specs.d.ts +0 -9
  203. package/dist/node_modules/@simple-git/argv-parser/dist/src/tokens/token-expander.d.ts +0 -7
  204. package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/detect-vulnerable-config-writes.d.ts +0 -3
  205. package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/detect-vulnerable-flags.d.ts +0 -3
  206. package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/vulnerability-analysis.d.ts +0 -4
  207. package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/vulnerability-check.d.ts +0 -5
  208. package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/vulnerability.types.d.ts +0 -104
  209. package/dist/node_modules/@simple-git/argv-parser/package.json +0 -36
  210. package/dist/node_modules/@types/node/LICENSE +0 -21
  211. package/dist/node_modules/@types/node/README.md +0 -15
  212. package/dist/node_modules/@types/node/assert/strict.d.ts +0 -68
  213. package/dist/node_modules/@types/node/assert.d.ts +0 -1077
  214. package/dist/node_modules/@types/node/async_hooks.d.ts +0 -711
  215. package/dist/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  216. package/dist/node_modules/@types/node/buffer.d.ts +0 -1760
  217. package/dist/node_modules/@types/node/child_process.d.ts +0 -1362
  218. package/dist/node_modules/@types/node/cluster.d.ts +0 -432
  219. package/dist/node_modules/@types/node/console.d.ts +0 -93
  220. package/dist/node_modules/@types/node/constants.d.ts +0 -14
  221. package/dist/node_modules/@types/node/crypto.d.ts +0 -3941
  222. package/dist/node_modules/@types/node/dgram.d.ts +0 -537
  223. package/dist/node_modules/@types/node/diagnostics_channel.d.ts +0 -563
  224. package/dist/node_modules/@types/node/dns/promises.d.ts +0 -497
  225. package/dist/node_modules/@types/node/dns.d.ts +0 -876
  226. package/dist/node_modules/@types/node/domain.d.ts +0 -150
  227. package/dist/node_modules/@types/node/events.d.ts +0 -1008
  228. package/dist/node_modules/@types/node/fs/promises.d.ts +0 -1468
  229. package/dist/node_modules/@types/node/fs.d.ts +0 -4771
  230. package/dist/node_modules/@types/node/globals.d.ts +0 -150
  231. package/dist/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  232. package/dist/node_modules/@types/node/http.d.ts +0 -2147
  233. package/dist/node_modules/@types/node/http2.d.ts +0 -2489
  234. package/dist/node_modules/@types/node/https.d.ts +0 -400
  235. package/dist/node_modules/@types/node/index.d.ts +0 -114
  236. package/dist/node_modules/@types/node/inspector/promises.d.ts +0 -35
  237. package/dist/node_modules/@types/node/inspector.d.ts +0 -264
  238. package/dist/node_modules/@types/node/inspector.generated.d.ts +0 -4406
  239. package/dist/node_modules/@types/node/module.d.ts +0 -726
  240. package/dist/node_modules/@types/node/net.d.ts +0 -970
  241. package/dist/node_modules/@types/node/os.d.ts +0 -498
  242. package/dist/node_modules/@types/node/package.json +0 -155
  243. package/dist/node_modules/@types/node/path/posix.d.ts +0 -8
  244. package/dist/node_modules/@types/node/path/win32.d.ts +0 -8
  245. package/dist/node_modules/@types/node/path.d.ts +0 -178
  246. package/dist/node_modules/@types/node/perf_hooks.d.ts +0 -604
  247. package/dist/node_modules/@types/node/process.d.ts +0 -2204
  248. package/dist/node_modules/@types/node/punycode.d.ts +0 -89
  249. package/dist/node_modules/@types/node/querystring.d.ts +0 -139
  250. package/dist/node_modules/@types/node/quic.d.ts +0 -897
  251. package/dist/node_modules/@types/node/readline/promises.d.ts +0 -158
  252. package/dist/node_modules/@types/node/readline.d.ts +0 -508
  253. package/dist/node_modules/@types/node/repl.d.ts +0 -420
  254. package/dist/node_modules/@types/node/sea.d.ts +0 -47
  255. package/dist/node_modules/@types/node/sqlite.d.ts +0 -1068
  256. package/dist/node_modules/@types/node/stream/consumers.d.ts +0 -114
  257. package/dist/node_modules/@types/node/stream/iter.d.ts +0 -301
  258. package/dist/node_modules/@types/node/stream/promises.d.ts +0 -211
  259. package/dist/node_modules/@types/node/stream/web.d.ts +0 -300
  260. package/dist/node_modules/@types/node/stream.d.ts +0 -1774
  261. package/dist/node_modules/@types/node/string_decoder.d.ts +0 -27
  262. package/dist/node_modules/@types/node/test/reporters.d.ts +0 -59
  263. package/dist/node_modules/@types/node/test.d.ts +0 -2279
  264. package/dist/node_modules/@types/node/timers/promises.d.ts +0 -93
  265. package/dist/node_modules/@types/node/timers.d.ts +0 -149
  266. package/dist/node_modules/@types/node/tls.d.ts +0 -1193
  267. package/dist/node_modules/@types/node/trace_events.d.ts +0 -103
  268. package/dist/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  269. package/dist/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  270. package/dist/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  271. package/dist/node_modules/@types/node/ts5.6/index.d.ts +0 -116
  272. package/dist/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  273. package/dist/node_modules/@types/node/ts5.7/index.d.ts +0 -116
  274. package/dist/node_modules/@types/node/tty.d.ts +0 -225
  275. package/dist/node_modules/@types/node/url.d.ts +0 -556
  276. package/dist/node_modules/@types/node/util/types.d.ts +0 -558
  277. package/dist/node_modules/@types/node/util.d.ts +0 -1660
  278. package/dist/node_modules/@types/node/v8.d.ts +0 -980
  279. package/dist/node_modules/@types/node/vm.d.ts +0 -1136
  280. package/dist/node_modules/@types/node/wasi.d.ts +0 -131
  281. package/dist/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  282. package/dist/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  283. package/dist/node_modules/@types/node/web-globals/console.d.ts +0 -9
  284. package/dist/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  285. package/dist/node_modules/@types/node/web-globals/domexception.d.ts +0 -83
  286. package/dist/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  287. package/dist/node_modules/@types/node/web-globals/events.d.ts +0 -106
  288. package/dist/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
  289. package/dist/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  290. package/dist/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  291. package/dist/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  292. package/dist/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  293. package/dist/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  294. package/dist/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  295. package/dist/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  296. package/dist/node_modules/@types/node/web-globals/url.d.ts +0 -24
  297. package/dist/node_modules/@types/node/worker_threads.d.ts +0 -668
  298. package/dist/node_modules/@types/node/zlib/iter.d.ts +0 -131
  299. package/dist/node_modules/@types/node/zlib.d.ts +0 -589
  300. package/dist/node_modules/ajv/.runkit_example.js +0 -23
  301. package/dist/node_modules/ajv/LICENSE +0 -22
  302. package/dist/node_modules/ajv/README.md +0 -207
  303. package/dist/node_modules/ajv/dist/2019.d.ts +0 -19
  304. package/dist/node_modules/ajv/dist/2019.js +0 -61
  305. package/dist/node_modules/ajv/dist/2019.js.map +0 -1
  306. package/dist/node_modules/ajv/dist/2020.d.ts +0 -19
  307. package/dist/node_modules/ajv/dist/2020.js +0 -55
  308. package/dist/node_modules/ajv/dist/2020.js.map +0 -1
  309. package/dist/node_modules/ajv/dist/ajv.d.ts +0 -18
  310. package/dist/node_modules/ajv/dist/ajv.js +0 -50
  311. package/dist/node_modules/ajv/dist/ajv.js.map +0 -1
  312. package/dist/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
  313. package/dist/node_modules/ajv/dist/compile/codegen/code.js +0 -156
  314. package/dist/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
  315. package/dist/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
  316. package/dist/node_modules/ajv/dist/compile/codegen/index.js +0 -697
  317. package/dist/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
  318. package/dist/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
  319. package/dist/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
  320. package/dist/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
  321. package/dist/node_modules/ajv/dist/compile/errors.d.ts +0 -13
  322. package/dist/node_modules/ajv/dist/compile/errors.js +0 -123
  323. package/dist/node_modules/ajv/dist/compile/errors.js.map +0 -1
  324. package/dist/node_modules/ajv/dist/compile/index.d.ts +0 -80
  325. package/dist/node_modules/ajv/dist/compile/index.js +0 -242
  326. package/dist/node_modules/ajv/dist/compile/index.js.map +0 -1
  327. package/dist/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
  328. package/dist/node_modules/ajv/dist/compile/jtd/parse.js +0 -350
  329. package/dist/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
  330. package/dist/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
  331. package/dist/node_modules/ajv/dist/compile/jtd/serialize.js +0 -236
  332. package/dist/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
  333. package/dist/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
  334. package/dist/node_modules/ajv/dist/compile/jtd/types.js +0 -14
  335. package/dist/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
  336. package/dist/node_modules/ajv/dist/compile/names.d.ts +0 -20
  337. package/dist/node_modules/ajv/dist/compile/names.js +0 -28
  338. package/dist/node_modules/ajv/dist/compile/names.js.map +0 -1
  339. package/dist/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
  340. package/dist/node_modules/ajv/dist/compile/ref_error.js +0 -12
  341. package/dist/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
  342. package/dist/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
  343. package/dist/node_modules/ajv/dist/compile/resolve.js +0 -155
  344. package/dist/node_modules/ajv/dist/compile/resolve.js.map +0 -1
  345. package/dist/node_modules/ajv/dist/compile/rules.d.ts +0 -28
  346. package/dist/node_modules/ajv/dist/compile/rules.js +0 -26
  347. package/dist/node_modules/ajv/dist/compile/rules.js.map +0 -1
  348. package/dist/node_modules/ajv/dist/compile/util.d.ts +0 -40
  349. package/dist/node_modules/ajv/dist/compile/util.js +0 -178
  350. package/dist/node_modules/ajv/dist/compile/util.js.map +0 -1
  351. package/dist/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
  352. package/dist/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
  353. package/dist/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
  354. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
  355. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
  356. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
  357. package/dist/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
  358. package/dist/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
  359. package/dist/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
  360. package/dist/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
  361. package/dist/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
  362. package/dist/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
  363. package/dist/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
  364. package/dist/node_modules/ajv/dist/compile/validate/index.js +0 -520
  365. package/dist/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
  366. package/dist/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
  367. package/dist/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
  368. package/dist/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
  369. package/dist/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
  370. package/dist/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
  371. package/dist/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
  372. package/dist/node_modules/ajv/dist/core.d.ts +0 -174
  373. package/dist/node_modules/ajv/dist/core.js +0 -618
  374. package/dist/node_modules/ajv/dist/core.js.map +0 -1
  375. package/dist/node_modules/ajv/dist/jtd.d.ts +0 -47
  376. package/dist/node_modules/ajv/dist/jtd.js +0 -72
  377. package/dist/node_modules/ajv/dist/jtd.js.map +0 -1
  378. package/dist/node_modules/ajv/dist/refs/data.json +0 -13
  379. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
  380. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +0 -28
  381. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
  382. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +0 -53
  383. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +0 -17
  384. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +0 -57
  385. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +0 -14
  386. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +0 -37
  387. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +0 -90
  388. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +0 -39
  389. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
  390. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
  391. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
  392. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
  393. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
  394. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
  395. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  396. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  397. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  398. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
  399. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
  400. package/dist/node_modules/ajv/dist/refs/json-schema-draft-06.json +0 -137
  401. package/dist/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
  402. package/dist/node_modules/ajv/dist/refs/json-schema-secure.json +0 -88
  403. package/dist/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
  404. package/dist/node_modules/ajv/dist/refs/jtd-schema.js +0 -118
  405. package/dist/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
  406. package/dist/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
  407. package/dist/node_modules/ajv/dist/runtime/equal.js +0 -7
  408. package/dist/node_modules/ajv/dist/runtime/equal.js.map +0 -1
  409. package/dist/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
  410. package/dist/node_modules/ajv/dist/runtime/parseJson.js +0 -185
  411. package/dist/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
  412. package/dist/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
  413. package/dist/node_modules/ajv/dist/runtime/quote.js +0 -30
  414. package/dist/node_modules/ajv/dist/runtime/quote.js.map +0 -1
  415. package/dist/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
  416. package/dist/node_modules/ajv/dist/runtime/re2.js +0 -6
  417. package/dist/node_modules/ajv/dist/runtime/re2.js.map +0 -1
  418. package/dist/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
  419. package/dist/node_modules/ajv/dist/runtime/timestamp.js +0 -42
  420. package/dist/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
  421. package/dist/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
  422. package/dist/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
  423. package/dist/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
  424. package/dist/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
  425. package/dist/node_modules/ajv/dist/runtime/uri.js +0 -6
  426. package/dist/node_modules/ajv/dist/runtime/uri.js.map +0 -1
  427. package/dist/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
  428. package/dist/node_modules/ajv/dist/runtime/validation_error.js +0 -11
  429. package/dist/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
  430. package/dist/node_modules/ajv/dist/standalone/index.d.ts +0 -6
  431. package/dist/node_modules/ajv/dist/standalone/index.js +0 -90
  432. package/dist/node_modules/ajv/dist/standalone/index.js.map +0 -1
  433. package/dist/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
  434. package/dist/node_modules/ajv/dist/standalone/instance.js +0 -35
  435. package/dist/node_modules/ajv/dist/standalone/instance.js.map +0 -1
  436. package/dist/node_modules/ajv/dist/types/index.d.ts +0 -183
  437. package/dist/node_modules/ajv/dist/types/index.js +0 -3
  438. package/dist/node_modules/ajv/dist/types/index.js.map +0 -1
  439. package/dist/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
  440. package/dist/node_modules/ajv/dist/types/json-schema.js +0 -3
  441. package/dist/node_modules/ajv/dist/types/json-schema.js.map +0 -1
  442. package/dist/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
  443. package/dist/node_modules/ajv/dist/types/jtd-schema.js +0 -3
  444. package/dist/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
  445. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
  446. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
  447. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
  448. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
  449. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
  450. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
  451. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
  452. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
  453. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
  454. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
  455. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
  456. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
  457. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
  458. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
  459. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
  460. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
  461. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
  462. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
  463. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
  464. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
  465. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
  466. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
  467. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
  468. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
  469. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
  470. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
  471. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
  472. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
  473. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
  474. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
  475. package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
  476. package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
  477. package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
  478. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
  479. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
  480. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
  481. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
  482. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
  483. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
  484. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
  485. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
  486. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
  487. package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
  488. package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
  489. package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
  490. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
  491. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
  492. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
  493. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
  494. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
  495. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
  496. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
  497. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
  498. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
  499. package/dist/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
  500. package/dist/node_modules/ajv/dist/vocabularies/code.js +0 -131
  501. package/dist/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
  502. package/dist/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
  503. package/dist/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
  504. package/dist/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
  505. package/dist/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
  506. package/dist/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
  507. package/dist/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
  508. package/dist/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
  509. package/dist/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
  510. package/dist/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
  511. package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
  512. package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
  513. package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
  514. package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
  515. package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
  516. package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
  517. package/dist/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
  518. package/dist/node_modules/ajv/dist/vocabularies/draft2020.js +0 -23
  519. package/dist/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
  520. package/dist/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
  521. package/dist/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
  522. package/dist/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
  523. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
  524. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
  525. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
  526. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
  527. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
  528. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
  529. package/dist/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
  530. package/dist/node_modules/ajv/dist/vocabularies/dynamic/index.js +0 -9
  531. package/dist/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
  532. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
  533. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
  534. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
  535. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
  536. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
  537. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
  538. package/dist/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
  539. package/dist/node_modules/ajv/dist/vocabularies/errors.js +0 -3
  540. package/dist/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
  541. package/dist/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
  542. package/dist/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
  543. package/dist/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
  544. package/dist/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
  545. package/dist/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
  546. package/dist/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
  547. package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
  548. package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +0 -71
  549. package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
  550. package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
  551. package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.js +0 -24
  552. package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
  553. package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
  554. package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.js +0 -43
  555. package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
  556. package/dist/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
  557. package/dist/node_modules/ajv/dist/vocabularies/jtd/error.js +0 -20
  558. package/dist/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
  559. package/dist/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
  560. package/dist/node_modules/ajv/dist/vocabularies/jtd/index.js +0 -29
  561. package/dist/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
  562. package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
  563. package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.js +0 -25
  564. package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
  565. package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
  566. package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.js +0 -22
  567. package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
  568. package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
  569. package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +0 -15
  570. package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
  571. package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
  572. package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.js +0 -149
  573. package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
  574. package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
  575. package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.js +0 -67
  576. package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
  577. package/dist/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
  578. package/dist/node_modules/ajv/dist/vocabularies/jtd/type.js +0 -69
  579. package/dist/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
  580. package/dist/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
  581. package/dist/node_modules/ajv/dist/vocabularies/jtd/union.js +0 -12
  582. package/dist/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
  583. package/dist/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
  584. package/dist/node_modules/ajv/dist/vocabularies/jtd/values.js +0 -51
  585. package/dist/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
  586. package/dist/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
  587. package/dist/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
  588. package/dist/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
  589. package/dist/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
  590. package/dist/node_modules/ajv/dist/vocabularies/next.js +0 -8
  591. package/dist/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
  592. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
  593. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/index.js +0 -7
  594. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
  595. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
  596. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
  597. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
  598. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
  599. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -65
  600. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
  601. package/dist/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
  602. package/dist/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
  603. package/dist/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
  604. package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
  605. package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
  606. package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
  607. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
  608. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
  609. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
  610. package/dist/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
  611. package/dist/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
  612. package/dist/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
  613. package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
  614. package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.js +0 -15
  615. package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
  616. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
  617. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
  618. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
  619. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
  620. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
  621. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
  622. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
  623. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
  624. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
  625. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
  626. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
  627. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
  628. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
  629. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
  630. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
  631. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
  632. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -33
  633. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
  634. package/dist/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
  635. package/dist/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
  636. package/dist/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
  637. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
  638. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
  639. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
  640. package/dist/node_modules/ajv/lib/2019.ts +0 -81
  641. package/dist/node_modules/ajv/lib/2020.ts +0 -75
  642. package/dist/node_modules/ajv/lib/ajv.ts +0 -70
  643. package/dist/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
  644. package/dist/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
  645. package/dist/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
  646. package/dist/node_modules/ajv/lib/compile/errors.ts +0 -184
  647. package/dist/node_modules/ajv/lib/compile/index.ts +0 -324
  648. package/dist/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
  649. package/dist/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -277
  650. package/dist/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
  651. package/dist/node_modules/ajv/lib/compile/names.ts +0 -27
  652. package/dist/node_modules/ajv/lib/compile/ref_error.ts +0 -13
  653. package/dist/node_modules/ajv/lib/compile/resolve.ts +0 -149
  654. package/dist/node_modules/ajv/lib/compile/rules.ts +0 -50
  655. package/dist/node_modules/ajv/lib/compile/util.ts +0 -213
  656. package/dist/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
  657. package/dist/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
  658. package/dist/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
  659. package/dist/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
  660. package/dist/node_modules/ajv/lib/compile/validate/index.ts +0 -582
  661. package/dist/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
  662. package/dist/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
  663. package/dist/node_modules/ajv/lib/core.ts +0 -892
  664. package/dist/node_modules/ajv/lib/jtd.ts +0 -132
  665. package/dist/node_modules/ajv/lib/refs/data.json +0 -13
  666. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
  667. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +0 -53
  668. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +0 -17
  669. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +0 -57
  670. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +0 -14
  671. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +0 -37
  672. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +0 -90
  673. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +0 -39
  674. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
  675. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +0 -48
  676. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +0 -17
  677. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +0 -51
  678. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  679. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  680. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  681. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +0 -90
  682. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +0 -55
  683. package/dist/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -137
  684. package/dist/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -151
  685. package/dist/node_modules/ajv/lib/refs/json-schema-secure.json +0 -88
  686. package/dist/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
  687. package/dist/node_modules/ajv/lib/runtime/equal.ts +0 -7
  688. package/dist/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
  689. package/dist/node_modules/ajv/lib/runtime/quote.ts +0 -31
  690. package/dist/node_modules/ajv/lib/runtime/re2.ts +0 -6
  691. package/dist/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
  692. package/dist/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
  693. package/dist/node_modules/ajv/lib/runtime/uri.ts +0 -6
  694. package/dist/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
  695. package/dist/node_modules/ajv/lib/standalone/index.ts +0 -100
  696. package/dist/node_modules/ajv/lib/standalone/instance.ts +0 -36
  697. package/dist/node_modules/ajv/lib/types/index.ts +0 -244
  698. package/dist/node_modules/ajv/lib/types/json-schema.ts +0 -187
  699. package/dist/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
  700. package/dist/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
  701. package/dist/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
  702. package/dist/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
  703. package/dist/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
  704. package/dist/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
  705. package/dist/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
  706. package/dist/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
  707. package/dist/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
  708. package/dist/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
  709. package/dist/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
  710. package/dist/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
  711. package/dist/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
  712. package/dist/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
  713. package/dist/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
  714. package/dist/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
  715. package/dist/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
  716. package/dist/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
  717. package/dist/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
  718. package/dist/node_modules/ajv/lib/vocabularies/code.ts +0 -168
  719. package/dist/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
  720. package/dist/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
  721. package/dist/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
  722. package/dist/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
  723. package/dist/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
  724. package/dist/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
  725. package/dist/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
  726. package/dist/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
  727. package/dist/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
  728. package/dist/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
  729. package/dist/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
  730. package/dist/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
  731. package/dist/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
  732. package/dist/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
  733. package/dist/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
  734. package/dist/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
  735. package/dist/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
  736. package/dist/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
  737. package/dist/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
  738. package/dist/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
  739. package/dist/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
  740. package/dist/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
  741. package/dist/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
  742. package/dist/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
  743. package/dist/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
  744. package/dist/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
  745. package/dist/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
  746. package/dist/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
  747. package/dist/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
  748. package/dist/node_modules/ajv/lib/vocabularies/next.ts +0 -8
  749. package/dist/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
  750. package/dist/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
  751. package/dist/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
  752. package/dist/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
  753. package/dist/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
  754. package/dist/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
  755. package/dist/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
  756. package/dist/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
  757. package/dist/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
  758. package/dist/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
  759. package/dist/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
  760. package/dist/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
  761. package/dist/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
  762. package/dist/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -39
  763. package/dist/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
  764. package/dist/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
  765. package/dist/node_modules/ajv/package.json +0 -126
  766. package/dist/node_modules/ajv-formats/LICENSE +0 -21
  767. package/dist/node_modules/ajv-formats/README.md +0 -125
  768. package/dist/node_modules/ajv-formats/dist/formats.d.ts +0 -9
  769. package/dist/node_modules/ajv-formats/dist/formats.js +0 -208
  770. package/dist/node_modules/ajv-formats/dist/formats.js.map +0 -1
  771. package/dist/node_modules/ajv-formats/dist/index.d.ts +0 -15
  772. package/dist/node_modules/ajv-formats/dist/index.js +0 -37
  773. package/dist/node_modules/ajv-formats/dist/index.js.map +0 -1
  774. package/dist/node_modules/ajv-formats/dist/limit.d.ts +0 -10
  775. package/dist/node_modules/ajv-formats/dist/limit.js +0 -69
  776. package/dist/node_modules/ajv-formats/dist/limit.js.map +0 -1
  777. package/dist/node_modules/ajv-formats/package.json +0 -74
  778. package/dist/node_modules/ajv-formats/src/formats.ts +0 -269
  779. package/dist/node_modules/ajv-formats/src/index.ts +0 -62
  780. package/dist/node_modules/ajv-formats/src/limit.ts +0 -99
  781. package/dist/node_modules/ansi-align/CHANGELOG.md +0 -58
  782. package/dist/node_modules/ansi-align/LICENSE +0 -13
  783. package/dist/node_modules/ansi-align/README.md +0 -80
  784. package/dist/node_modules/ansi-align/index.js +0 -61
  785. package/dist/node_modules/ansi-align/node_modules/ansi-regex/index.d.ts +0 -37
  786. package/dist/node_modules/ansi-align/node_modules/ansi-regex/index.js +0 -10
  787. package/dist/node_modules/ansi-align/node_modules/ansi-regex/license +0 -9
  788. package/dist/node_modules/ansi-align/node_modules/ansi-regex/package.json +0 -55
  789. package/dist/node_modules/ansi-align/node_modules/ansi-regex/readme.md +0 -78
  790. package/dist/node_modules/ansi-align/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  791. package/dist/node_modules/ansi-align/node_modules/emoji-regex/README.md +0 -73
  792. package/dist/node_modules/ansi-align/node_modules/emoji-regex/es2015/index.js +0 -6
  793. package/dist/node_modules/ansi-align/node_modules/emoji-regex/es2015/text.js +0 -6
  794. package/dist/node_modules/ansi-align/node_modules/emoji-regex/index.d.ts +0 -23
  795. package/dist/node_modules/ansi-align/node_modules/emoji-regex/index.js +0 -6
  796. package/dist/node_modules/ansi-align/node_modules/emoji-regex/package.json +0 -50
  797. package/dist/node_modules/ansi-align/node_modules/emoji-regex/text.js +0 -6
  798. package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  799. package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/index.js +0 -50
  800. package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/license +0 -9
  801. package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/package.json +0 -42
  802. package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/readme.md +0 -39
  803. package/dist/node_modules/ansi-align/node_modules/string-width/index.d.ts +0 -29
  804. package/dist/node_modules/ansi-align/node_modules/string-width/index.js +0 -47
  805. package/dist/node_modules/ansi-align/node_modules/string-width/license +0 -9
  806. package/dist/node_modules/ansi-align/node_modules/string-width/package.json +0 -56
  807. package/dist/node_modules/ansi-align/node_modules/string-width/readme.md +0 -50
  808. package/dist/node_modules/ansi-align/node_modules/strip-ansi/index.d.ts +0 -17
  809. package/dist/node_modules/ansi-align/node_modules/strip-ansi/index.js +0 -4
  810. package/dist/node_modules/ansi-align/node_modules/strip-ansi/license +0 -9
  811. package/dist/node_modules/ansi-align/node_modules/strip-ansi/package.json +0 -54
  812. package/dist/node_modules/ansi-align/node_modules/strip-ansi/readme.md +0 -46
  813. package/dist/node_modules/ansi-align/package.json +0 -43
  814. package/dist/node_modules/ansi-regex/index.d.ts +0 -33
  815. package/dist/node_modules/ansi-regex/index.js +0 -14
  816. package/dist/node_modules/ansi-regex/license +0 -9
  817. package/dist/node_modules/ansi-regex/package.json +0 -61
  818. package/dist/node_modules/ansi-regex/readme.md +0 -66
  819. package/dist/node_modules/boxen/index.d.ts +0 -267
  820. package/dist/node_modules/boxen/index.js +0 -376
  821. package/dist/node_modules/boxen/license +0 -9
  822. package/dist/node_modules/boxen/package.json +0 -69
  823. package/dist/node_modules/boxen/readme.md +0 -300
  824. package/dist/node_modules/camelcase/index.d.ts +0 -102
  825. package/dist/node_modules/camelcase/index.js +0 -110
  826. package/dist/node_modules/camelcase/license +0 -9
  827. package/dist/node_modules/camelcase/package.json +0 -47
  828. package/dist/node_modules/camelcase/readme.md +0 -135
  829. package/dist/node_modules/chalk/license +0 -9
  830. package/dist/node_modules/chalk/package.json +0 -83
  831. package/dist/node_modules/chalk/readme.md +0 -297
  832. package/dist/node_modules/chalk/source/index.d.ts +0 -325
  833. package/dist/node_modules/chalk/source/index.js +0 -225
  834. package/dist/node_modules/chalk/source/utilities.js +0 -33
  835. package/dist/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  836. package/dist/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  837. package/dist/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  838. package/dist/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  839. package/dist/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  840. package/dist/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
  841. package/dist/node_modules/chardet/LICENSE +0 -19
  842. package/dist/node_modules/chardet/README.md +0 -135
  843. package/dist/node_modules/chardet/lib/encoding/ascii.d.ts +0 -6
  844. package/dist/node_modules/chardet/lib/encoding/ascii.js +0 -23
  845. package/dist/node_modules/chardet/lib/encoding/ascii.js.map +0 -1
  846. package/dist/node_modules/chardet/lib/encoding/index.d.ts +0 -14
  847. package/dist/node_modules/chardet/lib/encoding/index.js +0 -3
  848. package/dist/node_modules/chardet/lib/encoding/index.js.map +0 -1
  849. package/dist/node_modules/chardet/lib/encoding/iso2022.d.ts +0 -23
  850. package/dist/node_modules/chardet/lib/encoding/iso2022.js +0 -114
  851. package/dist/node_modules/chardet/lib/encoding/iso2022.js.map +0 -1
  852. package/dist/node_modules/chardet/lib/encoding/mbcs.d.ts +0 -50
  853. package/dist/node_modules/chardet/lib/encoding/mbcs.js +0 -347
  854. package/dist/node_modules/chardet/lib/encoding/mbcs.js.map +0 -1
  855. package/dist/node_modules/chardet/lib/encoding/sbcs.d.ts +0 -94
  856. package/dist/node_modules/chardet/lib/encoding/sbcs.js +0 -935
  857. package/dist/node_modules/chardet/lib/encoding/sbcs.js.map +0 -1
  858. package/dist/node_modules/chardet/lib/encoding/unicode.d.ts +0 -27
  859. package/dist/node_modules/chardet/lib/encoding/unicode.js +0 -109
  860. package/dist/node_modules/chardet/lib/encoding/unicode.js.map +0 -1
  861. package/dist/node_modules/chardet/lib/encoding/utf8.d.ts +0 -6
  862. package/dist/node_modules/chardet/lib/encoding/utf8.js +0 -72
  863. package/dist/node_modules/chardet/lib/encoding/utf8.js.map +0 -1
  864. package/dist/node_modules/chardet/lib/fs/browser.d.ts +0 -2
  865. package/dist/node_modules/chardet/lib/fs/browser.js +0 -6
  866. package/dist/node_modules/chardet/lib/fs/browser.js.map +0 -1
  867. package/dist/node_modules/chardet/lib/fs/node.d.ts +0 -2
  868. package/dist/node_modules/chardet/lib/fs/node.js +0 -11
  869. package/dist/node_modules/chardet/lib/fs/node.js.map +0 -1
  870. package/dist/node_modules/chardet/lib/index.d.ts +0 -20
  871. package/dist/node_modules/chardet/lib/index.js +0 -177
  872. package/dist/node_modules/chardet/lib/index.js.map +0 -1
  873. package/dist/node_modules/chardet/lib/match.d.ts +0 -9
  874. package/dist/node_modules/chardet/lib/match.js +0 -8
  875. package/dist/node_modules/chardet/lib/match.js.map +0 -1
  876. package/dist/node_modules/chardet/lib/utils.d.ts +0 -1
  877. package/dist/node_modules/chardet/lib/utils.js +0 -10
  878. package/dist/node_modules/chardet/lib/utils.js.map +0 -1
  879. package/dist/node_modules/chardet/package.json +0 -100
  880. package/dist/node_modules/cli-boxes/boxes.json +0 -82
  881. package/dist/node_modules/cli-boxes/index.d.ts +0 -127
  882. package/dist/node_modules/cli-boxes/index.js +0 -6
  883. package/dist/node_modules/cli-boxes/license +0 -9
  884. package/dist/node_modules/cli-boxes/package.json +0 -42
  885. package/dist/node_modules/cli-boxes/readme.md +0 -115
  886. package/dist/node_modules/cli-width/LICENSE +0 -13
  887. package/dist/node_modules/cli-width/README.md +0 -71
  888. package/dist/node_modules/cli-width/index.d.ts +0 -13
  889. package/dist/node_modules/cli-width/index.js +0 -49
  890. package/dist/node_modules/cli-width/package.json +0 -40
  891. package/dist/node_modules/colorette/LICENSE.md +0 -7
  892. package/dist/node_modules/colorette/README.md +0 -134
  893. package/dist/node_modules/colorette/index.cjs +0 -218
  894. package/dist/node_modules/colorette/index.d.ts +0 -93
  895. package/dist/node_modules/colorette/index.js +0 -150
  896. package/dist/node_modules/colorette/package.json +0 -40
  897. package/dist/node_modules/commander/LICENSE +0 -22
  898. package/dist/node_modules/commander/Readme.md +0 -1172
  899. package/dist/node_modules/commander/index.js +0 -21
  900. package/dist/node_modules/commander/lib/argument.js +0 -147
  901. package/dist/node_modules/commander/lib/command.js +0 -2790
  902. package/dist/node_modules/commander/lib/error.js +0 -36
  903. package/dist/node_modules/commander/lib/help.js +0 -731
  904. package/dist/node_modules/commander/lib/option.js +0 -377
  905. package/dist/node_modules/commander/lib/suggestSimilar.js +0 -99
  906. package/dist/node_modules/commander/package-support.json +0 -19
  907. package/dist/node_modules/commander/package.json +0 -64
  908. package/dist/node_modules/commander/typings/index.d.ts +0 -1113
  909. package/dist/node_modules/consola/LICENSE +0 -47
  910. package/dist/node_modules/consola/README.md +0 -352
  911. package/dist/node_modules/consola/basic.d.ts +0 -1
  912. package/dist/node_modules/consola/browser.d.ts +0 -1
  913. package/dist/node_modules/consola/core.d.ts +0 -1
  914. package/dist/node_modules/consola/dist/basic.cjs +0 -32
  915. package/dist/node_modules/consola/dist/basic.d.cts +0 -23
  916. package/dist/node_modules/consola/dist/basic.d.mts +0 -21
  917. package/dist/node_modules/consola/dist/basic.d.ts +0 -23
  918. package/dist/node_modules/consola/dist/basic.mjs +0 -24
  919. package/dist/node_modules/consola/dist/browser.cjs +0 -84
  920. package/dist/node_modules/consola/dist/browser.d.cts +0 -23
  921. package/dist/node_modules/consola/dist/browser.d.mts +0 -21
  922. package/dist/node_modules/consola/dist/browser.d.ts +0 -23
  923. package/dist/node_modules/consola/dist/browser.mjs +0 -76
  924. package/dist/node_modules/consola/dist/chunks/prompt.cjs +0 -288
  925. package/dist/node_modules/consola/dist/chunks/prompt.mjs +0 -280
  926. package/dist/node_modules/consola/dist/core.cjs +0 -517
  927. package/dist/node_modules/consola/dist/core.d.cts +0 -459
  928. package/dist/node_modules/consola/dist/core.d.mts +0 -459
  929. package/dist/node_modules/consola/dist/core.d.ts +0 -459
  930. package/dist/node_modules/consola/dist/core.mjs +0 -512
  931. package/dist/node_modules/consola/dist/index.cjs +0 -663
  932. package/dist/node_modules/consola/dist/index.d.cts +0 -24
  933. package/dist/node_modules/consola/dist/index.d.mts +0 -22
  934. package/dist/node_modules/consola/dist/index.d.ts +0 -24
  935. package/dist/node_modules/consola/dist/index.mjs +0 -651
  936. package/dist/node_modules/consola/dist/shared/consola.DCGIlDNP.cjs +0 -75
  937. package/dist/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +0 -72
  938. package/dist/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +0 -288
  939. package/dist/node_modules/consola/dist/shared/consola.DwRq1yyg.cjs +0 -312
  940. package/dist/node_modules/consola/dist/utils.cjs +0 -64
  941. package/dist/node_modules/consola/dist/utils.d.cts +0 -286
  942. package/dist/node_modules/consola/dist/utils.d.mts +0 -286
  943. package/dist/node_modules/consola/dist/utils.d.ts +0 -286
  944. package/dist/node_modules/consola/dist/utils.mjs +0 -54
  945. package/dist/node_modules/consola/lib/index.cjs +0 -10
  946. package/dist/node_modules/consola/package.json +0 -136
  947. package/dist/node_modules/consola/utils.d.ts +0 -1
  948. package/dist/node_modules/debug/LICENSE +0 -20
  949. package/dist/node_modules/debug/README.md +0 -481
  950. package/dist/node_modules/debug/package.json +0 -64
  951. package/dist/node_modules/debug/src/browser.js +0 -272
  952. package/dist/node_modules/debug/src/common.js +0 -292
  953. package/dist/node_modules/debug/src/index.js +0 -10
  954. package/dist/node_modules/debug/src/node.js +0 -263
  955. package/dist/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  956. package/dist/node_modules/emoji-regex/README.md +0 -107
  957. package/dist/node_modules/emoji-regex/index.d.ts +0 -3
  958. package/dist/node_modules/emoji-regex/index.js +0 -4
  959. package/dist/node_modules/emoji-regex/index.mjs +0 -4
  960. package/dist/node_modules/emoji-regex/package.json +0 -45
  961. package/dist/node_modules/fast-deep-equal/LICENSE +0 -21
  962. package/dist/node_modules/fast-deep-equal/README.md +0 -96
  963. package/dist/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
  964. package/dist/node_modules/fast-deep-equal/es6/index.js +0 -72
  965. package/dist/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
  966. package/dist/node_modules/fast-deep-equal/es6/react.js +0 -79
  967. package/dist/node_modules/fast-deep-equal/index.d.ts +0 -4
  968. package/dist/node_modules/fast-deep-equal/index.js +0 -46
  969. package/dist/node_modules/fast-deep-equal/package.json +0 -61
  970. package/dist/node_modules/fast-deep-equal/react.d.ts +0 -2
  971. package/dist/node_modules/fast-deep-equal/react.js +0 -53
  972. package/dist/node_modules/fast-string-truncated-width/dist/index.d.ts +0 -4
  973. package/dist/node_modules/fast-string-truncated-width/dist/index.js +0 -111
  974. package/dist/node_modules/fast-string-truncated-width/dist/types.d.ts +0 -19
  975. package/dist/node_modules/fast-string-truncated-width/dist/types.js +0 -2
  976. package/dist/node_modules/fast-string-truncated-width/dist/utils.d.ts +0 -4
  977. package/dist/node_modules/fast-string-truncated-width/dist/utils.js +0 -20
  978. package/dist/node_modules/fast-string-truncated-width/license +0 -21
  979. package/dist/node_modules/fast-string-truncated-width/package.json +0 -35
  980. package/dist/node_modules/fast-string-truncated-width/readme.md +0 -59
  981. package/dist/node_modules/fast-string-width/dist/index.d.ts +0 -4
  982. package/dist/node_modules/fast-string-width/dist/index.js +0 -14
  983. package/dist/node_modules/fast-string-width/license +0 -21
  984. package/dist/node_modules/fast-string-width/package.json +0 -34
  985. package/dist/node_modules/fast-string-width/readme.md +0 -42
  986. package/dist/node_modules/fast-uri/.gitattributes +0 -2
  987. package/dist/node_modules/fast-uri/.github/dependabot.yml +0 -13
  988. package/dist/node_modules/fast-uri/.github/workflows/ci.yml +0 -106
  989. package/dist/node_modules/fast-uri/.github/workflows/lock-threads.yml +0 -19
  990. package/dist/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +0 -24
  991. package/dist/node_modules/fast-uri/LICENSE +0 -30
  992. package/dist/node_modules/fast-uri/README.md +0 -152
  993. package/dist/node_modules/fast-uri/benchmark/benchmark.mjs +0 -159
  994. package/dist/node_modules/fast-uri/benchmark/equal.mjs +0 -51
  995. package/dist/node_modules/fast-uri/benchmark/non-simple-domain.mjs +0 -22
  996. package/dist/node_modules/fast-uri/benchmark/package.json +0 -17
  997. package/dist/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +0 -24
  998. package/dist/node_modules/fast-uri/benchmark/ws-is-secure.mjs +0 -65
  999. package/dist/node_modules/fast-uri/eslint.config.js +0 -6
  1000. package/dist/node_modules/fast-uri/index.js +0 -406
  1001. package/dist/node_modules/fast-uri/lib/schemes.js +0 -267
  1002. package/dist/node_modules/fast-uri/lib/utils.js +0 -443
  1003. package/dist/node_modules/fast-uri/package.json +0 -68
  1004. package/dist/node_modules/fast-uri/test/ajv.test.js +0 -43
  1005. package/dist/node_modules/fast-uri/test/equal.test.js +0 -117
  1006. package/dist/node_modules/fast-uri/test/fixtures/uri-js-parse.json +0 -501
  1007. package/dist/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +0 -120
  1008. package/dist/node_modules/fast-uri/test/parse.test.js +0 -323
  1009. package/dist/node_modules/fast-uri/test/resolve.test.js +0 -87
  1010. package/dist/node_modules/fast-uri/test/rfc-3986.test.js +0 -90
  1011. package/dist/node_modules/fast-uri/test/security-normalization.test.js +0 -39
  1012. package/dist/node_modules/fast-uri/test/security.test.js +0 -133
  1013. package/dist/node_modules/fast-uri/test/serialize.test.js +0 -151
  1014. package/dist/node_modules/fast-uri/test/uri-js-compatibility.test.js +0 -33
  1015. package/dist/node_modules/fast-uri/test/uri-js.test.js +0 -912
  1016. package/dist/node_modules/fast-uri/test/util.test.js +0 -38
  1017. package/dist/node_modules/fast-uri/tsconfig.json +0 -9
  1018. package/dist/node_modules/fast-uri/types/index.d.ts +0 -60
  1019. package/dist/node_modules/fast-uri/types/index.test-d.ts +0 -17
  1020. package/dist/node_modules/fast-wrap-ansi/LICENSE +0 -23
  1021. package/dist/node_modules/fast-wrap-ansi/README.md +0 -26
  1022. package/dist/node_modules/fast-wrap-ansi/lib/main.d.ts +0 -6
  1023. package/dist/node_modules/fast-wrap-ansi/lib/main.js +0 -218
  1024. package/dist/node_modules/fast-wrap-ansi/package.json +0 -51
  1025. package/dist/node_modules/fs-extra/LICENSE +0 -15
  1026. package/dist/node_modules/fs-extra/README.md +0 -294
  1027. package/dist/node_modules/fs-extra/lib/copy/copy-sync.js +0 -176
  1028. package/dist/node_modules/fs-extra/lib/copy/copy.js +0 -180
  1029. package/dist/node_modules/fs-extra/lib/copy/index.js +0 -7
  1030. package/dist/node_modules/fs-extra/lib/empty/index.js +0 -39
  1031. package/dist/node_modules/fs-extra/lib/ensure/file.js +0 -66
  1032. package/dist/node_modules/fs-extra/lib/ensure/index.js +0 -23
  1033. package/dist/node_modules/fs-extra/lib/ensure/link.js +0 -64
  1034. package/dist/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -101
  1035. package/dist/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -34
  1036. package/dist/node_modules/fs-extra/lib/ensure/symlink.js +0 -92
  1037. package/dist/node_modules/fs-extra/lib/esm.mjs +0 -68
  1038. package/dist/node_modules/fs-extra/lib/fs/index.js +0 -146
  1039. package/dist/node_modules/fs-extra/lib/index.js +0 -16
  1040. package/dist/node_modules/fs-extra/lib/json/index.js +0 -16
  1041. package/dist/node_modules/fs-extra/lib/json/jsonfile.js +0 -11
  1042. package/dist/node_modules/fs-extra/lib/json/output-json-sync.js +0 -12
  1043. package/dist/node_modules/fs-extra/lib/json/output-json.js +0 -12
  1044. package/dist/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
  1045. package/dist/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -27
  1046. package/dist/node_modules/fs-extra/lib/mkdirs/utils.js +0 -21
  1047. package/dist/node_modules/fs-extra/lib/move/index.js +0 -7
  1048. package/dist/node_modules/fs-extra/lib/move/move-sync.js +0 -55
  1049. package/dist/node_modules/fs-extra/lib/move/move.js +0 -59
  1050. package/dist/node_modules/fs-extra/lib/output-file/index.js +0 -31
  1051. package/dist/node_modules/fs-extra/lib/path-exists/index.js +0 -12
  1052. package/dist/node_modules/fs-extra/lib/remove/index.js +0 -17
  1053. package/dist/node_modules/fs-extra/lib/util/async.js +0 -29
  1054. package/dist/node_modules/fs-extra/lib/util/stat.js +0 -159
  1055. package/dist/node_modules/fs-extra/lib/util/utimes.js +0 -53
  1056. package/dist/node_modules/fs-extra/package.json +0 -71
  1057. package/dist/node_modules/get-east-asian-width/index.d.ts +0 -60
  1058. package/dist/node_modules/get-east-asian-width/index.js +0 -30
  1059. package/dist/node_modules/get-east-asian-width/license +0 -9
  1060. package/dist/node_modules/get-east-asian-width/lookup-data.js +0 -21
  1061. package/dist/node_modules/get-east-asian-width/lookup.js +0 -138
  1062. package/dist/node_modules/get-east-asian-width/package.json +0 -71
  1063. package/dist/node_modules/get-east-asian-width/readme.md +0 -65
  1064. package/dist/node_modules/get-east-asian-width/utilities.js +0 -24
  1065. package/dist/node_modules/graceful-fs/LICENSE +0 -15
  1066. package/dist/node_modules/graceful-fs/README.md +0 -143
  1067. package/dist/node_modules/graceful-fs/clone.js +0 -23
  1068. package/dist/node_modules/graceful-fs/graceful-fs.js +0 -448
  1069. package/dist/node_modules/graceful-fs/legacy-streams.js +0 -118
  1070. package/dist/node_modules/graceful-fs/package.json +0 -53
  1071. package/dist/node_modules/graceful-fs/polyfills.js +0 -355
  1072. package/dist/node_modules/iconv-lite/LICENSE +0 -21
  1073. package/dist/node_modules/iconv-lite/README.md +0 -138
  1074. package/dist/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -532
  1075. package/dist/node_modules/iconv-lite/encodings/dbcs-data.js +0 -185
  1076. package/dist/node_modules/iconv-lite/encodings/index.js +0 -23
  1077. package/dist/node_modules/iconv-lite/encodings/internal.js +0 -218
  1078. package/dist/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -75
  1079. package/dist/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  1080. package/dist/node_modules/iconv-lite/encodings/sbcs-data.js +0 -178
  1081. package/dist/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  1082. package/dist/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  1083. package/dist/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  1084. package/dist/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  1085. package/dist/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  1086. package/dist/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  1087. package/dist/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  1088. package/dist/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  1089. package/dist/node_modules/iconv-lite/encodings/utf16.js +0 -187
  1090. package/dist/node_modules/iconv-lite/encodings/utf32.js +0 -307
  1091. package/dist/node_modules/iconv-lite/encodings/utf7.js +0 -283
  1092. package/dist/node_modules/iconv-lite/lib/bom-handling.js +0 -48
  1093. package/dist/node_modules/iconv-lite/lib/helpers/merge-exports.js +0 -13
  1094. package/dist/node_modules/iconv-lite/lib/index.d.ts +0 -129
  1095. package/dist/node_modules/iconv-lite/lib/index.js +0 -182
  1096. package/dist/node_modules/iconv-lite/lib/streams.js +0 -105
  1097. package/dist/node_modules/iconv-lite/package.json +0 -70
  1098. package/dist/node_modules/iconv-lite/types/encodings.d.ts +0 -423
  1099. package/dist/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
  1100. package/dist/node_modules/json-schema-traverse/.github/FUNDING.yml +0 -2
  1101. package/dist/node_modules/json-schema-traverse/.github/workflows/build.yml +0 -28
  1102. package/dist/node_modules/json-schema-traverse/.github/workflows/publish.yml +0 -27
  1103. package/dist/node_modules/json-schema-traverse/LICENSE +0 -21
  1104. package/dist/node_modules/json-schema-traverse/README.md +0 -95
  1105. package/dist/node_modules/json-schema-traverse/index.d.ts +0 -40
  1106. package/dist/node_modules/json-schema-traverse/index.js +0 -93
  1107. package/dist/node_modules/json-schema-traverse/package.json +0 -43
  1108. package/dist/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
  1109. package/dist/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
  1110. package/dist/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
  1111. package/dist/node_modules/jsonfile/LICENSE +0 -15
  1112. package/dist/node_modules/jsonfile/README.md +0 -230
  1113. package/dist/node_modules/jsonfile/index.js +0 -88
  1114. package/dist/node_modules/jsonfile/package.json +0 -40
  1115. package/dist/node_modules/jsonfile/utils.js +0 -18
  1116. package/dist/node_modules/ms/index.js +0 -162
  1117. package/dist/node_modules/ms/license.md +0 -21
  1118. package/dist/node_modules/ms/package.json +0 -38
  1119. package/dist/node_modules/ms/readme.md +0 -59
  1120. package/dist/node_modules/mute-stream/LICENSE +0 -15
  1121. package/dist/node_modules/mute-stream/README.md +0 -68
  1122. package/dist/node_modules/mute-stream/lib/index.js +0 -142
  1123. package/dist/node_modules/mute-stream/package.json +0 -54
  1124. package/dist/node_modules/progress/CHANGELOG.md +0 -115
  1125. package/dist/node_modules/progress/LICENSE +0 -22
  1126. package/dist/node_modules/progress/Makefile +0 -8
  1127. package/dist/node_modules/progress/Readme.md +0 -146
  1128. package/dist/node_modules/progress/index.js +0 -1
  1129. package/dist/node_modules/progress/lib/node-progress.js +0 -236
  1130. package/dist/node_modules/progress/package.json +0 -26
  1131. package/dist/node_modules/require-from-string/index.js +0 -34
  1132. package/dist/node_modules/require-from-string/license +0 -21
  1133. package/dist/node_modules/require-from-string/package.json +0 -28
  1134. package/dist/node_modules/require-from-string/readme.md +0 -56
  1135. package/dist/node_modules/safer-buffer/LICENSE +0 -21
  1136. package/dist/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  1137. package/dist/node_modules/safer-buffer/Readme.md +0 -156
  1138. package/dist/node_modules/safer-buffer/dangerous.js +0 -58
  1139. package/dist/node_modules/safer-buffer/package.json +0 -34
  1140. package/dist/node_modules/safer-buffer/safer.js +0 -77
  1141. package/dist/node_modules/safer-buffer/tests.js +0 -406
  1142. package/dist/node_modules/signal-exit/LICENSE.txt +0 -16
  1143. package/dist/node_modules/signal-exit/README.md +0 -74
  1144. package/dist/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
  1145. package/dist/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
  1146. package/dist/node_modules/signal-exit/dist/cjs/browser.js +0 -10
  1147. package/dist/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
  1148. package/dist/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
  1149. package/dist/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
  1150. package/dist/node_modules/signal-exit/dist/cjs/index.js +0 -279
  1151. package/dist/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
  1152. package/dist/node_modules/signal-exit/dist/cjs/package.json +0 -3
  1153. package/dist/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
  1154. package/dist/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
  1155. package/dist/node_modules/signal-exit/dist/cjs/signals.js +0 -42
  1156. package/dist/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
  1157. package/dist/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
  1158. package/dist/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
  1159. package/dist/node_modules/signal-exit/dist/mjs/browser.js +0 -4
  1160. package/dist/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
  1161. package/dist/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
  1162. package/dist/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
  1163. package/dist/node_modules/signal-exit/dist/mjs/index.js +0 -275
  1164. package/dist/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
  1165. package/dist/node_modules/signal-exit/dist/mjs/package.json +0 -3
  1166. package/dist/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
  1167. package/dist/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
  1168. package/dist/node_modules/signal-exit/dist/mjs/signals.js +0 -39
  1169. package/dist/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
  1170. package/dist/node_modules/signal-exit/package.json +0 -106
  1171. package/dist/node_modules/simple-git/dist/cjs/index.js +0 -4898
  1172. package/dist/node_modules/simple-git/dist/cjs/index.js.map +0 -7
  1173. package/dist/node_modules/simple-git/dist/esm/index.js +0 -4745
  1174. package/dist/node_modules/simple-git/dist/esm/index.js.map +0 -7
  1175. package/dist/node_modules/simple-git/dist/esm/package.json +0 -3
  1176. package/dist/node_modules/simple-git/dist/src/lib/api.d.ts +0 -13
  1177. package/dist/node_modules/simple-git/dist/src/lib/args/log-format.d.ts +0 -9
  1178. package/dist/node_modules/simple-git/dist/src/lib/errors/git-construct-error.d.ts +0 -15
  1179. package/dist/node_modules/simple-git/dist/src/lib/errors/git-error.d.ts +0 -30
  1180. package/dist/node_modules/simple-git/dist/src/lib/errors/git-plugin-error.d.ts +0 -7
  1181. package/dist/node_modules/simple-git/dist/src/lib/errors/git-response-error.d.ts +0 -32
  1182. package/dist/node_modules/simple-git/dist/src/lib/errors/task-configuration-error.d.ts +0 -12
  1183. package/dist/node_modules/simple-git/dist/src/lib/git-factory.d.ts +0 -15
  1184. package/dist/node_modules/simple-git/dist/src/lib/git-logger.d.ts +0 -21
  1185. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-branch-delete.d.ts +0 -5
  1186. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-branch.d.ts +0 -2
  1187. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-commit.d.ts +0 -2
  1188. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-diff-summary.d.ts +0 -3
  1189. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-fetch.d.ts +0 -2
  1190. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-list-log-summary.d.ts +0 -6
  1191. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-merge.d.ts +0 -11
  1192. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-move.d.ts +0 -2
  1193. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-pull.d.ts +0 -6
  1194. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-push.d.ts +0 -4
  1195. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-remote-messages.d.ts +0 -5
  1196. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-remote-objects.d.ts +0 -3
  1197. package/dist/node_modules/simple-git/dist/src/lib/plugins/abort-plugin.d.ts +0 -3
  1198. package/dist/node_modules/simple-git/dist/src/lib/plugins/block-unsafe-operations-plugin.d.ts +0 -3
  1199. package/dist/node_modules/simple-git/dist/src/lib/plugins/command-config-prefixing-plugin.d.ts +0 -2
  1200. package/dist/node_modules/simple-git/dist/src/lib/plugins/completion-detection.plugin.d.ts +0 -3
  1201. package/dist/node_modules/simple-git/dist/src/lib/plugins/custom-binary.plugin.d.ts +0 -3
  1202. package/dist/node_modules/simple-git/dist/src/lib/plugins/error-detection.plugin.d.ts +0 -7
  1203. package/dist/node_modules/simple-git/dist/src/lib/plugins/index.d.ts +0 -11
  1204. package/dist/node_modules/simple-git/dist/src/lib/plugins/plugin-store.d.ts +0 -11
  1205. package/dist/node_modules/simple-git/dist/src/lib/plugins/progress-monitor-plugin.d.ts +0 -3
  1206. package/dist/node_modules/simple-git/dist/src/lib/plugins/simple-git-plugin.d.ts +0 -48
  1207. package/dist/node_modules/simple-git/dist/src/lib/plugins/spawn-options-plugin.d.ts +0 -3
  1208. package/dist/node_modules/simple-git/dist/src/lib/plugins/suffix-paths.plugin.d.ts +0 -2
  1209. package/dist/node_modules/simple-git/dist/src/lib/plugins/timout-plugin.d.ts +0 -3
  1210. package/dist/node_modules/simple-git/dist/src/lib/responses/BranchDeleteSummary.d.ts +0 -12
  1211. package/dist/node_modules/simple-git/dist/src/lib/responses/BranchSummary.d.ts +0 -14
  1212. package/dist/node_modules/simple-git/dist/src/lib/responses/CheckIgnore.d.ts +0 -4
  1213. package/dist/node_modules/simple-git/dist/src/lib/responses/CleanSummary.d.ts +0 -9
  1214. package/dist/node_modules/simple-git/dist/src/lib/responses/ConfigList.d.ts +0 -13
  1215. package/dist/node_modules/simple-git/dist/src/lib/responses/DiffSummary.d.ts +0 -10
  1216. package/dist/node_modules/simple-git/dist/src/lib/responses/FileStatusSummary.d.ts +0 -9
  1217. package/dist/node_modules/simple-git/dist/src/lib/responses/GetRemoteSummary.d.ts +0 -11
  1218. package/dist/node_modules/simple-git/dist/src/lib/responses/InitSummary.d.ts +0 -9
  1219. package/dist/node_modules/simple-git/dist/src/lib/responses/MergeSummary.d.ts +0 -16
  1220. package/dist/node_modules/simple-git/dist/src/lib/responses/PullSummary.d.ts +0 -25
  1221. package/dist/node_modules/simple-git/dist/src/lib/responses/StatusSummary.d.ts +0 -19
  1222. package/dist/node_modules/simple-git/dist/src/lib/responses/TagList.d.ts +0 -7
  1223. package/dist/node_modules/simple-git/dist/src/lib/runners/git-executor-chain.d.ts +0 -25
  1224. package/dist/node_modules/simple-git/dist/src/lib/runners/git-executor.d.ts +0 -14
  1225. package/dist/node_modules/simple-git/dist/src/lib/runners/promise-wrapped.d.ts +0 -2
  1226. package/dist/node_modules/simple-git/dist/src/lib/runners/scheduler.d.ts +0 -11
  1227. package/dist/node_modules/simple-git/dist/src/lib/runners/tasks-pending-queue.d.ts +0 -23
  1228. package/dist/node_modules/simple-git/dist/src/lib/simple-git-api.d.ts +0 -20
  1229. package/dist/node_modules/simple-git/dist/src/lib/task-callback.d.ts +0 -2
  1230. package/dist/node_modules/simple-git/dist/src/lib/tasks/apply-patch.d.ts +0 -3
  1231. package/dist/node_modules/simple-git/dist/src/lib/tasks/branch.d.ts +0 -7
  1232. package/dist/node_modules/simple-git/dist/src/lib/tasks/change-working-directory.d.ts +0 -2
  1233. package/dist/node_modules/simple-git/dist/src/lib/tasks/check-ignore.d.ts +0 -2
  1234. package/dist/node_modules/simple-git/dist/src/lib/tasks/check-is-repo.d.ts +0 -9
  1235. package/dist/node_modules/simple-git/dist/src/lib/tasks/checkout.d.ts +0 -2
  1236. package/dist/node_modules/simple-git/dist/src/lib/tasks/clean.d.ts +0 -25
  1237. package/dist/node_modules/simple-git/dist/src/lib/tasks/clone.d.ts +0 -9
  1238. package/dist/node_modules/simple-git/dist/src/lib/tasks/commit.d.ts +0 -4
  1239. package/dist/node_modules/simple-git/dist/src/lib/tasks/config.d.ts +0 -8
  1240. package/dist/node_modules/simple-git/dist/src/lib/tasks/count-objects.d.ts +0 -12
  1241. package/dist/node_modules/simple-git/dist/src/lib/tasks/diff-name-status.d.ts +0 -12
  1242. package/dist/node_modules/simple-git/dist/src/lib/tasks/diff.d.ts +0 -5
  1243. package/dist/node_modules/simple-git/dist/src/lib/tasks/fetch.d.ts +0 -4
  1244. package/dist/node_modules/simple-git/dist/src/lib/tasks/first-commit.d.ts +0 -2
  1245. package/dist/node_modules/simple-git/dist/src/lib/tasks/grep.d.ts +0 -12
  1246. package/dist/node_modules/simple-git/dist/src/lib/tasks/hash-object.d.ts +0 -5
  1247. package/dist/node_modules/simple-git/dist/src/lib/tasks/init.d.ts +0 -3
  1248. package/dist/node_modules/simple-git/dist/src/lib/tasks/log.d.ts +0 -32
  1249. package/dist/node_modules/simple-git/dist/src/lib/tasks/merge.d.ts +0 -4
  1250. package/dist/node_modules/simple-git/dist/src/lib/tasks/move.d.ts +0 -3
  1251. package/dist/node_modules/simple-git/dist/src/lib/tasks/pull.d.ts +0 -3
  1252. package/dist/node_modules/simple-git/dist/src/lib/tasks/push.d.ts +0 -9
  1253. package/dist/node_modules/simple-git/dist/src/lib/tasks/remote.d.ts +0 -8
  1254. package/dist/node_modules/simple-git/dist/src/lib/tasks/reset.d.ts +0 -11
  1255. package/dist/node_modules/simple-git/dist/src/lib/tasks/show.d.ts +0 -2
  1256. package/dist/node_modules/simple-git/dist/src/lib/tasks/stash-list.d.ts +0 -4
  1257. package/dist/node_modules/simple-git/dist/src/lib/tasks/status.d.ts +0 -3
  1258. package/dist/node_modules/simple-git/dist/src/lib/tasks/sub-module.d.ts +0 -5
  1259. package/dist/node_modules/simple-git/dist/src/lib/tasks/tag.d.ts +0 -18
  1260. package/dist/node_modules/simple-git/dist/src/lib/tasks/task.d.ts +0 -14
  1261. package/dist/node_modules/simple-git/dist/src/lib/tasks/version.d.ts +0 -9
  1262. package/dist/node_modules/simple-git/dist/src/lib/types/handlers.d.ts +0 -21
  1263. package/dist/node_modules/simple-git/dist/src/lib/types/index.d.ts +0 -136
  1264. package/dist/node_modules/simple-git/dist/src/lib/types/tasks.d.ts +0 -19
  1265. package/dist/node_modules/simple-git/dist/src/lib/utils/argument-filters.d.ts +0 -14
  1266. package/dist/node_modules/simple-git/dist/src/lib/utils/exit-codes.d.ts +0 -10
  1267. package/dist/node_modules/simple-git/dist/src/lib/utils/git-output-streams.d.ts +0 -7
  1268. package/dist/node_modules/simple-git/dist/src/lib/utils/index.d.ts +0 -8
  1269. package/dist/node_modules/simple-git/dist/src/lib/utils/line-parser.d.ts +0 -15
  1270. package/dist/node_modules/simple-git/dist/src/lib/utils/simple-git-options.d.ts +0 -2
  1271. package/dist/node_modules/simple-git/dist/src/lib/utils/task-options.d.ts +0 -13
  1272. package/dist/node_modules/simple-git/dist/src/lib/utils/task-parser.d.ts +0 -5
  1273. package/dist/node_modules/simple-git/dist/src/lib/utils/util.d.ts +0 -47
  1274. package/dist/node_modules/simple-git/dist/typings/errors.d.ts +0 -5
  1275. package/dist/node_modules/simple-git/dist/typings/index.d.ts +0 -14
  1276. package/dist/node_modules/simple-git/dist/typings/response.d.ts +0 -556
  1277. package/dist/node_modules/simple-git/dist/typings/simple-git.d.ts +0 -1033
  1278. package/dist/node_modules/simple-git/dist/typings/types.d.ts +0 -22
  1279. package/dist/node_modules/simple-git/package.json +0 -51
  1280. package/dist/node_modules/simple-git/promise.js +0 -17
  1281. package/dist/node_modules/simple-git/readme.md +0 -851
  1282. package/dist/node_modules/string-width/index.d.ts +0 -39
  1283. package/dist/node_modules/string-width/index.js +0 -82
  1284. package/dist/node_modules/string-width/license +0 -9
  1285. package/dist/node_modules/string-width/package.json +0 -64
  1286. package/dist/node_modules/string-width/readme.md +0 -66
  1287. package/dist/node_modules/strip-ansi/index.d.ts +0 -15
  1288. package/dist/node_modules/strip-ansi/index.js +0 -19
  1289. package/dist/node_modules/strip-ansi/license +0 -9
  1290. package/dist/node_modules/strip-ansi/package.json +0 -59
  1291. package/dist/node_modules/strip-ansi/readme.md +0 -37
  1292. package/dist/node_modules/type-fest/index.d.ts +0 -178
  1293. package/dist/node_modules/type-fest/license-cc0 +0 -121
  1294. package/dist/node_modules/type-fest/license-mit +0 -9
  1295. package/dist/node_modules/type-fest/package.json +0 -91
  1296. package/dist/node_modules/type-fest/readme.md +0 -1060
  1297. package/dist/node_modules/type-fest/source/all-union-fields.d.ts +0 -88
  1298. package/dist/node_modules/type-fest/source/and.d.ts +0 -25
  1299. package/dist/node_modules/type-fest/source/array-indices.d.ts +0 -23
  1300. package/dist/node_modules/type-fest/source/array-slice.d.ts +0 -109
  1301. package/dist/node_modules/type-fest/source/array-splice.d.ts +0 -99
  1302. package/dist/node_modules/type-fest/source/array-tail.d.ts +0 -76
  1303. package/dist/node_modules/type-fest/source/array-values.d.ts +0 -22
  1304. package/dist/node_modules/type-fest/source/arrayable.d.ts +0 -29
  1305. package/dist/node_modules/type-fest/source/async-return-type.d.ts +0 -23
  1306. package/dist/node_modules/type-fest/source/asyncify.d.ts +0 -32
  1307. package/dist/node_modules/type-fest/source/basic.d.ts +0 -68
  1308. package/dist/node_modules/type-fest/source/camel-case.d.ts +0 -89
  1309. package/dist/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +0 -97
  1310. package/dist/node_modules/type-fest/source/camel-cased-properties.d.ts +0 -43
  1311. package/dist/node_modules/type-fest/source/conditional-except.d.ts +0 -45
  1312. package/dist/node_modules/type-fest/source/conditional-keys.d.ts +0 -47
  1313. package/dist/node_modules/type-fest/source/conditional-pick-deep.d.ts +0 -118
  1314. package/dist/node_modules/type-fest/source/conditional-pick.d.ts +0 -44
  1315. package/dist/node_modules/type-fest/source/conditional-simplify.d.ts +0 -32
  1316. package/dist/node_modules/type-fest/source/delimiter-case.d.ts +0 -78
  1317. package/dist/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +0 -106
  1318. package/dist/node_modules/type-fest/source/delimiter-cased-properties.d.ts +0 -46
  1319. package/dist/node_modules/type-fest/source/distributed-omit.d.ts +0 -89
  1320. package/dist/node_modules/type-fest/source/distributed-pick.d.ts +0 -85
  1321. package/dist/node_modules/type-fest/source/empty-object.d.ts +0 -46
  1322. package/dist/node_modules/type-fest/source/enforce-optional.d.ts +0 -47
  1323. package/dist/node_modules/type-fest/source/entries.d.ts +0 -62
  1324. package/dist/node_modules/type-fest/source/entry.d.ts +0 -65
  1325. package/dist/node_modules/type-fest/source/exact.d.ts +0 -68
  1326. package/dist/node_modules/type-fest/source/except.d.ts +0 -108
  1327. package/dist/node_modules/type-fest/source/find-global-type.d.ts +0 -64
  1328. package/dist/node_modules/type-fest/source/fixed-length-array.d.ts +0 -43
  1329. package/dist/node_modules/type-fest/source/get.d.ts +0 -219
  1330. package/dist/node_modules/type-fest/source/global-this.d.ts +0 -21
  1331. package/dist/node_modules/type-fest/source/greater-than-or-equal.d.ts +0 -22
  1332. package/dist/node_modules/type-fest/source/greater-than.d.ts +0 -56
  1333. package/dist/node_modules/type-fest/source/has-optional-keys.d.ts +0 -21
  1334. package/dist/node_modules/type-fest/source/has-readonly-keys.d.ts +0 -21
  1335. package/dist/node_modules/type-fest/source/has-required-keys.d.ts +0 -59
  1336. package/dist/node_modules/type-fest/source/has-writable-keys.d.ts +0 -21
  1337. package/dist/node_modules/type-fest/source/if-any.d.ts +0 -24
  1338. package/dist/node_modules/type-fest/source/if-empty-object.d.ts +0 -26
  1339. package/dist/node_modules/type-fest/source/if-never.d.ts +0 -24
  1340. package/dist/node_modules/type-fest/source/if-null.d.ts +0 -24
  1341. package/dist/node_modules/type-fest/source/if-unknown.d.ts +0 -24
  1342. package/dist/node_modules/type-fest/source/includes.d.ts +0 -22
  1343. package/dist/node_modules/type-fest/source/int-closed-range.d.ts +0 -35
  1344. package/dist/node_modules/type-fest/source/int-range.d.ts +0 -55
  1345. package/dist/node_modules/type-fest/source/internal/array.d.ts +0 -126
  1346. package/dist/node_modules/type-fest/source/internal/characters.d.ts +0 -67
  1347. package/dist/node_modules/type-fest/source/internal/index.d.ts +0 -8
  1348. package/dist/node_modules/type-fest/source/internal/keys.d.ts +0 -97
  1349. package/dist/node_modules/type-fest/source/internal/numeric.d.ts +0 -118
  1350. package/dist/node_modules/type-fest/source/internal/object.d.ts +0 -236
  1351. package/dist/node_modules/type-fest/source/internal/string.d.ts +0 -210
  1352. package/dist/node_modules/type-fest/source/internal/tuple.d.ts +0 -90
  1353. package/dist/node_modules/type-fest/source/internal/type.d.ts +0 -139
  1354. package/dist/node_modules/type-fest/source/invariant-of.d.ts +0 -76
  1355. package/dist/node_modules/type-fest/source/is-any.d.ts +0 -33
  1356. package/dist/node_modules/type-fest/source/is-equal.d.ts +0 -31
  1357. package/dist/node_modules/type-fest/source/is-float.d.ts +0 -41
  1358. package/dist/node_modules/type-fest/source/is-integer.d.ts +0 -58
  1359. package/dist/node_modules/type-fest/source/is-literal.d.ts +0 -296
  1360. package/dist/node_modules/type-fest/source/is-never.d.ts +0 -42
  1361. package/dist/node_modules/type-fest/source/is-null.d.ts +0 -20
  1362. package/dist/node_modules/type-fest/source/is-tuple.d.ts +0 -89
  1363. package/dist/node_modules/type-fest/source/is-unknown.d.ts +0 -52
  1364. package/dist/node_modules/type-fest/source/iterable-element.d.ts +0 -64
  1365. package/dist/node_modules/type-fest/source/join.d.ts +0 -68
  1366. package/dist/node_modules/type-fest/source/jsonifiable.d.ts +0 -37
  1367. package/dist/node_modules/type-fest/source/jsonify.d.ts +0 -122
  1368. package/dist/node_modules/type-fest/source/kebab-case.d.ts +0 -44
  1369. package/dist/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +0 -63
  1370. package/dist/node_modules/type-fest/source/kebab-cased-properties.d.ts +0 -40
  1371. package/dist/node_modules/type-fest/source/keys-of-union.d.ts +0 -42
  1372. package/dist/node_modules/type-fest/source/last-array-element.d.ts +0 -38
  1373. package/dist/node_modules/type-fest/source/less-than-or-equal.d.ts +0 -22
  1374. package/dist/node_modules/type-fest/source/less-than.d.ts +0 -26
  1375. package/dist/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +0 -36
  1376. package/dist/node_modules/type-fest/source/literal-to-primitive.d.ts +0 -36
  1377. package/dist/node_modules/type-fest/source/literal-union.d.ts +0 -37
  1378. package/dist/node_modules/type-fest/source/merge-deep.d.ts +0 -486
  1379. package/dist/node_modules/type-fest/source/merge-exclusive.d.ts +0 -41
  1380. package/dist/node_modules/type-fest/source/merge.d.ts +0 -48
  1381. package/dist/node_modules/type-fest/source/multidimensional-array.d.ts +0 -44
  1382. package/dist/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +0 -48
  1383. package/dist/node_modules/type-fest/source/non-empty-object.d.ts +0 -35
  1384. package/dist/node_modules/type-fest/source/non-empty-string.d.ts +0 -28
  1385. package/dist/node_modules/type-fest/source/non-empty-tuple.d.ts +0 -21
  1386. package/dist/node_modules/type-fest/source/numeric.d.ts +0 -222
  1387. package/dist/node_modules/type-fest/source/observable-like.d.ts +0 -63
  1388. package/dist/node_modules/type-fest/source/omit-deep.d.ts +0 -167
  1389. package/dist/node_modules/type-fest/source/omit-index-signature.d.ts +0 -95
  1390. package/dist/node_modules/type-fest/source/opaque.d.ts +0 -1
  1391. package/dist/node_modules/type-fest/source/optional-keys-of.d.ts +0 -39
  1392. package/dist/node_modules/type-fest/source/or.d.ts +0 -25
  1393. package/dist/node_modules/type-fest/source/override-properties.d.ts +0 -36
  1394. package/dist/node_modules/type-fest/source/package-json.d.ts +0 -676
  1395. package/dist/node_modules/type-fest/source/partial-deep.d.ts +0 -151
  1396. package/dist/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +0 -78
  1397. package/dist/node_modules/type-fest/source/pascal-case.d.ts +0 -42
  1398. package/dist/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +0 -62
  1399. package/dist/node_modules/type-fest/source/pascal-cased-properties.d.ts +0 -36
  1400. package/dist/node_modules/type-fest/source/paths.d.ts +0 -262
  1401. package/dist/node_modules/type-fest/source/pick-deep.d.ts +0 -149
  1402. package/dist/node_modules/type-fest/source/pick-index-signature.d.ts +0 -50
  1403. package/dist/node_modules/type-fest/source/primitive.d.ts +0 -13
  1404. package/dist/node_modules/type-fest/source/promisable.d.ts +0 -25
  1405. package/dist/node_modules/type-fest/source/readonly-deep.d.ts +0 -81
  1406. package/dist/node_modules/type-fest/source/readonly-keys-of.d.ts +0 -30
  1407. package/dist/node_modules/type-fest/source/readonly-tuple.d.ts +0 -41
  1408. package/dist/node_modules/type-fest/source/replace.d.ts +0 -85
  1409. package/dist/node_modules/type-fest/source/require-all-or-none.d.ts +0 -51
  1410. package/dist/node_modules/type-fest/source/require-at-least-one.d.ts +0 -47
  1411. package/dist/node_modules/type-fest/source/require-exactly-one.d.ts +0 -45
  1412. package/dist/node_modules/type-fest/source/require-one-or-none.d.ts +0 -46
  1413. package/dist/node_modules/type-fest/source/required-deep.d.ts +0 -78
  1414. package/dist/node_modules/type-fest/source/required-keys-of.d.ts +0 -30
  1415. package/dist/node_modules/type-fest/source/schema.d.ts +0 -114
  1416. package/dist/node_modules/type-fest/source/screaming-snake-case.d.ts +0 -28
  1417. package/dist/node_modules/type-fest/source/set-field-type.d.ts +0 -65
  1418. package/dist/node_modules/type-fest/source/set-non-nullable-deep.d.ts +0 -83
  1419. package/dist/node_modules/type-fest/source/set-non-nullable.d.ts +0 -39
  1420. package/dist/node_modules/type-fest/source/set-optional.d.ts +0 -38
  1421. package/dist/node_modules/type-fest/source/set-parameter-type.d.ts +0 -117
  1422. package/dist/node_modules/type-fest/source/set-readonly.d.ts +0 -39
  1423. package/dist/node_modules/type-fest/source/set-required-deep.d.ts +0 -68
  1424. package/dist/node_modules/type-fest/source/set-required.d.ts +0 -70
  1425. package/dist/node_modules/type-fest/source/set-return-type.d.ts +0 -29
  1426. package/dist/node_modules/type-fest/source/shared-union-fields-deep.d.ts +0 -178
  1427. package/dist/node_modules/type-fest/source/shared-union-fields.d.ts +0 -76
  1428. package/dist/node_modules/type-fest/source/simplify-deep.d.ts +0 -115
  1429. package/dist/node_modules/type-fest/source/simplify.d.ts +0 -58
  1430. package/dist/node_modules/type-fest/source/single-key-object.d.ts +0 -29
  1431. package/dist/node_modules/type-fest/source/snake-case.d.ts +0 -45
  1432. package/dist/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +0 -63
  1433. package/dist/node_modules/type-fest/source/snake-cased-properties.d.ts +0 -40
  1434. package/dist/node_modules/type-fest/source/split.d.ts +0 -88
  1435. package/dist/node_modules/type-fest/source/spread.d.ts +0 -84
  1436. package/dist/node_modules/type-fest/source/string-key-of.d.ts +0 -25
  1437. package/dist/node_modules/type-fest/source/string-repeat.d.ts +0 -47
  1438. package/dist/node_modules/type-fest/source/string-slice.d.ts +0 -37
  1439. package/dist/node_modules/type-fest/source/stringified.d.ts +0 -23
  1440. package/dist/node_modules/type-fest/source/structured-cloneable.d.ts +0 -92
  1441. package/dist/node_modules/type-fest/source/subtract.d.ts +0 -83
  1442. package/dist/node_modules/type-fest/source/sum.d.ts +0 -78
  1443. package/dist/node_modules/type-fest/source/tagged-union.d.ts +0 -51
  1444. package/dist/node_modules/type-fest/source/tagged.d.ts +0 -256
  1445. package/dist/node_modules/type-fest/source/trim.d.ts +0 -27
  1446. package/dist/node_modules/type-fest/source/tsconfig-json.d.ts +0 -1294
  1447. package/dist/node_modules/type-fest/source/tuple-to-object.d.ts +0 -42
  1448. package/dist/node_modules/type-fest/source/tuple-to-union.d.ts +0 -51
  1449. package/dist/node_modules/type-fest/source/typed-array.d.ts +0 -17
  1450. package/dist/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +0 -80
  1451. package/dist/node_modules/type-fest/source/union-to-intersection.d.ts +0 -61
  1452. package/dist/node_modules/type-fest/source/union-to-tuple.d.ts +0 -56
  1453. package/dist/node_modules/type-fest/source/unknown-array.d.ts +0 -25
  1454. package/dist/node_modules/type-fest/source/unknown-map.d.ts +0 -24
  1455. package/dist/node_modules/type-fest/source/unknown-record.d.ts +0 -31
  1456. package/dist/node_modules/type-fest/source/unknown-set.d.ts +0 -24
  1457. package/dist/node_modules/type-fest/source/value-of.d.ts +0 -42
  1458. package/dist/node_modules/type-fest/source/words.d.ts +0 -118
  1459. package/dist/node_modules/type-fest/source/writable-deep.d.ts +0 -83
  1460. package/dist/node_modules/type-fest/source/writable-keys-of.d.ts +0 -33
  1461. package/dist/node_modules/type-fest/source/writable.d.ts +0 -68
  1462. package/dist/node_modules/undici-types/LICENSE +0 -21
  1463. package/dist/node_modules/undici-types/README.md +0 -6
  1464. package/dist/node_modules/undici-types/agent.d.ts +0 -30
  1465. package/dist/node_modules/undici-types/api.d.ts +0 -43
  1466. package/dist/node_modules/undici-types/balanced-pool.d.ts +0 -30
  1467. package/dist/node_modules/undici-types/cache-interceptor.d.ts +0 -179
  1468. package/dist/node_modules/undici-types/cache.d.ts +0 -36
  1469. package/dist/node_modules/undici-types/client-stats.d.ts +0 -15
  1470. package/dist/node_modules/undici-types/client.d.ts +0 -129
  1471. package/dist/node_modules/undici-types/connector.d.ts +0 -36
  1472. package/dist/node_modules/undici-types/content-type.d.ts +0 -21
  1473. package/dist/node_modules/undici-types/cookies.d.ts +0 -30
  1474. package/dist/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  1475. package/dist/node_modules/undici-types/dispatcher.d.ts +0 -253
  1476. package/dist/node_modules/undici-types/dispatcher1-wrapper.d.ts +0 -7
  1477. package/dist/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  1478. package/dist/node_modules/undici-types/errors.d.ts +0 -177
  1479. package/dist/node_modules/undici-types/eventsource.d.ts +0 -66
  1480. package/dist/node_modules/undici-types/fetch.d.ts +0 -231
  1481. package/dist/node_modules/undici-types/formdata.d.ts +0 -108
  1482. package/dist/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  1483. package/dist/node_modules/undici-types/global-origin.d.ts +0 -7
  1484. package/dist/node_modules/undici-types/h2c-client.d.ts +0 -73
  1485. package/dist/node_modules/undici-types/handlers.d.ts +0 -14
  1486. package/dist/node_modules/undici-types/header.d.ts +0 -165
  1487. package/dist/node_modules/undici-types/index.d.ts +0 -93
  1488. package/dist/node_modules/undici-types/interceptors.d.ts +0 -80
  1489. package/dist/node_modules/undici-types/mock-agent.d.ts +0 -68
  1490. package/dist/node_modules/undici-types/mock-call-history.d.ts +0 -111
  1491. package/dist/node_modules/undici-types/mock-client.d.ts +0 -27
  1492. package/dist/node_modules/undici-types/mock-errors.d.ts +0 -12
  1493. package/dist/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  1494. package/dist/node_modules/undici-types/mock-pool.d.ts +0 -27
  1495. package/dist/node_modules/undici-types/package.json +0 -55
  1496. package/dist/node_modules/undici-types/patch.d.ts +0 -29
  1497. package/dist/node_modules/undici-types/pool-stats.d.ts +0 -19
  1498. package/dist/node_modules/undici-types/pool.d.ts +0 -39
  1499. package/dist/node_modules/undici-types/proxy-agent.d.ts +0 -29
  1500. package/dist/node_modules/undici-types/readable.d.ts +0 -68
  1501. package/dist/node_modules/undici-types/retry-agent.d.ts +0 -8
  1502. package/dist/node_modules/undici-types/retry-handler.d.ts +0 -125
  1503. package/dist/node_modules/undici-types/round-robin-pool.d.ts +0 -39
  1504. package/dist/node_modules/undici-types/snapshot-agent.d.ts +0 -113
  1505. package/dist/node_modules/undici-types/socks5-proxy-agent.d.ts +0 -25
  1506. package/dist/node_modules/undici-types/util.d.ts +0 -18
  1507. package/dist/node_modules/undici-types/utility.d.ts +0 -7
  1508. package/dist/node_modules/undici-types/webidl.d.ts +0 -346
  1509. package/dist/node_modules/undici-types/websocket.d.ts +0 -188
  1510. package/dist/node_modules/universalify/LICENSE +0 -20
  1511. package/dist/node_modules/universalify/README.md +0 -76
  1512. package/dist/node_modules/universalify/index.js +0 -24
  1513. package/dist/node_modules/universalify/package.json +0 -34
  1514. package/dist/node_modules/widest-line/index.d.ts +0 -12
  1515. package/dist/node_modules/widest-line/index.js +0 -11
  1516. package/dist/node_modules/widest-line/license +0 -9
  1517. package/dist/node_modules/widest-line/package.json +0 -60
  1518. package/dist/node_modules/widest-line/readme.md +0 -26
  1519. package/dist/node_modules/wrap-ansi/index.d.ts +0 -41
  1520. package/dist/node_modules/wrap-ansi/index.js +0 -222
  1521. package/dist/node_modules/wrap-ansi/license +0 -9
  1522. package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/index.d.ts +0 -236
  1523. package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/index.js +0 -223
  1524. package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/license +0 -9
  1525. package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/package.json +0 -54
  1526. package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/readme.md +0 -173
  1527. package/dist/node_modules/wrap-ansi/package.json +0 -69
  1528. package/dist/node_modules/wrap-ansi/readme.md +0 -75
  1529. package/dist/package-lock.json +0 -10655
  1530. package/dist/package.json +0 -76
  1531. package/dist/scripts/jsonSchemaToTs.js +0 -16
  1532. package/dist/scripts/versionDevelop.js +0 -116
@@ -1,1760 +0,0 @@
1
- declare module "node:buffer" {
2
- import { ReadableStream } from "node:stream/web";
3
- /**
4
- * This function returns `true` if `input` contains only valid UTF-8-encoded data,
5
- * including the case in which `input` is empty.
6
- *
7
- * Throws if the `input` is a detached array buffer.
8
- * @since v19.4.0, v18.14.0
9
- * @param input The input to validate.
10
- */
11
- export function isUtf8(input: ArrayBuffer | NodeJS.TypedArray): boolean;
12
- /**
13
- * This function returns `true` if `input` contains only valid ASCII-encoded data,
14
- * including the case in which `input` is empty.
15
- *
16
- * Throws if the `input` is a detached array buffer.
17
- * @since v19.6.0, v18.15.0
18
- * @param input The input to validate.
19
- */
20
- export function isAscii(input: ArrayBuffer | NodeJS.TypedArray): boolean;
21
- export let INSPECT_MAX_BYTES: number;
22
- export const kMaxLength: number;
23
- export const kStringMaxLength: number;
24
- export const constants: {
25
- MAX_LENGTH: number;
26
- MAX_STRING_LENGTH: number;
27
- };
28
- export type TranscodeEncoding =
29
- | "ascii"
30
- | "utf8"
31
- | "utf-8"
32
- | "utf16le"
33
- | "utf-16le"
34
- | "ucs2"
35
- | "ucs-2"
36
- | "latin1"
37
- | "binary";
38
- /**
39
- * Re-encodes the given `Buffer` or `Uint8Array` instance from one character
40
- * encoding to another. Returns a new `Buffer` instance.
41
- *
42
- * Throws if the `fromEnc` or `toEnc` specify invalid character encodings or if
43
- * conversion from `fromEnc` to `toEnc` is not permitted.
44
- *
45
- * Encodings supported by `buffer.transcode()` are: `'ascii'`, `'utf8'`, `'utf16le'`, `'ucs2'`, `'latin1'`, and `'binary'`.
46
- *
47
- * The transcoding process will use substitution characters if a given byte
48
- * sequence cannot be adequately represented in the target encoding. For instance:
49
- *
50
- * ```js
51
- * import { Buffer, transcode } from 'node:buffer';
52
- *
53
- * const newBuf = transcode(Buffer.from('€'), 'utf8', 'ascii');
54
- * console.log(newBuf.toString('ascii'));
55
- * // Prints: '?'
56
- * ```
57
- *
58
- * Because the Euro (`€`) sign is not representable in US-ASCII, it is replaced
59
- * with `?` in the transcoded `Buffer`.
60
- * @since v7.1.0
61
- * @param source A `Buffer` or `Uint8Array` instance.
62
- * @param fromEnc The current encoding.
63
- * @param toEnc To target encoding.
64
- */
65
- export function transcode(
66
- source: Uint8Array,
67
- fromEnc: TranscodeEncoding,
68
- toEnc: TranscodeEncoding,
69
- ): NonSharedBuffer;
70
- /**
71
- * Resolves a `'blob:nodedata:...'` an associated `Blob` object registered using
72
- * a prior call to `URL.createObjectURL()`.
73
- * @since v16.7.0
74
- * @param id A `'blob:nodedata:...` URL string returned by a prior call to `URL.createObjectURL()`.
75
- */
76
- export function resolveObjectURL(id: string): Blob | undefined;
77
- export { type AllowSharedBuffer, Buffer, type NonSharedBuffer };
78
- export type WithImplicitCoercion<T> =
79
- | T
80
- | { valueOf(): T }
81
- | (T extends string ? { [Symbol.toPrimitive](hint: "string"): T } : never);
82
- global {
83
- namespace NodeJS {
84
- export { BufferEncoding };
85
- }
86
- // Buffer class
87
- type BufferEncoding =
88
- | "ascii"
89
- | "utf8"
90
- | "utf-8"
91
- | "utf16le"
92
- | "utf-16le"
93
- | "ucs2"
94
- | "ucs-2"
95
- | "base64"
96
- | "base64url"
97
- | "latin1"
98
- | "binary"
99
- | "hex";
100
- /**
101
- * Raw data is stored in instances of the Buffer class.
102
- * A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized.
103
- * Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'base64url'|'binary'(deprecated)|'hex'
104
- */
105
- interface BufferConstructor {
106
- // see buffer.buffer.d.ts for implementation specific to TypeScript 5.7 and later
107
- // see ts5.6/buffer.buffer.d.ts for implementation specific to TypeScript 5.6 and earlier
108
-
109
- /**
110
- * Returns `true` if `obj` is a `Buffer`, `false` otherwise.
111
- *
112
- * ```js
113
- * import { Buffer } from 'node:buffer';
114
- *
115
- * Buffer.isBuffer(Buffer.alloc(10)); // true
116
- * Buffer.isBuffer(Buffer.from('foo')); // true
117
- * Buffer.isBuffer('a string'); // false
118
- * Buffer.isBuffer([]); // false
119
- * Buffer.isBuffer(new Uint8Array(1024)); // false
120
- * ```
121
- * @since v0.1.101
122
- */
123
- isBuffer(obj: any): obj is Buffer;
124
- /**
125
- * Returns `true` if `encoding` is the name of a supported character encoding,
126
- * or `false` otherwise.
127
- *
128
- * ```js
129
- * import { Buffer } from 'node:buffer';
130
- *
131
- * console.log(Buffer.isEncoding('utf8'));
132
- * // Prints: true
133
- *
134
- * console.log(Buffer.isEncoding('hex'));
135
- * // Prints: true
136
- *
137
- * console.log(Buffer.isEncoding('utf/8'));
138
- * // Prints: false
139
- *
140
- * console.log(Buffer.isEncoding(''));
141
- * // Prints: false
142
- * ```
143
- * @since v0.9.1
144
- * @param encoding A character encoding name to check.
145
- */
146
- isEncoding(encoding: string): encoding is BufferEncoding;
147
- /**
148
- * Returns the byte length of a string when encoded using `encoding`.
149
- * This is not the same as [`String.prototype.length`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length), which does not account
150
- * for the encoding that is used to convert the string into bytes.
151
- *
152
- * For `'base64'`, `'base64url'`, and `'hex'`, this function assumes valid input.
153
- * For strings that contain non-base64/hex-encoded data (e.g. whitespace), the
154
- * return value might be greater than the length of a `Buffer` created from the
155
- * string.
156
- *
157
- * ```js
158
- * import { Buffer } from 'node:buffer';
159
- *
160
- * const str = '\u00bd + \u00bc = \u00be';
161
- *
162
- * console.log(`${str}: ${str.length} characters, ` +
163
- * `${Buffer.byteLength(str, 'utf8')} bytes`);
164
- * // Prints: ½ + ¼ = ¾: 9 characters, 12 bytes
165
- * ```
166
- *
167
- * When `string` is a
168
- * `Buffer`/[`DataView`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView)/[`TypedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/-
169
- * Reference/Global_Objects/TypedArray)/[`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer)/[`SharedArrayBuffer`](https://develop-
170
- * er.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer), the byte length as reported by `.byteLength`is returned.
171
- * @since v0.1.90
172
- * @param string A value to calculate the length of.
173
- * @param [encoding='utf8'] If `string` is a string, this is its encoding.
174
- * @return The number of bytes contained within `string`.
175
- */
176
- byteLength(
177
- string: string | NodeJS.ArrayBufferView | ArrayBufferLike,
178
- encoding?: BufferEncoding,
179
- ): number;
180
- /**
181
- * Compares `buf1` to `buf2`, typically for the purpose of sorting arrays of `Buffer` instances. This is equivalent to calling `buf1.compare(buf2)`.
182
- *
183
- * ```js
184
- * import { Buffer } from 'node:buffer';
185
- *
186
- * const buf1 = Buffer.from('1234');
187
- * const buf2 = Buffer.from('0123');
188
- * const arr = [buf1, buf2];
189
- *
190
- * console.log(arr.sort(Buffer.compare));
191
- * // Prints: [ <Buffer 30 31 32 33>, <Buffer 31 32 33 34> ]
192
- * // (This result is equal to: [buf2, buf1].)
193
- * ```
194
- * @since v0.11.13
195
- * @return Either `-1`, `0`, or `1`, depending on the result of the comparison. See `compare` for details.
196
- */
197
- compare(buf1: Uint8Array, buf2: Uint8Array): -1 | 0 | 1;
198
- /**
199
- * This is the size (in bytes) of pre-allocated internal `Buffer` instances used
200
- * for pooling. This value may be modified.
201
- * @since v0.11.3
202
- */
203
- poolSize: number;
204
- }
205
- interface Buffer {
206
- // see buffer.buffer.d.ts for implementation specific to TypeScript 5.7 and later
207
- // see ts5.6/buffer.buffer.d.ts for implementation specific to TypeScript 5.6 and earlier
208
-
209
- /**
210
- * Writes `string` to `buf` at `offset` according to the character encoding in`encoding`. The `length` parameter is the number of bytes to write. If `buf` did
211
- * not contain enough space to fit the entire string, only part of `string` will be
212
- * written. However, partially encoded characters will not be written.
213
- *
214
- * ```js
215
- * import { Buffer } from 'node:buffer';
216
- *
217
- * const buf = Buffer.alloc(256);
218
- *
219
- * const len = buf.write('\u00bd + \u00bc = \u00be', 0);
220
- *
221
- * console.log(`${len} bytes: ${buf.toString('utf8', 0, len)}`);
222
- * // Prints: 12 bytes: ½ + ¼ = ¾
223
- *
224
- * const buffer = Buffer.alloc(10);
225
- *
226
- * const length = buffer.write('abcd', 8);
227
- *
228
- * console.log(`${length} bytes: ${buffer.toString('utf8', 8, 10)}`);
229
- * // Prints: 2 bytes : ab
230
- * ```
231
- * @since v0.1.90
232
- * @param string String to write to `buf`.
233
- * @param [offset=0] Number of bytes to skip before starting to write `string`.
234
- * @param [length=buf.length - offset] Maximum number of bytes to write (written bytes will not exceed `buf.length - offset`).
235
- * @param [encoding='utf8'] The character encoding of `string`.
236
- * @return Number of bytes written.
237
- */
238
- write(string: string, encoding?: BufferEncoding): number;
239
- write(string: string, offset: number, encoding?: BufferEncoding): number;
240
- write(string: string, offset: number, length: number, encoding?: BufferEncoding): number;
241
- /**
242
- * Decodes `buf` to a string according to the specified character encoding in`encoding`. `start` and `end` may be passed to decode only a subset of `buf`.
243
- *
244
- * If `encoding` is `'utf8'` and a byte sequence in the input is not valid UTF-8,
245
- * then each invalid byte is replaced with the replacement character `U+FFFD`.
246
- *
247
- * The maximum length of a string instance (in UTF-16 code units) is available
248
- * as {@link constants.MAX_STRING_LENGTH}.
249
- *
250
- * ```js
251
- * import { Buffer } from 'node:buffer';
252
- *
253
- * const buf1 = Buffer.allocUnsafe(26);
254
- *
255
- * for (let i = 0; i < 26; i++) {
256
- * // 97 is the decimal ASCII value for 'a'.
257
- * buf1[i] = i + 97;
258
- * }
259
- *
260
- * console.log(buf1.toString('utf8'));
261
- * // Prints: abcdefghijklmnopqrstuvwxyz
262
- * console.log(buf1.toString('utf8', 0, 5));
263
- * // Prints: abcde
264
- *
265
- * const buf2 = Buffer.from('tést');
266
- *
267
- * console.log(buf2.toString('hex'));
268
- * // Prints: 74c3a97374
269
- * console.log(buf2.toString('utf8', 0, 3));
270
- * // Prints: té
271
- * console.log(buf2.toString(undefined, 0, 3));
272
- * // Prints: té
273
- * ```
274
- * @since v0.1.90
275
- * @param [encoding='utf8'] The character encoding to use.
276
- * @param [start=0] The byte offset to start decoding at.
277
- * @param [end=buf.length] The byte offset to stop decoding at (not inclusive).
278
- */
279
- toString(encoding?: BufferEncoding, start?: number, end?: number): string;
280
- /**
281
- * Returns a JSON representation of `buf`. [`JSON.stringify()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify) implicitly calls
282
- * this function when stringifying a `Buffer` instance.
283
- *
284
- * `Buffer.from()` accepts objects in the format returned from this method.
285
- * In particular, `Buffer.from(buf.toJSON())` works like `Buffer.from(buf)`.
286
- *
287
- * ```js
288
- * import { Buffer } from 'node:buffer';
289
- *
290
- * const buf = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5]);
291
- * const json = JSON.stringify(buf);
292
- *
293
- * console.log(json);
294
- * // Prints: {"type":"Buffer","data":[1,2,3,4,5]}
295
- *
296
- * const copy = JSON.parse(json, (key, value) => {
297
- * return value &#x26;&#x26; value.type === 'Buffer' ?
298
- * Buffer.from(value) :
299
- * value;
300
- * });
301
- *
302
- * console.log(copy);
303
- * // Prints: <Buffer 01 02 03 04 05>
304
- * ```
305
- * @since v0.9.2
306
- */
307
- toJSON(): {
308
- type: "Buffer";
309
- data: number[];
310
- };
311
- /**
312
- * Returns `true` if both `buf` and `otherBuffer` have exactly the same bytes,`false` otherwise. Equivalent to `buf.compare(otherBuffer) === 0`.
313
- *
314
- * ```js
315
- * import { Buffer } from 'node:buffer';
316
- *
317
- * const buf1 = Buffer.from('ABC');
318
- * const buf2 = Buffer.from('414243', 'hex');
319
- * const buf3 = Buffer.from('ABCD');
320
- *
321
- * console.log(buf1.equals(buf2));
322
- * // Prints: true
323
- * console.log(buf1.equals(buf3));
324
- * // Prints: false
325
- * ```
326
- * @since v0.11.13
327
- * @param otherBuffer A `Buffer` or {@link Uint8Array} with which to compare `buf`.
328
- */
329
- equals(otherBuffer: Uint8Array): boolean;
330
- /**
331
- * Compares `buf` with `target` and returns a number indicating whether `buf`comes before, after, or is the same as `target` in sort order.
332
- * Comparison is based on the actual sequence of bytes in each `Buffer`.
333
- *
334
- * * `0` is returned if `target` is the same as `buf`
335
- * * `1` is returned if `target` should come _before_`buf` when sorted.
336
- * * `-1` is returned if `target` should come _after_`buf` when sorted.
337
- *
338
- * ```js
339
- * import { Buffer } from 'node:buffer';
340
- *
341
- * const buf1 = Buffer.from('ABC');
342
- * const buf2 = Buffer.from('BCD');
343
- * const buf3 = Buffer.from('ABCD');
344
- *
345
- * console.log(buf1.compare(buf1));
346
- * // Prints: 0
347
- * console.log(buf1.compare(buf2));
348
- * // Prints: -1
349
- * console.log(buf1.compare(buf3));
350
- * // Prints: -1
351
- * console.log(buf2.compare(buf1));
352
- * // Prints: 1
353
- * console.log(buf2.compare(buf3));
354
- * // Prints: 1
355
- * console.log([buf1, buf2, buf3].sort(Buffer.compare));
356
- * // Prints: [ <Buffer 41 42 43>, <Buffer 41 42 43 44>, <Buffer 42 43 44> ]
357
- * // (This result is equal to: [buf1, buf3, buf2].)
358
- * ```
359
- *
360
- * The optional `targetStart`, `targetEnd`, `sourceStart`, and `sourceEnd` arguments can be used to limit the comparison to specific ranges within `target` and `buf` respectively.
361
- *
362
- * ```js
363
- * import { Buffer } from 'node:buffer';
364
- *
365
- * const buf1 = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8, 9]);
366
- * const buf2 = Buffer.from([5, 6, 7, 8, 9, 1, 2, 3, 4]);
367
- *
368
- * console.log(buf1.compare(buf2, 5, 9, 0, 4));
369
- * // Prints: 0
370
- * console.log(buf1.compare(buf2, 0, 6, 4));
371
- * // Prints: -1
372
- * console.log(buf1.compare(buf2, 5, 6, 5));
373
- * // Prints: 1
374
- * ```
375
- *
376
- * `ERR_OUT_OF_RANGE` is thrown if `targetStart < 0`, `sourceStart < 0`, `targetEnd > target.byteLength`, or `sourceEnd > source.byteLength`.
377
- * @since v0.11.13
378
- * @param target A `Buffer` or {@link Uint8Array} with which to compare `buf`.
379
- * @param [targetStart=0] The offset within `target` at which to begin comparison.
380
- * @param [targetEnd=target.length] The offset within `target` at which to end comparison (not inclusive).
381
- * @param [sourceStart=0] The offset within `buf` at which to begin comparison.
382
- * @param [sourceEnd=buf.length] The offset within `buf` at which to end comparison (not inclusive).
383
- */
384
- compare(
385
- target: Uint8Array,
386
- targetStart?: number,
387
- targetEnd?: number,
388
- sourceStart?: number,
389
- sourceEnd?: number,
390
- ): -1 | 0 | 1;
391
- /**
392
- * Copies data from a region of `buf` to a region in `target`, even if the `target`memory region overlaps with `buf`.
393
- *
394
- * [`TypedArray.prototype.set()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/set) performs the same operation, and is available
395
- * for all TypedArrays, including Node.js `Buffer`s, although it takes
396
- * different function arguments.
397
- *
398
- * ```js
399
- * import { Buffer } from 'node:buffer';
400
- *
401
- * // Create two `Buffer` instances.
402
- * const buf1 = Buffer.allocUnsafe(26);
403
- * const buf2 = Buffer.allocUnsafe(26).fill('!');
404
- *
405
- * for (let i = 0; i < 26; i++) {
406
- * // 97 is the decimal ASCII value for 'a'.
407
- * buf1[i] = i + 97;
408
- * }
409
- *
410
- * // Copy `buf1` bytes 16 through 19 into `buf2` starting at byte 8 of `buf2`.
411
- * buf1.copy(buf2, 8, 16, 20);
412
- * // This is equivalent to:
413
- * // buf2.set(buf1.subarray(16, 20), 8);
414
- *
415
- * console.log(buf2.toString('ascii', 0, 25));
416
- * // Prints: !!!!!!!!qrst!!!!!!!!!!!!!
417
- * ```
418
- *
419
- * ```js
420
- * import { Buffer } from 'node:buffer';
421
- *
422
- * // Create a `Buffer` and copy data from one region to an overlapping region
423
- * // within the same `Buffer`.
424
- *
425
- * const buf = Buffer.allocUnsafe(26);
426
- *
427
- * for (let i = 0; i < 26; i++) {
428
- * // 97 is the decimal ASCII value for 'a'.
429
- * buf[i] = i + 97;
430
- * }
431
- *
432
- * buf.copy(buf, 0, 4, 10);
433
- *
434
- * console.log(buf.toString());
435
- * // Prints: efghijghijklmnopqrstuvwxyz
436
- * ```
437
- * @since v0.1.90
438
- * @param target A `Buffer` or {@link Uint8Array} to copy into.
439
- * @param [targetStart=0] The offset within `target` at which to begin writing.
440
- * @param [sourceStart=0] The offset within `buf` from which to begin copying.
441
- * @param [sourceEnd=buf.length] The offset within `buf` at which to stop copying (not inclusive).
442
- * @return The number of bytes copied.
443
- */
444
- copy(target: Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number): number;
445
- /**
446
- * Writes `value` to `buf` at the specified `offset` as big-endian.
447
- *
448
- * `value` is interpreted and written as a two's complement signed integer.
449
- *
450
- * ```js
451
- * import { Buffer } from 'node:buffer';
452
- *
453
- * const buf = Buffer.allocUnsafe(8);
454
- *
455
- * buf.writeBigInt64BE(0x0102030405060708n, 0);
456
- *
457
- * console.log(buf);
458
- * // Prints: <Buffer 01 02 03 04 05 06 07 08>
459
- * ```
460
- * @since v12.0.0, v10.20.0
461
- * @param value Number to be written to `buf`.
462
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`.
463
- * @return `offset` plus the number of bytes written.
464
- */
465
- writeBigInt64BE(value: bigint, offset?: number): number;
466
- /**
467
- * Writes `value` to `buf` at the specified `offset` as little-endian.
468
- *
469
- * `value` is interpreted and written as a two's complement signed integer.
470
- *
471
- * ```js
472
- * import { Buffer } from 'node:buffer';
473
- *
474
- * const buf = Buffer.allocUnsafe(8);
475
- *
476
- * buf.writeBigInt64LE(0x0102030405060708n, 0);
477
- *
478
- * console.log(buf);
479
- * // Prints: <Buffer 08 07 06 05 04 03 02 01>
480
- * ```
481
- * @since v12.0.0, v10.20.0
482
- * @param value Number to be written to `buf`.
483
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`.
484
- * @return `offset` plus the number of bytes written.
485
- */
486
- writeBigInt64LE(value: bigint, offset?: number): number;
487
- /**
488
- * Writes `value` to `buf` at the specified `offset` as big-endian.
489
- *
490
- * This function is also available under the `writeBigUint64BE` alias.
491
- *
492
- * ```js
493
- * import { Buffer } from 'node:buffer';
494
- *
495
- * const buf = Buffer.allocUnsafe(8);
496
- *
497
- * buf.writeBigUInt64BE(0xdecafafecacefaden, 0);
498
- *
499
- * console.log(buf);
500
- * // Prints: <Buffer de ca fa fe ca ce fa de>
501
- * ```
502
- * @since v12.0.0, v10.20.0
503
- * @param value Number to be written to `buf`.
504
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`.
505
- * @return `offset` plus the number of bytes written.
506
- */
507
- writeBigUInt64BE(value: bigint, offset?: number): number;
508
- /**
509
- * @alias Buffer.writeBigUInt64BE
510
- * @since v14.10.0, v12.19.0
511
- */
512
- writeBigUint64BE(value: bigint, offset?: number): number;
513
- /**
514
- * Writes `value` to `buf` at the specified `offset` as little-endian
515
- *
516
- * ```js
517
- * import { Buffer } from 'node:buffer';
518
- *
519
- * const buf = Buffer.allocUnsafe(8);
520
- *
521
- * buf.writeBigUInt64LE(0xdecafafecacefaden, 0);
522
- *
523
- * console.log(buf);
524
- * // Prints: <Buffer de fa ce ca fe fa ca de>
525
- * ```
526
- *
527
- * This function is also available under the `writeBigUint64LE` alias.
528
- * @since v12.0.0, v10.20.0
529
- * @param value Number to be written to `buf`.
530
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`.
531
- * @return `offset` plus the number of bytes written.
532
- */
533
- writeBigUInt64LE(value: bigint, offset?: number): number;
534
- /**
535
- * @alias Buffer.writeBigUInt64LE
536
- * @since v14.10.0, v12.19.0
537
- */
538
- writeBigUint64LE(value: bigint, offset?: number): number;
539
- /**
540
- * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined
541
- * when `value` is anything other than an unsigned integer.
542
- *
543
- * This function is also available under the `writeUintLE` alias.
544
- *
545
- * ```js
546
- * import { Buffer } from 'node:buffer';
547
- *
548
- * const buf = Buffer.allocUnsafe(6);
549
- *
550
- * buf.writeUIntLE(0x1234567890ab, 0, 6);
551
- *
552
- * console.log(buf);
553
- * // Prints: <Buffer ab 90 78 56 34 12>
554
- * ```
555
- * @since v0.5.5
556
- * @param value Number to be written to `buf`.
557
- * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`.
558
- * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`.
559
- * @return `offset` plus the number of bytes written.
560
- */
561
- writeUIntLE(value: number, offset: number, byteLength: number): number;
562
- /**
563
- * @alias Buffer.writeUIntLE
564
- * @since v14.9.0, v12.19.0
565
- */
566
- writeUintLE(value: number, offset: number, byteLength: number): number;
567
- /**
568
- * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined
569
- * when `value` is anything other than an unsigned integer.
570
- *
571
- * This function is also available under the `writeUintBE` alias.
572
- *
573
- * ```js
574
- * import { Buffer } from 'node:buffer';
575
- *
576
- * const buf = Buffer.allocUnsafe(6);
577
- *
578
- * buf.writeUIntBE(0x1234567890ab, 0, 6);
579
- *
580
- * console.log(buf);
581
- * // Prints: <Buffer 12 34 56 78 90 ab>
582
- * ```
583
- * @since v0.5.5
584
- * @param value Number to be written to `buf`.
585
- * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`.
586
- * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`.
587
- * @return `offset` plus the number of bytes written.
588
- */
589
- writeUIntBE(value: number, offset: number, byteLength: number): number;
590
- /**
591
- * @alias Buffer.writeUIntBE
592
- * @since v14.9.0, v12.19.0
593
- */
594
- writeUintBE(value: number, offset: number, byteLength: number): number;
595
- /**
596
- * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined
597
- * when `value` is anything other than a signed integer.
598
- *
599
- * ```js
600
- * import { Buffer } from 'node:buffer';
601
- *
602
- * const buf = Buffer.allocUnsafe(6);
603
- *
604
- * buf.writeIntLE(0x1234567890ab, 0, 6);
605
- *
606
- * console.log(buf);
607
- * // Prints: <Buffer ab 90 78 56 34 12>
608
- * ```
609
- * @since v0.11.15
610
- * @param value Number to be written to `buf`.
611
- * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`.
612
- * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`.
613
- * @return `offset` plus the number of bytes written.
614
- */
615
- writeIntLE(value: number, offset: number, byteLength: number): number;
616
- /**
617
- * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined when`value` is anything other than a
618
- * signed integer.
619
- *
620
- * ```js
621
- * import { Buffer } from 'node:buffer';
622
- *
623
- * const buf = Buffer.allocUnsafe(6);
624
- *
625
- * buf.writeIntBE(0x1234567890ab, 0, 6);
626
- *
627
- * console.log(buf);
628
- * // Prints: <Buffer 12 34 56 78 90 ab>
629
- * ```
630
- * @since v0.11.15
631
- * @param value Number to be written to `buf`.
632
- * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`.
633
- * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`.
634
- * @return `offset` plus the number of bytes written.
635
- */
636
- writeIntBE(value: number, offset: number, byteLength: number): number;
637
- /**
638
- * Reads an unsigned, big-endian 64-bit integer from `buf` at the specified`offset`.
639
- *
640
- * This function is also available under the `readBigUint64BE` alias.
641
- *
642
- * ```js
643
- * import { Buffer } from 'node:buffer';
644
- *
645
- * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]);
646
- *
647
- * console.log(buf.readBigUInt64BE(0));
648
- * // Prints: 4294967295n
649
- * ```
650
- * @since v12.0.0, v10.20.0
651
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`.
652
- */
653
- readBigUInt64BE(offset?: number): bigint;
654
- /**
655
- * @alias Buffer.readBigUInt64BE
656
- * @since v14.10.0, v12.19.0
657
- */
658
- readBigUint64BE(offset?: number): bigint;
659
- /**
660
- * Reads an unsigned, little-endian 64-bit integer from `buf` at the specified`offset`.
661
- *
662
- * This function is also available under the `readBigUint64LE` alias.
663
- *
664
- * ```js
665
- * import { Buffer } from 'node:buffer';
666
- *
667
- * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]);
668
- *
669
- * console.log(buf.readBigUInt64LE(0));
670
- * // Prints: 18446744069414584320n
671
- * ```
672
- * @since v12.0.0, v10.20.0
673
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`.
674
- */
675
- readBigUInt64LE(offset?: number): bigint;
676
- /**
677
- * @alias Buffer.readBigUInt64LE
678
- * @since v14.10.0, v12.19.0
679
- */
680
- readBigUint64LE(offset?: number): bigint;
681
- /**
682
- * Reads a signed, big-endian 64-bit integer from `buf` at the specified `offset`.
683
- *
684
- * Integers read from a `Buffer` are interpreted as two's complement signed
685
- * values.
686
- * @since v12.0.0, v10.20.0
687
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`.
688
- */
689
- readBigInt64BE(offset?: number): bigint;
690
- /**
691
- * Reads a signed, little-endian 64-bit integer from `buf` at the specified`offset`.
692
- *
693
- * Integers read from a `Buffer` are interpreted as two's complement signed
694
- * values.
695
- * @since v12.0.0, v10.20.0
696
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`.
697
- */
698
- readBigInt64LE(offset?: number): bigint;
699
- /**
700
- * Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an unsigned, little-endian integer supporting
701
- * up to 48 bits of accuracy.
702
- *
703
- * This function is also available under the `readUintLE` alias.
704
- *
705
- * ```js
706
- * import { Buffer } from 'node:buffer';
707
- *
708
- * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
709
- *
710
- * console.log(buf.readUIntLE(0, 6).toString(16));
711
- * // Prints: ab9078563412
712
- * ```
713
- * @since v0.11.15
714
- * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`.
715
- * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`.
716
- */
717
- readUIntLE(offset: number, byteLength: number): number;
718
- /**
719
- * @alias Buffer.readUIntLE
720
- * @since v14.9.0, v12.19.0
721
- */
722
- readUintLE(offset: number, byteLength: number): number;
723
- /**
724
- * Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an unsigned big-endian integer supporting
725
- * up to 48 bits of accuracy.
726
- *
727
- * This function is also available under the `readUintBE` alias.
728
- *
729
- * ```js
730
- * import { Buffer } from 'node:buffer';
731
- *
732
- * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
733
- *
734
- * console.log(buf.readUIntBE(0, 6).toString(16));
735
- * // Prints: 1234567890ab
736
- * console.log(buf.readUIntBE(1, 6).toString(16));
737
- * // Throws ERR_OUT_OF_RANGE.
738
- * ```
739
- * @since v0.11.15
740
- * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`.
741
- * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`.
742
- */
743
- readUIntBE(offset: number, byteLength: number): number;
744
- /**
745
- * @alias Buffer.readUIntBE
746
- * @since v14.9.0, v12.19.0
747
- */
748
- readUintBE(offset: number, byteLength: number): number;
749
- /**
750
- * Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a little-endian, two's complement signed value
751
- * supporting up to 48 bits of accuracy.
752
- *
753
- * ```js
754
- * import { Buffer } from 'node:buffer';
755
- *
756
- * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
757
- *
758
- * console.log(buf.readIntLE(0, 6).toString(16));
759
- * // Prints: -546f87a9cbee
760
- * ```
761
- * @since v0.11.15
762
- * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`.
763
- * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`.
764
- */
765
- readIntLE(offset: number, byteLength: number): number;
766
- /**
767
- * Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a big-endian, two's complement signed value
768
- * supporting up to 48 bits of accuracy.
769
- *
770
- * ```js
771
- * import { Buffer } from 'node:buffer';
772
- *
773
- * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
774
- *
775
- * console.log(buf.readIntBE(0, 6).toString(16));
776
- * // Prints: 1234567890ab
777
- * console.log(buf.readIntBE(1, 6).toString(16));
778
- * // Throws ERR_OUT_OF_RANGE.
779
- * console.log(buf.readIntBE(1, 0).toString(16));
780
- * // Throws ERR_OUT_OF_RANGE.
781
- * ```
782
- * @since v0.11.15
783
- * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`.
784
- * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`.
785
- */
786
- readIntBE(offset: number, byteLength: number): number;
787
- /**
788
- * Reads an unsigned 8-bit integer from `buf` at the specified `offset`.
789
- *
790
- * This function is also available under the `readUint8` alias.
791
- *
792
- * ```js
793
- * import { Buffer } from 'node:buffer';
794
- *
795
- * const buf = Buffer.from([1, -2]);
796
- *
797
- * console.log(buf.readUInt8(0));
798
- * // Prints: 1
799
- * console.log(buf.readUInt8(1));
800
- * // Prints: 254
801
- * console.log(buf.readUInt8(2));
802
- * // Throws ERR_OUT_OF_RANGE.
803
- * ```
804
- * @since v0.5.0
805
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 1`.
806
- */
807
- readUInt8(offset?: number): number;
808
- /**
809
- * @alias Buffer.readUInt8
810
- * @since v14.9.0, v12.19.0
811
- */
812
- readUint8(offset?: number): number;
813
- /**
814
- * Reads an unsigned, little-endian 16-bit integer from `buf` at the specified `offset`.
815
- *
816
- * This function is also available under the `readUint16LE` alias.
817
- *
818
- * ```js
819
- * import { Buffer } from 'node:buffer';
820
- *
821
- * const buf = Buffer.from([0x12, 0x34, 0x56]);
822
- *
823
- * console.log(buf.readUInt16LE(0).toString(16));
824
- * // Prints: 3412
825
- * console.log(buf.readUInt16LE(1).toString(16));
826
- * // Prints: 5634
827
- * console.log(buf.readUInt16LE(2).toString(16));
828
- * // Throws ERR_OUT_OF_RANGE.
829
- * ```
830
- * @since v0.5.5
831
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`.
832
- */
833
- readUInt16LE(offset?: number): number;
834
- /**
835
- * @alias Buffer.readUInt16LE
836
- * @since v14.9.0, v12.19.0
837
- */
838
- readUint16LE(offset?: number): number;
839
- /**
840
- * Reads an unsigned, big-endian 16-bit integer from `buf` at the specified`offset`.
841
- *
842
- * This function is also available under the `readUint16BE` alias.
843
- *
844
- * ```js
845
- * import { Buffer } from 'node:buffer';
846
- *
847
- * const buf = Buffer.from([0x12, 0x34, 0x56]);
848
- *
849
- * console.log(buf.readUInt16BE(0).toString(16));
850
- * // Prints: 1234
851
- * console.log(buf.readUInt16BE(1).toString(16));
852
- * // Prints: 3456
853
- * ```
854
- * @since v0.5.5
855
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`.
856
- */
857
- readUInt16BE(offset?: number): number;
858
- /**
859
- * @alias Buffer.readUInt16BE
860
- * @since v14.9.0, v12.19.0
861
- */
862
- readUint16BE(offset?: number): number;
863
- /**
864
- * Reads an unsigned, little-endian 32-bit integer from `buf` at the specified`offset`.
865
- *
866
- * This function is also available under the `readUint32LE` alias.
867
- *
868
- * ```js
869
- * import { Buffer } from 'node:buffer';
870
- *
871
- * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]);
872
- *
873
- * console.log(buf.readUInt32LE(0).toString(16));
874
- * // Prints: 78563412
875
- * console.log(buf.readUInt32LE(1).toString(16));
876
- * // Throws ERR_OUT_OF_RANGE.
877
- * ```
878
- * @since v0.5.5
879
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`.
880
- */
881
- readUInt32LE(offset?: number): number;
882
- /**
883
- * @alias Buffer.readUInt32LE
884
- * @since v14.9.0, v12.19.0
885
- */
886
- readUint32LE(offset?: number): number;
887
- /**
888
- * Reads an unsigned, big-endian 32-bit integer from `buf` at the specified`offset`.
889
- *
890
- * This function is also available under the `readUint32BE` alias.
891
- *
892
- * ```js
893
- * import { Buffer } from 'node:buffer';
894
- *
895
- * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]);
896
- *
897
- * console.log(buf.readUInt32BE(0).toString(16));
898
- * // Prints: 12345678
899
- * ```
900
- * @since v0.5.5
901
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`.
902
- */
903
- readUInt32BE(offset?: number): number;
904
- /**
905
- * @alias Buffer.readUInt32BE
906
- * @since v14.9.0, v12.19.0
907
- */
908
- readUint32BE(offset?: number): number;
909
- /**
910
- * Reads a signed 8-bit integer from `buf` at the specified `offset`.
911
- *
912
- * Integers read from a `Buffer` are interpreted as two's complement signed values.
913
- *
914
- * ```js
915
- * import { Buffer } from 'node:buffer';
916
- *
917
- * const buf = Buffer.from([-1, 5]);
918
- *
919
- * console.log(buf.readInt8(0));
920
- * // Prints: -1
921
- * console.log(buf.readInt8(1));
922
- * // Prints: 5
923
- * console.log(buf.readInt8(2));
924
- * // Throws ERR_OUT_OF_RANGE.
925
- * ```
926
- * @since v0.5.0
927
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 1`.
928
- */
929
- readInt8(offset?: number): number;
930
- /**
931
- * Reads a signed, little-endian 16-bit integer from `buf` at the specified`offset`.
932
- *
933
- * Integers read from a `Buffer` are interpreted as two's complement signed values.
934
- *
935
- * ```js
936
- * import { Buffer } from 'node:buffer';
937
- *
938
- * const buf = Buffer.from([0, 5]);
939
- *
940
- * console.log(buf.readInt16LE(0));
941
- * // Prints: 1280
942
- * console.log(buf.readInt16LE(1));
943
- * // Throws ERR_OUT_OF_RANGE.
944
- * ```
945
- * @since v0.5.5
946
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`.
947
- */
948
- readInt16LE(offset?: number): number;
949
- /**
950
- * Reads a signed, big-endian 16-bit integer from `buf` at the specified `offset`.
951
- *
952
- * Integers read from a `Buffer` are interpreted as two's complement signed values.
953
- *
954
- * ```js
955
- * import { Buffer } from 'node:buffer';
956
- *
957
- * const buf = Buffer.from([0, 5]);
958
- *
959
- * console.log(buf.readInt16BE(0));
960
- * // Prints: 5
961
- * ```
962
- * @since v0.5.5
963
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`.
964
- */
965
- readInt16BE(offset?: number): number;
966
- /**
967
- * Reads a signed, little-endian 32-bit integer from `buf` at the specified`offset`.
968
- *
969
- * Integers read from a `Buffer` are interpreted as two's complement signed values.
970
- *
971
- * ```js
972
- * import { Buffer } from 'node:buffer';
973
- *
974
- * const buf = Buffer.from([0, 0, 0, 5]);
975
- *
976
- * console.log(buf.readInt32LE(0));
977
- * // Prints: 83886080
978
- * console.log(buf.readInt32LE(1));
979
- * // Throws ERR_OUT_OF_RANGE.
980
- * ```
981
- * @since v0.5.5
982
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`.
983
- */
984
- readInt32LE(offset?: number): number;
985
- /**
986
- * Reads a signed, big-endian 32-bit integer from `buf` at the specified `offset`.
987
- *
988
- * Integers read from a `Buffer` are interpreted as two's complement signed values.
989
- *
990
- * ```js
991
- * import { Buffer } from 'node:buffer';
992
- *
993
- * const buf = Buffer.from([0, 0, 0, 5]);
994
- *
995
- * console.log(buf.readInt32BE(0));
996
- * // Prints: 5
997
- * ```
998
- * @since v0.5.5
999
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`.
1000
- */
1001
- readInt32BE(offset?: number): number;
1002
- /**
1003
- * Reads a 32-bit, little-endian float from `buf` at the specified `offset`.
1004
- *
1005
- * ```js
1006
- * import { Buffer } from 'node:buffer';
1007
- *
1008
- * const buf = Buffer.from([1, 2, 3, 4]);
1009
- *
1010
- * console.log(buf.readFloatLE(0));
1011
- * // Prints: 1.539989614439558e-36
1012
- * console.log(buf.readFloatLE(1));
1013
- * // Throws ERR_OUT_OF_RANGE.
1014
- * ```
1015
- * @since v0.11.15
1016
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`.
1017
- */
1018
- readFloatLE(offset?: number): number;
1019
- /**
1020
- * Reads a 32-bit, big-endian float from `buf` at the specified `offset`.
1021
- *
1022
- * ```js
1023
- * import { Buffer } from 'node:buffer';
1024
- *
1025
- * const buf = Buffer.from([1, 2, 3, 4]);
1026
- *
1027
- * console.log(buf.readFloatBE(0));
1028
- * // Prints: 2.387939260590663e-38
1029
- * ```
1030
- * @since v0.11.15
1031
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`.
1032
- */
1033
- readFloatBE(offset?: number): number;
1034
- /**
1035
- * Reads a 64-bit, little-endian double from `buf` at the specified `offset`.
1036
- *
1037
- * ```js
1038
- * import { Buffer } from 'node:buffer';
1039
- *
1040
- * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]);
1041
- *
1042
- * console.log(buf.readDoubleLE(0));
1043
- * // Prints: 5.447603722011605e-270
1044
- * console.log(buf.readDoubleLE(1));
1045
- * // Throws ERR_OUT_OF_RANGE.
1046
- * ```
1047
- * @since v0.11.15
1048
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 8`.
1049
- */
1050
- readDoubleLE(offset?: number): number;
1051
- /**
1052
- * Reads a 64-bit, big-endian double from `buf` at the specified `offset`.
1053
- *
1054
- * ```js
1055
- * import { Buffer } from 'node:buffer';
1056
- *
1057
- * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]);
1058
- *
1059
- * console.log(buf.readDoubleBE(0));
1060
- * // Prints: 8.20788039913184e-304
1061
- * ```
1062
- * @since v0.11.15
1063
- * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 8`.
1064
- */
1065
- readDoubleBE(offset?: number): number;
1066
- reverse(): this;
1067
- /**
1068
- * Interprets `buf` as an array of unsigned 16-bit integers and swaps the
1069
- * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 2.
1070
- *
1071
- * ```js
1072
- * import { Buffer } from 'node:buffer';
1073
- *
1074
- * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]);
1075
- *
1076
- * console.log(buf1);
1077
- * // Prints: <Buffer 01 02 03 04 05 06 07 08>
1078
- *
1079
- * buf1.swap16();
1080
- *
1081
- * console.log(buf1);
1082
- * // Prints: <Buffer 02 01 04 03 06 05 08 07>
1083
- *
1084
- * const buf2 = Buffer.from([0x1, 0x2, 0x3]);
1085
- *
1086
- * buf2.swap16();
1087
- * // Throws ERR_INVALID_BUFFER_SIZE.
1088
- * ```
1089
- *
1090
- * One convenient use of `buf.swap16()` is to perform a fast in-place conversion
1091
- * between UTF-16 little-endian and UTF-16 big-endian:
1092
- *
1093
- * ```js
1094
- * import { Buffer } from 'node:buffer';
1095
- *
1096
- * const buf = Buffer.from('This is little-endian UTF-16', 'utf16le');
1097
- * buf.swap16(); // Convert to big-endian UTF-16 text.
1098
- * ```
1099
- * @since v5.10.0
1100
- * @return A reference to `buf`.
1101
- */
1102
- swap16(): this;
1103
- /**
1104
- * Interprets `buf` as an array of unsigned 32-bit integers and swaps the
1105
- * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 4.
1106
- *
1107
- * ```js
1108
- * import { Buffer } from 'node:buffer';
1109
- *
1110
- * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]);
1111
- *
1112
- * console.log(buf1);
1113
- * // Prints: <Buffer 01 02 03 04 05 06 07 08>
1114
- *
1115
- * buf1.swap32();
1116
- *
1117
- * console.log(buf1);
1118
- * // Prints: <Buffer 04 03 02 01 08 07 06 05>
1119
- *
1120
- * const buf2 = Buffer.from([0x1, 0x2, 0x3]);
1121
- *
1122
- * buf2.swap32();
1123
- * // Throws ERR_INVALID_BUFFER_SIZE.
1124
- * ```
1125
- * @since v5.10.0
1126
- * @return A reference to `buf`.
1127
- */
1128
- swap32(): this;
1129
- /**
1130
- * Interprets `buf` as an array of 64-bit numbers and swaps byte order _in-place_.
1131
- * Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 8.
1132
- *
1133
- * ```js
1134
- * import { Buffer } from 'node:buffer';
1135
- *
1136
- * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]);
1137
- *
1138
- * console.log(buf1);
1139
- * // Prints: <Buffer 01 02 03 04 05 06 07 08>
1140
- *
1141
- * buf1.swap64();
1142
- *
1143
- * console.log(buf1);
1144
- * // Prints: <Buffer 08 07 06 05 04 03 02 01>
1145
- *
1146
- * const buf2 = Buffer.from([0x1, 0x2, 0x3]);
1147
- *
1148
- * buf2.swap64();
1149
- * // Throws ERR_INVALID_BUFFER_SIZE.
1150
- * ```
1151
- * @since v6.3.0
1152
- * @return A reference to `buf`.
1153
- */
1154
- swap64(): this;
1155
- /**
1156
- * Writes `value` to `buf` at the specified `offset`. `value` must be a
1157
- * valid unsigned 8-bit integer. Behavior is undefined when `value` is anything
1158
- * other than an unsigned 8-bit integer.
1159
- *
1160
- * This function is also available under the `writeUint8` alias.
1161
- *
1162
- * ```js
1163
- * import { Buffer } from 'node:buffer';
1164
- *
1165
- * const buf = Buffer.allocUnsafe(4);
1166
- *
1167
- * buf.writeUInt8(0x3, 0);
1168
- * buf.writeUInt8(0x4, 1);
1169
- * buf.writeUInt8(0x23, 2);
1170
- * buf.writeUInt8(0x42, 3);
1171
- *
1172
- * console.log(buf);
1173
- * // Prints: <Buffer 03 04 23 42>
1174
- * ```
1175
- * @since v0.5.0
1176
- * @param value Number to be written to `buf`.
1177
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 1`.
1178
- * @return `offset` plus the number of bytes written.
1179
- */
1180
- writeUInt8(value: number, offset?: number): number;
1181
- /**
1182
- * @alias Buffer.writeUInt8
1183
- * @since v14.9.0, v12.19.0
1184
- */
1185
- writeUint8(value: number, offset?: number): number;
1186
- /**
1187
- * Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 16-bit integer. Behavior is undefined when `value` is
1188
- * anything other than an unsigned 16-bit integer.
1189
- *
1190
- * This function is also available under the `writeUint16LE` alias.
1191
- *
1192
- * ```js
1193
- * import { Buffer } from 'node:buffer';
1194
- *
1195
- * const buf = Buffer.allocUnsafe(4);
1196
- *
1197
- * buf.writeUInt16LE(0xdead, 0);
1198
- * buf.writeUInt16LE(0xbeef, 2);
1199
- *
1200
- * console.log(buf);
1201
- * // Prints: <Buffer ad de ef be>
1202
- * ```
1203
- * @since v0.5.5
1204
- * @param value Number to be written to `buf`.
1205
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`.
1206
- * @return `offset` plus the number of bytes written.
1207
- */
1208
- writeUInt16LE(value: number, offset?: number): number;
1209
- /**
1210
- * @alias Buffer.writeUInt16LE
1211
- * @since v14.9.0, v12.19.0
1212
- */
1213
- writeUint16LE(value: number, offset?: number): number;
1214
- /**
1215
- * Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 16-bit integer. Behavior is undefined when `value`is anything other than an
1216
- * unsigned 16-bit integer.
1217
- *
1218
- * This function is also available under the `writeUint16BE` alias.
1219
- *
1220
- * ```js
1221
- * import { Buffer } from 'node:buffer';
1222
- *
1223
- * const buf = Buffer.allocUnsafe(4);
1224
- *
1225
- * buf.writeUInt16BE(0xdead, 0);
1226
- * buf.writeUInt16BE(0xbeef, 2);
1227
- *
1228
- * console.log(buf);
1229
- * // Prints: <Buffer de ad be ef>
1230
- * ```
1231
- * @since v0.5.5
1232
- * @param value Number to be written to `buf`.
1233
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`.
1234
- * @return `offset` plus the number of bytes written.
1235
- */
1236
- writeUInt16BE(value: number, offset?: number): number;
1237
- /**
1238
- * @alias Buffer.writeUInt16BE
1239
- * @since v14.9.0, v12.19.0
1240
- */
1241
- writeUint16BE(value: number, offset?: number): number;
1242
- /**
1243
- * Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 32-bit integer. Behavior is undefined when `value` is
1244
- * anything other than an unsigned 32-bit integer.
1245
- *
1246
- * This function is also available under the `writeUint32LE` alias.
1247
- *
1248
- * ```js
1249
- * import { Buffer } from 'node:buffer';
1250
- *
1251
- * const buf = Buffer.allocUnsafe(4);
1252
- *
1253
- * buf.writeUInt32LE(0xfeedface, 0);
1254
- *
1255
- * console.log(buf);
1256
- * // Prints: <Buffer ce fa ed fe>
1257
- * ```
1258
- * @since v0.5.5
1259
- * @param value Number to be written to `buf`.
1260
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`.
1261
- * @return `offset` plus the number of bytes written.
1262
- */
1263
- writeUInt32LE(value: number, offset?: number): number;
1264
- /**
1265
- * @alias Buffer.writeUInt32LE
1266
- * @since v14.9.0, v12.19.0
1267
- */
1268
- writeUint32LE(value: number, offset?: number): number;
1269
- /**
1270
- * Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 32-bit integer. Behavior is undefined when `value`is anything other than an
1271
- * unsigned 32-bit integer.
1272
- *
1273
- * This function is also available under the `writeUint32BE` alias.
1274
- *
1275
- * ```js
1276
- * import { Buffer } from 'node:buffer';
1277
- *
1278
- * const buf = Buffer.allocUnsafe(4);
1279
- *
1280
- * buf.writeUInt32BE(0xfeedface, 0);
1281
- *
1282
- * console.log(buf);
1283
- * // Prints: <Buffer fe ed fa ce>
1284
- * ```
1285
- * @since v0.5.5
1286
- * @param value Number to be written to `buf`.
1287
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`.
1288
- * @return `offset` plus the number of bytes written.
1289
- */
1290
- writeUInt32BE(value: number, offset?: number): number;
1291
- /**
1292
- * @alias Buffer.writeUInt32BE
1293
- * @since v14.9.0, v12.19.0
1294
- */
1295
- writeUint32BE(value: number, offset?: number): number;
1296
- /**
1297
- * Writes `value` to `buf` at the specified `offset`. `value` must be a valid
1298
- * signed 8-bit integer. Behavior is undefined when `value` is anything other than
1299
- * a signed 8-bit integer.
1300
- *
1301
- * `value` is interpreted and written as a two's complement signed integer.
1302
- *
1303
- * ```js
1304
- * import { Buffer } from 'node:buffer';
1305
- *
1306
- * const buf = Buffer.allocUnsafe(2);
1307
- *
1308
- * buf.writeInt8(2, 0);
1309
- * buf.writeInt8(-2, 1);
1310
- *
1311
- * console.log(buf);
1312
- * // Prints: <Buffer 02 fe>
1313
- * ```
1314
- * @since v0.5.0
1315
- * @param value Number to be written to `buf`.
1316
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 1`.
1317
- * @return `offset` plus the number of bytes written.
1318
- */
1319
- writeInt8(value: number, offset?: number): number;
1320
- /**
1321
- * Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 16-bit integer. Behavior is undefined when `value` is
1322
- * anything other than a signed 16-bit integer.
1323
- *
1324
- * The `value` is interpreted and written as a two's complement signed integer.
1325
- *
1326
- * ```js
1327
- * import { Buffer } from 'node:buffer';
1328
- *
1329
- * const buf = Buffer.allocUnsafe(2);
1330
- *
1331
- * buf.writeInt16LE(0x0304, 0);
1332
- *
1333
- * console.log(buf);
1334
- * // Prints: <Buffer 04 03>
1335
- * ```
1336
- * @since v0.5.5
1337
- * @param value Number to be written to `buf`.
1338
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`.
1339
- * @return `offset` plus the number of bytes written.
1340
- */
1341
- writeInt16LE(value: number, offset?: number): number;
1342
- /**
1343
- * Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 16-bit integer. Behavior is undefined when `value` is
1344
- * anything other than a signed 16-bit integer.
1345
- *
1346
- * The `value` is interpreted and written as a two's complement signed integer.
1347
- *
1348
- * ```js
1349
- * import { Buffer } from 'node:buffer';
1350
- *
1351
- * const buf = Buffer.allocUnsafe(2);
1352
- *
1353
- * buf.writeInt16BE(0x0102, 0);
1354
- *
1355
- * console.log(buf);
1356
- * // Prints: <Buffer 01 02>
1357
- * ```
1358
- * @since v0.5.5
1359
- * @param value Number to be written to `buf`.
1360
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`.
1361
- * @return `offset` plus the number of bytes written.
1362
- */
1363
- writeInt16BE(value: number, offset?: number): number;
1364
- /**
1365
- * Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 32-bit integer. Behavior is undefined when `value` is
1366
- * anything other than a signed 32-bit integer.
1367
- *
1368
- * The `value` is interpreted and written as a two's complement signed integer.
1369
- *
1370
- * ```js
1371
- * import { Buffer } from 'node:buffer';
1372
- *
1373
- * const buf = Buffer.allocUnsafe(4);
1374
- *
1375
- * buf.writeInt32LE(0x05060708, 0);
1376
- *
1377
- * console.log(buf);
1378
- * // Prints: <Buffer 08 07 06 05>
1379
- * ```
1380
- * @since v0.5.5
1381
- * @param value Number to be written to `buf`.
1382
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`.
1383
- * @return `offset` plus the number of bytes written.
1384
- */
1385
- writeInt32LE(value: number, offset?: number): number;
1386
- /**
1387
- * Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 32-bit integer. Behavior is undefined when `value` is
1388
- * anything other than a signed 32-bit integer.
1389
- *
1390
- * The `value` is interpreted and written as a two's complement signed integer.
1391
- *
1392
- * ```js
1393
- * import { Buffer } from 'node:buffer';
1394
- *
1395
- * const buf = Buffer.allocUnsafe(4);
1396
- *
1397
- * buf.writeInt32BE(0x01020304, 0);
1398
- *
1399
- * console.log(buf);
1400
- * // Prints: <Buffer 01 02 03 04>
1401
- * ```
1402
- * @since v0.5.5
1403
- * @param value Number to be written to `buf`.
1404
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`.
1405
- * @return `offset` plus the number of bytes written.
1406
- */
1407
- writeInt32BE(value: number, offset?: number): number;
1408
- /**
1409
- * Writes `value` to `buf` at the specified `offset` as little-endian. Behavior is
1410
- * undefined when `value` is anything other than a JavaScript number.
1411
- *
1412
- * ```js
1413
- * import { Buffer } from 'node:buffer';
1414
- *
1415
- * const buf = Buffer.allocUnsafe(4);
1416
- *
1417
- * buf.writeFloatLE(0xcafebabe, 0);
1418
- *
1419
- * console.log(buf);
1420
- * // Prints: <Buffer bb fe 4a 4f>
1421
- * ```
1422
- * @since v0.11.15
1423
- * @param value Number to be written to `buf`.
1424
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`.
1425
- * @return `offset` plus the number of bytes written.
1426
- */
1427
- writeFloatLE(value: number, offset?: number): number;
1428
- /**
1429
- * Writes `value` to `buf` at the specified `offset` as big-endian. Behavior is
1430
- * undefined when `value` is anything other than a JavaScript number.
1431
- *
1432
- * ```js
1433
- * import { Buffer } from 'node:buffer';
1434
- *
1435
- * const buf = Buffer.allocUnsafe(4);
1436
- *
1437
- * buf.writeFloatBE(0xcafebabe, 0);
1438
- *
1439
- * console.log(buf);
1440
- * // Prints: <Buffer 4f 4a fe bb>
1441
- * ```
1442
- * @since v0.11.15
1443
- * @param value Number to be written to `buf`.
1444
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`.
1445
- * @return `offset` plus the number of bytes written.
1446
- */
1447
- writeFloatBE(value: number, offset?: number): number;
1448
- /**
1449
- * Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a JavaScript number. Behavior is undefined when `value` is anything
1450
- * other than a JavaScript number.
1451
- *
1452
- * ```js
1453
- * import { Buffer } from 'node:buffer';
1454
- *
1455
- * const buf = Buffer.allocUnsafe(8);
1456
- *
1457
- * buf.writeDoubleLE(123.456, 0);
1458
- *
1459
- * console.log(buf);
1460
- * // Prints: <Buffer 77 be 9f 1a 2f dd 5e 40>
1461
- * ```
1462
- * @since v0.11.15
1463
- * @param value Number to be written to `buf`.
1464
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 8`.
1465
- * @return `offset` plus the number of bytes written.
1466
- */
1467
- writeDoubleLE(value: number, offset?: number): number;
1468
- /**
1469
- * Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a JavaScript number. Behavior is undefined when `value` is anything
1470
- * other than a JavaScript number.
1471
- *
1472
- * ```js
1473
- * import { Buffer } from 'node:buffer';
1474
- *
1475
- * const buf = Buffer.allocUnsafe(8);
1476
- *
1477
- * buf.writeDoubleBE(123.456, 0);
1478
- *
1479
- * console.log(buf);
1480
- * // Prints: <Buffer 40 5e dd 2f 1a 9f be 77>
1481
- * ```
1482
- * @since v0.11.15
1483
- * @param value Number to be written to `buf`.
1484
- * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 8`.
1485
- * @return `offset` plus the number of bytes written.
1486
- */
1487
- writeDoubleBE(value: number, offset?: number): number;
1488
- /**
1489
- * Fills `buf` with the specified `value`. If the `offset` and `end` are not given,
1490
- * the entire `buf` will be filled:
1491
- *
1492
- * ```js
1493
- * import { Buffer } from 'node:buffer';
1494
- *
1495
- * // Fill a `Buffer` with the ASCII character 'h'.
1496
- *
1497
- * const b = Buffer.allocUnsafe(50).fill('h');
1498
- *
1499
- * console.log(b.toString());
1500
- * // Prints: hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
1501
- *
1502
- * // Fill a buffer with empty string
1503
- * const c = Buffer.allocUnsafe(5).fill('');
1504
- *
1505
- * console.log(c.fill(''));
1506
- * // Prints: <Buffer 00 00 00 00 00>
1507
- * ```
1508
- *
1509
- * `value` is coerced to a `uint32` value if it is not a string, `Buffer`, or
1510
- * integer. If the resulting integer is greater than `255` (decimal), `buf` will be
1511
- * filled with `value &#x26; 255`.
1512
- *
1513
- * If the final write of a `fill()` operation falls on a multi-byte character,
1514
- * then only the bytes of that character that fit into `buf` are written:
1515
- *
1516
- * ```js
1517
- * import { Buffer } from 'node:buffer';
1518
- *
1519
- * // Fill a `Buffer` with character that takes up two bytes in UTF-8.
1520
- *
1521
- * console.log(Buffer.allocUnsafe(5).fill('\u0222'));
1522
- * // Prints: <Buffer c8 a2 c8 a2 c8>
1523
- * ```
1524
- *
1525
- * If `value` contains invalid characters, it is truncated; if no valid
1526
- * fill data remains, an exception is thrown:
1527
- *
1528
- * ```js
1529
- * import { Buffer } from 'node:buffer';
1530
- *
1531
- * const buf = Buffer.allocUnsafe(5);
1532
- *
1533
- * console.log(buf.fill('a'));
1534
- * // Prints: <Buffer 61 61 61 61 61>
1535
- * console.log(buf.fill('aazz', 'hex'));
1536
- * // Prints: <Buffer aa aa aa aa aa>
1537
- * console.log(buf.fill('zz', 'hex'));
1538
- * // Throws an exception.
1539
- * ```
1540
- * @since v0.5.0
1541
- * @param value The value with which to fill `buf`. Empty value (string, Uint8Array, Buffer) is coerced to `0`.
1542
- * @param [offset=0] Number of bytes to skip before starting to fill `buf`.
1543
- * @param [end=buf.length] Where to stop filling `buf` (not inclusive).
1544
- * @param [encoding='utf8'] The encoding for `value` if `value` is a string.
1545
- * @return A reference to `buf`.
1546
- */
1547
- fill(value: string | Uint8Array | number, offset?: number, end?: number, encoding?: BufferEncoding): this;
1548
- fill(value: string | Uint8Array | number, offset: number, encoding: BufferEncoding): this;
1549
- fill(value: string | Uint8Array | number, encoding: BufferEncoding): this;
1550
- /**
1551
- * If `value` is:
1552
- *
1553
- * * a string, `value` is interpreted according to the character encoding in `encoding`.
1554
- * * a `Buffer` or [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array), `value` will be used in its entirety.
1555
- * To compare a partial `Buffer`, use `buf.subarray`.
1556
- * * a number, `value` will be interpreted as an unsigned 8-bit integer
1557
- * value between `0` and `255`.
1558
- *
1559
- * ```js
1560
- * import { Buffer } from 'node:buffer';
1561
- *
1562
- * const buf = Buffer.from('this is a buffer');
1563
- *
1564
- * console.log(buf.indexOf('this'));
1565
- * // Prints: 0
1566
- * console.log(buf.indexOf('is'));
1567
- * // Prints: 2
1568
- * console.log(buf.indexOf(Buffer.from('a buffer')));
1569
- * // Prints: 8
1570
- * console.log(buf.indexOf(97));
1571
- * // Prints: 8 (97 is the decimal ASCII value for 'a')
1572
- * console.log(buf.indexOf(Buffer.from('a buffer example')));
1573
- * // Prints: -1
1574
- * console.log(buf.indexOf(Buffer.from('a buffer example').slice(0, 8)));
1575
- * // Prints: 8
1576
- *
1577
- * const utf16Buffer = Buffer.from('\u039a\u0391\u03a3\u03a3\u0395', 'utf16le');
1578
- *
1579
- * console.log(utf16Buffer.indexOf('\u03a3', 0, 'utf16le'));
1580
- * // Prints: 4
1581
- * console.log(utf16Buffer.indexOf('\u03a3', -4, 'utf16le'));
1582
- * // Prints: 6
1583
- * ```
1584
- *
1585
- * If `value` is not a string, number, or `Buffer`, this method will throw a `TypeError`. If `value` is a number, it will be coerced to a valid byte value,
1586
- * an integer between 0 and 255.
1587
- *
1588
- * If `byteOffset` is not a number, it will be coerced to a number. If the result
1589
- * of coercion is `NaN` or `0`, then the entire buffer will be searched. This
1590
- * behavior matches [`String.prototype.indexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf).
1591
- *
1592
- * ```js
1593
- * import { Buffer } from 'node:buffer';
1594
- *
1595
- * const b = Buffer.from('abcdef');
1596
- *
1597
- * // Passing a value that's a number, but not a valid byte.
1598
- * // Prints: 2, equivalent to searching for 99 or 'c'.
1599
- * console.log(b.indexOf(99.9));
1600
- * console.log(b.indexOf(256 + 99));
1601
- *
1602
- * // Passing a byteOffset that coerces to NaN or 0.
1603
- * // Prints: 1, searching the whole buffer.
1604
- * console.log(b.indexOf('b', undefined));
1605
- * console.log(b.indexOf('b', {}));
1606
- * console.log(b.indexOf('b', null));
1607
- * console.log(b.indexOf('b', []));
1608
- * ```
1609
- *
1610
- * If `value` is an empty string or empty `Buffer` and `byteOffset` is less
1611
- * than `buf.length`, `byteOffset` will be returned. If `value` is empty and`byteOffset` is at least `buf.length`, `buf.length` will be returned.
1612
- * @since v1.5.0
1613
- * @param value What to search for.
1614
- * @param [byteOffset=0] Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`.
1615
- * @param [encoding='utf8'] If `value` is a string, this is the encoding used to determine the binary representation of the string that will be searched for in `buf`.
1616
- * @return The index of the first occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`.
1617
- */
1618
- indexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number;
1619
- indexOf(value: string | number | Uint8Array, encoding: BufferEncoding): number;
1620
- /**
1621
- * Identical to `buf.indexOf()`, except the last occurrence of `value` is found
1622
- * rather than the first occurrence.
1623
- *
1624
- * ```js
1625
- * import { Buffer } from 'node:buffer';
1626
- *
1627
- * const buf = Buffer.from('this buffer is a buffer');
1628
- *
1629
- * console.log(buf.lastIndexOf('this'));
1630
- * // Prints: 0
1631
- * console.log(buf.lastIndexOf('buffer'));
1632
- * // Prints: 17
1633
- * console.log(buf.lastIndexOf(Buffer.from('buffer')));
1634
- * // Prints: 17
1635
- * console.log(buf.lastIndexOf(97));
1636
- * // Prints: 15 (97 is the decimal ASCII value for 'a')
1637
- * console.log(buf.lastIndexOf(Buffer.from('yolo')));
1638
- * // Prints: -1
1639
- * console.log(buf.lastIndexOf('buffer', 5));
1640
- * // Prints: 5
1641
- * console.log(buf.lastIndexOf('buffer', 4));
1642
- * // Prints: -1
1643
- *
1644
- * const utf16Buffer = Buffer.from('\u039a\u0391\u03a3\u03a3\u0395', 'utf16le');
1645
- *
1646
- * console.log(utf16Buffer.lastIndexOf('\u03a3', undefined, 'utf16le'));
1647
- * // Prints: 6
1648
- * console.log(utf16Buffer.lastIndexOf('\u03a3', -5, 'utf16le'));
1649
- * // Prints: 4
1650
- * ```
1651
- *
1652
- * If `value` is not a string, number, or `Buffer`, this method will throw a `TypeError`. If `value` is a number, it will be coerced to a valid byte value,
1653
- * an integer between 0 and 255.
1654
- *
1655
- * If `byteOffset` is not a number, it will be coerced to a number. Any arguments
1656
- * that coerce to `NaN`, like `{}` or `undefined`, will search the whole buffer.
1657
- * This behavior matches [`String.prototype.lastIndexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf).
1658
- *
1659
- * ```js
1660
- * import { Buffer } from 'node:buffer';
1661
- *
1662
- * const b = Buffer.from('abcdef');
1663
- *
1664
- * // Passing a value that's a number, but not a valid byte.
1665
- * // Prints: 2, equivalent to searching for 99 or 'c'.
1666
- * console.log(b.lastIndexOf(99.9));
1667
- * console.log(b.lastIndexOf(256 + 99));
1668
- *
1669
- * // Passing a byteOffset that coerces to NaN.
1670
- * // Prints: 1, searching the whole buffer.
1671
- * console.log(b.lastIndexOf('b', undefined));
1672
- * console.log(b.lastIndexOf('b', {}));
1673
- *
1674
- * // Passing a byteOffset that coerces to 0.
1675
- * // Prints: -1, equivalent to passing 0.
1676
- * console.log(b.lastIndexOf('b', null));
1677
- * console.log(b.lastIndexOf('b', []));
1678
- * ```
1679
- *
1680
- * If `value` is an empty string or empty `Buffer`, `byteOffset` will be returned.
1681
- * @since v6.0.0
1682
- * @param value What to search for.
1683
- * @param [byteOffset=buf.length - 1] Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`.
1684
- * @param [encoding='utf8'] If `value` is a string, this is the encoding used to determine the binary representation of the string that will be searched for in `buf`.
1685
- * @return The index of the last occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`.
1686
- */
1687
- lastIndexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number;
1688
- lastIndexOf(value: string | number | Uint8Array, encoding: BufferEncoding): number;
1689
- /**
1690
- * Equivalent to `buf.indexOf() !== -1`.
1691
- *
1692
- * ```js
1693
- * import { Buffer } from 'node:buffer';
1694
- *
1695
- * const buf = Buffer.from('this is a buffer');
1696
- *
1697
- * console.log(buf.includes('this'));
1698
- * // Prints: true
1699
- * console.log(buf.includes('is'));
1700
- * // Prints: true
1701
- * console.log(buf.includes(Buffer.from('a buffer')));
1702
- * // Prints: true
1703
- * console.log(buf.includes(97));
1704
- * // Prints: true (97 is the decimal ASCII value for 'a')
1705
- * console.log(buf.includes(Buffer.from('a buffer example')));
1706
- * // Prints: false
1707
- * console.log(buf.includes(Buffer.from('a buffer example').slice(0, 8)));
1708
- * // Prints: true
1709
- * console.log(buf.includes('this', 4));
1710
- * // Prints: false
1711
- * ```
1712
- * @since v5.3.0
1713
- * @param value What to search for.
1714
- * @param [byteOffset=0] Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`.
1715
- * @param [encoding='utf8'] If `value` is a string, this is its encoding.
1716
- * @return `true` if `value` was found in `buf`, `false` otherwise.
1717
- */
1718
- includes(value: string | number | Buffer, byteOffset?: number, encoding?: BufferEncoding): boolean;
1719
- includes(value: string | number | Buffer, encoding: BufferEncoding): boolean;
1720
- }
1721
- var Buffer: BufferConstructor;
1722
- }
1723
- // #region web types
1724
- export type BlobPart = NodeJS.BufferSource | Blob | string;
1725
- export interface BlobPropertyBag {
1726
- endings?: "native" | "transparent";
1727
- type?: string;
1728
- }
1729
- export interface FilePropertyBag extends BlobPropertyBag {
1730
- lastModified?: number;
1731
- }
1732
- export interface Blob {
1733
- readonly size: number;
1734
- readonly type: string;
1735
- arrayBuffer(): Promise<ArrayBuffer>;
1736
- bytes(): Promise<NodeJS.NonSharedUint8Array>;
1737
- slice(start?: number, end?: number, contentType?: string): Blob;
1738
- stream(): ReadableStream<NodeJS.NonSharedUint8Array>;
1739
- text(): Promise<string>;
1740
- }
1741
- export var Blob: {
1742
- prototype: Blob;
1743
- new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob;
1744
- };
1745
- export interface File extends Blob {
1746
- readonly lastModified: number;
1747
- readonly name: string;
1748
- readonly webkitRelativePath: string;
1749
- }
1750
- export var File: {
1751
- prototype: File;
1752
- new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
1753
- };
1754
- export import atob = globalThis.atob;
1755
- export import btoa = globalThis.btoa;
1756
- // #endregion
1757
- }
1758
- declare module "buffer" {
1759
- export * from "node:buffer";
1760
- }