@meteora-ag/cp-amm-sdk 1.0.11-rc.9 → 1.1.0

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 (2743) hide show
  1. package/dist/index.d.mts +843 -781
  2. package/dist/index.d.ts +843 -781
  3. package/dist/index.js +2335 -854
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +2332 -851
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +41 -43
  8. package/node_modules/@babel/runtime/LICENSE +0 -22
  9. package/node_modules/@babel/runtime/README.md +0 -19
  10. package/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -4
  11. package/node_modules/@babel/runtime/helpers/OverloadYield.js +0 -4
  12. package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -9
  13. package/node_modules/@babel/runtime/helpers/applyDecs.js +0 -236
  14. package/node_modules/@babel/runtime/helpers/applyDecs2203.js +0 -184
  15. package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +0 -191
  16. package/node_modules/@babel/runtime/helpers/applyDecs2301.js +0 -222
  17. package/node_modules/@babel/runtime/helpers/applyDecs2305.js +0 -133
  18. package/node_modules/@babel/runtime/helpers/applyDecs2311.js +0 -124
  19. package/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
  20. package/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
  21. package/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
  22. package/node_modules/@babel/runtime/helpers/assertClassBrand.js +0 -5
  23. package/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
  24. package/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -24
  25. package/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -45
  26. package/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -26
  27. package/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -5
  28. package/node_modules/@babel/runtime/helpers/callSuper.js +0 -7
  29. package/node_modules/@babel/runtime/helpers/checkInRHS.js +0 -6
  30. package/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -4
  31. package/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -10
  32. package/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -4
  33. package/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -7
  34. package/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
  35. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -5
  36. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -4
  37. package/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -5
  38. package/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -4
  39. package/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -7
  40. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -7
  41. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +0 -5
  42. package/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -5
  43. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -5
  44. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -5
  45. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -7
  46. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +0 -5
  47. package/node_modules/@babel/runtime/helpers/classPrivateGetter.js +0 -5
  48. package/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -5
  49. package/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -5
  50. package/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -4
  51. package/node_modules/@babel/runtime/helpers/classPrivateSetter.js +0 -5
  52. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -7
  53. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -7
  54. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -7
  55. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -5
  56. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -4
  57. package/node_modules/@babel/runtime/helpers/construct.js +0 -10
  58. package/node_modules/@babel/runtime/helpers/createClass.js +0 -13
  59. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -50
  60. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -19
  61. package/node_modules/@babel/runtime/helpers/createSuper.js +0 -16
  62. package/node_modules/@babel/runtime/helpers/decorate.js +0 -250
  63. package/node_modules/@babel/runtime/helpers/defaults.js +0 -9
  64. package/node_modules/@babel/runtime/helpers/defineAccessor.js +0 -8
  65. package/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -12
  66. package/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
  67. package/node_modules/@babel/runtime/helpers/dispose.js +0 -28
  68. package/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -4
  69. package/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +0 -4
  70. package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -9
  71. package/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -236
  72. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +0 -184
  73. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +0 -191
  74. package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +0 -222
  75. package/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +0 -133
  76. package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +0 -124
  77. package/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -6
  78. package/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -4
  79. package/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -5
  80. package/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +0 -5
  81. package/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -5
  82. package/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -24
  83. package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -45
  84. package/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -26
  85. package/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -5
  86. package/node_modules/@babel/runtime/helpers/esm/callSuper.js +0 -7
  87. package/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +0 -6
  88. package/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -4
  89. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -10
  90. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -4
  91. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -7
  92. package/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -4
  93. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  94. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -4
  95. package/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -5
  96. package/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -4
  97. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -7
  98. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -7
  99. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +0 -5
  100. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  101. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -5
  102. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -5
  103. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  104. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +0 -5
  105. package/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +0 -5
  106. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -5
  107. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  108. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -4
  109. package/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +0 -5
  110. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -7
  111. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -7
  112. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -7
  113. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  114. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -4
  115. package/node_modules/@babel/runtime/helpers/esm/construct.js +0 -10
  116. package/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -13
  117. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -50
  118. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -19
  119. package/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -16
  120. package/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -250
  121. package/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -9
  122. package/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +0 -8
  123. package/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -12
  124. package/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -10
  125. package/node_modules/@babel/runtime/helpers/esm/dispose.js +0 -28
  126. package/node_modules/@babel/runtime/helpers/esm/extends.js +0 -10
  127. package/node_modules/@babel/runtime/helpers/esm/get.js +0 -11
  128. package/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  129. package/node_modules/@babel/runtime/helpers/esm/identity.js +0 -4
  130. package/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +0 -27
  131. package/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -14
  132. package/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -5
  133. package/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  134. package/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -4
  135. package/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -4
  136. package/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -6
  137. package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -22
  138. package/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -8
  139. package/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -9
  140. package/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -4
  141. package/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -28
  142. package/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -22
  143. package/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  144. package/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -4
  145. package/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -4
  146. package/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -4
  147. package/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +0 -4
  148. package/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -4
  149. package/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -14
  150. package/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -23
  151. package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
  152. package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -10
  153. package/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  154. package/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -8
  155. package/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -4
  156. package/node_modules/@babel/runtime/helpers/esm/regenerator.js +0 -89
  157. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +0 -8
  158. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +0 -6
  159. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -33
  160. package/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +0 -24
  161. package/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +0 -10
  162. package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -77
  163. package/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +0 -19
  164. package/node_modules/@babel/runtime/helpers/esm/set.js +0 -22
  165. package/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +0 -12
  166. package/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -6
  167. package/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  168. package/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -8
  169. package/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -6
  170. package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +0 -9
  171. package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +0 -6
  172. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -8
  173. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -4
  174. package/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -4
  175. package/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -6
  176. package/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -2
  177. package/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -8
  178. package/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -8
  179. package/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -12
  180. package/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -7
  181. package/node_modules/@babel/runtime/helpers/esm/toSetter.js +0 -10
  182. package/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +0 -6
  183. package/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -10
  184. package/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  185. package/node_modules/@babel/runtime/helpers/esm/using.js +0 -12
  186. package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +0 -59
  187. package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -69
  188. package/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -27
  189. package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -52
  190. package/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -4
  191. package/node_modules/@babel/runtime/helpers/extends.js +0 -10
  192. package/node_modules/@babel/runtime/helpers/get.js +0 -11
  193. package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
  194. package/node_modules/@babel/runtime/helpers/identity.js +0 -4
  195. package/node_modules/@babel/runtime/helpers/importDeferProxy.js +0 -27
  196. package/node_modules/@babel/runtime/helpers/inherits.js +0 -14
  197. package/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -5
  198. package/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -9
  199. package/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -4
  200. package/node_modules/@babel/runtime/helpers/instanceof.js +0 -4
  201. package/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
  202. package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -22
  203. package/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -8
  204. package/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -9
  205. package/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
  206. package/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
  207. package/node_modules/@babel/runtime/helpers/jsx.js +0 -22
  208. package/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -9
  209. package/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -4
  210. package/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
  211. package/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
  212. package/node_modules/@babel/runtime/helpers/nullishReceiverError.js +0 -4
  213. package/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -4
  214. package/node_modules/@babel/runtime/helpers/objectSpread.js +0 -14
  215. package/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -23
  216. package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -13
  217. package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -10
  218. package/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
  219. package/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -4
  220. package/node_modules/@babel/runtime/helpers/regenerator.js +0 -89
  221. package/node_modules/@babel/runtime/helpers/regeneratorAsync.js +0 -8
  222. package/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +0 -6
  223. package/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +0 -33
  224. package/node_modules/@babel/runtime/helpers/regeneratorDefine.js +0 -24
  225. package/node_modules/@babel/runtime/helpers/regeneratorKeys.js +0 -10
  226. package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -77
  227. package/node_modules/@babel/runtime/helpers/regeneratorValues.js +0 -19
  228. package/node_modules/@babel/runtime/helpers/set.js +0 -22
  229. package/node_modules/@babel/runtime/helpers/setFunctionName.js +0 -12
  230. package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
  231. package/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -7
  232. package/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
  233. package/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
  234. package/node_modules/@babel/runtime/helpers/superPropGet.js +0 -9
  235. package/node_modules/@babel/runtime/helpers/superPropSet.js +0 -6
  236. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -8
  237. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -4
  238. package/node_modules/@babel/runtime/helpers/tdz.js +0 -4
  239. package/node_modules/@babel/runtime/helpers/temporalRef.js +0 -6
  240. package/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -2
  241. package/node_modules/@babel/runtime/helpers/toArray.js +0 -8
  242. package/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
  243. package/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
  244. package/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
  245. package/node_modules/@babel/runtime/helpers/toSetter.js +0 -10
  246. package/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +0 -6
  247. package/node_modules/@babel/runtime/helpers/typeof.js +0 -10
  248. package/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
  249. package/node_modules/@babel/runtime/helpers/using.js +0 -12
  250. package/node_modules/@babel/runtime/helpers/usingCtx.js +0 -59
  251. package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -69
  252. package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -27
  253. package/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -52
  254. package/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -4
  255. package/node_modules/@babel/runtime/package.json +0 -1107
  256. package/node_modules/@babel/runtime/regenerator/index.js +0 -15
  257. package/node_modules/@coral-xyz/anchor/README.md +0 -10
  258. package/node_modules/@coral-xyz/anchor/dist/browser/index.js +0 -7201
  259. package/node_modules/@coral-xyz/anchor/dist/browser/index.js.map +0 -1
  260. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/accounts.d.ts +0 -27
  261. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/accounts.d.ts.map +0 -1
  262. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/event.d.ts +0 -14
  263. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/event.d.ts.map +0 -1
  264. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/idl.d.ts +0 -32
  265. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/idl.d.ts.map +0 -1
  266. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/index.d.ts +0 -33
  267. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/index.d.ts.map +0 -1
  268. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/instruction.d.ts +0 -42
  269. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/instruction.d.ts.map +0 -1
  270. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/types.d.ts +0 -16
  271. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/types.d.ts.map +0 -1
  272. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/index.d.ts +0 -43
  273. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/index.d.ts.map +0 -1
  274. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/accounts.d.ts +0 -12
  275. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/accounts.d.ts.map +0 -1
  276. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/events.d.ts +0 -9
  277. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/events.d.ts.map +0 -1
  278. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/index.d.ts +0 -17
  279. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/index.d.ts.map +0 -1
  280. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/instruction.d.ts +0 -8
  281. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/instruction.d.ts.map +0 -1
  282. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/types.d.ts +0 -8
  283. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/types.d.ts.map +0 -1
  284. package/node_modules/@coral-xyz/anchor/dist/browser/src/error.d.ts +0 -131
  285. package/node_modules/@coral-xyz/anchor/dist/browser/src/error.d.ts.map +0 -1
  286. package/node_modules/@coral-xyz/anchor/dist/browser/src/idl.d.ts +0 -215
  287. package/node_modules/@coral-xyz/anchor/dist/browser/src/idl.d.ts.map +0 -1
  288. package/node_modules/@coral-xyz/anchor/dist/browser/src/index.d.ts +0 -16
  289. package/node_modules/@coral-xyz/anchor/dist/browser/src/index.d.ts.map +0 -1
  290. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/index.d.ts +0 -7
  291. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/index.d.ts.map +0 -1
  292. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/system.d.ts +0 -390
  293. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/system.d.ts.map +0 -1
  294. package/node_modules/@coral-xyz/anchor/dist/browser/src/nodewallet.d.ts +0 -14
  295. package/node_modules/@coral-xyz/anchor/dist/browser/src/nodewallet.d.ts.map +0 -1
  296. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/accounts-resolver.d.ts +0 -63
  297. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/accounts-resolver.d.ts.map +0 -1
  298. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/common.d.ts +0 -20
  299. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/common.d.ts.map +0 -1
  300. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/context.d.ts +0 -63
  301. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/context.d.ts.map +0 -1
  302. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/event.d.ts +0 -57
  303. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/event.d.ts.map +0 -1
  304. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/index.d.ts +0 -272
  305. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/index.d.ts.map +0 -1
  306. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/account.d.ts +0 -146
  307. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/account.d.ts.map +0 -1
  308. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/index.d.ts +0 -35
  309. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/index.d.ts.map +0 -1
  310. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/instruction.d.ts +0 -57
  311. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/instruction.d.ts.map +0 -1
  312. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/methods.d.ts +0 -206
  313. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/methods.d.ts.map +0 -1
  314. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/rpc.d.ts +0 -49
  315. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/rpc.d.ts.map +0 -1
  316. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/simulate.d.ts +0 -57
  317. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/simulate.d.ts.map +0 -1
  318. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/transaction.d.ts +0 -42
  319. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/transaction.d.ts.map +0 -1
  320. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/types.d.ts +0 -153
  321. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/types.d.ts.map +0 -1
  322. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/views.d.ts +0 -15
  323. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/views.d.ts.map +0 -1
  324. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/token-account-layout.d.ts +0 -2
  325. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/token-account-layout.d.ts.map +0 -1
  326. package/node_modules/@coral-xyz/anchor/dist/browser/src/provider.d.ts +0 -104
  327. package/node_modules/@coral-xyz/anchor/dist/browser/src/provider.d.ts.map +0 -1
  328. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/base64.d.ts +0 -4
  329. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/base64.d.ts.map +0 -1
  330. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/bs58.d.ts +0 -3
  331. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/bs58.d.ts.map +0 -1
  332. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/hex.d.ts +0 -4
  333. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/hex.d.ts.map +0 -1
  334. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/index.d.ts +0 -5
  335. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/index.d.ts.map +0 -1
  336. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/utf8.d.ts +0 -3
  337. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/utf8.d.ts.map +0 -1
  338. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/common.d.ts +0 -22
  339. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/common.d.ts.map +0 -1
  340. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/features.d.ts +0 -3
  341. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/features.d.ts.map +0 -1
  342. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/index.d.ts +0 -8
  343. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/index.d.ts.map +0 -1
  344. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/pubkey.d.ts +0 -3
  345. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/pubkey.d.ts.map +0 -1
  346. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/registry.d.ts +0 -34
  347. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/registry.d.ts.map +0 -1
  348. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/rpc.d.ts +0 -21
  349. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/rpc.d.ts.map +0 -1
  350. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/sha256.d.ts +0 -2
  351. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/sha256.d.ts.map +0 -1
  352. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/token.d.ts +0 -8
  353. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/token.d.ts.map +0 -1
  354. package/node_modules/@coral-xyz/anchor/dist/browser/src/workspace.d.ts +0 -14
  355. package/node_modules/@coral-xyz/anchor/dist/browser/src/workspace.d.ts.map +0 -1
  356. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.d.ts +0 -27
  357. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.d.ts.map +0 -1
  358. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.js +0 -103
  359. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.js.map +0 -1
  360. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.d.ts +0 -14
  361. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.d.ts.map +0 -1
  362. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.js +0 -78
  363. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.js.map +0 -1
  364. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.d.ts +0 -32
  365. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.d.ts.map +0 -1
  366. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.js +0 -419
  367. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.js.map +0 -1
  368. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.d.ts +0 -33
  369. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.d.ts.map +0 -1
  370. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.js +0 -27
  371. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.js.map +0 -1
  372. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.d.ts +0 -42
  373. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.d.ts.map +0 -1
  374. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.js +0 -274
  375. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.js.map +0 -1
  376. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.d.ts +0 -16
  377. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.d.ts.map +0 -1
  378. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.js +0 -42
  379. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.js.map +0 -1
  380. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.d.ts +0 -43
  381. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.d.ts.map +0 -1
  382. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.js +0 -19
  383. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.js.map +0 -1
  384. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.d.ts +0 -12
  385. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.d.ts.map +0 -1
  386. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.js +0 -107
  387. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.js.map +0 -1
  388. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.d.ts +0 -9
  389. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.d.ts.map +0 -1
  390. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.js +0 -11
  391. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.js.map +0 -1
  392. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.d.ts +0 -17
  393. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.d.ts.map +0 -1
  394. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.js +0 -20
  395. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.js.map +0 -1
  396. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.d.ts +0 -8
  397. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.d.ts.map +0 -1
  398. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.js +0 -242
  399. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.js.map +0 -1
  400. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.d.ts +0 -8
  401. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.d.ts.map +0 -1
  402. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.js +0 -14
  403. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.js.map +0 -1
  404. package/node_modules/@coral-xyz/anchor/dist/cjs/error.d.ts +0 -131
  405. package/node_modules/@coral-xyz/anchor/dist/cjs/error.d.ts.map +0 -1
  406. package/node_modules/@coral-xyz/anchor/dist/cjs/error.js +0 -583
  407. package/node_modules/@coral-xyz/anchor/dist/cjs/error.js.map +0 -1
  408. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.d.ts +0 -215
  409. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.d.ts.map +0 -1
  410. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.js +0 -109
  411. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.js.map +0 -1
  412. package/node_modules/@coral-xyz/anchor/dist/cjs/index.d.ts +0 -16
  413. package/node_modules/@coral-xyz/anchor/dist/cjs/index.d.ts.map +0 -1
  414. package/node_modules/@coral-xyz/anchor/dist/cjs/index.js +0 -50
  415. package/node_modules/@coral-xyz/anchor/dist/cjs/index.js.map +0 -1
  416. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.d.ts +0 -7
  417. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.d.ts.map +0 -1
  418. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.js +0 -11
  419. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.js.map +0 -1
  420. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.d.ts +0 -390
  421. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.d.ts.map +0 -1
  422. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.js +0 -394
  423. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.js.map +0 -1
  424. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.d.ts +0 -14
  425. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.d.ts.map +0 -1
  426. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.js +0 -48
  427. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.js.map +0 -1
  428. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.d.ts +0 -63
  429. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.d.ts.map +0 -1
  430. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js +0 -437
  431. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js.map +0 -1
  432. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.d.ts +0 -20
  433. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.d.ts.map +0 -1
  434. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.js +0 -49
  435. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.js.map +0 -1
  436. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.d.ts +0 -63
  437. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.d.ts.map +0 -1
  438. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.js +0 -16
  439. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.js.map +0 -1
  440. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.d.ts +0 -57
  441. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.d.ts.map +0 -1
  442. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.js +0 -207
  443. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.js.map +0 -1
  444. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.d.ts +0 -272
  445. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.d.ts.map +0 -1
  446. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.js +0 -177
  447. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.js.map +0 -1
  448. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.d.ts +0 -146
  449. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.d.ts.map +0 -1
  450. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.js +0 -257
  451. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.js.map +0 -1
  452. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.d.ts +0 -35
  453. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.d.ts.map +0 -1
  454. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.js +0 -63
  455. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.js.map +0 -1
  456. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.d.ts +0 -57
  457. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.d.ts.map +0 -1
  458. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.js +0 -94
  459. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.js.map +0 -1
  460. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.d.ts +0 -206
  461. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.d.ts.map +0 -1
  462. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.js +0 -309
  463. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.js.map +0 -1
  464. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.d.ts +0 -49
  465. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.d.ts.map +0 -1
  466. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.js +0 -25
  467. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.js.map +0 -1
  468. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts +0 -57
  469. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts.map +0 -1
  470. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.js +0 -42
  471. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.js.map +0 -1
  472. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.d.ts +0 -42
  473. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.d.ts.map +0 -1
  474. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.js +0 -24
  475. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.js.map +0 -1
  476. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.d.ts +0 -153
  477. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.d.ts.map +0 -1
  478. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.js +0 -3
  479. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.js.map +0 -1
  480. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.d.ts +0 -15
  481. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.d.ts.map +0 -1
  482. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.js +0 -30
  483. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.js.map +0 -1
  484. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.d.ts +0 -2
  485. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.d.ts.map +0 -1
  486. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.js +0 -136
  487. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.js.map +0 -1
  488. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.d.ts +0 -104
  489. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.d.ts.map +0 -1
  490. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.js +0 -309
  491. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.js.map +0 -1
  492. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.d.ts +0 -4
  493. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.d.ts.map +0 -1
  494. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.js +0 -12
  495. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.js.map +0 -1
  496. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.d.ts +0 -3
  497. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.d.ts.map +0 -1
  498. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.js +0 -15
  499. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.js.map +0 -1
  500. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.d.ts +0 -4
  501. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.d.ts.map +0 -1
  502. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.js +0 -22
  503. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.js.map +0 -1
  504. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.d.ts +0 -5
  505. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.d.ts.map +0 -1
  506. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.js +0 -31
  507. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.js.map +0 -1
  508. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.d.ts +0 -3
  509. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.d.ts.map +0 -1
  510. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.js +0 -18
  511. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.js.map +0 -1
  512. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.d.ts +0 -22
  513. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.d.ts.map +0 -1
  514. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.js +0 -32
  515. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.js.map +0 -1
  516. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.d.ts +0 -3
  517. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.d.ts.map +0 -1
  518. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.js +0 -16
  519. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.js.map +0 -1
  520. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.d.ts +0 -8
  521. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.d.ts.map +0 -1
  522. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.js +0 -34
  523. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.js.map +0 -1
  524. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.d.ts +0 -3
  525. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.d.ts.map +0 -1
  526. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.js +0 -16
  527. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.js.map +0 -1
  528. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.d.ts +0 -34
  529. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.d.ts.map +0 -1
  530. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.js +0 -88
  531. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.js.map +0 -1
  532. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.d.ts +0 -21
  533. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.d.ts.map +0 -1
  534. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.js +0 -167
  535. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.js.map +0 -1
  536. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.d.ts +0 -2
  537. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.d.ts.map +0 -1
  538. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.js +0 -8
  539. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.js.map +0 -1
  540. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.d.ts +0 -8
  541. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.d.ts.map +0 -1
  542. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.js +0 -11
  543. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.js.map +0 -1
  544. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.d.ts +0 -14
  545. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.d.ts.map +0 -1
  546. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.js +0 -98
  547. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.js.map +0 -1
  548. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.d.ts +0 -27
  549. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.d.ts.map +0 -1
  550. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.js +0 -96
  551. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.js.map +0 -1
  552. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.d.ts +0 -14
  553. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.d.ts.map +0 -1
  554. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.js +0 -51
  555. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.js.map +0 -1
  556. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.d.ts +0 -32
  557. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.d.ts.map +0 -1
  558. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.js +0 -392
  559. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.js.map +0 -1
  560. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.d.ts +0 -33
  561. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.d.ts.map +0 -1
  562. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.js +0 -20
  563. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.js.map +0 -1
  564. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.d.ts +0 -42
  565. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.d.ts.map +0 -1
  566. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.js +0 -244
  567. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.js.map +0 -1
  568. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.d.ts +0 -16
  569. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.d.ts.map +0 -1
  570. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.js +0 -38
  571. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.js.map +0 -1
  572. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.d.ts +0 -43
  573. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.d.ts.map +0 -1
  574. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.js +0 -3
  575. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.js.map +0 -1
  576. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.d.ts +0 -12
  577. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.d.ts.map +0 -1
  578. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.js +0 -80
  579. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.js.map +0 -1
  580. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.d.ts +0 -9
  581. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.d.ts.map +0 -1
  582. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.js +0 -7
  583. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.js.map +0 -1
  584. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.d.ts +0 -17
  585. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.d.ts.map +0 -1
  586. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.js +0 -16
  587. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.js.map +0 -1
  588. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.d.ts +0 -8
  589. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.d.ts.map +0 -1
  590. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.js +0 -212
  591. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.js.map +0 -1
  592. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.d.ts +0 -8
  593. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.d.ts.map +0 -1
  594. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.js +0 -10
  595. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.js.map +0 -1
  596. package/node_modules/@coral-xyz/anchor/dist/esm/error.d.ts +0 -131
  597. package/node_modules/@coral-xyz/anchor/dist/esm/error.d.ts.map +0 -1
  598. package/node_modules/@coral-xyz/anchor/dist/esm/error.js +0 -552
  599. package/node_modules/@coral-xyz/anchor/dist/esm/error.js.map +0 -1
  600. package/node_modules/@coral-xyz/anchor/dist/esm/idl.d.ts +0 -215
  601. package/node_modules/@coral-xyz/anchor/dist/esm/idl.d.ts.map +0 -1
  602. package/node_modules/@coral-xyz/anchor/dist/esm/idl.js +0 -74
  603. package/node_modules/@coral-xyz/anchor/dist/esm/idl.js.map +0 -1
  604. package/node_modules/@coral-xyz/anchor/dist/esm/index.d.ts +0 -16
  605. package/node_modules/@coral-xyz/anchor/dist/esm/index.d.ts.map +0 -1
  606. package/node_modules/@coral-xyz/anchor/dist/esm/index.js +0 -14
  607. package/node_modules/@coral-xyz/anchor/dist/esm/index.js.map +0 -1
  608. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.d.ts +0 -7
  609. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.d.ts.map +0 -1
  610. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.js +0 -7
  611. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.js.map +0 -1
  612. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.d.ts +0 -390
  613. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.d.ts.map +0 -1
  614. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.js +0 -389
  615. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.js.map +0 -1
  616. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.d.ts +0 -14
  617. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.d.ts.map +0 -1
  618. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.js +0 -45
  619. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.js.map +0 -1
  620. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.d.ts +0 -63
  621. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.d.ts.map +0 -1
  622. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.js +0 -429
  623. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.js.map +0 -1
  624. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.d.ts +0 -20
  625. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.d.ts.map +0 -1
  626. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.js +0 -43
  627. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.js.map +0 -1
  628. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.d.ts +0 -63
  629. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.d.ts.map +0 -1
  630. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.js +0 -13
  631. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.js.map +0 -1
  632. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.d.ts +0 -57
  633. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.d.ts.map +0 -1
  634. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.js +0 -202
  635. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.js.map +0 -1
  636. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.d.ts +0 -272
  637. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.d.ts.map +0 -1
  638. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.js +0 -156
  639. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.js.map +0 -1
  640. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.d.ts +0 -146
  641. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.d.ts.map +0 -1
  642. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.js +0 -226
  643. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.js.map +0 -1
  644. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.d.ts +0 -35
  645. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.d.ts.map +0 -1
  646. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.js +0 -54
  647. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.js.map +0 -1
  648. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.d.ts +0 -57
  649. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.d.ts.map +0 -1
  650. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.js +0 -68
  651. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.js.map +0 -1
  652. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.d.ts +0 -206
  653. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.d.ts.map +0 -1
  654. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.js +0 -302
  655. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.js.map +0 -1
  656. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.d.ts +0 -49
  657. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.d.ts.map +0 -1
  658. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.js +0 -22
  659. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.js.map +0 -1
  660. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.d.ts +0 -57
  661. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.d.ts.map +0 -1
  662. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.js +0 -39
  663. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.js.map +0 -1
  664. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.d.ts +0 -42
  665. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.d.ts.map +0 -1
  666. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.js +0 -21
  667. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.js.map +0 -1
  668. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.d.ts +0 -153
  669. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.d.ts.map +0 -1
  670. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.js +0 -2
  671. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.js.map +0 -1
  672. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.d.ts +0 -15
  673. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.d.ts.map +0 -1
  674. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.js +0 -27
  675. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.js.map +0 -1
  676. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.d.ts +0 -2
  677. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.d.ts.map +0 -1
  678. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.js +0 -107
  679. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.js.map +0 -1
  680. package/node_modules/@coral-xyz/anchor/dist/esm/provider.d.ts +0 -104
  681. package/node_modules/@coral-xyz/anchor/dist/esm/provider.d.ts.map +0 -1
  682. package/node_modules/@coral-xyz/anchor/dist/esm/provider.js +0 -303
  683. package/node_modules/@coral-xyz/anchor/dist/esm/provider.js.map +0 -1
  684. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.d.ts +0 -4
  685. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.d.ts.map +0 -1
  686. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.js +0 -8
  687. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.js.map +0 -1
  688. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.d.ts +0 -3
  689. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.d.ts.map +0 -1
  690. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.js +0 -8
  691. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.js.map +0 -1
  692. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.d.ts +0 -4
  693. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.d.ts.map +0 -1
  694. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.js +0 -18
  695. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.js.map +0 -1
  696. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.d.ts +0 -5
  697. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.d.ts.map +0 -1
  698. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.js +0 -5
  699. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.js.map +0 -1
  700. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.d.ts +0 -3
  701. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.d.ts.map +0 -1
  702. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.js +0 -14
  703. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.js.map +0 -1
  704. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.d.ts +0 -22
  705. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.d.ts.map +0 -1
  706. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.js +0 -27
  707. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.js.map +0 -1
  708. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.d.ts +0 -3
  709. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.d.ts.map +0 -1
  710. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.js +0 -12
  711. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.js.map +0 -1
  712. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.d.ts +0 -8
  713. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.d.ts.map +0 -1
  714. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.js +0 -8
  715. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.js.map +0 -1
  716. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.d.ts +0 -3
  717. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.d.ts.map +0 -1
  718. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.js +0 -13
  719. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.js.map +0 -1
  720. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.d.ts +0 -34
  721. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.d.ts.map +0 -1
  722. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.js +0 -57
  723. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.js.map +0 -1
  724. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.d.ts +0 -21
  725. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.d.ts.map +0 -1
  726. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.js +0 -161
  727. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.js.map +0 -1
  728. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.d.ts +0 -2
  729. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.d.ts.map +0 -1
  730. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.js +0 -5
  731. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.js.map +0 -1
  732. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.d.ts +0 -8
  733. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.d.ts.map +0 -1
  734. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.js +0 -7
  735. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.js.map +0 -1
  736. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.d.ts +0 -14
  737. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.d.ts.map +0 -1
  738. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.js +0 -70
  739. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.js.map +0 -1
  740. package/node_modules/@coral-xyz/anchor/dist/tsconfig.cjs.tsbuildinfo +0 -1
  741. package/node_modules/@coral-xyz/anchor/dist/tsconfig.tsbuildinfo +0 -1
  742. package/node_modules/@coral-xyz/anchor/package.json +0 -84
  743. package/node_modules/@coral-xyz/anchor/types/buffer-layout/index.d.ts +0 -88
  744. package/node_modules/@coral-xyz/anchor-errors/dist/index.d.ts +0 -157
  745. package/node_modules/@coral-xyz/anchor-errors/dist/index.d.ts.map +0 -1
  746. package/node_modules/@coral-xyz/anchor-errors/dist/index.js +0 -167
  747. package/node_modules/@coral-xyz/anchor-errors/dist/index.js.map +0 -1
  748. package/node_modules/@coral-xyz/anchor-errors/package.json +0 -32
  749. package/node_modules/@coral-xyz/borsh/dist/index.d.ts +0 -31
  750. package/node_modules/@coral-xyz/borsh/dist/index.d.ts.map +0 -1
  751. package/node_modules/@coral-xyz/borsh/dist/index.js +0 -222
  752. package/node_modules/@coral-xyz/borsh/dist/index.js.map +0 -1
  753. package/node_modules/@coral-xyz/borsh/package.json +0 -35
  754. package/node_modules/@noble/curves/LICENSE +0 -21
  755. package/node_modules/@noble/curves/README.md +0 -1029
  756. package/node_modules/@noble/curves/_shortw_utils.d.ts +0 -18
  757. package/node_modules/@noble/curves/_shortw_utils.d.ts.map +0 -1
  758. package/node_modules/@noble/curves/_shortw_utils.js +0 -19
  759. package/node_modules/@noble/curves/_shortw_utils.js.map +0 -1
  760. package/node_modules/@noble/curves/abstract/bls.d.ts +0 -165
  761. package/node_modules/@noble/curves/abstract/bls.d.ts.map +0 -1
  762. package/node_modules/@noble/curves/abstract/bls.js +0 -404
  763. package/node_modules/@noble/curves/abstract/bls.js.map +0 -1
  764. package/node_modules/@noble/curves/abstract/curve.d.ts +0 -144
  765. package/node_modules/@noble/curves/abstract/curve.d.ts.map +0 -1
  766. package/node_modules/@noble/curves/abstract/curve.js +0 -471
  767. package/node_modules/@noble/curves/abstract/curve.js.map +0 -1
  768. package/node_modules/@noble/curves/abstract/edwards.d.ts +0 -179
  769. package/node_modules/@noble/curves/abstract/edwards.d.ts.map +0 -1
  770. package/node_modules/@noble/curves/abstract/edwards.js +0 -488
  771. package/node_modules/@noble/curves/abstract/edwards.js.map +0 -1
  772. package/node_modules/@noble/curves/abstract/fft.d.ts +0 -122
  773. package/node_modules/@noble/curves/abstract/fft.d.ts.map +0 -1
  774. package/node_modules/@noble/curves/abstract/fft.js +0 -438
  775. package/node_modules/@noble/curves/abstract/fft.js.map +0 -1
  776. package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +0 -98
  777. package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts.map +0 -1
  778. package/node_modules/@noble/curves/abstract/hash-to-curve.js +0 -199
  779. package/node_modules/@noble/curves/abstract/hash-to-curve.js.map +0 -1
  780. package/node_modules/@noble/curves/abstract/modular.d.ts +0 -166
  781. package/node_modules/@noble/curves/abstract/modular.d.ts.map +0 -1
  782. package/node_modules/@noble/curves/abstract/modular.js +0 -510
  783. package/node_modules/@noble/curves/abstract/modular.js.map +0 -1
  784. package/node_modules/@noble/curves/abstract/montgomery.d.ts +0 -21
  785. package/node_modules/@noble/curves/abstract/montgomery.d.ts.map +0 -1
  786. package/node_modules/@noble/curves/abstract/montgomery.js +0 -141
  787. package/node_modules/@noble/curves/abstract/montgomery.js.map +0 -1
  788. package/node_modules/@noble/curves/abstract/poseidon.d.ts +0 -68
  789. package/node_modules/@noble/curves/abstract/poseidon.d.ts.map +0 -1
  790. package/node_modules/@noble/curves/abstract/poseidon.js +0 -305
  791. package/node_modules/@noble/curves/abstract/poseidon.js.map +0 -1
  792. package/node_modules/@noble/curves/abstract/tower.d.ts +0 -93
  793. package/node_modules/@noble/curves/abstract/tower.d.ts.map +0 -1
  794. package/node_modules/@noble/curves/abstract/tower.js +0 -506
  795. package/node_modules/@noble/curves/abstract/tower.js.map +0 -1
  796. package/node_modules/@noble/curves/abstract/utils.d.ts +0 -5
  797. package/node_modules/@noble/curves/abstract/utils.d.ts.map +0 -1
  798. package/node_modules/@noble/curves/abstract/utils.js +0 -23
  799. package/node_modules/@noble/curves/abstract/utils.js.map +0 -1
  800. package/node_modules/@noble/curves/abstract/weierstrass.d.ts +0 -316
  801. package/node_modules/@noble/curves/abstract/weierstrass.d.ts.map +0 -1
  802. package/node_modules/@noble/curves/abstract/weierstrass.js +0 -1290
  803. package/node_modules/@noble/curves/abstract/weierstrass.js.map +0 -1
  804. package/node_modules/@noble/curves/bls12-381.d.ts +0 -16
  805. package/node_modules/@noble/curves/bls12-381.d.ts.map +0 -1
  806. package/node_modules/@noble/curves/bls12-381.js +0 -741
  807. package/node_modules/@noble/curves/bls12-381.js.map +0 -1
  808. package/node_modules/@noble/curves/bn254.d.ts +0 -18
  809. package/node_modules/@noble/curves/bn254.d.ts.map +0 -1
  810. package/node_modules/@noble/curves/bn254.js +0 -250
  811. package/node_modules/@noble/curves/bn254.js.map +0 -1
  812. package/node_modules/@noble/curves/ed25519.d.ts +0 -120
  813. package/node_modules/@noble/curves/ed25519.d.ts.map +0 -1
  814. package/node_modules/@noble/curves/ed25519.js +0 -496
  815. package/node_modules/@noble/curves/ed25519.js.map +0 -1
  816. package/node_modules/@noble/curves/ed448.d.ts +0 -102
  817. package/node_modules/@noble/curves/ed448.d.ts.map +0 -1
  818. package/node_modules/@noble/curves/ed448.js +0 -461
  819. package/node_modules/@noble/curves/ed448.js.map +0 -1
  820. package/node_modules/@noble/curves/esm/_shortw_utils.d.ts +0 -18
  821. package/node_modules/@noble/curves/esm/_shortw_utils.d.ts.map +0 -1
  822. package/node_modules/@noble/curves/esm/_shortw_utils.js +0 -15
  823. package/node_modules/@noble/curves/esm/_shortw_utils.js.map +0 -1
  824. package/node_modules/@noble/curves/esm/abstract/bls.d.ts +0 -165
  825. package/node_modules/@noble/curves/esm/abstract/bls.d.ts.map +0 -1
  826. package/node_modules/@noble/curves/esm/abstract/bls.js +0 -401
  827. package/node_modules/@noble/curves/esm/abstract/bls.js.map +0 -1
  828. package/node_modules/@noble/curves/esm/abstract/curve.d.ts +0 -144
  829. package/node_modules/@noble/curves/esm/abstract/curve.d.ts.map +0 -1
  830. package/node_modules/@noble/curves/esm/abstract/curve.js +0 -461
  831. package/node_modules/@noble/curves/esm/abstract/curve.js.map +0 -1
  832. package/node_modules/@noble/curves/esm/abstract/edwards.d.ts +0 -179
  833. package/node_modules/@noble/curves/esm/abstract/edwards.d.ts.map +0 -1
  834. package/node_modules/@noble/curves/esm/abstract/edwards.js +0 -483
  835. package/node_modules/@noble/curves/esm/abstract/edwards.js.map +0 -1
  836. package/node_modules/@noble/curves/esm/abstract/fft.d.ts +0 -122
  837. package/node_modules/@noble/curves/esm/abstract/fft.d.ts.map +0 -1
  838. package/node_modules/@noble/curves/esm/abstract/fft.js +0 -425
  839. package/node_modules/@noble/curves/esm/abstract/fft.js.map +0 -1
  840. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts +0 -98
  841. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts.map +0 -1
  842. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js +0 -192
  843. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js.map +0 -1
  844. package/node_modules/@noble/curves/esm/abstract/modular.d.ts +0 -166
  845. package/node_modules/@noble/curves/esm/abstract/modular.d.ts.map +0 -1
  846. package/node_modules/@noble/curves/esm/abstract/modular.js +0 -486
  847. package/node_modules/@noble/curves/esm/abstract/modular.js.map +0 -1
  848. package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts +0 -21
  849. package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts.map +0 -1
  850. package/node_modules/@noble/curves/esm/abstract/montgomery.js +0 -138
  851. package/node_modules/@noble/curves/esm/abstract/montgomery.js.map +0 -1
  852. package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts +0 -68
  853. package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts.map +0 -1
  854. package/node_modules/@noble/curves/esm/abstract/poseidon.js +0 -296
  855. package/node_modules/@noble/curves/esm/abstract/poseidon.js.map +0 -1
  856. package/node_modules/@noble/curves/esm/abstract/tower.d.ts +0 -93
  857. package/node_modules/@noble/curves/esm/abstract/tower.d.ts.map +0 -1
  858. package/node_modules/@noble/curves/esm/abstract/tower.js +0 -502
  859. package/node_modules/@noble/curves/esm/abstract/tower.js.map +0 -1
  860. package/node_modules/@noble/curves/esm/abstract/utils.d.ts +0 -5
  861. package/node_modules/@noble/curves/esm/abstract/utils.d.ts.map +0 -1
  862. package/node_modules/@noble/curves/esm/abstract/utils.js +0 -7
  863. package/node_modules/@noble/curves/esm/abstract/utils.js.map +0 -1
  864. package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts +0 -316
  865. package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts.map +0 -1
  866. package/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -1278
  867. package/node_modules/@noble/curves/esm/abstract/weierstrass.js.map +0 -1
  868. package/node_modules/@noble/curves/esm/bls12-381.d.ts +0 -16
  869. package/node_modules/@noble/curves/esm/bls12-381.d.ts.map +0 -1
  870. package/node_modules/@noble/curves/esm/bls12-381.js +0 -738
  871. package/node_modules/@noble/curves/esm/bls12-381.js.map +0 -1
  872. package/node_modules/@noble/curves/esm/bn254.d.ts +0 -18
  873. package/node_modules/@noble/curves/esm/bn254.d.ts.map +0 -1
  874. package/node_modules/@noble/curves/esm/bn254.js +0 -246
  875. package/node_modules/@noble/curves/esm/bn254.js.map +0 -1
  876. package/node_modules/@noble/curves/esm/ed25519.d.ts +0 -120
  877. package/node_modules/@noble/curves/esm/ed25519.d.ts.map +0 -1
  878. package/node_modules/@noble/curves/esm/ed25519.js +0 -490
  879. package/node_modules/@noble/curves/esm/ed25519.js.map +0 -1
  880. package/node_modules/@noble/curves/esm/ed448.d.ts +0 -102
  881. package/node_modules/@noble/curves/esm/ed448.d.ts.map +0 -1
  882. package/node_modules/@noble/curves/esm/ed448.js +0 -456
  883. package/node_modules/@noble/curves/esm/ed448.js.map +0 -1
  884. package/node_modules/@noble/curves/esm/index.d.ts +0 -2
  885. package/node_modules/@noble/curves/esm/index.d.ts.map +0 -1
  886. package/node_modules/@noble/curves/esm/index.js +0 -19
  887. package/node_modules/@noble/curves/esm/index.js.map +0 -1
  888. package/node_modules/@noble/curves/esm/jubjub.d.ts +0 -12
  889. package/node_modules/@noble/curves/esm/jubjub.d.ts.map +0 -1
  890. package/node_modules/@noble/curves/esm/jubjub.js +0 -12
  891. package/node_modules/@noble/curves/esm/jubjub.js.map +0 -1
  892. package/node_modules/@noble/curves/esm/misc.d.ts +0 -21
  893. package/node_modules/@noble/curves/esm/misc.d.ts.map +0 -1
  894. package/node_modules/@noble/curves/esm/misc.js +0 -112
  895. package/node_modules/@noble/curves/esm/misc.js.map +0 -1
  896. package/node_modules/@noble/curves/esm/nist.d.ts +0 -21
  897. package/node_modules/@noble/curves/esm/nist.d.ts.map +0 -1
  898. package/node_modules/@noble/curves/esm/nist.js +0 -110
  899. package/node_modules/@noble/curves/esm/nist.js.map +0 -1
  900. package/node_modules/@noble/curves/esm/p256.d.ts +0 -12
  901. package/node_modules/@noble/curves/esm/p256.d.ts.map +0 -1
  902. package/node_modules/@noble/curves/esm/p256.js +0 -12
  903. package/node_modules/@noble/curves/esm/p256.js.map +0 -1
  904. package/node_modules/@noble/curves/esm/p384.d.ts +0 -13
  905. package/node_modules/@noble/curves/esm/p384.d.ts.map +0 -1
  906. package/node_modules/@noble/curves/esm/p384.js +0 -13
  907. package/node_modules/@noble/curves/esm/p384.js.map +0 -1
  908. package/node_modules/@noble/curves/esm/p521.d.ts +0 -12
  909. package/node_modules/@noble/curves/esm/p521.d.ts.map +0 -1
  910. package/node_modules/@noble/curves/esm/p521.js +0 -12
  911. package/node_modules/@noble/curves/esm/p521.js.map +0 -1
  912. package/node_modules/@noble/curves/esm/package.json +0 -4
  913. package/node_modules/@noble/curves/esm/pasta.d.ts +0 -10
  914. package/node_modules/@noble/curves/esm/pasta.d.ts.map +0 -1
  915. package/node_modules/@noble/curves/esm/pasta.js +0 -10
  916. package/node_modules/@noble/curves/esm/pasta.js.map +0 -1
  917. package/node_modules/@noble/curves/esm/secp256k1.d.ts +0 -76
  918. package/node_modules/@noble/curves/esm/secp256k1.d.ts.map +0 -1
  919. package/node_modules/@noble/curves/esm/secp256k1.js +0 -290
  920. package/node_modules/@noble/curves/esm/secp256k1.js.map +0 -1
  921. package/node_modules/@noble/curves/esm/utils.d.ts +0 -96
  922. package/node_modules/@noble/curves/esm/utils.d.ts.map +0 -1
  923. package/node_modules/@noble/curves/esm/utils.js +0 -279
  924. package/node_modules/@noble/curves/esm/utils.js.map +0 -1
  925. package/node_modules/@noble/curves/index.d.ts +0 -1
  926. package/node_modules/@noble/curves/index.d.ts.map +0 -1
  927. package/node_modules/@noble/curves/index.js +0 -19
  928. package/node_modules/@noble/curves/index.js.map +0 -1
  929. package/node_modules/@noble/curves/jubjub.d.ts +0 -12
  930. package/node_modules/@noble/curves/jubjub.d.ts.map +0 -1
  931. package/node_modules/@noble/curves/jubjub.js +0 -15
  932. package/node_modules/@noble/curves/jubjub.js.map +0 -1
  933. package/node_modules/@noble/curves/misc.d.ts +0 -21
  934. package/node_modules/@noble/curves/misc.d.ts.map +0 -1
  935. package/node_modules/@noble/curves/misc.js +0 -117
  936. package/node_modules/@noble/curves/misc.js.map +0 -1
  937. package/node_modules/@noble/curves/nist.d.ts +0 -21
  938. package/node_modules/@noble/curves/nist.d.ts.map +0 -1
  939. package/node_modules/@noble/curves/nist.js +0 -113
  940. package/node_modules/@noble/curves/nist.js.map +0 -1
  941. package/node_modules/@noble/curves/p256.d.ts +0 -12
  942. package/node_modules/@noble/curves/p256.d.ts.map +0 -1
  943. package/node_modules/@noble/curves/p256.js +0 -9
  944. package/node_modules/@noble/curves/p256.js.map +0 -1
  945. package/node_modules/@noble/curves/p384.d.ts +0 -13
  946. package/node_modules/@noble/curves/p384.d.ts.map +0 -1
  947. package/node_modules/@noble/curves/p384.js +0 -10
  948. package/node_modules/@noble/curves/p384.js.map +0 -1
  949. package/node_modules/@noble/curves/p521.d.ts +0 -12
  950. package/node_modules/@noble/curves/p521.d.ts.map +0 -1
  951. package/node_modules/@noble/curves/p521.js +0 -9
  952. package/node_modules/@noble/curves/p521.js.map +0 -1
  953. package/node_modules/@noble/curves/package.json +0 -293
  954. package/node_modules/@noble/curves/pasta.d.ts +0 -10
  955. package/node_modules/@noble/curves/pasta.d.ts.map +0 -1
  956. package/node_modules/@noble/curves/pasta.js +0 -13
  957. package/node_modules/@noble/curves/pasta.js.map +0 -1
  958. package/node_modules/@noble/curves/secp256k1.d.ts +0 -76
  959. package/node_modules/@noble/curves/secp256k1.d.ts.map +0 -1
  960. package/node_modules/@noble/curves/secp256k1.js +0 -293
  961. package/node_modules/@noble/curves/secp256k1.js.map +0 -1
  962. package/node_modules/@noble/curves/src/_shortw_utils.ts +0 -20
  963. package/node_modules/@noble/curves/src/abstract/bls.ts +0 -685
  964. package/node_modules/@noble/curves/src/abstract/curve.ts +0 -573
  965. package/node_modules/@noble/curves/src/abstract/edwards.ts +0 -710
  966. package/node_modules/@noble/curves/src/abstract/fft.ts +0 -519
  967. package/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +0 -289
  968. package/node_modules/@noble/curves/src/abstract/modular.ts +0 -554
  969. package/node_modules/@noble/curves/src/abstract/montgomery.ts +0 -167
  970. package/node_modules/@noble/curves/src/abstract/poseidon.ts +0 -335
  971. package/node_modules/@noble/curves/src/abstract/tower.ts +0 -619
  972. package/node_modules/@noble/curves/src/abstract/utils.ts +0 -7
  973. package/node_modules/@noble/curves/src/abstract/weierstrass.ts +0 -1684
  974. package/node_modules/@noble/curves/src/bls12-381.ts +0 -805
  975. package/node_modules/@noble/curves/src/bn254.ts +0 -274
  976. package/node_modules/@noble/curves/src/ed25519.ts +0 -568
  977. package/node_modules/@noble/curves/src/ed448.ts +0 -561
  978. package/node_modules/@noble/curves/src/index.ts +0 -17
  979. package/node_modules/@noble/curves/src/jubjub.ts +0 -12
  980. package/node_modules/@noble/curves/src/misc.ts +0 -128
  981. package/node_modules/@noble/curves/src/nist.ts +0 -166
  982. package/node_modules/@noble/curves/src/p256.ts +0 -11
  983. package/node_modules/@noble/curves/src/p384.ts +0 -13
  984. package/node_modules/@noble/curves/src/p521.ts +0 -11
  985. package/node_modules/@noble/curves/src/package.json +0 -3
  986. package/node_modules/@noble/curves/src/pasta.ts +0 -9
  987. package/node_modules/@noble/curves/src/secp256k1.ts +0 -345
  988. package/node_modules/@noble/curves/src/utils.ts +0 -328
  989. package/node_modules/@noble/curves/utils.d.ts +0 -96
  990. package/node_modules/@noble/curves/utils.d.ts.map +0 -1
  991. package/node_modules/@noble/curves/utils.js +0 -313
  992. package/node_modules/@noble/curves/utils.js.map +0 -1
  993. package/node_modules/@noble/hashes/LICENSE +0 -21
  994. package/node_modules/@noble/hashes/README.md +0 -521
  995. package/node_modules/@noble/hashes/_assert.d.ts +0 -17
  996. package/node_modules/@noble/hashes/_assert.d.ts.map +0 -1
  997. package/node_modules/@noble/hashes/_assert.js +0 -18
  998. package/node_modules/@noble/hashes/_assert.js.map +0 -1
  999. package/node_modules/@noble/hashes/_blake.d.ts +0 -14
  1000. package/node_modules/@noble/hashes/_blake.d.ts.map +0 -1
  1001. package/node_modules/@noble/hashes/_blake.js +0 -50
  1002. package/node_modules/@noble/hashes/_blake.js.map +0 -1
  1003. package/node_modules/@noble/hashes/_md.d.ts +0 -51
  1004. package/node_modules/@noble/hashes/_md.d.ts.map +0 -1
  1005. package/node_modules/@noble/hashes/_md.js +0 -162
  1006. package/node_modules/@noble/hashes/_md.js.map +0 -1
  1007. package/node_modules/@noble/hashes/_u64.d.ts +0 -55
  1008. package/node_modules/@noble/hashes/_u64.d.ts.map +0 -1
  1009. package/node_modules/@noble/hashes/_u64.js +0 -90
  1010. package/node_modules/@noble/hashes/_u64.js.map +0 -1
  1011. package/node_modules/@noble/hashes/argon2.d.ts +0 -32
  1012. package/node_modules/@noble/hashes/argon2.d.ts.map +0 -1
  1013. package/node_modules/@noble/hashes/argon2.js +0 -401
  1014. package/node_modules/@noble/hashes/argon2.js.map +0 -1
  1015. package/node_modules/@noble/hashes/blake1.d.ts +0 -106
  1016. package/node_modules/@noble/hashes/blake1.d.ts.map +0 -1
  1017. package/node_modules/@noble/hashes/blake1.js +0 -459
  1018. package/node_modules/@noble/hashes/blake1.js.map +0 -1
  1019. package/node_modules/@noble/hashes/blake2.d.ts +0 -116
  1020. package/node_modules/@noble/hashes/blake2.d.ts.map +0 -1
  1021. package/node_modules/@noble/hashes/blake2.js +0 -420
  1022. package/node_modules/@noble/hashes/blake2.js.map +0 -1
  1023. package/node_modules/@noble/hashes/blake2b.d.ts +0 -11
  1024. package/node_modules/@noble/hashes/blake2b.d.ts.map +0 -1
  1025. package/node_modules/@noble/hashes/blake2b.js +0 -14
  1026. package/node_modules/@noble/hashes/blake2b.js.map +0 -1
  1027. package/node_modules/@noble/hashes/blake2s.d.ts +0 -20
  1028. package/node_modules/@noble/hashes/blake2s.d.ts.map +0 -1
  1029. package/node_modules/@noble/hashes/blake2s.js +0 -24
  1030. package/node_modules/@noble/hashes/blake2s.js.map +0 -1
  1031. package/node_modules/@noble/hashes/blake3.d.ts +0 -54
  1032. package/node_modules/@noble/hashes/blake3.d.ts.map +0 -1
  1033. package/node_modules/@noble/hashes/blake3.js +0 -255
  1034. package/node_modules/@noble/hashes/blake3.js.map +0 -1
  1035. package/node_modules/@noble/hashes/crypto.d.ts +0 -2
  1036. package/node_modules/@noble/hashes/crypto.d.ts.map +0 -1
  1037. package/node_modules/@noble/hashes/crypto.js +0 -5
  1038. package/node_modules/@noble/hashes/crypto.js.map +0 -1
  1039. package/node_modules/@noble/hashes/cryptoNode.d.ts +0 -2
  1040. package/node_modules/@noble/hashes/cryptoNode.d.ts.map +0 -1
  1041. package/node_modules/@noble/hashes/cryptoNode.js +0 -18
  1042. package/node_modules/@noble/hashes/cryptoNode.js.map +0 -1
  1043. package/node_modules/@noble/hashes/eskdf.d.ts +0 -47
  1044. package/node_modules/@noble/hashes/eskdf.d.ts.map +0 -1
  1045. package/node_modules/@noble/hashes/eskdf.js +0 -166
  1046. package/node_modules/@noble/hashes/eskdf.js.map +0 -1
  1047. package/node_modules/@noble/hashes/esm/_assert.d.ts +0 -17
  1048. package/node_modules/@noble/hashes/esm/_assert.d.ts.map +0 -1
  1049. package/node_modules/@noble/hashes/esm/_assert.js +0 -15
  1050. package/node_modules/@noble/hashes/esm/_assert.js.map +0 -1
  1051. package/node_modules/@noble/hashes/esm/_blake.d.ts +0 -14
  1052. package/node_modules/@noble/hashes/esm/_blake.d.ts.map +0 -1
  1053. package/node_modules/@noble/hashes/esm/_blake.js +0 -45
  1054. package/node_modules/@noble/hashes/esm/_blake.js.map +0 -1
  1055. package/node_modules/@noble/hashes/esm/_md.d.ts +0 -51
  1056. package/node_modules/@noble/hashes/esm/_md.d.ts.map +0 -1
  1057. package/node_modules/@noble/hashes/esm/_md.js +0 -155
  1058. package/node_modules/@noble/hashes/esm/_md.js.map +0 -1
  1059. package/node_modules/@noble/hashes/esm/_u64.d.ts +0 -55
  1060. package/node_modules/@noble/hashes/esm/_u64.d.ts.map +0 -1
  1061. package/node_modules/@noble/hashes/esm/_u64.js +0 -67
  1062. package/node_modules/@noble/hashes/esm/_u64.js.map +0 -1
  1063. package/node_modules/@noble/hashes/esm/argon2.d.ts +0 -32
  1064. package/node_modules/@noble/hashes/esm/argon2.d.ts.map +0 -1
  1065. package/node_modules/@noble/hashes/esm/argon2.js +0 -392
  1066. package/node_modules/@noble/hashes/esm/argon2.js.map +0 -1
  1067. package/node_modules/@noble/hashes/esm/blake1.d.ts +0 -106
  1068. package/node_modules/@noble/hashes/esm/blake1.d.ts.map +0 -1
  1069. package/node_modules/@noble/hashes/esm/blake1.js +0 -452
  1070. package/node_modules/@noble/hashes/esm/blake1.js.map +0 -1
  1071. package/node_modules/@noble/hashes/esm/blake2.d.ts +0 -116
  1072. package/node_modules/@noble/hashes/esm/blake2.d.ts.map +0 -1
  1073. package/node_modules/@noble/hashes/esm/blake2.js +0 -413
  1074. package/node_modules/@noble/hashes/esm/blake2.js.map +0 -1
  1075. package/node_modules/@noble/hashes/esm/blake2b.d.ts +0 -11
  1076. package/node_modules/@noble/hashes/esm/blake2b.d.ts.map +0 -1
  1077. package/node_modules/@noble/hashes/esm/blake2b.js +0 -11
  1078. package/node_modules/@noble/hashes/esm/blake2b.js.map +0 -1
  1079. package/node_modules/@noble/hashes/esm/blake2s.d.ts +0 -20
  1080. package/node_modules/@noble/hashes/esm/blake2s.d.ts.map +0 -1
  1081. package/node_modules/@noble/hashes/esm/blake2s.js +0 -21
  1082. package/node_modules/@noble/hashes/esm/blake2s.js.map +0 -1
  1083. package/node_modules/@noble/hashes/esm/blake3.d.ts +0 -54
  1084. package/node_modules/@noble/hashes/esm/blake3.d.ts.map +0 -1
  1085. package/node_modules/@noble/hashes/esm/blake3.js +0 -251
  1086. package/node_modules/@noble/hashes/esm/blake3.js.map +0 -1
  1087. package/node_modules/@noble/hashes/esm/crypto.d.ts +0 -2
  1088. package/node_modules/@noble/hashes/esm/crypto.d.ts.map +0 -1
  1089. package/node_modules/@noble/hashes/esm/crypto.js +0 -2
  1090. package/node_modules/@noble/hashes/esm/crypto.js.map +0 -1
  1091. package/node_modules/@noble/hashes/esm/cryptoNode.d.ts +0 -2
  1092. package/node_modules/@noble/hashes/esm/cryptoNode.d.ts.map +0 -1
  1093. package/node_modules/@noble/hashes/esm/cryptoNode.js +0 -15
  1094. package/node_modules/@noble/hashes/esm/cryptoNode.js.map +0 -1
  1095. package/node_modules/@noble/hashes/esm/eskdf.d.ts +0 -47
  1096. package/node_modules/@noble/hashes/esm/eskdf.d.ts.map +0 -1
  1097. package/node_modules/@noble/hashes/esm/eskdf.js +0 -160
  1098. package/node_modules/@noble/hashes/esm/eskdf.js.map +0 -1
  1099. package/node_modules/@noble/hashes/esm/hkdf.d.ts +0 -36
  1100. package/node_modules/@noble/hashes/esm/hkdf.d.ts.map +0 -1
  1101. package/node_modules/@noble/hashes/esm/hkdf.js +0 -82
  1102. package/node_modules/@noble/hashes/esm/hkdf.js.map +0 -1
  1103. package/node_modules/@noble/hashes/esm/hmac.d.ts +0 -35
  1104. package/node_modules/@noble/hashes/esm/hmac.d.ts.map +0 -1
  1105. package/node_modules/@noble/hashes/esm/hmac.js +0 -86
  1106. package/node_modules/@noble/hashes/esm/hmac.js.map +0 -1
  1107. package/node_modules/@noble/hashes/esm/index.d.ts +0 -2
  1108. package/node_modules/@noble/hashes/esm/index.d.ts.map +0 -1
  1109. package/node_modules/@noble/hashes/esm/index.js +0 -33
  1110. package/node_modules/@noble/hashes/esm/index.js.map +0 -1
  1111. package/node_modules/@noble/hashes/esm/legacy.d.ts +0 -71
  1112. package/node_modules/@noble/hashes/esm/legacy.d.ts.map +0 -1
  1113. package/node_modules/@noble/hashes/esm/legacy.js +0 -281
  1114. package/node_modules/@noble/hashes/esm/legacy.js.map +0 -1
  1115. package/node_modules/@noble/hashes/esm/package.json +0 -10
  1116. package/node_modules/@noble/hashes/esm/pbkdf2.d.ts +0 -23
  1117. package/node_modules/@noble/hashes/esm/pbkdf2.d.ts.map +0 -1
  1118. package/node_modules/@noble/hashes/esm/pbkdf2.js +0 -97
  1119. package/node_modules/@noble/hashes/esm/pbkdf2.js.map +0 -1
  1120. package/node_modules/@noble/hashes/esm/ripemd160.d.ts +0 -13
  1121. package/node_modules/@noble/hashes/esm/ripemd160.d.ts.map +0 -1
  1122. package/node_modules/@noble/hashes/esm/ripemd160.js +0 -13
  1123. package/node_modules/@noble/hashes/esm/ripemd160.js.map +0 -1
  1124. package/node_modules/@noble/hashes/esm/scrypt.d.ts +0 -34
  1125. package/node_modules/@noble/hashes/esm/scrypt.d.ts.map +0 -1
  1126. package/node_modules/@noble/hashes/esm/scrypt.js +0 -228
  1127. package/node_modules/@noble/hashes/esm/scrypt.js.map +0 -1
  1128. package/node_modules/@noble/hashes/esm/sha1.d.ts +0 -11
  1129. package/node_modules/@noble/hashes/esm/sha1.d.ts.map +0 -1
  1130. package/node_modules/@noble/hashes/esm/sha1.js +0 -11
  1131. package/node_modules/@noble/hashes/esm/sha1.js.map +0 -1
  1132. package/node_modules/@noble/hashes/esm/sha2.d.ts +0 -159
  1133. package/node_modules/@noble/hashes/esm/sha2.d.ts.map +0 -1
  1134. package/node_modules/@noble/hashes/esm/sha2.js +0 -375
  1135. package/node_modules/@noble/hashes/esm/sha2.js.map +0 -1
  1136. package/node_modules/@noble/hashes/esm/sha256.d.ts +0 -20
  1137. package/node_modules/@noble/hashes/esm/sha256.d.ts.map +0 -1
  1138. package/node_modules/@noble/hashes/esm/sha256.js +0 -20
  1139. package/node_modules/@noble/hashes/esm/sha256.js.map +0 -1
  1140. package/node_modules/@noble/hashes/esm/sha3-addons.d.ts +0 -142
  1141. package/node_modules/@noble/hashes/esm/sha3-addons.d.ts.map +0 -1
  1142. package/node_modules/@noble/hashes/esm/sha3-addons.js +0 -393
  1143. package/node_modules/@noble/hashes/esm/sha3-addons.js.map +0 -1
  1144. package/node_modules/@noble/hashes/esm/sha3.d.ts +0 -53
  1145. package/node_modules/@noble/hashes/esm/sha3.d.ts.map +0 -1
  1146. package/node_modules/@noble/hashes/esm/sha3.js +0 -234
  1147. package/node_modules/@noble/hashes/esm/sha3.js.map +0 -1
  1148. package/node_modules/@noble/hashes/esm/sha512.d.ts +0 -26
  1149. package/node_modules/@noble/hashes/esm/sha512.d.ts.map +0 -1
  1150. package/node_modules/@noble/hashes/esm/sha512.js +0 -26
  1151. package/node_modules/@noble/hashes/esm/sha512.js.map +0 -1
  1152. package/node_modules/@noble/hashes/esm/utils.d.ts +0 -161
  1153. package/node_modules/@noble/hashes/esm/utils.d.ts.map +0 -1
  1154. package/node_modules/@noble/hashes/esm/utils.js +0 -281
  1155. package/node_modules/@noble/hashes/esm/utils.js.map +0 -1
  1156. package/node_modules/@noble/hashes/hkdf.d.ts +0 -36
  1157. package/node_modules/@noble/hashes/hkdf.d.ts.map +0 -1
  1158. package/node_modules/@noble/hashes/hkdf.js +0 -88
  1159. package/node_modules/@noble/hashes/hkdf.js.map +0 -1
  1160. package/node_modules/@noble/hashes/hmac.d.ts +0 -35
  1161. package/node_modules/@noble/hashes/hmac.d.ts.map +0 -1
  1162. package/node_modules/@noble/hashes/hmac.js +0 -91
  1163. package/node_modules/@noble/hashes/hmac.js.map +0 -1
  1164. package/node_modules/@noble/hashes/index.d.ts +0 -1
  1165. package/node_modules/@noble/hashes/index.d.ts.map +0 -1
  1166. package/node_modules/@noble/hashes/index.js +0 -33
  1167. package/node_modules/@noble/hashes/index.js.map +0 -1
  1168. package/node_modules/@noble/hashes/legacy.d.ts +0 -71
  1169. package/node_modules/@noble/hashes/legacy.d.ts.map +0 -1
  1170. package/node_modules/@noble/hashes/legacy.js +0 -287
  1171. package/node_modules/@noble/hashes/legacy.js.map +0 -1
  1172. package/node_modules/@noble/hashes/package.json +0 -266
  1173. package/node_modules/@noble/hashes/pbkdf2.d.ts +0 -23
  1174. package/node_modules/@noble/hashes/pbkdf2.d.ts.map +0 -1
  1175. package/node_modules/@noble/hashes/pbkdf2.js +0 -101
  1176. package/node_modules/@noble/hashes/pbkdf2.js.map +0 -1
  1177. package/node_modules/@noble/hashes/ripemd160.d.ts +0 -13
  1178. package/node_modules/@noble/hashes/ripemd160.d.ts.map +0 -1
  1179. package/node_modules/@noble/hashes/ripemd160.js +0 -16
  1180. package/node_modules/@noble/hashes/ripemd160.js.map +0 -1
  1181. package/node_modules/@noble/hashes/scrypt.d.ts +0 -34
  1182. package/node_modules/@noble/hashes/scrypt.d.ts.map +0 -1
  1183. package/node_modules/@noble/hashes/scrypt.js +0 -232
  1184. package/node_modules/@noble/hashes/scrypt.js.map +0 -1
  1185. package/node_modules/@noble/hashes/sha1.d.ts +0 -11
  1186. package/node_modules/@noble/hashes/sha1.d.ts.map +0 -1
  1187. package/node_modules/@noble/hashes/sha1.js +0 -14
  1188. package/node_modules/@noble/hashes/sha1.js.map +0 -1
  1189. package/node_modules/@noble/hashes/sha2.d.ts +0 -159
  1190. package/node_modules/@noble/hashes/sha2.d.ts.map +0 -1
  1191. package/node_modules/@noble/hashes/sha2.js +0 -384
  1192. package/node_modules/@noble/hashes/sha2.js.map +0 -1
  1193. package/node_modules/@noble/hashes/sha256.d.ts +0 -20
  1194. package/node_modules/@noble/hashes/sha256.d.ts.map +0 -1
  1195. package/node_modules/@noble/hashes/sha256.js +0 -23
  1196. package/node_modules/@noble/hashes/sha256.js.map +0 -1
  1197. package/node_modules/@noble/hashes/sha3-addons.d.ts +0 -142
  1198. package/node_modules/@noble/hashes/sha3-addons.d.ts.map +0 -1
  1199. package/node_modules/@noble/hashes/sha3-addons.js +0 -402
  1200. package/node_modules/@noble/hashes/sha3-addons.js.map +0 -1
  1201. package/node_modules/@noble/hashes/sha3.d.ts +0 -53
  1202. package/node_modules/@noble/hashes/sha3.d.ts.map +0 -1
  1203. package/node_modules/@noble/hashes/sha3.js +0 -239
  1204. package/node_modules/@noble/hashes/sha3.js.map +0 -1
  1205. package/node_modules/@noble/hashes/sha512.d.ts +0 -26
  1206. package/node_modules/@noble/hashes/sha512.d.ts.map +0 -1
  1207. package/node_modules/@noble/hashes/sha512.js +0 -29
  1208. package/node_modules/@noble/hashes/sha512.js.map +0 -1
  1209. package/node_modules/@noble/hashes/src/_assert.ts +0 -22
  1210. package/node_modules/@noble/hashes/src/_blake.ts +0 -50
  1211. package/node_modules/@noble/hashes/src/_md.ts +0 -176
  1212. package/node_modules/@noble/hashes/src/_u64.ts +0 -91
  1213. package/node_modules/@noble/hashes/src/argon2.ts +0 -497
  1214. package/node_modules/@noble/hashes/src/blake1.ts +0 -534
  1215. package/node_modules/@noble/hashes/src/blake2.ts +0 -486
  1216. package/node_modules/@noble/hashes/src/blake2b.ts +0 -10
  1217. package/node_modules/@noble/hashes/src/blake2s.ts +0 -20
  1218. package/node_modules/@noble/hashes/src/blake3.ts +0 -272
  1219. package/node_modules/@noble/hashes/src/crypto.ts +0 -9
  1220. package/node_modules/@noble/hashes/src/cryptoNode.ts +0 -15
  1221. package/node_modules/@noble/hashes/src/eskdf.ts +0 -187
  1222. package/node_modules/@noble/hashes/src/hkdf.ts +0 -88
  1223. package/node_modules/@noble/hashes/src/hmac.ts +0 -94
  1224. package/node_modules/@noble/hashes/src/index.ts +0 -31
  1225. package/node_modules/@noble/hashes/src/legacy.ts +0 -293
  1226. package/node_modules/@noble/hashes/src/pbkdf2.ts +0 -122
  1227. package/node_modules/@noble/hashes/src/ripemd160.ts +0 -12
  1228. package/node_modules/@noble/hashes/src/scrypt.ts +0 -257
  1229. package/node_modules/@noble/hashes/src/sha1.ts +0 -10
  1230. package/node_modules/@noble/hashes/src/sha2.ts +0 -402
  1231. package/node_modules/@noble/hashes/src/sha256.ts +0 -24
  1232. package/node_modules/@noble/hashes/src/sha3-addons.ts +0 -499
  1233. package/node_modules/@noble/hashes/src/sha3.ts +0 -258
  1234. package/node_modules/@noble/hashes/src/sha512.ts +0 -34
  1235. package/node_modules/@noble/hashes/src/utils.ts +0 -395
  1236. package/node_modules/@noble/hashes/utils.d.ts +0 -161
  1237. package/node_modules/@noble/hashes/utils.d.ts.map +0 -1
  1238. package/node_modules/@noble/hashes/utils.js +0 -313
  1239. package/node_modules/@noble/hashes/utils.js.map +0 -1
  1240. package/node_modules/@solana/buffer-layout/LICENSE +0 -21
  1241. package/node_modules/@solana/buffer-layout/README.md +0 -403
  1242. package/node_modules/@solana/buffer-layout/lib/Layout.d.ts +0 -1191
  1243. package/node_modules/@solana/buffer-layout/lib/Layout.js +0 -2390
  1244. package/node_modules/@solana/buffer-layout/lib/Layout.js.map +0 -1
  1245. package/node_modules/@solana/buffer-layout/package.json +0 -55
  1246. package/node_modules/@solana/web3.js/LICENSE +0 -20
  1247. package/node_modules/@solana/web3.js/README.md +0 -145
  1248. package/node_modules/@solana/web3.js/lib/index.browser.cjs.js +0 -10562
  1249. package/node_modules/@solana/web3.js/lib/index.browser.cjs.js.map +0 -1
  1250. package/node_modules/@solana/web3.js/lib/index.browser.esm.js +0 -10461
  1251. package/node_modules/@solana/web3.js/lib/index.browser.esm.js.map +0 -1
  1252. package/node_modules/@solana/web3.js/lib/index.cjs.js +0 -11311
  1253. package/node_modules/@solana/web3.js/lib/index.cjs.js.map +0 -1
  1254. package/node_modules/@solana/web3.js/lib/index.d.ts +0 -4021
  1255. package/node_modules/@solana/web3.js/lib/index.esm.js +0 -11206
  1256. package/node_modules/@solana/web3.js/lib/index.esm.js.map +0 -1
  1257. package/node_modules/@solana/web3.js/lib/index.iife.js +0 -26083
  1258. package/node_modules/@solana/web3.js/lib/index.iife.js.map +0 -1
  1259. package/node_modules/@solana/web3.js/lib/index.iife.min.js +0 -20
  1260. package/node_modules/@solana/web3.js/lib/index.iife.min.js.map +0 -1
  1261. package/node_modules/@solana/web3.js/lib/index.native.js +0 -10562
  1262. package/node_modules/@solana/web3.js/lib/index.native.js.map +0 -1
  1263. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/LICENSE +0 -20
  1264. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/README.md +0 -662
  1265. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.cjs +0 -504
  1266. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.cjs.map +0 -1
  1267. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.mjs +0 -460
  1268. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.mjs.map +0 -1
  1269. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.native.mjs +0 -460
  1270. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.native.mjs.map +0 -1
  1271. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.cjs +0 -504
  1272. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.cjs.map +0 -1
  1273. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.mjs +0 -460
  1274. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.mjs.map +0 -1
  1275. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts +0 -70
  1276. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts.map +0 -1
  1277. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts +0 -67
  1278. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts.map +0 -1
  1279. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/assertions.d.ts +0 -62
  1280. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/assertions.d.ts.map +0 -1
  1281. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/bytes.d.ts +0 -92
  1282. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/bytes.d.ts.map +0 -1
  1283. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/codec.d.ts +0 -827
  1284. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/codec.d.ts.map +0 -1
  1285. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts +0 -75
  1286. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts.map +0 -1
  1287. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts +0 -111
  1288. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts.map +0 -1
  1289. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/index.d.ts +0 -667
  1290. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/index.d.ts.map +0 -1
  1291. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts +0 -328
  1292. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts.map +0 -1
  1293. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts +0 -162
  1294. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts.map +0 -1
  1295. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts +0 -19
  1296. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts.map +0 -1
  1297. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts +0 -129
  1298. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts.map +0 -1
  1299. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts +0 -92
  1300. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts.map +0 -1
  1301. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts +0 -114
  1302. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts.map +0 -1
  1303. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/package.json +0 -83
  1304. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/LICENSE +0 -20
  1305. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/README.md +0 -130
  1306. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.cjs +0 -331
  1307. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.cjs.map +0 -1
  1308. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.mjs +0 -289
  1309. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.mjs.map +0 -1
  1310. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.native.mjs +0 -289
  1311. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.native.mjs.map +0 -1
  1312. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.cjs +0 -331
  1313. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.cjs.map +0 -1
  1314. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.mjs +0 -289
  1315. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.mjs.map +0 -1
  1316. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts +0 -27
  1317. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts.map +0 -1
  1318. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/common.d.ts +0 -84
  1319. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/common.d.ts.map +0 -1
  1320. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts +0 -87
  1321. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts.map +0 -1
  1322. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts +0 -87
  1323. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts.map +0 -1
  1324. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts +0 -91
  1325. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts.map +0 -1
  1326. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts +0 -87
  1327. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts.map +0 -1
  1328. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts +0 -87
  1329. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts.map +0 -1
  1330. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts +0 -90
  1331. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts.map +0 -1
  1332. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts +0 -75
  1333. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts.map +0 -1
  1334. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/index.d.ts +0 -26
  1335. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/index.d.ts.map +0 -1
  1336. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts +0 -96
  1337. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts.map +0 -1
  1338. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts +0 -87
  1339. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts.map +0 -1
  1340. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts +0 -85
  1341. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts.map +0 -1
  1342. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts +0 -85
  1343. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts.map +0 -1
  1344. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts +0 -88
  1345. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts.map +0 -1
  1346. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts +0 -71
  1347. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts.map +0 -1
  1348. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts +0 -18
  1349. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts.map +0 -1
  1350. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/package.json +0 -83
  1351. package/node_modules/@solana/web3.js/node_modules/@solana/errors/LICENSE +0 -20
  1352. package/node_modules/@solana/web3.js/node_modules/@solana/errors/README.md +0 -87
  1353. package/node_modules/@solana/web3.js/node_modules/@solana/errors/bin/cli.mjs +0 -7
  1354. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/cli.mjs +0 -570
  1355. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.cjs +0 -1084
  1356. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.cjs.map +0 -1
  1357. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.mjs +0 -852
  1358. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.mjs.map +0 -1
  1359. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.native.mjs +0 -852
  1360. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.native.mjs.map +0 -1
  1361. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.cjs +0 -1084
  1362. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.cjs.map +0 -1
  1363. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.mjs +0 -852
  1364. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.mjs.map +0 -1
  1365. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/codes.d.ts +0 -275
  1366. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/codes.d.ts.map +0 -1
  1367. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/context.d.ts +0 -398
  1368. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/context.d.ts.map +0 -1
  1369. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/error.d.ts +0 -75
  1370. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/error.d.ts.map +0 -1
  1371. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/index.d.ts +0 -72
  1372. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/index.d.ts.map +0 -1
  1373. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/instruction-error.d.ts +0 -9
  1374. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/instruction-error.d.ts.map +0 -1
  1375. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts +0 -51
  1376. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts.map +0 -1
  1377. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/message-formatter.d.ts +0 -4
  1378. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/message-formatter.d.ts.map +0 -1
  1379. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/messages.d.ts +0 -16
  1380. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/messages.d.ts.map +0 -1
  1381. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts +0 -31
  1382. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts.map +0 -1
  1383. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/stack-trace.d.ts +0 -2
  1384. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/stack-trace.d.ts.map +0 -1
  1385. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/transaction-error.d.ts +0 -5
  1386. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/transaction-error.d.ts.map +0 -1
  1387. package/node_modules/@solana/web3.js/node_modules/@solana/errors/package.json +0 -84
  1388. package/node_modules/@solana/web3.js/node_modules/commander/LICENSE +0 -22
  1389. package/node_modules/@solana/web3.js/node_modules/commander/Readme.md +0 -1149
  1390. package/node_modules/@solana/web3.js/node_modules/commander/esm.mjs +0 -16
  1391. package/node_modules/@solana/web3.js/node_modules/commander/index.js +0 -24
  1392. package/node_modules/@solana/web3.js/node_modules/commander/lib/argument.js +0 -149
  1393. package/node_modules/@solana/web3.js/node_modules/commander/lib/command.js +0 -2662
  1394. package/node_modules/@solana/web3.js/node_modules/commander/lib/error.js +0 -39
  1395. package/node_modules/@solana/web3.js/node_modules/commander/lib/help.js +0 -709
  1396. package/node_modules/@solana/web3.js/node_modules/commander/lib/option.js +0 -367
  1397. package/node_modules/@solana/web3.js/node_modules/commander/lib/suggestSimilar.js +0 -101
  1398. package/node_modules/@solana/web3.js/node_modules/commander/package-support.json +0 -16
  1399. package/node_modules/@solana/web3.js/node_modules/commander/package.json +0 -82
  1400. package/node_modules/@solana/web3.js/node_modules/commander/typings/esm.d.mts +0 -3
  1401. package/node_modules/@solana/web3.js/node_modules/commander/typings/index.d.ts +0 -1045
  1402. package/node_modules/@solana/web3.js/node_modules/superstruct/License.md +0 -9
  1403. package/node_modules/@solana/web3.js/node_modules/superstruct/Readme.md +0 -230
  1404. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/error.d.ts +0 -33
  1405. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/error.d.ts.map +0 -1
  1406. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.cjs +0 -1084
  1407. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.cjs.map +0 -1
  1408. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.d.ts +0 -7
  1409. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.d.ts.map +0 -1
  1410. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.mjs +0 -1026
  1411. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.mjs.map +0 -1
  1412. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/struct.d.ts +0 -119
  1413. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/struct.d.ts.map +0 -1
  1414. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/coercions.d.ts +0 -29
  1415. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/coercions.d.ts.map +0 -1
  1416. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/refinements.d.ts +0 -38
  1417. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/refinements.d.ts.map +0 -1
  1418. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/types.d.ts +0 -142
  1419. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/types.d.ts.map +0 -1
  1420. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/utilities.d.ts +0 -66
  1421. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/utilities.d.ts.map +0 -1
  1422. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/utils.d.ts +0 -144
  1423. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/utils.d.ts.map +0 -1
  1424. package/node_modules/@solana/web3.js/node_modules/superstruct/package.json +0 -85
  1425. package/node_modules/@solana/web3.js/package.json +0 -75
  1426. package/node_modules/@solana/web3.js/src/__forks__/browser/fetch-impl.ts +0 -4
  1427. package/node_modules/@solana/web3.js/src/__forks__/react-native/fetch-impl.ts +0 -4
  1428. package/node_modules/@solana/web3.js/src/account-data.ts +0 -39
  1429. package/node_modules/@solana/web3.js/src/account.ts +0 -55
  1430. package/node_modules/@solana/web3.js/src/blockhash.ts +0 -4
  1431. package/node_modules/@solana/web3.js/src/bpf-loader-deprecated.ts +0 -5
  1432. package/node_modules/@solana/web3.js/src/bpf-loader.ts +0 -50
  1433. package/node_modules/@solana/web3.js/src/connection.ts +0 -6955
  1434. package/node_modules/@solana/web3.js/src/epoch-schedule.ts +0 -102
  1435. package/node_modules/@solana/web3.js/src/errors.ts +0 -133
  1436. package/node_modules/@solana/web3.js/src/fee-calculator.ts +0 -18
  1437. package/node_modules/@solana/web3.js/src/fetch-impl.ts +0 -16
  1438. package/node_modules/@solana/web3.js/src/index.ts +0 -24
  1439. package/node_modules/@solana/web3.js/src/instruction.ts +0 -58
  1440. package/node_modules/@solana/web3.js/src/keypair.ts +0 -102
  1441. package/node_modules/@solana/web3.js/src/layout.ts +0 -188
  1442. package/node_modules/@solana/web3.js/src/loader.ts +0 -267
  1443. package/node_modules/@solana/web3.js/src/message/account-keys.ts +0 -79
  1444. package/node_modules/@solana/web3.js/src/message/compiled-keys.ts +0 -165
  1445. package/node_modules/@solana/web3.js/src/message/index.ts +0 -47
  1446. package/node_modules/@solana/web3.js/src/message/legacy.ts +0 -323
  1447. package/node_modules/@solana/web3.js/src/message/v0.ts +0 -513
  1448. package/node_modules/@solana/web3.js/src/message/versioned.ts +0 -36
  1449. package/node_modules/@solana/web3.js/src/nonce-account.ts +0 -82
  1450. package/node_modules/@solana/web3.js/src/programs/address-lookup-table/index.ts +0 -438
  1451. package/node_modules/@solana/web3.js/src/programs/address-lookup-table/state.ts +0 -84
  1452. package/node_modules/@solana/web3.js/src/programs/compute-budget.ts +0 -281
  1453. package/node_modules/@solana/web3.js/src/programs/ed25519.ts +0 -157
  1454. package/node_modules/@solana/web3.js/src/programs/index.ts +0 -7
  1455. package/node_modules/@solana/web3.js/src/programs/secp256k1.ts +0 -228
  1456. package/node_modules/@solana/web3.js/src/programs/stake.ts +0 -952
  1457. package/node_modules/@solana/web3.js/src/programs/system.ts +0 -1048
  1458. package/node_modules/@solana/web3.js/src/programs/vote.ts +0 -586
  1459. package/node_modules/@solana/web3.js/src/publickey.ts +0 -259
  1460. package/node_modules/@solana/web3.js/src/rpc-websocket.ts +0 -75
  1461. package/node_modules/@solana/web3.js/src/sysvar.ts +0 -37
  1462. package/node_modules/@solana/web3.js/src/timing.ts +0 -23
  1463. package/node_modules/@solana/web3.js/src/transaction/constants.ts +0 -12
  1464. package/node_modules/@solana/web3.js/src/transaction/expiry-custom-errors.ts +0 -48
  1465. package/node_modules/@solana/web3.js/src/transaction/index.ts +0 -5
  1466. package/node_modules/@solana/web3.js/src/transaction/legacy.ts +0 -970
  1467. package/node_modules/@solana/web3.js/src/transaction/message.ts +0 -140
  1468. package/node_modules/@solana/web3.js/src/transaction/versioned.ts +0 -127
  1469. package/node_modules/@solana/web3.js/src/utils/assert.ts +0 -8
  1470. package/node_modules/@solana/web3.js/src/utils/bigint.ts +0 -24
  1471. package/node_modules/@solana/web3.js/src/utils/borsh-schema.ts +0 -38
  1472. package/node_modules/@solana/web3.js/src/utils/cluster.ts +0 -35
  1473. package/node_modules/@solana/web3.js/src/utils/ed25519.ts +0 -43
  1474. package/node_modules/@solana/web3.js/src/utils/guarded-array-utils.ts +0 -34
  1475. package/node_modules/@solana/web3.js/src/utils/index.ts +0 -5
  1476. package/node_modules/@solana/web3.js/src/utils/makeWebsocketUrl.ts +0 -26
  1477. package/node_modules/@solana/web3.js/src/utils/promise-timeout.ts +0 -14
  1478. package/node_modules/@solana/web3.js/src/utils/secp256k1.ts +0 -11
  1479. package/node_modules/@solana/web3.js/src/utils/send-and-confirm-raw-transaction.ts +0 -110
  1480. package/node_modules/@solana/web3.js/src/utils/send-and-confirm-transaction.ts +0 -106
  1481. package/node_modules/@solana/web3.js/src/utils/shortvec-encoding.ts +0 -28
  1482. package/node_modules/@solana/web3.js/src/utils/sleep.ts +0 -4
  1483. package/node_modules/@solana/web3.js/src/utils/to-buffer.ts +0 -11
  1484. package/node_modules/@solana/web3.js/src/validator-info.ts +0 -108
  1485. package/node_modules/@solana/web3.js/src/vote-account.ts +0 -236
  1486. package/node_modules/@swc/helpers/LICENSE +0 -201
  1487. package/node_modules/@swc/helpers/_/_apply_decorated_descriptor/package.json +0 -4
  1488. package/node_modules/@swc/helpers/_/_apply_decs_2203_r/package.json +0 -4
  1489. package/node_modules/@swc/helpers/_/_array_like_to_array/package.json +0 -4
  1490. package/node_modules/@swc/helpers/_/_array_with_holes/package.json +0 -4
  1491. package/node_modules/@swc/helpers/_/_array_without_holes/package.json +0 -4
  1492. package/node_modules/@swc/helpers/_/_assert_this_initialized/package.json +0 -4
  1493. package/node_modules/@swc/helpers/_/_async_generator/package.json +0 -4
  1494. package/node_modules/@swc/helpers/_/_async_generator_delegate/package.json +0 -4
  1495. package/node_modules/@swc/helpers/_/_async_iterator/package.json +0 -4
  1496. package/node_modules/@swc/helpers/_/_async_to_generator/package.json +0 -4
  1497. package/node_modules/@swc/helpers/_/_await_async_generator/package.json +0 -4
  1498. package/node_modules/@swc/helpers/_/_await_value/package.json +0 -4
  1499. package/node_modules/@swc/helpers/_/_call_super/package.json +0 -4
  1500. package/node_modules/@swc/helpers/_/_check_private_redeclaration/package.json +0 -4
  1501. package/node_modules/@swc/helpers/_/_class_apply_descriptor_destructure/package.json +0 -4
  1502. package/node_modules/@swc/helpers/_/_class_apply_descriptor_get/package.json +0 -4
  1503. package/node_modules/@swc/helpers/_/_class_apply_descriptor_set/package.json +0 -4
  1504. package/node_modules/@swc/helpers/_/_class_apply_descriptor_update/package.json +0 -4
  1505. package/node_modules/@swc/helpers/_/_class_call_check/package.json +0 -4
  1506. package/node_modules/@swc/helpers/_/_class_check_private_static_access/package.json +0 -4
  1507. package/node_modules/@swc/helpers/_/_class_check_private_static_field_descriptor/package.json +0 -4
  1508. package/node_modules/@swc/helpers/_/_class_extract_field_descriptor/package.json +0 -4
  1509. package/node_modules/@swc/helpers/_/_class_name_tdz_error/package.json +0 -4
  1510. package/node_modules/@swc/helpers/_/_class_private_field_destructure/package.json +0 -4
  1511. package/node_modules/@swc/helpers/_/_class_private_field_get/package.json +0 -4
  1512. package/node_modules/@swc/helpers/_/_class_private_field_init/package.json +0 -4
  1513. package/node_modules/@swc/helpers/_/_class_private_field_loose_base/package.json +0 -4
  1514. package/node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json +0 -4
  1515. package/node_modules/@swc/helpers/_/_class_private_field_set/package.json +0 -4
  1516. package/node_modules/@swc/helpers/_/_class_private_field_update/package.json +0 -4
  1517. package/node_modules/@swc/helpers/_/_class_private_method_get/package.json +0 -4
  1518. package/node_modules/@swc/helpers/_/_class_private_method_init/package.json +0 -4
  1519. package/node_modules/@swc/helpers/_/_class_private_method_set/package.json +0 -4
  1520. package/node_modules/@swc/helpers/_/_class_static_private_field_destructure/package.json +0 -4
  1521. package/node_modules/@swc/helpers/_/_class_static_private_field_spec_get/package.json +0 -4
  1522. package/node_modules/@swc/helpers/_/_class_static_private_field_spec_set/package.json +0 -4
  1523. package/node_modules/@swc/helpers/_/_class_static_private_field_update/package.json +0 -4
  1524. package/node_modules/@swc/helpers/_/_class_static_private_method_get/package.json +0 -4
  1525. package/node_modules/@swc/helpers/_/_construct/package.json +0 -4
  1526. package/node_modules/@swc/helpers/_/_create_class/package.json +0 -4
  1527. package/node_modules/@swc/helpers/_/_create_for_of_iterator_helper_loose/package.json +0 -4
  1528. package/node_modules/@swc/helpers/_/_create_super/package.json +0 -4
  1529. package/node_modules/@swc/helpers/_/_decorate/package.json +0 -4
  1530. package/node_modules/@swc/helpers/_/_defaults/package.json +0 -4
  1531. package/node_modules/@swc/helpers/_/_define_enumerable_properties/package.json +0 -4
  1532. package/node_modules/@swc/helpers/_/_define_property/package.json +0 -4
  1533. package/node_modules/@swc/helpers/_/_dispose/package.json +0 -4
  1534. package/node_modules/@swc/helpers/_/_export_star/package.json +0 -4
  1535. package/node_modules/@swc/helpers/_/_extends/package.json +0 -4
  1536. package/node_modules/@swc/helpers/_/_get/package.json +0 -4
  1537. package/node_modules/@swc/helpers/_/_get_prototype_of/package.json +0 -4
  1538. package/node_modules/@swc/helpers/_/_identity/package.json +0 -4
  1539. package/node_modules/@swc/helpers/_/_inherits/package.json +0 -4
  1540. package/node_modules/@swc/helpers/_/_inherits_loose/package.json +0 -4
  1541. package/node_modules/@swc/helpers/_/_initializer_define_property/package.json +0 -4
  1542. package/node_modules/@swc/helpers/_/_initializer_warning_helper/package.json +0 -4
  1543. package/node_modules/@swc/helpers/_/_instanceof/package.json +0 -4
  1544. package/node_modules/@swc/helpers/_/_interop_require_default/package.json +0 -4
  1545. package/node_modules/@swc/helpers/_/_interop_require_wildcard/package.json +0 -4
  1546. package/node_modules/@swc/helpers/_/_is_native_function/package.json +0 -4
  1547. package/node_modules/@swc/helpers/_/_is_native_reflect_construct/package.json +0 -4
  1548. package/node_modules/@swc/helpers/_/_iterable_to_array/package.json +0 -4
  1549. package/node_modules/@swc/helpers/_/_iterable_to_array_limit/package.json +0 -4
  1550. package/node_modules/@swc/helpers/_/_iterable_to_array_limit_loose/package.json +0 -4
  1551. package/node_modules/@swc/helpers/_/_jsx/package.json +0 -4
  1552. package/node_modules/@swc/helpers/_/_new_arrow_check/package.json +0 -4
  1553. package/node_modules/@swc/helpers/_/_non_iterable_rest/package.json +0 -4
  1554. package/node_modules/@swc/helpers/_/_non_iterable_spread/package.json +0 -4
  1555. package/node_modules/@swc/helpers/_/_object_destructuring_empty/package.json +0 -4
  1556. package/node_modules/@swc/helpers/_/_object_spread/package.json +0 -4
  1557. package/node_modules/@swc/helpers/_/_object_spread_props/package.json +0 -4
  1558. package/node_modules/@swc/helpers/_/_object_without_properties/package.json +0 -4
  1559. package/node_modules/@swc/helpers/_/_object_without_properties_loose/package.json +0 -4
  1560. package/node_modules/@swc/helpers/_/_overload_yield/package.json +0 -4
  1561. package/node_modules/@swc/helpers/_/_possible_constructor_return/package.json +0 -4
  1562. package/node_modules/@swc/helpers/_/_read_only_error/package.json +0 -4
  1563. package/node_modules/@swc/helpers/_/_set/package.json +0 -4
  1564. package/node_modules/@swc/helpers/_/_set_prototype_of/package.json +0 -4
  1565. package/node_modules/@swc/helpers/_/_skip_first_generator_next/package.json +0 -4
  1566. package/node_modules/@swc/helpers/_/_sliced_to_array/package.json +0 -4
  1567. package/node_modules/@swc/helpers/_/_sliced_to_array_loose/package.json +0 -4
  1568. package/node_modules/@swc/helpers/_/_super_prop_base/package.json +0 -4
  1569. package/node_modules/@swc/helpers/_/_tagged_template_literal/package.json +0 -4
  1570. package/node_modules/@swc/helpers/_/_tagged_template_literal_loose/package.json +0 -4
  1571. package/node_modules/@swc/helpers/_/_throw/package.json +0 -4
  1572. package/node_modules/@swc/helpers/_/_to_array/package.json +0 -4
  1573. package/node_modules/@swc/helpers/_/_to_consumable_array/package.json +0 -4
  1574. package/node_modules/@swc/helpers/_/_to_primitive/package.json +0 -4
  1575. package/node_modules/@swc/helpers/_/_to_property_key/package.json +0 -4
  1576. package/node_modules/@swc/helpers/_/_ts_add_disposable_resource/package.json +0 -4
  1577. package/node_modules/@swc/helpers/_/_ts_decorate/package.json +0 -4
  1578. package/node_modules/@swc/helpers/_/_ts_dispose_resources/package.json +0 -4
  1579. package/node_modules/@swc/helpers/_/_ts_generator/package.json +0 -4
  1580. package/node_modules/@swc/helpers/_/_ts_metadata/package.json +0 -4
  1581. package/node_modules/@swc/helpers/_/_ts_param/package.json +0 -4
  1582. package/node_modules/@swc/helpers/_/_ts_values/package.json +0 -4
  1583. package/node_modules/@swc/helpers/_/_type_of/package.json +0 -4
  1584. package/node_modules/@swc/helpers/_/_unsupported_iterable_to_array/package.json +0 -4
  1585. package/node_modules/@swc/helpers/_/_update/package.json +0 -4
  1586. package/node_modules/@swc/helpers/_/_using/package.json +0 -4
  1587. package/node_modules/@swc/helpers/_/_using_ctx/package.json +0 -4
  1588. package/node_modules/@swc/helpers/_/_wrap_async_generator/package.json +0 -4
  1589. package/node_modules/@swc/helpers/_/_wrap_native_super/package.json +0 -4
  1590. package/node_modules/@swc/helpers/_/_write_only_error/package.json +0 -4
  1591. package/node_modules/@swc/helpers/_/index/package.json +0 -4
  1592. package/node_modules/@swc/helpers/cjs/_apply_decorated_descriptor.cjs +0 -35
  1593. package/node_modules/@swc/helpers/cjs/_apply_decs_2203_r.cjs +0 -550
  1594. package/node_modules/@swc/helpers/cjs/_array_like_to_array.cjs +0 -10
  1595. package/node_modules/@swc/helpers/cjs/_array_with_holes.cjs +0 -6
  1596. package/node_modules/@swc/helpers/cjs/_array_without_holes.cjs +0 -8
  1597. package/node_modules/@swc/helpers/cjs/_assert_this_initialized.cjs +0 -8
  1598. package/node_modules/@swc/helpers/cjs/_async_generator.cjs +0 -76
  1599. package/node_modules/@swc/helpers/cjs/_async_generator_delegate.cjs +0 -53
  1600. package/node_modules/@swc/helpers/cjs/_async_iterator.cjs +0 -46
  1601. package/node_modules/@swc/helpers/cjs/_async_to_generator.cjs +0 -33
  1602. package/node_modules/@swc/helpers/cjs/_await_async_generator.cjs +0 -8
  1603. package/node_modules/@swc/helpers/cjs/_await_value.cjs +0 -6
  1604. package/node_modules/@swc/helpers/cjs/_call_super.cjs +0 -19
  1605. package/node_modules/@swc/helpers/cjs/_check_private_redeclaration.cjs +0 -8
  1606. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_destructure.cjs +0 -25
  1607. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_get.cjs +0 -8
  1608. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_set.cjs +0 -15
  1609. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_update.cjs +0 -30
  1610. package/node_modules/@swc/helpers/cjs/_class_call_check.cjs +0 -6
  1611. package/node_modules/@swc/helpers/cjs/_class_check_private_static_access.cjs +0 -6
  1612. package/node_modules/@swc/helpers/cjs/_class_check_private_static_field_descriptor.cjs +0 -8
  1613. package/node_modules/@swc/helpers/cjs/_class_extract_field_descriptor.cjs +0 -8
  1614. package/node_modules/@swc/helpers/cjs/_class_name_tdz_error.cjs +0 -6
  1615. package/node_modules/@swc/helpers/cjs/_class_private_field_destructure.cjs +0 -10
  1616. package/node_modules/@swc/helpers/cjs/_class_private_field_get.cjs +0 -10
  1617. package/node_modules/@swc/helpers/cjs/_class_private_field_init.cjs +0 -9
  1618. package/node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs +0 -10
  1619. package/node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs +0 -8
  1620. package/node_modules/@swc/helpers/cjs/_class_private_field_set.cjs +0 -11
  1621. package/node_modules/@swc/helpers/cjs/_class_private_field_update.cjs +0 -10
  1622. package/node_modules/@swc/helpers/cjs/_class_private_method_get.cjs +0 -8
  1623. package/node_modules/@swc/helpers/cjs/_class_private_method_init.cjs +0 -9
  1624. package/node_modules/@swc/helpers/cjs/_class_private_method_set.cjs +0 -6
  1625. package/node_modules/@swc/helpers/cjs/_class_static_private_field_destructure.cjs +0 -13
  1626. package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_get.cjs +0 -13
  1627. package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_set.cjs +0 -14
  1628. package/node_modules/@swc/helpers/cjs/_class_static_private_field_update.cjs +0 -13
  1629. package/node_modules/@swc/helpers/cjs/_class_static_private_method_get.cjs +0 -10
  1630. package/node_modules/@swc/helpers/cjs/_construct.cjs +0 -22
  1631. package/node_modules/@swc/helpers/cjs/_create_class.cjs +0 -20
  1632. package/node_modules/@swc/helpers/cjs/_create_for_of_iterator_helper_loose.cjs +0 -24
  1633. package/node_modules/@swc/helpers/cjs/_create_super.cjs +0 -23
  1634. package/node_modules/@swc/helpers/cjs/_decorate.cjs +0 -270
  1635. package/node_modules/@swc/helpers/cjs/_defaults.cjs +0 -15
  1636. package/node_modules/@swc/helpers/cjs/_define_enumerable_properties.cjs +0 -26
  1637. package/node_modules/@swc/helpers/cjs/_define_property.cjs +0 -10
  1638. package/node_modules/@swc/helpers/cjs/_dispose.cjs +0 -43
  1639. package/node_modules/@swc/helpers/cjs/_export_star.cjs +0 -17
  1640. package/node_modules/@swc/helpers/cjs/_extends.cjs +0 -15
  1641. package/node_modules/@swc/helpers/cjs/_get.cjs +0 -23
  1642. package/node_modules/@swc/helpers/cjs/_get_prototype_of.cjs +0 -10
  1643. package/node_modules/@swc/helpers/cjs/_identity.cjs +0 -7
  1644. package/node_modules/@swc/helpers/cjs/_inherits.cjs +0 -14
  1645. package/node_modules/@swc/helpers/cjs/_inherits_loose.cjs +0 -8
  1646. package/node_modules/@swc/helpers/cjs/_initializer_define_property.cjs +0 -13
  1647. package/node_modules/@swc/helpers/cjs/_initializer_warning_helper.cjs +0 -11
  1648. package/node_modules/@swc/helpers/cjs/_instanceof.cjs +0 -8
  1649. package/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +0 -6
  1650. package/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +0 -38
  1651. package/node_modules/@swc/helpers/cjs/_is_native_function.cjs +0 -6
  1652. package/node_modules/@swc/helpers/cjs/_is_native_reflect_construct.cjs +0 -18
  1653. package/node_modules/@swc/helpers/cjs/_iterable_to_array.cjs +0 -8
  1654. package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit.cjs +0 -31
  1655. package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit_loose.cjs +0 -17
  1656. package/node_modules/@swc/helpers/cjs/_jsx.cjs +0 -28
  1657. package/node_modules/@swc/helpers/cjs/_new_arrow_check.cjs +0 -6
  1658. package/node_modules/@swc/helpers/cjs/_non_iterable_rest.cjs +0 -6
  1659. package/node_modules/@swc/helpers/cjs/_non_iterable_spread.cjs +0 -6
  1660. package/node_modules/@swc/helpers/cjs/_object_destructuring_empty.cjs +0 -8
  1661. package/node_modules/@swc/helpers/cjs/_object_spread.cjs +0 -25
  1662. package/node_modules/@swc/helpers/cjs/_object_spread_props.cjs +0 -30
  1663. package/node_modules/@swc/helpers/cjs/_object_without_properties.cjs +0 -23
  1664. package/node_modules/@swc/helpers/cjs/_object_without_properties_loose.cjs +0 -18
  1665. package/node_modules/@swc/helpers/cjs/_overload_yield.cjs +0 -8
  1666. package/node_modules/@swc/helpers/cjs/_possible_constructor_return.cjs +0 -11
  1667. package/node_modules/@swc/helpers/cjs/_read_only_error.cjs +0 -6
  1668. package/node_modules/@swc/helpers/cjs/_set.cjs +0 -44
  1669. package/node_modules/@swc/helpers/cjs/_set_prototype_of.cjs +0 -12
  1670. package/node_modules/@swc/helpers/cjs/_skip_first_generator_next.cjs +0 -11
  1671. package/node_modules/@swc/helpers/cjs/_sliced_to_array.cjs +0 -11
  1672. package/node_modules/@swc/helpers/cjs/_sliced_to_array_loose.cjs +0 -11
  1673. package/node_modules/@swc/helpers/cjs/_super_prop_base.cjs +0 -13
  1674. package/node_modules/@swc/helpers/cjs/_tagged_template_literal.cjs +0 -8
  1675. package/node_modules/@swc/helpers/cjs/_tagged_template_literal_loose.cjs +0 -10
  1676. package/node_modules/@swc/helpers/cjs/_throw.cjs +0 -6
  1677. package/node_modules/@swc/helpers/cjs/_to_array.cjs +0 -11
  1678. package/node_modules/@swc/helpers/cjs/_to_consumable_array.cjs +0 -11
  1679. package/node_modules/@swc/helpers/cjs/_to_primitive.cjs +0 -18
  1680. package/node_modules/@swc/helpers/cjs/_to_property_key.cjs +0 -11
  1681. package/node_modules/@swc/helpers/cjs/_ts_add_disposable_resource.cjs +0 -3
  1682. package/node_modules/@swc/helpers/cjs/_ts_decorate.cjs +0 -3
  1683. package/node_modules/@swc/helpers/cjs/_ts_dispose_resources.cjs +0 -3
  1684. package/node_modules/@swc/helpers/cjs/_ts_generator.cjs +0 -3
  1685. package/node_modules/@swc/helpers/cjs/_ts_metadata.cjs +0 -3
  1686. package/node_modules/@swc/helpers/cjs/_ts_param.cjs +0 -3
  1687. package/node_modules/@swc/helpers/cjs/_ts_values.cjs +0 -3
  1688. package/node_modules/@swc/helpers/cjs/_type_of.cjs +0 -8
  1689. package/node_modules/@swc/helpers/cjs/_unsupported_iterable_to_array.cjs +0 -15
  1690. package/node_modules/@swc/helpers/cjs/_update.cjs +0 -16
  1691. package/node_modules/@swc/helpers/cjs/_using.cjs +0 -24
  1692. package/node_modules/@swc/helpers/cjs/_using_ctx.cjs +0 -75
  1693. package/node_modules/@swc/helpers/cjs/_wrap_async_generator.cjs +0 -10
  1694. package/node_modules/@swc/helpers/cjs/_wrap_native_super.cjs +0 -28
  1695. package/node_modules/@swc/helpers/cjs/_write_only_error.cjs +0 -6
  1696. package/node_modules/@swc/helpers/cjs/index.cjs +0 -427
  1697. package/node_modules/@swc/helpers/esm/_apply_decorated_descriptor.js +0 -33
  1698. package/node_modules/@swc/helpers/esm/_apply_decs_2203_r.js +0 -548
  1699. package/node_modules/@swc/helpers/esm/_array_like_to_array.js +0 -8
  1700. package/node_modules/@swc/helpers/esm/_array_with_holes.js +0 -4
  1701. package/node_modules/@swc/helpers/esm/_array_without_holes.js +0 -6
  1702. package/node_modules/@swc/helpers/esm/_assert_this_initialized.js +0 -6
  1703. package/node_modules/@swc/helpers/esm/_async_generator.js +0 -74
  1704. package/node_modules/@swc/helpers/esm/_async_generator_delegate.js +0 -51
  1705. package/node_modules/@swc/helpers/esm/_async_iterator.js +0 -44
  1706. package/node_modules/@swc/helpers/esm/_async_to_generator.js +0 -31
  1707. package/node_modules/@swc/helpers/esm/_await_async_generator.js +0 -6
  1708. package/node_modules/@swc/helpers/esm/_await_value.js +0 -4
  1709. package/node_modules/@swc/helpers/esm/_call_super.js +0 -17
  1710. package/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +0 -6
  1711. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_destructure.js +0 -23
  1712. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.js +0 -6
  1713. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.js +0 -13
  1714. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_update.js +0 -28
  1715. package/node_modules/@swc/helpers/esm/_class_call_check.js +0 -4
  1716. package/node_modules/@swc/helpers/esm/_class_check_private_static_access.js +0 -4
  1717. package/node_modules/@swc/helpers/esm/_class_check_private_static_field_descriptor.js +0 -6
  1718. package/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.js +0 -6
  1719. package/node_modules/@swc/helpers/esm/_class_name_tdz_error.js +0 -4
  1720. package/node_modules/@swc/helpers/esm/_class_private_field_destructure.js +0 -8
  1721. package/node_modules/@swc/helpers/esm/_class_private_field_get.js +0 -8
  1722. package/node_modules/@swc/helpers/esm/_class_private_field_init.js +0 -7
  1723. package/node_modules/@swc/helpers/esm/_class_private_field_loose_base.js +0 -8
  1724. package/node_modules/@swc/helpers/esm/_class_private_field_loose_key.js +0 -6
  1725. package/node_modules/@swc/helpers/esm/_class_private_field_set.js +0 -9
  1726. package/node_modules/@swc/helpers/esm/_class_private_field_update.js +0 -8
  1727. package/node_modules/@swc/helpers/esm/_class_private_method_get.js +0 -6
  1728. package/node_modules/@swc/helpers/esm/_class_private_method_init.js +0 -7
  1729. package/node_modules/@swc/helpers/esm/_class_private_method_set.js +0 -4
  1730. package/node_modules/@swc/helpers/esm/_class_static_private_field_destructure.js +0 -11
  1731. package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_get.js +0 -11
  1732. package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_set.js +0 -12
  1733. package/node_modules/@swc/helpers/esm/_class_static_private_field_update.js +0 -11
  1734. package/node_modules/@swc/helpers/esm/_class_static_private_method_get.js +0 -8
  1735. package/node_modules/@swc/helpers/esm/_construct.js +0 -20
  1736. package/node_modules/@swc/helpers/esm/_create_class.js +0 -18
  1737. package/node_modules/@swc/helpers/esm/_create_for_of_iterator_helper_loose.js +0 -22
  1738. package/node_modules/@swc/helpers/esm/_create_super.js +0 -21
  1739. package/node_modules/@swc/helpers/esm/_decorate.js +0 -268
  1740. package/node_modules/@swc/helpers/esm/_defaults.js +0 -13
  1741. package/node_modules/@swc/helpers/esm/_define_enumerable_properties.js +0 -24
  1742. package/node_modules/@swc/helpers/esm/_define_property.js +0 -8
  1743. package/node_modules/@swc/helpers/esm/_dispose.js +0 -41
  1744. package/node_modules/@swc/helpers/esm/_export_star.js +0 -15
  1745. package/node_modules/@swc/helpers/esm/_extends.js +0 -13
  1746. package/node_modules/@swc/helpers/esm/_get.js +0 -21
  1747. package/node_modules/@swc/helpers/esm/_get_prototype_of.js +0 -8
  1748. package/node_modules/@swc/helpers/esm/_identity.js +0 -5
  1749. package/node_modules/@swc/helpers/esm/_inherits.js +0 -12
  1750. package/node_modules/@swc/helpers/esm/_inherits_loose.js +0 -6
  1751. package/node_modules/@swc/helpers/esm/_initializer_define_property.js +0 -11
  1752. package/node_modules/@swc/helpers/esm/_initializer_warning_helper.js +0 -9
  1753. package/node_modules/@swc/helpers/esm/_instanceof.js +0 -6
  1754. package/node_modules/@swc/helpers/esm/_interop_require_default.js +0 -4
  1755. package/node_modules/@swc/helpers/esm/_interop_require_wildcard.js +0 -36
  1756. package/node_modules/@swc/helpers/esm/_is_native_function.js +0 -4
  1757. package/node_modules/@swc/helpers/esm/_is_native_reflect_construct.js +0 -16
  1758. package/node_modules/@swc/helpers/esm/_iterable_to_array.js +0 -6
  1759. package/node_modules/@swc/helpers/esm/_iterable_to_array_limit.js +0 -29
  1760. package/node_modules/@swc/helpers/esm/_iterable_to_array_limit_loose.js +0 -15
  1761. package/node_modules/@swc/helpers/esm/_jsx.js +0 -26
  1762. package/node_modules/@swc/helpers/esm/_new_arrow_check.js +0 -4
  1763. package/node_modules/@swc/helpers/esm/_non_iterable_rest.js +0 -4
  1764. package/node_modules/@swc/helpers/esm/_non_iterable_spread.js +0 -4
  1765. package/node_modules/@swc/helpers/esm/_object_destructuring_empty.js +0 -6
  1766. package/node_modules/@swc/helpers/esm/_object_spread.js +0 -23
  1767. package/node_modules/@swc/helpers/esm/_object_spread_props.js +0 -28
  1768. package/node_modules/@swc/helpers/esm/_object_without_properties.js +0 -21
  1769. package/node_modules/@swc/helpers/esm/_object_without_properties_loose.js +0 -16
  1770. package/node_modules/@swc/helpers/esm/_overload_yield.js +0 -6
  1771. package/node_modules/@swc/helpers/esm/_possible_constructor_return.js +0 -9
  1772. package/node_modules/@swc/helpers/esm/_read_only_error.js +0 -4
  1773. package/node_modules/@swc/helpers/esm/_set.js +0 -42
  1774. package/node_modules/@swc/helpers/esm/_set_prototype_of.js +0 -10
  1775. package/node_modules/@swc/helpers/esm/_skip_first_generator_next.js +0 -9
  1776. package/node_modules/@swc/helpers/esm/_sliced_to_array.js +0 -9
  1777. package/node_modules/@swc/helpers/esm/_sliced_to_array_loose.js +0 -9
  1778. package/node_modules/@swc/helpers/esm/_super_prop_base.js +0 -11
  1779. package/node_modules/@swc/helpers/esm/_tagged_template_literal.js +0 -6
  1780. package/node_modules/@swc/helpers/esm/_tagged_template_literal_loose.js +0 -8
  1781. package/node_modules/@swc/helpers/esm/_throw.js +0 -4
  1782. package/node_modules/@swc/helpers/esm/_to_array.js +0 -9
  1783. package/node_modules/@swc/helpers/esm/_to_consumable_array.js +0 -9
  1784. package/node_modules/@swc/helpers/esm/_to_primitive.js +0 -16
  1785. package/node_modules/@swc/helpers/esm/_to_property_key.js +0 -9
  1786. package/node_modules/@swc/helpers/esm/_ts_add_disposable_resource.js +0 -1
  1787. package/node_modules/@swc/helpers/esm/_ts_decorate.js +0 -1
  1788. package/node_modules/@swc/helpers/esm/_ts_dispose_resources.js +0 -1
  1789. package/node_modules/@swc/helpers/esm/_ts_generator.js +0 -1
  1790. package/node_modules/@swc/helpers/esm/_ts_metadata.js +0 -1
  1791. package/node_modules/@swc/helpers/esm/_ts_param.js +0 -1
  1792. package/node_modules/@swc/helpers/esm/_ts_values.js +0 -1
  1793. package/node_modules/@swc/helpers/esm/_type_of.js +0 -6
  1794. package/node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js +0 -13
  1795. package/node_modules/@swc/helpers/esm/_update.js +0 -14
  1796. package/node_modules/@swc/helpers/esm/_using.js +0 -22
  1797. package/node_modules/@swc/helpers/esm/_using_ctx.js +0 -73
  1798. package/node_modules/@swc/helpers/esm/_wrap_async_generator.js +0 -8
  1799. package/node_modules/@swc/helpers/esm/_wrap_native_super.js +0 -26
  1800. package/node_modules/@swc/helpers/esm/_write_only_error.js +0 -4
  1801. package/node_modules/@swc/helpers/esm/index.js +0 -107
  1802. package/node_modules/@swc/helpers/package.json +0 -689
  1803. package/node_modules/@swc/helpers/scripts/ast_grep.js +0 -229
  1804. package/node_modules/@swc/helpers/scripts/build.js +0 -133
  1805. package/node_modules/@swc/helpers/scripts/errors.js +0 -1
  1806. package/node_modules/@swc/helpers/scripts/utils.js +0 -3
  1807. package/node_modules/@swc/helpers/src/_apply_decorated_descriptor.mjs +0 -1
  1808. package/node_modules/@swc/helpers/src/_apply_decs_2203_r.mjs +0 -1
  1809. package/node_modules/@swc/helpers/src/_array_like_to_array.mjs +0 -1
  1810. package/node_modules/@swc/helpers/src/_array_with_holes.mjs +0 -1
  1811. package/node_modules/@swc/helpers/src/_array_without_holes.mjs +0 -1
  1812. package/node_modules/@swc/helpers/src/_assert_this_initialized.mjs +0 -1
  1813. package/node_modules/@swc/helpers/src/_async_generator.mjs +0 -1
  1814. package/node_modules/@swc/helpers/src/_async_generator_delegate.mjs +0 -1
  1815. package/node_modules/@swc/helpers/src/_async_iterator.mjs +0 -1
  1816. package/node_modules/@swc/helpers/src/_async_to_generator.mjs +0 -1
  1817. package/node_modules/@swc/helpers/src/_await_async_generator.mjs +0 -1
  1818. package/node_modules/@swc/helpers/src/_await_value.mjs +0 -1
  1819. package/node_modules/@swc/helpers/src/_call_super.mjs +0 -1
  1820. package/node_modules/@swc/helpers/src/_check_private_redeclaration.mjs +0 -1
  1821. package/node_modules/@swc/helpers/src/_class_apply_descriptor_destructure.mjs +0 -1
  1822. package/node_modules/@swc/helpers/src/_class_apply_descriptor_get.mjs +0 -1
  1823. package/node_modules/@swc/helpers/src/_class_apply_descriptor_set.mjs +0 -1
  1824. package/node_modules/@swc/helpers/src/_class_apply_descriptor_update.mjs +0 -1
  1825. package/node_modules/@swc/helpers/src/_class_call_check.mjs +0 -1
  1826. package/node_modules/@swc/helpers/src/_class_check_private_static_access.mjs +0 -1
  1827. package/node_modules/@swc/helpers/src/_class_check_private_static_field_descriptor.mjs +0 -1
  1828. package/node_modules/@swc/helpers/src/_class_extract_field_descriptor.mjs +0 -1
  1829. package/node_modules/@swc/helpers/src/_class_name_tdz_error.mjs +0 -1
  1830. package/node_modules/@swc/helpers/src/_class_private_field_destructure.mjs +0 -1
  1831. package/node_modules/@swc/helpers/src/_class_private_field_get.mjs +0 -1
  1832. package/node_modules/@swc/helpers/src/_class_private_field_init.mjs +0 -1
  1833. package/node_modules/@swc/helpers/src/_class_private_field_loose_base.mjs +0 -1
  1834. package/node_modules/@swc/helpers/src/_class_private_field_loose_key.mjs +0 -1
  1835. package/node_modules/@swc/helpers/src/_class_private_field_set.mjs +0 -1
  1836. package/node_modules/@swc/helpers/src/_class_private_field_update.mjs +0 -1
  1837. package/node_modules/@swc/helpers/src/_class_private_method_get.mjs +0 -1
  1838. package/node_modules/@swc/helpers/src/_class_private_method_init.mjs +0 -1
  1839. package/node_modules/@swc/helpers/src/_class_private_method_set.mjs +0 -1
  1840. package/node_modules/@swc/helpers/src/_class_static_private_field_destructure.mjs +0 -1
  1841. package/node_modules/@swc/helpers/src/_class_static_private_field_spec_get.mjs +0 -1
  1842. package/node_modules/@swc/helpers/src/_class_static_private_field_spec_set.mjs +0 -1
  1843. package/node_modules/@swc/helpers/src/_class_static_private_field_update.mjs +0 -1
  1844. package/node_modules/@swc/helpers/src/_class_static_private_method_get.mjs +0 -1
  1845. package/node_modules/@swc/helpers/src/_construct.mjs +0 -1
  1846. package/node_modules/@swc/helpers/src/_create_class.mjs +0 -1
  1847. package/node_modules/@swc/helpers/src/_create_for_of_iterator_helper_loose.mjs +0 -1
  1848. package/node_modules/@swc/helpers/src/_create_super.mjs +0 -1
  1849. package/node_modules/@swc/helpers/src/_decorate.mjs +0 -1
  1850. package/node_modules/@swc/helpers/src/_defaults.mjs +0 -1
  1851. package/node_modules/@swc/helpers/src/_define_enumerable_properties.mjs +0 -1
  1852. package/node_modules/@swc/helpers/src/_define_property.mjs +0 -1
  1853. package/node_modules/@swc/helpers/src/_dispose.mjs +0 -1
  1854. package/node_modules/@swc/helpers/src/_export_star.mjs +0 -1
  1855. package/node_modules/@swc/helpers/src/_extends.mjs +0 -1
  1856. package/node_modules/@swc/helpers/src/_get.mjs +0 -1
  1857. package/node_modules/@swc/helpers/src/_get_prototype_of.mjs +0 -1
  1858. package/node_modules/@swc/helpers/src/_identity.mjs +0 -1
  1859. package/node_modules/@swc/helpers/src/_inherits.mjs +0 -1
  1860. package/node_modules/@swc/helpers/src/_inherits_loose.mjs +0 -1
  1861. package/node_modules/@swc/helpers/src/_initializer_define_property.mjs +0 -1
  1862. package/node_modules/@swc/helpers/src/_initializer_warning_helper.mjs +0 -1
  1863. package/node_modules/@swc/helpers/src/_instanceof.mjs +0 -1
  1864. package/node_modules/@swc/helpers/src/_interop_require_default.mjs +0 -1
  1865. package/node_modules/@swc/helpers/src/_interop_require_wildcard.mjs +0 -1
  1866. package/node_modules/@swc/helpers/src/_is_native_function.mjs +0 -1
  1867. package/node_modules/@swc/helpers/src/_is_native_reflect_construct.mjs +0 -1
  1868. package/node_modules/@swc/helpers/src/_iterable_to_array.mjs +0 -1
  1869. package/node_modules/@swc/helpers/src/_iterable_to_array_limit.mjs +0 -1
  1870. package/node_modules/@swc/helpers/src/_iterable_to_array_limit_loose.mjs +0 -1
  1871. package/node_modules/@swc/helpers/src/_jsx.mjs +0 -1
  1872. package/node_modules/@swc/helpers/src/_new_arrow_check.mjs +0 -1
  1873. package/node_modules/@swc/helpers/src/_non_iterable_rest.mjs +0 -1
  1874. package/node_modules/@swc/helpers/src/_non_iterable_spread.mjs +0 -1
  1875. package/node_modules/@swc/helpers/src/_object_destructuring_empty.mjs +0 -1
  1876. package/node_modules/@swc/helpers/src/_object_spread.mjs +0 -1
  1877. package/node_modules/@swc/helpers/src/_object_spread_props.mjs +0 -1
  1878. package/node_modules/@swc/helpers/src/_object_without_properties.mjs +0 -1
  1879. package/node_modules/@swc/helpers/src/_object_without_properties_loose.mjs +0 -1
  1880. package/node_modules/@swc/helpers/src/_overload_yield.mjs +0 -1
  1881. package/node_modules/@swc/helpers/src/_possible_constructor_return.mjs +0 -1
  1882. package/node_modules/@swc/helpers/src/_read_only_error.mjs +0 -1
  1883. package/node_modules/@swc/helpers/src/_set.mjs +0 -1
  1884. package/node_modules/@swc/helpers/src/_set_prototype_of.mjs +0 -1
  1885. package/node_modules/@swc/helpers/src/_skip_first_generator_next.mjs +0 -1
  1886. package/node_modules/@swc/helpers/src/_sliced_to_array.mjs +0 -1
  1887. package/node_modules/@swc/helpers/src/_sliced_to_array_loose.mjs +0 -1
  1888. package/node_modules/@swc/helpers/src/_super_prop_base.mjs +0 -1
  1889. package/node_modules/@swc/helpers/src/_tagged_template_literal.mjs +0 -1
  1890. package/node_modules/@swc/helpers/src/_tagged_template_literal_loose.mjs +0 -1
  1891. package/node_modules/@swc/helpers/src/_throw.mjs +0 -1
  1892. package/node_modules/@swc/helpers/src/_to_array.mjs +0 -1
  1893. package/node_modules/@swc/helpers/src/_to_consumable_array.mjs +0 -1
  1894. package/node_modules/@swc/helpers/src/_to_primitive.mjs +0 -1
  1895. package/node_modules/@swc/helpers/src/_to_property_key.mjs +0 -1
  1896. package/node_modules/@swc/helpers/src/_ts_add_disposable_resource.mjs +0 -1
  1897. package/node_modules/@swc/helpers/src/_ts_decorate.mjs +0 -1
  1898. package/node_modules/@swc/helpers/src/_ts_dispose_resources.mjs +0 -1
  1899. package/node_modules/@swc/helpers/src/_ts_generator.mjs +0 -1
  1900. package/node_modules/@swc/helpers/src/_ts_metadata.mjs +0 -1
  1901. package/node_modules/@swc/helpers/src/_ts_param.mjs +0 -1
  1902. package/node_modules/@swc/helpers/src/_ts_values.mjs +0 -1
  1903. package/node_modules/@swc/helpers/src/_type_of.mjs +0 -1
  1904. package/node_modules/@swc/helpers/src/_unsupported_iterable_to_array.mjs +0 -1
  1905. package/node_modules/@swc/helpers/src/_update.mjs +0 -1
  1906. package/node_modules/@swc/helpers/src/_using.mjs +0 -1
  1907. package/node_modules/@swc/helpers/src/_using_ctx.mjs +0 -1
  1908. package/node_modules/@swc/helpers/src/_wrap_async_generator.mjs +0 -1
  1909. package/node_modules/@swc/helpers/src/_wrap_native_super.mjs +0 -1
  1910. package/node_modules/@swc/helpers/src/_write_only_error.mjs +0 -1
  1911. package/node_modules/@swc/helpers/src/index.mjs +0 -1
  1912. package/node_modules/@types/connect/LICENSE +0 -21
  1913. package/node_modules/@types/connect/README.md +0 -15
  1914. package/node_modules/@types/connect/index.d.ts +0 -91
  1915. package/node_modules/@types/connect/package.json +0 -32
  1916. package/node_modules/@types/node/LICENSE +0 -21
  1917. package/node_modules/@types/node/README.md +0 -15
  1918. package/node_modules/@types/node/assert/strict.d.ts +0 -8
  1919. package/node_modules/@types/node/assert.d.ts +0 -1056
  1920. package/node_modules/@types/node/async_hooks.d.ts +0 -623
  1921. package/node_modules/@types/node/buffer.buffer.d.ts +0 -463
  1922. package/node_modules/@types/node/buffer.d.ts +0 -1927
  1923. package/node_modules/@types/node/child_process.d.ts +0 -1549
  1924. package/node_modules/@types/node/cluster.d.ts +0 -579
  1925. package/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  1926. package/node_modules/@types/node/console.d.ts +0 -452
  1927. package/node_modules/@types/node/constants.d.ts +0 -21
  1928. package/node_modules/@types/node/crypto.d.ts +0 -4516
  1929. package/node_modules/@types/node/dgram.d.ts +0 -599
  1930. package/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  1931. package/node_modules/@types/node/dns/promises.d.ts +0 -502
  1932. package/node_modules/@types/node/dns.d.ts +0 -919
  1933. package/node_modules/@types/node/dom-events.d.ts +0 -99
  1934. package/node_modules/@types/node/domain.d.ts +0 -170
  1935. package/node_modules/@types/node/events.d.ts +0 -930
  1936. package/node_modules/@types/node/fs/promises.d.ts +0 -1280
  1937. package/node_modules/@types/node/fs.d.ts +0 -4446
  1938. package/node_modules/@types/node/globals.d.ts +0 -367
  1939. package/node_modules/@types/node/globals.typedarray.d.ts +0 -22
  1940. package/node_modules/@types/node/http.d.ts +0 -2061
  1941. package/node_modules/@types/node/http2.d.ts +0 -2628
  1942. package/node_modules/@types/node/https.d.ts +0 -545
  1943. package/node_modules/@types/node/index.d.ts +0 -94
  1944. package/node_modules/@types/node/inspector.d.ts +0 -3998
  1945. package/node_modules/@types/node/module.d.ts +0 -869
  1946. package/node_modules/@types/node/net.d.ts +0 -1032
  1947. package/node_modules/@types/node/os.d.ts +0 -496
  1948. package/node_modules/@types/node/package.json +0 -240
  1949. package/node_modules/@types/node/path.d.ts +0 -200
  1950. package/node_modules/@types/node/perf_hooks.d.ts +0 -970
  1951. package/node_modules/@types/node/process.d.ts +0 -2073
  1952. package/node_modules/@types/node/punycode.d.ts +0 -117
  1953. package/node_modules/@types/node/querystring.d.ts +0 -152
  1954. package/node_modules/@types/node/readline/promises.d.ts +0 -161
  1955. package/node_modules/@types/node/readline.d.ts +0 -594
  1956. package/node_modules/@types/node/repl.d.ts +0 -428
  1957. package/node_modules/@types/node/sea.d.ts +0 -153
  1958. package/node_modules/@types/node/sqlite.d.ts +0 -688
  1959. package/node_modules/@types/node/stream/consumers.d.ts +0 -38
  1960. package/node_modules/@types/node/stream/promises.d.ts +0 -90
  1961. package/node_modules/@types/node/stream/web.d.ts +0 -618
  1962. package/node_modules/@types/node/stream.d.ts +0 -1657
  1963. package/node_modules/@types/node/string_decoder.d.ts +0 -67
  1964. package/node_modules/@types/node/test.d.ts +0 -2215
  1965. package/node_modules/@types/node/timers/promises.d.ts +0 -108
  1966. package/node_modules/@types/node/timers.d.ts +0 -287
  1967. package/node_modules/@types/node/tls.d.ts +0 -1213
  1968. package/node_modules/@types/node/trace_events.d.ts +0 -197
  1969. package/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
  1970. package/node_modules/@types/node/ts5.1/index.d.ts +0 -98
  1971. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
  1972. package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  1973. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -20
  1974. package/node_modules/@types/node/ts5.6/index.d.ts +0 -96
  1975. package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  1976. package/node_modules/@types/node/ts5.7/index.d.ts +0 -96
  1977. package/node_modules/@types/node/tty.d.ts +0 -208
  1978. package/node_modules/@types/node/url.d.ts +0 -1014
  1979. package/node_modules/@types/node/util.d.ts +0 -2305
  1980. package/node_modules/@types/node/v8.d.ts +0 -919
  1981. package/node_modules/@types/node/vm.d.ts +0 -1036
  1982. package/node_modules/@types/node/wasi.d.ts +0 -181
  1983. package/node_modules/@types/node/worker_threads.d.ts +0 -775
  1984. package/node_modules/@types/node/zlib.d.ts +0 -668
  1985. package/node_modules/@types/uuid/LICENSE +0 -21
  1986. package/node_modules/@types/uuid/README.md +0 -16
  1987. package/node_modules/@types/uuid/index.d.mts +0 -10
  1988. package/node_modules/@types/uuid/index.d.ts +0 -80
  1989. package/node_modules/@types/uuid/package.json +0 -54
  1990. package/node_modules/@types/ws/LICENSE +0 -21
  1991. package/node_modules/@types/ws/README.md +0 -16
  1992. package/node_modules/@types/ws/index.d.ts +0 -353
  1993. package/node_modules/@types/ws/package.json +0 -57
  1994. package/node_modules/agentkeepalive/LICENSE +0 -23
  1995. package/node_modules/agentkeepalive/README.md +0 -256
  1996. package/node_modules/agentkeepalive/browser.js +0 -5
  1997. package/node_modules/agentkeepalive/index.d.ts +0 -69
  1998. package/node_modules/agentkeepalive/index.js +0 -7
  1999. package/node_modules/agentkeepalive/lib/agent.js +0 -402
  2000. package/node_modules/agentkeepalive/lib/constants.js +0 -14
  2001. package/node_modules/agentkeepalive/lib/https_agent.js +0 -51
  2002. package/node_modules/agentkeepalive/package.json +0 -56
  2003. package/node_modules/base-x/LICENSE.md +0 -22
  2004. package/node_modules/base-x/README.md +0 -67
  2005. package/node_modules/base-x/package.json +0 -49
  2006. package/node_modules/base-x/src/index.d.ts +0 -10
  2007. package/node_modules/base-x/src/index.js +0 -123
  2008. package/node_modules/base64-js/LICENSE +0 -21
  2009. package/node_modules/base64-js/README.md +0 -34
  2010. package/node_modules/base64-js/base64js.min.js +0 -1
  2011. package/node_modules/base64-js/index.d.ts +0 -3
  2012. package/node_modules/base64-js/index.js +0 -150
  2013. package/node_modules/base64-js/package.json +0 -47
  2014. package/node_modules/bn.js/LICENSE +0 -19
  2015. package/node_modules/bn.js/README.md +0 -214
  2016. package/node_modules/bn.js/lib/bn.js +0 -3548
  2017. package/node_modules/bn.js/package.json +0 -39
  2018. package/node_modules/borsh/LICENSE-APACHE +0 -201
  2019. package/node_modules/borsh/LICENSE-MIT.txt +0 -23
  2020. package/node_modules/borsh/README.md +0 -83
  2021. package/node_modules/borsh/lib/index.d.ts +0 -52
  2022. package/node_modules/borsh/lib/index.js +0 -440
  2023. package/node_modules/borsh/package.json +0 -61
  2024. package/node_modules/bs58/README.md +0 -71
  2025. package/node_modules/bs58/index.js +0 -4
  2026. package/node_modules/bs58/package.json +0 -37
  2027. package/node_modules/buffer/AUTHORS.md +0 -73
  2028. package/node_modules/buffer/LICENSE +0 -21
  2029. package/node_modules/buffer/README.md +0 -410
  2030. package/node_modules/buffer/index.d.ts +0 -194
  2031. package/node_modules/buffer/index.js +0 -2106
  2032. package/node_modules/buffer/package.json +0 -93
  2033. package/node_modules/buffer-layout/.eslintrc.js +0 -45
  2034. package/node_modules/buffer-layout/.travis.yml +0 -9
  2035. package/node_modules/buffer-layout/CHANGELOG.md +0 -222
  2036. package/node_modules/buffer-layout/LICENSE +0 -21
  2037. package/node_modules/buffer-layout/README.md +0 -397
  2038. package/node_modules/buffer-layout/jsdoc/conf.json +0 -10
  2039. package/node_modules/buffer-layout/jsdoc/custom/local.js +0 -75
  2040. package/node_modules/buffer-layout/lib/Layout.js +0 -2712
  2041. package/node_modules/buffer-layout/package.json +0 -40
  2042. package/node_modules/buffer-layout/test/LayoutTest.js +0 -2162
  2043. package/node_modules/buffer-layout/test/examples.c +0 -112
  2044. package/node_modules/buffer-layout/test/examples.js +0 -259
  2045. package/node_modules/buffer-layout/test/n64.c +0 -71
  2046. package/node_modules/buffer-layout/x.js +0 -36
  2047. package/node_modules/bufferutil/LICENSE +0 -20
  2048. package/node_modules/bufferutil/README.md +0 -79
  2049. package/node_modules/bufferutil/binding.gyp +0 -32
  2050. package/node_modules/bufferutil/fallback.js +0 -34
  2051. package/node_modules/bufferutil/index.js +0 -7
  2052. package/node_modules/bufferutil/package.json +0 -36
  2053. package/node_modules/bufferutil/prebuilds/darwin-x64+arm64/bufferutil.node +0 -0
  2054. package/node_modules/bufferutil/prebuilds/linux-x64/bufferutil.node +0 -0
  2055. package/node_modules/bufferutil/prebuilds/win32-ia32/bufferutil.node +0 -0
  2056. package/node_modules/bufferutil/prebuilds/win32-x64/bufferutil.node +0 -0
  2057. package/node_modules/bufferutil/src/bufferutil.c +0 -171
  2058. package/node_modules/camelcase/index.d.ts +0 -103
  2059. package/node_modules/camelcase/index.js +0 -113
  2060. package/node_modules/camelcase/license +0 -9
  2061. package/node_modules/camelcase/package.json +0 -44
  2062. package/node_modules/camelcase/readme.md +0 -144
  2063. package/node_modules/chalk/license +0 -9
  2064. package/node_modules/chalk/package.json +0 -83
  2065. package/node_modules/chalk/readme.md +0 -297
  2066. package/node_modules/chalk/source/index.d.ts +0 -325
  2067. package/node_modules/chalk/source/index.js +0 -225
  2068. package/node_modules/chalk/source/utilities.js +0 -33
  2069. package/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  2070. package/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  2071. package/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  2072. package/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  2073. package/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  2074. package/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  2075. package/node_modules/cross-fetch/LICENSE +0 -21
  2076. package/node_modules/cross-fetch/README.md +0 -169
  2077. package/node_modules/cross-fetch/dist/browser-polyfill.js +0 -658
  2078. package/node_modules/cross-fetch/dist/browser-ponyfill.js +0 -686
  2079. package/node_modules/cross-fetch/dist/cross-fetch.js +0 -2
  2080. package/node_modules/cross-fetch/dist/cross-fetch.js.map +0 -1
  2081. package/node_modules/cross-fetch/dist/node-polyfill.js +0 -11
  2082. package/node_modules/cross-fetch/dist/node-ponyfill.js +0 -22
  2083. package/node_modules/cross-fetch/dist/react-native-polyfill.js +0 -12
  2084. package/node_modules/cross-fetch/dist/react-native-ponyfill.js +0 -6
  2085. package/node_modules/cross-fetch/index.d.ts +0 -14
  2086. package/node_modules/cross-fetch/package.json +0 -127
  2087. package/node_modules/cross-fetch/polyfill/package.json +0 -8
  2088. package/node_modules/delay/index.d.ts +0 -107
  2089. package/node_modules/delay/index.js +0 -72
  2090. package/node_modules/delay/license +0 -9
  2091. package/node_modules/delay/package.json +0 -54
  2092. package/node_modules/delay/readme.md +0 -173
  2093. package/node_modules/es6-promise/LICENSE +0 -19
  2094. package/node_modules/es6-promise/README.md +0 -97
  2095. package/node_modules/es6-promise/auto.js +0 -4
  2096. package/node_modules/es6-promise/dist/es6-promise.auto.js +0 -1176
  2097. package/node_modules/es6-promise/dist/es6-promise.auto.map +0 -1
  2098. package/node_modules/es6-promise/dist/es6-promise.auto.min.js +0 -1
  2099. package/node_modules/es6-promise/dist/es6-promise.auto.min.map +0 -1
  2100. package/node_modules/es6-promise/dist/es6-promise.js +0 -1174
  2101. package/node_modules/es6-promise/dist/es6-promise.map +0 -1
  2102. package/node_modules/es6-promise/dist/es6-promise.min.js +0 -1
  2103. package/node_modules/es6-promise/dist/es6-promise.min.map +0 -1
  2104. package/node_modules/es6-promise/es6-promise.d.ts +0 -85
  2105. package/node_modules/es6-promise/lib/es6-promise/-internal.js +0 -243
  2106. package/node_modules/es6-promise/lib/es6-promise/asap.js +0 -119
  2107. package/node_modules/es6-promise/lib/es6-promise/enumerator.js +0 -124
  2108. package/node_modules/es6-promise/lib/es6-promise/polyfill.js +0 -35
  2109. package/node_modules/es6-promise/lib/es6-promise/promise/all.js +0 -52
  2110. package/node_modules/es6-promise/lib/es6-promise/promise/race.js +0 -84
  2111. package/node_modules/es6-promise/lib/es6-promise/promise/reject.js +0 -46
  2112. package/node_modules/es6-promise/lib/es6-promise/promise/resolve.js +0 -48
  2113. package/node_modules/es6-promise/lib/es6-promise/promise.js +0 -431
  2114. package/node_modules/es6-promise/lib/es6-promise/then.js +0 -32
  2115. package/node_modules/es6-promise/lib/es6-promise/utils.js +0 -21
  2116. package/node_modules/es6-promise/lib/es6-promise.auto.js +0 -3
  2117. package/node_modules/es6-promise/lib/es6-promise.js +0 -7
  2118. package/node_modules/es6-promise/package.json +0 -78
  2119. package/node_modules/es6-promisify/README.md +0 -89
  2120. package/node_modules/es6-promisify/dist/promise.js +0 -73
  2121. package/node_modules/es6-promisify/dist/promisify.js +0 -85
  2122. package/node_modules/es6-promisify/package.json +0 -41
  2123. package/node_modules/eventemitter3/LICENSE +0 -21
  2124. package/node_modules/eventemitter3/README.md +0 -94
  2125. package/node_modules/eventemitter3/index.d.ts +0 -134
  2126. package/node_modules/eventemitter3/index.js +0 -336
  2127. package/node_modules/eventemitter3/package.json +0 -56
  2128. package/node_modules/eventemitter3/umd/eventemitter3.js +0 -340
  2129. package/node_modules/eventemitter3/umd/eventemitter3.min.js +0 -1
  2130. package/node_modules/eventemitter3/umd/eventemitter3.min.js.map +0 -1
  2131. package/node_modules/eyes/LICENSE +0 -20
  2132. package/node_modules/eyes/Makefile +0 -4
  2133. package/node_modules/eyes/README.md +0 -73
  2134. package/node_modules/eyes/lib/eyes.js +0 -236
  2135. package/node_modules/eyes/package.json +0 -14
  2136. package/node_modules/eyes/test/eyes-test.js +0 -56
  2137. package/node_modules/fast-stable-stringify/.npmignore +0 -4
  2138. package/node_modules/fast-stable-stringify/.travis.yml +0 -10
  2139. package/node_modules/fast-stable-stringify/LICENSE +0 -21
  2140. package/node_modules/fast-stable-stringify/README.md +0 -81
  2141. package/node_modules/fast-stable-stringify/cli/files-to-comparison-results.js +0 -67
  2142. package/node_modules/fast-stable-stringify/cli/format-table.js +0 -70
  2143. package/node_modules/fast-stable-stringify/cli/index.js +0 -19
  2144. package/node_modules/fast-stable-stringify/fixtures/index.js +0 -5
  2145. package/node_modules/fast-stable-stringify/fixtures/input-data-types.js +0 -191
  2146. package/node_modules/fast-stable-stringify/fixtures/log-result.json +0 -22
  2147. package/node_modules/fast-stable-stringify/fixtures/log.txt +0 -24
  2148. package/node_modules/fast-stable-stringify/index.js +0 -73
  2149. package/node_modules/fast-stable-stringify/karma.conf.js +0 -124
  2150. package/node_modules/fast-stable-stringify/karma.conf.travis.js +0 -95
  2151. package/node_modules/fast-stable-stringify/package.json +0 -47
  2152. package/node_modules/fast-stable-stringify/results/escape-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -57
  2153. package/node_modules/fast-stable-stringify/results/escape-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -57
  2154. package/node_modules/fast-stable-stringify/results/escape-long/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -57
  2155. package/node_modules/fast-stable-stringify/results/escape-long/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -57
  2156. package/node_modules/fast-stable-stringify/results/escape-long/IE 10.0.0 (Windows 7 0.0.0).json +0 -57
  2157. package/node_modules/fast-stable-stringify/results/escape-long/IE 11.0.0 (Windows 7 0.0.0).json +0 -57
  2158. package/node_modules/fast-stable-stringify/results/escape-long/IE 9.0.0 (Windows 7 0.0.0).json +0 -57
  2159. package/node_modules/fast-stable-stringify/results/escape-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -57
  2160. package/node_modules/fast-stable-stringify/results/escape-long/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -57
  2161. package/node_modules/fast-stable-stringify/results/escape-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -57
  2162. package/node_modules/fast-stable-stringify/results/escape-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -57
  2163. package/node_modules/fast-stable-stringify/results/escape-short/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -57
  2164. package/node_modules/fast-stable-stringify/results/escape-short/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -57
  2165. package/node_modules/fast-stable-stringify/results/escape-short/IE 10.0.0 (Windows 7 0.0.0).json +0 -57
  2166. package/node_modules/fast-stable-stringify/results/escape-short/IE 11.0.0 (Windows 7 0.0.0).json +0 -57
  2167. package/node_modules/fast-stable-stringify/results/escape-short/IE 9.0.0 (Windows 7 0.0.0).json +0 -57
  2168. package/node_modules/fast-stable-stringify/results/escape-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -57
  2169. package/node_modules/fast-stable-stringify/results/escape-short/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -57
  2170. package/node_modules/fast-stable-stringify/results/escape.md +0 -20
  2171. package/node_modules/fast-stable-stringify/results/itar-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
  2172. package/node_modules/fast-stable-stringify/results/itar-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
  2173. package/node_modules/fast-stable-stringify/results/itar-long/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
  2174. package/node_modules/fast-stable-stringify/results/itar-long/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
  2175. package/node_modules/fast-stable-stringify/results/itar-long/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  2176. package/node_modules/fast-stable-stringify/results/itar-long/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  2177. package/node_modules/fast-stable-stringify/results/itar-long/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  2178. package/node_modules/fast-stable-stringify/results/itar-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
  2179. package/node_modules/fast-stable-stringify/results/itar-long/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
  2180. package/node_modules/fast-stable-stringify/results/itar-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
  2181. package/node_modules/fast-stable-stringify/results/itar-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
  2182. package/node_modules/fast-stable-stringify/results/itar-short/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
  2183. package/node_modules/fast-stable-stringify/results/itar-short/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
  2184. package/node_modules/fast-stable-stringify/results/itar-short/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  2185. package/node_modules/fast-stable-stringify/results/itar-short/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  2186. package/node_modules/fast-stable-stringify/results/itar-short/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  2187. package/node_modules/fast-stable-stringify/results/itar-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
  2188. package/node_modules/fast-stable-stringify/results/itar-short/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
  2189. package/node_modules/fast-stable-stringify/results/itar.md +0 -20
  2190. package/node_modules/fast-stable-stringify/results/iter/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
  2191. package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 39.0.0 (Android 5.1.1).json +0 -35
  2192. package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
  2193. package/node_modules/fast-stable-stringify/results/iter/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
  2194. package/node_modules/fast-stable-stringify/results/iter/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
  2195. package/node_modules/fast-stable-stringify/results/iter/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  2196. package/node_modules/fast-stable-stringify/results/iter/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  2197. package/node_modules/fast-stable-stringify/results/iter/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  2198. package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
  2199. package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 9.0.0 (iOS 9.2.0).json +0 -35
  2200. package/node_modules/fast-stable-stringify/results/iter/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
  2201. package/node_modules/fast-stable-stringify/results/iter/Safari 9.1.2 (Mac OS X 10.11.6).json +0 -35
  2202. package/node_modules/fast-stable-stringify/results/iter.md +0 -14
  2203. package/node_modules/fast-stable-stringify/results/libs/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -46
  2204. package/node_modules/fast-stable-stringify/results/libs/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -46
  2205. package/node_modules/fast-stable-stringify/results/libs/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -46
  2206. package/node_modules/fast-stable-stringify/results/libs/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -46
  2207. package/node_modules/fast-stable-stringify/results/libs/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  2208. package/node_modules/fast-stable-stringify/results/libs/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  2209. package/node_modules/fast-stable-stringify/results/libs/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  2210. package/node_modules/fast-stable-stringify/results/libs/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -46
  2211. package/node_modules/fast-stable-stringify/results/libs/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -46
  2212. package/node_modules/fast-stable-stringify/results/libs.md +0 -15
  2213. package/node_modules/fast-stable-stringify/test/escape-long.js +0 -147
  2214. package/node_modules/fast-stable-stringify/test/escape-short.js +0 -147
  2215. package/node_modules/fast-stable-stringify/test/index.js +0 -6
  2216. package/node_modules/fast-stable-stringify/test/itar-long.js +0 -52
  2217. package/node_modules/fast-stable-stringify/test/itar-short.js +0 -52
  2218. package/node_modules/fast-stable-stringify/test/iter.js +0 -84
  2219. package/node_modules/fast-stable-stringify/test/libs.js +0 -57
  2220. package/node_modules/fast-stable-stringify/test/travis.js +0 -43
  2221. package/node_modules/fast-stable-stringify/test/validate.js +0 -24
  2222. package/node_modules/fast-stable-stringify/util/eachRecursive.js +0 -9
  2223. package/node_modules/fast-stable-stringify/util/get-git-hash-sync.js +0 -21
  2224. package/node_modules/fast-stable-stringify/util/get-lib-info.js +0 -22
  2225. package/node_modules/fast-stable-stringify/util/object-path.js +0 -47
  2226. package/node_modules/fast-stable-stringify/v8-profile/bench.js +0 -8
  2227. package/node_modules/fast-stable-stringify/v8-profile/run.sh +0 -2
  2228. package/node_modules/fast-stable-stringify/zuul-local.sh +0 -2
  2229. package/node_modules/humanize-ms/LICENSE +0 -17
  2230. package/node_modules/humanize-ms/README.md +0 -40
  2231. package/node_modules/humanize-ms/index.js +0 -24
  2232. package/node_modules/humanize-ms/package.json +0 -37
  2233. package/node_modules/ieee754/LICENSE +0 -11
  2234. package/node_modules/ieee754/README.md +0 -51
  2235. package/node_modules/ieee754/index.d.ts +0 -10
  2236. package/node_modules/ieee754/index.js +0 -85
  2237. package/node_modules/ieee754/package.json +0 -52
  2238. package/node_modules/isomorphic-ws/LICENSE +0 -21
  2239. package/node_modules/isomorphic-ws/README.md +0 -58
  2240. package/node_modules/isomorphic-ws/browser.js +0 -17
  2241. package/node_modules/isomorphic-ws/index.d.ts +0 -8
  2242. package/node_modules/isomorphic-ws/node.js +0 -3
  2243. package/node_modules/isomorphic-ws/package.json +0 -34
  2244. package/node_modules/jayson/.gitignore +0 -8
  2245. package/node_modules/jayson/LICENSE +0 -22
  2246. package/node_modules/jayson/README.md +0 -1387
  2247. package/node_modules/jayson/bin/jayson.js +0 -111
  2248. package/node_modules/jayson/index.d.ts +0 -370
  2249. package/node_modules/jayson/index.js +0 -1
  2250. package/node_modules/jayson/lib/client/browser/index.d.ts +0 -14
  2251. package/node_modules/jayson/lib/client/browser/index.js +0 -163
  2252. package/node_modules/jayson/lib/client/http.js +0 -116
  2253. package/node_modules/jayson/lib/client/https.js +0 -34
  2254. package/node_modules/jayson/lib/client/index.js +0 -220
  2255. package/node_modules/jayson/lib/client/tcp.js +0 -90
  2256. package/node_modules/jayson/lib/client/tls.js +0 -89
  2257. package/node_modules/jayson/lib/client/websocket.js +0 -135
  2258. package/node_modules/jayson/lib/generateRequest.js +0 -63
  2259. package/node_modules/jayson/lib/index.js +0 -31
  2260. package/node_modules/jayson/lib/method.js +0 -120
  2261. package/node_modules/jayson/lib/server/http.js +0 -26
  2262. package/node_modules/jayson/lib/server/https.js +0 -26
  2263. package/node_modules/jayson/lib/server/index.js +0 -475
  2264. package/node_modules/jayson/lib/server/middleware.js +0 -75
  2265. package/node_modules/jayson/lib/server/tcp.js +0 -72
  2266. package/node_modules/jayson/lib/server/tls.js +0 -72
  2267. package/node_modules/jayson/lib/server/websocket.js +0 -62
  2268. package/node_modules/jayson/lib/utils.js +0 -514
  2269. package/node_modules/jayson/node_modules/@types/node/LICENSE +0 -21
  2270. package/node_modules/jayson/node_modules/@types/node/README.md +0 -16
  2271. package/node_modules/jayson/node_modules/@types/node/assert.d.ts +0 -117
  2272. package/node_modules/jayson/node_modules/@types/node/async_hooks.d.ts +0 -246
  2273. package/node_modules/jayson/node_modules/@types/node/buffer.d.ts +0 -22
  2274. package/node_modules/jayson/node_modules/@types/node/child_process.d.ts +0 -507
  2275. package/node_modules/jayson/node_modules/@types/node/cluster.d.ts +0 -260
  2276. package/node_modules/jayson/node_modules/@types/node/console.d.ts +0 -3
  2277. package/node_modules/jayson/node_modules/@types/node/constants.d.ts +0 -448
  2278. package/node_modules/jayson/node_modules/@types/node/crypto.d.ts +0 -1183
  2279. package/node_modules/jayson/node_modules/@types/node/dgram.d.ts +0 -118
  2280. package/node_modules/jayson/node_modules/@types/node/dns.d.ts +0 -372
  2281. package/node_modules/jayson/node_modules/@types/node/domain.d.ts +0 -16
  2282. package/node_modules/jayson/node_modules/@types/node/events.d.ts +0 -47
  2283. package/node_modules/jayson/node_modules/@types/node/fs.d.ts +0 -2567
  2284. package/node_modules/jayson/node_modules/@types/node/globals.d.ts +0 -1351
  2285. package/node_modules/jayson/node_modules/@types/node/globals.global.d.ts +0 -1
  2286. package/node_modules/jayson/node_modules/@types/node/http.d.ts +0 -456
  2287. package/node_modules/jayson/node_modules/@types/node/http2.d.ts +0 -952
  2288. package/node_modules/jayson/node_modules/@types/node/https.d.ts +0 -156
  2289. package/node_modules/jayson/node_modules/@types/node/index.d.ts +0 -91
  2290. package/node_modules/jayson/node_modules/@types/node/inspector.d.ts +0 -3040
  2291. package/node_modules/jayson/node_modules/@types/node/module.d.ts +0 -3
  2292. package/node_modules/jayson/node_modules/@types/node/net.d.ts +0 -290
  2293. package/node_modules/jayson/node_modules/@types/node/os.d.ts +0 -263
  2294. package/node_modules/jayson/node_modules/@types/node/package.json +0 -195
  2295. package/node_modules/jayson/node_modules/@types/node/path.d.ts +0 -159
  2296. package/node_modules/jayson/node_modules/@types/node/perf_hooks.d.ts +0 -259
  2297. package/node_modules/jayson/node_modules/@types/node/process.d.ts +0 -15
  2298. package/node_modules/jayson/node_modules/@types/node/punycode.d.ts +0 -75
  2299. package/node_modules/jayson/node_modules/@types/node/querystring.d.ts +0 -29
  2300. package/node_modules/jayson/node_modules/@types/node/readline.d.ts +0 -158
  2301. package/node_modules/jayson/node_modules/@types/node/repl.d.ts +0 -390
  2302. package/node_modules/jayson/node_modules/@types/node/stream.d.ts +0 -334
  2303. package/node_modules/jayson/node_modules/@types/node/string_decoder.d.ts +0 -7
  2304. package/node_modules/jayson/node_modules/@types/node/timers.d.ts +0 -16
  2305. package/node_modules/jayson/node_modules/@types/node/tls.d.ts +0 -713
  2306. package/node_modules/jayson/node_modules/@types/node/trace_events.d.ts +0 -61
  2307. package/node_modules/jayson/node_modules/@types/node/tty.d.ts +0 -66
  2308. package/node_modules/jayson/node_modules/@types/node/url.d.ts +0 -147
  2309. package/node_modules/jayson/node_modules/@types/node/util.d.ts +0 -200
  2310. package/node_modules/jayson/node_modules/@types/node/v8.d.ts +0 -197
  2311. package/node_modules/jayson/node_modules/@types/node/vm.d.ts +0 -112
  2312. package/node_modules/jayson/node_modules/@types/node/wasi.d.ts +0 -55
  2313. package/node_modules/jayson/node_modules/@types/node/worker_threads.d.ts +0 -207
  2314. package/node_modules/jayson/node_modules/@types/node/zlib.d.ts +0 -356
  2315. package/node_modules/jayson/node_modules/commander/LICENSE +0 -22
  2316. package/node_modules/jayson/node_modules/commander/Readme.md +0 -428
  2317. package/node_modules/jayson/node_modules/commander/index.js +0 -1224
  2318. package/node_modules/jayson/node_modules/commander/package.json +0 -38
  2319. package/node_modules/jayson/node_modules/commander/typings/index.d.ts +0 -310
  2320. package/node_modules/jayson/package.json +0 -89
  2321. package/node_modules/jayson/promise/index.d.ts +0 -367
  2322. package/node_modules/jayson/promise/index.js +0 -3
  2323. package/node_modules/jayson/promise/lib/client/browser/index.d.ts +0 -12
  2324. package/node_modules/jayson/promise/lib/client/browser/index.js +0 -28
  2325. package/node_modules/jayson/promise/lib/client/http.js +0 -23
  2326. package/node_modules/jayson/promise/lib/client/https.js +0 -24
  2327. package/node_modules/jayson/promise/lib/client/index.js +0 -53
  2328. package/node_modules/jayson/promise/lib/client/tcp.js +0 -23
  2329. package/node_modules/jayson/promise/lib/client/tls.js +0 -23
  2330. package/node_modules/jayson/promise/lib/client/websocket.js +0 -23
  2331. package/node_modules/jayson/promise/lib/index.js +0 -33
  2332. package/node_modules/jayson/promise/lib/method.js +0 -54
  2333. package/node_modules/jayson/promise/lib/server.js +0 -23
  2334. package/node_modules/jayson/promise/lib/utils.js +0 -23
  2335. package/node_modules/json-stringify-safe/.npmignore +0 -1
  2336. package/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
  2337. package/node_modules/json-stringify-safe/LICENSE +0 -15
  2338. package/node_modules/json-stringify-safe/Makefile +0 -35
  2339. package/node_modules/json-stringify-safe/README.md +0 -52
  2340. package/node_modules/json-stringify-safe/package.json +0 -31
  2341. package/node_modules/json-stringify-safe/stringify.js +0 -27
  2342. package/node_modules/json-stringify-safe/test/mocha.opts +0 -2
  2343. package/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
  2344. package/node_modules/ms/index.js +0 -162
  2345. package/node_modules/ms/license.md +0 -21
  2346. package/node_modules/ms/package.json +0 -38
  2347. package/node_modules/ms/readme.md +0 -59
  2348. package/node_modules/node-fetch/LICENSE.md +0 -22
  2349. package/node_modules/node-fetch/README.md +0 -634
  2350. package/node_modules/node-fetch/browser.js +0 -25
  2351. package/node_modules/node-fetch/lib/index.es.js +0 -1777
  2352. package/node_modules/node-fetch/lib/index.js +0 -1787
  2353. package/node_modules/node-fetch/lib/index.mjs +0 -1775
  2354. package/node_modules/node-fetch/package.json +0 -89
  2355. package/node_modules/node-gyp-build/LICENSE +0 -21
  2356. package/node_modules/node-gyp-build/README.md +0 -58
  2357. package/node_modules/node-gyp-build/SECURITY.md +0 -5
  2358. package/node_modules/node-gyp-build/bin.js +0 -84
  2359. package/node_modules/node-gyp-build/build-test.js +0 -19
  2360. package/node_modules/node-gyp-build/index.js +0 -6
  2361. package/node_modules/node-gyp-build/node-gyp-build.js +0 -207
  2362. package/node_modules/node-gyp-build/optional.js +0 -7
  2363. package/node_modules/node-gyp-build/package.json +0 -43
  2364. package/node_modules/pako/LICENSE +0 -21
  2365. package/node_modules/pako/README.md +0 -177
  2366. package/node_modules/pako/dist/pako.es5.js +0 -6688
  2367. package/node_modules/pako/dist/pako.es5.min.js +0 -2
  2368. package/node_modules/pako/dist/pako.esm.mjs +0 -6877
  2369. package/node_modules/pako/dist/pako.js +0 -6896
  2370. package/node_modules/pako/dist/pako.min.js +0 -2
  2371. package/node_modules/pako/dist/pako_deflate.es5.js +0 -3924
  2372. package/node_modules/pako/dist/pako_deflate.es5.min.js +0 -2
  2373. package/node_modules/pako/dist/pako_deflate.js +0 -4126
  2374. package/node_modules/pako/dist/pako_deflate.min.js +0 -2
  2375. package/node_modules/pako/dist/pako_inflate.es5.js +0 -3229
  2376. package/node_modules/pako/dist/pako_inflate.es5.min.js +0 -2
  2377. package/node_modules/pako/dist/pako_inflate.js +0 -3239
  2378. package/node_modules/pako/dist/pako_inflate.min.js +0 -2
  2379. package/node_modules/pako/index.js +0 -18
  2380. package/node_modules/pako/lib/deflate.js +0 -380
  2381. package/node_modules/pako/lib/inflate.js +0 -419
  2382. package/node_modules/pako/lib/utils/common.js +0 -48
  2383. package/node_modules/pako/lib/utils/strings.js +0 -174
  2384. package/node_modules/pako/lib/zlib/README +0 -59
  2385. package/node_modules/pako/lib/zlib/adler32.js +0 -51
  2386. package/node_modules/pako/lib/zlib/constants.js +0 -68
  2387. package/node_modules/pako/lib/zlib/crc32.js +0 -59
  2388. package/node_modules/pako/lib/zlib/deflate.js +0 -2048
  2389. package/node_modules/pako/lib/zlib/gzheader.js +0 -58
  2390. package/node_modules/pako/lib/zlib/inffast.js +0 -344
  2391. package/node_modules/pako/lib/zlib/inflate.js +0 -1572
  2392. package/node_modules/pako/lib/zlib/inftrees.js +0 -340
  2393. package/node_modules/pako/lib/zlib/messages.js +0 -32
  2394. package/node_modules/pako/lib/zlib/trees.js +0 -1179
  2395. package/node_modules/pako/lib/zlib/zstream.js +0 -47
  2396. package/node_modules/pako/package.json +0 -64
  2397. package/node_modules/rpc-websockets/LICENSE +0 -10
  2398. package/node_modules/rpc-websockets/README.md +0 -156
  2399. package/node_modules/rpc-websockets/dist/index.browser-bundle.js +0 -14
  2400. package/node_modules/rpc-websockets/dist/index.browser.cjs +0 -389
  2401. package/node_modules/rpc-websockets/dist/index.browser.cjs.map +0 -1
  2402. package/node_modules/rpc-websockets/dist/index.browser.d.mts +0 -225
  2403. package/node_modules/rpc-websockets/dist/index.browser.d.ts +0 -225
  2404. package/node_modules/rpc-websockets/dist/index.browser.mjs +0 -384
  2405. package/node_modules/rpc-websockets/dist/index.browser.mjs.map +0 -1
  2406. package/node_modules/rpc-websockets/dist/index.cjs +0 -898
  2407. package/node_modules/rpc-websockets/dist/index.cjs.map +0 -1
  2408. package/node_modules/rpc-websockets/dist/index.d.mts +0 -415
  2409. package/node_modules/rpc-websockets/dist/index.d.ts +0 -415
  2410. package/node_modules/rpc-websockets/dist/index.mjs +0 -886
  2411. package/node_modules/rpc-websockets/dist/index.mjs.map +0 -1
  2412. package/node_modules/rpc-websockets/node_modules/@types/ws/LICENSE +0 -21
  2413. package/node_modules/rpc-websockets/node_modules/@types/ws/README.md +0 -15
  2414. package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.mts +0 -451
  2415. package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.ts +0 -445
  2416. package/node_modules/rpc-websockets/node_modules/@types/ws/package.json +0 -72
  2417. package/node_modules/rpc-websockets/node_modules/eventemitter3/LICENSE +0 -21
  2418. package/node_modules/rpc-websockets/node_modules/eventemitter3/README.md +0 -94
  2419. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -347
  2420. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -1
  2421. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -1
  2422. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -355
  2423. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -1
  2424. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -1
  2425. package/node_modules/rpc-websockets/node_modules/eventemitter3/index.d.ts +0 -135
  2426. package/node_modules/rpc-websockets/node_modules/eventemitter3/index.js +0 -336
  2427. package/node_modules/rpc-websockets/node_modules/eventemitter3/index.mjs +0 -4
  2428. package/node_modules/rpc-websockets/node_modules/eventemitter3/package.json +0 -67
  2429. package/node_modules/rpc-websockets/node_modules/ws/LICENSE +0 -20
  2430. package/node_modules/rpc-websockets/node_modules/ws/README.md +0 -548
  2431. package/node_modules/rpc-websockets/node_modules/ws/browser.js +0 -8
  2432. package/node_modules/rpc-websockets/node_modules/ws/index.js +0 -13
  2433. package/node_modules/rpc-websockets/node_modules/ws/lib/buffer-util.js +0 -131
  2434. package/node_modules/rpc-websockets/node_modules/ws/lib/constants.js +0 -18
  2435. package/node_modules/rpc-websockets/node_modules/ws/lib/event-target.js +0 -292
  2436. package/node_modules/rpc-websockets/node_modules/ws/lib/extension.js +0 -203
  2437. package/node_modules/rpc-websockets/node_modules/ws/lib/limiter.js +0 -55
  2438. package/node_modules/rpc-websockets/node_modules/ws/lib/permessage-deflate.js +0 -528
  2439. package/node_modules/rpc-websockets/node_modules/ws/lib/receiver.js +0 -706
  2440. package/node_modules/rpc-websockets/node_modules/ws/lib/sender.js +0 -602
  2441. package/node_modules/rpc-websockets/node_modules/ws/lib/stream.js +0 -161
  2442. package/node_modules/rpc-websockets/node_modules/ws/lib/subprotocol.js +0 -62
  2443. package/node_modules/rpc-websockets/node_modules/ws/lib/validation.js +0 -152
  2444. package/node_modules/rpc-websockets/node_modules/ws/lib/websocket-server.js +0 -550
  2445. package/node_modules/rpc-websockets/node_modules/ws/lib/websocket.js +0 -1388
  2446. package/node_modules/rpc-websockets/node_modules/ws/package.json +0 -69
  2447. package/node_modules/rpc-websockets/node_modules/ws/wrapper.mjs +0 -8
  2448. package/node_modules/rpc-websockets/package.json +0 -90
  2449. package/node_modules/safe-buffer/LICENSE +0 -21
  2450. package/node_modules/safe-buffer/README.md +0 -584
  2451. package/node_modules/safe-buffer/index.d.ts +0 -187
  2452. package/node_modules/safe-buffer/index.js +0 -65
  2453. package/node_modules/safe-buffer/package.json +0 -51
  2454. package/node_modules/stream-chain/LICENSE +0 -11
  2455. package/node_modules/stream-chain/README.md +0 -334
  2456. package/node_modules/stream-chain/defs.js +0 -22
  2457. package/node_modules/stream-chain/index.js +0 -203
  2458. package/node_modules/stream-chain/package.json +0 -31
  2459. package/node_modules/stream-chain/utils/FromIterable.js +0 -94
  2460. package/node_modules/stream-chain/utils/Reduce.js +0 -40
  2461. package/node_modules/stream-chain/utils/asFun.js +0 -85
  2462. package/node_modules/stream-chain/utils/asGen.js +0 -77
  2463. package/node_modules/stream-chain/utils/comp.js +0 -20
  2464. package/node_modules/stream-chain/utils/fold.js +0 -43
  2465. package/node_modules/stream-chain/utils/gen.js +0 -24
  2466. package/node_modules/stream-chain/utils/scan.js +0 -41
  2467. package/node_modules/stream-chain/utils/skip.js +0 -32
  2468. package/node_modules/stream-chain/utils/skipWhile.js +0 -46
  2469. package/node_modules/stream-chain/utils/take.js +0 -39
  2470. package/node_modules/stream-chain/utils/takeWhile.js +0 -47
  2471. package/node_modules/stream-json/Assembler.js +0 -154
  2472. package/node_modules/stream-json/Disassembler.js +0 -209
  2473. package/node_modules/stream-json/Emitter.js +0 -22
  2474. package/node_modules/stream-json/LICENSE +0 -34
  2475. package/node_modules/stream-json/Parser.js +0 -545
  2476. package/node_modules/stream-json/README.md +0 -128
  2477. package/node_modules/stream-json/Stringer.js +0 -153
  2478. package/node_modules/stream-json/filters/Filter.js +0 -130
  2479. package/node_modules/stream-json/filters/FilterBase.js +0 -201
  2480. package/node_modules/stream-json/filters/Ignore.js +0 -24
  2481. package/node_modules/stream-json/filters/Pick.js +0 -58
  2482. package/node_modules/stream-json/filters/Replace.js +0 -115
  2483. package/node_modules/stream-json/index.js +0 -11
  2484. package/node_modules/stream-json/jsonl/Parser.js +0 -131
  2485. package/node_modules/stream-json/jsonl/Stringer.js +0 -29
  2486. package/node_modules/stream-json/package.json +0 -45
  2487. package/node_modules/stream-json/streamers/StreamArray.js +0 -44
  2488. package/node_modules/stream-json/streamers/StreamBase.js +0 -101
  2489. package/node_modules/stream-json/streamers/StreamObject.js +0 -43
  2490. package/node_modules/stream-json/streamers/StreamValues.js +0 -33
  2491. package/node_modules/stream-json/utils/Batch.js +0 -44
  2492. package/node_modules/stream-json/utils/Utf8Stream.js +0 -53
  2493. package/node_modules/stream-json/utils/Verifier.js +0 -485
  2494. package/node_modules/stream-json/utils/emit.js +0 -5
  2495. package/node_modules/stream-json/utils/withParser.js +0 -10
  2496. package/node_modules/superstruct/License.md +0 -9
  2497. package/node_modules/superstruct/Readme.md +0 -228
  2498. package/node_modules/superstruct/lib/coercions.d.ts +0 -19
  2499. package/node_modules/superstruct/lib/coercions.d.ts.map +0 -1
  2500. package/node_modules/superstruct/lib/error.d.ts +0 -32
  2501. package/node_modules/superstruct/lib/error.d.ts.map +0 -1
  2502. package/node_modules/superstruct/lib/index.cjs +0 -1257
  2503. package/node_modules/superstruct/lib/index.cjs.d.ts +0 -579
  2504. package/node_modules/superstruct/lib/index.cjs.map +0 -1
  2505. package/node_modules/superstruct/lib/index.d.cts +0 -579
  2506. package/node_modules/superstruct/lib/index.d.ts +0 -7
  2507. package/node_modules/superstruct/lib/index.d.ts.map +0 -1
  2508. package/node_modules/superstruct/lib/index.es.d.ts +0 -579
  2509. package/node_modules/superstruct/lib/index.es.js +0 -1203
  2510. package/node_modules/superstruct/lib/index.es.js.map +0 -1
  2511. package/node_modules/superstruct/lib/refinements.d.ts +0 -19
  2512. package/node_modules/superstruct/lib/refinements.d.ts.map +0 -1
  2513. package/node_modules/superstruct/lib/struct.d.ts +0 -110
  2514. package/node_modules/superstruct/lib/struct.d.ts.map +0 -1
  2515. package/node_modules/superstruct/lib/structs/coercions.d.ts +0 -29
  2516. package/node_modules/superstruct/lib/structs/coercions.d.ts.map +0 -1
  2517. package/node_modules/superstruct/lib/structs/refinements.d.ts +0 -38
  2518. package/node_modules/superstruct/lib/structs/refinements.d.ts.map +0 -1
  2519. package/node_modules/superstruct/lib/structs/types.d.ts +0 -142
  2520. package/node_modules/superstruct/lib/structs/types.d.ts.map +0 -1
  2521. package/node_modules/superstruct/lib/structs/utilities.d.ts +0 -66
  2522. package/node_modules/superstruct/lib/structs/utilities.d.ts.map +0 -1
  2523. package/node_modules/superstruct/lib/types.d.ts +0 -200
  2524. package/node_modules/superstruct/lib/types.d.ts.map +0 -1
  2525. package/node_modules/superstruct/lib/typings.d.ts +0 -36
  2526. package/node_modules/superstruct/lib/typings.d.ts.map +0 -1
  2527. package/node_modules/superstruct/lib/utilities.d.ts +0 -56
  2528. package/node_modules/superstruct/lib/utilities.d.ts.map +0 -1
  2529. package/node_modules/superstruct/lib/utils.d.ts +0 -139
  2530. package/node_modules/superstruct/lib/utils.d.ts.map +0 -1
  2531. package/node_modules/superstruct/lib/xtras.d.ts +0 -56
  2532. package/node_modules/superstruct/lib/xtras.d.ts.map +0 -1
  2533. package/node_modules/superstruct/package.json +0 -110
  2534. package/node_modules/superstruct/umd/coercions.d.ts +0 -18
  2535. package/node_modules/superstruct/umd/index.d.ts +0 -4
  2536. package/node_modules/superstruct/umd/refinements.d.ts +0 -14
  2537. package/node_modules/superstruct/umd/struct.d.ts +0 -80
  2538. package/node_modules/superstruct/umd/superstruct.d.ts +0 -579
  2539. package/node_modules/superstruct/umd/superstruct.js +0 -1262
  2540. package/node_modules/superstruct/umd/superstruct.min.d.ts +0 -579
  2541. package/node_modules/superstruct/umd/superstruct.min.js +0 -1
  2542. package/node_modules/superstruct/umd/types.d.ts +0 -127
  2543. package/node_modules/superstruct/umd/utils.d.ts +0 -9
  2544. package/node_modules/text-encoding-utf-8/LICENSE.md +0 -29
  2545. package/node_modules/text-encoding-utf-8/README.md +0 -63
  2546. package/node_modules/text-encoding-utf-8/lib/encoding.js +0 -655
  2547. package/node_modules/text-encoding-utf-8/lib/encoding.lib.js +0 -642
  2548. package/node_modules/text-encoding-utf-8/lib/encoding.lib.mjs +0 -665
  2549. package/node_modules/text-encoding-utf-8/package.json +0 -26
  2550. package/node_modules/text-encoding-utf-8/src/encoding.js +0 -665
  2551. package/node_modules/text-encoding-utf-8/src/polyfill.js +0 -21
  2552. package/node_modules/toml/.jshintrc +0 -18
  2553. package/node_modules/toml/.travis.yml +0 -7
  2554. package/node_modules/toml/CHANGELOG.md +0 -116
  2555. package/node_modules/toml/LICENSE +0 -22
  2556. package/node_modules/toml/README.md +0 -93
  2557. package/node_modules/toml/benchmark.js +0 -12
  2558. package/node_modules/toml/index.d.ts +0 -3
  2559. package/node_modules/toml/index.js +0 -9
  2560. package/node_modules/toml/lib/compiler.js +0 -195
  2561. package/node_modules/toml/lib/parser.js +0 -3841
  2562. package/node_modules/toml/package.json +0 -24
  2563. package/node_modules/toml/src/toml.pegjs +0 -231
  2564. package/node_modules/toml/test/bad.toml +0 -5
  2565. package/node_modules/toml/test/example.toml +0 -32
  2566. package/node_modules/toml/test/hard_example.toml +0 -33
  2567. package/node_modules/toml/test/inline_tables.toml +0 -10
  2568. package/node_modules/toml/test/literal_strings.toml +0 -5
  2569. package/node_modules/toml/test/multiline_eat_whitespace.toml +0 -15
  2570. package/node_modules/toml/test/multiline_literal_strings.toml +0 -7
  2571. package/node_modules/toml/test/multiline_strings.toml +0 -6
  2572. package/node_modules/toml/test/smoke.js +0 -22
  2573. package/node_modules/toml/test/table_arrays_easy.toml +0 -10
  2574. package/node_modules/toml/test/table_arrays_hard.toml +0 -31
  2575. package/node_modules/toml/test/test_toml.js +0 -596
  2576. package/node_modules/tslib/CopyrightNotice.txt +0 -15
  2577. package/node_modules/tslib/LICENSE.txt +0 -12
  2578. package/node_modules/tslib/README.md +0 -164
  2579. package/node_modules/tslib/SECURITY.md +0 -41
  2580. package/node_modules/tslib/modules/index.d.ts +0 -38
  2581. package/node_modules/tslib/modules/index.js +0 -70
  2582. package/node_modules/tslib/modules/package.json +0 -3
  2583. package/node_modules/tslib/package.json +0 -47
  2584. package/node_modules/tslib/tslib.d.ts +0 -460
  2585. package/node_modules/tslib/tslib.es6.html +0 -1
  2586. package/node_modules/tslib/tslib.es6.js +0 -402
  2587. package/node_modules/tslib/tslib.es6.mjs +0 -401
  2588. package/node_modules/tslib/tslib.html +0 -1
  2589. package/node_modules/tslib/tslib.js +0 -484
  2590. package/node_modules/undici-types/LICENSE +0 -21
  2591. package/node_modules/undici-types/README.md +0 -6
  2592. package/node_modules/undici-types/agent.d.ts +0 -31
  2593. package/node_modules/undici-types/api.d.ts +0 -43
  2594. package/node_modules/undici-types/balanced-pool.d.ts +0 -29
  2595. package/node_modules/undici-types/cache-interceptor.d.ts +0 -172
  2596. package/node_modules/undici-types/cache.d.ts +0 -36
  2597. package/node_modules/undici-types/client.d.ts +0 -107
  2598. package/node_modules/undici-types/connector.d.ts +0 -34
  2599. package/node_modules/undici-types/content-type.d.ts +0 -21
  2600. package/node_modules/undici-types/cookies.d.ts +0 -30
  2601. package/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  2602. package/node_modules/undici-types/dispatcher.d.ts +0 -281
  2603. package/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  2604. package/node_modules/undici-types/errors.d.ts +0 -171
  2605. package/node_modules/undici-types/eventsource.d.ts +0 -61
  2606. package/node_modules/undici-types/fetch.d.ts +0 -210
  2607. package/node_modules/undici-types/formdata.d.ts +0 -108
  2608. package/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  2609. package/node_modules/undici-types/global-origin.d.ts +0 -7
  2610. package/node_modules/undici-types/h2c-client.d.ts +0 -75
  2611. package/node_modules/undici-types/handlers.d.ts +0 -15
  2612. package/node_modules/undici-types/header.d.ts +0 -160
  2613. package/node_modules/undici-types/index.d.ts +0 -75
  2614. package/node_modules/undici-types/interceptors.d.ts +0 -34
  2615. package/node_modules/undici-types/mock-agent.d.ts +0 -65
  2616. package/node_modules/undici-types/mock-call-history.d.ts +0 -111
  2617. package/node_modules/undici-types/mock-client.d.ts +0 -25
  2618. package/node_modules/undici-types/mock-errors.d.ts +0 -12
  2619. package/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  2620. package/node_modules/undici-types/mock-pool.d.ts +0 -25
  2621. package/node_modules/undici-types/package.json +0 -55
  2622. package/node_modules/undici-types/patch.d.ts +0 -29
  2623. package/node_modules/undici-types/pool-stats.d.ts +0 -19
  2624. package/node_modules/undici-types/pool.d.ts +0 -39
  2625. package/node_modules/undici-types/proxy-agent.d.ts +0 -28
  2626. package/node_modules/undici-types/readable.d.ts +0 -68
  2627. package/node_modules/undici-types/retry-agent.d.ts +0 -8
  2628. package/node_modules/undici-types/retry-handler.d.ts +0 -116
  2629. package/node_modules/undici-types/util.d.ts +0 -18
  2630. package/node_modules/undici-types/utility.d.ts +0 -7
  2631. package/node_modules/undici-types/webidl.d.ts +0 -266
  2632. package/node_modules/undici-types/websocket.d.ts +0 -184
  2633. package/node_modules/utf-8-validate/LICENSE +0 -30
  2634. package/node_modules/utf-8-validate/README.md +0 -50
  2635. package/node_modules/utf-8-validate/binding.gyp +0 -18
  2636. package/node_modules/utf-8-validate/fallback.js +0 -62
  2637. package/node_modules/utf-8-validate/index.js +0 -7
  2638. package/node_modules/utf-8-validate/package.json +0 -36
  2639. package/node_modules/utf-8-validate/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
  2640. package/node_modules/utf-8-validate/prebuilds/linux-x64/node.napi.node +0 -0
  2641. package/node_modules/utf-8-validate/prebuilds/win32-ia32/node.napi.node +0 -0
  2642. package/node_modules/utf-8-validate/prebuilds/win32-x64/node.napi.node +0 -0
  2643. package/node_modules/utf-8-validate/src/validation.c +0 -109
  2644. package/node_modules/uuid/CHANGELOG.md +0 -229
  2645. package/node_modules/uuid/CONTRIBUTING.md +0 -18
  2646. package/node_modules/uuid/LICENSE.md +0 -9
  2647. package/node_modules/uuid/README.md +0 -505
  2648. package/node_modules/uuid/dist/bin/uuid +0 -2
  2649. package/node_modules/uuid/dist/esm-browser/index.js +0 -9
  2650. package/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  2651. package/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  2652. package/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  2653. package/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  2654. package/node_modules/uuid/dist/esm-browser/rng.js +0 -19
  2655. package/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  2656. package/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
  2657. package/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  2658. package/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  2659. package/node_modules/uuid/dist/esm-browser/v35.js +0 -64
  2660. package/node_modules/uuid/dist/esm-browser/v4.js +0 -24
  2661. package/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  2662. package/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  2663. package/node_modules/uuid/dist/esm-browser/version.js +0 -11
  2664. package/node_modules/uuid/dist/esm-node/index.js +0 -9
  2665. package/node_modules/uuid/dist/esm-node/md5.js +0 -13
  2666. package/node_modules/uuid/dist/esm-node/nil.js +0 -1
  2667. package/node_modules/uuid/dist/esm-node/parse.js +0 -35
  2668. package/node_modules/uuid/dist/esm-node/regex.js +0 -1
  2669. package/node_modules/uuid/dist/esm-node/rng.js +0 -12
  2670. package/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  2671. package/node_modules/uuid/dist/esm-node/stringify.js +0 -29
  2672. package/node_modules/uuid/dist/esm-node/v1.js +0 -95
  2673. package/node_modules/uuid/dist/esm-node/v3.js +0 -4
  2674. package/node_modules/uuid/dist/esm-node/v35.js +0 -64
  2675. package/node_modules/uuid/dist/esm-node/v4.js +0 -24
  2676. package/node_modules/uuid/dist/esm-node/v5.js +0 -4
  2677. package/node_modules/uuid/dist/esm-node/validate.js +0 -7
  2678. package/node_modules/uuid/dist/esm-node/version.js +0 -11
  2679. package/node_modules/uuid/dist/index.js +0 -79
  2680. package/node_modules/uuid/dist/md5-browser.js +0 -223
  2681. package/node_modules/uuid/dist/md5.js +0 -23
  2682. package/node_modules/uuid/dist/nil.js +0 -8
  2683. package/node_modules/uuid/dist/parse.js +0 -45
  2684. package/node_modules/uuid/dist/regex.js +0 -8
  2685. package/node_modules/uuid/dist/rng-browser.js +0 -26
  2686. package/node_modules/uuid/dist/rng.js +0 -24
  2687. package/node_modules/uuid/dist/sha1-browser.js +0 -104
  2688. package/node_modules/uuid/dist/sha1.js +0 -23
  2689. package/node_modules/uuid/dist/stringify.js +0 -39
  2690. package/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  2691. package/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
  2692. package/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
  2693. package/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
  2694. package/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
  2695. package/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
  2696. package/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  2697. package/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  2698. package/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  2699. package/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  2700. package/node_modules/uuid/dist/uuid-bin.js +0 -85
  2701. package/node_modules/uuid/dist/v1.js +0 -107
  2702. package/node_modules/uuid/dist/v3.js +0 -16
  2703. package/node_modules/uuid/dist/v35.js +0 -78
  2704. package/node_modules/uuid/dist/v4.js +0 -37
  2705. package/node_modules/uuid/dist/v5.js +0 -16
  2706. package/node_modules/uuid/dist/validate.js +0 -17
  2707. package/node_modules/uuid/dist/version.js +0 -21
  2708. package/node_modules/uuid/package.json +0 -135
  2709. package/node_modules/uuid/wrapper.mjs +0 -10
  2710. package/node_modules/webidl-conversions/LICENSE.md +0 -12
  2711. package/node_modules/webidl-conversions/README.md +0 -53
  2712. package/node_modules/webidl-conversions/lib/index.js +0 -189
  2713. package/node_modules/webidl-conversions/package.json +0 -23
  2714. package/node_modules/whatwg-url/LICENSE.txt +0 -21
  2715. package/node_modules/whatwg-url/README.md +0 -67
  2716. package/node_modules/whatwg-url/lib/URL-impl.js +0 -200
  2717. package/node_modules/whatwg-url/lib/URL.js +0 -196
  2718. package/node_modules/whatwg-url/lib/public-api.js +0 -11
  2719. package/node_modules/whatwg-url/lib/url-state-machine.js +0 -1297
  2720. package/node_modules/whatwg-url/lib/utils.js +0 -20
  2721. package/node_modules/whatwg-url/node_modules/tr46/.npmignore +0 -4
  2722. package/node_modules/whatwg-url/node_modules/tr46/index.js +0 -193
  2723. package/node_modules/whatwg-url/node_modules/tr46/lib/.gitkeep +0 -0
  2724. package/node_modules/whatwg-url/node_modules/tr46/lib/mappingTable.json +0 -1
  2725. package/node_modules/whatwg-url/node_modules/tr46/package.json +0 -31
  2726. package/node_modules/whatwg-url/package.json +0 -32
  2727. package/node_modules/ws/LICENSE +0 -21
  2728. package/node_modules/ws/README.md +0 -495
  2729. package/node_modules/ws/browser.js +0 -8
  2730. package/node_modules/ws/index.js +0 -10
  2731. package/node_modules/ws/lib/buffer-util.js +0 -129
  2732. package/node_modules/ws/lib/constants.js +0 -10
  2733. package/node_modules/ws/lib/event-target.js +0 -184
  2734. package/node_modules/ws/lib/extension.js +0 -223
  2735. package/node_modules/ws/lib/limiter.js +0 -55
  2736. package/node_modules/ws/lib/permessage-deflate.js +0 -518
  2737. package/node_modules/ws/lib/receiver.js +0 -607
  2738. package/node_modules/ws/lib/sender.js +0 -409
  2739. package/node_modules/ws/lib/stream.js +0 -180
  2740. package/node_modules/ws/lib/validation.js +0 -104
  2741. package/node_modules/ws/lib/websocket-server.js +0 -449
  2742. package/node_modules/ws/lib/websocket.js +0 -1197
  2743. package/node_modules/ws/package.json +0 -56
@@ -1,2662 +0,0 @@
1
- const EventEmitter = require('node:events').EventEmitter;
2
- const childProcess = require('node:child_process');
3
- const path = require('node:path');
4
- const fs = require('node:fs');
5
- const process = require('node:process');
6
-
7
- const { Argument, humanReadableArgName } = require('./argument.js');
8
- const { CommanderError } = require('./error.js');
9
- const { Help, stripColor } = require('./help.js');
10
- const { Option, 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 = false;
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
- this._savedState = null; // used in save/restoreStateBeforeParse
59
-
60
- // see configureOutput() for docs
61
- this._outputConfiguration = {
62
- writeOut: (str) => process.stdout.write(str),
63
- writeErr: (str) => process.stderr.write(str),
64
- outputError: (str, write) => write(str),
65
- getOutHelpWidth: () =>
66
- process.stdout.isTTY ? process.stdout.columns : undefined,
67
- getErrHelpWidth: () =>
68
- process.stderr.isTTY ? process.stderr.columns : undefined,
69
- getOutHasColors: () =>
70
- useColor() ?? (process.stdout.isTTY && process.stdout.hasColors?.()),
71
- getErrHasColors: () =>
72
- useColor() ?? (process.stderr.isTTY && process.stderr.hasColors?.()),
73
- stripColor: (str) => stripColor(str),
74
- };
75
-
76
- this._hidden = false;
77
- /** @type {(Option | null | undefined)} */
78
- this._helpOption = undefined; // Lazy created on demand. May be null if help option is disabled.
79
- this._addImplicitHelpCommand = undefined; // undecided whether true or false yet, not inherited
80
- /** @type {Command} */
81
- this._helpCommand = undefined; // lazy initialised, inherited
82
- this._helpConfiguration = {};
83
- }
84
-
85
- /**
86
- * Copy settings that are useful to have in common across root command and subcommands.
87
- *
88
- * (Used internally when adding a command using `.command()` so subcommands inherit parent settings.)
89
- *
90
- * @param {Command} sourceCommand
91
- * @return {Command} `this` command for chaining
92
- */
93
- copyInheritedSettings(sourceCommand) {
94
- this._outputConfiguration = sourceCommand._outputConfiguration;
95
- this._helpOption = sourceCommand._helpOption;
96
- this._helpCommand = sourceCommand._helpCommand;
97
- this._helpConfiguration = sourceCommand._helpConfiguration;
98
- this._exitCallback = sourceCommand._exitCallback;
99
- this._storeOptionsAsProperties = sourceCommand._storeOptionsAsProperties;
100
- this._combineFlagAndOptionalValue =
101
- sourceCommand._combineFlagAndOptionalValue;
102
- this._allowExcessArguments = sourceCommand._allowExcessArguments;
103
- this._enablePositionalOptions = sourceCommand._enablePositionalOptions;
104
- this._showHelpAfterError = sourceCommand._showHelpAfterError;
105
- this._showSuggestionAfterError = sourceCommand._showSuggestionAfterError;
106
-
107
- return this;
108
- }
109
-
110
- /**
111
- * @returns {Command[]}
112
- * @private
113
- */
114
-
115
- _getCommandAndAncestors() {
116
- const result = [];
117
- // eslint-disable-next-line @typescript-eslint/no-this-alias
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._registerCommand(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
- * // change how output being written, defaults to stdout and stderr
223
- * writeOut(str)
224
- * writeErr(str)
225
- * // change how output being written for errors, defaults to writeErr
226
- * outputError(str, write) // used for displaying errors and not used for displaying help
227
- * // specify width for wrapping help
228
- * getOutHelpWidth()
229
- * getErrHelpWidth()
230
- * // color support, currently only used with Help
231
- * getOutHasColors()
232
- * getErrHasColors()
233
- * stripColor() // used to remove ANSI escape codes if output does not have colors
234
- *
235
- * @param {object} [configuration] - configuration options
236
- * @return {(Command | object)} `this` command for chaining, or stored configuration
237
- */
238
-
239
- configureOutput(configuration) {
240
- if (configuration === undefined) return this._outputConfiguration;
241
-
242
- Object.assign(this._outputConfiguration, configuration);
243
- return this;
244
- }
245
-
246
- /**
247
- * Display the help or a custom message after an error occurs.
248
- *
249
- * @param {(boolean|string)} [displayHelp]
250
- * @return {Command} `this` command for chaining
251
- */
252
- showHelpAfterError(displayHelp = true) {
253
- if (typeof displayHelp !== 'string') displayHelp = !!displayHelp;
254
- this._showHelpAfterError = displayHelp;
255
- return this;
256
- }
257
-
258
- /**
259
- * Display suggestion of similar commands for unknown commands, or options for unknown options.
260
- *
261
- * @param {boolean} [displaySuggestion]
262
- * @return {Command} `this` command for chaining
263
- */
264
- showSuggestionAfterError(displaySuggestion = true) {
265
- this._showSuggestionAfterError = !!displaySuggestion;
266
- return this;
267
- }
268
-
269
- /**
270
- * Add a prepared subcommand.
271
- *
272
- * See .command() for creating an attached subcommand which inherits settings from its parent.
273
- *
274
- * @param {Command} cmd - new subcommand
275
- * @param {object} [opts] - configuration options
276
- * @return {Command} `this` command for chaining
277
- */
278
-
279
- addCommand(cmd, opts) {
280
- if (!cmd._name) {
281
- throw new Error(`Command passed to .addCommand() must have a name
282
- - specify the name in Command constructor or using .name()`);
283
- }
284
-
285
- opts = opts || {};
286
- if (opts.isDefault) this._defaultCommandName = cmd._name;
287
- if (opts.noHelp || opts.hidden) cmd._hidden = true; // modifying passed command due to existing implementation
288
-
289
- this._registerCommand(cmd);
290
- cmd.parent = this;
291
- cmd._checkForBrokenPassThrough();
292
-
293
- return this;
294
- }
295
-
296
- /**
297
- * Factory routine to create a new unattached argument.
298
- *
299
- * See .argument() for creating an attached argument, which uses this routine to
300
- * create the argument. You can override createArgument to return a custom argument.
301
- *
302
- * @param {string} name
303
- * @param {string} [description]
304
- * @return {Argument} new argument
305
- */
306
-
307
- createArgument(name, description) {
308
- return new Argument(name, description);
309
- }
310
-
311
- /**
312
- * Define argument syntax for command.
313
- *
314
- * The default is that the argument is required, and you can explicitly
315
- * indicate this with <> around the name. Put [] around the name for an optional argument.
316
- *
317
- * @example
318
- * program.argument('<input-file>');
319
- * program.argument('[output-file]');
320
- *
321
- * @param {string} name
322
- * @param {string} [description]
323
- * @param {(Function|*)} [fn] - custom argument processing function
324
- * @param {*} [defaultValue]
325
- * @return {Command} `this` command for chaining
326
- */
327
- argument(name, description, fn, defaultValue) {
328
- const argument = this.createArgument(name, description);
329
- if (typeof fn === 'function') {
330
- argument.default(defaultValue).argParser(fn);
331
- } else {
332
- argument.default(fn);
333
- }
334
- this.addArgument(argument);
335
- return this;
336
- }
337
-
338
- /**
339
- * Define argument syntax for command, adding multiple at once (without descriptions).
340
- *
341
- * See also .argument().
342
- *
343
- * @example
344
- * program.arguments('<cmd> [env]');
345
- *
346
- * @param {string} names
347
- * @return {Command} `this` command for chaining
348
- */
349
-
350
- arguments(names) {
351
- names
352
- .trim()
353
- .split(/ +/)
354
- .forEach((detail) => {
355
- this.argument(detail);
356
- });
357
- return this;
358
- }
359
-
360
- /**
361
- * Define argument syntax for command, adding a prepared argument.
362
- *
363
- * @param {Argument} argument
364
- * @return {Command} `this` command for chaining
365
- */
366
- addArgument(argument) {
367
- const previousArgument = this.registeredArguments.slice(-1)[0];
368
- if (previousArgument && previousArgument.variadic) {
369
- throw new Error(
370
- `only the last argument can be variadic '${previousArgument.name()}'`,
371
- );
372
- }
373
- if (
374
- argument.required &&
375
- argument.defaultValue !== undefined &&
376
- argument.parseArg === undefined
377
- ) {
378
- throw new Error(
379
- `a default value for a required argument is never used: '${argument.name()}'`,
380
- );
381
- }
382
- this.registeredArguments.push(argument);
383
- return this;
384
- }
385
-
386
- /**
387
- * Customise or override default help command. By default a help command is automatically added if your command has subcommands.
388
- *
389
- * @example
390
- * program.helpCommand('help [cmd]');
391
- * program.helpCommand('help [cmd]', 'show help');
392
- * program.helpCommand(false); // suppress default help command
393
- * program.helpCommand(true); // add help command even if no subcommands
394
- *
395
- * @param {string|boolean} enableOrNameAndArgs - enable with custom name and/or arguments, or boolean to override whether added
396
- * @param {string} [description] - custom description
397
- * @return {Command} `this` command for chaining
398
- */
399
-
400
- helpCommand(enableOrNameAndArgs, description) {
401
- if (typeof enableOrNameAndArgs === 'boolean') {
402
- this._addImplicitHelpCommand = enableOrNameAndArgs;
403
- return this;
404
- }
405
-
406
- enableOrNameAndArgs = enableOrNameAndArgs ?? 'help [command]';
407
- const [, helpName, helpArgs] = enableOrNameAndArgs.match(/([^ ]+) *(.*)/);
408
- const helpDescription = description ?? 'display help for command';
409
-
410
- const helpCommand = this.createCommand(helpName);
411
- helpCommand.helpOption(false);
412
- if (helpArgs) helpCommand.arguments(helpArgs);
413
- if (helpDescription) helpCommand.description(helpDescription);
414
-
415
- this._addImplicitHelpCommand = true;
416
- this._helpCommand = helpCommand;
417
-
418
- return this;
419
- }
420
-
421
- /**
422
- * Add prepared custom help command.
423
- *
424
- * @param {(Command|string|boolean)} helpCommand - custom help command, or deprecated enableOrNameAndArgs as for `.helpCommand()`
425
- * @param {string} [deprecatedDescription] - deprecated custom description used with custom name only
426
- * @return {Command} `this` command for chaining
427
- */
428
- addHelpCommand(helpCommand, deprecatedDescription) {
429
- // If not passed an object, call through to helpCommand for backwards compatibility,
430
- // as addHelpCommand was originally used like helpCommand is now.
431
- if (typeof helpCommand !== 'object') {
432
- this.helpCommand(helpCommand, deprecatedDescription);
433
- return this;
434
- }
435
-
436
- this._addImplicitHelpCommand = true;
437
- this._helpCommand = helpCommand;
438
- return this;
439
- }
440
-
441
- /**
442
- * Lazy create help command.
443
- *
444
- * @return {(Command|null)}
445
- * @package
446
- */
447
- _getHelpCommand() {
448
- const hasImplicitHelpCommand =
449
- this._addImplicitHelpCommand ??
450
- (this.commands.length &&
451
- !this._actionHandler &&
452
- !this._findCommand('help'));
453
-
454
- if (hasImplicitHelpCommand) {
455
- if (this._helpCommand === undefined) {
456
- this.helpCommand(undefined, undefined); // use default name and description
457
- }
458
- return this._helpCommand;
459
- }
460
- return null;
461
- }
462
-
463
- /**
464
- * Add hook for life cycle event.
465
- *
466
- * @param {string} event
467
- * @param {Function} listener
468
- * @return {Command} `this` command for chaining
469
- */
470
-
471
- hook(event, listener) {
472
- const allowedValues = ['preSubcommand', 'preAction', 'postAction'];
473
- if (!allowedValues.includes(event)) {
474
- throw new Error(`Unexpected value for event passed to hook : '${event}'.
475
- Expecting one of '${allowedValues.join("', '")}'`);
476
- }
477
- if (this._lifeCycleHooks[event]) {
478
- this._lifeCycleHooks[event].push(listener);
479
- } else {
480
- this._lifeCycleHooks[event] = [listener];
481
- }
482
- return this;
483
- }
484
-
485
- /**
486
- * Register callback to use as replacement for calling process.exit.
487
- *
488
- * @param {Function} [fn] optional callback which will be passed a CommanderError, defaults to throwing
489
- * @return {Command} `this` command for chaining
490
- */
491
-
492
- exitOverride(fn) {
493
- if (fn) {
494
- this._exitCallback = fn;
495
- } else {
496
- this._exitCallback = (err) => {
497
- if (err.code !== 'commander.executeSubCommandAsync') {
498
- throw err;
499
- } else {
500
- // Async callback from spawn events, not useful to throw.
501
- }
502
- };
503
- }
504
- return this;
505
- }
506
-
507
- /**
508
- * Call process.exit, and _exitCallback if defined.
509
- *
510
- * @param {number} exitCode exit code for using with process.exit
511
- * @param {string} code an id string representing the error
512
- * @param {string} message human-readable description of the error
513
- * @return never
514
- * @private
515
- */
516
-
517
- _exit(exitCode, code, message) {
518
- if (this._exitCallback) {
519
- this._exitCallback(new CommanderError(exitCode, code, message));
520
- // Expecting this line is not reached.
521
- }
522
- process.exit(exitCode);
523
- }
524
-
525
- /**
526
- * Register callback `fn` for the command.
527
- *
528
- * @example
529
- * program
530
- * .command('serve')
531
- * .description('start service')
532
- * .action(function() {
533
- * // do work here
534
- * });
535
- *
536
- * @param {Function} fn
537
- * @return {Command} `this` command for chaining
538
- */
539
-
540
- action(fn) {
541
- const listener = (args) => {
542
- // The .action callback takes an extra parameter which is the command or options.
543
- const expectedArgsCount = this.registeredArguments.length;
544
- const actionArgs = args.slice(0, expectedArgsCount);
545
- if (this._storeOptionsAsProperties) {
546
- actionArgs[expectedArgsCount] = this; // backwards compatible "options"
547
- } else {
548
- actionArgs[expectedArgsCount] = this.opts();
549
- }
550
- actionArgs.push(this);
551
-
552
- return fn.apply(this, actionArgs);
553
- };
554
- this._actionHandler = listener;
555
- return this;
556
- }
557
-
558
- /**
559
- * Factory routine to create a new unattached option.
560
- *
561
- * See .option() for creating an attached option, which uses this routine to
562
- * create the option. You can override createOption to return a custom option.
563
- *
564
- * @param {string} flags
565
- * @param {string} [description]
566
- * @return {Option} new option
567
- */
568
-
569
- createOption(flags, description) {
570
- return new Option(flags, description);
571
- }
572
-
573
- /**
574
- * Wrap parseArgs to catch 'commander.invalidArgument'.
575
- *
576
- * @param {(Option | Argument)} target
577
- * @param {string} value
578
- * @param {*} previous
579
- * @param {string} invalidArgumentMessage
580
- * @private
581
- */
582
-
583
- _callParseArg(target, value, previous, invalidArgumentMessage) {
584
- try {
585
- return target.parseArg(value, previous);
586
- } catch (err) {
587
- if (err.code === 'commander.invalidArgument') {
588
- const message = `${invalidArgumentMessage} ${err.message}`;
589
- this.error(message, { exitCode: err.exitCode, code: err.code });
590
- }
591
- throw err;
592
- }
593
- }
594
-
595
- /**
596
- * Check for option flag conflicts.
597
- * Register option if no conflicts found, or throw on conflict.
598
- *
599
- * @param {Option} option
600
- * @private
601
- */
602
-
603
- _registerOption(option) {
604
- const matchingOption =
605
- (option.short && this._findOption(option.short)) ||
606
- (option.long && this._findOption(option.long));
607
- if (matchingOption) {
608
- const matchingFlag =
609
- option.long && this._findOption(option.long)
610
- ? option.long
611
- : option.short;
612
- throw new Error(`Cannot add option '${option.flags}'${this._name && ` to command '${this._name}'`} due to conflicting flag '${matchingFlag}'
613
- - already used by option '${matchingOption.flags}'`);
614
- }
615
-
616
- this.options.push(option);
617
- }
618
-
619
- /**
620
- * Check for command name and alias conflicts with existing commands.
621
- * Register command if no conflicts found, or throw on conflict.
622
- *
623
- * @param {Command} command
624
- * @private
625
- */
626
-
627
- _registerCommand(command) {
628
- const knownBy = (cmd) => {
629
- return [cmd.name()].concat(cmd.aliases());
630
- };
631
-
632
- const alreadyUsed = knownBy(command).find((name) =>
633
- this._findCommand(name),
634
- );
635
- if (alreadyUsed) {
636
- const existingCmd = knownBy(this._findCommand(alreadyUsed)).join('|');
637
- const newCmd = knownBy(command).join('|');
638
- throw new Error(
639
- `cannot add command '${newCmd}' as already have command '${existingCmd}'`,
640
- );
641
- }
642
-
643
- this.commands.push(command);
644
- }
645
-
646
- /**
647
- * Add an option.
648
- *
649
- * @param {Option} option
650
- * @return {Command} `this` command for chaining
651
- */
652
- addOption(option) {
653
- this._registerOption(option);
654
-
655
- const oname = option.name();
656
- const name = option.attributeName();
657
-
658
- // store default value
659
- if (option.negate) {
660
- // --no-foo is special and defaults foo to true, unless a --foo option is already defined
661
- const positiveLongFlag = option.long.replace(/^--no-/, '--');
662
- if (!this._findOption(positiveLongFlag)) {
663
- this.setOptionValueWithSource(
664
- name,
665
- option.defaultValue === undefined ? true : option.defaultValue,
666
- 'default',
667
- );
668
- }
669
- } else if (option.defaultValue !== undefined) {
670
- this.setOptionValueWithSource(name, option.defaultValue, 'default');
671
- }
672
-
673
- // handler for cli and env supplied values
674
- const handleOptionValue = (val, invalidValueMessage, valueSource) => {
675
- // val is null for optional option used without an optional-argument.
676
- // val is undefined for boolean and negated option.
677
- if (val == null && option.presetArg !== undefined) {
678
- val = option.presetArg;
679
- }
680
-
681
- // custom processing
682
- const oldValue = this.getOptionValue(name);
683
- if (val !== null && option.parseArg) {
684
- val = this._callParseArg(option, val, oldValue, invalidValueMessage);
685
- } else if (val !== null && option.variadic) {
686
- val = option._concatValue(val, oldValue);
687
- }
688
-
689
- // Fill-in appropriate missing values. Long winded but easy to follow.
690
- if (val == null) {
691
- if (option.negate) {
692
- val = false;
693
- } else if (option.isBoolean() || option.optional) {
694
- val = true;
695
- } else {
696
- val = ''; // not normal, parseArg might have failed or be a mock function for testing
697
- }
698
- }
699
- this.setOptionValueWithSource(name, val, valueSource);
700
- };
701
-
702
- this.on('option:' + oname, (val) => {
703
- const invalidValueMessage = `error: option '${option.flags}' argument '${val}' is invalid.`;
704
- handleOptionValue(val, invalidValueMessage, 'cli');
705
- });
706
-
707
- if (option.envVar) {
708
- this.on('optionEnv:' + oname, (val) => {
709
- const invalidValueMessage = `error: option '${option.flags}' value '${val}' from env '${option.envVar}' is invalid.`;
710
- handleOptionValue(val, invalidValueMessage, 'env');
711
- });
712
- }
713
-
714
- return this;
715
- }
716
-
717
- /**
718
- * Internal implementation shared by .option() and .requiredOption()
719
- *
720
- * @return {Command} `this` command for chaining
721
- * @private
722
- */
723
- _optionEx(config, flags, description, fn, defaultValue) {
724
- if (typeof flags === 'object' && flags instanceof Option) {
725
- throw new Error(
726
- 'To add an Option object use addOption() instead of option() or requiredOption()',
727
- );
728
- }
729
- const option = this.createOption(flags, description);
730
- option.makeOptionMandatory(!!config.mandatory);
731
- if (typeof fn === 'function') {
732
- option.default(defaultValue).argParser(fn);
733
- } else if (fn instanceof RegExp) {
734
- // deprecated
735
- const regex = fn;
736
- fn = (val, def) => {
737
- const m = regex.exec(val);
738
- return m ? m[0] : def;
739
- };
740
- option.default(defaultValue).argParser(fn);
741
- } else {
742
- option.default(fn);
743
- }
744
-
745
- return this.addOption(option);
746
- }
747
-
748
- /**
749
- * Define option with `flags`, `description`, and optional argument parsing function or `defaultValue` or both.
750
- *
751
- * The `flags` string contains the short and/or long flags, separated by comma, a pipe or space. A required
752
- * option-argument is indicated by `<>` and an optional option-argument by `[]`.
753
- *
754
- * See the README for more details, and see also addOption() and requiredOption().
755
- *
756
- * @example
757
- * program
758
- * .option('-p, --pepper', 'add pepper')
759
- * .option('--pt, --pizza-type <TYPE>', 'type of pizza') // required option-argument
760
- * .option('-c, --cheese [CHEESE]', 'add extra cheese', 'mozzarella') // optional option-argument with default
761
- * .option('-t, --tip <VALUE>', 'add tip to purchase cost', parseFloat) // custom parse function
762
- *
763
- * @param {string} flags
764
- * @param {string} [description]
765
- * @param {(Function|*)} [parseArg] - custom option processing function or default value
766
- * @param {*} [defaultValue]
767
- * @return {Command} `this` command for chaining
768
- */
769
-
770
- option(flags, description, parseArg, defaultValue) {
771
- return this._optionEx({}, flags, description, parseArg, defaultValue);
772
- }
773
-
774
- /**
775
- * Add a required option which must have a value after parsing. This usually means
776
- * the option must be specified on the command line. (Otherwise the same as .option().)
777
- *
778
- * The `flags` string contains the short and/or long flags, separated by comma, a pipe or space.
779
- *
780
- * @param {string} flags
781
- * @param {string} [description]
782
- * @param {(Function|*)} [parseArg] - custom option processing function or default value
783
- * @param {*} [defaultValue]
784
- * @return {Command} `this` command for chaining
785
- */
786
-
787
- requiredOption(flags, description, parseArg, defaultValue) {
788
- return this._optionEx(
789
- { mandatory: true },
790
- flags,
791
- description,
792
- parseArg,
793
- defaultValue,
794
- );
795
- }
796
-
797
- /**
798
- * Alter parsing of short flags with optional values.
799
- *
800
- * @example
801
- * // for `.option('-f,--flag [value]'):
802
- * program.combineFlagAndOptionalValue(true); // `-f80` is treated like `--flag=80`, this is the default behaviour
803
- * program.combineFlagAndOptionalValue(false) // `-fb` is treated like `-f -b`
804
- *
805
- * @param {boolean} [combine] - if `true` or omitted, an optional value can be specified directly after the flag.
806
- * @return {Command} `this` command for chaining
807
- */
808
- combineFlagAndOptionalValue(combine = true) {
809
- this._combineFlagAndOptionalValue = !!combine;
810
- return this;
811
- }
812
-
813
- /**
814
- * Allow unknown options on the command line.
815
- *
816
- * @param {boolean} [allowUnknown] - if `true` or omitted, no error will be thrown for unknown options.
817
- * @return {Command} `this` command for chaining
818
- */
819
- allowUnknownOption(allowUnknown = true) {
820
- this._allowUnknownOption = !!allowUnknown;
821
- return this;
822
- }
823
-
824
- /**
825
- * Allow excess command-arguments on the command line. Pass false to make excess arguments an error.
826
- *
827
- * @param {boolean} [allowExcess] - if `true` or omitted, no error will be thrown for excess arguments.
828
- * @return {Command} `this` command for chaining
829
- */
830
- allowExcessArguments(allowExcess = true) {
831
- this._allowExcessArguments = !!allowExcess;
832
- return this;
833
- }
834
-
835
- /**
836
- * Enable positional options. Positional means global options are specified before subcommands which lets
837
- * subcommands reuse the same option names, and also enables subcommands to turn on passThroughOptions.
838
- * The default behaviour is non-positional and global options may appear anywhere on the command line.
839
- *
840
- * @param {boolean} [positional]
841
- * @return {Command} `this` command for chaining
842
- */
843
- enablePositionalOptions(positional = true) {
844
- this._enablePositionalOptions = !!positional;
845
- return this;
846
- }
847
-
848
- /**
849
- * Pass through options that come after command-arguments rather than treat them as command-options,
850
- * so actual command-options come before command-arguments. Turning this on for a subcommand requires
851
- * positional options to have been enabled on the program (parent commands).
852
- * The default behaviour is non-positional and options may appear before or after command-arguments.
853
- *
854
- * @param {boolean} [passThrough] for unknown options.
855
- * @return {Command} `this` command for chaining
856
- */
857
- passThroughOptions(passThrough = true) {
858
- this._passThroughOptions = !!passThrough;
859
- this._checkForBrokenPassThrough();
860
- return this;
861
- }
862
-
863
- /**
864
- * @private
865
- */
866
-
867
- _checkForBrokenPassThrough() {
868
- if (
869
- this.parent &&
870
- this._passThroughOptions &&
871
- !this.parent._enablePositionalOptions
872
- ) {
873
- throw new Error(
874
- `passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`,
875
- );
876
- }
877
- }
878
-
879
- /**
880
- * Whether to store option values as properties on command object,
881
- * or store separately (specify false). In both cases the option values can be accessed using .opts().
882
- *
883
- * @param {boolean} [storeAsProperties=true]
884
- * @return {Command} `this` command for chaining
885
- */
886
-
887
- storeOptionsAsProperties(storeAsProperties = true) {
888
- if (this.options.length) {
889
- throw new Error('call .storeOptionsAsProperties() before adding options');
890
- }
891
- if (Object.keys(this._optionValues).length) {
892
- throw new Error(
893
- 'call .storeOptionsAsProperties() before setting option values',
894
- );
895
- }
896
- this._storeOptionsAsProperties = !!storeAsProperties;
897
- return this;
898
- }
899
-
900
- /**
901
- * Retrieve option value.
902
- *
903
- * @param {string} key
904
- * @return {object} value
905
- */
906
-
907
- getOptionValue(key) {
908
- if (this._storeOptionsAsProperties) {
909
- return this[key];
910
- }
911
- return this._optionValues[key];
912
- }
913
-
914
- /**
915
- * Store option value.
916
- *
917
- * @param {string} key
918
- * @param {object} value
919
- * @return {Command} `this` command for chaining
920
- */
921
-
922
- setOptionValue(key, value) {
923
- return this.setOptionValueWithSource(key, value, undefined);
924
- }
925
-
926
- /**
927
- * Store option value and where the value came from.
928
- *
929
- * @param {string} key
930
- * @param {object} value
931
- * @param {string} source - expected values are default/config/env/cli/implied
932
- * @return {Command} `this` command for chaining
933
- */
934
-
935
- setOptionValueWithSource(key, value, source) {
936
- if (this._storeOptionsAsProperties) {
937
- this[key] = value;
938
- } else {
939
- this._optionValues[key] = value;
940
- }
941
- this._optionValueSources[key] = source;
942
- return this;
943
- }
944
-
945
- /**
946
- * Get source of option value.
947
- * Expected values are default | config | env | cli | implied
948
- *
949
- * @param {string} key
950
- * @return {string}
951
- */
952
-
953
- getOptionValueSource(key) {
954
- return this._optionValueSources[key];
955
- }
956
-
957
- /**
958
- * Get source of option value. See also .optsWithGlobals().
959
- * Expected values are default | config | env | cli | implied
960
- *
961
- * @param {string} key
962
- * @return {string}
963
- */
964
-
965
- getOptionValueSourceWithGlobals(key) {
966
- // global overwrites local, like optsWithGlobals
967
- let source;
968
- this._getCommandAndAncestors().forEach((cmd) => {
969
- if (cmd.getOptionValueSource(key) !== undefined) {
970
- source = cmd.getOptionValueSource(key);
971
- }
972
- });
973
- return source;
974
- }
975
-
976
- /**
977
- * Get user arguments from implied or explicit arguments.
978
- * Side-effects: set _scriptPath if args included script. Used for default program name, and subcommand searches.
979
- *
980
- * @private
981
- */
982
-
983
- _prepareUserArgs(argv, parseOptions) {
984
- if (argv !== undefined && !Array.isArray(argv)) {
985
- throw new Error('first parameter to parse must be array or undefined');
986
- }
987
- parseOptions = parseOptions || {};
988
-
989
- // auto-detect argument conventions if nothing supplied
990
- if (argv === undefined && parseOptions.from === undefined) {
991
- if (process.versions?.electron) {
992
- parseOptions.from = 'electron';
993
- }
994
- // check node specific options for scenarios where user CLI args follow executable without scriptname
995
- const execArgv = process.execArgv ?? [];
996
- if (
997
- execArgv.includes('-e') ||
998
- execArgv.includes('--eval') ||
999
- execArgv.includes('-p') ||
1000
- execArgv.includes('--print')
1001
- ) {
1002
- parseOptions.from = 'eval'; // internal usage, not documented
1003
- }
1004
- }
1005
-
1006
- // default to using process.argv
1007
- if (argv === undefined) {
1008
- argv = process.argv;
1009
- }
1010
- this.rawArgs = argv.slice();
1011
-
1012
- // extract the user args and scriptPath
1013
- let userArgs;
1014
- switch (parseOptions.from) {
1015
- case undefined:
1016
- case 'node':
1017
- this._scriptPath = argv[1];
1018
- userArgs = argv.slice(2);
1019
- break;
1020
- case 'electron':
1021
- // @ts-ignore: because defaultApp is an unknown property
1022
- if (process.defaultApp) {
1023
- this._scriptPath = argv[1];
1024
- userArgs = argv.slice(2);
1025
- } else {
1026
- userArgs = argv.slice(1);
1027
- }
1028
- break;
1029
- case 'user':
1030
- userArgs = argv.slice(0);
1031
- break;
1032
- case 'eval':
1033
- userArgs = argv.slice(1);
1034
- break;
1035
- default:
1036
- throw new Error(
1037
- `unexpected parse option { from: '${parseOptions.from}' }`,
1038
- );
1039
- }
1040
-
1041
- // Find default name for program from arguments.
1042
- if (!this._name && this._scriptPath)
1043
- this.nameFromFilename(this._scriptPath);
1044
- this._name = this._name || 'program';
1045
-
1046
- return userArgs;
1047
- }
1048
-
1049
- /**
1050
- * Parse `argv`, setting options and invoking commands when defined.
1051
- *
1052
- * Use parseAsync instead of parse if any of your action handlers are async.
1053
- *
1054
- * Call with no parameters to parse `process.argv`. Detects Electron and special node options like `node --eval`. Easy mode!
1055
- *
1056
- * Or call with an array of strings to parse, and optionally where the user arguments start by specifying where the arguments are `from`:
1057
- * - `'node'`: default, `argv[0]` is the application and `argv[1]` is the script being run, with user arguments after that
1058
- * - `'electron'`: `argv[0]` is the application and `argv[1]` varies depending on whether the electron application is packaged
1059
- * - `'user'`: just user arguments
1060
- *
1061
- * @example
1062
- * program.parse(); // parse process.argv and auto-detect electron and special node flags
1063
- * program.parse(process.argv); // assume argv[0] is app and argv[1] is script
1064
- * program.parse(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
1065
- *
1066
- * @param {string[]} [argv] - optional, defaults to process.argv
1067
- * @param {object} [parseOptions] - optionally specify style of options with from: node/user/electron
1068
- * @param {string} [parseOptions.from] - where the args are from: 'node', 'user', 'electron'
1069
- * @return {Command} `this` command for chaining
1070
- */
1071
-
1072
- parse(argv, parseOptions) {
1073
- this._prepareForParse();
1074
- const userArgs = this._prepareUserArgs(argv, parseOptions);
1075
- this._parseCommand([], userArgs);
1076
-
1077
- return this;
1078
- }
1079
-
1080
- /**
1081
- * Parse `argv`, setting options and invoking commands when defined.
1082
- *
1083
- * Call with no parameters to parse `process.argv`. Detects Electron and special node options like `node --eval`. Easy mode!
1084
- *
1085
- * Or call with an array of strings to parse, and optionally where the user arguments start by specifying where the arguments are `from`:
1086
- * - `'node'`: default, `argv[0]` is the application and `argv[1]` is the script being run, with user arguments after that
1087
- * - `'electron'`: `argv[0]` is the application and `argv[1]` varies depending on whether the electron application is packaged
1088
- * - `'user'`: just user arguments
1089
- *
1090
- * @example
1091
- * await program.parseAsync(); // parse process.argv and auto-detect electron and special node flags
1092
- * await program.parseAsync(process.argv); // assume argv[0] is app and argv[1] is script
1093
- * await program.parseAsync(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
1094
- *
1095
- * @param {string[]} [argv]
1096
- * @param {object} [parseOptions]
1097
- * @param {string} parseOptions.from - where the args are from: 'node', 'user', 'electron'
1098
- * @return {Promise}
1099
- */
1100
-
1101
- async parseAsync(argv, parseOptions) {
1102
- this._prepareForParse();
1103
- const userArgs = this._prepareUserArgs(argv, parseOptions);
1104
- await this._parseCommand([], userArgs);
1105
-
1106
- return this;
1107
- }
1108
-
1109
- _prepareForParse() {
1110
- if (this._savedState === null) {
1111
- this.saveStateBeforeParse();
1112
- } else {
1113
- this.restoreStateBeforeParse();
1114
- }
1115
- }
1116
-
1117
- /**
1118
- * Called the first time parse is called to save state and allow a restore before subsequent calls to parse.
1119
- * Not usually called directly, but available for subclasses to save their custom state.
1120
- *
1121
- * This is called in a lazy way. Only commands used in parsing chain will have state saved.
1122
- */
1123
- saveStateBeforeParse() {
1124
- this._savedState = {
1125
- // name is stable if supplied by author, but may be unspecified for root command and deduced during parsing
1126
- _name: this._name,
1127
- // option values before parse have default values (including false for negated options)
1128
- // shallow clones
1129
- _optionValues: { ...this._optionValues },
1130
- _optionValueSources: { ...this._optionValueSources },
1131
- };
1132
- }
1133
-
1134
- /**
1135
- * Restore state before parse for calls after the first.
1136
- * Not usually called directly, but available for subclasses to save their custom state.
1137
- *
1138
- * This is called in a lazy way. Only commands used in parsing chain will have state restored.
1139
- */
1140
- restoreStateBeforeParse() {
1141
- if (this._storeOptionsAsProperties)
1142
- throw new Error(`Can not call parse again when storeOptionsAsProperties is true.
1143
- - either make a new Command for each call to parse, or stop storing options as properties`);
1144
-
1145
- // clear state from _prepareUserArgs
1146
- this._name = this._savedState._name;
1147
- this._scriptPath = null;
1148
- this.rawArgs = [];
1149
- // clear state from setOptionValueWithSource
1150
- this._optionValues = { ...this._savedState._optionValues };
1151
- this._optionValueSources = { ...this._savedState._optionValueSources };
1152
- // clear state from _parseCommand
1153
- this.args = [];
1154
- // clear state from _processArguments
1155
- this.processedArgs = [];
1156
- }
1157
-
1158
- /**
1159
- * Throw if expected executable is missing. Add lots of help for author.
1160
- *
1161
- * @param {string} executableFile
1162
- * @param {string} executableDir
1163
- * @param {string} subcommandName
1164
- */
1165
- _checkForMissingExecutable(executableFile, executableDir, subcommandName) {
1166
- if (fs.existsSync(executableFile)) return;
1167
-
1168
- const executableDirMessage = executableDir
1169
- ? `searched for local subcommand relative to directory '${executableDir}'`
1170
- : 'no directory for search for local subcommand, use .executableDir() to supply a custom directory';
1171
- const executableMissing = `'${executableFile}' does not exist
1172
- - if '${subcommandName}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
1173
- - if the default executable name is not suitable, use the executableFile option to supply a custom name or path
1174
- - ${executableDirMessage}`;
1175
- throw new Error(executableMissing);
1176
- }
1177
-
1178
- /**
1179
- * Execute a sub-command executable.
1180
- *
1181
- * @private
1182
- */
1183
-
1184
- _executeSubCommand(subcommand, args) {
1185
- args = args.slice();
1186
- let launchWithNode = false; // Use node for source targets so do not need to get permissions correct, and on Windows.
1187
- const sourceExt = ['.js', '.ts', '.tsx', '.mjs', '.cjs'];
1188
-
1189
- function findFile(baseDir, baseName) {
1190
- // Look for specified file
1191
- const localBin = path.resolve(baseDir, baseName);
1192
- if (fs.existsSync(localBin)) return localBin;
1193
-
1194
- // Stop looking if candidate already has an expected extension.
1195
- if (sourceExt.includes(path.extname(baseName))) return undefined;
1196
-
1197
- // Try all the extensions.
1198
- const foundExt = sourceExt.find((ext) =>
1199
- fs.existsSync(`${localBin}${ext}`),
1200
- );
1201
- if (foundExt) return `${localBin}${foundExt}`;
1202
-
1203
- return undefined;
1204
- }
1205
-
1206
- // Not checking for help first. Unlikely to have mandatory and executable, and can't robustly test for help flags in external command.
1207
- this._checkForMissingMandatoryOptions();
1208
- this._checkForConflictingOptions();
1209
-
1210
- // executableFile and executableDir might be full path, or just a name
1211
- let executableFile =
1212
- subcommand._executableFile || `${this._name}-${subcommand._name}`;
1213
- let executableDir = this._executableDir || '';
1214
- if (this._scriptPath) {
1215
- let resolvedScriptPath; // resolve possible symlink for installed npm binary
1216
- try {
1217
- resolvedScriptPath = fs.realpathSync(this._scriptPath);
1218
- } catch {
1219
- resolvedScriptPath = this._scriptPath;
1220
- }
1221
- executableDir = path.resolve(
1222
- path.dirname(resolvedScriptPath),
1223
- executableDir,
1224
- );
1225
- }
1226
-
1227
- // Look for a local file in preference to a command in PATH.
1228
- if (executableDir) {
1229
- let localFile = findFile(executableDir, executableFile);
1230
-
1231
- // Legacy search using prefix of script name instead of command name
1232
- if (!localFile && !subcommand._executableFile && this._scriptPath) {
1233
- const legacyName = path.basename(
1234
- this._scriptPath,
1235
- path.extname(this._scriptPath),
1236
- );
1237
- if (legacyName !== this._name) {
1238
- localFile = findFile(
1239
- executableDir,
1240
- `${legacyName}-${subcommand._name}`,
1241
- );
1242
- }
1243
- }
1244
- executableFile = localFile || executableFile;
1245
- }
1246
-
1247
- launchWithNode = sourceExt.includes(path.extname(executableFile));
1248
-
1249
- let proc;
1250
- if (process.platform !== 'win32') {
1251
- if (launchWithNode) {
1252
- args.unshift(executableFile);
1253
- // add executable arguments to spawn
1254
- args = incrementNodeInspectorPort(process.execArgv).concat(args);
1255
-
1256
- proc = childProcess.spawn(process.argv[0], args, { stdio: 'inherit' });
1257
- } else {
1258
- proc = childProcess.spawn(executableFile, args, { stdio: 'inherit' });
1259
- }
1260
- } else {
1261
- this._checkForMissingExecutable(
1262
- executableFile,
1263
- executableDir,
1264
- subcommand._name,
1265
- );
1266
- args.unshift(executableFile);
1267
- // add executable arguments to spawn
1268
- args = incrementNodeInspectorPort(process.execArgv).concat(args);
1269
- proc = childProcess.spawn(process.execPath, args, { stdio: 'inherit' });
1270
- }
1271
-
1272
- if (!proc.killed) {
1273
- // testing mainly to avoid leak warnings during unit tests with mocked spawn
1274
- const signals = ['SIGUSR1', 'SIGUSR2', 'SIGTERM', 'SIGINT', 'SIGHUP'];
1275
- signals.forEach((signal) => {
1276
- process.on(signal, () => {
1277
- if (proc.killed === false && proc.exitCode === null) {
1278
- // @ts-ignore because signals not typed to known strings
1279
- proc.kill(signal);
1280
- }
1281
- });
1282
- });
1283
- }
1284
-
1285
- // By default terminate process when spawned process terminates.
1286
- const exitCallback = this._exitCallback;
1287
- proc.on('close', (code) => {
1288
- code = code ?? 1; // code is null if spawned process terminated due to a signal
1289
- if (!exitCallback) {
1290
- process.exit(code);
1291
- } else {
1292
- exitCallback(
1293
- new CommanderError(
1294
- code,
1295
- 'commander.executeSubCommandAsync',
1296
- '(close)',
1297
- ),
1298
- );
1299
- }
1300
- });
1301
- proc.on('error', (err) => {
1302
- // @ts-ignore: because err.code is an unknown property
1303
- if (err.code === 'ENOENT') {
1304
- this._checkForMissingExecutable(
1305
- executableFile,
1306
- executableDir,
1307
- subcommand._name,
1308
- );
1309
- // @ts-ignore: because err.code is an unknown property
1310
- } else if (err.code === 'EACCES') {
1311
- throw new Error(`'${executableFile}' not executable`);
1312
- }
1313
- if (!exitCallback) {
1314
- process.exit(1);
1315
- } else {
1316
- const wrappedError = new CommanderError(
1317
- 1,
1318
- 'commander.executeSubCommandAsync',
1319
- '(error)',
1320
- );
1321
- wrappedError.nestedError = err;
1322
- exitCallback(wrappedError);
1323
- }
1324
- });
1325
-
1326
- // Store the reference to the child process
1327
- this.runningCommand = proc;
1328
- }
1329
-
1330
- /**
1331
- * @private
1332
- */
1333
-
1334
- _dispatchSubcommand(commandName, operands, unknown) {
1335
- const subCommand = this._findCommand(commandName);
1336
- if (!subCommand) this.help({ error: true });
1337
-
1338
- subCommand._prepareForParse();
1339
- let promiseChain;
1340
- promiseChain = this._chainOrCallSubCommandHook(
1341
- promiseChain,
1342
- subCommand,
1343
- 'preSubcommand',
1344
- );
1345
- promiseChain = this._chainOrCall(promiseChain, () => {
1346
- if (subCommand._executableHandler) {
1347
- this._executeSubCommand(subCommand, operands.concat(unknown));
1348
- } else {
1349
- return subCommand._parseCommand(operands, unknown);
1350
- }
1351
- });
1352
- return promiseChain;
1353
- }
1354
-
1355
- /**
1356
- * Invoke help directly if possible, or dispatch if necessary.
1357
- * e.g. help foo
1358
- *
1359
- * @private
1360
- */
1361
-
1362
- _dispatchHelpCommand(subcommandName) {
1363
- if (!subcommandName) {
1364
- this.help();
1365
- }
1366
- const subCommand = this._findCommand(subcommandName);
1367
- if (subCommand && !subCommand._executableHandler) {
1368
- subCommand.help();
1369
- }
1370
-
1371
- // Fallback to parsing the help flag to invoke the help.
1372
- return this._dispatchSubcommand(
1373
- subcommandName,
1374
- [],
1375
- [this._getHelpOption()?.long ?? this._getHelpOption()?.short ?? '--help'],
1376
- );
1377
- }
1378
-
1379
- /**
1380
- * Check this.args against expected this.registeredArguments.
1381
- *
1382
- * @private
1383
- */
1384
-
1385
- _checkNumberOfArguments() {
1386
- // too few
1387
- this.registeredArguments.forEach((arg, i) => {
1388
- if (arg.required && this.args[i] == null) {
1389
- this.missingArgument(arg.name());
1390
- }
1391
- });
1392
- // too many
1393
- if (
1394
- this.registeredArguments.length > 0 &&
1395
- this.registeredArguments[this.registeredArguments.length - 1].variadic
1396
- ) {
1397
- return;
1398
- }
1399
- if (this.args.length > this.registeredArguments.length) {
1400
- this._excessArguments(this.args);
1401
- }
1402
- }
1403
-
1404
- /**
1405
- * Process this.args using this.registeredArguments and save as this.processedArgs!
1406
- *
1407
- * @private
1408
- */
1409
-
1410
- _processArguments() {
1411
- const myParseArg = (argument, value, previous) => {
1412
- // Extra processing for nice error message on parsing failure.
1413
- let parsedValue = value;
1414
- if (value !== null && argument.parseArg) {
1415
- const invalidValueMessage = `error: command-argument value '${value}' is invalid for argument '${argument.name()}'.`;
1416
- parsedValue = this._callParseArg(
1417
- argument,
1418
- value,
1419
- previous,
1420
- invalidValueMessage,
1421
- );
1422
- }
1423
- return parsedValue;
1424
- };
1425
-
1426
- this._checkNumberOfArguments();
1427
-
1428
- const processedArgs = [];
1429
- this.registeredArguments.forEach((declaredArg, index) => {
1430
- let value = declaredArg.defaultValue;
1431
- if (declaredArg.variadic) {
1432
- // Collect together remaining arguments for passing together as an array.
1433
- if (index < this.args.length) {
1434
- value = this.args.slice(index);
1435
- if (declaredArg.parseArg) {
1436
- value = value.reduce((processed, v) => {
1437
- return myParseArg(declaredArg, v, processed);
1438
- }, declaredArg.defaultValue);
1439
- }
1440
- } else if (value === undefined) {
1441
- value = [];
1442
- }
1443
- } else if (index < this.args.length) {
1444
- value = this.args[index];
1445
- if (declaredArg.parseArg) {
1446
- value = myParseArg(declaredArg, value, declaredArg.defaultValue);
1447
- }
1448
- }
1449
- processedArgs[index] = value;
1450
- });
1451
- this.processedArgs = processedArgs;
1452
- }
1453
-
1454
- /**
1455
- * Once we have a promise we chain, but call synchronously until then.
1456
- *
1457
- * @param {(Promise|undefined)} promise
1458
- * @param {Function} fn
1459
- * @return {(Promise|undefined)}
1460
- * @private
1461
- */
1462
-
1463
- _chainOrCall(promise, fn) {
1464
- // thenable
1465
- if (promise && promise.then && typeof promise.then === 'function') {
1466
- // already have a promise, chain callback
1467
- return promise.then(() => fn());
1468
- }
1469
- // callback might return a promise
1470
- return fn();
1471
- }
1472
-
1473
- /**
1474
- *
1475
- * @param {(Promise|undefined)} promise
1476
- * @param {string} event
1477
- * @return {(Promise|undefined)}
1478
- * @private
1479
- */
1480
-
1481
- _chainOrCallHooks(promise, event) {
1482
- let result = promise;
1483
- const hooks = [];
1484
- this._getCommandAndAncestors()
1485
- .reverse()
1486
- .filter((cmd) => cmd._lifeCycleHooks[event] !== undefined)
1487
- .forEach((hookedCommand) => {
1488
- hookedCommand._lifeCycleHooks[event].forEach((callback) => {
1489
- hooks.push({ hookedCommand, callback });
1490
- });
1491
- });
1492
- if (event === 'postAction') {
1493
- hooks.reverse();
1494
- }
1495
-
1496
- hooks.forEach((hookDetail) => {
1497
- result = this._chainOrCall(result, () => {
1498
- return hookDetail.callback(hookDetail.hookedCommand, this);
1499
- });
1500
- });
1501
- return result;
1502
- }
1503
-
1504
- /**
1505
- *
1506
- * @param {(Promise|undefined)} promise
1507
- * @param {Command} subCommand
1508
- * @param {string} event
1509
- * @return {(Promise|undefined)}
1510
- * @private
1511
- */
1512
-
1513
- _chainOrCallSubCommandHook(promise, subCommand, event) {
1514
- let result = promise;
1515
- if (this._lifeCycleHooks[event] !== undefined) {
1516
- this._lifeCycleHooks[event].forEach((hook) => {
1517
- result = this._chainOrCall(result, () => {
1518
- return hook(this, subCommand);
1519
- });
1520
- });
1521
- }
1522
- return result;
1523
- }
1524
-
1525
- /**
1526
- * Process arguments in context of this command.
1527
- * Returns action result, in case it is a promise.
1528
- *
1529
- * @private
1530
- */
1531
-
1532
- _parseCommand(operands, unknown) {
1533
- const parsed = this.parseOptions(unknown);
1534
- this._parseOptionsEnv(); // after cli, so parseArg not called on both cli and env
1535
- this._parseOptionsImplied();
1536
- operands = operands.concat(parsed.operands);
1537
- unknown = parsed.unknown;
1538
- this.args = operands.concat(unknown);
1539
-
1540
- if (operands && this._findCommand(operands[0])) {
1541
- return this._dispatchSubcommand(operands[0], operands.slice(1), unknown);
1542
- }
1543
- if (
1544
- this._getHelpCommand() &&
1545
- operands[0] === this._getHelpCommand().name()
1546
- ) {
1547
- return this._dispatchHelpCommand(operands[1]);
1548
- }
1549
- if (this._defaultCommandName) {
1550
- this._outputHelpIfRequested(unknown); // Run the help for default command from parent rather than passing to default command
1551
- return this._dispatchSubcommand(
1552
- this._defaultCommandName,
1553
- operands,
1554
- unknown,
1555
- );
1556
- }
1557
- if (
1558
- this.commands.length &&
1559
- this.args.length === 0 &&
1560
- !this._actionHandler &&
1561
- !this._defaultCommandName
1562
- ) {
1563
- // probably missing subcommand and no handler, user needs help (and exit)
1564
- this.help({ error: true });
1565
- }
1566
-
1567
- this._outputHelpIfRequested(parsed.unknown);
1568
- this._checkForMissingMandatoryOptions();
1569
- this._checkForConflictingOptions();
1570
-
1571
- // We do not always call this check to avoid masking a "better" error, like unknown command.
1572
- const checkForUnknownOptions = () => {
1573
- if (parsed.unknown.length > 0) {
1574
- this.unknownOption(parsed.unknown[0]);
1575
- }
1576
- };
1577
-
1578
- const commandEvent = `command:${this.name()}`;
1579
- if (this._actionHandler) {
1580
- checkForUnknownOptions();
1581
- this._processArguments();
1582
-
1583
- let promiseChain;
1584
- promiseChain = this._chainOrCallHooks(promiseChain, 'preAction');
1585
- promiseChain = this._chainOrCall(promiseChain, () =>
1586
- this._actionHandler(this.processedArgs),
1587
- );
1588
- if (this.parent) {
1589
- promiseChain = this._chainOrCall(promiseChain, () => {
1590
- this.parent.emit(commandEvent, operands, unknown); // legacy
1591
- });
1592
- }
1593
- promiseChain = this._chainOrCallHooks(promiseChain, 'postAction');
1594
- return promiseChain;
1595
- }
1596
- if (this.parent && this.parent.listenerCount(commandEvent)) {
1597
- checkForUnknownOptions();
1598
- this._processArguments();
1599
- this.parent.emit(commandEvent, operands, unknown); // legacy
1600
- } else if (operands.length) {
1601
- if (this._findCommand('*')) {
1602
- // legacy default command
1603
- return this._dispatchSubcommand('*', operands, unknown);
1604
- }
1605
- if (this.listenerCount('command:*')) {
1606
- // skip option check, emit event for possible misspelling suggestion
1607
- this.emit('command:*', operands, unknown);
1608
- } else if (this.commands.length) {
1609
- this.unknownCommand();
1610
- } else {
1611
- checkForUnknownOptions();
1612
- this._processArguments();
1613
- }
1614
- } else if (this.commands.length) {
1615
- checkForUnknownOptions();
1616
- // This command has subcommands and nothing hooked up at this level, so display help (and exit).
1617
- this.help({ error: true });
1618
- } else {
1619
- checkForUnknownOptions();
1620
- this._processArguments();
1621
- // fall through for caller to handle after calling .parse()
1622
- }
1623
- }
1624
-
1625
- /**
1626
- * Find matching command.
1627
- *
1628
- * @private
1629
- * @return {Command | undefined}
1630
- */
1631
- _findCommand(name) {
1632
- if (!name) return undefined;
1633
- return this.commands.find(
1634
- (cmd) => cmd._name === name || cmd._aliases.includes(name),
1635
- );
1636
- }
1637
-
1638
- /**
1639
- * Return an option matching `arg` if any.
1640
- *
1641
- * @param {string} arg
1642
- * @return {Option}
1643
- * @package
1644
- */
1645
-
1646
- _findOption(arg) {
1647
- return this.options.find((option) => option.is(arg));
1648
- }
1649
-
1650
- /**
1651
- * Display an error message if a mandatory option does not have a value.
1652
- * Called after checking for help flags in leaf subcommand.
1653
- *
1654
- * @private
1655
- */
1656
-
1657
- _checkForMissingMandatoryOptions() {
1658
- // Walk up hierarchy so can call in subcommand after checking for displaying help.
1659
- this._getCommandAndAncestors().forEach((cmd) => {
1660
- cmd.options.forEach((anOption) => {
1661
- if (
1662
- anOption.mandatory &&
1663
- cmd.getOptionValue(anOption.attributeName()) === undefined
1664
- ) {
1665
- cmd.missingMandatoryOptionValue(anOption);
1666
- }
1667
- });
1668
- });
1669
- }
1670
-
1671
- /**
1672
- * Display an error message if conflicting options are used together in this.
1673
- *
1674
- * @private
1675
- */
1676
- _checkForConflictingLocalOptions() {
1677
- const definedNonDefaultOptions = this.options.filter((option) => {
1678
- const optionKey = option.attributeName();
1679
- if (this.getOptionValue(optionKey) === undefined) {
1680
- return false;
1681
- }
1682
- return this.getOptionValueSource(optionKey) !== 'default';
1683
- });
1684
-
1685
- const optionsWithConflicting = definedNonDefaultOptions.filter(
1686
- (option) => option.conflictsWith.length > 0,
1687
- );
1688
-
1689
- optionsWithConflicting.forEach((option) => {
1690
- const conflictingAndDefined = definedNonDefaultOptions.find((defined) =>
1691
- option.conflictsWith.includes(defined.attributeName()),
1692
- );
1693
- if (conflictingAndDefined) {
1694
- this._conflictingOption(option, conflictingAndDefined);
1695
- }
1696
- });
1697
- }
1698
-
1699
- /**
1700
- * Display an error message if conflicting options are used together.
1701
- * Called after checking for help flags in leaf subcommand.
1702
- *
1703
- * @private
1704
- */
1705
- _checkForConflictingOptions() {
1706
- // Walk up hierarchy so can call in subcommand after checking for displaying help.
1707
- this._getCommandAndAncestors().forEach((cmd) => {
1708
- cmd._checkForConflictingLocalOptions();
1709
- });
1710
- }
1711
-
1712
- /**
1713
- * Parse options from `argv` removing known options,
1714
- * and return argv split into operands and unknown arguments.
1715
- *
1716
- * Side effects: modifies command by storing options. Does not reset state if called again.
1717
- *
1718
- * Examples:
1719
- *
1720
- * argv => operands, unknown
1721
- * --known kkk op => [op], []
1722
- * op --known kkk => [op], []
1723
- * sub --unknown uuu op => [sub], [--unknown uuu op]
1724
- * sub -- --unknown uuu op => [sub --unknown uuu op], []
1725
- *
1726
- * @param {string[]} argv
1727
- * @return {{operands: string[], unknown: string[]}}
1728
- */
1729
-
1730
- parseOptions(argv) {
1731
- const operands = []; // operands, not options or values
1732
- const unknown = []; // first unknown option and remaining unknown args
1733
- let dest = operands;
1734
- const args = argv.slice();
1735
-
1736
- function maybeOption(arg) {
1737
- return arg.length > 1 && arg[0] === '-';
1738
- }
1739
-
1740
- // parse options
1741
- let activeVariadicOption = null;
1742
- while (args.length) {
1743
- const arg = args.shift();
1744
-
1745
- // literal
1746
- if (arg === '--') {
1747
- if (dest === unknown) dest.push(arg);
1748
- dest.push(...args);
1749
- break;
1750
- }
1751
-
1752
- if (activeVariadicOption && !maybeOption(arg)) {
1753
- this.emit(`option:${activeVariadicOption.name()}`, arg);
1754
- continue;
1755
- }
1756
- activeVariadicOption = null;
1757
-
1758
- if (maybeOption(arg)) {
1759
- const option = this._findOption(arg);
1760
- // recognised option, call listener to assign value with possible custom processing
1761
- if (option) {
1762
- if (option.required) {
1763
- const value = args.shift();
1764
- if (value === undefined) this.optionMissingArgument(option);
1765
- this.emit(`option:${option.name()}`, value);
1766
- } else if (option.optional) {
1767
- let value = null;
1768
- // historical behaviour is optional value is following arg unless an option
1769
- if (args.length > 0 && !maybeOption(args[0])) {
1770
- value = args.shift();
1771
- }
1772
- this.emit(`option:${option.name()}`, value);
1773
- } else {
1774
- // boolean flag
1775
- this.emit(`option:${option.name()}`);
1776
- }
1777
- activeVariadicOption = option.variadic ? option : null;
1778
- continue;
1779
- }
1780
- }
1781
-
1782
- // Look for combo options following single dash, eat first one if known.
1783
- if (arg.length > 2 && arg[0] === '-' && arg[1] !== '-') {
1784
- const option = this._findOption(`-${arg[1]}`);
1785
- if (option) {
1786
- if (
1787
- option.required ||
1788
- (option.optional && this._combineFlagAndOptionalValue)
1789
- ) {
1790
- // option with value following in same argument
1791
- this.emit(`option:${option.name()}`, arg.slice(2));
1792
- } else {
1793
- // boolean option, emit and put back remainder of arg for further processing
1794
- this.emit(`option:${option.name()}`);
1795
- args.unshift(`-${arg.slice(2)}`);
1796
- }
1797
- continue;
1798
- }
1799
- }
1800
-
1801
- // Look for known long flag with value, like --foo=bar
1802
- if (/^--[^=]+=/.test(arg)) {
1803
- const index = arg.indexOf('=');
1804
- const option = this._findOption(arg.slice(0, index));
1805
- if (option && (option.required || option.optional)) {
1806
- this.emit(`option:${option.name()}`, arg.slice(index + 1));
1807
- continue;
1808
- }
1809
- }
1810
-
1811
- // Not a recognised option by this command.
1812
- // Might be a command-argument, or subcommand option, or unknown option, or help command or option.
1813
-
1814
- // An unknown option means further arguments also classified as unknown so can be reprocessed by subcommands.
1815
- if (maybeOption(arg)) {
1816
- dest = unknown;
1817
- }
1818
-
1819
- // If using positionalOptions, stop processing our options at subcommand.
1820
- if (
1821
- (this._enablePositionalOptions || this._passThroughOptions) &&
1822
- operands.length === 0 &&
1823
- unknown.length === 0
1824
- ) {
1825
- if (this._findCommand(arg)) {
1826
- operands.push(arg);
1827
- if (args.length > 0) unknown.push(...args);
1828
- break;
1829
- } else if (
1830
- this._getHelpCommand() &&
1831
- arg === this._getHelpCommand().name()
1832
- ) {
1833
- operands.push(arg);
1834
- if (args.length > 0) operands.push(...args);
1835
- break;
1836
- } else if (this._defaultCommandName) {
1837
- unknown.push(arg);
1838
- if (args.length > 0) unknown.push(...args);
1839
- break;
1840
- }
1841
- }
1842
-
1843
- // If using passThroughOptions, stop processing options at first command-argument.
1844
- if (this._passThroughOptions) {
1845
- dest.push(arg);
1846
- if (args.length > 0) dest.push(...args);
1847
- break;
1848
- }
1849
-
1850
- // add arg
1851
- dest.push(arg);
1852
- }
1853
-
1854
- return { operands, unknown };
1855
- }
1856
-
1857
- /**
1858
- * Return an object containing local option values as key-value pairs.
1859
- *
1860
- * @return {object}
1861
- */
1862
- opts() {
1863
- if (this._storeOptionsAsProperties) {
1864
- // Preserve original behaviour so backwards compatible when still using properties
1865
- const result = {};
1866
- const len = this.options.length;
1867
-
1868
- for (let i = 0; i < len; i++) {
1869
- const key = this.options[i].attributeName();
1870
- result[key] =
1871
- key === this._versionOptionName ? this._version : this[key];
1872
- }
1873
- return result;
1874
- }
1875
-
1876
- return this._optionValues;
1877
- }
1878
-
1879
- /**
1880
- * Return an object containing merged local and global option values as key-value pairs.
1881
- *
1882
- * @return {object}
1883
- */
1884
- optsWithGlobals() {
1885
- // globals overwrite locals
1886
- return this._getCommandAndAncestors().reduce(
1887
- (combinedOptions, cmd) => Object.assign(combinedOptions, cmd.opts()),
1888
- {},
1889
- );
1890
- }
1891
-
1892
- /**
1893
- * Display error message and exit (or call exitOverride).
1894
- *
1895
- * @param {string} message
1896
- * @param {object} [errorOptions]
1897
- * @param {string} [errorOptions.code] - an id string representing the error
1898
- * @param {number} [errorOptions.exitCode] - used with process.exit
1899
- */
1900
- error(message, errorOptions) {
1901
- // output handling
1902
- this._outputConfiguration.outputError(
1903
- `${message}\n`,
1904
- this._outputConfiguration.writeErr,
1905
- );
1906
- if (typeof this._showHelpAfterError === 'string') {
1907
- this._outputConfiguration.writeErr(`${this._showHelpAfterError}\n`);
1908
- } else if (this._showHelpAfterError) {
1909
- this._outputConfiguration.writeErr('\n');
1910
- this.outputHelp({ error: true });
1911
- }
1912
-
1913
- // exit handling
1914
- const config = errorOptions || {};
1915
- const exitCode = config.exitCode || 1;
1916
- const code = config.code || 'commander.error';
1917
- this._exit(exitCode, code, message);
1918
- }
1919
-
1920
- /**
1921
- * Apply any option related environment variables, if option does
1922
- * not have a value from cli or client code.
1923
- *
1924
- * @private
1925
- */
1926
- _parseOptionsEnv() {
1927
- this.options.forEach((option) => {
1928
- if (option.envVar && option.envVar in process.env) {
1929
- const optionKey = option.attributeName();
1930
- // Priority check. Do not overwrite cli or options from unknown source (client-code).
1931
- if (
1932
- this.getOptionValue(optionKey) === undefined ||
1933
- ['default', 'config', 'env'].includes(
1934
- this.getOptionValueSource(optionKey),
1935
- )
1936
- ) {
1937
- if (option.required || option.optional) {
1938
- // option can take a value
1939
- // keep very simple, optional always takes value
1940
- this.emit(`optionEnv:${option.name()}`, process.env[option.envVar]);
1941
- } else {
1942
- // boolean
1943
- // keep very simple, only care that envVar defined and not the value
1944
- this.emit(`optionEnv:${option.name()}`);
1945
- }
1946
- }
1947
- }
1948
- });
1949
- }
1950
-
1951
- /**
1952
- * Apply any implied option values, if option is undefined or default value.
1953
- *
1954
- * @private
1955
- */
1956
- _parseOptionsImplied() {
1957
- const dualHelper = new DualOptions(this.options);
1958
- const hasCustomOptionValue = (optionKey) => {
1959
- return (
1960
- this.getOptionValue(optionKey) !== undefined &&
1961
- !['default', 'implied'].includes(this.getOptionValueSource(optionKey))
1962
- );
1963
- };
1964
- this.options
1965
- .filter(
1966
- (option) =>
1967
- option.implied !== undefined &&
1968
- hasCustomOptionValue(option.attributeName()) &&
1969
- dualHelper.valueFromOption(
1970
- this.getOptionValue(option.attributeName()),
1971
- option,
1972
- ),
1973
- )
1974
- .forEach((option) => {
1975
- Object.keys(option.implied)
1976
- .filter((impliedKey) => !hasCustomOptionValue(impliedKey))
1977
- .forEach((impliedKey) => {
1978
- this.setOptionValueWithSource(
1979
- impliedKey,
1980
- option.implied[impliedKey],
1981
- 'implied',
1982
- );
1983
- });
1984
- });
1985
- }
1986
-
1987
- /**
1988
- * Argument `name` is missing.
1989
- *
1990
- * @param {string} name
1991
- * @private
1992
- */
1993
-
1994
- missingArgument(name) {
1995
- const message = `error: missing required argument '${name}'`;
1996
- this.error(message, { code: 'commander.missingArgument' });
1997
- }
1998
-
1999
- /**
2000
- * `Option` is missing an argument.
2001
- *
2002
- * @param {Option} option
2003
- * @private
2004
- */
2005
-
2006
- optionMissingArgument(option) {
2007
- const message = `error: option '${option.flags}' argument missing`;
2008
- this.error(message, { code: 'commander.optionMissingArgument' });
2009
- }
2010
-
2011
- /**
2012
- * `Option` does not have a value, and is a mandatory option.
2013
- *
2014
- * @param {Option} option
2015
- * @private
2016
- */
2017
-
2018
- missingMandatoryOptionValue(option) {
2019
- const message = `error: required option '${option.flags}' not specified`;
2020
- this.error(message, { code: 'commander.missingMandatoryOptionValue' });
2021
- }
2022
-
2023
- /**
2024
- * `Option` conflicts with another option.
2025
- *
2026
- * @param {Option} option
2027
- * @param {Option} conflictingOption
2028
- * @private
2029
- */
2030
- _conflictingOption(option, conflictingOption) {
2031
- // The calling code does not know whether a negated option is the source of the
2032
- // value, so do some work to take an educated guess.
2033
- const findBestOptionFromValue = (option) => {
2034
- const optionKey = option.attributeName();
2035
- const optionValue = this.getOptionValue(optionKey);
2036
- const negativeOption = this.options.find(
2037
- (target) => target.negate && optionKey === target.attributeName(),
2038
- );
2039
- const positiveOption = this.options.find(
2040
- (target) => !target.negate && optionKey === target.attributeName(),
2041
- );
2042
- if (
2043
- negativeOption &&
2044
- ((negativeOption.presetArg === undefined && optionValue === false) ||
2045
- (negativeOption.presetArg !== undefined &&
2046
- optionValue === negativeOption.presetArg))
2047
- ) {
2048
- return negativeOption;
2049
- }
2050
- return positiveOption || option;
2051
- };
2052
-
2053
- const getErrorMessage = (option) => {
2054
- const bestOption = findBestOptionFromValue(option);
2055
- const optionKey = bestOption.attributeName();
2056
- const source = this.getOptionValueSource(optionKey);
2057
- if (source === 'env') {
2058
- return `environment variable '${bestOption.envVar}'`;
2059
- }
2060
- return `option '${bestOption.flags}'`;
2061
- };
2062
-
2063
- const message = `error: ${getErrorMessage(option)} cannot be used with ${getErrorMessage(conflictingOption)}`;
2064
- this.error(message, { code: 'commander.conflictingOption' });
2065
- }
2066
-
2067
- /**
2068
- * Unknown option `flag`.
2069
- *
2070
- * @param {string} flag
2071
- * @private
2072
- */
2073
-
2074
- unknownOption(flag) {
2075
- if (this._allowUnknownOption) return;
2076
- let suggestion = '';
2077
-
2078
- if (flag.startsWith('--') && this._showSuggestionAfterError) {
2079
- // Looping to pick up the global options too
2080
- let candidateFlags = [];
2081
- // eslint-disable-next-line @typescript-eslint/no-this-alias
2082
- let command = this;
2083
- do {
2084
- const moreFlags = command
2085
- .createHelp()
2086
- .visibleOptions(command)
2087
- .filter((option) => option.long)
2088
- .map((option) => option.long);
2089
- candidateFlags = candidateFlags.concat(moreFlags);
2090
- command = command.parent;
2091
- } while (command && !command._enablePositionalOptions);
2092
- suggestion = suggestSimilar(flag, candidateFlags);
2093
- }
2094
-
2095
- const message = `error: unknown option '${flag}'${suggestion}`;
2096
- this.error(message, { code: 'commander.unknownOption' });
2097
- }
2098
-
2099
- /**
2100
- * Excess arguments, more than expected.
2101
- *
2102
- * @param {string[]} receivedArgs
2103
- * @private
2104
- */
2105
-
2106
- _excessArguments(receivedArgs) {
2107
- if (this._allowExcessArguments) return;
2108
-
2109
- const expected = this.registeredArguments.length;
2110
- const s = expected === 1 ? '' : 's';
2111
- const forSubcommand = this.parent ? ` for '${this.name()}'` : '';
2112
- const message = `error: too many arguments${forSubcommand}. Expected ${expected} argument${s} but got ${receivedArgs.length}.`;
2113
- this.error(message, { code: 'commander.excessArguments' });
2114
- }
2115
-
2116
- /**
2117
- * Unknown command.
2118
- *
2119
- * @private
2120
- */
2121
-
2122
- unknownCommand() {
2123
- const unknownName = this.args[0];
2124
- let suggestion = '';
2125
-
2126
- if (this._showSuggestionAfterError) {
2127
- const candidateNames = [];
2128
- this.createHelp()
2129
- .visibleCommands(this)
2130
- .forEach((command) => {
2131
- candidateNames.push(command.name());
2132
- // just visible alias
2133
- if (command.alias()) candidateNames.push(command.alias());
2134
- });
2135
- suggestion = suggestSimilar(unknownName, candidateNames);
2136
- }
2137
-
2138
- const message = `error: unknown command '${unknownName}'${suggestion}`;
2139
- this.error(message, { code: 'commander.unknownCommand' });
2140
- }
2141
-
2142
- /**
2143
- * Get or set the program version.
2144
- *
2145
- * This method auto-registers the "-V, --version" option which will print the version number.
2146
- *
2147
- * You can optionally supply the flags and description to override the defaults.
2148
- *
2149
- * @param {string} [str]
2150
- * @param {string} [flags]
2151
- * @param {string} [description]
2152
- * @return {(this | string | undefined)} `this` command for chaining, or version string if no arguments
2153
- */
2154
-
2155
- version(str, flags, description) {
2156
- if (str === undefined) return this._version;
2157
- this._version = str;
2158
- flags = flags || '-V, --version';
2159
- description = description || 'output the version number';
2160
- const versionOption = this.createOption(flags, description);
2161
- this._versionOptionName = versionOption.attributeName();
2162
- this._registerOption(versionOption);
2163
-
2164
- this.on('option:' + versionOption.name(), () => {
2165
- this._outputConfiguration.writeOut(`${str}\n`);
2166
- this._exit(0, 'commander.version', str);
2167
- });
2168
- return this;
2169
- }
2170
-
2171
- /**
2172
- * Set the description.
2173
- *
2174
- * @param {string} [str]
2175
- * @param {object} [argsDescription]
2176
- * @return {(string|Command)}
2177
- */
2178
- description(str, argsDescription) {
2179
- if (str === undefined && argsDescription === undefined)
2180
- return this._description;
2181
- this._description = str;
2182
- if (argsDescription) {
2183
- this._argsDescription = argsDescription;
2184
- }
2185
- return this;
2186
- }
2187
-
2188
- /**
2189
- * Set the summary. Used when listed as subcommand of parent.
2190
- *
2191
- * @param {string} [str]
2192
- * @return {(string|Command)}
2193
- */
2194
- summary(str) {
2195
- if (str === undefined) return this._summary;
2196
- this._summary = str;
2197
- return this;
2198
- }
2199
-
2200
- /**
2201
- * Set an alias for the command.
2202
- *
2203
- * You may call more than once to add multiple aliases. Only the first alias is shown in the auto-generated help.
2204
- *
2205
- * @param {string} [alias]
2206
- * @return {(string|Command)}
2207
- */
2208
-
2209
- alias(alias) {
2210
- if (alias === undefined) return this._aliases[0]; // just return first, for backwards compatibility
2211
-
2212
- /** @type {Command} */
2213
- // eslint-disable-next-line @typescript-eslint/no-this-alias
2214
- let command = this;
2215
- if (
2216
- this.commands.length !== 0 &&
2217
- this.commands[this.commands.length - 1]._executableHandler
2218
- ) {
2219
- // assume adding alias for last added executable subcommand, rather than this
2220
- command = this.commands[this.commands.length - 1];
2221
- }
2222
-
2223
- if (alias === command._name)
2224
- throw new Error("Command alias can't be the same as its name");
2225
- const matchingCommand = this.parent?._findCommand(alias);
2226
- if (matchingCommand) {
2227
- // c.f. _registerCommand
2228
- const existingCmd = [matchingCommand.name()]
2229
- .concat(matchingCommand.aliases())
2230
- .join('|');
2231
- throw new Error(
2232
- `cannot add alias '${alias}' to command '${this.name()}' as already have command '${existingCmd}'`,
2233
- );
2234
- }
2235
-
2236
- command._aliases.push(alias);
2237
- return this;
2238
- }
2239
-
2240
- /**
2241
- * Set aliases for the command.
2242
- *
2243
- * Only the first alias is shown in the auto-generated help.
2244
- *
2245
- * @param {string[]} [aliases]
2246
- * @return {(string[]|Command)}
2247
- */
2248
-
2249
- aliases(aliases) {
2250
- // Getter for the array of aliases is the main reason for having aliases() in addition to alias().
2251
- if (aliases === undefined) return this._aliases;
2252
-
2253
- aliases.forEach((alias) => this.alias(alias));
2254
- return this;
2255
- }
2256
-
2257
- /**
2258
- * Set / get the command usage `str`.
2259
- *
2260
- * @param {string} [str]
2261
- * @return {(string|Command)}
2262
- */
2263
-
2264
- usage(str) {
2265
- if (str === undefined) {
2266
- if (this._usage) return this._usage;
2267
-
2268
- const args = this.registeredArguments.map((arg) => {
2269
- return humanReadableArgName(arg);
2270
- });
2271
- return []
2272
- .concat(
2273
- this.options.length || this._helpOption !== null ? '[options]' : [],
2274
- this.commands.length ? '[command]' : [],
2275
- this.registeredArguments.length ? args : [],
2276
- )
2277
- .join(' ');
2278
- }
2279
-
2280
- this._usage = str;
2281
- return this;
2282
- }
2283
-
2284
- /**
2285
- * Get or set the name of the command.
2286
- *
2287
- * @param {string} [str]
2288
- * @return {(string|Command)}
2289
- */
2290
-
2291
- name(str) {
2292
- if (str === undefined) return this._name;
2293
- this._name = str;
2294
- return this;
2295
- }
2296
-
2297
- /**
2298
- * Set the name of the command from script filename, such as process.argv[1],
2299
- * or require.main.filename, or __filename.
2300
- *
2301
- * (Used internally and public although not documented in README.)
2302
- *
2303
- * @example
2304
- * program.nameFromFilename(require.main.filename);
2305
- *
2306
- * @param {string} filename
2307
- * @return {Command}
2308
- */
2309
-
2310
- nameFromFilename(filename) {
2311
- this._name = path.basename(filename, path.extname(filename));
2312
-
2313
- return this;
2314
- }
2315
-
2316
- /**
2317
- * Get or set the directory for searching for executable subcommands of this command.
2318
- *
2319
- * @example
2320
- * program.executableDir(__dirname);
2321
- * // or
2322
- * program.executableDir('subcommands');
2323
- *
2324
- * @param {string} [path]
2325
- * @return {(string|null|Command)}
2326
- */
2327
-
2328
- executableDir(path) {
2329
- if (path === undefined) return this._executableDir;
2330
- this._executableDir = path;
2331
- return this;
2332
- }
2333
-
2334
- /**
2335
- * Return program help documentation.
2336
- *
2337
- * @param {{ error: boolean }} [contextOptions] - pass {error:true} to wrap for stderr instead of stdout
2338
- * @return {string}
2339
- */
2340
-
2341
- helpInformation(contextOptions) {
2342
- const helper = this.createHelp();
2343
- const context = this._getOutputContext(contextOptions);
2344
- helper.prepareContext({
2345
- error: context.error,
2346
- helpWidth: context.helpWidth,
2347
- outputHasColors: context.hasColors,
2348
- });
2349
- const text = helper.formatHelp(this, helper);
2350
- if (context.hasColors) return text;
2351
- return this._outputConfiguration.stripColor(text);
2352
- }
2353
-
2354
- /**
2355
- * @typedef HelpContext
2356
- * @type {object}
2357
- * @property {boolean} error
2358
- * @property {number} helpWidth
2359
- * @property {boolean} hasColors
2360
- * @property {function} write - includes stripColor if needed
2361
- *
2362
- * @returns {HelpContext}
2363
- * @private
2364
- */
2365
-
2366
- _getOutputContext(contextOptions) {
2367
- contextOptions = contextOptions || {};
2368
- const error = !!contextOptions.error;
2369
- let baseWrite;
2370
- let hasColors;
2371
- let helpWidth;
2372
- if (error) {
2373
- baseWrite = (str) => this._outputConfiguration.writeErr(str);
2374
- hasColors = this._outputConfiguration.getErrHasColors();
2375
- helpWidth = this._outputConfiguration.getErrHelpWidth();
2376
- } else {
2377
- baseWrite = (str) => this._outputConfiguration.writeOut(str);
2378
- hasColors = this._outputConfiguration.getOutHasColors();
2379
- helpWidth = this._outputConfiguration.getOutHelpWidth();
2380
- }
2381
- const write = (str) => {
2382
- if (!hasColors) str = this._outputConfiguration.stripColor(str);
2383
- return baseWrite(str);
2384
- };
2385
- return { error, write, hasColors, helpWidth };
2386
- }
2387
-
2388
- /**
2389
- * Output help information for this command.
2390
- *
2391
- * Outputs built-in help, and custom text added using `.addHelpText()`.
2392
- *
2393
- * @param {{ error: boolean } | Function} [contextOptions] - pass {error:true} to write to stderr instead of stdout
2394
- */
2395
-
2396
- outputHelp(contextOptions) {
2397
- let deprecatedCallback;
2398
- if (typeof contextOptions === 'function') {
2399
- deprecatedCallback = contextOptions;
2400
- contextOptions = undefined;
2401
- }
2402
-
2403
- const outputContext = this._getOutputContext(contextOptions);
2404
- /** @type {HelpTextEventContext} */
2405
- const eventContext = {
2406
- error: outputContext.error,
2407
- write: outputContext.write,
2408
- command: this,
2409
- };
2410
-
2411
- this._getCommandAndAncestors()
2412
- .reverse()
2413
- .forEach((command) => command.emit('beforeAllHelp', eventContext));
2414
- this.emit('beforeHelp', eventContext);
2415
-
2416
- let helpInformation = this.helpInformation({ error: outputContext.error });
2417
- if (deprecatedCallback) {
2418
- helpInformation = deprecatedCallback(helpInformation);
2419
- if (
2420
- typeof helpInformation !== 'string' &&
2421
- !Buffer.isBuffer(helpInformation)
2422
- ) {
2423
- throw new Error('outputHelp callback must return a string or a Buffer');
2424
- }
2425
- }
2426
- outputContext.write(helpInformation);
2427
-
2428
- if (this._getHelpOption()?.long) {
2429
- this.emit(this._getHelpOption().long); // deprecated
2430
- }
2431
- this.emit('afterHelp', eventContext);
2432
- this._getCommandAndAncestors().forEach((command) =>
2433
- command.emit('afterAllHelp', eventContext),
2434
- );
2435
- }
2436
-
2437
- /**
2438
- * You can pass in flags and a description to customise the built-in help option.
2439
- * Pass in false to disable the built-in help option.
2440
- *
2441
- * @example
2442
- * program.helpOption('-?, --help' 'show help'); // customise
2443
- * program.helpOption(false); // disable
2444
- *
2445
- * @param {(string | boolean)} flags
2446
- * @param {string} [description]
2447
- * @return {Command} `this` command for chaining
2448
- */
2449
-
2450
- helpOption(flags, description) {
2451
- // Support disabling built-in help option.
2452
- if (typeof flags === 'boolean') {
2453
- // true is not an expected value. Do something sensible but no unit-test.
2454
- // istanbul ignore if
2455
- if (flags) {
2456
- this._helpOption = this._helpOption ?? undefined; // preserve existing option
2457
- } else {
2458
- this._helpOption = null; // disable
2459
- }
2460
- return this;
2461
- }
2462
-
2463
- // Customise flags and description.
2464
- flags = flags ?? '-h, --help';
2465
- description = description ?? 'display help for command';
2466
- this._helpOption = this.createOption(flags, description);
2467
-
2468
- return this;
2469
- }
2470
-
2471
- /**
2472
- * Lazy create help option.
2473
- * Returns null if has been disabled with .helpOption(false).
2474
- *
2475
- * @returns {(Option | null)} the help option
2476
- * @package
2477
- */
2478
- _getHelpOption() {
2479
- // Lazy create help option on demand.
2480
- if (this._helpOption === undefined) {
2481
- this.helpOption(undefined, undefined);
2482
- }
2483
- return this._helpOption;
2484
- }
2485
-
2486
- /**
2487
- * Supply your own option to use for the built-in help option.
2488
- * This is an alternative to using helpOption() to customise the flags and description etc.
2489
- *
2490
- * @param {Option} option
2491
- * @return {Command} `this` command for chaining
2492
- */
2493
- addHelpOption(option) {
2494
- this._helpOption = option;
2495
- return this;
2496
- }
2497
-
2498
- /**
2499
- * Output help information and exit.
2500
- *
2501
- * Outputs built-in help, and custom text added using `.addHelpText()`.
2502
- *
2503
- * @param {{ error: boolean }} [contextOptions] - pass {error:true} to write to stderr instead of stdout
2504
- */
2505
-
2506
- help(contextOptions) {
2507
- this.outputHelp(contextOptions);
2508
- let exitCode = Number(process.exitCode ?? 0); // process.exitCode does allow a string or an integer, but we prefer just a number
2509
- if (
2510
- exitCode === 0 &&
2511
- contextOptions &&
2512
- typeof contextOptions !== 'function' &&
2513
- contextOptions.error
2514
- ) {
2515
- exitCode = 1;
2516
- }
2517
- // message: do not have all displayed text available so only passing placeholder.
2518
- this._exit(exitCode, 'commander.help', '(outputHelp)');
2519
- }
2520
-
2521
- /**
2522
- * // Do a little typing to coordinate emit and listener for the help text events.
2523
- * @typedef HelpTextEventContext
2524
- * @type {object}
2525
- * @property {boolean} error
2526
- * @property {Command} command
2527
- * @property {function} write
2528
- */
2529
-
2530
- /**
2531
- * Add additional text to be displayed with the built-in help.
2532
- *
2533
- * Position is 'before' or 'after' to affect just this command,
2534
- * and 'beforeAll' or 'afterAll' to affect this command and all its subcommands.
2535
- *
2536
- * @param {string} position - before or after built-in help
2537
- * @param {(string | Function)} text - string to add, or a function returning a string
2538
- * @return {Command} `this` command for chaining
2539
- */
2540
-
2541
- addHelpText(position, text) {
2542
- const allowedValues = ['beforeAll', 'before', 'after', 'afterAll'];
2543
- if (!allowedValues.includes(position)) {
2544
- throw new Error(`Unexpected value for position to addHelpText.
2545
- Expecting one of '${allowedValues.join("', '")}'`);
2546
- }
2547
-
2548
- const helpEvent = `${position}Help`;
2549
- this.on(helpEvent, (/** @type {HelpTextEventContext} */ context) => {
2550
- let helpStr;
2551
- if (typeof text === 'function') {
2552
- helpStr = text({ error: context.error, command: context.command });
2553
- } else {
2554
- helpStr = text;
2555
- }
2556
- // Ignore falsy value when nothing to output.
2557
- if (helpStr) {
2558
- context.write(`${helpStr}\n`);
2559
- }
2560
- });
2561
- return this;
2562
- }
2563
-
2564
- /**
2565
- * Output help information if help flags specified
2566
- *
2567
- * @param {Array} args - array of options to search for help flags
2568
- * @private
2569
- */
2570
-
2571
- _outputHelpIfRequested(args) {
2572
- const helpOption = this._getHelpOption();
2573
- const helpRequested = helpOption && args.find((arg) => helpOption.is(arg));
2574
- if (helpRequested) {
2575
- this.outputHelp();
2576
- // (Do not have all displayed text available so only passing placeholder.)
2577
- this._exit(0, 'commander.helpDisplayed', '(outputHelp)');
2578
- }
2579
- }
2580
- }
2581
-
2582
- /**
2583
- * Scan arguments and increment port number for inspect calls (to avoid conflicts when spawning new command).
2584
- *
2585
- * @param {string[]} args - array of arguments from node.execArgv
2586
- * @returns {string[]}
2587
- * @private
2588
- */
2589
-
2590
- function incrementNodeInspectorPort(args) {
2591
- // Testing for these options:
2592
- // --inspect[=[host:]port]
2593
- // --inspect-brk[=[host:]port]
2594
- // --inspect-port=[host:]port
2595
- return args.map((arg) => {
2596
- if (!arg.startsWith('--inspect')) {
2597
- return arg;
2598
- }
2599
- let debugOption;
2600
- let debugHost = '127.0.0.1';
2601
- let debugPort = '9229';
2602
- let match;
2603
- if ((match = arg.match(/^(--inspect(-brk)?)$/)) !== null) {
2604
- // e.g. --inspect
2605
- debugOption = match[1];
2606
- } else if (
2607
- (match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+)$/)) !== null
2608
- ) {
2609
- debugOption = match[1];
2610
- if (/^\d+$/.test(match[3])) {
2611
- // e.g. --inspect=1234
2612
- debugPort = match[3];
2613
- } else {
2614
- // e.g. --inspect=localhost
2615
- debugHost = match[3];
2616
- }
2617
- } else if (
2618
- (match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/)) !== null
2619
- ) {
2620
- // e.g. --inspect=localhost:1234
2621
- debugOption = match[1];
2622
- debugHost = match[3];
2623
- debugPort = match[4];
2624
- }
2625
-
2626
- if (debugOption && debugPort !== '0') {
2627
- return `${debugOption}=${debugHost}:${parseInt(debugPort) + 1}`;
2628
- }
2629
- return arg;
2630
- });
2631
- }
2632
-
2633
- /**
2634
- * @returns {boolean | undefined}
2635
- * @package
2636
- */
2637
- function useColor() {
2638
- // Test for common conventions.
2639
- // NB: the observed behaviour is in combination with how author adds color! For example:
2640
- // - we do not test NODE_DISABLE_COLORS, but util:styletext does
2641
- // - we do test NO_COLOR, but Chalk does not
2642
- //
2643
- // References:
2644
- // https://no-color.org
2645
- // https://bixense.com/clicolors/
2646
- // https://github.com/nodejs/node/blob/0a00217a5f67ef4a22384cfc80eb6dd9a917fdc1/lib/internal/tty.js#L109
2647
- // https://github.com/chalk/supports-color/blob/c214314a14bcb174b12b3014b2b0a8de375029ae/index.js#L33
2648
- // (https://force-color.org recent web page from 2023, does not match major javascript implementations)
2649
-
2650
- if (
2651
- process.env.NO_COLOR ||
2652
- process.env.FORCE_COLOR === '0' ||
2653
- process.env.FORCE_COLOR === 'false'
2654
- )
2655
- return false;
2656
- if (process.env.FORCE_COLOR || process.env.CLICOLOR_FORCE !== undefined)
2657
- return true;
2658
- return undefined;
2659
- }
2660
-
2661
- exports.Command = Command;
2662
- exports.useColor = useColor; // exporting for tests