@dotenvx/next-env 1.74.3 → 2.0.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 (2067) hide show
  1. package/README.md +109 -1
  2. package/dist/index.cjs +6294 -0
  3. package/package.json +16 -12
  4. package/index.cjs +0 -191
  5. package/node_modules/@dotenvx/dotenvx/CHANGELOG.md +0 -2104
  6. package/node_modules/@dotenvx/dotenvx/README.md +0 -2781
  7. package/node_modules/@dotenvx/dotenvx/package.json +0 -77
  8. package/node_modules/@dotenvx/dotenvx/src/cli/actions/armor/down.js +0 -37
  9. package/node_modules/@dotenvx/dotenvx/src/cli/actions/armor/move.js +0 -42
  10. package/node_modules/@dotenvx/dotenvx/src/cli/actions/armor/pull.js +0 -37
  11. package/node_modules/@dotenvx/dotenvx/src/cli/actions/armor/push.js +0 -37
  12. package/node_modules/@dotenvx/dotenvx/src/cli/actions/armor/up.js +0 -37
  13. package/node_modules/@dotenvx/dotenvx/src/cli/actions/decrypt.js +0 -93
  14. package/node_modules/@dotenvx/dotenvx/src/cli/actions/doctor.js +0 -22
  15. package/node_modules/@dotenvx/dotenvx/src/cli/actions/encrypt.js +0 -114
  16. package/node_modules/@dotenvx/dotenvx/src/cli/actions/ext/genexample.js +0 -36
  17. package/node_modules/@dotenvx/dotenvx/src/cli/actions/ext/gitignore.js +0 -105
  18. package/node_modules/@dotenvx/dotenvx/src/cli/actions/ext/prebuild.js +0 -30
  19. package/node_modules/@dotenvx/dotenvx/src/cli/actions/ext/precommit.js +0 -30
  20. package/node_modules/@dotenvx/dotenvx/src/cli/actions/ext/scan.js +0 -34
  21. package/node_modules/@dotenvx/dotenvx/src/cli/actions/get.js +0 -98
  22. package/node_modules/@dotenvx/dotenvx/src/cli/actions/keypair.js +0 -66
  23. package/node_modules/@dotenvx/dotenvx/src/cli/actions/login.js +0 -62
  24. package/node_modules/@dotenvx/dotenvx/src/cli/actions/logout.js +0 -36
  25. package/node_modules/@dotenvx/dotenvx/src/cli/actions/ls.js +0 -24
  26. package/node_modules/@dotenvx/dotenvx/src/cli/actions/normalizeArmorOptions.js +0 -10
  27. package/node_modules/@dotenvx/dotenvx/src/cli/actions/rotate.js +0 -87
  28. package/node_modules/@dotenvx/dotenvx/src/cli/actions/run.js +0 -126
  29. package/node_modules/@dotenvx/dotenvx/src/cli/actions/set.js +0 -92
  30. package/node_modules/@dotenvx/dotenvx/src/cli/commands/armor.js +0 -72
  31. package/node_modules/@dotenvx/dotenvx/src/cli/commands/ext.js +0 -85
  32. package/node_modules/@dotenvx/dotenvx/src/cli/dotenvx.js +0 -297
  33. package/node_modules/@dotenvx/dotenvx/src/cli/examples.js +0 -99
  34. package/node_modules/@dotenvx/dotenvx/src/db/device.js +0 -73
  35. package/node_modules/@dotenvx/dotenvx/src/db/session.js +0 -279
  36. package/node_modules/@dotenvx/dotenvx/src/lib/api/getAccount.js +0 -32
  37. package/node_modules/@dotenvx/dotenvx/src/lib/api/postArmorDown.js +0 -48
  38. package/node_modules/@dotenvx/dotenvx/src/lib/api/postArmorMove.js +0 -48
  39. package/node_modules/@dotenvx/dotenvx/src/lib/api/postArmorPull.js +0 -48
  40. package/node_modules/@dotenvx/dotenvx/src/lib/api/postArmorPush.js +0 -48
  41. package/node_modules/@dotenvx/dotenvx/src/lib/api/postArmorUp.js +0 -51
  42. package/node_modules/@dotenvx/dotenvx/src/lib/api/postKeypair.js +0 -60
  43. package/node_modules/@dotenvx/dotenvx/src/lib/api/postLogout.js +0 -34
  44. package/node_modules/@dotenvx/dotenvx/src/lib/api/postOauthDeviceCode.js +0 -38
  45. package/node_modules/@dotenvx/dotenvx/src/lib/api/postOauthToken.js +0 -35
  46. package/node_modules/@dotenvx/dotenvx/src/lib/config.d.ts +0 -1
  47. package/node_modules/@dotenvx/dotenvx/src/lib/config.js +0 -1
  48. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/append.js +0 -61
  49. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/armoredKeyDisplay.js +0 -10
  50. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/arrayToTree.js +0 -27
  51. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/buildApiError.js +0 -16
  52. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/buildEnvs.js +0 -24
  53. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/buildOauthError.js +0 -14
  54. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/canonicalEnvFilename.js +0 -13
  55. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/catchAndLog.js +0 -13
  56. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/chomp.js +0 -5
  57. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/colorDepth.js +0 -17
  58. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/conventions.js +0 -28
  59. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/createSpinner.js +0 -24
  60. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/cryptography/armorKeypair.js +0 -42
  61. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/cryptography/armorKeypairSync.js +0 -55
  62. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/cryptography/decryptKeyValue.js +0 -50
  63. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/cryptography/encryptValue.js +0 -12
  64. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/cryptography/index.js +0 -18
  65. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/cryptography/isEncrypted.js +0 -7
  66. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/cryptography/isPublicKey.js +0 -7
  67. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/cryptography/localKeypair.js +0 -21
  68. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/cryptography/mutateKeysSrc.js +0 -38
  69. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/cryptography/mutateKeysSrcSync.js +0 -38
  70. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/cryptography/mutateSrc.js +0 -24
  71. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/cryptography/provision.js +0 -56
  72. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/cryptography/provisionSync.js +0 -51
  73. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/cryptography/provisionWithPrivateKey.js +0 -26
  74. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/decryptDeviceValue.js +0 -10
  75. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/detectEncoding.js +0 -22
  76. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/detectEncodingSync.js +0 -22
  77. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/dotenvOptionPaths.js +0 -21
  78. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/dotenvParse.js +0 -55
  79. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/dotenvPrivateKeyNames.js +0 -7
  80. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/encryptDeviceValue.js +0 -9
  81. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/envResolution/determine.js +0 -46
  82. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/envResolution/environment.js +0 -27
  83. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/envResolution/index.js +0 -8
  84. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/errors.js +0 -295
  85. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/escape.js +0 -5
  86. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/escapeDollarSigns.js +0 -5
  87. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/escapeForRegex.js +0 -5
  88. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/evalKeyValue.js +0 -23
  89. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/execute.js +0 -12
  90. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/executeCommand.js +0 -181
  91. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/executeDynamic.js +0 -106
  92. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/executeExtension.js +0 -39
  93. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/findEnvFiles.js +0 -25
  94. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/formatCode.js +0 -11
  95. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/fsx.js +0 -54
  96. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/getCommanderVersion.js +0 -10
  97. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/guessPrivateKeyFilename.js +0 -15
  98. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/http.js +0 -7
  99. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/installPrecommitHook.js +0 -79
  100. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/isFullyEncrypted.js +0 -27
  101. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/isIgnoringDotenvKeys.js +0 -19
  102. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/jsonToEnv.js +0 -7
  103. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/keyResolution/index.js +0 -16
  104. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/keyResolution/keyNamesForEnvFile.js +0 -24
  105. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/keyResolution/keyValues.js +0 -99
  106. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/keyResolution/keyValuesFromEnvSrc.js +0 -80
  107. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/keyResolution/keyValuesSync.js +0 -103
  108. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/keyResolution/readFileKey.js +0 -17
  109. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/keyResolution/readFileKeySync.js +0 -15
  110. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/keyResolution/readProcessKey.js +0 -7
  111. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/keypairMetadata.js +0 -77
  112. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/kits/sample.js +0 -23
  113. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/listenForOpenKey.js +0 -46
  114. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/localDisplayPath.js +0 -11
  115. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/normalizeToken.js +0 -5
  116. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/openUrl.js +0 -7
  117. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/packageJson.js +0 -3
  118. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/parse.js +0 -214
  119. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/pluralize.js +0 -10
  120. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/prependPublicKey.js +0 -17
  121. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/preserveShebang.js +0 -16
  122. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/prompts.js +0 -43
  123. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/quotes.js +0 -36
  124. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/readEnvKey.js +0 -31
  125. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/removeDynamicHelpSection.js +0 -21
  126. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/removeEnvKey.js +0 -50
  127. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/removeOptionsHelpParts.js +0 -42
  128. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/replace.js +0 -82
  129. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/resolveEscapeSequences.js +0 -5
  130. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/resolveHome.js +0 -12
  131. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/sanitizeCommandForMetadata.js +0 -64
  132. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/teamChoicesFromMeta.js +0 -8
  133. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/truncate.js +0 -10
  134. package/node_modules/@dotenvx/dotenvx/src/lib/helpers/upsertEnvKey.js +0 -61
  135. package/node_modules/@dotenvx/dotenvx/src/lib/main.d.ts +0 -420
  136. package/node_modules/@dotenvx/dotenvx/src/lib/main.js +0 -347
  137. package/node_modules/@dotenvx/dotenvx/src/lib/services/armorDown.js +0 -71
  138. package/node_modules/@dotenvx/dotenvx/src/lib/services/armorKeypair.js +0 -156
  139. package/node_modules/@dotenvx/dotenvx/src/lib/services/armorMove.js +0 -54
  140. package/node_modules/@dotenvx/dotenvx/src/lib/services/armorPull.js +0 -71
  141. package/node_modules/@dotenvx/dotenvx/src/lib/services/armorPush.js +0 -76
  142. package/node_modules/@dotenvx/dotenvx/src/lib/services/armorUp.js +0 -73
  143. package/node_modules/@dotenvx/dotenvx/src/lib/services/decrypt.js +0 -157
  144. package/node_modules/@dotenvx/dotenvx/src/lib/services/doctor.js +0 -93
  145. package/node_modules/@dotenvx/dotenvx/src/lib/services/encrypt.js +0 -214
  146. package/node_modules/@dotenvx/dotenvx/src/lib/services/genexample.js +0 -101
  147. package/node_modules/@dotenvx/dotenvx/src/lib/services/get.js +0 -76
  148. package/node_modules/@dotenvx/dotenvx/src/lib/services/keypair.js +0 -60
  149. package/node_modules/@dotenvx/dotenvx/src/lib/services/login.js +0 -26
  150. package/node_modules/@dotenvx/dotenvx/src/lib/services/loginPoll.js +0 -36
  151. package/node_modules/@dotenvx/dotenvx/src/lib/services/logout.js +0 -26
  152. package/node_modules/@dotenvx/dotenvx/src/lib/services/ls.js +0 -57
  153. package/node_modules/@dotenvx/dotenvx/src/lib/services/prebuild.js +0 -86
  154. package/node_modules/@dotenvx/dotenvx/src/lib/services/precommit.js +0 -133
  155. package/node_modules/@dotenvx/dotenvx/src/lib/services/rotate.js +0 -198
  156. package/node_modules/@dotenvx/dotenvx/src/lib/services/run.js +0 -255
  157. package/node_modules/@dotenvx/dotenvx/src/lib/services/sets.js +0 -326
  158. package/node_modules/@dotenvx/dotenvx/src/shared/colors.js +0 -67
  159. package/node_modules/@dotenvx/dotenvx/src/shared/logger.js +0 -147
  160. package/node_modules/@ecies/ciphers/LICENSE +0 -21
  161. package/node_modules/@ecies/ciphers/README.md +0 -71
  162. package/node_modules/@ecies/ciphers/dist/_node/compat.d.ts +0 -9
  163. package/node_modules/@ecies/ciphers/dist/_node/compat.js +0 -49
  164. package/node_modules/@ecies/ciphers/dist/_node/hchacha.d.ts +0 -4
  165. package/node_modules/@ecies/ciphers/dist/_node/hchacha.js +0 -89
  166. package/node_modules/@ecies/ciphers/dist/aes/noble.d.ts +0 -3
  167. package/node_modules/@ecies/ciphers/dist/aes/noble.js +0 -8
  168. package/node_modules/@ecies/ciphers/dist/aes/node.d.ts +0 -3
  169. package/node_modules/@ecies/ciphers/dist/aes/node.js +0 -8
  170. package/node_modules/@ecies/ciphers/dist/chacha/noble.d.ts +0 -3
  171. package/node_modules/@ecies/ciphers/dist/chacha/noble.js +0 -8
  172. package/node_modules/@ecies/ciphers/dist/chacha/node.d.ts +0 -3
  173. package/node_modules/@ecies/ciphers/dist/chacha/node.js +0 -26
  174. package/node_modules/@ecies/ciphers/dist/index.d.ts +0 -1
  175. package/node_modules/@ecies/ciphers/dist/index.js +0 -3
  176. package/node_modules/@ecies/ciphers/package.json +0 -76
  177. package/node_modules/@noble/ciphers/LICENSE +0 -22
  178. package/node_modules/@noble/ciphers/README.md +0 -543
  179. package/node_modules/@noble/ciphers/_arx.d.ts +0 -59
  180. package/node_modules/@noble/ciphers/_arx.d.ts.map +0 -1
  181. package/node_modules/@noble/ciphers/_arx.js +0 -175
  182. package/node_modules/@noble/ciphers/_arx.js.map +0 -1
  183. package/node_modules/@noble/ciphers/_assert.d.ts +0 -19
  184. package/node_modules/@noble/ciphers/_assert.d.ts.map +0 -1
  185. package/node_modules/@noble/ciphers/_assert.js +0 -20
  186. package/node_modules/@noble/ciphers/_assert.js.map +0 -1
  187. package/node_modules/@noble/ciphers/_micro.d.ts +0 -41
  188. package/node_modules/@noble/ciphers/_micro.d.ts.map +0 -1
  189. package/node_modules/@noble/ciphers/_micro.js +0 -260
  190. package/node_modules/@noble/ciphers/_micro.js.map +0 -1
  191. package/node_modules/@noble/ciphers/_poly1305.d.ts +0 -29
  192. package/node_modules/@noble/ciphers/_poly1305.d.ts.map +0 -1
  193. package/node_modules/@noble/ciphers/_poly1305.js +0 -281
  194. package/node_modules/@noble/ciphers/_poly1305.js.map +0 -1
  195. package/node_modules/@noble/ciphers/_polyval.d.ts +0 -33
  196. package/node_modules/@noble/ciphers/_polyval.d.ts.map +0 -1
  197. package/node_modules/@noble/ciphers/_polyval.js +0 -233
  198. package/node_modules/@noble/ciphers/_polyval.js.map +0 -1
  199. package/node_modules/@noble/ciphers/aes.d.ts +0 -117
  200. package/node_modules/@noble/ciphers/aes.d.ts.map +0 -1
  201. package/node_modules/@noble/ciphers/aes.js +0 -906
  202. package/node_modules/@noble/ciphers/aes.js.map +0 -1
  203. package/node_modules/@noble/ciphers/chacha.d.ts +0 -56
  204. package/node_modules/@noble/ciphers/chacha.d.ts.map +0 -1
  205. package/node_modules/@noble/ciphers/chacha.js +0 -320
  206. package/node_modules/@noble/ciphers/chacha.js.map +0 -1
  207. package/node_modules/@noble/ciphers/crypto.d.ts +0 -2
  208. package/node_modules/@noble/ciphers/crypto.d.ts.map +0 -1
  209. package/node_modules/@noble/ciphers/crypto.js +0 -5
  210. package/node_modules/@noble/ciphers/crypto.js.map +0 -1
  211. package/node_modules/@noble/ciphers/cryptoNode.d.ts +0 -2
  212. package/node_modules/@noble/ciphers/cryptoNode.d.ts.map +0 -1
  213. package/node_modules/@noble/ciphers/cryptoNode.js +0 -18
  214. package/node_modules/@noble/ciphers/cryptoNode.js.map +0 -1
  215. package/node_modules/@noble/ciphers/esm/_arx.d.ts +0 -59
  216. package/node_modules/@noble/ciphers/esm/_arx.d.ts.map +0 -1
  217. package/node_modules/@noble/ciphers/esm/_arx.js +0 -171
  218. package/node_modules/@noble/ciphers/esm/_arx.js.map +0 -1
  219. package/node_modules/@noble/ciphers/esm/_assert.d.ts +0 -19
  220. package/node_modules/@noble/ciphers/esm/_assert.d.ts.map +0 -1
  221. package/node_modules/@noble/ciphers/esm/_assert.js +0 -17
  222. package/node_modules/@noble/ciphers/esm/_assert.js.map +0 -1
  223. package/node_modules/@noble/ciphers/esm/_micro.d.ts +0 -41
  224. package/node_modules/@noble/ciphers/esm/_micro.d.ts.map +0 -1
  225. package/node_modules/@noble/ciphers/esm/_micro.js +0 -252
  226. package/node_modules/@noble/ciphers/esm/_micro.js.map +0 -1
  227. package/node_modules/@noble/ciphers/esm/_poly1305.d.ts +0 -29
  228. package/node_modules/@noble/ciphers/esm/_poly1305.d.ts.map +0 -1
  229. package/node_modules/@noble/ciphers/esm/_poly1305.js +0 -277
  230. package/node_modules/@noble/ciphers/esm/_poly1305.js.map +0 -1
  231. package/node_modules/@noble/ciphers/esm/_polyval.d.ts +0 -33
  232. package/node_modules/@noble/ciphers/esm/_polyval.d.ts.map +0 -1
  233. package/node_modules/@noble/ciphers/esm/_polyval.js +0 -229
  234. package/node_modules/@noble/ciphers/esm/_polyval.js.map +0 -1
  235. package/node_modules/@noble/ciphers/esm/aes.d.ts +0 -117
  236. package/node_modules/@noble/ciphers/esm/aes.d.ts.map +0 -1
  237. package/node_modules/@noble/ciphers/esm/aes.js +0 -903
  238. package/node_modules/@noble/ciphers/esm/aes.js.map +0 -1
  239. package/node_modules/@noble/ciphers/esm/chacha.d.ts +0 -56
  240. package/node_modules/@noble/ciphers/esm/chacha.d.ts.map +0 -1
  241. package/node_modules/@noble/ciphers/esm/chacha.js +0 -315
  242. package/node_modules/@noble/ciphers/esm/chacha.js.map +0 -1
  243. package/node_modules/@noble/ciphers/esm/crypto.d.ts +0 -2
  244. package/node_modules/@noble/ciphers/esm/crypto.d.ts.map +0 -1
  245. package/node_modules/@noble/ciphers/esm/crypto.js +0 -2
  246. package/node_modules/@noble/ciphers/esm/crypto.js.map +0 -1
  247. package/node_modules/@noble/ciphers/esm/cryptoNode.d.ts +0 -2
  248. package/node_modules/@noble/ciphers/esm/cryptoNode.d.ts.map +0 -1
  249. package/node_modules/@noble/ciphers/esm/cryptoNode.js +0 -15
  250. package/node_modules/@noble/ciphers/esm/cryptoNode.js.map +0 -1
  251. package/node_modules/@noble/ciphers/esm/ff1.d.ts +0 -9
  252. package/node_modules/@noble/ciphers/esm/ff1.d.ts.map +0 -1
  253. package/node_modules/@noble/ciphers/esm/ff1.js +0 -160
  254. package/node_modules/@noble/ciphers/esm/ff1.js.map +0 -1
  255. package/node_modules/@noble/ciphers/esm/index.d.ts +0 -2
  256. package/node_modules/@noble/ciphers/esm/index.d.ts.map +0 -1
  257. package/node_modules/@noble/ciphers/esm/index.js +0 -28
  258. package/node_modules/@noble/ciphers/esm/index.js.map +0 -1
  259. package/node_modules/@noble/ciphers/esm/package.json +0 -10
  260. package/node_modules/@noble/ciphers/esm/salsa.d.ts +0 -33
  261. package/node_modules/@noble/ciphers/esm/salsa.d.ts.map +0 -1
  262. package/node_modules/@noble/ciphers/esm/salsa.js +0 -201
  263. package/node_modules/@noble/ciphers/esm/salsa.js.map +0 -1
  264. package/node_modules/@noble/ciphers/esm/utils.d.ts +0 -155
  265. package/node_modules/@noble/ciphers/esm/utils.d.ts.map +0 -1
  266. package/node_modules/@noble/ciphers/esm/utils.js +0 -339
  267. package/node_modules/@noble/ciphers/esm/utils.js.map +0 -1
  268. package/node_modules/@noble/ciphers/esm/webcrypto.d.ts +0 -31
  269. package/node_modules/@noble/ciphers/esm/webcrypto.d.ts.map +0 -1
  270. package/node_modules/@noble/ciphers/esm/webcrypto.js +0 -135
  271. package/node_modules/@noble/ciphers/esm/webcrypto.js.map +0 -1
  272. package/node_modules/@noble/ciphers/ff1.d.ts +0 -9
  273. package/node_modules/@noble/ciphers/ff1.d.ts.map +0 -1
  274. package/node_modules/@noble/ciphers/ff1.js +0 -164
  275. package/node_modules/@noble/ciphers/ff1.js.map +0 -1
  276. package/node_modules/@noble/ciphers/index.d.ts +0 -1
  277. package/node_modules/@noble/ciphers/index.d.ts.map +0 -1
  278. package/node_modules/@noble/ciphers/index.js +0 -28
  279. package/node_modules/@noble/ciphers/index.js.map +0 -1
  280. package/node_modules/@noble/ciphers/package.json +0 -177
  281. package/node_modules/@noble/ciphers/salsa.d.ts +0 -33
  282. package/node_modules/@noble/ciphers/salsa.d.ts.map +0 -1
  283. package/node_modules/@noble/ciphers/salsa.js +0 -206
  284. package/node_modules/@noble/ciphers/salsa.js.map +0 -1
  285. package/node_modules/@noble/ciphers/src/_arx.ts +0 -224
  286. package/node_modules/@noble/ciphers/src/_assert.ts +0 -25
  287. package/node_modules/@noble/ciphers/src/_micro.ts +0 -311
  288. package/node_modules/@noble/ciphers/src/_poly1305.ts +0 -305
  289. package/node_modules/@noble/ciphers/src/_polyval.ts +0 -267
  290. package/node_modules/@noble/ciphers/src/aes.ts +0 -1016
  291. package/node_modules/@noble/ciphers/src/chacha.ts +0 -290
  292. package/node_modules/@noble/ciphers/src/crypto.ts +0 -9
  293. package/node_modules/@noble/ciphers/src/cryptoNode.ts +0 -15
  294. package/node_modules/@noble/ciphers/src/ff1.ts +0 -162
  295. package/node_modules/@noble/ciphers/src/index.ts +0 -26
  296. package/node_modules/@noble/ciphers/src/package.json +0 -3
  297. package/node_modules/@noble/ciphers/src/salsa.ts +0 -189
  298. package/node_modules/@noble/ciphers/src/utils.ts +0 -453
  299. package/node_modules/@noble/ciphers/src/webcrypto.ts +0 -169
  300. package/node_modules/@noble/ciphers/utils.d.ts +0 -155
  301. package/node_modules/@noble/ciphers/utils.d.ts.map +0 -1
  302. package/node_modules/@noble/ciphers/utils.js +0 -374
  303. package/node_modules/@noble/ciphers/utils.js.map +0 -1
  304. package/node_modules/@noble/ciphers/webcrypto.d.ts +0 -31
  305. package/node_modules/@noble/ciphers/webcrypto.d.ts.map +0 -1
  306. package/node_modules/@noble/ciphers/webcrypto.js +0 -141
  307. package/node_modules/@noble/ciphers/webcrypto.js.map +0 -1
  308. package/node_modules/@noble/curves/LICENSE +0 -21
  309. package/node_modules/@noble/curves/README.md +0 -1009
  310. package/node_modules/@noble/curves/_shortw_utils.d.ts +0 -19
  311. package/node_modules/@noble/curves/_shortw_utils.d.ts.map +0 -1
  312. package/node_modules/@noble/curves/_shortw_utils.js +0 -20
  313. package/node_modules/@noble/curves/_shortw_utils.js.map +0 -1
  314. package/node_modules/@noble/curves/abstract/bls.d.ts +0 -190
  315. package/node_modules/@noble/curves/abstract/bls.d.ts.map +0 -1
  316. package/node_modules/@noble/curves/abstract/bls.js +0 -411
  317. package/node_modules/@noble/curves/abstract/bls.js.map +0 -1
  318. package/node_modules/@noble/curves/abstract/curve.d.ts +0 -231
  319. package/node_modules/@noble/curves/abstract/curve.d.ts.map +0 -1
  320. package/node_modules/@noble/curves/abstract/curve.js +0 -476
  321. package/node_modules/@noble/curves/abstract/curve.js.map +0 -1
  322. package/node_modules/@noble/curves/abstract/edwards.d.ts +0 -243
  323. package/node_modules/@noble/curves/abstract/edwards.d.ts.map +0 -1
  324. package/node_modules/@noble/curves/abstract/edwards.js +0 -634
  325. package/node_modules/@noble/curves/abstract/edwards.js.map +0 -1
  326. package/node_modules/@noble/curves/abstract/fft.d.ts +0 -122
  327. package/node_modules/@noble/curves/abstract/fft.d.ts.map +0 -1
  328. package/node_modules/@noble/curves/abstract/fft.js +0 -438
  329. package/node_modules/@noble/curves/abstract/fft.js.map +0 -1
  330. package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +0 -102
  331. package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts.map +0 -1
  332. package/node_modules/@noble/curves/abstract/hash-to-curve.js +0 -211
  333. package/node_modules/@noble/curves/abstract/hash-to-curve.js.map +0 -1
  334. package/node_modules/@noble/curves/abstract/modular.d.ts +0 -171
  335. package/node_modules/@noble/curves/abstract/modular.d.ts.map +0 -1
  336. package/node_modules/@noble/curves/abstract/modular.js +0 -554
  337. package/node_modules/@noble/curves/abstract/modular.js.map +0 -1
  338. package/node_modules/@noble/curves/abstract/montgomery.d.ts +0 -30
  339. package/node_modules/@noble/curves/abstract/montgomery.d.ts.map +0 -1
  340. package/node_modules/@noble/curves/abstract/montgomery.js +0 -160
  341. package/node_modules/@noble/curves/abstract/montgomery.js.map +0 -1
  342. package/node_modules/@noble/curves/abstract/poseidon.d.ts +0 -68
  343. package/node_modules/@noble/curves/abstract/poseidon.d.ts.map +0 -1
  344. package/node_modules/@noble/curves/abstract/poseidon.js +0 -305
  345. package/node_modules/@noble/curves/abstract/poseidon.js.map +0 -1
  346. package/node_modules/@noble/curves/abstract/tower.d.ts +0 -95
  347. package/node_modules/@noble/curves/abstract/tower.d.ts.map +0 -1
  348. package/node_modules/@noble/curves/abstract/tower.js +0 -718
  349. package/node_modules/@noble/curves/abstract/tower.js.map +0 -1
  350. package/node_modules/@noble/curves/abstract/utils.d.ts +0 -78
  351. package/node_modules/@noble/curves/abstract/utils.d.ts.map +0 -1
  352. package/node_modules/@noble/curves/abstract/utils.js +0 -73
  353. package/node_modules/@noble/curves/abstract/utils.js.map +0 -1
  354. package/node_modules/@noble/curves/abstract/weierstrass.d.ts +0 -416
  355. package/node_modules/@noble/curves/abstract/weierstrass.d.ts.map +0 -1
  356. package/node_modules/@noble/curves/abstract/weierstrass.js +0 -1427
  357. package/node_modules/@noble/curves/abstract/weierstrass.js.map +0 -1
  358. package/node_modules/@noble/curves/bls12-381.d.ts +0 -16
  359. package/node_modules/@noble/curves/bls12-381.d.ts.map +0 -1
  360. package/node_modules/@noble/curves/bls12-381.js +0 -708
  361. package/node_modules/@noble/curves/bls12-381.js.map +0 -1
  362. package/node_modules/@noble/curves/bn254.d.ts +0 -18
  363. package/node_modules/@noble/curves/bn254.d.ts.map +0 -1
  364. package/node_modules/@noble/curves/bn254.js +0 -218
  365. package/node_modules/@noble/curves/bn254.js.map +0 -1
  366. package/node_modules/@noble/curves/ed25519.d.ts +0 -106
  367. package/node_modules/@noble/curves/ed25519.d.ts.map +0 -1
  368. package/node_modules/@noble/curves/ed25519.js +0 -472
  369. package/node_modules/@noble/curves/ed25519.js.map +0 -1
  370. package/node_modules/@noble/curves/ed448.d.ts +0 -100
  371. package/node_modules/@noble/curves/ed448.d.ts.map +0 -1
  372. package/node_modules/@noble/curves/ed448.js +0 -463
  373. package/node_modules/@noble/curves/ed448.js.map +0 -1
  374. package/node_modules/@noble/curves/esm/_shortw_utils.d.ts +0 -19
  375. package/node_modules/@noble/curves/esm/_shortw_utils.d.ts.map +0 -1
  376. package/node_modules/@noble/curves/esm/_shortw_utils.js +0 -16
  377. package/node_modules/@noble/curves/esm/_shortw_utils.js.map +0 -1
  378. package/node_modules/@noble/curves/esm/abstract/bls.d.ts +0 -190
  379. package/node_modules/@noble/curves/esm/abstract/bls.d.ts.map +0 -1
  380. package/node_modules/@noble/curves/esm/abstract/bls.js +0 -408
  381. package/node_modules/@noble/curves/esm/abstract/bls.js.map +0 -1
  382. package/node_modules/@noble/curves/esm/abstract/curve.d.ts +0 -231
  383. package/node_modules/@noble/curves/esm/abstract/curve.d.ts.map +0 -1
  384. package/node_modules/@noble/curves/esm/abstract/curve.js +0 -465
  385. package/node_modules/@noble/curves/esm/abstract/curve.js.map +0 -1
  386. package/node_modules/@noble/curves/esm/abstract/edwards.d.ts +0 -243
  387. package/node_modules/@noble/curves/esm/abstract/edwards.d.ts.map +0 -1
  388. package/node_modules/@noble/curves/esm/abstract/edwards.js +0 -627
  389. package/node_modules/@noble/curves/esm/abstract/edwards.js.map +0 -1
  390. package/node_modules/@noble/curves/esm/abstract/fft.d.ts +0 -122
  391. package/node_modules/@noble/curves/esm/abstract/fft.d.ts.map +0 -1
  392. package/node_modules/@noble/curves/esm/abstract/fft.js +0 -425
  393. package/node_modules/@noble/curves/esm/abstract/fft.js.map +0 -1
  394. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts +0 -102
  395. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts.map +0 -1
  396. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js +0 -203
  397. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js.map +0 -1
  398. package/node_modules/@noble/curves/esm/abstract/modular.d.ts +0 -171
  399. package/node_modules/@noble/curves/esm/abstract/modular.d.ts.map +0 -1
  400. package/node_modules/@noble/curves/esm/abstract/modular.js +0 -530
  401. package/node_modules/@noble/curves/esm/abstract/modular.js.map +0 -1
  402. package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts +0 -30
  403. package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts.map +0 -1
  404. package/node_modules/@noble/curves/esm/abstract/montgomery.js +0 -157
  405. package/node_modules/@noble/curves/esm/abstract/montgomery.js.map +0 -1
  406. package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts +0 -68
  407. package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts.map +0 -1
  408. package/node_modules/@noble/curves/esm/abstract/poseidon.js +0 -296
  409. package/node_modules/@noble/curves/esm/abstract/poseidon.js.map +0 -1
  410. package/node_modules/@noble/curves/esm/abstract/tower.d.ts +0 -95
  411. package/node_modules/@noble/curves/esm/abstract/tower.d.ts.map +0 -1
  412. package/node_modules/@noble/curves/esm/abstract/tower.js +0 -714
  413. package/node_modules/@noble/curves/esm/abstract/tower.js.map +0 -1
  414. package/node_modules/@noble/curves/esm/abstract/utils.d.ts +0 -78
  415. package/node_modules/@noble/curves/esm/abstract/utils.d.ts.map +0 -1
  416. package/node_modules/@noble/curves/esm/abstract/utils.js +0 -70
  417. package/node_modules/@noble/curves/esm/abstract/utils.js.map +0 -1
  418. package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts +0 -416
  419. package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts.map +0 -1
  420. package/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -1413
  421. package/node_modules/@noble/curves/esm/abstract/weierstrass.js.map +0 -1
  422. package/node_modules/@noble/curves/esm/bls12-381.d.ts +0 -16
  423. package/node_modules/@noble/curves/esm/bls12-381.d.ts.map +0 -1
  424. package/node_modules/@noble/curves/esm/bls12-381.js +0 -705
  425. package/node_modules/@noble/curves/esm/bls12-381.js.map +0 -1
  426. package/node_modules/@noble/curves/esm/bn254.d.ts +0 -18
  427. package/node_modules/@noble/curves/esm/bn254.d.ts.map +0 -1
  428. package/node_modules/@noble/curves/esm/bn254.js +0 -214
  429. package/node_modules/@noble/curves/esm/bn254.js.map +0 -1
  430. package/node_modules/@noble/curves/esm/ed25519.d.ts +0 -106
  431. package/node_modules/@noble/curves/esm/ed25519.d.ts.map +0 -1
  432. package/node_modules/@noble/curves/esm/ed25519.js +0 -467
  433. package/node_modules/@noble/curves/esm/ed25519.js.map +0 -1
  434. package/node_modules/@noble/curves/esm/ed448.d.ts +0 -100
  435. package/node_modules/@noble/curves/esm/ed448.d.ts.map +0 -1
  436. package/node_modules/@noble/curves/esm/ed448.js +0 -459
  437. package/node_modules/@noble/curves/esm/ed448.js.map +0 -1
  438. package/node_modules/@noble/curves/esm/index.d.ts +0 -2
  439. package/node_modules/@noble/curves/esm/index.d.ts.map +0 -1
  440. package/node_modules/@noble/curves/esm/index.js +0 -17
  441. package/node_modules/@noble/curves/esm/index.js.map +0 -1
  442. package/node_modules/@noble/curves/esm/jubjub.d.ts +0 -12
  443. package/node_modules/@noble/curves/esm/jubjub.d.ts.map +0 -1
  444. package/node_modules/@noble/curves/esm/jubjub.js +0 -12
  445. package/node_modules/@noble/curves/esm/jubjub.js.map +0 -1
  446. package/node_modules/@noble/curves/esm/misc.d.ts +0 -19
  447. package/node_modules/@noble/curves/esm/misc.d.ts.map +0 -1
  448. package/node_modules/@noble/curves/esm/misc.js +0 -109
  449. package/node_modules/@noble/curves/esm/misc.js.map +0 -1
  450. package/node_modules/@noble/curves/esm/nist.d.ts +0 -21
  451. package/node_modules/@noble/curves/esm/nist.d.ts.map +0 -1
  452. package/node_modules/@noble/curves/esm/nist.js +0 -132
  453. package/node_modules/@noble/curves/esm/nist.js.map +0 -1
  454. package/node_modules/@noble/curves/esm/p256.d.ts +0 -16
  455. package/node_modules/@noble/curves/esm/p256.d.ts.map +0 -1
  456. package/node_modules/@noble/curves/esm/p256.js +0 -16
  457. package/node_modules/@noble/curves/esm/p256.js.map +0 -1
  458. package/node_modules/@noble/curves/esm/p384.d.ts +0 -16
  459. package/node_modules/@noble/curves/esm/p384.d.ts.map +0 -1
  460. package/node_modules/@noble/curves/esm/p384.js +0 -16
  461. package/node_modules/@noble/curves/esm/p384.js.map +0 -1
  462. package/node_modules/@noble/curves/esm/p521.d.ts +0 -16
  463. package/node_modules/@noble/curves/esm/p521.d.ts.map +0 -1
  464. package/node_modules/@noble/curves/esm/p521.js +0 -16
  465. package/node_modules/@noble/curves/esm/p521.js.map +0 -1
  466. package/node_modules/@noble/curves/esm/package.json +0 -4
  467. package/node_modules/@noble/curves/esm/pasta.d.ts +0 -10
  468. package/node_modules/@noble/curves/esm/pasta.d.ts.map +0 -1
  469. package/node_modules/@noble/curves/esm/pasta.js +0 -10
  470. package/node_modules/@noble/curves/esm/pasta.js.map +0 -1
  471. package/node_modules/@noble/curves/esm/secp256k1.d.ts +0 -89
  472. package/node_modules/@noble/curves/esm/secp256k1.d.ts.map +0 -1
  473. package/node_modules/@noble/curves/esm/secp256k1.js +0 -294
  474. package/node_modules/@noble/curves/esm/secp256k1.js.map +0 -1
  475. package/node_modules/@noble/curves/esm/utils.d.ts +0 -110
  476. package/node_modules/@noble/curves/esm/utils.d.ts.map +0 -1
  477. package/node_modules/@noble/curves/esm/utils.js +0 -322
  478. package/node_modules/@noble/curves/esm/utils.js.map +0 -1
  479. package/node_modules/@noble/curves/index.d.ts +0 -1
  480. package/node_modules/@noble/curves/index.d.ts.map +0 -1
  481. package/node_modules/@noble/curves/index.js +0 -17
  482. package/node_modules/@noble/curves/index.js.map +0 -1
  483. package/node_modules/@noble/curves/jubjub.d.ts +0 -12
  484. package/node_modules/@noble/curves/jubjub.d.ts.map +0 -1
  485. package/node_modules/@noble/curves/jubjub.js +0 -15
  486. package/node_modules/@noble/curves/jubjub.js.map +0 -1
  487. package/node_modules/@noble/curves/misc.d.ts +0 -19
  488. package/node_modules/@noble/curves/misc.d.ts.map +0 -1
  489. package/node_modules/@noble/curves/misc.js +0 -114
  490. package/node_modules/@noble/curves/misc.js.map +0 -1
  491. package/node_modules/@noble/curves/nist.d.ts +0 -21
  492. package/node_modules/@noble/curves/nist.d.ts.map +0 -1
  493. package/node_modules/@noble/curves/nist.js +0 -135
  494. package/node_modules/@noble/curves/nist.js.map +0 -1
  495. package/node_modules/@noble/curves/p256.d.ts +0 -16
  496. package/node_modules/@noble/curves/p256.d.ts.map +0 -1
  497. package/node_modules/@noble/curves/p256.js +0 -13
  498. package/node_modules/@noble/curves/p256.js.map +0 -1
  499. package/node_modules/@noble/curves/p384.d.ts +0 -16
  500. package/node_modules/@noble/curves/p384.d.ts.map +0 -1
  501. package/node_modules/@noble/curves/p384.js +0 -13
  502. package/node_modules/@noble/curves/p384.js.map +0 -1
  503. package/node_modules/@noble/curves/p521.d.ts +0 -16
  504. package/node_modules/@noble/curves/p521.d.ts.map +0 -1
  505. package/node_modules/@noble/curves/p521.js +0 -13
  506. package/node_modules/@noble/curves/p521.js.map +0 -1
  507. package/node_modules/@noble/curves/package.json +0 -295
  508. package/node_modules/@noble/curves/pasta.d.ts +0 -10
  509. package/node_modules/@noble/curves/pasta.d.ts.map +0 -1
  510. package/node_modules/@noble/curves/pasta.js +0 -13
  511. package/node_modules/@noble/curves/pasta.js.map +0 -1
  512. package/node_modules/@noble/curves/secp256k1.d.ts +0 -89
  513. package/node_modules/@noble/curves/secp256k1.d.ts.map +0 -1
  514. package/node_modules/@noble/curves/secp256k1.js +0 -297
  515. package/node_modules/@noble/curves/secp256k1.js.map +0 -1
  516. package/node_modules/@noble/curves/src/_shortw_utils.ts +0 -21
  517. package/node_modules/@noble/curves/src/abstract/bls.ts +0 -747
  518. package/node_modules/@noble/curves/src/abstract/curve.ts +0 -692
  519. package/node_modules/@noble/curves/src/abstract/edwards.ts +0 -914
  520. package/node_modules/@noble/curves/src/abstract/fft.ts +0 -519
  521. package/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +0 -306
  522. package/node_modules/@noble/curves/src/abstract/modular.ts +0 -605
  523. package/node_modules/@noble/curves/src/abstract/montgomery.ts +0 -194
  524. package/node_modules/@noble/curves/src/abstract/poseidon.ts +0 -335
  525. package/node_modules/@noble/curves/src/abstract/tower.ts +0 -867
  526. package/node_modules/@noble/curves/src/abstract/utils.ts +0 -80
  527. package/node_modules/@noble/curves/src/abstract/weierstrass.ts +0 -1884
  528. package/node_modules/@noble/curves/src/bls12-381.ts +0 -781
  529. package/node_modules/@noble/curves/src/bn254.ts +0 -243
  530. package/node_modules/@noble/curves/src/ed25519.ts +0 -554
  531. package/node_modules/@noble/curves/src/ed448.ts +0 -552
  532. package/node_modules/@noble/curves/src/index.ts +0 -15
  533. package/node_modules/@noble/curves/src/jubjub.ts +0 -12
  534. package/node_modules/@noble/curves/src/misc.ts +0 -124
  535. package/node_modules/@noble/curves/src/nist.ts +0 -197
  536. package/node_modules/@noble/curves/src/p256.ts +0 -15
  537. package/node_modules/@noble/curves/src/p384.ts +0 -15
  538. package/node_modules/@noble/curves/src/p521.ts +0 -15
  539. package/node_modules/@noble/curves/src/package.json +0 -3
  540. package/node_modules/@noble/curves/src/pasta.ts +0 -9
  541. package/node_modules/@noble/curves/src/secp256k1.ts +0 -362
  542. package/node_modules/@noble/curves/src/utils.ts +0 -376
  543. package/node_modules/@noble/curves/utils.d.ts +0 -110
  544. package/node_modules/@noble/curves/utils.d.ts.map +0 -1
  545. package/node_modules/@noble/curves/utils.js +0 -360
  546. package/node_modules/@noble/curves/utils.js.map +0 -1
  547. package/node_modules/@noble/hashes/LICENSE +0 -21
  548. package/node_modules/@noble/hashes/README.md +0 -521
  549. package/node_modules/@noble/hashes/_assert.d.ts +0 -17
  550. package/node_modules/@noble/hashes/_assert.d.ts.map +0 -1
  551. package/node_modules/@noble/hashes/_assert.js +0 -18
  552. package/node_modules/@noble/hashes/_assert.js.map +0 -1
  553. package/node_modules/@noble/hashes/_blake.d.ts +0 -14
  554. package/node_modules/@noble/hashes/_blake.d.ts.map +0 -1
  555. package/node_modules/@noble/hashes/_blake.js +0 -50
  556. package/node_modules/@noble/hashes/_blake.js.map +0 -1
  557. package/node_modules/@noble/hashes/_md.d.ts +0 -51
  558. package/node_modules/@noble/hashes/_md.d.ts.map +0 -1
  559. package/node_modules/@noble/hashes/_md.js +0 -162
  560. package/node_modules/@noble/hashes/_md.js.map +0 -1
  561. package/node_modules/@noble/hashes/_u64.d.ts +0 -55
  562. package/node_modules/@noble/hashes/_u64.d.ts.map +0 -1
  563. package/node_modules/@noble/hashes/_u64.js +0 -90
  564. package/node_modules/@noble/hashes/_u64.js.map +0 -1
  565. package/node_modules/@noble/hashes/argon2.d.ts +0 -32
  566. package/node_modules/@noble/hashes/argon2.d.ts.map +0 -1
  567. package/node_modules/@noble/hashes/argon2.js +0 -401
  568. package/node_modules/@noble/hashes/argon2.js.map +0 -1
  569. package/node_modules/@noble/hashes/blake1.d.ts +0 -106
  570. package/node_modules/@noble/hashes/blake1.d.ts.map +0 -1
  571. package/node_modules/@noble/hashes/blake1.js +0 -459
  572. package/node_modules/@noble/hashes/blake1.js.map +0 -1
  573. package/node_modules/@noble/hashes/blake2.d.ts +0 -116
  574. package/node_modules/@noble/hashes/blake2.d.ts.map +0 -1
  575. package/node_modules/@noble/hashes/blake2.js +0 -420
  576. package/node_modules/@noble/hashes/blake2.js.map +0 -1
  577. package/node_modules/@noble/hashes/blake2b.d.ts +0 -11
  578. package/node_modules/@noble/hashes/blake2b.d.ts.map +0 -1
  579. package/node_modules/@noble/hashes/blake2b.js +0 -14
  580. package/node_modules/@noble/hashes/blake2b.js.map +0 -1
  581. package/node_modules/@noble/hashes/blake2s.d.ts +0 -20
  582. package/node_modules/@noble/hashes/blake2s.d.ts.map +0 -1
  583. package/node_modules/@noble/hashes/blake2s.js +0 -24
  584. package/node_modules/@noble/hashes/blake2s.js.map +0 -1
  585. package/node_modules/@noble/hashes/blake3.d.ts +0 -54
  586. package/node_modules/@noble/hashes/blake3.d.ts.map +0 -1
  587. package/node_modules/@noble/hashes/blake3.js +0 -255
  588. package/node_modules/@noble/hashes/blake3.js.map +0 -1
  589. package/node_modules/@noble/hashes/crypto.d.ts +0 -2
  590. package/node_modules/@noble/hashes/crypto.d.ts.map +0 -1
  591. package/node_modules/@noble/hashes/crypto.js +0 -5
  592. package/node_modules/@noble/hashes/crypto.js.map +0 -1
  593. package/node_modules/@noble/hashes/cryptoNode.d.ts +0 -2
  594. package/node_modules/@noble/hashes/cryptoNode.d.ts.map +0 -1
  595. package/node_modules/@noble/hashes/cryptoNode.js +0 -18
  596. package/node_modules/@noble/hashes/cryptoNode.js.map +0 -1
  597. package/node_modules/@noble/hashes/eskdf.d.ts +0 -47
  598. package/node_modules/@noble/hashes/eskdf.d.ts.map +0 -1
  599. package/node_modules/@noble/hashes/eskdf.js +0 -166
  600. package/node_modules/@noble/hashes/eskdf.js.map +0 -1
  601. package/node_modules/@noble/hashes/esm/_assert.d.ts +0 -17
  602. package/node_modules/@noble/hashes/esm/_assert.d.ts.map +0 -1
  603. package/node_modules/@noble/hashes/esm/_assert.js +0 -15
  604. package/node_modules/@noble/hashes/esm/_assert.js.map +0 -1
  605. package/node_modules/@noble/hashes/esm/_blake.d.ts +0 -14
  606. package/node_modules/@noble/hashes/esm/_blake.d.ts.map +0 -1
  607. package/node_modules/@noble/hashes/esm/_blake.js +0 -45
  608. package/node_modules/@noble/hashes/esm/_blake.js.map +0 -1
  609. package/node_modules/@noble/hashes/esm/_md.d.ts +0 -51
  610. package/node_modules/@noble/hashes/esm/_md.d.ts.map +0 -1
  611. package/node_modules/@noble/hashes/esm/_md.js +0 -155
  612. package/node_modules/@noble/hashes/esm/_md.js.map +0 -1
  613. package/node_modules/@noble/hashes/esm/_u64.d.ts +0 -55
  614. package/node_modules/@noble/hashes/esm/_u64.d.ts.map +0 -1
  615. package/node_modules/@noble/hashes/esm/_u64.js +0 -67
  616. package/node_modules/@noble/hashes/esm/_u64.js.map +0 -1
  617. package/node_modules/@noble/hashes/esm/argon2.d.ts +0 -32
  618. package/node_modules/@noble/hashes/esm/argon2.d.ts.map +0 -1
  619. package/node_modules/@noble/hashes/esm/argon2.js +0 -392
  620. package/node_modules/@noble/hashes/esm/argon2.js.map +0 -1
  621. package/node_modules/@noble/hashes/esm/blake1.d.ts +0 -106
  622. package/node_modules/@noble/hashes/esm/blake1.d.ts.map +0 -1
  623. package/node_modules/@noble/hashes/esm/blake1.js +0 -452
  624. package/node_modules/@noble/hashes/esm/blake1.js.map +0 -1
  625. package/node_modules/@noble/hashes/esm/blake2.d.ts +0 -116
  626. package/node_modules/@noble/hashes/esm/blake2.d.ts.map +0 -1
  627. package/node_modules/@noble/hashes/esm/blake2.js +0 -413
  628. package/node_modules/@noble/hashes/esm/blake2.js.map +0 -1
  629. package/node_modules/@noble/hashes/esm/blake2b.d.ts +0 -11
  630. package/node_modules/@noble/hashes/esm/blake2b.d.ts.map +0 -1
  631. package/node_modules/@noble/hashes/esm/blake2b.js +0 -11
  632. package/node_modules/@noble/hashes/esm/blake2b.js.map +0 -1
  633. package/node_modules/@noble/hashes/esm/blake2s.d.ts +0 -20
  634. package/node_modules/@noble/hashes/esm/blake2s.d.ts.map +0 -1
  635. package/node_modules/@noble/hashes/esm/blake2s.js +0 -21
  636. package/node_modules/@noble/hashes/esm/blake2s.js.map +0 -1
  637. package/node_modules/@noble/hashes/esm/blake3.d.ts +0 -54
  638. package/node_modules/@noble/hashes/esm/blake3.d.ts.map +0 -1
  639. package/node_modules/@noble/hashes/esm/blake3.js +0 -251
  640. package/node_modules/@noble/hashes/esm/blake3.js.map +0 -1
  641. package/node_modules/@noble/hashes/esm/crypto.d.ts +0 -2
  642. package/node_modules/@noble/hashes/esm/crypto.d.ts.map +0 -1
  643. package/node_modules/@noble/hashes/esm/crypto.js +0 -2
  644. package/node_modules/@noble/hashes/esm/crypto.js.map +0 -1
  645. package/node_modules/@noble/hashes/esm/cryptoNode.d.ts +0 -2
  646. package/node_modules/@noble/hashes/esm/cryptoNode.d.ts.map +0 -1
  647. package/node_modules/@noble/hashes/esm/cryptoNode.js +0 -15
  648. package/node_modules/@noble/hashes/esm/cryptoNode.js.map +0 -1
  649. package/node_modules/@noble/hashes/esm/eskdf.d.ts +0 -47
  650. package/node_modules/@noble/hashes/esm/eskdf.d.ts.map +0 -1
  651. package/node_modules/@noble/hashes/esm/eskdf.js +0 -160
  652. package/node_modules/@noble/hashes/esm/eskdf.js.map +0 -1
  653. package/node_modules/@noble/hashes/esm/hkdf.d.ts +0 -36
  654. package/node_modules/@noble/hashes/esm/hkdf.d.ts.map +0 -1
  655. package/node_modules/@noble/hashes/esm/hkdf.js +0 -82
  656. package/node_modules/@noble/hashes/esm/hkdf.js.map +0 -1
  657. package/node_modules/@noble/hashes/esm/hmac.d.ts +0 -35
  658. package/node_modules/@noble/hashes/esm/hmac.d.ts.map +0 -1
  659. package/node_modules/@noble/hashes/esm/hmac.js +0 -86
  660. package/node_modules/@noble/hashes/esm/hmac.js.map +0 -1
  661. package/node_modules/@noble/hashes/esm/index.d.ts +0 -2
  662. package/node_modules/@noble/hashes/esm/index.d.ts.map +0 -1
  663. package/node_modules/@noble/hashes/esm/index.js +0 -33
  664. package/node_modules/@noble/hashes/esm/index.js.map +0 -1
  665. package/node_modules/@noble/hashes/esm/legacy.d.ts +0 -71
  666. package/node_modules/@noble/hashes/esm/legacy.d.ts.map +0 -1
  667. package/node_modules/@noble/hashes/esm/legacy.js +0 -281
  668. package/node_modules/@noble/hashes/esm/legacy.js.map +0 -1
  669. package/node_modules/@noble/hashes/esm/package.json +0 -10
  670. package/node_modules/@noble/hashes/esm/pbkdf2.d.ts +0 -23
  671. package/node_modules/@noble/hashes/esm/pbkdf2.d.ts.map +0 -1
  672. package/node_modules/@noble/hashes/esm/pbkdf2.js +0 -97
  673. package/node_modules/@noble/hashes/esm/pbkdf2.js.map +0 -1
  674. package/node_modules/@noble/hashes/esm/ripemd160.d.ts +0 -13
  675. package/node_modules/@noble/hashes/esm/ripemd160.d.ts.map +0 -1
  676. package/node_modules/@noble/hashes/esm/ripemd160.js +0 -13
  677. package/node_modules/@noble/hashes/esm/ripemd160.js.map +0 -1
  678. package/node_modules/@noble/hashes/esm/scrypt.d.ts +0 -34
  679. package/node_modules/@noble/hashes/esm/scrypt.d.ts.map +0 -1
  680. package/node_modules/@noble/hashes/esm/scrypt.js +0 -228
  681. package/node_modules/@noble/hashes/esm/scrypt.js.map +0 -1
  682. package/node_modules/@noble/hashes/esm/sha1.d.ts +0 -11
  683. package/node_modules/@noble/hashes/esm/sha1.d.ts.map +0 -1
  684. package/node_modules/@noble/hashes/esm/sha1.js +0 -11
  685. package/node_modules/@noble/hashes/esm/sha1.js.map +0 -1
  686. package/node_modules/@noble/hashes/esm/sha2.d.ts +0 -159
  687. package/node_modules/@noble/hashes/esm/sha2.d.ts.map +0 -1
  688. package/node_modules/@noble/hashes/esm/sha2.js +0 -375
  689. package/node_modules/@noble/hashes/esm/sha2.js.map +0 -1
  690. package/node_modules/@noble/hashes/esm/sha256.d.ts +0 -20
  691. package/node_modules/@noble/hashes/esm/sha256.d.ts.map +0 -1
  692. package/node_modules/@noble/hashes/esm/sha256.js +0 -20
  693. package/node_modules/@noble/hashes/esm/sha256.js.map +0 -1
  694. package/node_modules/@noble/hashes/esm/sha3-addons.d.ts +0 -142
  695. package/node_modules/@noble/hashes/esm/sha3-addons.d.ts.map +0 -1
  696. package/node_modules/@noble/hashes/esm/sha3-addons.js +0 -393
  697. package/node_modules/@noble/hashes/esm/sha3-addons.js.map +0 -1
  698. package/node_modules/@noble/hashes/esm/sha3.d.ts +0 -53
  699. package/node_modules/@noble/hashes/esm/sha3.d.ts.map +0 -1
  700. package/node_modules/@noble/hashes/esm/sha3.js +0 -234
  701. package/node_modules/@noble/hashes/esm/sha3.js.map +0 -1
  702. package/node_modules/@noble/hashes/esm/sha512.d.ts +0 -26
  703. package/node_modules/@noble/hashes/esm/sha512.d.ts.map +0 -1
  704. package/node_modules/@noble/hashes/esm/sha512.js +0 -26
  705. package/node_modules/@noble/hashes/esm/sha512.js.map +0 -1
  706. package/node_modules/@noble/hashes/esm/utils.d.ts +0 -161
  707. package/node_modules/@noble/hashes/esm/utils.d.ts.map +0 -1
  708. package/node_modules/@noble/hashes/esm/utils.js +0 -281
  709. package/node_modules/@noble/hashes/esm/utils.js.map +0 -1
  710. package/node_modules/@noble/hashes/hkdf.d.ts +0 -36
  711. package/node_modules/@noble/hashes/hkdf.d.ts.map +0 -1
  712. package/node_modules/@noble/hashes/hkdf.js +0 -88
  713. package/node_modules/@noble/hashes/hkdf.js.map +0 -1
  714. package/node_modules/@noble/hashes/hmac.d.ts +0 -35
  715. package/node_modules/@noble/hashes/hmac.d.ts.map +0 -1
  716. package/node_modules/@noble/hashes/hmac.js +0 -91
  717. package/node_modules/@noble/hashes/hmac.js.map +0 -1
  718. package/node_modules/@noble/hashes/index.d.ts +0 -1
  719. package/node_modules/@noble/hashes/index.d.ts.map +0 -1
  720. package/node_modules/@noble/hashes/index.js +0 -33
  721. package/node_modules/@noble/hashes/index.js.map +0 -1
  722. package/node_modules/@noble/hashes/legacy.d.ts +0 -71
  723. package/node_modules/@noble/hashes/legacy.d.ts.map +0 -1
  724. package/node_modules/@noble/hashes/legacy.js +0 -287
  725. package/node_modules/@noble/hashes/legacy.js.map +0 -1
  726. package/node_modules/@noble/hashes/package.json +0 -266
  727. package/node_modules/@noble/hashes/pbkdf2.d.ts +0 -23
  728. package/node_modules/@noble/hashes/pbkdf2.d.ts.map +0 -1
  729. package/node_modules/@noble/hashes/pbkdf2.js +0 -101
  730. package/node_modules/@noble/hashes/pbkdf2.js.map +0 -1
  731. package/node_modules/@noble/hashes/ripemd160.d.ts +0 -13
  732. package/node_modules/@noble/hashes/ripemd160.d.ts.map +0 -1
  733. package/node_modules/@noble/hashes/ripemd160.js +0 -16
  734. package/node_modules/@noble/hashes/ripemd160.js.map +0 -1
  735. package/node_modules/@noble/hashes/scrypt.d.ts +0 -34
  736. package/node_modules/@noble/hashes/scrypt.d.ts.map +0 -1
  737. package/node_modules/@noble/hashes/scrypt.js +0 -232
  738. package/node_modules/@noble/hashes/scrypt.js.map +0 -1
  739. package/node_modules/@noble/hashes/sha1.d.ts +0 -11
  740. package/node_modules/@noble/hashes/sha1.d.ts.map +0 -1
  741. package/node_modules/@noble/hashes/sha1.js +0 -14
  742. package/node_modules/@noble/hashes/sha1.js.map +0 -1
  743. package/node_modules/@noble/hashes/sha2.d.ts +0 -159
  744. package/node_modules/@noble/hashes/sha2.d.ts.map +0 -1
  745. package/node_modules/@noble/hashes/sha2.js +0 -384
  746. package/node_modules/@noble/hashes/sha2.js.map +0 -1
  747. package/node_modules/@noble/hashes/sha256.d.ts +0 -20
  748. package/node_modules/@noble/hashes/sha256.d.ts.map +0 -1
  749. package/node_modules/@noble/hashes/sha256.js +0 -23
  750. package/node_modules/@noble/hashes/sha256.js.map +0 -1
  751. package/node_modules/@noble/hashes/sha3-addons.d.ts +0 -142
  752. package/node_modules/@noble/hashes/sha3-addons.d.ts.map +0 -1
  753. package/node_modules/@noble/hashes/sha3-addons.js +0 -402
  754. package/node_modules/@noble/hashes/sha3-addons.js.map +0 -1
  755. package/node_modules/@noble/hashes/sha3.d.ts +0 -53
  756. package/node_modules/@noble/hashes/sha3.d.ts.map +0 -1
  757. package/node_modules/@noble/hashes/sha3.js +0 -239
  758. package/node_modules/@noble/hashes/sha3.js.map +0 -1
  759. package/node_modules/@noble/hashes/sha512.d.ts +0 -26
  760. package/node_modules/@noble/hashes/sha512.d.ts.map +0 -1
  761. package/node_modules/@noble/hashes/sha512.js +0 -29
  762. package/node_modules/@noble/hashes/sha512.js.map +0 -1
  763. package/node_modules/@noble/hashes/src/_assert.ts +0 -22
  764. package/node_modules/@noble/hashes/src/_blake.ts +0 -50
  765. package/node_modules/@noble/hashes/src/_md.ts +0 -176
  766. package/node_modules/@noble/hashes/src/_u64.ts +0 -91
  767. package/node_modules/@noble/hashes/src/argon2.ts +0 -497
  768. package/node_modules/@noble/hashes/src/blake1.ts +0 -534
  769. package/node_modules/@noble/hashes/src/blake2.ts +0 -486
  770. package/node_modules/@noble/hashes/src/blake2b.ts +0 -10
  771. package/node_modules/@noble/hashes/src/blake2s.ts +0 -20
  772. package/node_modules/@noble/hashes/src/blake3.ts +0 -272
  773. package/node_modules/@noble/hashes/src/crypto.ts +0 -9
  774. package/node_modules/@noble/hashes/src/cryptoNode.ts +0 -15
  775. package/node_modules/@noble/hashes/src/eskdf.ts +0 -187
  776. package/node_modules/@noble/hashes/src/hkdf.ts +0 -88
  777. package/node_modules/@noble/hashes/src/hmac.ts +0 -94
  778. package/node_modules/@noble/hashes/src/index.ts +0 -31
  779. package/node_modules/@noble/hashes/src/legacy.ts +0 -293
  780. package/node_modules/@noble/hashes/src/pbkdf2.ts +0 -122
  781. package/node_modules/@noble/hashes/src/ripemd160.ts +0 -12
  782. package/node_modules/@noble/hashes/src/scrypt.ts +0 -257
  783. package/node_modules/@noble/hashes/src/sha1.ts +0 -10
  784. package/node_modules/@noble/hashes/src/sha2.ts +0 -402
  785. package/node_modules/@noble/hashes/src/sha256.ts +0 -24
  786. package/node_modules/@noble/hashes/src/sha3-addons.ts +0 -499
  787. package/node_modules/@noble/hashes/src/sha3.ts +0 -258
  788. package/node_modules/@noble/hashes/src/sha512.ts +0 -34
  789. package/node_modules/@noble/hashes/src/utils.ts +0 -395
  790. package/node_modules/@noble/hashes/utils.d.ts +0 -161
  791. package/node_modules/@noble/hashes/utils.d.ts.map +0 -1
  792. package/node_modules/@noble/hashes/utils.js +0 -313
  793. package/node_modules/@noble/hashes/utils.js.map +0 -1
  794. package/node_modules/ajv/.runkit_example.js +0 -23
  795. package/node_modules/ajv/LICENSE +0 -22
  796. package/node_modules/ajv/README.md +0 -207
  797. package/node_modules/ajv/dist/2019.d.ts +0 -19
  798. package/node_modules/ajv/dist/2019.js +0 -61
  799. package/node_modules/ajv/dist/2019.js.map +0 -1
  800. package/node_modules/ajv/dist/2020.d.ts +0 -19
  801. package/node_modules/ajv/dist/2020.js +0 -55
  802. package/node_modules/ajv/dist/2020.js.map +0 -1
  803. package/node_modules/ajv/dist/ajv.d.ts +0 -18
  804. package/node_modules/ajv/dist/ajv.js +0 -50
  805. package/node_modules/ajv/dist/ajv.js.map +0 -1
  806. package/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
  807. package/node_modules/ajv/dist/compile/codegen/code.js +0 -156
  808. package/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
  809. package/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
  810. package/node_modules/ajv/dist/compile/codegen/index.js +0 -697
  811. package/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
  812. package/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
  813. package/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
  814. package/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
  815. package/node_modules/ajv/dist/compile/errors.d.ts +0 -13
  816. package/node_modules/ajv/dist/compile/errors.js +0 -123
  817. package/node_modules/ajv/dist/compile/errors.js.map +0 -1
  818. package/node_modules/ajv/dist/compile/index.d.ts +0 -80
  819. package/node_modules/ajv/dist/compile/index.js +0 -242
  820. package/node_modules/ajv/dist/compile/index.js.map +0 -1
  821. package/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
  822. package/node_modules/ajv/dist/compile/jtd/parse.js +0 -350
  823. package/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
  824. package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
  825. package/node_modules/ajv/dist/compile/jtd/serialize.js +0 -236
  826. package/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
  827. package/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
  828. package/node_modules/ajv/dist/compile/jtd/types.js +0 -14
  829. package/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
  830. package/node_modules/ajv/dist/compile/names.d.ts +0 -20
  831. package/node_modules/ajv/dist/compile/names.js +0 -28
  832. package/node_modules/ajv/dist/compile/names.js.map +0 -1
  833. package/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
  834. package/node_modules/ajv/dist/compile/ref_error.js +0 -12
  835. package/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
  836. package/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
  837. package/node_modules/ajv/dist/compile/resolve.js +0 -155
  838. package/node_modules/ajv/dist/compile/resolve.js.map +0 -1
  839. package/node_modules/ajv/dist/compile/rules.d.ts +0 -28
  840. package/node_modules/ajv/dist/compile/rules.js +0 -26
  841. package/node_modules/ajv/dist/compile/rules.js.map +0 -1
  842. package/node_modules/ajv/dist/compile/util.d.ts +0 -40
  843. package/node_modules/ajv/dist/compile/util.js +0 -178
  844. package/node_modules/ajv/dist/compile/util.js.map +0 -1
  845. package/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
  846. package/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
  847. package/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
  848. package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
  849. package/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
  850. package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
  851. package/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
  852. package/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
  853. package/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
  854. package/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
  855. package/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
  856. package/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
  857. package/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
  858. package/node_modules/ajv/dist/compile/validate/index.js +0 -520
  859. package/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
  860. package/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
  861. package/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
  862. package/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
  863. package/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
  864. package/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
  865. package/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
  866. package/node_modules/ajv/dist/core.d.ts +0 -174
  867. package/node_modules/ajv/dist/core.js +0 -618
  868. package/node_modules/ajv/dist/core.js.map +0 -1
  869. package/node_modules/ajv/dist/jtd.d.ts +0 -47
  870. package/node_modules/ajv/dist/jtd.js +0 -72
  871. package/node_modules/ajv/dist/jtd.js.map +0 -1
  872. package/node_modules/ajv/dist/refs/data.json +0 -13
  873. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
  874. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +0 -28
  875. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
  876. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +0 -53
  877. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +0 -17
  878. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +0 -57
  879. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +0 -14
  880. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +0 -37
  881. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +0 -90
  882. package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +0 -39
  883. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
  884. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
  885. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
  886. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
  887. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
  888. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
  889. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  890. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  891. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  892. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
  893. package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
  894. package/node_modules/ajv/dist/refs/json-schema-draft-06.json +0 -137
  895. package/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
  896. package/node_modules/ajv/dist/refs/json-schema-secure.json +0 -88
  897. package/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
  898. package/node_modules/ajv/dist/refs/jtd-schema.js +0 -118
  899. package/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
  900. package/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
  901. package/node_modules/ajv/dist/runtime/equal.js +0 -7
  902. package/node_modules/ajv/dist/runtime/equal.js.map +0 -1
  903. package/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
  904. package/node_modules/ajv/dist/runtime/parseJson.js +0 -185
  905. package/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
  906. package/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
  907. package/node_modules/ajv/dist/runtime/quote.js +0 -30
  908. package/node_modules/ajv/dist/runtime/quote.js.map +0 -1
  909. package/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
  910. package/node_modules/ajv/dist/runtime/re2.js +0 -6
  911. package/node_modules/ajv/dist/runtime/re2.js.map +0 -1
  912. package/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
  913. package/node_modules/ajv/dist/runtime/timestamp.js +0 -42
  914. package/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
  915. package/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
  916. package/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
  917. package/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
  918. package/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
  919. package/node_modules/ajv/dist/runtime/uri.js +0 -6
  920. package/node_modules/ajv/dist/runtime/uri.js.map +0 -1
  921. package/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
  922. package/node_modules/ajv/dist/runtime/validation_error.js +0 -11
  923. package/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
  924. package/node_modules/ajv/dist/standalone/index.d.ts +0 -6
  925. package/node_modules/ajv/dist/standalone/index.js +0 -90
  926. package/node_modules/ajv/dist/standalone/index.js.map +0 -1
  927. package/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
  928. package/node_modules/ajv/dist/standalone/instance.js +0 -35
  929. package/node_modules/ajv/dist/standalone/instance.js.map +0 -1
  930. package/node_modules/ajv/dist/types/index.d.ts +0 -183
  931. package/node_modules/ajv/dist/types/index.js +0 -3
  932. package/node_modules/ajv/dist/types/index.js.map +0 -1
  933. package/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
  934. package/node_modules/ajv/dist/types/json-schema.js +0 -3
  935. package/node_modules/ajv/dist/types/json-schema.js.map +0 -1
  936. package/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
  937. package/node_modules/ajv/dist/types/jtd-schema.js +0 -3
  938. package/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
  939. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
  940. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
  941. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
  942. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
  943. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
  944. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
  945. package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
  946. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
  947. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
  948. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
  949. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
  950. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
  951. package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
  952. package/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
  953. package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
  954. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
  955. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
  956. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
  957. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
  958. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
  959. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
  960. package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
  961. package/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
  962. package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
  963. package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
  964. package/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
  965. package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
  966. package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
  967. package/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
  968. package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
  969. package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
  970. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
  971. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
  972. package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
  973. package/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
  974. package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
  975. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
  976. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
  977. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
  978. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
  979. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
  980. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
  981. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
  982. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
  983. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
  984. package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
  985. package/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
  986. package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
  987. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
  988. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
  989. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
  990. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
  991. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
  992. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
  993. package/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
  994. package/node_modules/ajv/dist/vocabularies/code.js +0 -131
  995. package/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
  996. package/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
  997. package/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
  998. package/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
  999. package/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
  1000. package/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
  1001. package/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
  1002. package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
  1003. package/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
  1004. package/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
  1005. package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
  1006. package/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
  1007. package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
  1008. package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
  1009. package/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
  1010. package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
  1011. package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
  1012. package/node_modules/ajv/dist/vocabularies/draft2020.js +0 -23
  1013. package/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
  1014. package/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
  1015. package/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
  1016. package/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
  1017. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
  1018. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
  1019. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
  1020. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
  1021. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
  1022. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
  1023. package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
  1024. package/node_modules/ajv/dist/vocabularies/dynamic/index.js +0 -9
  1025. package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
  1026. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
  1027. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
  1028. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
  1029. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
  1030. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
  1031. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
  1032. package/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
  1033. package/node_modules/ajv/dist/vocabularies/errors.js +0 -3
  1034. package/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
  1035. package/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
  1036. package/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
  1037. package/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
  1038. package/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
  1039. package/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
  1040. package/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
  1041. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
  1042. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +0 -71
  1043. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
  1044. package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
  1045. package/node_modules/ajv/dist/vocabularies/jtd/elements.js +0 -24
  1046. package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
  1047. package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
  1048. package/node_modules/ajv/dist/vocabularies/jtd/enum.js +0 -43
  1049. package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
  1050. package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
  1051. package/node_modules/ajv/dist/vocabularies/jtd/error.js +0 -20
  1052. package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
  1053. package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
  1054. package/node_modules/ajv/dist/vocabularies/jtd/index.js +0 -29
  1055. package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
  1056. package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
  1057. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +0 -25
  1058. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
  1059. package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
  1060. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +0 -22
  1061. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
  1062. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
  1063. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +0 -15
  1064. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
  1065. package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
  1066. package/node_modules/ajv/dist/vocabularies/jtd/properties.js +0 -149
  1067. package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
  1068. package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
  1069. package/node_modules/ajv/dist/vocabularies/jtd/ref.js +0 -67
  1070. package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
  1071. package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
  1072. package/node_modules/ajv/dist/vocabularies/jtd/type.js +0 -69
  1073. package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
  1074. package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
  1075. package/node_modules/ajv/dist/vocabularies/jtd/union.js +0 -12
  1076. package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
  1077. package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
  1078. package/node_modules/ajv/dist/vocabularies/jtd/values.js +0 -51
  1079. package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
  1080. package/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
  1081. package/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
  1082. package/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
  1083. package/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
  1084. package/node_modules/ajv/dist/vocabularies/next.js +0 -8
  1085. package/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
  1086. package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
  1087. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +0 -7
  1088. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
  1089. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
  1090. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
  1091. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
  1092. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
  1093. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -65
  1094. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
  1095. package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
  1096. package/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
  1097. package/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
  1098. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
  1099. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
  1100. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
  1101. package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
  1102. package/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
  1103. package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
  1104. package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
  1105. package/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
  1106. package/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
  1107. package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
  1108. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +0 -15
  1109. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
  1110. package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
  1111. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
  1112. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
  1113. package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
  1114. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
  1115. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
  1116. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
  1117. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
  1118. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
  1119. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
  1120. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
  1121. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
  1122. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
  1123. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
  1124. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
  1125. package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
  1126. package/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -33
  1127. package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
  1128. package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
  1129. package/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
  1130. package/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
  1131. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
  1132. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
  1133. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
  1134. package/node_modules/ajv/lib/2019.ts +0 -81
  1135. package/node_modules/ajv/lib/2020.ts +0 -75
  1136. package/node_modules/ajv/lib/ajv.ts +0 -70
  1137. package/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
  1138. package/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
  1139. package/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
  1140. package/node_modules/ajv/lib/compile/errors.ts +0 -184
  1141. package/node_modules/ajv/lib/compile/index.ts +0 -324
  1142. package/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
  1143. package/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -277
  1144. package/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
  1145. package/node_modules/ajv/lib/compile/names.ts +0 -27
  1146. package/node_modules/ajv/lib/compile/ref_error.ts +0 -13
  1147. package/node_modules/ajv/lib/compile/resolve.ts +0 -149
  1148. package/node_modules/ajv/lib/compile/rules.ts +0 -50
  1149. package/node_modules/ajv/lib/compile/util.ts +0 -213
  1150. package/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
  1151. package/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
  1152. package/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
  1153. package/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
  1154. package/node_modules/ajv/lib/compile/validate/index.ts +0 -582
  1155. package/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
  1156. package/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
  1157. package/node_modules/ajv/lib/core.ts +0 -892
  1158. package/node_modules/ajv/lib/jtd.ts +0 -132
  1159. package/node_modules/ajv/lib/refs/data.json +0 -13
  1160. package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
  1161. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +0 -53
  1162. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +0 -17
  1163. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +0 -57
  1164. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +0 -14
  1165. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +0 -37
  1166. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +0 -90
  1167. package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +0 -39
  1168. package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
  1169. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +0 -48
  1170. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +0 -17
  1171. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +0 -51
  1172. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  1173. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  1174. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  1175. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +0 -90
  1176. package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +0 -55
  1177. package/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -137
  1178. package/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -151
  1179. package/node_modules/ajv/lib/refs/json-schema-secure.json +0 -88
  1180. package/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
  1181. package/node_modules/ajv/lib/runtime/equal.ts +0 -7
  1182. package/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
  1183. package/node_modules/ajv/lib/runtime/quote.ts +0 -31
  1184. package/node_modules/ajv/lib/runtime/re2.ts +0 -6
  1185. package/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
  1186. package/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
  1187. package/node_modules/ajv/lib/runtime/uri.ts +0 -6
  1188. package/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
  1189. package/node_modules/ajv/lib/standalone/index.ts +0 -100
  1190. package/node_modules/ajv/lib/standalone/instance.ts +0 -36
  1191. package/node_modules/ajv/lib/types/index.ts +0 -244
  1192. package/node_modules/ajv/lib/types/json-schema.ts +0 -187
  1193. package/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
  1194. package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
  1195. package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
  1196. package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
  1197. package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
  1198. package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
  1199. package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
  1200. package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
  1201. package/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
  1202. package/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
  1203. package/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
  1204. package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
  1205. package/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
  1206. package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
  1207. package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
  1208. package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
  1209. package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
  1210. package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
  1211. package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
  1212. package/node_modules/ajv/lib/vocabularies/code.ts +0 -168
  1213. package/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
  1214. package/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
  1215. package/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
  1216. package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
  1217. package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
  1218. package/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
  1219. package/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
  1220. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
  1221. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
  1222. package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
  1223. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
  1224. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
  1225. package/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
  1226. package/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
  1227. package/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
  1228. package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
  1229. package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
  1230. package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
  1231. package/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
  1232. package/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
  1233. package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
  1234. package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
  1235. package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
  1236. package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
  1237. package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
  1238. package/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
  1239. package/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
  1240. package/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
  1241. package/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
  1242. package/node_modules/ajv/lib/vocabularies/next.ts +0 -8
  1243. package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
  1244. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
  1245. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
  1246. package/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
  1247. package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
  1248. package/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
  1249. package/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
  1250. package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
  1251. package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
  1252. package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
  1253. package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
  1254. package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
  1255. package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
  1256. package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -39
  1257. package/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
  1258. package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
  1259. package/node_modules/ajv/package.json +0 -126
  1260. package/node_modules/ajv-formats/LICENSE +0 -21
  1261. package/node_modules/ajv-formats/README.md +0 -123
  1262. package/node_modules/ajv-formats/dist/formats.d.ts +0 -9
  1263. package/node_modules/ajv-formats/dist/formats.js +0 -173
  1264. package/node_modules/ajv-formats/dist/formats.js.map +0 -1
  1265. package/node_modules/ajv-formats/dist/index.d.ts +0 -15
  1266. package/node_modules/ajv-formats/dist/index.js +0 -37
  1267. package/node_modules/ajv-formats/dist/index.js.map +0 -1
  1268. package/node_modules/ajv-formats/dist/limit.d.ts +0 -10
  1269. package/node_modules/ajv-formats/dist/limit.js +0 -69
  1270. package/node_modules/ajv-formats/dist/limit.js.map +0 -1
  1271. package/node_modules/ajv-formats/package.json +0 -74
  1272. package/node_modules/ajv-formats/src/formats.ts +0 -232
  1273. package/node_modules/ajv-formats/src/index.ts +0 -62
  1274. package/node_modules/ajv-formats/src/limit.ts +0 -99
  1275. package/node_modules/ansi-colors/LICENSE +0 -21
  1276. package/node_modules/ansi-colors/README.md +0 -315
  1277. package/node_modules/ansi-colors/index.js +0 -184
  1278. package/node_modules/ansi-colors/package.json +0 -129
  1279. package/node_modules/ansi-colors/symbols.js +0 -69
  1280. package/node_modules/ansi-colors/types/index.d.ts +0 -235
  1281. package/node_modules/ansi-regex/index.d.ts +0 -37
  1282. package/node_modules/ansi-regex/index.js +0 -10
  1283. package/node_modules/ansi-regex/license +0 -9
  1284. package/node_modules/ansi-regex/package.json +0 -55
  1285. package/node_modules/ansi-regex/readme.md +0 -78
  1286. package/node_modules/atomically/.editorconfig +0 -13
  1287. package/node_modules/atomically/.nvmrc +0 -1
  1288. package/node_modules/atomically/LICENSE +0 -21
  1289. package/node_modules/atomically/README.md +0 -147
  1290. package/node_modules/atomically/dist/consts.d.ts +0 -13
  1291. package/node_modules/atomically/dist/consts.js +0 -28
  1292. package/node_modules/atomically/dist/index.d.ts +0 -13
  1293. package/node_modules/atomically/dist/index.js +0 -177
  1294. package/node_modules/atomically/dist/types.d.ts +0 -28
  1295. package/node_modules/atomically/dist/types.js +0 -3
  1296. package/node_modules/atomically/dist/utils/attemptify.d.ts +0 -4
  1297. package/node_modules/atomically/dist/utils/attemptify.js +0 -25
  1298. package/node_modules/atomically/dist/utils/fs.d.ts +0 -34
  1299. package/node_modules/atomically/dist/utils/fs.js +0 -42
  1300. package/node_modules/atomically/dist/utils/fs_handlers.d.ts +0 -7
  1301. package/node_modules/atomically/dist/utils/fs_handlers.js +0 -28
  1302. package/node_modules/atomically/dist/utils/lang.d.ts +0 -6
  1303. package/node_modules/atomically/dist/utils/lang.js +0 -16
  1304. package/node_modules/atomically/dist/utils/retryify.d.ts +0 -4
  1305. package/node_modules/atomically/dist/utils/retryify.js +0 -45
  1306. package/node_modules/atomically/dist/utils/retryify_queue.d.ts +0 -15
  1307. package/node_modules/atomically/dist/utils/retryify_queue.js +0 -58
  1308. package/node_modules/atomically/dist/utils/scheduler.d.ts +0 -6
  1309. package/node_modules/atomically/dist/utils/scheduler.js +0 -35
  1310. package/node_modules/atomically/dist/utils/temp.d.ts +0 -11
  1311. package/node_modules/atomically/dist/utils/temp.js +0 -56
  1312. package/node_modules/atomically/package.json +0 -51
  1313. package/node_modules/atomically/src/consts.ts +0 -30
  1314. package/node_modules/atomically/src/index.ts +0 -270
  1315. package/node_modules/atomically/src/types.ts +0 -37
  1316. package/node_modules/atomically/src/utils/attemptify.ts +0 -42
  1317. package/node_modules/atomically/src/utils/fs.ts +0 -51
  1318. package/node_modules/atomically/src/utils/fs_handlers.ts +0 -45
  1319. package/node_modules/atomically/src/utils/lang.ts +0 -28
  1320. package/node_modules/atomically/src/utils/retryify.ts +0 -78
  1321. package/node_modules/atomically/src/utils/retryify_queue.ts +0 -95
  1322. package/node_modules/atomically/src/utils/scheduler.ts +0 -60
  1323. package/node_modules/atomically/src/utils/temp.ts +0 -97
  1324. package/node_modules/atomically/tasks/benchmark.js +0 -72
  1325. package/node_modules/atomically/test/basic.js +0 -510
  1326. package/node_modules/atomically/test/concurrency.js +0 -153
  1327. package/node_modules/atomically/test/integration.js +0 -291
  1328. package/node_modules/atomically/tsconfig.json +0 -28
  1329. package/node_modules/commander/LICENSE +0 -22
  1330. package/node_modules/commander/Readme.md +0 -1148
  1331. package/node_modules/commander/esm.mjs +0 -16
  1332. package/node_modules/commander/index.js +0 -26
  1333. package/node_modules/commander/lib/argument.js +0 -145
  1334. package/node_modules/commander/lib/command.js +0 -2179
  1335. package/node_modules/commander/lib/error.js +0 -43
  1336. package/node_modules/commander/lib/help.js +0 -462
  1337. package/node_modules/commander/lib/option.js +0 -329
  1338. package/node_modules/commander/lib/suggestSimilar.js +0 -100
  1339. package/node_modules/commander/package-support.json +0 -16
  1340. package/node_modules/commander/package.json +0 -80
  1341. package/node_modules/commander/typings/esm.d.mts +0 -3
  1342. package/node_modules/commander/typings/index.d.ts +0 -884
  1343. package/node_modules/conf/dist/source/index.d.ts +0 -88
  1344. package/node_modules/conf/dist/source/index.js +0 -484
  1345. package/node_modules/conf/dist/source/types.d.ts +0 -233
  1346. package/node_modules/conf/dist/source/types.js +0 -2
  1347. package/node_modules/conf/license +0 -9
  1348. package/node_modules/conf/package.json +0 -100
  1349. package/node_modules/conf/readme.md +0 -445
  1350. package/node_modules/cross-spawn/LICENSE +0 -21
  1351. package/node_modules/cross-spawn/README.md +0 -89
  1352. package/node_modules/cross-spawn/index.js +0 -39
  1353. package/node_modules/cross-spawn/lib/enoent.js +0 -59
  1354. package/node_modules/cross-spawn/lib/parse.js +0 -91
  1355. package/node_modules/cross-spawn/lib/util/escape.js +0 -47
  1356. package/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
  1357. package/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
  1358. package/node_modules/cross-spawn/node_modules/isexe/.npmignore +0 -2
  1359. package/node_modules/cross-spawn/node_modules/isexe/LICENSE +0 -15
  1360. package/node_modules/cross-spawn/node_modules/isexe/README.md +0 -51
  1361. package/node_modules/cross-spawn/node_modules/isexe/index.js +0 -57
  1362. package/node_modules/cross-spawn/node_modules/isexe/mode.js +0 -41
  1363. package/node_modules/cross-spawn/node_modules/isexe/package.json +0 -31
  1364. package/node_modules/cross-spawn/node_modules/isexe/test/basic.js +0 -221
  1365. package/node_modules/cross-spawn/node_modules/isexe/windows.js +0 -42
  1366. package/node_modules/cross-spawn/node_modules/which/CHANGELOG.md +0 -166
  1367. package/node_modules/cross-spawn/node_modules/which/LICENSE +0 -15
  1368. package/node_modules/cross-spawn/node_modules/which/README.md +0 -54
  1369. package/node_modules/cross-spawn/node_modules/which/bin/node-which +0 -52
  1370. package/node_modules/cross-spawn/node_modules/which/package.json +0 -43
  1371. package/node_modules/cross-spawn/node_modules/which/which.js +0 -125
  1372. package/node_modules/cross-spawn/package.json +0 -73
  1373. package/node_modules/debounce-fn/index.d.ts +0 -74
  1374. package/node_modules/debounce-fn/index.js +0 -54
  1375. package/node_modules/debounce-fn/license +0 -9
  1376. package/node_modules/debounce-fn/package.json +0 -42
  1377. package/node_modules/debounce-fn/readme.md +0 -64
  1378. package/node_modules/define-lazy-prop/index.d.ts +0 -33
  1379. package/node_modules/define-lazy-prop/index.js +0 -19
  1380. package/node_modules/define-lazy-prop/license +0 -9
  1381. package/node_modules/define-lazy-prop/package.json +0 -48
  1382. package/node_modules/define-lazy-prop/readme.md +0 -64
  1383. package/node_modules/dot-prop/index.d.ts +0 -109
  1384. package/node_modules/dot-prop/index.js +0 -138
  1385. package/node_modules/dot-prop/license +0 -9
  1386. package/node_modules/dot-prop/package.json +0 -51
  1387. package/node_modules/dot-prop/readme.md +0 -125
  1388. package/node_modules/dotenv/CHANGELOG.md +0 -643
  1389. package/node_modules/dotenv/LICENSE +0 -23
  1390. package/node_modules/dotenv/README-es.md +0 -757
  1391. package/node_modules/dotenv/README.md +0 -812
  1392. package/node_modules/dotenv/SECURITY.md +0 -1
  1393. package/node_modules/dotenv/config.d.ts +0 -1
  1394. package/node_modules/dotenv/config.js +0 -9
  1395. package/node_modules/dotenv/lib/cli-options.js +0 -17
  1396. package/node_modules/dotenv/lib/env-options.js +0 -28
  1397. package/node_modules/dotenv/lib/main.d.ts +0 -179
  1398. package/node_modules/dotenv/lib/main.js +0 -423
  1399. package/node_modules/dotenv/package.json +0 -62
  1400. package/node_modules/dotenv/skills/dotenv/SKILL.md +0 -200
  1401. package/node_modules/dotenv/skills/dotenvx/SKILL.md +0 -118
  1402. package/node_modules/eciesjs/LICENSE +0 -21
  1403. package/node_modules/eciesjs/README.md +0 -213
  1404. package/node_modules/eciesjs/dist/config.d.ts +0 -24
  1405. package/node_modules/eciesjs/dist/config.js +0 -55
  1406. package/node_modules/eciesjs/dist/consts.d.ts +0 -7
  1407. package/node_modules/eciesjs/dist/consts.js +0 -12
  1408. package/node_modules/eciesjs/dist/index.d.ts +0 -36
  1409. package/node_modules/eciesjs/dist/index.js +0 -79
  1410. package/node_modules/eciesjs/dist/keys/PrivateKey.d.ts +0 -34
  1411. package/node_modules/eciesjs/dist/keys/PrivateKey.js +0 -71
  1412. package/node_modules/eciesjs/dist/keys/PublicKey.d.ts +0 -26
  1413. package/node_modules/eciesjs/dist/keys/PublicKey.js +0 -72
  1414. package/node_modules/eciesjs/dist/keys/index.d.ts +0 -2
  1415. package/node_modules/eciesjs/dist/keys/index.js +0 -9
  1416. package/node_modules/eciesjs/dist/types.d.ts +0 -1
  1417. package/node_modules/eciesjs/dist/types.js +0 -4
  1418. package/node_modules/eciesjs/dist/utils/elliptic.d.ts +0 -7
  1419. package/node_modules/eciesjs/dist/utils/elliptic.js +0 -75
  1420. package/node_modules/eciesjs/dist/utils/hash.d.ts +0 -2
  1421. package/node_modules/eciesjs/dist/utils/hash.js +0 -19
  1422. package/node_modules/eciesjs/dist/utils/hex.d.ts +0 -2
  1423. package/node_modules/eciesjs/dist/utils/hex.js +0 -10
  1424. package/node_modules/eciesjs/dist/utils/index.d.ts +0 -4
  1425. package/node_modules/eciesjs/dist/utils/index.js +0 -20
  1426. package/node_modules/eciesjs/dist/utils/symmetric.d.ts +0 -6
  1427. package/node_modules/eciesjs/dist/utils/symmetric.js +0 -63
  1428. package/node_modules/eciesjs/package.json +0 -81
  1429. package/node_modules/enquirer/LICENSE +0 -21
  1430. package/node_modules/enquirer/README.md +0 -1839
  1431. package/node_modules/enquirer/index.d.ts +0 -156
  1432. package/node_modules/enquirer/index.js +0 -254
  1433. package/node_modules/enquirer/lib/ansi.js +0 -125
  1434. package/node_modules/enquirer/lib/combos.js +0 -75
  1435. package/node_modules/enquirer/lib/completer.js +0 -52
  1436. package/node_modules/enquirer/lib/interpolate.js +0 -266
  1437. package/node_modules/enquirer/lib/keypress.js +0 -245
  1438. package/node_modules/enquirer/lib/placeholder.js +0 -63
  1439. package/node_modules/enquirer/lib/prompt.js +0 -497
  1440. package/node_modules/enquirer/lib/prompts/autocomplete.js +0 -118
  1441. package/node_modules/enquirer/lib/prompts/basicauth.js +0 -41
  1442. package/node_modules/enquirer/lib/prompts/confirm.js +0 -13
  1443. package/node_modules/enquirer/lib/prompts/editable.js +0 -136
  1444. package/node_modules/enquirer/lib/prompts/form.js +0 -195
  1445. package/node_modules/enquirer/lib/prompts/index.js +0 -28
  1446. package/node_modules/enquirer/lib/prompts/input.js +0 -55
  1447. package/node_modules/enquirer/lib/prompts/invisible.js +0 -11
  1448. package/node_modules/enquirer/lib/prompts/list.js +0 -36
  1449. package/node_modules/enquirer/lib/prompts/multiselect.js +0 -11
  1450. package/node_modules/enquirer/lib/prompts/numeral.js +0 -1
  1451. package/node_modules/enquirer/lib/prompts/password.js +0 -18
  1452. package/node_modules/enquirer/lib/prompts/quiz.js +0 -37
  1453. package/node_modules/enquirer/lib/prompts/scale.js +0 -237
  1454. package/node_modules/enquirer/lib/prompts/select.js +0 -139
  1455. package/node_modules/enquirer/lib/prompts/snippet.js +0 -185
  1456. package/node_modules/enquirer/lib/prompts/sort.js +0 -37
  1457. package/node_modules/enquirer/lib/prompts/survey.js +0 -163
  1458. package/node_modules/enquirer/lib/prompts/text.js +0 -1
  1459. package/node_modules/enquirer/lib/prompts/toggle.js +0 -109
  1460. package/node_modules/enquirer/lib/queue.js +0 -33
  1461. package/node_modules/enquirer/lib/render.js +0 -33
  1462. package/node_modules/enquirer/lib/roles.js +0 -46
  1463. package/node_modules/enquirer/lib/state.js +0 -69
  1464. package/node_modules/enquirer/lib/styles.js +0 -144
  1465. package/node_modules/enquirer/lib/symbols.js +0 -66
  1466. package/node_modules/enquirer/lib/theme.js +0 -11
  1467. package/node_modules/enquirer/lib/timer.js +0 -38
  1468. package/node_modules/enquirer/lib/types/array.js +0 -664
  1469. package/node_modules/enquirer/lib/types/auth.js +0 -29
  1470. package/node_modules/enquirer/lib/types/boolean.js +0 -88
  1471. package/node_modules/enquirer/lib/types/index.js +0 -7
  1472. package/node_modules/enquirer/lib/types/number.js +0 -86
  1473. package/node_modules/enquirer/lib/types/string.js +0 -209
  1474. package/node_modules/enquirer/lib/utils.js +0 -279
  1475. package/node_modules/enquirer/package.json +0 -112
  1476. package/node_modules/env-paths/index.d.ts +0 -101
  1477. package/node_modules/env-paths/index.js +0 -74
  1478. package/node_modules/env-paths/license +0 -9
  1479. package/node_modules/env-paths/package.json +0 -45
  1480. package/node_modules/env-paths/readme.md +0 -115
  1481. package/node_modules/execa/index.d.ts +0 -564
  1482. package/node_modules/execa/index.js +0 -268
  1483. package/node_modules/execa/lib/command.js +0 -52
  1484. package/node_modules/execa/lib/error.js +0 -88
  1485. package/node_modules/execa/lib/kill.js +0 -115
  1486. package/node_modules/execa/lib/promise.js +0 -46
  1487. package/node_modules/execa/lib/stdio.js +0 -52
  1488. package/node_modules/execa/lib/stream.js +0 -97
  1489. package/node_modules/execa/license +0 -9
  1490. package/node_modules/execa/package.json +0 -74
  1491. package/node_modules/execa/readme.md +0 -663
  1492. package/node_modules/fast-deep-equal/LICENSE +0 -21
  1493. package/node_modules/fast-deep-equal/README.md +0 -96
  1494. package/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
  1495. package/node_modules/fast-deep-equal/es6/index.js +0 -72
  1496. package/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
  1497. package/node_modules/fast-deep-equal/es6/react.js +0 -79
  1498. package/node_modules/fast-deep-equal/index.d.ts +0 -4
  1499. package/node_modules/fast-deep-equal/index.js +0 -46
  1500. package/node_modules/fast-deep-equal/package.json +0 -61
  1501. package/node_modules/fast-deep-equal/react.d.ts +0 -2
  1502. package/node_modules/fast-deep-equal/react.js +0 -53
  1503. package/node_modules/fast-uri/.gitattributes +0 -2
  1504. package/node_modules/fast-uri/.github/dependabot.yml +0 -13
  1505. package/node_modules/fast-uri/.github/workflows/ci.yml +0 -106
  1506. package/node_modules/fast-uri/.github/workflows/lock-threads.yml +0 -19
  1507. package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +0 -24
  1508. package/node_modules/fast-uri/LICENSE +0 -30
  1509. package/node_modules/fast-uri/README.md +0 -152
  1510. package/node_modules/fast-uri/benchmark/benchmark.mjs +0 -159
  1511. package/node_modules/fast-uri/benchmark/equal.mjs +0 -51
  1512. package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +0 -22
  1513. package/node_modules/fast-uri/benchmark/package.json +0 -17
  1514. package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +0 -24
  1515. package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +0 -65
  1516. package/node_modules/fast-uri/eslint.config.js +0 -6
  1517. package/node_modules/fast-uri/index.js +0 -406
  1518. package/node_modules/fast-uri/lib/schemes.js +0 -267
  1519. package/node_modules/fast-uri/lib/utils.js +0 -443
  1520. package/node_modules/fast-uri/package.json +0 -68
  1521. package/node_modules/fast-uri/test/ajv.test.js +0 -43
  1522. package/node_modules/fast-uri/test/equal.test.js +0 -117
  1523. package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +0 -501
  1524. package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +0 -120
  1525. package/node_modules/fast-uri/test/parse.test.js +0 -323
  1526. package/node_modules/fast-uri/test/resolve.test.js +0 -87
  1527. package/node_modules/fast-uri/test/rfc-3986.test.js +0 -90
  1528. package/node_modules/fast-uri/test/security-normalization.test.js +0 -39
  1529. package/node_modules/fast-uri/test/security.test.js +0 -133
  1530. package/node_modules/fast-uri/test/serialize.test.js +0 -151
  1531. package/node_modules/fast-uri/test/uri-js-compatibility.test.js +0 -33
  1532. package/node_modules/fast-uri/test/uri-js.test.js +0 -912
  1533. package/node_modules/fast-uri/test/util.test.js +0 -38
  1534. package/node_modules/fast-uri/tsconfig.json +0 -9
  1535. package/node_modules/fast-uri/types/index.d.ts +0 -60
  1536. package/node_modules/fast-uri/types/index.test-d.ts +0 -17
  1537. package/node_modules/fdir/LICENSE +0 -7
  1538. package/node_modules/fdir/README.md +0 -91
  1539. package/node_modules/fdir/dist/index.cjs +0 -588
  1540. package/node_modules/fdir/dist/index.d.cts +0 -155
  1541. package/node_modules/fdir/dist/index.d.mts +0 -155
  1542. package/node_modules/fdir/dist/index.mjs +0 -570
  1543. package/node_modules/fdir/package.json +0 -103
  1544. package/node_modules/find-up/index.js +0 -46
  1545. package/node_modules/find-up/license +0 -9
  1546. package/node_modules/find-up/package.json +0 -50
  1547. package/node_modules/find-up/readme.md +0 -87
  1548. package/node_modules/get-stream/buffer-stream.js +0 -52
  1549. package/node_modules/get-stream/index.d.ts +0 -105
  1550. package/node_modules/get-stream/index.js +0 -61
  1551. package/node_modules/get-stream/license +0 -9
  1552. package/node_modules/get-stream/package.json +0 -47
  1553. package/node_modules/get-stream/readme.md +0 -124
  1554. package/node_modules/human-signals/CHANGELOG.md +0 -11
  1555. package/node_modules/human-signals/LICENSE +0 -201
  1556. package/node_modules/human-signals/README.md +0 -165
  1557. package/node_modules/human-signals/build/src/core.js +0 -273
  1558. package/node_modules/human-signals/build/src/core.js.map +0 -1
  1559. package/node_modules/human-signals/build/src/main.d.ts +0 -52
  1560. package/node_modules/human-signals/build/src/main.js +0 -71
  1561. package/node_modules/human-signals/build/src/main.js.map +0 -1
  1562. package/node_modules/human-signals/build/src/realtime.js +0 -19
  1563. package/node_modules/human-signals/build/src/realtime.js.map +0 -1
  1564. package/node_modules/human-signals/build/src/signals.js +0 -35
  1565. package/node_modules/human-signals/build/src/signals.js.map +0 -1
  1566. package/node_modules/human-signals/package.json +0 -64
  1567. package/node_modules/ignore/LICENSE-MIT +0 -21
  1568. package/node_modules/ignore/README.md +0 -412
  1569. package/node_modules/ignore/index.d.ts +0 -61
  1570. package/node_modules/ignore/index.js +0 -636
  1571. package/node_modules/ignore/legacy.js +0 -559
  1572. package/node_modules/ignore/package.json +0 -74
  1573. package/node_modules/is-docker/cli.js +0 -5
  1574. package/node_modules/is-docker/index.d.ts +0 -15
  1575. package/node_modules/is-docker/index.js +0 -29
  1576. package/node_modules/is-docker/license +0 -9
  1577. package/node_modules/is-docker/package.json +0 -42
  1578. package/node_modules/is-docker/readme.md +0 -27
  1579. package/node_modules/is-obj/index.d.ts +0 -22
  1580. package/node_modules/is-obj/index.js +0 -6
  1581. package/node_modules/is-obj/license +0 -9
  1582. package/node_modules/is-obj/package.json +0 -34
  1583. package/node_modules/is-obj/readme.md +0 -39
  1584. package/node_modules/is-stream/index.d.ts +0 -79
  1585. package/node_modules/is-stream/index.js +0 -28
  1586. package/node_modules/is-stream/license +0 -9
  1587. package/node_modules/is-stream/package.json +0 -42
  1588. package/node_modules/is-stream/readme.md +0 -60
  1589. package/node_modules/is-wsl/index.d.ts +0 -15
  1590. package/node_modules/is-wsl/index.js +0 -31
  1591. package/node_modules/is-wsl/license +0 -9
  1592. package/node_modules/is-wsl/package.json +0 -45
  1593. package/node_modules/is-wsl/readme.md +0 -36
  1594. package/node_modules/isexe/LICENSE.md +0 -55
  1595. package/node_modules/isexe/README.md +0 -80
  1596. package/node_modules/isexe/dist/commonjs/index.d.ts +0 -14
  1597. package/node_modules/isexe/dist/commonjs/index.d.ts.map +0 -1
  1598. package/node_modules/isexe/dist/commonjs/index.js +0 -56
  1599. package/node_modules/isexe/dist/commonjs/index.js.map +0 -1
  1600. package/node_modules/isexe/dist/commonjs/index.min.js +0 -2
  1601. package/node_modules/isexe/dist/commonjs/index.min.js.map +0 -7
  1602. package/node_modules/isexe/dist/commonjs/options.d.ts +0 -32
  1603. package/node_modules/isexe/dist/commonjs/options.d.ts.map +0 -1
  1604. package/node_modules/isexe/dist/commonjs/options.js +0 -3
  1605. package/node_modules/isexe/dist/commonjs/options.js.map +0 -1
  1606. package/node_modules/isexe/dist/commonjs/package.json +0 -3
  1607. package/node_modules/isexe/dist/commonjs/posix.d.ts +0 -18
  1608. package/node_modules/isexe/dist/commonjs/posix.d.ts.map +0 -1
  1609. package/node_modules/isexe/dist/commonjs/posix.js +0 -67
  1610. package/node_modules/isexe/dist/commonjs/posix.js.map +0 -1
  1611. package/node_modules/isexe/dist/commonjs/win32.d.ts +0 -18
  1612. package/node_modules/isexe/dist/commonjs/win32.d.ts.map +0 -1
  1613. package/node_modules/isexe/dist/commonjs/win32.js +0 -63
  1614. package/node_modules/isexe/dist/commonjs/win32.js.map +0 -1
  1615. package/node_modules/isexe/dist/esm/index.d.ts +0 -14
  1616. package/node_modules/isexe/dist/esm/index.d.ts.map +0 -1
  1617. package/node_modules/isexe/dist/esm/index.js +0 -16
  1618. package/node_modules/isexe/dist/esm/index.js.map +0 -1
  1619. package/node_modules/isexe/dist/esm/index.min.js +0 -2
  1620. package/node_modules/isexe/dist/esm/index.min.js.map +0 -7
  1621. package/node_modules/isexe/dist/esm/options.d.ts +0 -32
  1622. package/node_modules/isexe/dist/esm/options.d.ts.map +0 -1
  1623. package/node_modules/isexe/dist/esm/options.js +0 -2
  1624. package/node_modules/isexe/dist/esm/options.js.map +0 -1
  1625. package/node_modules/isexe/dist/esm/package.json +0 -3
  1626. package/node_modules/isexe/dist/esm/posix.d.ts +0 -18
  1627. package/node_modules/isexe/dist/esm/posix.d.ts.map +0 -1
  1628. package/node_modules/isexe/dist/esm/posix.js +0 -62
  1629. package/node_modules/isexe/dist/esm/posix.js.map +0 -1
  1630. package/node_modules/isexe/dist/esm/win32.d.ts +0 -18
  1631. package/node_modules/isexe/dist/esm/win32.d.ts.map +0 -1
  1632. package/node_modules/isexe/dist/esm/win32.js +0 -58
  1633. package/node_modules/isexe/dist/esm/win32.js.map +0 -1
  1634. package/node_modules/isexe/package.json +0 -78
  1635. package/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
  1636. package/node_modules/json-schema-traverse/.github/FUNDING.yml +0 -2
  1637. package/node_modules/json-schema-traverse/.github/workflows/build.yml +0 -28
  1638. package/node_modules/json-schema-traverse/.github/workflows/publish.yml +0 -27
  1639. package/node_modules/json-schema-traverse/LICENSE +0 -21
  1640. package/node_modules/json-schema-traverse/README.md +0 -95
  1641. package/node_modules/json-schema-traverse/index.d.ts +0 -40
  1642. package/node_modules/json-schema-traverse/index.js +0 -93
  1643. package/node_modules/json-schema-traverse/package.json +0 -43
  1644. package/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
  1645. package/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
  1646. package/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
  1647. package/node_modules/json-schema-typed/LICENSE +0 -27
  1648. package/node_modules/json-schema-typed/README.md +0 -63
  1649. package/node_modules/json-schema-typed/dist-node/index.js +0 -50
  1650. package/node_modules/json-schema-typed/dist-node/index.js.map +0 -1
  1651. package/node_modules/json-schema-typed/dist-src/index.js +0 -51
  1652. package/node_modules/json-schema-typed/dist-types/__tests__/index.test.d.ts +0 -1
  1653. package/node_modules/json-schema-typed/dist-types/index.d.ts +0 -909
  1654. package/node_modules/json-schema-typed/dist-web/index.js +0 -52
  1655. package/node_modules/json-schema-typed/dist-web/index.js.map +0 -1
  1656. package/node_modules/json-schema-typed/package.json +0 -76
  1657. package/node_modules/locate-path/index.js +0 -24
  1658. package/node_modules/locate-path/license +0 -9
  1659. package/node_modules/locate-path/package.json +0 -44
  1660. package/node_modules/locate-path/readme.md +0 -99
  1661. package/node_modules/merge-stream/LICENSE +0 -21
  1662. package/node_modules/merge-stream/README.md +0 -78
  1663. package/node_modules/merge-stream/index.js +0 -41
  1664. package/node_modules/merge-stream/package.json +0 -19
  1665. package/node_modules/mimic-fn/index.d.ts +0 -56
  1666. package/node_modules/mimic-fn/index.js +0 -75
  1667. package/node_modules/mimic-fn/license +0 -9
  1668. package/node_modules/mimic-fn/package.json +0 -42
  1669. package/node_modules/mimic-fn/readme.md +0 -95
  1670. package/node_modules/npm-run-path/index.d.ts +0 -89
  1671. package/node_modules/npm-run-path/index.js +0 -47
  1672. package/node_modules/npm-run-path/license +0 -9
  1673. package/node_modules/npm-run-path/package.json +0 -44
  1674. package/node_modules/npm-run-path/readme.md +0 -115
  1675. package/node_modules/object-treeify/LICENSE +0 -22
  1676. package/node_modules/object-treeify/README.md +0 -120
  1677. package/node_modules/object-treeify/lib/index.js +0 -49
  1678. package/node_modules/object-treeify/package.json +0 -109
  1679. package/node_modules/onetime/index.d.ts +0 -64
  1680. package/node_modules/onetime/index.js +0 -44
  1681. package/node_modules/onetime/license +0 -9
  1682. package/node_modules/onetime/node_modules/mimic-fn/index.d.ts +0 -54
  1683. package/node_modules/onetime/node_modules/mimic-fn/index.js +0 -13
  1684. package/node_modules/onetime/node_modules/mimic-fn/license +0 -9
  1685. package/node_modules/onetime/node_modules/mimic-fn/package.json +0 -42
  1686. package/node_modules/onetime/node_modules/mimic-fn/readme.md +0 -69
  1687. package/node_modules/onetime/package.json +0 -43
  1688. package/node_modules/onetime/readme.md +0 -94
  1689. package/node_modules/open/index.d.ts +0 -153
  1690. package/node_modules/open/index.js +0 -334
  1691. package/node_modules/open/license +0 -9
  1692. package/node_modules/open/package.json +0 -61
  1693. package/node_modules/open/readme.md +0 -171
  1694. package/node_modules/open/xdg-open +0 -1066
  1695. package/node_modules/p-limit/index.d.ts +0 -38
  1696. package/node_modules/p-limit/index.js +0 -57
  1697. package/node_modules/p-limit/license +0 -9
  1698. package/node_modules/p-limit/package.json +0 -52
  1699. package/node_modules/p-limit/readme.md +0 -101
  1700. package/node_modules/p-locate/index.js +0 -34
  1701. package/node_modules/p-locate/license +0 -9
  1702. package/node_modules/p-locate/package.json +0 -51
  1703. package/node_modules/p-locate/readme.md +0 -88
  1704. package/node_modules/p-try/index.d.ts +0 -39
  1705. package/node_modules/p-try/index.js +0 -9
  1706. package/node_modules/p-try/license +0 -9
  1707. package/node_modules/p-try/package.json +0 -42
  1708. package/node_modules/p-try/readme.md +0 -58
  1709. package/node_modules/path-exists/index.js +0 -17
  1710. package/node_modules/path-exists/license +0 -21
  1711. package/node_modules/path-exists/package.json +0 -40
  1712. package/node_modules/path-exists/readme.md +0 -50
  1713. package/node_modules/path-key/index.d.ts +0 -40
  1714. package/node_modules/path-key/index.js +0 -16
  1715. package/node_modules/path-key/license +0 -9
  1716. package/node_modules/path-key/package.json +0 -39
  1717. package/node_modules/path-key/readme.md +0 -61
  1718. package/node_modules/picomatch/LICENSE +0 -21
  1719. package/node_modules/picomatch/README.md +0 -749
  1720. package/node_modules/picomatch/index.js +0 -17
  1721. package/node_modules/picomatch/lib/constants.js +0 -184
  1722. package/node_modules/picomatch/lib/parse.js +0 -1386
  1723. package/node_modules/picomatch/lib/picomatch.js +0 -349
  1724. package/node_modules/picomatch/lib/scan.js +0 -391
  1725. package/node_modules/picomatch/lib/utils.js +0 -72
  1726. package/node_modules/picomatch/package.json +0 -82
  1727. package/node_modules/picomatch/posix.js +0 -3
  1728. package/node_modules/pkg-up/index.d.ts +0 -48
  1729. package/node_modules/pkg-up/index.js +0 -5
  1730. package/node_modules/pkg-up/license +0 -9
  1731. package/node_modules/pkg-up/package.json +0 -52
  1732. package/node_modules/pkg-up/readme.md +0 -68
  1733. package/node_modules/require-from-string/index.js +0 -34
  1734. package/node_modules/require-from-string/license +0 -21
  1735. package/node_modules/require-from-string/package.json +0 -28
  1736. package/node_modules/require-from-string/readme.md +0 -56
  1737. package/node_modules/semver/LICENSE +0 -15
  1738. package/node_modules/semver/README.md +0 -680
  1739. package/node_modules/semver/bin/semver.js +0 -195
  1740. package/node_modules/semver/classes/comparator.js +0 -143
  1741. package/node_modules/semver/classes/index.js +0 -7
  1742. package/node_modules/semver/classes/range.js +0 -573
  1743. package/node_modules/semver/classes/semver.js +0 -350
  1744. package/node_modules/semver/functions/clean.js +0 -8
  1745. package/node_modules/semver/functions/cmp.js +0 -54
  1746. package/node_modules/semver/functions/coerce.js +0 -62
  1747. package/node_modules/semver/functions/compare-build.js +0 -9
  1748. package/node_modules/semver/functions/compare-loose.js +0 -5
  1749. package/node_modules/semver/functions/compare.js +0 -7
  1750. package/node_modules/semver/functions/diff.js +0 -60
  1751. package/node_modules/semver/functions/eq.js +0 -5
  1752. package/node_modules/semver/functions/gt.js +0 -5
  1753. package/node_modules/semver/functions/gte.js +0 -5
  1754. package/node_modules/semver/functions/inc.js +0 -21
  1755. package/node_modules/semver/functions/lt.js +0 -5
  1756. package/node_modules/semver/functions/lte.js +0 -5
  1757. package/node_modules/semver/functions/major.js +0 -5
  1758. package/node_modules/semver/functions/minor.js +0 -5
  1759. package/node_modules/semver/functions/neq.js +0 -5
  1760. package/node_modules/semver/functions/parse.js +0 -18
  1761. package/node_modules/semver/functions/patch.js +0 -5
  1762. package/node_modules/semver/functions/prerelease.js +0 -8
  1763. package/node_modules/semver/functions/rcompare.js +0 -5
  1764. package/node_modules/semver/functions/rsort.js +0 -5
  1765. package/node_modules/semver/functions/satisfies.js +0 -12
  1766. package/node_modules/semver/functions/sort.js +0 -5
  1767. package/node_modules/semver/functions/truncate.js +0 -48
  1768. package/node_modules/semver/functions/valid.js +0 -8
  1769. package/node_modules/semver/index.js +0 -93
  1770. package/node_modules/semver/internal/constants.js +0 -37
  1771. package/node_modules/semver/internal/debug.js +0 -11
  1772. package/node_modules/semver/internal/identifiers.js +0 -29
  1773. package/node_modules/semver/internal/lrucache.js +0 -42
  1774. package/node_modules/semver/internal/parse-options.js +0 -17
  1775. package/node_modules/semver/internal/re.js +0 -223
  1776. package/node_modules/semver/package.json +0 -78
  1777. package/node_modules/semver/preload.js +0 -4
  1778. package/node_modules/semver/range.bnf +0 -17
  1779. package/node_modules/semver/ranges/gtr.js +0 -6
  1780. package/node_modules/semver/ranges/intersects.js +0 -9
  1781. package/node_modules/semver/ranges/ltr.js +0 -6
  1782. package/node_modules/semver/ranges/max-satisfying.js +0 -27
  1783. package/node_modules/semver/ranges/min-satisfying.js +0 -26
  1784. package/node_modules/semver/ranges/min-version.js +0 -63
  1785. package/node_modules/semver/ranges/outside.js +0 -82
  1786. package/node_modules/semver/ranges/simplify.js +0 -49
  1787. package/node_modules/semver/ranges/subset.js +0 -249
  1788. package/node_modules/semver/ranges/to-comparators.js +0 -10
  1789. package/node_modules/semver/ranges/valid.js +0 -13
  1790. package/node_modules/shebang-command/index.js +0 -19
  1791. package/node_modules/shebang-command/license +0 -9
  1792. package/node_modules/shebang-command/package.json +0 -34
  1793. package/node_modules/shebang-command/readme.md +0 -34
  1794. package/node_modules/shebang-regex/index.d.ts +0 -22
  1795. package/node_modules/shebang-regex/index.js +0 -2
  1796. package/node_modules/shebang-regex/license +0 -9
  1797. package/node_modules/shebang-regex/package.json +0 -35
  1798. package/node_modules/shebang-regex/readme.md +0 -33
  1799. package/node_modules/signal-exit/LICENSE.txt +0 -16
  1800. package/node_modules/signal-exit/README.md +0 -39
  1801. package/node_modules/signal-exit/index.js +0 -202
  1802. package/node_modules/signal-exit/package.json +0 -38
  1803. package/node_modules/signal-exit/signals.js +0 -53
  1804. package/node_modules/strip-ansi/index.d.ts +0 -17
  1805. package/node_modules/strip-ansi/index.js +0 -4
  1806. package/node_modules/strip-ansi/license +0 -9
  1807. package/node_modules/strip-ansi/package.json +0 -54
  1808. package/node_modules/strip-ansi/readme.md +0 -46
  1809. package/node_modules/strip-final-newline/index.js +0 -16
  1810. package/node_modules/strip-final-newline/license +0 -9
  1811. package/node_modules/strip-final-newline/package.json +0 -40
  1812. package/node_modules/strip-final-newline/readme.md +0 -30
  1813. package/node_modules/systeminformation/LICENSE +0 -20
  1814. package/node_modules/systeminformation/README.md +0 -1208
  1815. package/node_modules/systeminformation/lib/audio.js +0 -276
  1816. package/node_modules/systeminformation/lib/battery.js +0 -330
  1817. package/node_modules/systeminformation/lib/bluetooth.js +0 -311
  1818. package/node_modules/systeminformation/lib/bluetoothVendors.js +0 -1138
  1819. package/node_modules/systeminformation/lib/cli.js +0 -100
  1820. package/node_modules/systeminformation/lib/cpu.js +0 -2237
  1821. package/node_modules/systeminformation/lib/docker.js +0 -803
  1822. package/node_modules/systeminformation/lib/dockerSocket.js +0 -322
  1823. package/node_modules/systeminformation/lib/filesystem.js +0 -1745
  1824. package/node_modules/systeminformation/lib/graphics.js +0 -1235
  1825. package/node_modules/systeminformation/lib/index.d.ts +0 -1053
  1826. package/node_modules/systeminformation/lib/index.js +0 -518
  1827. package/node_modules/systeminformation/lib/internet.js +0 -259
  1828. package/node_modules/systeminformation/lib/memory.js +0 -613
  1829. package/node_modules/systeminformation/lib/network.js +0 -1992
  1830. package/node_modules/systeminformation/lib/osinfo.js +0 -1310
  1831. package/node_modules/systeminformation/lib/printer.js +0 -209
  1832. package/node_modules/systeminformation/lib/processes.js +0 -1425
  1833. package/node_modules/systeminformation/lib/system.js +0 -856
  1834. package/node_modules/systeminformation/lib/usb.js +0 -313
  1835. package/node_modules/systeminformation/lib/users.js +0 -412
  1836. package/node_modules/systeminformation/lib/util.js +0 -2787
  1837. package/node_modules/systeminformation/lib/virtualbox.js +0 -110
  1838. package/node_modules/systeminformation/lib/wifi.js +0 -822
  1839. package/node_modules/systeminformation/package.json +0 -101
  1840. package/node_modules/undici/LICENSE +0 -21
  1841. package/node_modules/undici/README.md +0 -741
  1842. package/node_modules/undici/docs/docs/api/Agent.md +0 -84
  1843. package/node_modules/undici/docs/docs/api/BalancedPool.md +0 -99
  1844. package/node_modules/undici/docs/docs/api/CacheStorage.md +0 -30
  1845. package/node_modules/undici/docs/docs/api/CacheStore.md +0 -164
  1846. package/node_modules/undici/docs/docs/api/Client.md +0 -288
  1847. package/node_modules/undici/docs/docs/api/ClientStats.md +0 -27
  1848. package/node_modules/undici/docs/docs/api/Connector.md +0 -115
  1849. package/node_modules/undici/docs/docs/api/ContentType.md +0 -57
  1850. package/node_modules/undici/docs/docs/api/Cookies.md +0 -128
  1851. package/node_modules/undici/docs/docs/api/Debug.md +0 -62
  1852. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -315
  1853. package/node_modules/undici/docs/docs/api/Dispatcher.md +0 -1392
  1854. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -159
  1855. package/node_modules/undici/docs/docs/api/Errors.md +0 -49
  1856. package/node_modules/undici/docs/docs/api/EventSource.md +0 -45
  1857. package/node_modules/undici/docs/docs/api/Fetch.md +0 -60
  1858. package/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -139
  1859. package/node_modules/undici/docs/docs/api/H2CClient.md +0 -263
  1860. package/node_modules/undici/docs/docs/api/MockAgent.md +0 -603
  1861. package/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -197
  1862. package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -43
  1863. package/node_modules/undici/docs/docs/api/MockClient.md +0 -81
  1864. package/node_modules/undici/docs/docs/api/MockErrors.md +0 -12
  1865. package/node_modules/undici/docs/docs/api/MockPool.md +0 -555
  1866. package/node_modules/undici/docs/docs/api/Pool.md +0 -84
  1867. package/node_modules/undici/docs/docs/api/PoolStats.md +0 -35
  1868. package/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -229
  1869. package/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -93
  1870. package/node_modules/undici/docs/docs/api/RetryAgent.md +0 -50
  1871. package/node_modules/undici/docs/docs/api/RetryHandler.md +0 -118
  1872. package/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -145
  1873. package/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -616
  1874. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -275
  1875. package/node_modules/undici/docs/docs/api/Util.md +0 -25
  1876. package/node_modules/undici/docs/docs/api/WebSocket.md +0 -141
  1877. package/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -91
  1878. package/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -64
  1879. package/node_modules/undici/docs/docs/best-practices/crawling.md +0 -58
  1880. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -190
  1881. package/node_modules/undici/docs/docs/best-practices/proxy.md +0 -127
  1882. package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -224
  1883. package/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -63
  1884. package/node_modules/undici/index-fetch.js +0 -65
  1885. package/node_modules/undici/index.d.ts +0 -3
  1886. package/node_modules/undici/index.js +0 -234
  1887. package/node_modules/undici/lib/api/abort-signal.js +0 -59
  1888. package/node_modules/undici/lib/api/api-connect.js +0 -110
  1889. package/node_modules/undici/lib/api/api-pipeline.js +0 -252
  1890. package/node_modules/undici/lib/api/api-request.js +0 -214
  1891. package/node_modules/undici/lib/api/api-stream.js +0 -209
  1892. package/node_modules/undici/lib/api/api-upgrade.js +0 -111
  1893. package/node_modules/undici/lib/api/index.js +0 -7
  1894. package/node_modules/undici/lib/api/readable.js +0 -580
  1895. package/node_modules/undici/lib/cache/memory-cache-store.js +0 -234
  1896. package/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -461
  1897. package/node_modules/undici/lib/core/connect.js +0 -153
  1898. package/node_modules/undici/lib/core/constants.js +0 -143
  1899. package/node_modules/undici/lib/core/diagnostics.js +0 -227
  1900. package/node_modules/undici/lib/core/errors.js +0 -477
  1901. package/node_modules/undici/lib/core/request.js +0 -453
  1902. package/node_modules/undici/lib/core/socks5-client.js +0 -422
  1903. package/node_modules/undici/lib/core/socks5-utils.js +0 -212
  1904. package/node_modules/undici/lib/core/symbols.js +0 -75
  1905. package/node_modules/undici/lib/core/tree.js +0 -160
  1906. package/node_modules/undici/lib/core/util.js +0 -992
  1907. package/node_modules/undici/lib/dispatcher/agent.js +0 -158
  1908. package/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -219
  1909. package/node_modules/undici/lib/dispatcher/client-h1.js +0 -1722
  1910. package/node_modules/undici/lib/dispatcher/client-h2.js +0 -995
  1911. package/node_modules/undici/lib/dispatcher/client.js +0 -664
  1912. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -184
  1913. package/node_modules/undici/lib/dispatcher/dispatcher.js +0 -48
  1914. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -146
  1915. package/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
  1916. package/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
  1917. package/node_modules/undici/lib/dispatcher/pool-base.js +0 -214
  1918. package/node_modules/undici/lib/dispatcher/pool.js +0 -118
  1919. package/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -319
  1920. package/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
  1921. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -137
  1922. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -260
  1923. package/node_modules/undici/lib/encoding/index.js +0 -33
  1924. package/node_modules/undici/lib/global.js +0 -59
  1925. package/node_modules/undici/lib/handler/cache-handler.js +0 -578
  1926. package/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -124
  1927. package/node_modules/undici/lib/handler/decorator-handler.js +0 -67
  1928. package/node_modules/undici/lib/handler/deduplication-handler.js +0 -460
  1929. package/node_modules/undici/lib/handler/redirect-handler.js +0 -238
  1930. package/node_modules/undici/lib/handler/retry-handler.js +0 -394
  1931. package/node_modules/undici/lib/handler/unwrap-handler.js +0 -106
  1932. package/node_modules/undici/lib/handler/wrap-handler.js +0 -105
  1933. package/node_modules/undici/lib/interceptor/cache.js +0 -495
  1934. package/node_modules/undici/lib/interceptor/decompress.js +0 -259
  1935. package/node_modules/undici/lib/interceptor/deduplicate.js +0 -117
  1936. package/node_modules/undici/lib/interceptor/dns.js +0 -571
  1937. package/node_modules/undici/lib/interceptor/dump.js +0 -112
  1938. package/node_modules/undici/lib/interceptor/redirect.js +0 -21
  1939. package/node_modules/undici/lib/interceptor/response-error.js +0 -95
  1940. package/node_modules/undici/lib/interceptor/retry.js +0 -19
  1941. package/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  1942. package/node_modules/undici/lib/llhttp/constants.d.ts +0 -195
  1943. package/node_modules/undici/lib/llhttp/constants.js +0 -531
  1944. package/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
  1945. package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
  1946. package/node_modules/undici/lib/llhttp/utils.d.ts +0 -2
  1947. package/node_modules/undici/lib/llhttp/utils.js +0 -12
  1948. package/node_modules/undici/lib/mock/mock-agent.js +0 -232
  1949. package/node_modules/undici/lib/mock/mock-call-history.js +0 -248
  1950. package/node_modules/undici/lib/mock/mock-client.js +0 -68
  1951. package/node_modules/undici/lib/mock/mock-errors.js +0 -29
  1952. package/node_modules/undici/lib/mock/mock-interceptor.js +0 -209
  1953. package/node_modules/undici/lib/mock/mock-pool.js +0 -68
  1954. package/node_modules/undici/lib/mock/mock-symbols.js +0 -32
  1955. package/node_modules/undici/lib/mock/mock-utils.js +0 -486
  1956. package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
  1957. package/node_modules/undici/lib/mock/snapshot-agent.js +0 -353
  1958. package/node_modules/undici/lib/mock/snapshot-recorder.js +0 -588
  1959. package/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
  1960. package/node_modules/undici/lib/util/cache.js +0 -414
  1961. package/node_modules/undici/lib/util/date.js +0 -653
  1962. package/node_modules/undici/lib/util/promise.js +0 -28
  1963. package/node_modules/undici/lib/util/runtime-features.js +0 -124
  1964. package/node_modules/undici/lib/util/stats.js +0 -32
  1965. package/node_modules/undici/lib/util/timers.js +0 -425
  1966. package/node_modules/undici/lib/web/cache/cache.js +0 -864
  1967. package/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
  1968. package/node_modules/undici/lib/web/cache/util.js +0 -45
  1969. package/node_modules/undici/lib/web/cookies/constants.js +0 -12
  1970. package/node_modules/undici/lib/web/cookies/index.js +0 -199
  1971. package/node_modules/undici/lib/web/cookies/parse.js +0 -314
  1972. package/node_modules/undici/lib/web/cookies/util.js +0 -282
  1973. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -399
  1974. package/node_modules/undici/lib/web/eventsource/eventsource.js +0 -501
  1975. package/node_modules/undici/lib/web/eventsource/util.js +0 -29
  1976. package/node_modules/undici/lib/web/fetch/LICENSE +0 -21
  1977. package/node_modules/undici/lib/web/fetch/body.js +0 -509
  1978. package/node_modules/undici/lib/web/fetch/constants.js +0 -131
  1979. package/node_modules/undici/lib/web/fetch/data-url.js +0 -596
  1980. package/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -586
  1981. package/node_modules/undici/lib/web/fetch/formdata.js +0 -259
  1982. package/node_modules/undici/lib/web/fetch/global.js +0 -40
  1983. package/node_modules/undici/lib/web/fetch/headers.js +0 -719
  1984. package/node_modules/undici/lib/web/fetch/index.js +0 -2413
  1985. package/node_modules/undici/lib/web/fetch/request.js +0 -1115
  1986. package/node_modules/undici/lib/web/fetch/response.js +0 -641
  1987. package/node_modules/undici/lib/web/fetch/util.js +0 -1522
  1988. package/node_modules/undici/lib/web/infra/index.js +0 -229
  1989. package/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
  1990. package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
  1991. package/node_modules/undici/lib/web/webidl/index.js +0 -1006
  1992. package/node_modules/undici/lib/web/websocket/connection.js +0 -329
  1993. package/node_modules/undici/lib/web/websocket/constants.js +0 -126
  1994. package/node_modules/undici/lib/web/websocket/events.js +0 -331
  1995. package/node_modules/undici/lib/web/websocket/frame.js +0 -133
  1996. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -100
  1997. package/node_modules/undici/lib/web/websocket/receiver.js +0 -507
  1998. package/node_modules/undici/lib/web/websocket/sender.js +0 -109
  1999. package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
  2000. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -498
  2001. package/node_modules/undici/lib/web/websocket/util.js +0 -347
  2002. package/node_modules/undici/lib/web/websocket/websocket.js +0 -758
  2003. package/node_modules/undici/package.json +0 -152
  2004. package/node_modules/undici/scripts/strip-comments.js +0 -10
  2005. package/node_modules/undici/types/README.md +0 -6
  2006. package/node_modules/undici/types/agent.d.ts +0 -32
  2007. package/node_modules/undici/types/api.d.ts +0 -43
  2008. package/node_modules/undici/types/balanced-pool.d.ts +0 -30
  2009. package/node_modules/undici/types/cache-interceptor.d.ts +0 -179
  2010. package/node_modules/undici/types/cache.d.ts +0 -36
  2011. package/node_modules/undici/types/client-stats.d.ts +0 -15
  2012. package/node_modules/undici/types/client.d.ts +0 -139
  2013. package/node_modules/undici/types/connector.d.ts +0 -36
  2014. package/node_modules/undici/types/content-type.d.ts +0 -21
  2015. package/node_modules/undici/types/cookies.d.ts +0 -30
  2016. package/node_modules/undici/types/diagnostics-channel.d.ts +0 -74
  2017. package/node_modules/undici/types/dispatcher.d.ts +0 -275
  2018. package/node_modules/undici/types/env-http-proxy-agent.d.ts +0 -22
  2019. package/node_modules/undici/types/errors.d.ts +0 -177
  2020. package/node_modules/undici/types/eventsource.d.ts +0 -66
  2021. package/node_modules/undici/types/fetch.d.ts +0 -231
  2022. package/node_modules/undici/types/formdata.d.ts +0 -114
  2023. package/node_modules/undici/types/global-dispatcher.d.ts +0 -9
  2024. package/node_modules/undici/types/global-origin.d.ts +0 -7
  2025. package/node_modules/undici/types/h2c-client.d.ts +0 -73
  2026. package/node_modules/undici/types/handlers.d.ts +0 -14
  2027. package/node_modules/undici/types/header.d.ts +0 -160
  2028. package/node_modules/undici/types/index.d.ts +0 -91
  2029. package/node_modules/undici/types/interceptors.d.ts +0 -80
  2030. package/node_modules/undici/types/mock-agent.d.ts +0 -68
  2031. package/node_modules/undici/types/mock-call-history.d.ts +0 -111
  2032. package/node_modules/undici/types/mock-client.d.ts +0 -27
  2033. package/node_modules/undici/types/mock-errors.d.ts +0 -12
  2034. package/node_modules/undici/types/mock-interceptor.d.ts +0 -94
  2035. package/node_modules/undici/types/mock-pool.d.ts +0 -27
  2036. package/node_modules/undici/types/patch.d.ts +0 -29
  2037. package/node_modules/undici/types/pool-stats.d.ts +0 -19
  2038. package/node_modules/undici/types/pool.d.ts +0 -41
  2039. package/node_modules/undici/types/proxy-agent.d.ts +0 -29
  2040. package/node_modules/undici/types/readable.d.ts +0 -68
  2041. package/node_modules/undici/types/retry-agent.d.ts +0 -8
  2042. package/node_modules/undici/types/retry-handler.d.ts +0 -125
  2043. package/node_modules/undici/types/round-robin-pool.d.ts +0 -41
  2044. package/node_modules/undici/types/snapshot-agent.d.ts +0 -109
  2045. package/node_modules/undici/types/socks5-proxy-agent.d.ts +0 -25
  2046. package/node_modules/undici/types/util.d.ts +0 -18
  2047. package/node_modules/undici/types/utility.d.ts +0 -7
  2048. package/node_modules/undici/types/webidl.d.ts +0 -347
  2049. package/node_modules/undici/types/websocket.d.ts +0 -188
  2050. package/node_modules/which/LICENSE +0 -15
  2051. package/node_modules/which/README.md +0 -51
  2052. package/node_modules/which/bin/which.js +0 -52
  2053. package/node_modules/which/lib/index.js +0 -111
  2054. package/node_modules/which/package.json +0 -57
  2055. package/node_modules/yocto-spinner/index.d.ts +0 -162
  2056. package/node_modules/yocto-spinner/index.js +0 -428
  2057. package/node_modules/yocto-spinner/license +0 -9
  2058. package/node_modules/yocto-spinner/package.json +0 -64
  2059. package/node_modules/yocto-spinner/readme.md +0 -237
  2060. package/node_modules/yoctocolors/base.d.ts +0 -47
  2061. package/node_modules/yoctocolors/base.js +0 -94
  2062. package/node_modules/yoctocolors/index.d.ts +0 -2
  2063. package/node_modules/yoctocolors/index.js +0 -2
  2064. package/node_modules/yoctocolors/license +0 -9
  2065. package/node_modules/yoctocolors/package.json +0 -69
  2066. package/node_modules/yoctocolors/readme.md +0 -138
  2067. /package/{node_modules/@dotenvx/dotenvx/LICENSE → LICENSE} +0 -0
@@ -1,2179 +0,0 @@
1
- const EventEmitter = require('events').EventEmitter;
2
- const childProcess = require('child_process');
3
- const path = require('path');
4
- const fs = require('fs');
5
- const process = require('process');
6
-
7
- const { Argument, humanReadableArgName } = require('./argument.js');
8
- const { CommanderError } = require('./error.js');
9
- const { Help } = require('./help.js');
10
- const { Option, splitOptionFlags, DualOptions } = require('./option.js');
11
- const { suggestSimilar } = require('./suggestSimilar');
12
-
13
- class Command extends EventEmitter {
14
- /**
15
- * Initialize a new `Command`.
16
- *
17
- * @param {string} [name]
18
- */
19
-
20
- constructor(name) {
21
- super();
22
- /** @type {Command[]} */
23
- this.commands = [];
24
- /** @type {Option[]} */
25
- this.options = [];
26
- this.parent = null;
27
- this._allowUnknownOption = false;
28
- this._allowExcessArguments = true;
29
- /** @type {Argument[]} */
30
- this.registeredArguments = [];
31
- this._args = this.registeredArguments; // deprecated old name
32
- /** @type {string[]} */
33
- this.args = []; // cli args with options removed
34
- this.rawArgs = [];
35
- this.processedArgs = []; // like .args but after custom processing and collecting variadic
36
- this._scriptPath = null;
37
- this._name = name || '';
38
- this._optionValues = {};
39
- this._optionValueSources = {}; // default, env, cli etc
40
- this._storeOptionsAsProperties = false;
41
- this._actionHandler = null;
42
- this._executableHandler = false;
43
- this._executableFile = null; // custom name for executable
44
- this._executableDir = null; // custom search directory for subcommands
45
- this._defaultCommandName = null;
46
- this._exitCallback = null;
47
- this._aliases = [];
48
- this._combineFlagAndOptionalValue = true;
49
- this._description = '';
50
- this._summary = '';
51
- this._argsDescription = undefined; // legacy
52
- this._enablePositionalOptions = false;
53
- this._passThroughOptions = false;
54
- this._lifeCycleHooks = {}; // a hash of arrays
55
- /** @type {boolean | string} */
56
- this._showHelpAfterError = false;
57
- this._showSuggestionAfterError = true;
58
-
59
- // see .configureOutput() for docs
60
- this._outputConfiguration = {
61
- writeOut: (str) => process.stdout.write(str),
62
- writeErr: (str) => process.stderr.write(str),
63
- getOutHelpWidth: () => process.stdout.isTTY ? process.stdout.columns : undefined,
64
- getErrHelpWidth: () => process.stderr.isTTY ? process.stderr.columns : undefined,
65
- outputError: (str, write) => write(str)
66
- };
67
-
68
- this._hidden = false;
69
- this._hasHelpOption = true;
70
- this._helpFlags = '-h, --help';
71
- this._helpDescription = 'display help for command';
72
- this._helpShortFlag = '-h';
73
- this._helpLongFlag = '--help';
74
- this._addImplicitHelpCommand = undefined; // Deliberately undefined, not decided whether true or false
75
- this._helpCommandName = 'help';
76
- this._helpCommandnameAndArgs = 'help [command]';
77
- this._helpCommandDescription = 'display help for command';
78
- this._helpConfiguration = {};
79
- }
80
-
81
- /**
82
- * Copy settings that are useful to have in common across root command and subcommands.
83
- *
84
- * (Used internally when adding a command using `.command()` so subcommands inherit parent settings.)
85
- *
86
- * @param {Command} sourceCommand
87
- * @return {Command} `this` command for chaining
88
- */
89
- copyInheritedSettings(sourceCommand) {
90
- this._outputConfiguration = sourceCommand._outputConfiguration;
91
- this._hasHelpOption = sourceCommand._hasHelpOption;
92
- this._helpFlags = sourceCommand._helpFlags;
93
- this._helpDescription = sourceCommand._helpDescription;
94
- this._helpShortFlag = sourceCommand._helpShortFlag;
95
- this._helpLongFlag = sourceCommand._helpLongFlag;
96
- this._helpCommandName = sourceCommand._helpCommandName;
97
- this._helpCommandnameAndArgs = sourceCommand._helpCommandnameAndArgs;
98
- this._helpCommandDescription = sourceCommand._helpCommandDescription;
99
- this._helpConfiguration = sourceCommand._helpConfiguration;
100
- this._exitCallback = sourceCommand._exitCallback;
101
- this._storeOptionsAsProperties = sourceCommand._storeOptionsAsProperties;
102
- this._combineFlagAndOptionalValue = sourceCommand._combineFlagAndOptionalValue;
103
- this._allowExcessArguments = sourceCommand._allowExcessArguments;
104
- this._enablePositionalOptions = sourceCommand._enablePositionalOptions;
105
- this._showHelpAfterError = sourceCommand._showHelpAfterError;
106
- this._showSuggestionAfterError = sourceCommand._showSuggestionAfterError;
107
-
108
- return this;
109
- }
110
-
111
- /**
112
- * @returns {Command[]}
113
- * @api private
114
- */
115
-
116
- _getCommandAndAncestors() {
117
- const result = [];
118
- for (let command = this; command; command = command.parent) {
119
- result.push(command);
120
- }
121
- return result;
122
- }
123
-
124
- /**
125
- * Define a command.
126
- *
127
- * There are two styles of command: pay attention to where to put the description.
128
- *
129
- * @example
130
- * // Command implemented using action handler (description is supplied separately to `.command`)
131
- * program
132
- * .command('clone <source> [destination]')
133
- * .description('clone a repository into a newly created directory')
134
- * .action((source, destination) => {
135
- * console.log('clone command called');
136
- * });
137
- *
138
- * // Command implemented using separate executable file (description is second parameter to `.command`)
139
- * program
140
- * .command('start <service>', 'start named service')
141
- * .command('stop [service]', 'stop named service, or all if no name supplied');
142
- *
143
- * @param {string} nameAndArgs - command name and arguments, args are `<required>` or `[optional]` and last may also be `variadic...`
144
- * @param {Object|string} [actionOptsOrExecDesc] - configuration options (for action), or description (for executable)
145
- * @param {Object} [execOpts] - configuration options (for executable)
146
- * @return {Command} returns new command for action handler, or `this` for executable command
147
- */
148
-
149
- command(nameAndArgs, actionOptsOrExecDesc, execOpts) {
150
- let desc = actionOptsOrExecDesc;
151
- let opts = execOpts;
152
- if (typeof desc === 'object' && desc !== null) {
153
- opts = desc;
154
- desc = null;
155
- }
156
- opts = opts || {};
157
- const [, name, args] = nameAndArgs.match(/([^ ]+) *(.*)/);
158
-
159
- const cmd = this.createCommand(name);
160
- if (desc) {
161
- cmd.description(desc);
162
- cmd._executableHandler = true;
163
- }
164
- if (opts.isDefault) this._defaultCommandName = cmd._name;
165
- cmd._hidden = !!(opts.noHelp || opts.hidden); // noHelp is deprecated old name for hidden
166
- cmd._executableFile = opts.executableFile || null; // Custom name for executable file, set missing to null to match constructor
167
- if (args) cmd.arguments(args);
168
- this.commands.push(cmd);
169
- cmd.parent = this;
170
- cmd.copyInheritedSettings(this);
171
-
172
- if (desc) return this;
173
- return cmd;
174
- }
175
-
176
- /**
177
- * Factory routine to create a new unattached command.
178
- *
179
- * See .command() for creating an attached subcommand, which uses this routine to
180
- * create the command. You can override createCommand to customise subcommands.
181
- *
182
- * @param {string} [name]
183
- * @return {Command} new command
184
- */
185
-
186
- createCommand(name) {
187
- return new Command(name);
188
- }
189
-
190
- /**
191
- * You can customise the help with a subclass of Help by overriding createHelp,
192
- * or by overriding Help properties using configureHelp().
193
- *
194
- * @return {Help}
195
- */
196
-
197
- createHelp() {
198
- return Object.assign(new Help(), this.configureHelp());
199
- }
200
-
201
- /**
202
- * You can customise the help by overriding Help properties using configureHelp(),
203
- * or with a subclass of Help by overriding createHelp().
204
- *
205
- * @param {Object} [configuration] - configuration options
206
- * @return {Command|Object} `this` command for chaining, or stored configuration
207
- */
208
-
209
- configureHelp(configuration) {
210
- if (configuration === undefined) return this._helpConfiguration;
211
-
212
- this._helpConfiguration = configuration;
213
- return this;
214
- }
215
-
216
- /**
217
- * The default output goes to stdout and stderr. You can customise this for special
218
- * applications. You can also customise the display of errors by overriding outputError.
219
- *
220
- * The configuration properties are all functions:
221
- *
222
- * // functions to change where being written, stdout and stderr
223
- * writeOut(str)
224
- * writeErr(str)
225
- * // matching functions to specify width for wrapping help
226
- * getOutHelpWidth()
227
- * getErrHelpWidth()
228
- * // functions based on what is being written out
229
- * outputError(str, write) // used for displaying errors, and not used for displaying help
230
- *
231
- * @param {Object} [configuration] - configuration options
232
- * @return {Command|Object} `this` command for chaining, or stored configuration
233
- */
234
-
235
- configureOutput(configuration) {
236
- if (configuration === undefined) return this._outputConfiguration;
237
-
238
- Object.assign(this._outputConfiguration, configuration);
239
- return this;
240
- }
241
-
242
- /**
243
- * Display the help or a custom message after an error occurs.
244
- *
245
- * @param {boolean|string} [displayHelp]
246
- * @return {Command} `this` command for chaining
247
- */
248
- showHelpAfterError(displayHelp = true) {
249
- if (typeof displayHelp !== 'string') displayHelp = !!displayHelp;
250
- this._showHelpAfterError = displayHelp;
251
- return this;
252
- }
253
-
254
- /**
255
- * Display suggestion of similar commands for unknown commands, or options for unknown options.
256
- *
257
- * @param {boolean} [displaySuggestion]
258
- * @return {Command} `this` command for chaining
259
- */
260
- showSuggestionAfterError(displaySuggestion = true) {
261
- this._showSuggestionAfterError = !!displaySuggestion;
262
- return this;
263
- }
264
-
265
- /**
266
- * Add a prepared subcommand.
267
- *
268
- * See .command() for creating an attached subcommand which inherits settings from its parent.
269
- *
270
- * @param {Command} cmd - new subcommand
271
- * @param {Object} [opts] - configuration options
272
- * @return {Command} `this` command for chaining
273
- */
274
-
275
- addCommand(cmd, opts) {
276
- if (!cmd._name) {
277
- throw new Error(`Command passed to .addCommand() must have a name
278
- - specify the name in Command constructor or using .name()`);
279
- }
280
-
281
- opts = opts || {};
282
- if (opts.isDefault) this._defaultCommandName = cmd._name;
283
- if (opts.noHelp || opts.hidden) cmd._hidden = true; // modifying passed command due to existing implementation
284
-
285
- this.commands.push(cmd);
286
- cmd.parent = this;
287
- return this;
288
- }
289
-
290
- /**
291
- * Factory routine to create a new unattached argument.
292
- *
293
- * See .argument() for creating an attached argument, which uses this routine to
294
- * create the argument. You can override createArgument to return a custom argument.
295
- *
296
- * @param {string} name
297
- * @param {string} [description]
298
- * @return {Argument} new argument
299
- */
300
-
301
- createArgument(name, description) {
302
- return new Argument(name, description);
303
- }
304
-
305
- /**
306
- * Define argument syntax for command.
307
- *
308
- * The default is that the argument is required, and you can explicitly
309
- * indicate this with <> around the name. Put [] around the name for an optional argument.
310
- *
311
- * @example
312
- * program.argument('<input-file>');
313
- * program.argument('[output-file]');
314
- *
315
- * @param {string} name
316
- * @param {string} [description]
317
- * @param {Function|*} [fn] - custom argument processing function
318
- * @param {*} [defaultValue]
319
- * @return {Command} `this` command for chaining
320
- */
321
- argument(name, description, fn, defaultValue) {
322
- const argument = this.createArgument(name, description);
323
- if (typeof fn === 'function') {
324
- argument.default(defaultValue).argParser(fn);
325
- } else {
326
- argument.default(fn);
327
- }
328
- this.addArgument(argument);
329
- return this;
330
- }
331
-
332
- /**
333
- * Define argument syntax for command, adding multiple at once (without descriptions).
334
- *
335
- * See also .argument().
336
- *
337
- * @example
338
- * program.arguments('<cmd> [env]');
339
- *
340
- * @param {string} names
341
- * @return {Command} `this` command for chaining
342
- */
343
-
344
- arguments(names) {
345
- names.trim().split(/ +/).forEach((detail) => {
346
- this.argument(detail);
347
- });
348
- return this;
349
- }
350
-
351
- /**
352
- * Define argument syntax for command, adding a prepared argument.
353
- *
354
- * @param {Argument} argument
355
- * @return {Command} `this` command for chaining
356
- */
357
- addArgument(argument) {
358
- const previousArgument = this.registeredArguments.slice(-1)[0];
359
- if (previousArgument && previousArgument.variadic) {
360
- throw new Error(`only the last argument can be variadic '${previousArgument.name()}'`);
361
- }
362
- if (argument.required && argument.defaultValue !== undefined && argument.parseArg === undefined) {
363
- throw new Error(`a default value for a required argument is never used: '${argument.name()}'`);
364
- }
365
- this.registeredArguments.push(argument);
366
- return this;
367
- }
368
-
369
- /**
370
- * Override default decision whether to add implicit help command.
371
- *
372
- * addHelpCommand() // force on
373
- * addHelpCommand(false); // force off
374
- * addHelpCommand('help [cmd]', 'display help for [cmd]'); // force on with custom details
375
- *
376
- * @return {Command} `this` command for chaining
377
- */
378
-
379
- addHelpCommand(enableOrNameAndArgs, description) {
380
- if (enableOrNameAndArgs === false) {
381
- this._addImplicitHelpCommand = false;
382
- } else {
383
- this._addImplicitHelpCommand = true;
384
- if (typeof enableOrNameAndArgs === 'string') {
385
- this._helpCommandName = enableOrNameAndArgs.split(' ')[0];
386
- this._helpCommandnameAndArgs = enableOrNameAndArgs;
387
- }
388
- this._helpCommandDescription = description || this._helpCommandDescription;
389
- }
390
- return this;
391
- }
392
-
393
- /**
394
- * @return {boolean}
395
- * @api private
396
- */
397
-
398
- _hasImplicitHelpCommand() {
399
- if (this._addImplicitHelpCommand === undefined) {
400
- return this.commands.length && !this._actionHandler && !this._findCommand('help');
401
- }
402
- return this._addImplicitHelpCommand;
403
- }
404
-
405
- /**
406
- * Add hook for life cycle event.
407
- *
408
- * @param {string} event
409
- * @param {Function} listener
410
- * @return {Command} `this` command for chaining
411
- */
412
-
413
- hook(event, listener) {
414
- const allowedValues = ['preSubcommand', 'preAction', 'postAction'];
415
- if (!allowedValues.includes(event)) {
416
- throw new Error(`Unexpected value for event passed to hook : '${event}'.
417
- Expecting one of '${allowedValues.join("', '")}'`);
418
- }
419
- if (this._lifeCycleHooks[event]) {
420
- this._lifeCycleHooks[event].push(listener);
421
- } else {
422
- this._lifeCycleHooks[event] = [listener];
423
- }
424
- return this;
425
- }
426
-
427
- /**
428
- * Register callback to use as replacement for calling process.exit.
429
- *
430
- * @param {Function} [fn] optional callback which will be passed a CommanderError, defaults to throwing
431
- * @return {Command} `this` command for chaining
432
- */
433
-
434
- exitOverride(fn) {
435
- if (fn) {
436
- this._exitCallback = fn;
437
- } else {
438
- this._exitCallback = (err) => {
439
- if (err.code !== 'commander.executeSubCommandAsync') {
440
- throw err;
441
- } else {
442
- // Async callback from spawn events, not useful to throw.
443
- }
444
- };
445
- }
446
- return this;
447
- }
448
-
449
- /**
450
- * Call process.exit, and _exitCallback if defined.
451
- *
452
- * @param {number} exitCode exit code for using with process.exit
453
- * @param {string} code an id string representing the error
454
- * @param {string} message human-readable description of the error
455
- * @return never
456
- * @api private
457
- */
458
-
459
- _exit(exitCode, code, message) {
460
- if (this._exitCallback) {
461
- this._exitCallback(new CommanderError(exitCode, code, message));
462
- // Expecting this line is not reached.
463
- }
464
- process.exit(exitCode);
465
- }
466
-
467
- /**
468
- * Register callback `fn` for the command.
469
- *
470
- * @example
471
- * program
472
- * .command('serve')
473
- * .description('start service')
474
- * .action(function() {
475
- * // do work here
476
- * });
477
- *
478
- * @param {Function} fn
479
- * @return {Command} `this` command for chaining
480
- */
481
-
482
- action(fn) {
483
- const listener = (args) => {
484
- // The .action callback takes an extra parameter which is the command or options.
485
- const expectedArgsCount = this.registeredArguments.length;
486
- const actionArgs = args.slice(0, expectedArgsCount);
487
- if (this._storeOptionsAsProperties) {
488
- actionArgs[expectedArgsCount] = this; // backwards compatible "options"
489
- } else {
490
- actionArgs[expectedArgsCount] = this.opts();
491
- }
492
- actionArgs.push(this);
493
-
494
- return fn.apply(this, actionArgs);
495
- };
496
- this._actionHandler = listener;
497
- return this;
498
- }
499
-
500
- /**
501
- * Factory routine to create a new unattached option.
502
- *
503
- * See .option() for creating an attached option, which uses this routine to
504
- * create the option. You can override createOption to return a custom option.
505
- *
506
- * @param {string} flags
507
- * @param {string} [description]
508
- * @return {Option} new option
509
- */
510
-
511
- createOption(flags, description) {
512
- return new Option(flags, description);
513
- }
514
-
515
- /**
516
- * Wrap parseArgs to catch 'commander.invalidArgument'.
517
- *
518
- * @param {Option | Argument} target
519
- * @param {string} value
520
- * @param {*} previous
521
- * @param {string} invalidArgumentMessage
522
- * @api private
523
- */
524
-
525
- _callParseArg(target, value, previous, invalidArgumentMessage) {
526
- try {
527
- return target.parseArg(value, previous);
528
- } catch (err) {
529
- if (err.code === 'commander.invalidArgument') {
530
- const message = `${invalidArgumentMessage} ${err.message}`;
531
- this.error(message, { exitCode: err.exitCode, code: err.code });
532
- }
533
- throw err;
534
- }
535
- }
536
-
537
- /**
538
- * Add an option.
539
- *
540
- * @param {Option} option
541
- * @return {Command} `this` command for chaining
542
- */
543
- addOption(option) {
544
- const oname = option.name();
545
- const name = option.attributeName();
546
-
547
- // store default value
548
- if (option.negate) {
549
- // --no-foo is special and defaults foo to true, unless a --foo option is already defined
550
- const positiveLongFlag = option.long.replace(/^--no-/, '--');
551
- if (!this._findOption(positiveLongFlag)) {
552
- this.setOptionValueWithSource(name, option.defaultValue === undefined ? true : option.defaultValue, 'default');
553
- }
554
- } else if (option.defaultValue !== undefined) {
555
- this.setOptionValueWithSource(name, option.defaultValue, 'default');
556
- }
557
-
558
- // register the option
559
- this.options.push(option);
560
-
561
- // handler for cli and env supplied values
562
- const handleOptionValue = (val, invalidValueMessage, valueSource) => {
563
- // val is null for optional option used without an optional-argument.
564
- // val is undefined for boolean and negated option.
565
- if (val == null && option.presetArg !== undefined) {
566
- val = option.presetArg;
567
- }
568
-
569
- // custom processing
570
- const oldValue = this.getOptionValue(name);
571
- if (val !== null && option.parseArg) {
572
- val = this._callParseArg(option, val, oldValue, invalidValueMessage);
573
- } else if (val !== null && option.variadic) {
574
- val = option._concatValue(val, oldValue);
575
- }
576
-
577
- // Fill-in appropriate missing values. Long winded but easy to follow.
578
- if (val == null) {
579
- if (option.negate) {
580
- val = false;
581
- } else if (option.isBoolean() || option.optional) {
582
- val = true;
583
- } else {
584
- val = ''; // not normal, parseArg might have failed or be a mock function for testing
585
- }
586
- }
587
- this.setOptionValueWithSource(name, val, valueSource);
588
- };
589
-
590
- this.on('option:' + oname, (val) => {
591
- const invalidValueMessage = `error: option '${option.flags}' argument '${val}' is invalid.`;
592
- handleOptionValue(val, invalidValueMessage, 'cli');
593
- });
594
-
595
- if (option.envVar) {
596
- this.on('optionEnv:' + oname, (val) => {
597
- const invalidValueMessage = `error: option '${option.flags}' value '${val}' from env '${option.envVar}' is invalid.`;
598
- handleOptionValue(val, invalidValueMessage, 'env');
599
- });
600
- }
601
-
602
- return this;
603
- }
604
-
605
- /**
606
- * Internal implementation shared by .option() and .requiredOption()
607
- *
608
- * @api private
609
- */
610
- _optionEx(config, flags, description, fn, defaultValue) {
611
- if (typeof flags === 'object' && flags instanceof Option) {
612
- throw new Error('To add an Option object use addOption() instead of option() or requiredOption()');
613
- }
614
- const option = this.createOption(flags, description);
615
- option.makeOptionMandatory(!!config.mandatory);
616
- if (typeof fn === 'function') {
617
- option.default(defaultValue).argParser(fn);
618
- } else if (fn instanceof RegExp) {
619
- // deprecated
620
- const regex = fn;
621
- fn = (val, def) => {
622
- const m = regex.exec(val);
623
- return m ? m[0] : def;
624
- };
625
- option.default(defaultValue).argParser(fn);
626
- } else {
627
- option.default(fn);
628
- }
629
-
630
- return this.addOption(option);
631
- }
632
-
633
- /**
634
- * Define option with `flags`, `description`, and optional argument parsing function or `defaultValue` or both.
635
- *
636
- * The `flags` string contains the short and/or long flags, separated by comma, a pipe or space. A required
637
- * option-argument is indicated by `<>` and an optional option-argument by `[]`.
638
- *
639
- * See the README for more details, and see also addOption() and requiredOption().
640
- *
641
- * @example
642
- * program
643
- * .option('-p, --pepper', 'add pepper')
644
- * .option('-p, --pizza-type <TYPE>', 'type of pizza') // required option-argument
645
- * .option('-c, --cheese [CHEESE]', 'add extra cheese', 'mozzarella') // optional option-argument with default
646
- * .option('-t, --tip <VALUE>', 'add tip to purchase cost', parseFloat) // custom parse function
647
- *
648
- * @param {string} flags
649
- * @param {string} [description]
650
- * @param {Function|*} [parseArg] - custom option processing function or default value
651
- * @param {*} [defaultValue]
652
- * @return {Command} `this` command for chaining
653
- */
654
-
655
- option(flags, description, parseArg, defaultValue) {
656
- return this._optionEx({}, flags, description, parseArg, defaultValue);
657
- }
658
-
659
- /**
660
- * Add a required option which must have a value after parsing. This usually means
661
- * the option must be specified on the command line. (Otherwise the same as .option().)
662
- *
663
- * The `flags` string contains the short and/or long flags, separated by comma, a pipe or space.
664
- *
665
- * @param {string} flags
666
- * @param {string} [description]
667
- * @param {Function|*} [parseArg] - custom option processing function or default value
668
- * @param {*} [defaultValue]
669
- * @return {Command} `this` command for chaining
670
- */
671
-
672
- requiredOption(flags, description, parseArg, defaultValue) {
673
- return this._optionEx({ mandatory: true }, flags, description, parseArg, defaultValue);
674
- }
675
-
676
- /**
677
- * Alter parsing of short flags with optional values.
678
- *
679
- * @example
680
- * // for `.option('-f,--flag [value]'):
681
- * program.combineFlagAndOptionalValue(true); // `-f80` is treated like `--flag=80`, this is the default behaviour
682
- * program.combineFlagAndOptionalValue(false) // `-fb` is treated like `-f -b`
683
- *
684
- * @param {Boolean} [combine=true] - if `true` or omitted, an optional value can be specified directly after the flag.
685
- */
686
- combineFlagAndOptionalValue(combine = true) {
687
- this._combineFlagAndOptionalValue = !!combine;
688
- return this;
689
- }
690
-
691
- /**
692
- * Allow unknown options on the command line.
693
- *
694
- * @param {Boolean} [allowUnknown=true] - if `true` or omitted, no error will be thrown
695
- * for unknown options.
696
- */
697
- allowUnknownOption(allowUnknown = true) {
698
- this._allowUnknownOption = !!allowUnknown;
699
- return this;
700
- }
701
-
702
- /**
703
- * Allow excess command-arguments on the command line. Pass false to make excess arguments an error.
704
- *
705
- * @param {Boolean} [allowExcess=true] - if `true` or omitted, no error will be thrown
706
- * for excess arguments.
707
- */
708
- allowExcessArguments(allowExcess = true) {
709
- this._allowExcessArguments = !!allowExcess;
710
- return this;
711
- }
712
-
713
- /**
714
- * Enable positional options. Positional means global options are specified before subcommands which lets
715
- * subcommands reuse the same option names, and also enables subcommands to turn on passThroughOptions.
716
- * The default behaviour is non-positional and global options may appear anywhere on the command line.
717
- *
718
- * @param {Boolean} [positional=true]
719
- */
720
- enablePositionalOptions(positional = true) {
721
- this._enablePositionalOptions = !!positional;
722
- return this;
723
- }
724
-
725
- /**
726
- * Pass through options that come after command-arguments rather than treat them as command-options,
727
- * so actual command-options come before command-arguments. Turning this on for a subcommand requires
728
- * positional options to have been enabled on the program (parent commands).
729
- * The default behaviour is non-positional and options may appear before or after command-arguments.
730
- *
731
- * @param {Boolean} [passThrough=true]
732
- * for unknown options.
733
- */
734
- passThroughOptions(passThrough = true) {
735
- this._passThroughOptions = !!passThrough;
736
- if (!!this.parent && passThrough && !this.parent._enablePositionalOptions) {
737
- throw new Error('passThroughOptions can not be used without turning on enablePositionalOptions for parent command(s)');
738
- }
739
- return this;
740
- }
741
-
742
- /**
743
- * Whether to store option values as properties on command object,
744
- * or store separately (specify false). In both cases the option values can be accessed using .opts().
745
- *
746
- * @param {boolean} [storeAsProperties=true]
747
- * @return {Command} `this` command for chaining
748
- */
749
-
750
- storeOptionsAsProperties(storeAsProperties = true) {
751
- if (this.options.length) {
752
- throw new Error('call .storeOptionsAsProperties() before adding options');
753
- }
754
- // if (Object.keys(this._optionValues).length) {
755
- // throw new Error('call .storeOptionsAsProperties() before setting option values');
756
- // }
757
- this._storeOptionsAsProperties = !!storeAsProperties;
758
- return this;
759
- }
760
-
761
- /**
762
- * Retrieve option value.
763
- *
764
- * @param {string} key
765
- * @return {Object} value
766
- */
767
-
768
- getOptionValue(key) {
769
- if (this._storeOptionsAsProperties) {
770
- return this[key];
771
- }
772
- return this._optionValues[key];
773
- }
774
-
775
- /**
776
- * Store option value.
777
- *
778
- * @param {string} key
779
- * @param {Object} value
780
- * @return {Command} `this` command for chaining
781
- */
782
-
783
- setOptionValue(key, value) {
784
- return this.setOptionValueWithSource(key, value, undefined);
785
- }
786
-
787
- /**
788
- * Store option value and where the value came from.
789
- *
790
- * @param {string} key
791
- * @param {Object} value
792
- * @param {string} source - expected values are default/config/env/cli/implied
793
- * @return {Command} `this` command for chaining
794
- */
795
-
796
- setOptionValueWithSource(key, value, source) {
797
- if (this._storeOptionsAsProperties) {
798
- this[key] = value;
799
- } else {
800
- this._optionValues[key] = value;
801
- }
802
- this._optionValueSources[key] = source;
803
- return this;
804
- }
805
-
806
- /**
807
- * Get source of option value.
808
- * Expected values are default | config | env | cli | implied
809
- *
810
- * @param {string} key
811
- * @return {string}
812
- */
813
-
814
- getOptionValueSource(key) {
815
- return this._optionValueSources[key];
816
- }
817
-
818
- /**
819
- * Get source of option value. See also .optsWithGlobals().
820
- * Expected values are default | config | env | cli | implied
821
- *
822
- * @param {string} key
823
- * @return {string}
824
- */
825
-
826
- getOptionValueSourceWithGlobals(key) {
827
- // global overwrites local, like optsWithGlobals
828
- let source;
829
- this._getCommandAndAncestors().forEach((cmd) => {
830
- if (cmd.getOptionValueSource(key) !== undefined) {
831
- source = cmd.getOptionValueSource(key);
832
- }
833
- });
834
- return source;
835
- }
836
-
837
- /**
838
- * Get user arguments from implied or explicit arguments.
839
- * Side-effects: set _scriptPath if args included script. Used for default program name, and subcommand searches.
840
- *
841
- * @api private
842
- */
843
-
844
- _prepareUserArgs(argv, parseOptions) {
845
- if (argv !== undefined && !Array.isArray(argv)) {
846
- throw new Error('first parameter to parse must be array or undefined');
847
- }
848
- parseOptions = parseOptions || {};
849
-
850
- // Default to using process.argv
851
- if (argv === undefined) {
852
- argv = process.argv;
853
- // @ts-ignore: unknown property
854
- if (process.versions && process.versions.electron) {
855
- parseOptions.from = 'electron';
856
- }
857
- }
858
- this.rawArgs = argv.slice();
859
-
860
- // make it a little easier for callers by supporting various argv conventions
861
- let userArgs;
862
- switch (parseOptions.from) {
863
- case undefined:
864
- case 'node':
865
- this._scriptPath = argv[1];
866
- userArgs = argv.slice(2);
867
- break;
868
- case 'electron':
869
- // @ts-ignore: unknown property
870
- if (process.defaultApp) {
871
- this._scriptPath = argv[1];
872
- userArgs = argv.slice(2);
873
- } else {
874
- userArgs = argv.slice(1);
875
- }
876
- break;
877
- case 'user':
878
- userArgs = argv.slice(0);
879
- break;
880
- default:
881
- throw new Error(`unexpected parse option { from: '${parseOptions.from}' }`);
882
- }
883
-
884
- // Find default name for program from arguments.
885
- if (!this._name && this._scriptPath) this.nameFromFilename(this._scriptPath);
886
- this._name = this._name || 'program';
887
-
888
- return userArgs;
889
- }
890
-
891
- /**
892
- * Parse `argv`, setting options and invoking commands when defined.
893
- *
894
- * The default expectation is that the arguments are from node and have the application as argv[0]
895
- * and the script being run in argv[1], with user parameters after that.
896
- *
897
- * @example
898
- * program.parse(process.argv);
899
- * program.parse(); // implicitly use process.argv and auto-detect node vs electron conventions
900
- * program.parse(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
901
- *
902
- * @param {string[]} [argv] - optional, defaults to process.argv
903
- * @param {Object} [parseOptions] - optionally specify style of options with from: node/user/electron
904
- * @param {string} [parseOptions.from] - where the args are from: 'node', 'user', 'electron'
905
- * @return {Command} `this` command for chaining
906
- */
907
-
908
- parse(argv, parseOptions) {
909
- const userArgs = this._prepareUserArgs(argv, parseOptions);
910
- this._parseCommand([], userArgs);
911
-
912
- return this;
913
- }
914
-
915
- /**
916
- * Parse `argv`, setting options and invoking commands when defined.
917
- *
918
- * Use parseAsync instead of parse if any of your action handlers are async. Returns a Promise.
919
- *
920
- * The default expectation is that the arguments are from node and have the application as argv[0]
921
- * and the script being run in argv[1], with user parameters after that.
922
- *
923
- * @example
924
- * await program.parseAsync(process.argv);
925
- * await program.parseAsync(); // implicitly use process.argv and auto-detect node vs electron conventions
926
- * await program.parseAsync(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
927
- *
928
- * @param {string[]} [argv]
929
- * @param {Object} [parseOptions]
930
- * @param {string} parseOptions.from - where the args are from: 'node', 'user', 'electron'
931
- * @return {Promise}
932
- */
933
-
934
- async parseAsync(argv, parseOptions) {
935
- const userArgs = this._prepareUserArgs(argv, parseOptions);
936
- await this._parseCommand([], userArgs);
937
-
938
- return this;
939
- }
940
-
941
- /**
942
- * Execute a sub-command executable.
943
- *
944
- * @api private
945
- */
946
-
947
- _executeSubCommand(subcommand, args) {
948
- args = args.slice();
949
- let launchWithNode = false; // Use node for source targets so do not need to get permissions correct, and on Windows.
950
- const sourceExt = ['.js', '.ts', '.tsx', '.mjs', '.cjs'];
951
-
952
- function findFile(baseDir, baseName) {
953
- // Look for specified file
954
- const localBin = path.resolve(baseDir, baseName);
955
- if (fs.existsSync(localBin)) return localBin;
956
-
957
- // Stop looking if candidate already has an expected extension.
958
- if (sourceExt.includes(path.extname(baseName))) return undefined;
959
-
960
- // Try all the extensions.
961
- const foundExt = sourceExt.find(ext => fs.existsSync(`${localBin}${ext}`));
962
- if (foundExt) return `${localBin}${foundExt}`;
963
-
964
- return undefined;
965
- }
966
-
967
- // Not checking for help first. Unlikely to have mandatory and executable, and can't robustly test for help flags in external command.
968
- this._checkForMissingMandatoryOptions();
969
- this._checkForConflictingOptions();
970
-
971
- // executableFile and executableDir might be full path, or just a name
972
- let executableFile = subcommand._executableFile || `${this._name}-${subcommand._name}`;
973
- let executableDir = this._executableDir || '';
974
- if (this._scriptPath) {
975
- let resolvedScriptPath; // resolve possible symlink for installed npm binary
976
- try {
977
- resolvedScriptPath = fs.realpathSync(this._scriptPath);
978
- } catch (err) {
979
- resolvedScriptPath = this._scriptPath;
980
- }
981
- executableDir = path.resolve(path.dirname(resolvedScriptPath), executableDir);
982
- }
983
-
984
- // Look for a local file in preference to a command in PATH.
985
- if (executableDir) {
986
- let localFile = findFile(executableDir, executableFile);
987
-
988
- // Legacy search using prefix of script name instead of command name
989
- if (!localFile && !subcommand._executableFile && this._scriptPath) {
990
- const legacyName = path.basename(this._scriptPath, path.extname(this._scriptPath));
991
- if (legacyName !== this._name) {
992
- localFile = findFile(executableDir, `${legacyName}-${subcommand._name}`);
993
- }
994
- }
995
- executableFile = localFile || executableFile;
996
- }
997
-
998
- launchWithNode = sourceExt.includes(path.extname(executableFile));
999
-
1000
- let proc;
1001
- if (process.platform !== 'win32') {
1002
- if (launchWithNode) {
1003
- args.unshift(executableFile);
1004
- // add executable arguments to spawn
1005
- args = incrementNodeInspectorPort(process.execArgv).concat(args);
1006
-
1007
- proc = childProcess.spawn(process.argv[0], args, { stdio: 'inherit' });
1008
- } else {
1009
- proc = childProcess.spawn(executableFile, args, { stdio: 'inherit' });
1010
- }
1011
- } else {
1012
- args.unshift(executableFile);
1013
- // add executable arguments to spawn
1014
- args = incrementNodeInspectorPort(process.execArgv).concat(args);
1015
- proc = childProcess.spawn(process.execPath, args, { stdio: 'inherit' });
1016
- }
1017
-
1018
- if (!proc.killed) { // testing mainly to avoid leak warnings during unit tests with mocked spawn
1019
- const signals = ['SIGUSR1', 'SIGUSR2', 'SIGTERM', 'SIGINT', 'SIGHUP'];
1020
- signals.forEach((signal) => {
1021
- // @ts-ignore
1022
- process.on(signal, () => {
1023
- if (proc.killed === false && proc.exitCode === null) {
1024
- proc.kill(signal);
1025
- }
1026
- });
1027
- });
1028
- }
1029
-
1030
- // By default terminate process when spawned process terminates.
1031
- // Suppressing the exit if exitCallback defined is a bit messy and of limited use, but does allow process to stay running!
1032
- const exitCallback = this._exitCallback;
1033
- if (!exitCallback) {
1034
- proc.on('close', process.exit.bind(process));
1035
- } else {
1036
- proc.on('close', () => {
1037
- exitCallback(new CommanderError(process.exitCode || 0, 'commander.executeSubCommandAsync', '(close)'));
1038
- });
1039
- }
1040
- proc.on('error', (err) => {
1041
- // @ts-ignore
1042
- if (err.code === 'ENOENT') {
1043
- const executableDirMessage = executableDir
1044
- ? `searched for local subcommand relative to directory '${executableDir}'`
1045
- : 'no directory for search for local subcommand, use .executableDir() to supply a custom directory';
1046
- const executableMissing = `'${executableFile}' does not exist
1047
- - if '${subcommand._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
1048
- - if the default executable name is not suitable, use the executableFile option to supply a custom name or path
1049
- - ${executableDirMessage}`;
1050
- throw new Error(executableMissing);
1051
- // @ts-ignore
1052
- } else if (err.code === 'EACCES') {
1053
- throw new Error(`'${executableFile}' not executable`);
1054
- }
1055
- if (!exitCallback) {
1056
- process.exit(1);
1057
- } else {
1058
- const wrappedError = new CommanderError(1, 'commander.executeSubCommandAsync', '(error)');
1059
- wrappedError.nestedError = err;
1060
- exitCallback(wrappedError);
1061
- }
1062
- });
1063
-
1064
- // Store the reference to the child process
1065
- this.runningCommand = proc;
1066
- }
1067
-
1068
- /**
1069
- * @api private
1070
- */
1071
-
1072
- _dispatchSubcommand(commandName, operands, unknown) {
1073
- const subCommand = this._findCommand(commandName);
1074
- if (!subCommand) this.help({ error: true });
1075
-
1076
- let promiseChain;
1077
- promiseChain = this._chainOrCallSubCommandHook(promiseChain, subCommand, 'preSubcommand');
1078
- promiseChain = this._chainOrCall(promiseChain, () => {
1079
- if (subCommand._executableHandler) {
1080
- this._executeSubCommand(subCommand, operands.concat(unknown));
1081
- } else {
1082
- return subCommand._parseCommand(operands, unknown);
1083
- }
1084
- });
1085
- return promiseChain;
1086
- }
1087
-
1088
- /**
1089
- * Invoke help directly if possible, or dispatch if necessary.
1090
- * e.g. help foo
1091
- *
1092
- * @api private
1093
- */
1094
-
1095
- _dispatchHelpCommand(subcommandName) {
1096
- if (!subcommandName) {
1097
- this.help();
1098
- }
1099
- const subCommand = this._findCommand(subcommandName);
1100
- if (subCommand && !subCommand._executableHandler) {
1101
- subCommand.help();
1102
- }
1103
-
1104
- // Fallback to parsing the help flag to invoke the help.
1105
- return this._dispatchSubcommand(subcommandName, [], [
1106
- this._helpLongFlag || this._helpShortFlag
1107
- ]);
1108
- }
1109
-
1110
- /**
1111
- * Check this.args against expected this.registeredArguments.
1112
- *
1113
- * @api private
1114
- */
1115
-
1116
- _checkNumberOfArguments() {
1117
- // too few
1118
- this.registeredArguments.forEach((arg, i) => {
1119
- if (arg.required && this.args[i] == null) {
1120
- this.missingArgument(arg.name());
1121
- }
1122
- });
1123
- // too many
1124
- if (this.registeredArguments.length > 0 && this.registeredArguments[this.registeredArguments.length - 1].variadic) {
1125
- return;
1126
- }
1127
- if (this.args.length > this.registeredArguments.length) {
1128
- this._excessArguments(this.args);
1129
- }
1130
- }
1131
-
1132
- /**
1133
- * Process this.args using this.registeredArguments and save as this.processedArgs!
1134
- *
1135
- * @api private
1136
- */
1137
-
1138
- _processArguments() {
1139
- const myParseArg = (argument, value, previous) => {
1140
- // Extra processing for nice error message on parsing failure.
1141
- let parsedValue = value;
1142
- if (value !== null && argument.parseArg) {
1143
- const invalidValueMessage = `error: command-argument value '${value}' is invalid for argument '${argument.name()}'.`;
1144
- parsedValue = this._callParseArg(argument, value, previous, invalidValueMessage);
1145
- }
1146
- return parsedValue;
1147
- };
1148
-
1149
- this._checkNumberOfArguments();
1150
-
1151
- const processedArgs = [];
1152
- this.registeredArguments.forEach((declaredArg, index) => {
1153
- let value = declaredArg.defaultValue;
1154
- if (declaredArg.variadic) {
1155
- // Collect together remaining arguments for passing together as an array.
1156
- if (index < this.args.length) {
1157
- value = this.args.slice(index);
1158
- if (declaredArg.parseArg) {
1159
- value = value.reduce((processed, v) => {
1160
- return myParseArg(declaredArg, v, processed);
1161
- }, declaredArg.defaultValue);
1162
- }
1163
- } else if (value === undefined) {
1164
- value = [];
1165
- }
1166
- } else if (index < this.args.length) {
1167
- value = this.args[index];
1168
- if (declaredArg.parseArg) {
1169
- value = myParseArg(declaredArg, value, declaredArg.defaultValue);
1170
- }
1171
- }
1172
- processedArgs[index] = value;
1173
- });
1174
- this.processedArgs = processedArgs;
1175
- }
1176
-
1177
- /**
1178
- * Once we have a promise we chain, but call synchronously until then.
1179
- *
1180
- * @param {Promise|undefined} promise
1181
- * @param {Function} fn
1182
- * @return {Promise|undefined}
1183
- * @api private
1184
- */
1185
-
1186
- _chainOrCall(promise, fn) {
1187
- // thenable
1188
- if (promise && promise.then && typeof promise.then === 'function') {
1189
- // already have a promise, chain callback
1190
- return promise.then(() => fn());
1191
- }
1192
- // callback might return a promise
1193
- return fn();
1194
- }
1195
-
1196
- /**
1197
- *
1198
- * @param {Promise|undefined} promise
1199
- * @param {string} event
1200
- * @return {Promise|undefined}
1201
- * @api private
1202
- */
1203
-
1204
- _chainOrCallHooks(promise, event) {
1205
- let result = promise;
1206
- const hooks = [];
1207
- this._getCommandAndAncestors()
1208
- .reverse()
1209
- .filter(cmd => cmd._lifeCycleHooks[event] !== undefined)
1210
- .forEach(hookedCommand => {
1211
- hookedCommand._lifeCycleHooks[event].forEach((callback) => {
1212
- hooks.push({ hookedCommand, callback });
1213
- });
1214
- });
1215
- if (event === 'postAction') {
1216
- hooks.reverse();
1217
- }
1218
-
1219
- hooks.forEach((hookDetail) => {
1220
- result = this._chainOrCall(result, () => {
1221
- return hookDetail.callback(hookDetail.hookedCommand, this);
1222
- });
1223
- });
1224
- return result;
1225
- }
1226
-
1227
- /**
1228
- *
1229
- * @param {Promise|undefined} promise
1230
- * @param {Command} subCommand
1231
- * @param {string} event
1232
- * @return {Promise|undefined}
1233
- * @api private
1234
- */
1235
-
1236
- _chainOrCallSubCommandHook(promise, subCommand, event) {
1237
- let result = promise;
1238
- if (this._lifeCycleHooks[event] !== undefined) {
1239
- this._lifeCycleHooks[event].forEach((hook) => {
1240
- result = this._chainOrCall(result, () => {
1241
- return hook(this, subCommand);
1242
- });
1243
- });
1244
- }
1245
- return result;
1246
- }
1247
-
1248
- /**
1249
- * Process arguments in context of this command.
1250
- * Returns action result, in case it is a promise.
1251
- *
1252
- * @api private
1253
- */
1254
-
1255
- _parseCommand(operands, unknown) {
1256
- const parsed = this.parseOptions(unknown);
1257
- this._parseOptionsEnv(); // after cli, so parseArg not called on both cli and env
1258
- this._parseOptionsImplied();
1259
- operands = operands.concat(parsed.operands);
1260
- unknown = parsed.unknown;
1261
- this.args = operands.concat(unknown);
1262
-
1263
- if (operands && this._findCommand(operands[0])) {
1264
- return this._dispatchSubcommand(operands[0], operands.slice(1), unknown);
1265
- }
1266
- if (this._hasImplicitHelpCommand() && operands[0] === this._helpCommandName) {
1267
- return this._dispatchHelpCommand(operands[1]);
1268
- }
1269
- if (this._defaultCommandName) {
1270
- outputHelpIfRequested(this, unknown); // Run the help for default command from parent rather than passing to default command
1271
- return this._dispatchSubcommand(this._defaultCommandName, operands, unknown);
1272
- }
1273
- if (this.commands.length && this.args.length === 0 && !this._actionHandler && !this._defaultCommandName) {
1274
- // probably missing subcommand and no handler, user needs help (and exit)
1275
- this.help({ error: true });
1276
- }
1277
-
1278
- outputHelpIfRequested(this, parsed.unknown);
1279
- this._checkForMissingMandatoryOptions();
1280
- this._checkForConflictingOptions();
1281
-
1282
- // We do not always call this check to avoid masking a "better" error, like unknown command.
1283
- const checkForUnknownOptions = () => {
1284
- if (parsed.unknown.length > 0) {
1285
- this.unknownOption(parsed.unknown[0]);
1286
- }
1287
- };
1288
-
1289
- const commandEvent = `command:${this.name()}`;
1290
- if (this._actionHandler) {
1291
- checkForUnknownOptions();
1292
- this._processArguments();
1293
-
1294
- let promiseChain;
1295
- promiseChain = this._chainOrCallHooks(promiseChain, 'preAction');
1296
- promiseChain = this._chainOrCall(promiseChain, () => this._actionHandler(this.processedArgs));
1297
- if (this.parent) {
1298
- promiseChain = this._chainOrCall(promiseChain, () => {
1299
- this.parent.emit(commandEvent, operands, unknown); // legacy
1300
- });
1301
- }
1302
- promiseChain = this._chainOrCallHooks(promiseChain, 'postAction');
1303
- return promiseChain;
1304
- }
1305
- if (this.parent && this.parent.listenerCount(commandEvent)) {
1306
- checkForUnknownOptions();
1307
- this._processArguments();
1308
- this.parent.emit(commandEvent, operands, unknown); // legacy
1309
- } else if (operands.length) {
1310
- if (this._findCommand('*')) { // legacy default command
1311
- return this._dispatchSubcommand('*', operands, unknown);
1312
- }
1313
- if (this.listenerCount('command:*')) {
1314
- // skip option check, emit event for possible misspelling suggestion
1315
- this.emit('command:*', operands, unknown);
1316
- } else if (this.commands.length) {
1317
- this.unknownCommand();
1318
- } else {
1319
- checkForUnknownOptions();
1320
- this._processArguments();
1321
- }
1322
- } else if (this.commands.length) {
1323
- checkForUnknownOptions();
1324
- // This command has subcommands and nothing hooked up at this level, so display help (and exit).
1325
- this.help({ error: true });
1326
- } else {
1327
- checkForUnknownOptions();
1328
- this._processArguments();
1329
- // fall through for caller to handle after calling .parse()
1330
- }
1331
- }
1332
-
1333
- /**
1334
- * Find matching command.
1335
- *
1336
- * @api private
1337
- */
1338
- _findCommand(name) {
1339
- if (!name) return undefined;
1340
- return this.commands.find(cmd => cmd._name === name || cmd._aliases.includes(name));
1341
- }
1342
-
1343
- /**
1344
- * Return an option matching `arg` if any.
1345
- *
1346
- * @param {string} arg
1347
- * @return {Option}
1348
- * @api private
1349
- */
1350
-
1351
- _findOption(arg) {
1352
- return this.options.find(option => option.is(arg));
1353
- }
1354
-
1355
- /**
1356
- * Display an error message if a mandatory option does not have a value.
1357
- * Called after checking for help flags in leaf subcommand.
1358
- *
1359
- * @api private
1360
- */
1361
-
1362
- _checkForMissingMandatoryOptions() {
1363
- // Walk up hierarchy so can call in subcommand after checking for displaying help.
1364
- this._getCommandAndAncestors().forEach((cmd) => {
1365
- cmd.options.forEach((anOption) => {
1366
- if (anOption.mandatory && (cmd.getOptionValue(anOption.attributeName()) === undefined)) {
1367
- cmd.missingMandatoryOptionValue(anOption);
1368
- }
1369
- });
1370
- });
1371
- }
1372
-
1373
- /**
1374
- * Display an error message if conflicting options are used together in this.
1375
- *
1376
- * @api private
1377
- */
1378
- _checkForConflictingLocalOptions() {
1379
- const definedNonDefaultOptions = this.options.filter(
1380
- (option) => {
1381
- const optionKey = option.attributeName();
1382
- if (this.getOptionValue(optionKey) === undefined) {
1383
- return false;
1384
- }
1385
- return this.getOptionValueSource(optionKey) !== 'default';
1386
- }
1387
- );
1388
-
1389
- const optionsWithConflicting = definedNonDefaultOptions.filter(
1390
- (option) => option.conflictsWith.length > 0
1391
- );
1392
-
1393
- optionsWithConflicting.forEach((option) => {
1394
- const conflictingAndDefined = definedNonDefaultOptions.find((defined) =>
1395
- option.conflictsWith.includes(defined.attributeName())
1396
- );
1397
- if (conflictingAndDefined) {
1398
- this._conflictingOption(option, conflictingAndDefined);
1399
- }
1400
- });
1401
- }
1402
-
1403
- /**
1404
- * Display an error message if conflicting options are used together.
1405
- * Called after checking for help flags in leaf subcommand.
1406
- *
1407
- * @api private
1408
- */
1409
- _checkForConflictingOptions() {
1410
- // Walk up hierarchy so can call in subcommand after checking for displaying help.
1411
- this._getCommandAndAncestors().forEach((cmd) => {
1412
- cmd._checkForConflictingLocalOptions();
1413
- });
1414
- }
1415
-
1416
- /**
1417
- * Parse options from `argv` removing known options,
1418
- * and return argv split into operands and unknown arguments.
1419
- *
1420
- * Examples:
1421
- *
1422
- * argv => operands, unknown
1423
- * --known kkk op => [op], []
1424
- * op --known kkk => [op], []
1425
- * sub --unknown uuu op => [sub], [--unknown uuu op]
1426
- * sub -- --unknown uuu op => [sub --unknown uuu op], []
1427
- *
1428
- * @param {String[]} argv
1429
- * @return {{operands: String[], unknown: String[]}}
1430
- */
1431
-
1432
- parseOptions(argv) {
1433
- const operands = []; // operands, not options or values
1434
- const unknown = []; // first unknown option and remaining unknown args
1435
- let dest = operands;
1436
- const args = argv.slice();
1437
-
1438
- function maybeOption(arg) {
1439
- return arg.length > 1 && arg[0] === '-';
1440
- }
1441
-
1442
- // parse options
1443
- let activeVariadicOption = null;
1444
- while (args.length) {
1445
- const arg = args.shift();
1446
-
1447
- // literal
1448
- if (arg === '--') {
1449
- if (dest === unknown) dest.push(arg);
1450
- dest.push(...args);
1451
- break;
1452
- }
1453
-
1454
- if (activeVariadicOption && !maybeOption(arg)) {
1455
- this.emit(`option:${activeVariadicOption.name()}`, arg);
1456
- continue;
1457
- }
1458
- activeVariadicOption = null;
1459
-
1460
- if (maybeOption(arg)) {
1461
- const option = this._findOption(arg);
1462
- // recognised option, call listener to assign value with possible custom processing
1463
- if (option) {
1464
- if (option.required) {
1465
- const value = args.shift();
1466
- if (value === undefined) this.optionMissingArgument(option);
1467
- this.emit(`option:${option.name()}`, value);
1468
- } else if (option.optional) {
1469
- let value = null;
1470
- // historical behaviour is optional value is following arg unless an option
1471
- if (args.length > 0 && !maybeOption(args[0])) {
1472
- value = args.shift();
1473
- }
1474
- this.emit(`option:${option.name()}`, value);
1475
- } else { // boolean flag
1476
- this.emit(`option:${option.name()}`);
1477
- }
1478
- activeVariadicOption = option.variadic ? option : null;
1479
- continue;
1480
- }
1481
- }
1482
-
1483
- // Look for combo options following single dash, eat first one if known.
1484
- if (arg.length > 2 && arg[0] === '-' && arg[1] !== '-') {
1485
- const option = this._findOption(`-${arg[1]}`);
1486
- if (option) {
1487
- if (option.required || (option.optional && this._combineFlagAndOptionalValue)) {
1488
- // option with value following in same argument
1489
- this.emit(`option:${option.name()}`, arg.slice(2));
1490
- } else {
1491
- // boolean option, emit and put back remainder of arg for further processing
1492
- this.emit(`option:${option.name()}`);
1493
- args.unshift(`-${arg.slice(2)}`);
1494
- }
1495
- continue;
1496
- }
1497
- }
1498
-
1499
- // Look for known long flag with value, like --foo=bar
1500
- if (/^--[^=]+=/.test(arg)) {
1501
- const index = arg.indexOf('=');
1502
- const option = this._findOption(arg.slice(0, index));
1503
- if (option && (option.required || option.optional)) {
1504
- this.emit(`option:${option.name()}`, arg.slice(index + 1));
1505
- continue;
1506
- }
1507
- }
1508
-
1509
- // Not a recognised option by this command.
1510
- // Might be a command-argument, or subcommand option, or unknown option, or help command or option.
1511
-
1512
- // An unknown option means further arguments also classified as unknown so can be reprocessed by subcommands.
1513
- if (maybeOption(arg)) {
1514
- dest = unknown;
1515
- }
1516
-
1517
- // If using positionalOptions, stop processing our options at subcommand.
1518
- if ((this._enablePositionalOptions || this._passThroughOptions) && operands.length === 0 && unknown.length === 0) {
1519
- if (this._findCommand(arg)) {
1520
- operands.push(arg);
1521
- if (args.length > 0) unknown.push(...args);
1522
- break;
1523
- } else if (arg === this._helpCommandName && this._hasImplicitHelpCommand()) {
1524
- operands.push(arg);
1525
- if (args.length > 0) operands.push(...args);
1526
- break;
1527
- } else if (this._defaultCommandName) {
1528
- unknown.push(arg);
1529
- if (args.length > 0) unknown.push(...args);
1530
- break;
1531
- }
1532
- }
1533
-
1534
- // If using passThroughOptions, stop processing options at first command-argument.
1535
- if (this._passThroughOptions) {
1536
- dest.push(arg);
1537
- if (args.length > 0) dest.push(...args);
1538
- break;
1539
- }
1540
-
1541
- // add arg
1542
- dest.push(arg);
1543
- }
1544
-
1545
- return { operands, unknown };
1546
- }
1547
-
1548
- /**
1549
- * Return an object containing local option values as key-value pairs.
1550
- *
1551
- * @return {Object}
1552
- */
1553
- opts() {
1554
- if (this._storeOptionsAsProperties) {
1555
- // Preserve original behaviour so backwards compatible when still using properties
1556
- const result = {};
1557
- const len = this.options.length;
1558
-
1559
- for (let i = 0; i < len; i++) {
1560
- const key = this.options[i].attributeName();
1561
- result[key] = key === this._versionOptionName ? this._version : this[key];
1562
- }
1563
- return result;
1564
- }
1565
-
1566
- return this._optionValues;
1567
- }
1568
-
1569
- /**
1570
- * Return an object containing merged local and global option values as key-value pairs.
1571
- *
1572
- * @return {Object}
1573
- */
1574
- optsWithGlobals() {
1575
- // globals overwrite locals
1576
- return this._getCommandAndAncestors().reduce(
1577
- (combinedOptions, cmd) => Object.assign(combinedOptions, cmd.opts()),
1578
- {}
1579
- );
1580
- }
1581
-
1582
- /**
1583
- * Display error message and exit (or call exitOverride).
1584
- *
1585
- * @param {string} message
1586
- * @param {Object} [errorOptions]
1587
- * @param {string} [errorOptions.code] - an id string representing the error
1588
- * @param {number} [errorOptions.exitCode] - used with process.exit
1589
- */
1590
- error(message, errorOptions) {
1591
- // output handling
1592
- this._outputConfiguration.outputError(`${message}\n`, this._outputConfiguration.writeErr);
1593
- if (typeof this._showHelpAfterError === 'string') {
1594
- this._outputConfiguration.writeErr(`${this._showHelpAfterError}\n`);
1595
- } else if (this._showHelpAfterError) {
1596
- this._outputConfiguration.writeErr('\n');
1597
- this.outputHelp({ error: true });
1598
- }
1599
-
1600
- // exit handling
1601
- const config = errorOptions || {};
1602
- const exitCode = config.exitCode || 1;
1603
- const code = config.code || 'commander.error';
1604
- this._exit(exitCode, code, message);
1605
- }
1606
-
1607
- /**
1608
- * Apply any option related environment variables, if option does
1609
- * not have a value from cli or client code.
1610
- *
1611
- * @api private
1612
- */
1613
- _parseOptionsEnv() {
1614
- this.options.forEach((option) => {
1615
- if (option.envVar && option.envVar in process.env) {
1616
- const optionKey = option.attributeName();
1617
- // Priority check. Do not overwrite cli or options from unknown source (client-code).
1618
- if (this.getOptionValue(optionKey) === undefined || ['default', 'config', 'env'].includes(this.getOptionValueSource(optionKey))) {
1619
- if (option.required || option.optional) { // option can take a value
1620
- // keep very simple, optional always takes value
1621
- this.emit(`optionEnv:${option.name()}`, process.env[option.envVar]);
1622
- } else { // boolean
1623
- // keep very simple, only care that envVar defined and not the value
1624
- this.emit(`optionEnv:${option.name()}`);
1625
- }
1626
- }
1627
- }
1628
- });
1629
- }
1630
-
1631
- /**
1632
- * Apply any implied option values, if option is undefined or default value.
1633
- *
1634
- * @api private
1635
- */
1636
- _parseOptionsImplied() {
1637
- const dualHelper = new DualOptions(this.options);
1638
- const hasCustomOptionValue = (optionKey) => {
1639
- return this.getOptionValue(optionKey) !== undefined && !['default', 'implied'].includes(this.getOptionValueSource(optionKey));
1640
- };
1641
- this.options
1642
- .filter(option => (option.implied !== undefined) &&
1643
- hasCustomOptionValue(option.attributeName()) &&
1644
- dualHelper.valueFromOption(this.getOptionValue(option.attributeName()), option))
1645
- .forEach((option) => {
1646
- Object.keys(option.implied)
1647
- .filter(impliedKey => !hasCustomOptionValue(impliedKey))
1648
- .forEach(impliedKey => {
1649
- this.setOptionValueWithSource(impliedKey, option.implied[impliedKey], 'implied');
1650
- });
1651
- });
1652
- }
1653
-
1654
- /**
1655
- * Argument `name` is missing.
1656
- *
1657
- * @param {string} name
1658
- * @api private
1659
- */
1660
-
1661
- missingArgument(name) {
1662
- const message = `error: missing required argument '${name}'`;
1663
- this.error(message, { code: 'commander.missingArgument' });
1664
- }
1665
-
1666
- /**
1667
- * `Option` is missing an argument.
1668
- *
1669
- * @param {Option} option
1670
- * @api private
1671
- */
1672
-
1673
- optionMissingArgument(option) {
1674
- const message = `error: option '${option.flags}' argument missing`;
1675
- this.error(message, { code: 'commander.optionMissingArgument' });
1676
- }
1677
-
1678
- /**
1679
- * `Option` does not have a value, and is a mandatory option.
1680
- *
1681
- * @param {Option} option
1682
- * @api private
1683
- */
1684
-
1685
- missingMandatoryOptionValue(option) {
1686
- const message = `error: required option '${option.flags}' not specified`;
1687
- this.error(message, { code: 'commander.missingMandatoryOptionValue' });
1688
- }
1689
-
1690
- /**
1691
- * `Option` conflicts with another option.
1692
- *
1693
- * @param {Option} option
1694
- * @param {Option} conflictingOption
1695
- * @api private
1696
- */
1697
- _conflictingOption(option, conflictingOption) {
1698
- // The calling code does not know whether a negated option is the source of the
1699
- // value, so do some work to take an educated guess.
1700
- const findBestOptionFromValue = (option) => {
1701
- const optionKey = option.attributeName();
1702
- const optionValue = this.getOptionValue(optionKey);
1703
- const negativeOption = this.options.find(target => target.negate && optionKey === target.attributeName());
1704
- const positiveOption = this.options.find(target => !target.negate && optionKey === target.attributeName());
1705
- if (negativeOption && (
1706
- (negativeOption.presetArg === undefined && optionValue === false) ||
1707
- (negativeOption.presetArg !== undefined && optionValue === negativeOption.presetArg)
1708
- )) {
1709
- return negativeOption;
1710
- }
1711
- return positiveOption || option;
1712
- };
1713
-
1714
- const getErrorMessage = (option) => {
1715
- const bestOption = findBestOptionFromValue(option);
1716
- const optionKey = bestOption.attributeName();
1717
- const source = this.getOptionValueSource(optionKey);
1718
- if (source === 'env') {
1719
- return `environment variable '${bestOption.envVar}'`;
1720
- }
1721
- return `option '${bestOption.flags}'`;
1722
- };
1723
-
1724
- const message = `error: ${getErrorMessage(option)} cannot be used with ${getErrorMessage(conflictingOption)}`;
1725
- this.error(message, { code: 'commander.conflictingOption' });
1726
- }
1727
-
1728
- /**
1729
- * Unknown option `flag`.
1730
- *
1731
- * @param {string} flag
1732
- * @api private
1733
- */
1734
-
1735
- unknownOption(flag) {
1736
- if (this._allowUnknownOption) return;
1737
- let suggestion = '';
1738
-
1739
- if (flag.startsWith('--') && this._showSuggestionAfterError) {
1740
- // Looping to pick up the global options too
1741
- let candidateFlags = [];
1742
- let command = this;
1743
- do {
1744
- const moreFlags = command.createHelp().visibleOptions(command)
1745
- .filter(option => option.long)
1746
- .map(option => option.long);
1747
- candidateFlags = candidateFlags.concat(moreFlags);
1748
- command = command.parent;
1749
- } while (command && !command._enablePositionalOptions);
1750
- suggestion = suggestSimilar(flag, candidateFlags);
1751
- }
1752
-
1753
- const message = `error: unknown option '${flag}'${suggestion}`;
1754
- this.error(message, { code: 'commander.unknownOption' });
1755
- }
1756
-
1757
- /**
1758
- * Excess arguments, more than expected.
1759
- *
1760
- * @param {string[]} receivedArgs
1761
- * @api private
1762
- */
1763
-
1764
- _excessArguments(receivedArgs) {
1765
- if (this._allowExcessArguments) return;
1766
-
1767
- const expected = this.registeredArguments.length;
1768
- const s = (expected === 1) ? '' : 's';
1769
- const forSubcommand = this.parent ? ` for '${this.name()}'` : '';
1770
- const message = `error: too many arguments${forSubcommand}. Expected ${expected} argument${s} but got ${receivedArgs.length}.`;
1771
- this.error(message, { code: 'commander.excessArguments' });
1772
- }
1773
-
1774
- /**
1775
- * Unknown command.
1776
- *
1777
- * @api private
1778
- */
1779
-
1780
- unknownCommand() {
1781
- const unknownName = this.args[0];
1782
- let suggestion = '';
1783
-
1784
- if (this._showSuggestionAfterError) {
1785
- const candidateNames = [];
1786
- this.createHelp().visibleCommands(this).forEach((command) => {
1787
- candidateNames.push(command.name());
1788
- // just visible alias
1789
- if (command.alias()) candidateNames.push(command.alias());
1790
- });
1791
- suggestion = suggestSimilar(unknownName, candidateNames);
1792
- }
1793
-
1794
- const message = `error: unknown command '${unknownName}'${suggestion}`;
1795
- this.error(message, { code: 'commander.unknownCommand' });
1796
- }
1797
-
1798
- /**
1799
- * Get or set the program version.
1800
- *
1801
- * This method auto-registers the "-V, --version" option which will print the version number.
1802
- *
1803
- * You can optionally supply the flags and description to override the defaults.
1804
- *
1805
- * @param {string} [str]
1806
- * @param {string} [flags]
1807
- * @param {string} [description]
1808
- * @return {this | string | undefined} `this` command for chaining, or version string if no arguments
1809
- */
1810
-
1811
- version(str, flags, description) {
1812
- if (str === undefined) return this._version;
1813
- this._version = str;
1814
- flags = flags || '-V, --version';
1815
- description = description || 'output the version number';
1816
- const versionOption = this.createOption(flags, description);
1817
- this._versionOptionName = versionOption.attributeName(); // [sic] not defined in constructor, partly legacy, partly only needed at root
1818
- this.options.push(versionOption);
1819
- this.on('option:' + versionOption.name(), () => {
1820
- this._outputConfiguration.writeOut(`${str}\n`);
1821
- this._exit(0, 'commander.version', str);
1822
- });
1823
- return this;
1824
- }
1825
-
1826
- /**
1827
- * Set the description.
1828
- *
1829
- * @param {string} [str]
1830
- * @param {Object} [argsDescription]
1831
- * @return {string|Command}
1832
- */
1833
- description(str, argsDescription) {
1834
- if (str === undefined && argsDescription === undefined) return this._description;
1835
- this._description = str;
1836
- if (argsDescription) {
1837
- this._argsDescription = argsDescription;
1838
- }
1839
- return this;
1840
- }
1841
-
1842
- /**
1843
- * Set the summary. Used when listed as subcommand of parent.
1844
- *
1845
- * @param {string} [str]
1846
- * @return {string|Command}
1847
- */
1848
- summary(str) {
1849
- if (str === undefined) return this._summary;
1850
- this._summary = str;
1851
- return this;
1852
- }
1853
-
1854
- /**
1855
- * Set an alias for the command.
1856
- *
1857
- * You may call more than once to add multiple aliases. Only the first alias is shown in the auto-generated help.
1858
- *
1859
- * @param {string} [alias]
1860
- * @return {string|Command}
1861
- */
1862
-
1863
- alias(alias) {
1864
- if (alias === undefined) return this._aliases[0]; // just return first, for backwards compatibility
1865
-
1866
- /** @type {Command} */
1867
- let command = this;
1868
- if (this.commands.length !== 0 && this.commands[this.commands.length - 1]._executableHandler) {
1869
- // assume adding alias for last added executable subcommand, rather than this
1870
- command = this.commands[this.commands.length - 1];
1871
- }
1872
-
1873
- if (alias === command._name) throw new Error('Command alias can\'t be the same as its name');
1874
-
1875
- command._aliases.push(alias);
1876
- return this;
1877
- }
1878
-
1879
- /**
1880
- * Set aliases for the command.
1881
- *
1882
- * Only the first alias is shown in the auto-generated help.
1883
- *
1884
- * @param {string[]} [aliases]
1885
- * @return {string[]|Command}
1886
- */
1887
-
1888
- aliases(aliases) {
1889
- // Getter for the array of aliases is the main reason for having aliases() in addition to alias().
1890
- if (aliases === undefined) return this._aliases;
1891
-
1892
- aliases.forEach((alias) => this.alias(alias));
1893
- return this;
1894
- }
1895
-
1896
- /**
1897
- * Set / get the command usage `str`.
1898
- *
1899
- * @param {string} [str]
1900
- * @return {String|Command}
1901
- */
1902
-
1903
- usage(str) {
1904
- if (str === undefined) {
1905
- if (this._usage) return this._usage;
1906
-
1907
- const args = this.registeredArguments.map((arg) => {
1908
- return humanReadableArgName(arg);
1909
- });
1910
- return [].concat(
1911
- (this.options.length || this._hasHelpOption ? '[options]' : []),
1912
- (this.commands.length ? '[command]' : []),
1913
- (this.registeredArguments.length ? args : [])
1914
- ).join(' ');
1915
- }
1916
-
1917
- this._usage = str;
1918
- return this;
1919
- }
1920
-
1921
- /**
1922
- * Get or set the name of the command.
1923
- *
1924
- * @param {string} [str]
1925
- * @return {string|Command}
1926
- */
1927
-
1928
- name(str) {
1929
- if (str === undefined) return this._name;
1930
- this._name = str;
1931
- return this;
1932
- }
1933
-
1934
- /**
1935
- * Set the name of the command from script filename, such as process.argv[1],
1936
- * or require.main.filename, or __filename.
1937
- *
1938
- * (Used internally and public although not documented in README.)
1939
- *
1940
- * @example
1941
- * program.nameFromFilename(require.main.filename);
1942
- *
1943
- * @param {string} filename
1944
- * @return {Command}
1945
- */
1946
-
1947
- nameFromFilename(filename) {
1948
- this._name = path.basename(filename, path.extname(filename));
1949
-
1950
- return this;
1951
- }
1952
-
1953
- /**
1954
- * Get or set the directory for searching for executable subcommands of this command.
1955
- *
1956
- * @example
1957
- * program.executableDir(__dirname);
1958
- * // or
1959
- * program.executableDir('subcommands');
1960
- *
1961
- * @param {string} [path]
1962
- * @return {string|null|Command}
1963
- */
1964
-
1965
- executableDir(path) {
1966
- if (path === undefined) return this._executableDir;
1967
- this._executableDir = path;
1968
- return this;
1969
- }
1970
-
1971
- /**
1972
- * Return program help documentation.
1973
- *
1974
- * @param {{ error: boolean }} [contextOptions] - pass {error:true} to wrap for stderr instead of stdout
1975
- * @return {string}
1976
- */
1977
-
1978
- helpInformation(contextOptions) {
1979
- const helper = this.createHelp();
1980
- if (helper.helpWidth === undefined) {
1981
- helper.helpWidth = (contextOptions && contextOptions.error) ? this._outputConfiguration.getErrHelpWidth() : this._outputConfiguration.getOutHelpWidth();
1982
- }
1983
- return helper.formatHelp(this, helper);
1984
- }
1985
-
1986
- /**
1987
- * @api private
1988
- */
1989
-
1990
- _getHelpContext(contextOptions) {
1991
- contextOptions = contextOptions || {};
1992
- const context = { error: !!contextOptions.error };
1993
- let write;
1994
- if (context.error) {
1995
- write = (arg) => this._outputConfiguration.writeErr(arg);
1996
- } else {
1997
- write = (arg) => this._outputConfiguration.writeOut(arg);
1998
- }
1999
- context.write = contextOptions.write || write;
2000
- context.command = this;
2001
- return context;
2002
- }
2003
-
2004
- /**
2005
- * Output help information for this command.
2006
- *
2007
- * Outputs built-in help, and custom text added using `.addHelpText()`.
2008
- *
2009
- * @param {{ error: boolean } | Function} [contextOptions] - pass {error:true} to write to stderr instead of stdout
2010
- */
2011
-
2012
- outputHelp(contextOptions) {
2013
- let deprecatedCallback;
2014
- if (typeof contextOptions === 'function') {
2015
- deprecatedCallback = contextOptions;
2016
- contextOptions = undefined;
2017
- }
2018
- const context = this._getHelpContext(contextOptions);
2019
-
2020
- this._getCommandAndAncestors().reverse().forEach(command => command.emit('beforeAllHelp', context));
2021
- this.emit('beforeHelp', context);
2022
-
2023
- let helpInformation = this.helpInformation(context);
2024
- if (deprecatedCallback) {
2025
- helpInformation = deprecatedCallback(helpInformation);
2026
- if (typeof helpInformation !== 'string' && !Buffer.isBuffer(helpInformation)) {
2027
- throw new Error('outputHelp callback must return a string or a Buffer');
2028
- }
2029
- }
2030
- context.write(helpInformation);
2031
-
2032
- if (this._helpLongFlag) {
2033
- this.emit(this._helpLongFlag); // deprecated
2034
- }
2035
- this.emit('afterHelp', context);
2036
- this._getCommandAndAncestors().forEach(command => command.emit('afterAllHelp', context));
2037
- }
2038
-
2039
- /**
2040
- * You can pass in flags and a description to override the help
2041
- * flags and help description for your command. Pass in false to
2042
- * disable the built-in help option.
2043
- *
2044
- * @param {string | boolean} [flags]
2045
- * @param {string} [description]
2046
- * @return {Command} `this` command for chaining
2047
- */
2048
-
2049
- helpOption(flags, description) {
2050
- if (typeof flags === 'boolean') {
2051
- this._hasHelpOption = flags;
2052
- return this;
2053
- }
2054
- this._helpFlags = flags || this._helpFlags;
2055
- this._helpDescription = description || this._helpDescription;
2056
-
2057
- const helpFlags = splitOptionFlags(this._helpFlags);
2058
- this._helpShortFlag = helpFlags.shortFlag;
2059
- this._helpLongFlag = helpFlags.longFlag;
2060
-
2061
- return this;
2062
- }
2063
-
2064
- /**
2065
- * Output help information and exit.
2066
- *
2067
- * Outputs built-in help, and custom text added using `.addHelpText()`.
2068
- *
2069
- * @param {{ error: boolean }} [contextOptions] - pass {error:true} to write to stderr instead of stdout
2070
- */
2071
-
2072
- help(contextOptions) {
2073
- this.outputHelp(contextOptions);
2074
- let exitCode = process.exitCode || 0;
2075
- if (exitCode === 0 && contextOptions && typeof contextOptions !== 'function' && contextOptions.error) {
2076
- exitCode = 1;
2077
- }
2078
- // message: do not have all displayed text available so only passing placeholder.
2079
- this._exit(exitCode, 'commander.help', '(outputHelp)');
2080
- }
2081
-
2082
- /**
2083
- * Add additional text to be displayed with the built-in help.
2084
- *
2085
- * Position is 'before' or 'after' to affect just this command,
2086
- * and 'beforeAll' or 'afterAll' to affect this command and all its subcommands.
2087
- *
2088
- * @param {string} position - before or after built-in help
2089
- * @param {string | Function} text - string to add, or a function returning a string
2090
- * @return {Command} `this` command for chaining
2091
- */
2092
- addHelpText(position, text) {
2093
- const allowedValues = ['beforeAll', 'before', 'after', 'afterAll'];
2094
- if (!allowedValues.includes(position)) {
2095
- throw new Error(`Unexpected value for position to addHelpText.
2096
- Expecting one of '${allowedValues.join("', '")}'`);
2097
- }
2098
- const helpEvent = `${position}Help`;
2099
- this.on(helpEvent, (context) => {
2100
- let helpStr;
2101
- if (typeof text === 'function') {
2102
- helpStr = text({ error: context.error, command: context.command });
2103
- } else {
2104
- helpStr = text;
2105
- }
2106
- // Ignore falsy value when nothing to output.
2107
- if (helpStr) {
2108
- context.write(`${helpStr}\n`);
2109
- }
2110
- });
2111
- return this;
2112
- }
2113
- }
2114
-
2115
- /**
2116
- * Output help information if help flags specified
2117
- *
2118
- * @param {Command} cmd - command to output help for
2119
- * @param {Array} args - array of options to search for help flags
2120
- * @api private
2121
- */
2122
-
2123
- function outputHelpIfRequested(cmd, args) {
2124
- const helpOption = cmd._hasHelpOption && args.find(arg => arg === cmd._helpLongFlag || arg === cmd._helpShortFlag);
2125
- if (helpOption) {
2126
- cmd.outputHelp();
2127
- // (Do not have all displayed text available so only passing placeholder.)
2128
- cmd._exit(0, 'commander.helpDisplayed', '(outputHelp)');
2129
- }
2130
- }
2131
-
2132
- /**
2133
- * Scan arguments and increment port number for inspect calls (to avoid conflicts when spawning new command).
2134
- *
2135
- * @param {string[]} args - array of arguments from node.execArgv
2136
- * @returns {string[]}
2137
- * @api private
2138
- */
2139
-
2140
- function incrementNodeInspectorPort(args) {
2141
- // Testing for these options:
2142
- // --inspect[=[host:]port]
2143
- // --inspect-brk[=[host:]port]
2144
- // --inspect-port=[host:]port
2145
- return args.map((arg) => {
2146
- if (!arg.startsWith('--inspect')) {
2147
- return arg;
2148
- }
2149
- let debugOption;
2150
- let debugHost = '127.0.0.1';
2151
- let debugPort = '9229';
2152
- let match;
2153
- if ((match = arg.match(/^(--inspect(-brk)?)$/)) !== null) {
2154
- // e.g. --inspect
2155
- debugOption = match[1];
2156
- } else if ((match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+)$/)) !== null) {
2157
- debugOption = match[1];
2158
- if (/^\d+$/.test(match[3])) {
2159
- // e.g. --inspect=1234
2160
- debugPort = match[3];
2161
- } else {
2162
- // e.g. --inspect=localhost
2163
- debugHost = match[3];
2164
- }
2165
- } else if ((match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/)) !== null) {
2166
- // e.g. --inspect=localhost:1234
2167
- debugOption = match[1];
2168
- debugHost = match[3];
2169
- debugPort = match[4];
2170
- }
2171
-
2172
- if (debugOption && debugPort !== '0') {
2173
- return `${debugOption}=${debugHost}:${parseInt(debugPort) + 1}`;
2174
- }
2175
- return arg;
2176
- });
2177
- }
2178
-
2179
- exports.Command = Command;