@brainai/satp-client 2.0.7 → 2.0.8

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 (2110) hide show
  1. package/{node_modules/@solana/web3.js/node_modules/borsh/LICENSE-APACHE → LICENSE} +1 -1
  2. package/README.md +20 -30
  3. package/package.json +4 -7
  4. package/examples/adoption-quickstarts.js +0 -173
  5. package/examples/integration-patterns.js +0 -495
  6. package/examples/runtime-policy-adapter.js +0 -107
  7. package/examples/x402-discovery-evidence-lookup.js +0 -66
  8. package/examples/x402-reputation-evidence-lookup-client.js +0 -182
  9. package/node_modules/@babel/runtime/LICENSE +0 -22
  10. package/node_modules/@babel/runtime/README.md +0 -19
  11. package/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -4
  12. package/node_modules/@babel/runtime/helpers/OverloadYield.js +0 -4
  13. package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -9
  14. package/node_modules/@babel/runtime/helpers/applyDecs.js +0 -236
  15. package/node_modules/@babel/runtime/helpers/applyDecs2203.js +0 -184
  16. package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +0 -191
  17. package/node_modules/@babel/runtime/helpers/applyDecs2301.js +0 -222
  18. package/node_modules/@babel/runtime/helpers/applyDecs2305.js +0 -133
  19. package/node_modules/@babel/runtime/helpers/applyDecs2311.js +0 -124
  20. package/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
  21. package/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
  22. package/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
  23. package/node_modules/@babel/runtime/helpers/assertClassBrand.js +0 -5
  24. package/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
  25. package/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -24
  26. package/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -45
  27. package/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -26
  28. package/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -5
  29. package/node_modules/@babel/runtime/helpers/callSuper.js +0 -7
  30. package/node_modules/@babel/runtime/helpers/checkInRHS.js +0 -6
  31. package/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -4
  32. package/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -10
  33. package/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -4
  34. package/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -7
  35. package/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
  36. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -5
  37. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -4
  38. package/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -5
  39. package/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -4
  40. package/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -7
  41. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -7
  42. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +0 -5
  43. package/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -5
  44. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -5
  45. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -5
  46. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -7
  47. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +0 -5
  48. package/node_modules/@babel/runtime/helpers/classPrivateGetter.js +0 -5
  49. package/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -5
  50. package/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -5
  51. package/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -4
  52. package/node_modules/@babel/runtime/helpers/classPrivateSetter.js +0 -5
  53. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -7
  54. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -7
  55. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -7
  56. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -5
  57. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -4
  58. package/node_modules/@babel/runtime/helpers/construct.js +0 -10
  59. package/node_modules/@babel/runtime/helpers/createClass.js +0 -13
  60. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -50
  61. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -19
  62. package/node_modules/@babel/runtime/helpers/createSuper.js +0 -16
  63. package/node_modules/@babel/runtime/helpers/decorate.js +0 -250
  64. package/node_modules/@babel/runtime/helpers/defaults.js +0 -9
  65. package/node_modules/@babel/runtime/helpers/defineAccessor.js +0 -8
  66. package/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -12
  67. package/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
  68. package/node_modules/@babel/runtime/helpers/dispose.js +0 -28
  69. package/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -4
  70. package/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +0 -4
  71. package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -9
  72. package/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -236
  73. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +0 -184
  74. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +0 -191
  75. package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +0 -222
  76. package/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +0 -133
  77. package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +0 -124
  78. package/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -6
  79. package/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -4
  80. package/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -5
  81. package/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +0 -5
  82. package/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -5
  83. package/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -24
  84. package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -45
  85. package/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -26
  86. package/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -5
  87. package/node_modules/@babel/runtime/helpers/esm/callSuper.js +0 -7
  88. package/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +0 -6
  89. package/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -4
  90. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -10
  91. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -4
  92. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -7
  93. package/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -4
  94. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  95. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -4
  96. package/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -5
  97. package/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -4
  98. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -7
  99. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -7
  100. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +0 -5
  101. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  102. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -5
  103. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -5
  104. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  105. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +0 -5
  106. package/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +0 -5
  107. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -5
  108. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  109. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -4
  110. package/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +0 -5
  111. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -7
  112. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -7
  113. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -7
  114. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  115. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -4
  116. package/node_modules/@babel/runtime/helpers/esm/construct.js +0 -10
  117. package/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -13
  118. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -50
  119. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -19
  120. package/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -16
  121. package/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -250
  122. package/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -9
  123. package/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +0 -8
  124. package/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -12
  125. package/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -10
  126. package/node_modules/@babel/runtime/helpers/esm/dispose.js +0 -28
  127. package/node_modules/@babel/runtime/helpers/esm/extends.js +0 -10
  128. package/node_modules/@babel/runtime/helpers/esm/get.js +0 -11
  129. package/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  130. package/node_modules/@babel/runtime/helpers/esm/identity.js +0 -4
  131. package/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +0 -27
  132. package/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -14
  133. package/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -5
  134. package/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  135. package/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -4
  136. package/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -4
  137. package/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -6
  138. package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -22
  139. package/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -8
  140. package/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -9
  141. package/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -4
  142. package/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -28
  143. package/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -22
  144. package/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  145. package/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -4
  146. package/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -4
  147. package/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -4
  148. package/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +0 -4
  149. package/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -4
  150. package/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -14
  151. package/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -23
  152. package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
  153. package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -10
  154. package/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  155. package/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -8
  156. package/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -4
  157. package/node_modules/@babel/runtime/helpers/esm/regenerator.js +0 -89
  158. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +0 -8
  159. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +0 -6
  160. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -33
  161. package/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +0 -22
  162. package/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +0 -10
  163. package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -77
  164. package/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +0 -19
  165. package/node_modules/@babel/runtime/helpers/esm/set.js +0 -22
  166. package/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +0 -12
  167. package/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -6
  168. package/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  169. package/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -8
  170. package/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -6
  171. package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +0 -9
  172. package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +0 -6
  173. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -8
  174. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -4
  175. package/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -4
  176. package/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -6
  177. package/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -2
  178. package/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -8
  179. package/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -8
  180. package/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -12
  181. package/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -7
  182. package/node_modules/@babel/runtime/helpers/esm/toSetter.js +0 -10
  183. package/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +0 -6
  184. package/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -10
  185. package/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  186. package/node_modules/@babel/runtime/helpers/esm/using.js +0 -12
  187. package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +0 -59
  188. package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -69
  189. package/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -27
  190. package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -52
  191. package/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -4
  192. package/node_modules/@babel/runtime/helpers/extends.js +0 -10
  193. package/node_modules/@babel/runtime/helpers/get.js +0 -11
  194. package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
  195. package/node_modules/@babel/runtime/helpers/identity.js +0 -4
  196. package/node_modules/@babel/runtime/helpers/importDeferProxy.js +0 -27
  197. package/node_modules/@babel/runtime/helpers/inherits.js +0 -14
  198. package/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -5
  199. package/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -9
  200. package/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -4
  201. package/node_modules/@babel/runtime/helpers/instanceof.js +0 -4
  202. package/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
  203. package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -22
  204. package/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -8
  205. package/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -9
  206. package/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
  207. package/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
  208. package/node_modules/@babel/runtime/helpers/jsx.js +0 -22
  209. package/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -9
  210. package/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -4
  211. package/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
  212. package/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
  213. package/node_modules/@babel/runtime/helpers/nullishReceiverError.js +0 -4
  214. package/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -4
  215. package/node_modules/@babel/runtime/helpers/objectSpread.js +0 -14
  216. package/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -23
  217. package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -13
  218. package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -10
  219. package/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
  220. package/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -4
  221. package/node_modules/@babel/runtime/helpers/regenerator.js +0 -89
  222. package/node_modules/@babel/runtime/helpers/regeneratorAsync.js +0 -8
  223. package/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +0 -6
  224. package/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +0 -33
  225. package/node_modules/@babel/runtime/helpers/regeneratorDefine.js +0 -22
  226. package/node_modules/@babel/runtime/helpers/regeneratorKeys.js +0 -10
  227. package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -77
  228. package/node_modules/@babel/runtime/helpers/regeneratorValues.js +0 -19
  229. package/node_modules/@babel/runtime/helpers/set.js +0 -22
  230. package/node_modules/@babel/runtime/helpers/setFunctionName.js +0 -12
  231. package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
  232. package/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -7
  233. package/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
  234. package/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
  235. package/node_modules/@babel/runtime/helpers/superPropGet.js +0 -9
  236. package/node_modules/@babel/runtime/helpers/superPropSet.js +0 -6
  237. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -8
  238. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -4
  239. package/node_modules/@babel/runtime/helpers/tdz.js +0 -4
  240. package/node_modules/@babel/runtime/helpers/temporalRef.js +0 -6
  241. package/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -2
  242. package/node_modules/@babel/runtime/helpers/toArray.js +0 -8
  243. package/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
  244. package/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
  245. package/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
  246. package/node_modules/@babel/runtime/helpers/toSetter.js +0 -10
  247. package/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +0 -6
  248. package/node_modules/@babel/runtime/helpers/typeof.js +0 -10
  249. package/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
  250. package/node_modules/@babel/runtime/helpers/using.js +0 -12
  251. package/node_modules/@babel/runtime/helpers/usingCtx.js +0 -59
  252. package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -69
  253. package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -27
  254. package/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -52
  255. package/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -4
  256. package/node_modules/@babel/runtime/package.json +0 -1107
  257. package/node_modules/@babel/runtime/regenerator/index.js +0 -15
  258. package/node_modules/@noble/curves/LICENSE +0 -21
  259. package/node_modules/@noble/curves/README.md +0 -1009
  260. package/node_modules/@noble/curves/_shortw_utils.d.ts +0 -19
  261. package/node_modules/@noble/curves/_shortw_utils.d.ts.map +0 -1
  262. package/node_modules/@noble/curves/_shortw_utils.js +0 -20
  263. package/node_modules/@noble/curves/_shortw_utils.js.map +0 -1
  264. package/node_modules/@noble/curves/abstract/bls.d.ts +0 -190
  265. package/node_modules/@noble/curves/abstract/bls.d.ts.map +0 -1
  266. package/node_modules/@noble/curves/abstract/bls.js +0 -411
  267. package/node_modules/@noble/curves/abstract/bls.js.map +0 -1
  268. package/node_modules/@noble/curves/abstract/curve.d.ts +0 -231
  269. package/node_modules/@noble/curves/abstract/curve.d.ts.map +0 -1
  270. package/node_modules/@noble/curves/abstract/curve.js +0 -476
  271. package/node_modules/@noble/curves/abstract/curve.js.map +0 -1
  272. package/node_modules/@noble/curves/abstract/edwards.d.ts +0 -243
  273. package/node_modules/@noble/curves/abstract/edwards.d.ts.map +0 -1
  274. package/node_modules/@noble/curves/abstract/edwards.js +0 -634
  275. package/node_modules/@noble/curves/abstract/edwards.js.map +0 -1
  276. package/node_modules/@noble/curves/abstract/fft.d.ts +0 -122
  277. package/node_modules/@noble/curves/abstract/fft.d.ts.map +0 -1
  278. package/node_modules/@noble/curves/abstract/fft.js +0 -438
  279. package/node_modules/@noble/curves/abstract/fft.js.map +0 -1
  280. package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +0 -102
  281. package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts.map +0 -1
  282. package/node_modules/@noble/curves/abstract/hash-to-curve.js +0 -211
  283. package/node_modules/@noble/curves/abstract/hash-to-curve.js.map +0 -1
  284. package/node_modules/@noble/curves/abstract/modular.d.ts +0 -171
  285. package/node_modules/@noble/curves/abstract/modular.d.ts.map +0 -1
  286. package/node_modules/@noble/curves/abstract/modular.js +0 -554
  287. package/node_modules/@noble/curves/abstract/modular.js.map +0 -1
  288. package/node_modules/@noble/curves/abstract/montgomery.d.ts +0 -30
  289. package/node_modules/@noble/curves/abstract/montgomery.d.ts.map +0 -1
  290. package/node_modules/@noble/curves/abstract/montgomery.js +0 -160
  291. package/node_modules/@noble/curves/abstract/montgomery.js.map +0 -1
  292. package/node_modules/@noble/curves/abstract/poseidon.d.ts +0 -68
  293. package/node_modules/@noble/curves/abstract/poseidon.d.ts.map +0 -1
  294. package/node_modules/@noble/curves/abstract/poseidon.js +0 -305
  295. package/node_modules/@noble/curves/abstract/poseidon.js.map +0 -1
  296. package/node_modules/@noble/curves/abstract/tower.d.ts +0 -95
  297. package/node_modules/@noble/curves/abstract/tower.d.ts.map +0 -1
  298. package/node_modules/@noble/curves/abstract/tower.js +0 -718
  299. package/node_modules/@noble/curves/abstract/tower.js.map +0 -1
  300. package/node_modules/@noble/curves/abstract/utils.d.ts +0 -78
  301. package/node_modules/@noble/curves/abstract/utils.d.ts.map +0 -1
  302. package/node_modules/@noble/curves/abstract/utils.js +0 -73
  303. package/node_modules/@noble/curves/abstract/utils.js.map +0 -1
  304. package/node_modules/@noble/curves/abstract/weierstrass.d.ts +0 -416
  305. package/node_modules/@noble/curves/abstract/weierstrass.d.ts.map +0 -1
  306. package/node_modules/@noble/curves/abstract/weierstrass.js +0 -1427
  307. package/node_modules/@noble/curves/abstract/weierstrass.js.map +0 -1
  308. package/node_modules/@noble/curves/bls12-381.d.ts +0 -16
  309. package/node_modules/@noble/curves/bls12-381.d.ts.map +0 -1
  310. package/node_modules/@noble/curves/bls12-381.js +0 -708
  311. package/node_modules/@noble/curves/bls12-381.js.map +0 -1
  312. package/node_modules/@noble/curves/bn254.d.ts +0 -18
  313. package/node_modules/@noble/curves/bn254.d.ts.map +0 -1
  314. package/node_modules/@noble/curves/bn254.js +0 -218
  315. package/node_modules/@noble/curves/bn254.js.map +0 -1
  316. package/node_modules/@noble/curves/ed25519.d.ts +0 -106
  317. package/node_modules/@noble/curves/ed25519.d.ts.map +0 -1
  318. package/node_modules/@noble/curves/ed25519.js +0 -472
  319. package/node_modules/@noble/curves/ed25519.js.map +0 -1
  320. package/node_modules/@noble/curves/ed448.d.ts +0 -100
  321. package/node_modules/@noble/curves/ed448.d.ts.map +0 -1
  322. package/node_modules/@noble/curves/ed448.js +0 -463
  323. package/node_modules/@noble/curves/ed448.js.map +0 -1
  324. package/node_modules/@noble/curves/esm/_shortw_utils.d.ts +0 -19
  325. package/node_modules/@noble/curves/esm/_shortw_utils.d.ts.map +0 -1
  326. package/node_modules/@noble/curves/esm/_shortw_utils.js +0 -16
  327. package/node_modules/@noble/curves/esm/_shortw_utils.js.map +0 -1
  328. package/node_modules/@noble/curves/esm/abstract/bls.d.ts +0 -190
  329. package/node_modules/@noble/curves/esm/abstract/bls.d.ts.map +0 -1
  330. package/node_modules/@noble/curves/esm/abstract/bls.js +0 -408
  331. package/node_modules/@noble/curves/esm/abstract/bls.js.map +0 -1
  332. package/node_modules/@noble/curves/esm/abstract/curve.d.ts +0 -231
  333. package/node_modules/@noble/curves/esm/abstract/curve.d.ts.map +0 -1
  334. package/node_modules/@noble/curves/esm/abstract/curve.js +0 -465
  335. package/node_modules/@noble/curves/esm/abstract/curve.js.map +0 -1
  336. package/node_modules/@noble/curves/esm/abstract/edwards.d.ts +0 -243
  337. package/node_modules/@noble/curves/esm/abstract/edwards.d.ts.map +0 -1
  338. package/node_modules/@noble/curves/esm/abstract/edwards.js +0 -627
  339. package/node_modules/@noble/curves/esm/abstract/edwards.js.map +0 -1
  340. package/node_modules/@noble/curves/esm/abstract/fft.d.ts +0 -122
  341. package/node_modules/@noble/curves/esm/abstract/fft.d.ts.map +0 -1
  342. package/node_modules/@noble/curves/esm/abstract/fft.js +0 -425
  343. package/node_modules/@noble/curves/esm/abstract/fft.js.map +0 -1
  344. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts +0 -102
  345. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts.map +0 -1
  346. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js +0 -203
  347. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js.map +0 -1
  348. package/node_modules/@noble/curves/esm/abstract/modular.d.ts +0 -171
  349. package/node_modules/@noble/curves/esm/abstract/modular.d.ts.map +0 -1
  350. package/node_modules/@noble/curves/esm/abstract/modular.js +0 -530
  351. package/node_modules/@noble/curves/esm/abstract/modular.js.map +0 -1
  352. package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts +0 -30
  353. package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts.map +0 -1
  354. package/node_modules/@noble/curves/esm/abstract/montgomery.js +0 -157
  355. package/node_modules/@noble/curves/esm/abstract/montgomery.js.map +0 -1
  356. package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts +0 -68
  357. package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts.map +0 -1
  358. package/node_modules/@noble/curves/esm/abstract/poseidon.js +0 -296
  359. package/node_modules/@noble/curves/esm/abstract/poseidon.js.map +0 -1
  360. package/node_modules/@noble/curves/esm/abstract/tower.d.ts +0 -95
  361. package/node_modules/@noble/curves/esm/abstract/tower.d.ts.map +0 -1
  362. package/node_modules/@noble/curves/esm/abstract/tower.js +0 -714
  363. package/node_modules/@noble/curves/esm/abstract/tower.js.map +0 -1
  364. package/node_modules/@noble/curves/esm/abstract/utils.d.ts +0 -78
  365. package/node_modules/@noble/curves/esm/abstract/utils.d.ts.map +0 -1
  366. package/node_modules/@noble/curves/esm/abstract/utils.js +0 -70
  367. package/node_modules/@noble/curves/esm/abstract/utils.js.map +0 -1
  368. package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts +0 -416
  369. package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts.map +0 -1
  370. package/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -1413
  371. package/node_modules/@noble/curves/esm/abstract/weierstrass.js.map +0 -1
  372. package/node_modules/@noble/curves/esm/bls12-381.d.ts +0 -16
  373. package/node_modules/@noble/curves/esm/bls12-381.d.ts.map +0 -1
  374. package/node_modules/@noble/curves/esm/bls12-381.js +0 -705
  375. package/node_modules/@noble/curves/esm/bls12-381.js.map +0 -1
  376. package/node_modules/@noble/curves/esm/bn254.d.ts +0 -18
  377. package/node_modules/@noble/curves/esm/bn254.d.ts.map +0 -1
  378. package/node_modules/@noble/curves/esm/bn254.js +0 -214
  379. package/node_modules/@noble/curves/esm/bn254.js.map +0 -1
  380. package/node_modules/@noble/curves/esm/ed25519.d.ts +0 -106
  381. package/node_modules/@noble/curves/esm/ed25519.d.ts.map +0 -1
  382. package/node_modules/@noble/curves/esm/ed25519.js +0 -467
  383. package/node_modules/@noble/curves/esm/ed25519.js.map +0 -1
  384. package/node_modules/@noble/curves/esm/ed448.d.ts +0 -100
  385. package/node_modules/@noble/curves/esm/ed448.d.ts.map +0 -1
  386. package/node_modules/@noble/curves/esm/ed448.js +0 -459
  387. package/node_modules/@noble/curves/esm/ed448.js.map +0 -1
  388. package/node_modules/@noble/curves/esm/index.d.ts +0 -2
  389. package/node_modules/@noble/curves/esm/index.d.ts.map +0 -1
  390. package/node_modules/@noble/curves/esm/index.js +0 -17
  391. package/node_modules/@noble/curves/esm/index.js.map +0 -1
  392. package/node_modules/@noble/curves/esm/jubjub.d.ts +0 -12
  393. package/node_modules/@noble/curves/esm/jubjub.d.ts.map +0 -1
  394. package/node_modules/@noble/curves/esm/jubjub.js +0 -12
  395. package/node_modules/@noble/curves/esm/jubjub.js.map +0 -1
  396. package/node_modules/@noble/curves/esm/misc.d.ts +0 -19
  397. package/node_modules/@noble/curves/esm/misc.d.ts.map +0 -1
  398. package/node_modules/@noble/curves/esm/misc.js +0 -109
  399. package/node_modules/@noble/curves/esm/misc.js.map +0 -1
  400. package/node_modules/@noble/curves/esm/nist.d.ts +0 -21
  401. package/node_modules/@noble/curves/esm/nist.d.ts.map +0 -1
  402. package/node_modules/@noble/curves/esm/nist.js +0 -132
  403. package/node_modules/@noble/curves/esm/nist.js.map +0 -1
  404. package/node_modules/@noble/curves/esm/p256.d.ts +0 -16
  405. package/node_modules/@noble/curves/esm/p256.d.ts.map +0 -1
  406. package/node_modules/@noble/curves/esm/p256.js +0 -16
  407. package/node_modules/@noble/curves/esm/p256.js.map +0 -1
  408. package/node_modules/@noble/curves/esm/p384.d.ts +0 -16
  409. package/node_modules/@noble/curves/esm/p384.d.ts.map +0 -1
  410. package/node_modules/@noble/curves/esm/p384.js +0 -16
  411. package/node_modules/@noble/curves/esm/p384.js.map +0 -1
  412. package/node_modules/@noble/curves/esm/p521.d.ts +0 -16
  413. package/node_modules/@noble/curves/esm/p521.d.ts.map +0 -1
  414. package/node_modules/@noble/curves/esm/p521.js +0 -16
  415. package/node_modules/@noble/curves/esm/p521.js.map +0 -1
  416. package/node_modules/@noble/curves/esm/package.json +0 -4
  417. package/node_modules/@noble/curves/esm/pasta.d.ts +0 -10
  418. package/node_modules/@noble/curves/esm/pasta.d.ts.map +0 -1
  419. package/node_modules/@noble/curves/esm/pasta.js +0 -10
  420. package/node_modules/@noble/curves/esm/pasta.js.map +0 -1
  421. package/node_modules/@noble/curves/esm/secp256k1.d.ts +0 -89
  422. package/node_modules/@noble/curves/esm/secp256k1.d.ts.map +0 -1
  423. package/node_modules/@noble/curves/esm/secp256k1.js +0 -294
  424. package/node_modules/@noble/curves/esm/secp256k1.js.map +0 -1
  425. package/node_modules/@noble/curves/esm/utils.d.ts +0 -110
  426. package/node_modules/@noble/curves/esm/utils.d.ts.map +0 -1
  427. package/node_modules/@noble/curves/esm/utils.js +0 -322
  428. package/node_modules/@noble/curves/esm/utils.js.map +0 -1
  429. package/node_modules/@noble/curves/index.d.ts +0 -1
  430. package/node_modules/@noble/curves/index.d.ts.map +0 -1
  431. package/node_modules/@noble/curves/index.js +0 -17
  432. package/node_modules/@noble/curves/index.js.map +0 -1
  433. package/node_modules/@noble/curves/jubjub.d.ts +0 -12
  434. package/node_modules/@noble/curves/jubjub.d.ts.map +0 -1
  435. package/node_modules/@noble/curves/jubjub.js +0 -15
  436. package/node_modules/@noble/curves/jubjub.js.map +0 -1
  437. package/node_modules/@noble/curves/misc.d.ts +0 -19
  438. package/node_modules/@noble/curves/misc.d.ts.map +0 -1
  439. package/node_modules/@noble/curves/misc.js +0 -114
  440. package/node_modules/@noble/curves/misc.js.map +0 -1
  441. package/node_modules/@noble/curves/nist.d.ts +0 -21
  442. package/node_modules/@noble/curves/nist.d.ts.map +0 -1
  443. package/node_modules/@noble/curves/nist.js +0 -135
  444. package/node_modules/@noble/curves/nist.js.map +0 -1
  445. package/node_modules/@noble/curves/p256.d.ts +0 -16
  446. package/node_modules/@noble/curves/p256.d.ts.map +0 -1
  447. package/node_modules/@noble/curves/p256.js +0 -13
  448. package/node_modules/@noble/curves/p256.js.map +0 -1
  449. package/node_modules/@noble/curves/p384.d.ts +0 -16
  450. package/node_modules/@noble/curves/p384.d.ts.map +0 -1
  451. package/node_modules/@noble/curves/p384.js +0 -13
  452. package/node_modules/@noble/curves/p384.js.map +0 -1
  453. package/node_modules/@noble/curves/p521.d.ts +0 -16
  454. package/node_modules/@noble/curves/p521.d.ts.map +0 -1
  455. package/node_modules/@noble/curves/p521.js +0 -13
  456. package/node_modules/@noble/curves/p521.js.map +0 -1
  457. package/node_modules/@noble/curves/package.json +0 -295
  458. package/node_modules/@noble/curves/pasta.d.ts +0 -10
  459. package/node_modules/@noble/curves/pasta.d.ts.map +0 -1
  460. package/node_modules/@noble/curves/pasta.js +0 -13
  461. package/node_modules/@noble/curves/pasta.js.map +0 -1
  462. package/node_modules/@noble/curves/secp256k1.d.ts +0 -89
  463. package/node_modules/@noble/curves/secp256k1.d.ts.map +0 -1
  464. package/node_modules/@noble/curves/secp256k1.js +0 -297
  465. package/node_modules/@noble/curves/secp256k1.js.map +0 -1
  466. package/node_modules/@noble/curves/src/_shortw_utils.ts +0 -21
  467. package/node_modules/@noble/curves/src/abstract/bls.ts +0 -747
  468. package/node_modules/@noble/curves/src/abstract/curve.ts +0 -692
  469. package/node_modules/@noble/curves/src/abstract/edwards.ts +0 -914
  470. package/node_modules/@noble/curves/src/abstract/fft.ts +0 -519
  471. package/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +0 -306
  472. package/node_modules/@noble/curves/src/abstract/modular.ts +0 -605
  473. package/node_modules/@noble/curves/src/abstract/montgomery.ts +0 -194
  474. package/node_modules/@noble/curves/src/abstract/poseidon.ts +0 -335
  475. package/node_modules/@noble/curves/src/abstract/tower.ts +0 -867
  476. package/node_modules/@noble/curves/src/abstract/utils.ts +0 -80
  477. package/node_modules/@noble/curves/src/abstract/weierstrass.ts +0 -1884
  478. package/node_modules/@noble/curves/src/bls12-381.ts +0 -781
  479. package/node_modules/@noble/curves/src/bn254.ts +0 -243
  480. package/node_modules/@noble/curves/src/ed25519.ts +0 -554
  481. package/node_modules/@noble/curves/src/ed448.ts +0 -552
  482. package/node_modules/@noble/curves/src/index.ts +0 -15
  483. package/node_modules/@noble/curves/src/jubjub.ts +0 -12
  484. package/node_modules/@noble/curves/src/misc.ts +0 -124
  485. package/node_modules/@noble/curves/src/nist.ts +0 -197
  486. package/node_modules/@noble/curves/src/p256.ts +0 -15
  487. package/node_modules/@noble/curves/src/p384.ts +0 -15
  488. package/node_modules/@noble/curves/src/p521.ts +0 -15
  489. package/node_modules/@noble/curves/src/package.json +0 -3
  490. package/node_modules/@noble/curves/src/pasta.ts +0 -9
  491. package/node_modules/@noble/curves/src/secp256k1.ts +0 -362
  492. package/node_modules/@noble/curves/src/utils.ts +0 -376
  493. package/node_modules/@noble/curves/utils.d.ts +0 -110
  494. package/node_modules/@noble/curves/utils.d.ts.map +0 -1
  495. package/node_modules/@noble/curves/utils.js +0 -360
  496. package/node_modules/@noble/curves/utils.js.map +0 -1
  497. package/node_modules/@noble/hashes/LICENSE +0 -21
  498. package/node_modules/@noble/hashes/README.md +0 -521
  499. package/node_modules/@noble/hashes/_assert.d.ts +0 -17
  500. package/node_modules/@noble/hashes/_assert.d.ts.map +0 -1
  501. package/node_modules/@noble/hashes/_assert.js +0 -18
  502. package/node_modules/@noble/hashes/_assert.js.map +0 -1
  503. package/node_modules/@noble/hashes/_blake.d.ts +0 -14
  504. package/node_modules/@noble/hashes/_blake.d.ts.map +0 -1
  505. package/node_modules/@noble/hashes/_blake.js +0 -50
  506. package/node_modules/@noble/hashes/_blake.js.map +0 -1
  507. package/node_modules/@noble/hashes/_md.d.ts +0 -51
  508. package/node_modules/@noble/hashes/_md.d.ts.map +0 -1
  509. package/node_modules/@noble/hashes/_md.js +0 -162
  510. package/node_modules/@noble/hashes/_md.js.map +0 -1
  511. package/node_modules/@noble/hashes/_u64.d.ts +0 -55
  512. package/node_modules/@noble/hashes/_u64.d.ts.map +0 -1
  513. package/node_modules/@noble/hashes/_u64.js +0 -90
  514. package/node_modules/@noble/hashes/_u64.js.map +0 -1
  515. package/node_modules/@noble/hashes/argon2.d.ts +0 -32
  516. package/node_modules/@noble/hashes/argon2.d.ts.map +0 -1
  517. package/node_modules/@noble/hashes/argon2.js +0 -401
  518. package/node_modules/@noble/hashes/argon2.js.map +0 -1
  519. package/node_modules/@noble/hashes/blake1.d.ts +0 -106
  520. package/node_modules/@noble/hashes/blake1.d.ts.map +0 -1
  521. package/node_modules/@noble/hashes/blake1.js +0 -459
  522. package/node_modules/@noble/hashes/blake1.js.map +0 -1
  523. package/node_modules/@noble/hashes/blake2.d.ts +0 -116
  524. package/node_modules/@noble/hashes/blake2.d.ts.map +0 -1
  525. package/node_modules/@noble/hashes/blake2.js +0 -420
  526. package/node_modules/@noble/hashes/blake2.js.map +0 -1
  527. package/node_modules/@noble/hashes/blake2b.d.ts +0 -11
  528. package/node_modules/@noble/hashes/blake2b.d.ts.map +0 -1
  529. package/node_modules/@noble/hashes/blake2b.js +0 -14
  530. package/node_modules/@noble/hashes/blake2b.js.map +0 -1
  531. package/node_modules/@noble/hashes/blake2s.d.ts +0 -20
  532. package/node_modules/@noble/hashes/blake2s.d.ts.map +0 -1
  533. package/node_modules/@noble/hashes/blake2s.js +0 -24
  534. package/node_modules/@noble/hashes/blake2s.js.map +0 -1
  535. package/node_modules/@noble/hashes/blake3.d.ts +0 -54
  536. package/node_modules/@noble/hashes/blake3.d.ts.map +0 -1
  537. package/node_modules/@noble/hashes/blake3.js +0 -255
  538. package/node_modules/@noble/hashes/blake3.js.map +0 -1
  539. package/node_modules/@noble/hashes/crypto.d.ts +0 -2
  540. package/node_modules/@noble/hashes/crypto.d.ts.map +0 -1
  541. package/node_modules/@noble/hashes/crypto.js +0 -5
  542. package/node_modules/@noble/hashes/crypto.js.map +0 -1
  543. package/node_modules/@noble/hashes/cryptoNode.d.ts +0 -2
  544. package/node_modules/@noble/hashes/cryptoNode.d.ts.map +0 -1
  545. package/node_modules/@noble/hashes/cryptoNode.js +0 -18
  546. package/node_modules/@noble/hashes/cryptoNode.js.map +0 -1
  547. package/node_modules/@noble/hashes/eskdf.d.ts +0 -47
  548. package/node_modules/@noble/hashes/eskdf.d.ts.map +0 -1
  549. package/node_modules/@noble/hashes/eskdf.js +0 -166
  550. package/node_modules/@noble/hashes/eskdf.js.map +0 -1
  551. package/node_modules/@noble/hashes/esm/_assert.d.ts +0 -17
  552. package/node_modules/@noble/hashes/esm/_assert.d.ts.map +0 -1
  553. package/node_modules/@noble/hashes/esm/_assert.js +0 -15
  554. package/node_modules/@noble/hashes/esm/_assert.js.map +0 -1
  555. package/node_modules/@noble/hashes/esm/_blake.d.ts +0 -14
  556. package/node_modules/@noble/hashes/esm/_blake.d.ts.map +0 -1
  557. package/node_modules/@noble/hashes/esm/_blake.js +0 -45
  558. package/node_modules/@noble/hashes/esm/_blake.js.map +0 -1
  559. package/node_modules/@noble/hashes/esm/_md.d.ts +0 -51
  560. package/node_modules/@noble/hashes/esm/_md.d.ts.map +0 -1
  561. package/node_modules/@noble/hashes/esm/_md.js +0 -155
  562. package/node_modules/@noble/hashes/esm/_md.js.map +0 -1
  563. package/node_modules/@noble/hashes/esm/_u64.d.ts +0 -55
  564. package/node_modules/@noble/hashes/esm/_u64.d.ts.map +0 -1
  565. package/node_modules/@noble/hashes/esm/_u64.js +0 -67
  566. package/node_modules/@noble/hashes/esm/_u64.js.map +0 -1
  567. package/node_modules/@noble/hashes/esm/argon2.d.ts +0 -32
  568. package/node_modules/@noble/hashes/esm/argon2.d.ts.map +0 -1
  569. package/node_modules/@noble/hashes/esm/argon2.js +0 -392
  570. package/node_modules/@noble/hashes/esm/argon2.js.map +0 -1
  571. package/node_modules/@noble/hashes/esm/blake1.d.ts +0 -106
  572. package/node_modules/@noble/hashes/esm/blake1.d.ts.map +0 -1
  573. package/node_modules/@noble/hashes/esm/blake1.js +0 -452
  574. package/node_modules/@noble/hashes/esm/blake1.js.map +0 -1
  575. package/node_modules/@noble/hashes/esm/blake2.d.ts +0 -116
  576. package/node_modules/@noble/hashes/esm/blake2.d.ts.map +0 -1
  577. package/node_modules/@noble/hashes/esm/blake2.js +0 -413
  578. package/node_modules/@noble/hashes/esm/blake2.js.map +0 -1
  579. package/node_modules/@noble/hashes/esm/blake2b.d.ts +0 -11
  580. package/node_modules/@noble/hashes/esm/blake2b.d.ts.map +0 -1
  581. package/node_modules/@noble/hashes/esm/blake2b.js +0 -11
  582. package/node_modules/@noble/hashes/esm/blake2b.js.map +0 -1
  583. package/node_modules/@noble/hashes/esm/blake2s.d.ts +0 -20
  584. package/node_modules/@noble/hashes/esm/blake2s.d.ts.map +0 -1
  585. package/node_modules/@noble/hashes/esm/blake2s.js +0 -21
  586. package/node_modules/@noble/hashes/esm/blake2s.js.map +0 -1
  587. package/node_modules/@noble/hashes/esm/blake3.d.ts +0 -54
  588. package/node_modules/@noble/hashes/esm/blake3.d.ts.map +0 -1
  589. package/node_modules/@noble/hashes/esm/blake3.js +0 -251
  590. package/node_modules/@noble/hashes/esm/blake3.js.map +0 -1
  591. package/node_modules/@noble/hashes/esm/crypto.d.ts +0 -2
  592. package/node_modules/@noble/hashes/esm/crypto.d.ts.map +0 -1
  593. package/node_modules/@noble/hashes/esm/crypto.js +0 -2
  594. package/node_modules/@noble/hashes/esm/crypto.js.map +0 -1
  595. package/node_modules/@noble/hashes/esm/cryptoNode.d.ts +0 -2
  596. package/node_modules/@noble/hashes/esm/cryptoNode.d.ts.map +0 -1
  597. package/node_modules/@noble/hashes/esm/cryptoNode.js +0 -15
  598. package/node_modules/@noble/hashes/esm/cryptoNode.js.map +0 -1
  599. package/node_modules/@noble/hashes/esm/eskdf.d.ts +0 -47
  600. package/node_modules/@noble/hashes/esm/eskdf.d.ts.map +0 -1
  601. package/node_modules/@noble/hashes/esm/eskdf.js +0 -160
  602. package/node_modules/@noble/hashes/esm/eskdf.js.map +0 -1
  603. package/node_modules/@noble/hashes/esm/hkdf.d.ts +0 -36
  604. package/node_modules/@noble/hashes/esm/hkdf.d.ts.map +0 -1
  605. package/node_modules/@noble/hashes/esm/hkdf.js +0 -82
  606. package/node_modules/@noble/hashes/esm/hkdf.js.map +0 -1
  607. package/node_modules/@noble/hashes/esm/hmac.d.ts +0 -35
  608. package/node_modules/@noble/hashes/esm/hmac.d.ts.map +0 -1
  609. package/node_modules/@noble/hashes/esm/hmac.js +0 -86
  610. package/node_modules/@noble/hashes/esm/hmac.js.map +0 -1
  611. package/node_modules/@noble/hashes/esm/index.d.ts +0 -2
  612. package/node_modules/@noble/hashes/esm/index.d.ts.map +0 -1
  613. package/node_modules/@noble/hashes/esm/index.js +0 -33
  614. package/node_modules/@noble/hashes/esm/index.js.map +0 -1
  615. package/node_modules/@noble/hashes/esm/legacy.d.ts +0 -71
  616. package/node_modules/@noble/hashes/esm/legacy.d.ts.map +0 -1
  617. package/node_modules/@noble/hashes/esm/legacy.js +0 -281
  618. package/node_modules/@noble/hashes/esm/legacy.js.map +0 -1
  619. package/node_modules/@noble/hashes/esm/package.json +0 -10
  620. package/node_modules/@noble/hashes/esm/pbkdf2.d.ts +0 -23
  621. package/node_modules/@noble/hashes/esm/pbkdf2.d.ts.map +0 -1
  622. package/node_modules/@noble/hashes/esm/pbkdf2.js +0 -97
  623. package/node_modules/@noble/hashes/esm/pbkdf2.js.map +0 -1
  624. package/node_modules/@noble/hashes/esm/ripemd160.d.ts +0 -13
  625. package/node_modules/@noble/hashes/esm/ripemd160.d.ts.map +0 -1
  626. package/node_modules/@noble/hashes/esm/ripemd160.js +0 -13
  627. package/node_modules/@noble/hashes/esm/ripemd160.js.map +0 -1
  628. package/node_modules/@noble/hashes/esm/scrypt.d.ts +0 -34
  629. package/node_modules/@noble/hashes/esm/scrypt.d.ts.map +0 -1
  630. package/node_modules/@noble/hashes/esm/scrypt.js +0 -228
  631. package/node_modules/@noble/hashes/esm/scrypt.js.map +0 -1
  632. package/node_modules/@noble/hashes/esm/sha1.d.ts +0 -11
  633. package/node_modules/@noble/hashes/esm/sha1.d.ts.map +0 -1
  634. package/node_modules/@noble/hashes/esm/sha1.js +0 -11
  635. package/node_modules/@noble/hashes/esm/sha1.js.map +0 -1
  636. package/node_modules/@noble/hashes/esm/sha2.d.ts +0 -159
  637. package/node_modules/@noble/hashes/esm/sha2.d.ts.map +0 -1
  638. package/node_modules/@noble/hashes/esm/sha2.js +0 -375
  639. package/node_modules/@noble/hashes/esm/sha2.js.map +0 -1
  640. package/node_modules/@noble/hashes/esm/sha256.d.ts +0 -20
  641. package/node_modules/@noble/hashes/esm/sha256.d.ts.map +0 -1
  642. package/node_modules/@noble/hashes/esm/sha256.js +0 -20
  643. package/node_modules/@noble/hashes/esm/sha256.js.map +0 -1
  644. package/node_modules/@noble/hashes/esm/sha3-addons.d.ts +0 -142
  645. package/node_modules/@noble/hashes/esm/sha3-addons.d.ts.map +0 -1
  646. package/node_modules/@noble/hashes/esm/sha3-addons.js +0 -393
  647. package/node_modules/@noble/hashes/esm/sha3-addons.js.map +0 -1
  648. package/node_modules/@noble/hashes/esm/sha3.d.ts +0 -53
  649. package/node_modules/@noble/hashes/esm/sha3.d.ts.map +0 -1
  650. package/node_modules/@noble/hashes/esm/sha3.js +0 -234
  651. package/node_modules/@noble/hashes/esm/sha3.js.map +0 -1
  652. package/node_modules/@noble/hashes/esm/sha512.d.ts +0 -26
  653. package/node_modules/@noble/hashes/esm/sha512.d.ts.map +0 -1
  654. package/node_modules/@noble/hashes/esm/sha512.js +0 -26
  655. package/node_modules/@noble/hashes/esm/sha512.js.map +0 -1
  656. package/node_modules/@noble/hashes/esm/utils.d.ts +0 -161
  657. package/node_modules/@noble/hashes/esm/utils.d.ts.map +0 -1
  658. package/node_modules/@noble/hashes/esm/utils.js +0 -281
  659. package/node_modules/@noble/hashes/esm/utils.js.map +0 -1
  660. package/node_modules/@noble/hashes/hkdf.d.ts +0 -36
  661. package/node_modules/@noble/hashes/hkdf.d.ts.map +0 -1
  662. package/node_modules/@noble/hashes/hkdf.js +0 -88
  663. package/node_modules/@noble/hashes/hkdf.js.map +0 -1
  664. package/node_modules/@noble/hashes/hmac.d.ts +0 -35
  665. package/node_modules/@noble/hashes/hmac.d.ts.map +0 -1
  666. package/node_modules/@noble/hashes/hmac.js +0 -91
  667. package/node_modules/@noble/hashes/hmac.js.map +0 -1
  668. package/node_modules/@noble/hashes/index.d.ts +0 -1
  669. package/node_modules/@noble/hashes/index.d.ts.map +0 -1
  670. package/node_modules/@noble/hashes/index.js +0 -33
  671. package/node_modules/@noble/hashes/index.js.map +0 -1
  672. package/node_modules/@noble/hashes/legacy.d.ts +0 -71
  673. package/node_modules/@noble/hashes/legacy.d.ts.map +0 -1
  674. package/node_modules/@noble/hashes/legacy.js +0 -287
  675. package/node_modules/@noble/hashes/legacy.js.map +0 -1
  676. package/node_modules/@noble/hashes/package.json +0 -266
  677. package/node_modules/@noble/hashes/pbkdf2.d.ts +0 -23
  678. package/node_modules/@noble/hashes/pbkdf2.d.ts.map +0 -1
  679. package/node_modules/@noble/hashes/pbkdf2.js +0 -101
  680. package/node_modules/@noble/hashes/pbkdf2.js.map +0 -1
  681. package/node_modules/@noble/hashes/ripemd160.d.ts +0 -13
  682. package/node_modules/@noble/hashes/ripemd160.d.ts.map +0 -1
  683. package/node_modules/@noble/hashes/ripemd160.js +0 -16
  684. package/node_modules/@noble/hashes/ripemd160.js.map +0 -1
  685. package/node_modules/@noble/hashes/scrypt.d.ts +0 -34
  686. package/node_modules/@noble/hashes/scrypt.d.ts.map +0 -1
  687. package/node_modules/@noble/hashes/scrypt.js +0 -232
  688. package/node_modules/@noble/hashes/scrypt.js.map +0 -1
  689. package/node_modules/@noble/hashes/sha1.d.ts +0 -11
  690. package/node_modules/@noble/hashes/sha1.d.ts.map +0 -1
  691. package/node_modules/@noble/hashes/sha1.js +0 -14
  692. package/node_modules/@noble/hashes/sha1.js.map +0 -1
  693. package/node_modules/@noble/hashes/sha2.d.ts +0 -159
  694. package/node_modules/@noble/hashes/sha2.d.ts.map +0 -1
  695. package/node_modules/@noble/hashes/sha2.js +0 -384
  696. package/node_modules/@noble/hashes/sha2.js.map +0 -1
  697. package/node_modules/@noble/hashes/sha256.d.ts +0 -20
  698. package/node_modules/@noble/hashes/sha256.d.ts.map +0 -1
  699. package/node_modules/@noble/hashes/sha256.js +0 -23
  700. package/node_modules/@noble/hashes/sha256.js.map +0 -1
  701. package/node_modules/@noble/hashes/sha3-addons.d.ts +0 -142
  702. package/node_modules/@noble/hashes/sha3-addons.d.ts.map +0 -1
  703. package/node_modules/@noble/hashes/sha3-addons.js +0 -402
  704. package/node_modules/@noble/hashes/sha3-addons.js.map +0 -1
  705. package/node_modules/@noble/hashes/sha3.d.ts +0 -53
  706. package/node_modules/@noble/hashes/sha3.d.ts.map +0 -1
  707. package/node_modules/@noble/hashes/sha3.js +0 -239
  708. package/node_modules/@noble/hashes/sha3.js.map +0 -1
  709. package/node_modules/@noble/hashes/sha512.d.ts +0 -26
  710. package/node_modules/@noble/hashes/sha512.d.ts.map +0 -1
  711. package/node_modules/@noble/hashes/sha512.js +0 -29
  712. package/node_modules/@noble/hashes/sha512.js.map +0 -1
  713. package/node_modules/@noble/hashes/src/_assert.ts +0 -22
  714. package/node_modules/@noble/hashes/src/_blake.ts +0 -50
  715. package/node_modules/@noble/hashes/src/_md.ts +0 -176
  716. package/node_modules/@noble/hashes/src/_u64.ts +0 -91
  717. package/node_modules/@noble/hashes/src/argon2.ts +0 -497
  718. package/node_modules/@noble/hashes/src/blake1.ts +0 -534
  719. package/node_modules/@noble/hashes/src/blake2.ts +0 -486
  720. package/node_modules/@noble/hashes/src/blake2b.ts +0 -10
  721. package/node_modules/@noble/hashes/src/blake2s.ts +0 -20
  722. package/node_modules/@noble/hashes/src/blake3.ts +0 -272
  723. package/node_modules/@noble/hashes/src/crypto.ts +0 -9
  724. package/node_modules/@noble/hashes/src/cryptoNode.ts +0 -15
  725. package/node_modules/@noble/hashes/src/eskdf.ts +0 -187
  726. package/node_modules/@noble/hashes/src/hkdf.ts +0 -88
  727. package/node_modules/@noble/hashes/src/hmac.ts +0 -94
  728. package/node_modules/@noble/hashes/src/index.ts +0 -31
  729. package/node_modules/@noble/hashes/src/legacy.ts +0 -293
  730. package/node_modules/@noble/hashes/src/pbkdf2.ts +0 -122
  731. package/node_modules/@noble/hashes/src/ripemd160.ts +0 -12
  732. package/node_modules/@noble/hashes/src/scrypt.ts +0 -257
  733. package/node_modules/@noble/hashes/src/sha1.ts +0 -10
  734. package/node_modules/@noble/hashes/src/sha2.ts +0 -402
  735. package/node_modules/@noble/hashes/src/sha256.ts +0 -24
  736. package/node_modules/@noble/hashes/src/sha3-addons.ts +0 -499
  737. package/node_modules/@noble/hashes/src/sha3.ts +0 -258
  738. package/node_modules/@noble/hashes/src/sha512.ts +0 -34
  739. package/node_modules/@noble/hashes/src/utils.ts +0 -395
  740. package/node_modules/@noble/hashes/utils.d.ts +0 -161
  741. package/node_modules/@noble/hashes/utils.d.ts.map +0 -1
  742. package/node_modules/@noble/hashes/utils.js +0 -313
  743. package/node_modules/@noble/hashes/utils.js.map +0 -1
  744. package/node_modules/@solana/buffer-layout/LICENSE +0 -21
  745. package/node_modules/@solana/buffer-layout/README.md +0 -403
  746. package/node_modules/@solana/buffer-layout/lib/Layout.d.ts +0 -1191
  747. package/node_modules/@solana/buffer-layout/lib/Layout.js +0 -2390
  748. package/node_modules/@solana/buffer-layout/lib/Layout.js.map +0 -1
  749. package/node_modules/@solana/buffer-layout/package.json +0 -55
  750. package/node_modules/@solana/codecs-core/LICENSE +0 -20
  751. package/node_modules/@solana/codecs-core/README.md +0 -662
  752. package/node_modules/@solana/codecs-core/dist/index.browser.cjs +0 -504
  753. package/node_modules/@solana/codecs-core/dist/index.browser.cjs.map +0 -1
  754. package/node_modules/@solana/codecs-core/dist/index.browser.mjs +0 -460
  755. package/node_modules/@solana/codecs-core/dist/index.browser.mjs.map +0 -1
  756. package/node_modules/@solana/codecs-core/dist/index.native.mjs +0 -460
  757. package/node_modules/@solana/codecs-core/dist/index.native.mjs.map +0 -1
  758. package/node_modules/@solana/codecs-core/dist/index.node.cjs +0 -504
  759. package/node_modules/@solana/codecs-core/dist/index.node.cjs.map +0 -1
  760. package/node_modules/@solana/codecs-core/dist/index.node.mjs +0 -460
  761. package/node_modules/@solana/codecs-core/dist/index.node.mjs.map +0 -1
  762. package/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts +0 -70
  763. package/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts.map +0 -1
  764. package/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts +0 -67
  765. package/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts.map +0 -1
  766. package/node_modules/@solana/codecs-core/dist/types/assertions.d.ts +0 -62
  767. package/node_modules/@solana/codecs-core/dist/types/assertions.d.ts.map +0 -1
  768. package/node_modules/@solana/codecs-core/dist/types/bytes.d.ts +0 -92
  769. package/node_modules/@solana/codecs-core/dist/types/bytes.d.ts.map +0 -1
  770. package/node_modules/@solana/codecs-core/dist/types/codec.d.ts +0 -827
  771. package/node_modules/@solana/codecs-core/dist/types/codec.d.ts.map +0 -1
  772. package/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts +0 -75
  773. package/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts.map +0 -1
  774. package/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts +0 -111
  775. package/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts.map +0 -1
  776. package/node_modules/@solana/codecs-core/dist/types/index.d.ts +0 -667
  777. package/node_modules/@solana/codecs-core/dist/types/index.d.ts.map +0 -1
  778. package/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts +0 -328
  779. package/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts.map +0 -1
  780. package/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts +0 -162
  781. package/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts.map +0 -1
  782. package/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts +0 -19
  783. package/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts.map +0 -1
  784. package/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts +0 -129
  785. package/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts.map +0 -1
  786. package/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts +0 -92
  787. package/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts.map +0 -1
  788. package/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts +0 -114
  789. package/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts.map +0 -1
  790. package/node_modules/@solana/codecs-core/package.json +0 -83
  791. package/node_modules/@solana/codecs-numbers/LICENSE +0 -20
  792. package/node_modules/@solana/codecs-numbers/README.md +0 -130
  793. package/node_modules/@solana/codecs-numbers/dist/index.browser.cjs +0 -331
  794. package/node_modules/@solana/codecs-numbers/dist/index.browser.cjs.map +0 -1
  795. package/node_modules/@solana/codecs-numbers/dist/index.browser.mjs +0 -289
  796. package/node_modules/@solana/codecs-numbers/dist/index.browser.mjs.map +0 -1
  797. package/node_modules/@solana/codecs-numbers/dist/index.native.mjs +0 -289
  798. package/node_modules/@solana/codecs-numbers/dist/index.native.mjs.map +0 -1
  799. package/node_modules/@solana/codecs-numbers/dist/index.node.cjs +0 -331
  800. package/node_modules/@solana/codecs-numbers/dist/index.node.cjs.map +0 -1
  801. package/node_modules/@solana/codecs-numbers/dist/index.node.mjs +0 -289
  802. package/node_modules/@solana/codecs-numbers/dist/index.node.mjs.map +0 -1
  803. package/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts +0 -27
  804. package/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts.map +0 -1
  805. package/node_modules/@solana/codecs-numbers/dist/types/common.d.ts +0 -84
  806. package/node_modules/@solana/codecs-numbers/dist/types/common.d.ts.map +0 -1
  807. package/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts +0 -87
  808. package/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts.map +0 -1
  809. package/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts +0 -87
  810. package/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts.map +0 -1
  811. package/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts +0 -91
  812. package/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts.map +0 -1
  813. package/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts +0 -87
  814. package/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts.map +0 -1
  815. package/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts +0 -87
  816. package/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts.map +0 -1
  817. package/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts +0 -90
  818. package/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts.map +0 -1
  819. package/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts +0 -75
  820. package/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts.map +0 -1
  821. package/node_modules/@solana/codecs-numbers/dist/types/index.d.ts +0 -26
  822. package/node_modules/@solana/codecs-numbers/dist/types/index.d.ts.map +0 -1
  823. package/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts +0 -96
  824. package/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts.map +0 -1
  825. package/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts +0 -87
  826. package/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts.map +0 -1
  827. package/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts +0 -85
  828. package/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts.map +0 -1
  829. package/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts +0 -85
  830. package/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts.map +0 -1
  831. package/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts +0 -88
  832. package/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts.map +0 -1
  833. package/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts +0 -71
  834. package/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts.map +0 -1
  835. package/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts +0 -18
  836. package/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts.map +0 -1
  837. package/node_modules/@solana/codecs-numbers/package.json +0 -83
  838. package/node_modules/@solana/errors/LICENSE +0 -20
  839. package/node_modules/@solana/errors/README.md +0 -87
  840. package/node_modules/@solana/errors/bin/cli.mjs +0 -7
  841. package/node_modules/@solana/errors/dist/cli.mjs +0 -574
  842. package/node_modules/@solana/errors/dist/index.browser.cjs +0 -1090
  843. package/node_modules/@solana/errors/dist/index.browser.cjs.map +0 -1
  844. package/node_modules/@solana/errors/dist/index.browser.mjs +0 -856
  845. package/node_modules/@solana/errors/dist/index.browser.mjs.map +0 -1
  846. package/node_modules/@solana/errors/dist/index.native.mjs +0 -856
  847. package/node_modules/@solana/errors/dist/index.native.mjs.map +0 -1
  848. package/node_modules/@solana/errors/dist/index.node.cjs +0 -1090
  849. package/node_modules/@solana/errors/dist/index.node.cjs.map +0 -1
  850. package/node_modules/@solana/errors/dist/index.node.mjs +0 -856
  851. package/node_modules/@solana/errors/dist/index.node.mjs.map +0 -1
  852. package/node_modules/@solana/errors/dist/types/codes.d.ts +0 -277
  853. package/node_modules/@solana/errors/dist/types/codes.d.ts.map +0 -1
  854. package/node_modules/@solana/errors/dist/types/context.d.ts +0 -404
  855. package/node_modules/@solana/errors/dist/types/context.d.ts.map +0 -1
  856. package/node_modules/@solana/errors/dist/types/error.d.ts +0 -75
  857. package/node_modules/@solana/errors/dist/types/error.d.ts.map +0 -1
  858. package/node_modules/@solana/errors/dist/types/index.d.ts +0 -72
  859. package/node_modules/@solana/errors/dist/types/index.d.ts.map +0 -1
  860. package/node_modules/@solana/errors/dist/types/instruction-error.d.ts +0 -9
  861. package/node_modules/@solana/errors/dist/types/instruction-error.d.ts.map +0 -1
  862. package/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts +0 -52
  863. package/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts.map +0 -1
  864. package/node_modules/@solana/errors/dist/types/message-formatter.d.ts +0 -4
  865. package/node_modules/@solana/errors/dist/types/message-formatter.d.ts.map +0 -1
  866. package/node_modules/@solana/errors/dist/types/messages.d.ts +0 -16
  867. package/node_modules/@solana/errors/dist/types/messages.d.ts.map +0 -1
  868. package/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts +0 -31
  869. package/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts.map +0 -1
  870. package/node_modules/@solana/errors/dist/types/stack-trace.d.ts +0 -2
  871. package/node_modules/@solana/errors/dist/types/stack-trace.d.ts.map +0 -1
  872. package/node_modules/@solana/errors/dist/types/transaction-error.d.ts +0 -5
  873. package/node_modules/@solana/errors/dist/types/transaction-error.d.ts.map +0 -1
  874. package/node_modules/@solana/errors/package.json +0 -84
  875. package/node_modules/@solana/web3.js/LICENSE +0 -20
  876. package/node_modules/@solana/web3.js/README.md +0 -145
  877. package/node_modules/@solana/web3.js/lib/index.browser.cjs.js +0 -10564
  878. package/node_modules/@solana/web3.js/lib/index.browser.cjs.js.map +0 -1
  879. package/node_modules/@solana/web3.js/lib/index.browser.esm.js +0 -10463
  880. package/node_modules/@solana/web3.js/lib/index.browser.esm.js.map +0 -1
  881. package/node_modules/@solana/web3.js/lib/index.cjs.js +0 -11313
  882. package/node_modules/@solana/web3.js/lib/index.cjs.js.map +0 -1
  883. package/node_modules/@solana/web3.js/lib/index.d.ts +0 -4025
  884. package/node_modules/@solana/web3.js/lib/index.esm.js +0 -11208
  885. package/node_modules/@solana/web3.js/lib/index.esm.js.map +0 -1
  886. package/node_modules/@solana/web3.js/lib/index.iife.js +0 -26085
  887. package/node_modules/@solana/web3.js/lib/index.iife.js.map +0 -1
  888. package/node_modules/@solana/web3.js/lib/index.iife.min.js +0 -20
  889. package/node_modules/@solana/web3.js/lib/index.iife.min.js.map +0 -1
  890. package/node_modules/@solana/web3.js/lib/index.native.js +0 -10564
  891. package/node_modules/@solana/web3.js/lib/index.native.js.map +0 -1
  892. package/node_modules/@solana/web3.js/node_modules/base-x/LICENSE.md +0 -22
  893. package/node_modules/@solana/web3.js/node_modules/base-x/README.md +0 -67
  894. package/node_modules/@solana/web3.js/node_modules/base-x/package.json +0 -49
  895. package/node_modules/@solana/web3.js/node_modules/base-x/src/index.d.ts +0 -10
  896. package/node_modules/@solana/web3.js/node_modules/base-x/src/index.js +0 -123
  897. package/node_modules/@solana/web3.js/node_modules/borsh/LICENSE-MIT.txt +0 -23
  898. package/node_modules/@solana/web3.js/node_modules/borsh/README.md +0 -83
  899. package/node_modules/@solana/web3.js/node_modules/borsh/lib/index.d.ts +0 -52
  900. package/node_modules/@solana/web3.js/node_modules/borsh/lib/index.js +0 -440
  901. package/node_modules/@solana/web3.js/node_modules/borsh/package.json +0 -61
  902. package/node_modules/@solana/web3.js/node_modules/bs58/CHANGELOG.md +0 -61
  903. package/node_modules/@solana/web3.js/node_modules/bs58/README.md +0 -71
  904. package/node_modules/@solana/web3.js/node_modules/bs58/index.js +0 -4
  905. package/node_modules/@solana/web3.js/node_modules/bs58/package.json +0 -37
  906. package/node_modules/@solana/web3.js/package.json +0 -75
  907. package/node_modules/@solana/web3.js/src/__forks__/browser/fetch-impl.ts +0 -4
  908. package/node_modules/@solana/web3.js/src/__forks__/react-native/fetch-impl.ts +0 -4
  909. package/node_modules/@solana/web3.js/src/account-data.ts +0 -39
  910. package/node_modules/@solana/web3.js/src/account.ts +0 -55
  911. package/node_modules/@solana/web3.js/src/blockhash.ts +0 -4
  912. package/node_modules/@solana/web3.js/src/bpf-loader-deprecated.ts +0 -5
  913. package/node_modules/@solana/web3.js/src/bpf-loader.ts +0 -50
  914. package/node_modules/@solana/web3.js/src/connection.ts +0 -6961
  915. package/node_modules/@solana/web3.js/src/epoch-schedule.ts +0 -102
  916. package/node_modules/@solana/web3.js/src/errors.ts +0 -133
  917. package/node_modules/@solana/web3.js/src/fee-calculator.ts +0 -18
  918. package/node_modules/@solana/web3.js/src/fetch-impl.ts +0 -16
  919. package/node_modules/@solana/web3.js/src/index.ts +0 -24
  920. package/node_modules/@solana/web3.js/src/instruction.ts +0 -58
  921. package/node_modules/@solana/web3.js/src/keypair.ts +0 -102
  922. package/node_modules/@solana/web3.js/src/layout.ts +0 -188
  923. package/node_modules/@solana/web3.js/src/loader.ts +0 -267
  924. package/node_modules/@solana/web3.js/src/message/account-keys.ts +0 -79
  925. package/node_modules/@solana/web3.js/src/message/compiled-keys.ts +0 -165
  926. package/node_modules/@solana/web3.js/src/message/index.ts +0 -47
  927. package/node_modules/@solana/web3.js/src/message/legacy.ts +0 -323
  928. package/node_modules/@solana/web3.js/src/message/v0.ts +0 -513
  929. package/node_modules/@solana/web3.js/src/message/versioned.ts +0 -36
  930. package/node_modules/@solana/web3.js/src/nonce-account.ts +0 -82
  931. package/node_modules/@solana/web3.js/src/programs/address-lookup-table/index.ts +0 -438
  932. package/node_modules/@solana/web3.js/src/programs/address-lookup-table/state.ts +0 -84
  933. package/node_modules/@solana/web3.js/src/programs/compute-budget.ts +0 -281
  934. package/node_modules/@solana/web3.js/src/programs/ed25519.ts +0 -157
  935. package/node_modules/@solana/web3.js/src/programs/index.ts +0 -7
  936. package/node_modules/@solana/web3.js/src/programs/secp256k1.ts +0 -228
  937. package/node_modules/@solana/web3.js/src/programs/stake.ts +0 -952
  938. package/node_modules/@solana/web3.js/src/programs/system.ts +0 -1048
  939. package/node_modules/@solana/web3.js/src/programs/vote.ts +0 -586
  940. package/node_modules/@solana/web3.js/src/publickey.ts +0 -259
  941. package/node_modules/@solana/web3.js/src/rpc-websocket.ts +0 -75
  942. package/node_modules/@solana/web3.js/src/sysvar.ts +0 -37
  943. package/node_modules/@solana/web3.js/src/timing.ts +0 -23
  944. package/node_modules/@solana/web3.js/src/transaction/constants.ts +0 -12
  945. package/node_modules/@solana/web3.js/src/transaction/expiry-custom-errors.ts +0 -48
  946. package/node_modules/@solana/web3.js/src/transaction/index.ts +0 -5
  947. package/node_modules/@solana/web3.js/src/transaction/legacy.ts +0 -970
  948. package/node_modules/@solana/web3.js/src/transaction/message.ts +0 -140
  949. package/node_modules/@solana/web3.js/src/transaction/versioned.ts +0 -127
  950. package/node_modules/@solana/web3.js/src/utils/assert.ts +0 -8
  951. package/node_modules/@solana/web3.js/src/utils/bigint.ts +0 -24
  952. package/node_modules/@solana/web3.js/src/utils/borsh-schema.ts +0 -38
  953. package/node_modules/@solana/web3.js/src/utils/cluster.ts +0 -35
  954. package/node_modules/@solana/web3.js/src/utils/ed25519.ts +0 -43
  955. package/node_modules/@solana/web3.js/src/utils/guarded-array-utils.ts +0 -34
  956. package/node_modules/@solana/web3.js/src/utils/index.ts +0 -5
  957. package/node_modules/@solana/web3.js/src/utils/makeWebsocketUrl.ts +0 -26
  958. package/node_modules/@solana/web3.js/src/utils/promise-timeout.ts +0 -14
  959. package/node_modules/@solana/web3.js/src/utils/secp256k1.ts +0 -11
  960. package/node_modules/@solana/web3.js/src/utils/send-and-confirm-raw-transaction.ts +0 -110
  961. package/node_modules/@solana/web3.js/src/utils/send-and-confirm-transaction.ts +0 -106
  962. package/node_modules/@solana/web3.js/src/utils/shortvec-encoding.ts +0 -28
  963. package/node_modules/@solana/web3.js/src/utils/sleep.ts +0 -4
  964. package/node_modules/@solana/web3.js/src/utils/to-buffer.ts +0 -11
  965. package/node_modules/@solana/web3.js/src/validator-info.ts +0 -108
  966. package/node_modules/@solana/web3.js/src/vote-account.ts +0 -236
  967. package/node_modules/@swc/helpers/LICENSE +0 -201
  968. package/node_modules/@swc/helpers/_/_apply_decorated_descriptor/package.json +0 -4
  969. package/node_modules/@swc/helpers/_/_apply_decs_2203_r/package.json +0 -4
  970. package/node_modules/@swc/helpers/_/_array_like_to_array/package.json +0 -4
  971. package/node_modules/@swc/helpers/_/_array_with_holes/package.json +0 -4
  972. package/node_modules/@swc/helpers/_/_array_without_holes/package.json +0 -4
  973. package/node_modules/@swc/helpers/_/_assert_this_initialized/package.json +0 -4
  974. package/node_modules/@swc/helpers/_/_async_generator/package.json +0 -4
  975. package/node_modules/@swc/helpers/_/_async_generator_delegate/package.json +0 -4
  976. package/node_modules/@swc/helpers/_/_async_iterator/package.json +0 -4
  977. package/node_modules/@swc/helpers/_/_async_to_generator/package.json +0 -4
  978. package/node_modules/@swc/helpers/_/_await_async_generator/package.json +0 -4
  979. package/node_modules/@swc/helpers/_/_await_value/package.json +0 -4
  980. package/node_modules/@swc/helpers/_/_call_super/package.json +0 -4
  981. package/node_modules/@swc/helpers/_/_check_private_redeclaration/package.json +0 -4
  982. package/node_modules/@swc/helpers/_/_class_apply_descriptor_destructure/package.json +0 -4
  983. package/node_modules/@swc/helpers/_/_class_apply_descriptor_get/package.json +0 -4
  984. package/node_modules/@swc/helpers/_/_class_apply_descriptor_set/package.json +0 -4
  985. package/node_modules/@swc/helpers/_/_class_apply_descriptor_update/package.json +0 -4
  986. package/node_modules/@swc/helpers/_/_class_call_check/package.json +0 -4
  987. package/node_modules/@swc/helpers/_/_class_check_private_static_access/package.json +0 -4
  988. package/node_modules/@swc/helpers/_/_class_check_private_static_field_descriptor/package.json +0 -4
  989. package/node_modules/@swc/helpers/_/_class_extract_field_descriptor/package.json +0 -4
  990. package/node_modules/@swc/helpers/_/_class_name_tdz_error/package.json +0 -4
  991. package/node_modules/@swc/helpers/_/_class_private_field_destructure/package.json +0 -4
  992. package/node_modules/@swc/helpers/_/_class_private_field_get/package.json +0 -4
  993. package/node_modules/@swc/helpers/_/_class_private_field_init/package.json +0 -4
  994. package/node_modules/@swc/helpers/_/_class_private_field_loose_base/package.json +0 -4
  995. package/node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json +0 -4
  996. package/node_modules/@swc/helpers/_/_class_private_field_set/package.json +0 -4
  997. package/node_modules/@swc/helpers/_/_class_private_field_update/package.json +0 -4
  998. package/node_modules/@swc/helpers/_/_class_private_method_get/package.json +0 -4
  999. package/node_modules/@swc/helpers/_/_class_private_method_init/package.json +0 -4
  1000. package/node_modules/@swc/helpers/_/_class_private_method_set/package.json +0 -4
  1001. package/node_modules/@swc/helpers/_/_class_static_private_field_destructure/package.json +0 -4
  1002. package/node_modules/@swc/helpers/_/_class_static_private_field_spec_get/package.json +0 -4
  1003. package/node_modules/@swc/helpers/_/_class_static_private_field_spec_set/package.json +0 -4
  1004. package/node_modules/@swc/helpers/_/_class_static_private_field_update/package.json +0 -4
  1005. package/node_modules/@swc/helpers/_/_class_static_private_method_get/package.json +0 -4
  1006. package/node_modules/@swc/helpers/_/_construct/package.json +0 -4
  1007. package/node_modules/@swc/helpers/_/_create_class/package.json +0 -4
  1008. package/node_modules/@swc/helpers/_/_create_for_of_iterator_helper_loose/package.json +0 -4
  1009. package/node_modules/@swc/helpers/_/_create_super/package.json +0 -4
  1010. package/node_modules/@swc/helpers/_/_decorate/package.json +0 -4
  1011. package/node_modules/@swc/helpers/_/_defaults/package.json +0 -4
  1012. package/node_modules/@swc/helpers/_/_define_enumerable_properties/package.json +0 -4
  1013. package/node_modules/@swc/helpers/_/_define_property/package.json +0 -4
  1014. package/node_modules/@swc/helpers/_/_dispose/package.json +0 -4
  1015. package/node_modules/@swc/helpers/_/_export_star/package.json +0 -4
  1016. package/node_modules/@swc/helpers/_/_extends/package.json +0 -4
  1017. package/node_modules/@swc/helpers/_/_get/package.json +0 -4
  1018. package/node_modules/@swc/helpers/_/_get_prototype_of/package.json +0 -4
  1019. package/node_modules/@swc/helpers/_/_identity/package.json +0 -4
  1020. package/node_modules/@swc/helpers/_/_inherits/package.json +0 -4
  1021. package/node_modules/@swc/helpers/_/_inherits_loose/package.json +0 -4
  1022. package/node_modules/@swc/helpers/_/_initializer_define_property/package.json +0 -4
  1023. package/node_modules/@swc/helpers/_/_initializer_warning_helper/package.json +0 -4
  1024. package/node_modules/@swc/helpers/_/_instanceof/package.json +0 -4
  1025. package/node_modules/@swc/helpers/_/_interop_require_default/package.json +0 -4
  1026. package/node_modules/@swc/helpers/_/_interop_require_wildcard/package.json +0 -4
  1027. package/node_modules/@swc/helpers/_/_is_native_function/package.json +0 -4
  1028. package/node_modules/@swc/helpers/_/_is_native_reflect_construct/package.json +0 -4
  1029. package/node_modules/@swc/helpers/_/_iterable_to_array/package.json +0 -4
  1030. package/node_modules/@swc/helpers/_/_iterable_to_array_limit/package.json +0 -4
  1031. package/node_modules/@swc/helpers/_/_iterable_to_array_limit_loose/package.json +0 -4
  1032. package/node_modules/@swc/helpers/_/_jsx/package.json +0 -4
  1033. package/node_modules/@swc/helpers/_/_new_arrow_check/package.json +0 -4
  1034. package/node_modules/@swc/helpers/_/_non_iterable_rest/package.json +0 -4
  1035. package/node_modules/@swc/helpers/_/_non_iterable_spread/package.json +0 -4
  1036. package/node_modules/@swc/helpers/_/_object_destructuring_empty/package.json +0 -4
  1037. package/node_modules/@swc/helpers/_/_object_spread/package.json +0 -4
  1038. package/node_modules/@swc/helpers/_/_object_spread_props/package.json +0 -4
  1039. package/node_modules/@swc/helpers/_/_object_without_properties/package.json +0 -4
  1040. package/node_modules/@swc/helpers/_/_object_without_properties_loose/package.json +0 -4
  1041. package/node_modules/@swc/helpers/_/_overload_yield/package.json +0 -4
  1042. package/node_modules/@swc/helpers/_/_possible_constructor_return/package.json +0 -4
  1043. package/node_modules/@swc/helpers/_/_read_only_error/package.json +0 -4
  1044. package/node_modules/@swc/helpers/_/_set/package.json +0 -4
  1045. package/node_modules/@swc/helpers/_/_set_prototype_of/package.json +0 -4
  1046. package/node_modules/@swc/helpers/_/_skip_first_generator_next/package.json +0 -4
  1047. package/node_modules/@swc/helpers/_/_sliced_to_array/package.json +0 -4
  1048. package/node_modules/@swc/helpers/_/_sliced_to_array_loose/package.json +0 -4
  1049. package/node_modules/@swc/helpers/_/_super_prop_base/package.json +0 -4
  1050. package/node_modules/@swc/helpers/_/_tagged_template_literal/package.json +0 -4
  1051. package/node_modules/@swc/helpers/_/_tagged_template_literal_loose/package.json +0 -4
  1052. package/node_modules/@swc/helpers/_/_throw/package.json +0 -4
  1053. package/node_modules/@swc/helpers/_/_to_array/package.json +0 -4
  1054. package/node_modules/@swc/helpers/_/_to_consumable_array/package.json +0 -4
  1055. package/node_modules/@swc/helpers/_/_to_primitive/package.json +0 -4
  1056. package/node_modules/@swc/helpers/_/_to_property_key/package.json +0 -4
  1057. package/node_modules/@swc/helpers/_/_ts_add_disposable_resource/package.json +0 -4
  1058. package/node_modules/@swc/helpers/_/_ts_decorate/package.json +0 -4
  1059. package/node_modules/@swc/helpers/_/_ts_dispose_resources/package.json +0 -4
  1060. package/node_modules/@swc/helpers/_/_ts_generator/package.json +0 -4
  1061. package/node_modules/@swc/helpers/_/_ts_metadata/package.json +0 -4
  1062. package/node_modules/@swc/helpers/_/_ts_param/package.json +0 -4
  1063. package/node_modules/@swc/helpers/_/_ts_rewrite_relative_import_extension/package.json +0 -4
  1064. package/node_modules/@swc/helpers/_/_ts_values/package.json +0 -4
  1065. package/node_modules/@swc/helpers/_/_type_of/package.json +0 -4
  1066. package/node_modules/@swc/helpers/_/_unsupported_iterable_to_array/package.json +0 -4
  1067. package/node_modules/@swc/helpers/_/_update/package.json +0 -4
  1068. package/node_modules/@swc/helpers/_/_using/package.json +0 -4
  1069. package/node_modules/@swc/helpers/_/_using_ctx/package.json +0 -4
  1070. package/node_modules/@swc/helpers/_/_wrap_async_generator/package.json +0 -4
  1071. package/node_modules/@swc/helpers/_/_wrap_native_super/package.json +0 -4
  1072. package/node_modules/@swc/helpers/_/_write_only_error/package.json +0 -4
  1073. package/node_modules/@swc/helpers/_/index/package.json +0 -4
  1074. package/node_modules/@swc/helpers/cjs/_apply_decorated_descriptor.cjs +0 -35
  1075. package/node_modules/@swc/helpers/cjs/_apply_decs_2203_r.cjs +0 -550
  1076. package/node_modules/@swc/helpers/cjs/_array_like_to_array.cjs +0 -10
  1077. package/node_modules/@swc/helpers/cjs/_array_with_holes.cjs +0 -6
  1078. package/node_modules/@swc/helpers/cjs/_array_without_holes.cjs +0 -8
  1079. package/node_modules/@swc/helpers/cjs/_assert_this_initialized.cjs +0 -8
  1080. package/node_modules/@swc/helpers/cjs/_async_generator.cjs +0 -76
  1081. package/node_modules/@swc/helpers/cjs/_async_generator_delegate.cjs +0 -53
  1082. package/node_modules/@swc/helpers/cjs/_async_iterator.cjs +0 -46
  1083. package/node_modules/@swc/helpers/cjs/_async_to_generator.cjs +0 -33
  1084. package/node_modules/@swc/helpers/cjs/_await_async_generator.cjs +0 -8
  1085. package/node_modules/@swc/helpers/cjs/_await_value.cjs +0 -6
  1086. package/node_modules/@swc/helpers/cjs/_call_super.cjs +0 -19
  1087. package/node_modules/@swc/helpers/cjs/_check_private_redeclaration.cjs +0 -8
  1088. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_destructure.cjs +0 -25
  1089. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_get.cjs +0 -8
  1090. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_set.cjs +0 -15
  1091. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_update.cjs +0 -30
  1092. package/node_modules/@swc/helpers/cjs/_class_call_check.cjs +0 -6
  1093. package/node_modules/@swc/helpers/cjs/_class_check_private_static_access.cjs +0 -6
  1094. package/node_modules/@swc/helpers/cjs/_class_check_private_static_field_descriptor.cjs +0 -8
  1095. package/node_modules/@swc/helpers/cjs/_class_extract_field_descriptor.cjs +0 -8
  1096. package/node_modules/@swc/helpers/cjs/_class_name_tdz_error.cjs +0 -6
  1097. package/node_modules/@swc/helpers/cjs/_class_private_field_destructure.cjs +0 -10
  1098. package/node_modules/@swc/helpers/cjs/_class_private_field_get.cjs +0 -10
  1099. package/node_modules/@swc/helpers/cjs/_class_private_field_init.cjs +0 -9
  1100. package/node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs +0 -10
  1101. package/node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs +0 -8
  1102. package/node_modules/@swc/helpers/cjs/_class_private_field_set.cjs +0 -11
  1103. package/node_modules/@swc/helpers/cjs/_class_private_field_update.cjs +0 -10
  1104. package/node_modules/@swc/helpers/cjs/_class_private_method_get.cjs +0 -8
  1105. package/node_modules/@swc/helpers/cjs/_class_private_method_init.cjs +0 -9
  1106. package/node_modules/@swc/helpers/cjs/_class_private_method_set.cjs +0 -6
  1107. package/node_modules/@swc/helpers/cjs/_class_static_private_field_destructure.cjs +0 -13
  1108. package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_get.cjs +0 -13
  1109. package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_set.cjs +0 -14
  1110. package/node_modules/@swc/helpers/cjs/_class_static_private_field_update.cjs +0 -13
  1111. package/node_modules/@swc/helpers/cjs/_class_static_private_method_get.cjs +0 -10
  1112. package/node_modules/@swc/helpers/cjs/_construct.cjs +0 -22
  1113. package/node_modules/@swc/helpers/cjs/_create_class.cjs +0 -20
  1114. package/node_modules/@swc/helpers/cjs/_create_for_of_iterator_helper_loose.cjs +0 -24
  1115. package/node_modules/@swc/helpers/cjs/_create_super.cjs +0 -23
  1116. package/node_modules/@swc/helpers/cjs/_decorate.cjs +0 -270
  1117. package/node_modules/@swc/helpers/cjs/_defaults.cjs +0 -15
  1118. package/node_modules/@swc/helpers/cjs/_define_enumerable_properties.cjs +0 -26
  1119. package/node_modules/@swc/helpers/cjs/_define_property.cjs +0 -10
  1120. package/node_modules/@swc/helpers/cjs/_dispose.cjs +0 -43
  1121. package/node_modules/@swc/helpers/cjs/_export_star.cjs +0 -17
  1122. package/node_modules/@swc/helpers/cjs/_extends.cjs +0 -15
  1123. package/node_modules/@swc/helpers/cjs/_get.cjs +0 -23
  1124. package/node_modules/@swc/helpers/cjs/_get_prototype_of.cjs +0 -10
  1125. package/node_modules/@swc/helpers/cjs/_identity.cjs +0 -7
  1126. package/node_modules/@swc/helpers/cjs/_inherits.cjs +0 -14
  1127. package/node_modules/@swc/helpers/cjs/_inherits_loose.cjs +0 -8
  1128. package/node_modules/@swc/helpers/cjs/_initializer_define_property.cjs +0 -13
  1129. package/node_modules/@swc/helpers/cjs/_initializer_warning_helper.cjs +0 -11
  1130. package/node_modules/@swc/helpers/cjs/_instanceof.cjs +0 -8
  1131. package/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +0 -6
  1132. package/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +0 -38
  1133. package/node_modules/@swc/helpers/cjs/_is_native_function.cjs +0 -6
  1134. package/node_modules/@swc/helpers/cjs/_is_native_reflect_construct.cjs +0 -18
  1135. package/node_modules/@swc/helpers/cjs/_iterable_to_array.cjs +0 -8
  1136. package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit.cjs +0 -31
  1137. package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit_loose.cjs +0 -17
  1138. package/node_modules/@swc/helpers/cjs/_jsx.cjs +0 -28
  1139. package/node_modules/@swc/helpers/cjs/_new_arrow_check.cjs +0 -6
  1140. package/node_modules/@swc/helpers/cjs/_non_iterable_rest.cjs +0 -6
  1141. package/node_modules/@swc/helpers/cjs/_non_iterable_spread.cjs +0 -6
  1142. package/node_modules/@swc/helpers/cjs/_object_destructuring_empty.cjs +0 -8
  1143. package/node_modules/@swc/helpers/cjs/_object_spread.cjs +0 -25
  1144. package/node_modules/@swc/helpers/cjs/_object_spread_props.cjs +0 -30
  1145. package/node_modules/@swc/helpers/cjs/_object_without_properties.cjs +0 -35
  1146. package/node_modules/@swc/helpers/cjs/_object_without_properties_loose.cjs +0 -16
  1147. package/node_modules/@swc/helpers/cjs/_overload_yield.cjs +0 -8
  1148. package/node_modules/@swc/helpers/cjs/_possible_constructor_return.cjs +0 -11
  1149. package/node_modules/@swc/helpers/cjs/_read_only_error.cjs +0 -6
  1150. package/node_modules/@swc/helpers/cjs/_set.cjs +0 -44
  1151. package/node_modules/@swc/helpers/cjs/_set_prototype_of.cjs +0 -12
  1152. package/node_modules/@swc/helpers/cjs/_skip_first_generator_next.cjs +0 -11
  1153. package/node_modules/@swc/helpers/cjs/_sliced_to_array.cjs +0 -11
  1154. package/node_modules/@swc/helpers/cjs/_sliced_to_array_loose.cjs +0 -11
  1155. package/node_modules/@swc/helpers/cjs/_super_prop_base.cjs +0 -13
  1156. package/node_modules/@swc/helpers/cjs/_tagged_template_literal.cjs +0 -8
  1157. package/node_modules/@swc/helpers/cjs/_tagged_template_literal_loose.cjs +0 -10
  1158. package/node_modules/@swc/helpers/cjs/_throw.cjs +0 -6
  1159. package/node_modules/@swc/helpers/cjs/_to_array.cjs +0 -11
  1160. package/node_modules/@swc/helpers/cjs/_to_consumable_array.cjs +0 -11
  1161. package/node_modules/@swc/helpers/cjs/_to_primitive.cjs +0 -18
  1162. package/node_modules/@swc/helpers/cjs/_to_property_key.cjs +0 -11
  1163. package/node_modules/@swc/helpers/cjs/_ts_add_disposable_resource.cjs +0 -3
  1164. package/node_modules/@swc/helpers/cjs/_ts_decorate.cjs +0 -3
  1165. package/node_modules/@swc/helpers/cjs/_ts_dispose_resources.cjs +0 -3
  1166. package/node_modules/@swc/helpers/cjs/_ts_generator.cjs +0 -31
  1167. package/node_modules/@swc/helpers/cjs/_ts_metadata.cjs +0 -3
  1168. package/node_modules/@swc/helpers/cjs/_ts_param.cjs +0 -3
  1169. package/node_modules/@swc/helpers/cjs/_ts_rewrite_relative_import_extension.cjs +0 -3
  1170. package/node_modules/@swc/helpers/cjs/_ts_values.cjs +0 -3
  1171. package/node_modules/@swc/helpers/cjs/_type_of.cjs +0 -8
  1172. package/node_modules/@swc/helpers/cjs/_unsupported_iterable_to_array.cjs +0 -15
  1173. package/node_modules/@swc/helpers/cjs/_update.cjs +0 -16
  1174. package/node_modules/@swc/helpers/cjs/_using.cjs +0 -24
  1175. package/node_modules/@swc/helpers/cjs/_using_ctx.cjs +0 -75
  1176. package/node_modules/@swc/helpers/cjs/_wrap_async_generator.cjs +0 -10
  1177. package/node_modules/@swc/helpers/cjs/_wrap_native_super.cjs +0 -28
  1178. package/node_modules/@swc/helpers/cjs/_write_only_error.cjs +0 -6
  1179. package/node_modules/@swc/helpers/cjs/index.cjs +0 -431
  1180. package/node_modules/@swc/helpers/esm/_apply_decorated_descriptor.js +0 -33
  1181. package/node_modules/@swc/helpers/esm/_apply_decs_2203_r.js +0 -548
  1182. package/node_modules/@swc/helpers/esm/_array_like_to_array.js +0 -8
  1183. package/node_modules/@swc/helpers/esm/_array_with_holes.js +0 -4
  1184. package/node_modules/@swc/helpers/esm/_array_without_holes.js +0 -6
  1185. package/node_modules/@swc/helpers/esm/_assert_this_initialized.js +0 -6
  1186. package/node_modules/@swc/helpers/esm/_async_generator.js +0 -74
  1187. package/node_modules/@swc/helpers/esm/_async_generator_delegate.js +0 -51
  1188. package/node_modules/@swc/helpers/esm/_async_iterator.js +0 -44
  1189. package/node_modules/@swc/helpers/esm/_async_to_generator.js +0 -31
  1190. package/node_modules/@swc/helpers/esm/_await_async_generator.js +0 -6
  1191. package/node_modules/@swc/helpers/esm/_await_value.js +0 -4
  1192. package/node_modules/@swc/helpers/esm/_call_super.js +0 -17
  1193. package/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +0 -6
  1194. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_destructure.js +0 -23
  1195. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.js +0 -6
  1196. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.js +0 -13
  1197. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_update.js +0 -28
  1198. package/node_modules/@swc/helpers/esm/_class_call_check.js +0 -4
  1199. package/node_modules/@swc/helpers/esm/_class_check_private_static_access.js +0 -4
  1200. package/node_modules/@swc/helpers/esm/_class_check_private_static_field_descriptor.js +0 -6
  1201. package/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.js +0 -6
  1202. package/node_modules/@swc/helpers/esm/_class_name_tdz_error.js +0 -4
  1203. package/node_modules/@swc/helpers/esm/_class_private_field_destructure.js +0 -8
  1204. package/node_modules/@swc/helpers/esm/_class_private_field_get.js +0 -8
  1205. package/node_modules/@swc/helpers/esm/_class_private_field_init.js +0 -7
  1206. package/node_modules/@swc/helpers/esm/_class_private_field_loose_base.js +0 -8
  1207. package/node_modules/@swc/helpers/esm/_class_private_field_loose_key.js +0 -6
  1208. package/node_modules/@swc/helpers/esm/_class_private_field_set.js +0 -9
  1209. package/node_modules/@swc/helpers/esm/_class_private_field_update.js +0 -8
  1210. package/node_modules/@swc/helpers/esm/_class_private_method_get.js +0 -6
  1211. package/node_modules/@swc/helpers/esm/_class_private_method_init.js +0 -7
  1212. package/node_modules/@swc/helpers/esm/_class_private_method_set.js +0 -4
  1213. package/node_modules/@swc/helpers/esm/_class_static_private_field_destructure.js +0 -11
  1214. package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_get.js +0 -11
  1215. package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_set.js +0 -12
  1216. package/node_modules/@swc/helpers/esm/_class_static_private_field_update.js +0 -11
  1217. package/node_modules/@swc/helpers/esm/_class_static_private_method_get.js +0 -8
  1218. package/node_modules/@swc/helpers/esm/_construct.js +0 -20
  1219. package/node_modules/@swc/helpers/esm/_create_class.js +0 -18
  1220. package/node_modules/@swc/helpers/esm/_create_for_of_iterator_helper_loose.js +0 -22
  1221. package/node_modules/@swc/helpers/esm/_create_super.js +0 -21
  1222. package/node_modules/@swc/helpers/esm/_decorate.js +0 -268
  1223. package/node_modules/@swc/helpers/esm/_defaults.js +0 -13
  1224. package/node_modules/@swc/helpers/esm/_define_enumerable_properties.js +0 -24
  1225. package/node_modules/@swc/helpers/esm/_define_property.js +0 -8
  1226. package/node_modules/@swc/helpers/esm/_dispose.js +0 -41
  1227. package/node_modules/@swc/helpers/esm/_export_star.js +0 -15
  1228. package/node_modules/@swc/helpers/esm/_extends.js +0 -13
  1229. package/node_modules/@swc/helpers/esm/_get.js +0 -21
  1230. package/node_modules/@swc/helpers/esm/_get_prototype_of.js +0 -8
  1231. package/node_modules/@swc/helpers/esm/_identity.js +0 -5
  1232. package/node_modules/@swc/helpers/esm/_inherits.js +0 -12
  1233. package/node_modules/@swc/helpers/esm/_inherits_loose.js +0 -6
  1234. package/node_modules/@swc/helpers/esm/_initializer_define_property.js +0 -11
  1235. package/node_modules/@swc/helpers/esm/_initializer_warning_helper.js +0 -9
  1236. package/node_modules/@swc/helpers/esm/_instanceof.js +0 -6
  1237. package/node_modules/@swc/helpers/esm/_interop_require_default.js +0 -4
  1238. package/node_modules/@swc/helpers/esm/_interop_require_wildcard.js +0 -36
  1239. package/node_modules/@swc/helpers/esm/_is_native_function.js +0 -4
  1240. package/node_modules/@swc/helpers/esm/_is_native_reflect_construct.js +0 -16
  1241. package/node_modules/@swc/helpers/esm/_iterable_to_array.js +0 -6
  1242. package/node_modules/@swc/helpers/esm/_iterable_to_array_limit.js +0 -29
  1243. package/node_modules/@swc/helpers/esm/_iterable_to_array_limit_loose.js +0 -15
  1244. package/node_modules/@swc/helpers/esm/_jsx.js +0 -26
  1245. package/node_modules/@swc/helpers/esm/_new_arrow_check.js +0 -4
  1246. package/node_modules/@swc/helpers/esm/_non_iterable_rest.js +0 -4
  1247. package/node_modules/@swc/helpers/esm/_non_iterable_spread.js +0 -4
  1248. package/node_modules/@swc/helpers/esm/_object_destructuring_empty.js +0 -6
  1249. package/node_modules/@swc/helpers/esm/_object_spread.js +0 -23
  1250. package/node_modules/@swc/helpers/esm/_object_spread_props.js +0 -28
  1251. package/node_modules/@swc/helpers/esm/_object_without_properties.js +0 -33
  1252. package/node_modules/@swc/helpers/esm/_object_without_properties_loose.js +0 -14
  1253. package/node_modules/@swc/helpers/esm/_overload_yield.js +0 -6
  1254. package/node_modules/@swc/helpers/esm/_possible_constructor_return.js +0 -9
  1255. package/node_modules/@swc/helpers/esm/_read_only_error.js +0 -4
  1256. package/node_modules/@swc/helpers/esm/_set.js +0 -42
  1257. package/node_modules/@swc/helpers/esm/_set_prototype_of.js +0 -10
  1258. package/node_modules/@swc/helpers/esm/_skip_first_generator_next.js +0 -9
  1259. package/node_modules/@swc/helpers/esm/_sliced_to_array.js +0 -9
  1260. package/node_modules/@swc/helpers/esm/_sliced_to_array_loose.js +0 -9
  1261. package/node_modules/@swc/helpers/esm/_super_prop_base.js +0 -11
  1262. package/node_modules/@swc/helpers/esm/_tagged_template_literal.js +0 -6
  1263. package/node_modules/@swc/helpers/esm/_tagged_template_literal_loose.js +0 -8
  1264. package/node_modules/@swc/helpers/esm/_throw.js +0 -4
  1265. package/node_modules/@swc/helpers/esm/_to_array.js +0 -9
  1266. package/node_modules/@swc/helpers/esm/_to_consumable_array.js +0 -9
  1267. package/node_modules/@swc/helpers/esm/_to_primitive.js +0 -16
  1268. package/node_modules/@swc/helpers/esm/_to_property_key.js +0 -9
  1269. package/node_modules/@swc/helpers/esm/_ts_add_disposable_resource.js +0 -1
  1270. package/node_modules/@swc/helpers/esm/_ts_decorate.js +0 -1
  1271. package/node_modules/@swc/helpers/esm/_ts_dispose_resources.js +0 -1
  1272. package/node_modules/@swc/helpers/esm/_ts_generator.js +0 -29
  1273. package/node_modules/@swc/helpers/esm/_ts_metadata.js +0 -1
  1274. package/node_modules/@swc/helpers/esm/_ts_param.js +0 -1
  1275. package/node_modules/@swc/helpers/esm/_ts_rewrite_relative_import_extension.js +0 -1
  1276. package/node_modules/@swc/helpers/esm/_ts_values.js +0 -1
  1277. package/node_modules/@swc/helpers/esm/_type_of.js +0 -6
  1278. package/node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js +0 -13
  1279. package/node_modules/@swc/helpers/esm/_update.js +0 -14
  1280. package/node_modules/@swc/helpers/esm/_using.js +0 -22
  1281. package/node_modules/@swc/helpers/esm/_using_ctx.js +0 -73
  1282. package/node_modules/@swc/helpers/esm/_wrap_async_generator.js +0 -8
  1283. package/node_modules/@swc/helpers/esm/_wrap_native_super.js +0 -26
  1284. package/node_modules/@swc/helpers/esm/_write_only_error.js +0 -4
  1285. package/node_modules/@swc/helpers/esm/index.js +0 -108
  1286. package/node_modules/@swc/helpers/package.json +0 -694
  1287. package/node_modules/@swc/helpers/scripts/ast_grep.js +0 -218
  1288. package/node_modules/@swc/helpers/scripts/build.js +0 -133
  1289. package/node_modules/@swc/helpers/scripts/errors.js +0 -1
  1290. package/node_modules/@swc/helpers/scripts/utils.js +0 -3
  1291. package/node_modules/@swc/helpers/src/_apply_decorated_descriptor.mjs +0 -1
  1292. package/node_modules/@swc/helpers/src/_apply_decs_2203_r.mjs +0 -1
  1293. package/node_modules/@swc/helpers/src/_array_like_to_array.mjs +0 -1
  1294. package/node_modules/@swc/helpers/src/_array_with_holes.mjs +0 -1
  1295. package/node_modules/@swc/helpers/src/_array_without_holes.mjs +0 -1
  1296. package/node_modules/@swc/helpers/src/_assert_this_initialized.mjs +0 -1
  1297. package/node_modules/@swc/helpers/src/_async_generator.mjs +0 -1
  1298. package/node_modules/@swc/helpers/src/_async_generator_delegate.mjs +0 -1
  1299. package/node_modules/@swc/helpers/src/_async_iterator.mjs +0 -1
  1300. package/node_modules/@swc/helpers/src/_async_to_generator.mjs +0 -1
  1301. package/node_modules/@swc/helpers/src/_await_async_generator.mjs +0 -1
  1302. package/node_modules/@swc/helpers/src/_await_value.mjs +0 -1
  1303. package/node_modules/@swc/helpers/src/_call_super.mjs +0 -1
  1304. package/node_modules/@swc/helpers/src/_check_private_redeclaration.mjs +0 -1
  1305. package/node_modules/@swc/helpers/src/_class_apply_descriptor_destructure.mjs +0 -1
  1306. package/node_modules/@swc/helpers/src/_class_apply_descriptor_get.mjs +0 -1
  1307. package/node_modules/@swc/helpers/src/_class_apply_descriptor_set.mjs +0 -1
  1308. package/node_modules/@swc/helpers/src/_class_apply_descriptor_update.mjs +0 -1
  1309. package/node_modules/@swc/helpers/src/_class_call_check.mjs +0 -1
  1310. package/node_modules/@swc/helpers/src/_class_check_private_static_access.mjs +0 -1
  1311. package/node_modules/@swc/helpers/src/_class_check_private_static_field_descriptor.mjs +0 -1
  1312. package/node_modules/@swc/helpers/src/_class_extract_field_descriptor.mjs +0 -1
  1313. package/node_modules/@swc/helpers/src/_class_name_tdz_error.mjs +0 -1
  1314. package/node_modules/@swc/helpers/src/_class_private_field_destructure.mjs +0 -1
  1315. package/node_modules/@swc/helpers/src/_class_private_field_get.mjs +0 -1
  1316. package/node_modules/@swc/helpers/src/_class_private_field_init.mjs +0 -1
  1317. package/node_modules/@swc/helpers/src/_class_private_field_loose_base.mjs +0 -1
  1318. package/node_modules/@swc/helpers/src/_class_private_field_loose_key.mjs +0 -1
  1319. package/node_modules/@swc/helpers/src/_class_private_field_set.mjs +0 -1
  1320. package/node_modules/@swc/helpers/src/_class_private_field_update.mjs +0 -1
  1321. package/node_modules/@swc/helpers/src/_class_private_method_get.mjs +0 -1
  1322. package/node_modules/@swc/helpers/src/_class_private_method_init.mjs +0 -1
  1323. package/node_modules/@swc/helpers/src/_class_private_method_set.mjs +0 -1
  1324. package/node_modules/@swc/helpers/src/_class_static_private_field_destructure.mjs +0 -1
  1325. package/node_modules/@swc/helpers/src/_class_static_private_field_spec_get.mjs +0 -1
  1326. package/node_modules/@swc/helpers/src/_class_static_private_field_spec_set.mjs +0 -1
  1327. package/node_modules/@swc/helpers/src/_class_static_private_field_update.mjs +0 -1
  1328. package/node_modules/@swc/helpers/src/_class_static_private_method_get.mjs +0 -1
  1329. package/node_modules/@swc/helpers/src/_construct.mjs +0 -1
  1330. package/node_modules/@swc/helpers/src/_create_class.mjs +0 -1
  1331. package/node_modules/@swc/helpers/src/_create_for_of_iterator_helper_loose.mjs +0 -1
  1332. package/node_modules/@swc/helpers/src/_create_super.mjs +0 -1
  1333. package/node_modules/@swc/helpers/src/_decorate.mjs +0 -1
  1334. package/node_modules/@swc/helpers/src/_defaults.mjs +0 -1
  1335. package/node_modules/@swc/helpers/src/_define_enumerable_properties.mjs +0 -1
  1336. package/node_modules/@swc/helpers/src/_define_property.mjs +0 -1
  1337. package/node_modules/@swc/helpers/src/_dispose.mjs +0 -1
  1338. package/node_modules/@swc/helpers/src/_export_star.mjs +0 -1
  1339. package/node_modules/@swc/helpers/src/_extends.mjs +0 -1
  1340. package/node_modules/@swc/helpers/src/_get.mjs +0 -1
  1341. package/node_modules/@swc/helpers/src/_get_prototype_of.mjs +0 -1
  1342. package/node_modules/@swc/helpers/src/_identity.mjs +0 -1
  1343. package/node_modules/@swc/helpers/src/_inherits.mjs +0 -1
  1344. package/node_modules/@swc/helpers/src/_inherits_loose.mjs +0 -1
  1345. package/node_modules/@swc/helpers/src/_initializer_define_property.mjs +0 -1
  1346. package/node_modules/@swc/helpers/src/_initializer_warning_helper.mjs +0 -1
  1347. package/node_modules/@swc/helpers/src/_instanceof.mjs +0 -1
  1348. package/node_modules/@swc/helpers/src/_interop_require_default.mjs +0 -1
  1349. package/node_modules/@swc/helpers/src/_interop_require_wildcard.mjs +0 -1
  1350. package/node_modules/@swc/helpers/src/_is_native_function.mjs +0 -1
  1351. package/node_modules/@swc/helpers/src/_is_native_reflect_construct.mjs +0 -1
  1352. package/node_modules/@swc/helpers/src/_iterable_to_array.mjs +0 -1
  1353. package/node_modules/@swc/helpers/src/_iterable_to_array_limit.mjs +0 -1
  1354. package/node_modules/@swc/helpers/src/_iterable_to_array_limit_loose.mjs +0 -1
  1355. package/node_modules/@swc/helpers/src/_jsx.mjs +0 -1
  1356. package/node_modules/@swc/helpers/src/_new_arrow_check.mjs +0 -1
  1357. package/node_modules/@swc/helpers/src/_non_iterable_rest.mjs +0 -1
  1358. package/node_modules/@swc/helpers/src/_non_iterable_spread.mjs +0 -1
  1359. package/node_modules/@swc/helpers/src/_object_destructuring_empty.mjs +0 -1
  1360. package/node_modules/@swc/helpers/src/_object_spread.mjs +0 -1
  1361. package/node_modules/@swc/helpers/src/_object_spread_props.mjs +0 -1
  1362. package/node_modules/@swc/helpers/src/_object_without_properties.mjs +0 -1
  1363. package/node_modules/@swc/helpers/src/_object_without_properties_loose.mjs +0 -1
  1364. package/node_modules/@swc/helpers/src/_overload_yield.mjs +0 -1
  1365. package/node_modules/@swc/helpers/src/_possible_constructor_return.mjs +0 -1
  1366. package/node_modules/@swc/helpers/src/_read_only_error.mjs +0 -1
  1367. package/node_modules/@swc/helpers/src/_set.mjs +0 -1
  1368. package/node_modules/@swc/helpers/src/_set_prototype_of.mjs +0 -1
  1369. package/node_modules/@swc/helpers/src/_skip_first_generator_next.mjs +0 -1
  1370. package/node_modules/@swc/helpers/src/_sliced_to_array.mjs +0 -1
  1371. package/node_modules/@swc/helpers/src/_sliced_to_array_loose.mjs +0 -1
  1372. package/node_modules/@swc/helpers/src/_super_prop_base.mjs +0 -1
  1373. package/node_modules/@swc/helpers/src/_tagged_template_literal.mjs +0 -1
  1374. package/node_modules/@swc/helpers/src/_tagged_template_literal_loose.mjs +0 -1
  1375. package/node_modules/@swc/helpers/src/_throw.mjs +0 -1
  1376. package/node_modules/@swc/helpers/src/_to_array.mjs +0 -1
  1377. package/node_modules/@swc/helpers/src/_to_consumable_array.mjs +0 -1
  1378. package/node_modules/@swc/helpers/src/_to_primitive.mjs +0 -1
  1379. package/node_modules/@swc/helpers/src/_to_property_key.mjs +0 -1
  1380. package/node_modules/@swc/helpers/src/_ts_add_disposable_resource.mjs +0 -1
  1381. package/node_modules/@swc/helpers/src/_ts_decorate.mjs +0 -1
  1382. package/node_modules/@swc/helpers/src/_ts_dispose_resources.mjs +0 -1
  1383. package/node_modules/@swc/helpers/src/_ts_generator.mjs +0 -1
  1384. package/node_modules/@swc/helpers/src/_ts_metadata.mjs +0 -1
  1385. package/node_modules/@swc/helpers/src/_ts_param.mjs +0 -1
  1386. package/node_modules/@swc/helpers/src/_ts_rewrite_relative_import_extension.mjs +0 -1
  1387. package/node_modules/@swc/helpers/src/_ts_values.mjs +0 -1
  1388. package/node_modules/@swc/helpers/src/_type_of.mjs +0 -1
  1389. package/node_modules/@swc/helpers/src/_unsupported_iterable_to_array.mjs +0 -1
  1390. package/node_modules/@swc/helpers/src/_update.mjs +0 -1
  1391. package/node_modules/@swc/helpers/src/_using.mjs +0 -1
  1392. package/node_modules/@swc/helpers/src/_using_ctx.mjs +0 -1
  1393. package/node_modules/@swc/helpers/src/_wrap_async_generator.mjs +0 -1
  1394. package/node_modules/@swc/helpers/src/_wrap_native_super.mjs +0 -1
  1395. package/node_modules/@swc/helpers/src/_write_only_error.mjs +0 -1
  1396. package/node_modules/@swc/helpers/src/index.mjs +0 -1
  1397. package/node_modules/@types/connect/LICENSE +0 -21
  1398. package/node_modules/@types/connect/README.md +0 -15
  1399. package/node_modules/@types/connect/index.d.ts +0 -91
  1400. package/node_modules/@types/connect/package.json +0 -32
  1401. package/node_modules/@types/node/LICENSE +0 -21
  1402. package/node_modules/@types/node/README.md +0 -16
  1403. package/node_modules/@types/node/assert.d.ts +0 -117
  1404. package/node_modules/@types/node/async_hooks.d.ts +0 -246
  1405. package/node_modules/@types/node/buffer.d.ts +0 -22
  1406. package/node_modules/@types/node/child_process.d.ts +0 -507
  1407. package/node_modules/@types/node/cluster.d.ts +0 -260
  1408. package/node_modules/@types/node/console.d.ts +0 -3
  1409. package/node_modules/@types/node/constants.d.ts +0 -448
  1410. package/node_modules/@types/node/crypto.d.ts +0 -1183
  1411. package/node_modules/@types/node/dgram.d.ts +0 -118
  1412. package/node_modules/@types/node/dns.d.ts +0 -372
  1413. package/node_modules/@types/node/domain.d.ts +0 -16
  1414. package/node_modules/@types/node/events.d.ts +0 -47
  1415. package/node_modules/@types/node/fs.d.ts +0 -2567
  1416. package/node_modules/@types/node/globals.d.ts +0 -1351
  1417. package/node_modules/@types/node/globals.global.d.ts +0 -1
  1418. package/node_modules/@types/node/http.d.ts +0 -456
  1419. package/node_modules/@types/node/http2.d.ts +0 -952
  1420. package/node_modules/@types/node/https.d.ts +0 -156
  1421. package/node_modules/@types/node/index.d.ts +0 -91
  1422. package/node_modules/@types/node/inspector.d.ts +0 -3040
  1423. package/node_modules/@types/node/module.d.ts +0 -3
  1424. package/node_modules/@types/node/net.d.ts +0 -290
  1425. package/node_modules/@types/node/os.d.ts +0 -263
  1426. package/node_modules/@types/node/package.json +0 -195
  1427. package/node_modules/@types/node/path.d.ts +0 -159
  1428. package/node_modules/@types/node/perf_hooks.d.ts +0 -259
  1429. package/node_modules/@types/node/process.d.ts +0 -15
  1430. package/node_modules/@types/node/punycode.d.ts +0 -75
  1431. package/node_modules/@types/node/querystring.d.ts +0 -29
  1432. package/node_modules/@types/node/readline.d.ts +0 -158
  1433. package/node_modules/@types/node/repl.d.ts +0 -390
  1434. package/node_modules/@types/node/stream.d.ts +0 -334
  1435. package/node_modules/@types/node/string_decoder.d.ts +0 -7
  1436. package/node_modules/@types/node/timers.d.ts +0 -16
  1437. package/node_modules/@types/node/tls.d.ts +0 -713
  1438. package/node_modules/@types/node/trace_events.d.ts +0 -61
  1439. package/node_modules/@types/node/tty.d.ts +0 -66
  1440. package/node_modules/@types/node/url.d.ts +0 -147
  1441. package/node_modules/@types/node/util.d.ts +0 -200
  1442. package/node_modules/@types/node/v8.d.ts +0 -197
  1443. package/node_modules/@types/node/vm.d.ts +0 -112
  1444. package/node_modules/@types/node/wasi.d.ts +0 -55
  1445. package/node_modules/@types/node/worker_threads.d.ts +0 -207
  1446. package/node_modules/@types/node/zlib.d.ts +0 -356
  1447. package/node_modules/@types/uuid/LICENSE +0 -21
  1448. package/node_modules/@types/uuid/README.md +0 -15
  1449. package/node_modules/@types/uuid/index.d.mts +0 -19
  1450. package/node_modules/@types/uuid/index.d.ts +0 -113
  1451. package/node_modules/@types/uuid/package.json +0 -54
  1452. package/node_modules/@types/ws/LICENSE +0 -21
  1453. package/node_modules/@types/ws/README.md +0 -16
  1454. package/node_modules/@types/ws/index.d.ts +0 -353
  1455. package/node_modules/@types/ws/package.json +0 -57
  1456. package/node_modules/agentkeepalive/LICENSE +0 -23
  1457. package/node_modules/agentkeepalive/README.md +0 -256
  1458. package/node_modules/agentkeepalive/browser.js +0 -5
  1459. package/node_modules/agentkeepalive/index.d.ts +0 -69
  1460. package/node_modules/agentkeepalive/index.js +0 -7
  1461. package/node_modules/agentkeepalive/lib/agent.js +0 -402
  1462. package/node_modules/agentkeepalive/lib/constants.js +0 -14
  1463. package/node_modules/agentkeepalive/lib/https_agent.js +0 -51
  1464. package/node_modules/agentkeepalive/package.json +0 -56
  1465. package/node_modules/base64-js/LICENSE +0 -21
  1466. package/node_modules/base64-js/README.md +0 -34
  1467. package/node_modules/base64-js/base64js.min.js +0 -1
  1468. package/node_modules/base64-js/index.d.ts +0 -3
  1469. package/node_modules/base64-js/index.js +0 -150
  1470. package/node_modules/base64-js/package.json +0 -47
  1471. package/node_modules/bn.js/LICENSE +0 -19
  1472. package/node_modules/bn.js/README.md +0 -214
  1473. package/node_modules/bn.js/lib/bn.js +0 -3553
  1474. package/node_modules/bn.js/package.json +0 -39
  1475. package/node_modules/buffer/AUTHORS.md +0 -73
  1476. package/node_modules/buffer/LICENSE +0 -21
  1477. package/node_modules/buffer/README.md +0 -410
  1478. package/node_modules/buffer/index.d.ts +0 -194
  1479. package/node_modules/buffer/index.js +0 -2106
  1480. package/node_modules/buffer/package.json +0 -93
  1481. package/node_modules/bufferutil/LICENSE +0 -20
  1482. package/node_modules/bufferutil/README.md +0 -79
  1483. package/node_modules/bufferutil/binding.gyp +0 -19
  1484. package/node_modules/bufferutil/fallback.js +0 -34
  1485. package/node_modules/bufferutil/index.js +0 -7
  1486. package/node_modules/bufferutil/package.json +0 -35
  1487. package/node_modules/bufferutil/prebuilds/darwin-arm64/bufferutil.node +0 -0
  1488. package/node_modules/bufferutil/prebuilds/darwin-x64/bufferutil.node +0 -0
  1489. package/node_modules/bufferutil/prebuilds/linux-x64/bufferutil.node +0 -0
  1490. package/node_modules/bufferutil/prebuilds/win32-ia32/bufferutil.node +0 -0
  1491. package/node_modules/bufferutil/prebuilds/win32-x64/bufferutil.node +0 -0
  1492. package/node_modules/bufferutil/src/bufferutil.c +0 -169
  1493. package/node_modules/chalk/license +0 -9
  1494. package/node_modules/chalk/package.json +0 -83
  1495. package/node_modules/chalk/readme.md +0 -297
  1496. package/node_modules/chalk/source/index.d.ts +0 -325
  1497. package/node_modules/chalk/source/index.js +0 -225
  1498. package/node_modules/chalk/source/utilities.js +0 -33
  1499. package/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  1500. package/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  1501. package/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  1502. package/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  1503. package/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  1504. package/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
  1505. package/node_modules/commander/LICENSE +0 -22
  1506. package/node_modules/commander/Readme.md +0 -1176
  1507. package/node_modules/commander/esm.mjs +0 -16
  1508. package/node_modules/commander/index.js +0 -24
  1509. package/node_modules/commander/lib/argument.js +0 -150
  1510. package/node_modules/commander/lib/command.js +0 -2777
  1511. package/node_modules/commander/lib/error.js +0 -39
  1512. package/node_modules/commander/lib/help.js +0 -747
  1513. package/node_modules/commander/lib/option.js +0 -380
  1514. package/node_modules/commander/lib/suggestSimilar.js +0 -101
  1515. package/node_modules/commander/package-support.json +0 -19
  1516. package/node_modules/commander/package.json +0 -82
  1517. package/node_modules/commander/typings/esm.d.mts +0 -3
  1518. package/node_modules/commander/typings/index.d.ts +0 -1113
  1519. package/node_modules/delay/index.d.ts +0 -107
  1520. package/node_modules/delay/index.js +0 -72
  1521. package/node_modules/delay/license +0 -9
  1522. package/node_modules/delay/package.json +0 -54
  1523. package/node_modules/delay/readme.md +0 -173
  1524. package/node_modules/es6-promise/CHANGELOG.md +0 -155
  1525. package/node_modules/es6-promise/LICENSE +0 -19
  1526. package/node_modules/es6-promise/README.md +0 -97
  1527. package/node_modules/es6-promise/auto.js +0 -4
  1528. package/node_modules/es6-promise/dist/es6-promise.auto.js +0 -1176
  1529. package/node_modules/es6-promise/dist/es6-promise.auto.map +0 -1
  1530. package/node_modules/es6-promise/dist/es6-promise.auto.min.js +0 -1
  1531. package/node_modules/es6-promise/dist/es6-promise.auto.min.map +0 -1
  1532. package/node_modules/es6-promise/dist/es6-promise.js +0 -1174
  1533. package/node_modules/es6-promise/dist/es6-promise.map +0 -1
  1534. package/node_modules/es6-promise/dist/es6-promise.min.js +0 -1
  1535. package/node_modules/es6-promise/dist/es6-promise.min.map +0 -1
  1536. package/node_modules/es6-promise/es6-promise.d.ts +0 -85
  1537. package/node_modules/es6-promise/lib/es6-promise/-internal.js +0 -243
  1538. package/node_modules/es6-promise/lib/es6-promise/asap.js +0 -119
  1539. package/node_modules/es6-promise/lib/es6-promise/enumerator.js +0 -124
  1540. package/node_modules/es6-promise/lib/es6-promise/polyfill.js +0 -35
  1541. package/node_modules/es6-promise/lib/es6-promise/promise/all.js +0 -52
  1542. package/node_modules/es6-promise/lib/es6-promise/promise/race.js +0 -84
  1543. package/node_modules/es6-promise/lib/es6-promise/promise/reject.js +0 -46
  1544. package/node_modules/es6-promise/lib/es6-promise/promise/resolve.js +0 -48
  1545. package/node_modules/es6-promise/lib/es6-promise/promise.js +0 -431
  1546. package/node_modules/es6-promise/lib/es6-promise/then.js +0 -32
  1547. package/node_modules/es6-promise/lib/es6-promise/utils.js +0 -21
  1548. package/node_modules/es6-promise/lib/es6-promise.auto.js +0 -3
  1549. package/node_modules/es6-promise/lib/es6-promise.js +0 -7
  1550. package/node_modules/es6-promise/package.json +0 -78
  1551. package/node_modules/es6-promisify/README.md +0 -89
  1552. package/node_modules/es6-promisify/dist/promise.js +0 -73
  1553. package/node_modules/es6-promisify/dist/promisify.js +0 -85
  1554. package/node_modules/es6-promisify/package.json +0 -41
  1555. package/node_modules/eventemitter3/LICENSE +0 -21
  1556. package/node_modules/eventemitter3/README.md +0 -85
  1557. package/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -355
  1558. package/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -1
  1559. package/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -1
  1560. package/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -363
  1561. package/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -1
  1562. package/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -1
  1563. package/node_modules/eventemitter3/index.d.ts +0 -135
  1564. package/node_modules/eventemitter3/index.js +0 -336
  1565. package/node_modules/eventemitter3/index.mjs +0 -4
  1566. package/node_modules/eventemitter3/package.json +0 -62
  1567. package/node_modules/eyes/LICENSE +0 -20
  1568. package/node_modules/eyes/Makefile +0 -4
  1569. package/node_modules/eyes/README.md +0 -73
  1570. package/node_modules/eyes/lib/eyes.js +0 -236
  1571. package/node_modules/eyes/package.json +0 -14
  1572. package/node_modules/eyes/test/eyes-test.js +0 -56
  1573. package/node_modules/fast-stable-stringify/.npmignore +0 -4
  1574. package/node_modules/fast-stable-stringify/.travis.yml +0 -10
  1575. package/node_modules/fast-stable-stringify/LICENSE +0 -21
  1576. package/node_modules/fast-stable-stringify/README.md +0 -81
  1577. package/node_modules/fast-stable-stringify/cli/files-to-comparison-results.js +0 -67
  1578. package/node_modules/fast-stable-stringify/cli/format-table.js +0 -70
  1579. package/node_modules/fast-stable-stringify/cli/index.js +0 -19
  1580. package/node_modules/fast-stable-stringify/fixtures/index.js +0 -5
  1581. package/node_modules/fast-stable-stringify/fixtures/input-data-types.js +0 -191
  1582. package/node_modules/fast-stable-stringify/fixtures/log-result.json +0 -22
  1583. package/node_modules/fast-stable-stringify/fixtures/log.txt +0 -24
  1584. package/node_modules/fast-stable-stringify/index.js +0 -73
  1585. package/node_modules/fast-stable-stringify/karma.conf.js +0 -124
  1586. package/node_modules/fast-stable-stringify/karma.conf.travis.js +0 -95
  1587. package/node_modules/fast-stable-stringify/package.json +0 -47
  1588. package/node_modules/fast-stable-stringify/results/escape-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -57
  1589. package/node_modules/fast-stable-stringify/results/escape-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -57
  1590. package/node_modules/fast-stable-stringify/results/escape-long/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -57
  1591. package/node_modules/fast-stable-stringify/results/escape-long/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -57
  1592. package/node_modules/fast-stable-stringify/results/escape-long/IE 10.0.0 (Windows 7 0.0.0).json +0 -57
  1593. package/node_modules/fast-stable-stringify/results/escape-long/IE 11.0.0 (Windows 7 0.0.0).json +0 -57
  1594. package/node_modules/fast-stable-stringify/results/escape-long/IE 9.0.0 (Windows 7 0.0.0).json +0 -57
  1595. package/node_modules/fast-stable-stringify/results/escape-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -57
  1596. package/node_modules/fast-stable-stringify/results/escape-long/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -57
  1597. package/node_modules/fast-stable-stringify/results/escape-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -57
  1598. package/node_modules/fast-stable-stringify/results/escape-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -57
  1599. package/node_modules/fast-stable-stringify/results/escape-short/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -57
  1600. package/node_modules/fast-stable-stringify/results/escape-short/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -57
  1601. package/node_modules/fast-stable-stringify/results/escape-short/IE 10.0.0 (Windows 7 0.0.0).json +0 -57
  1602. package/node_modules/fast-stable-stringify/results/escape-short/IE 11.0.0 (Windows 7 0.0.0).json +0 -57
  1603. package/node_modules/fast-stable-stringify/results/escape-short/IE 9.0.0 (Windows 7 0.0.0).json +0 -57
  1604. package/node_modules/fast-stable-stringify/results/escape-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -57
  1605. package/node_modules/fast-stable-stringify/results/escape-short/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -57
  1606. package/node_modules/fast-stable-stringify/results/escape.md +0 -20
  1607. package/node_modules/fast-stable-stringify/results/itar-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
  1608. package/node_modules/fast-stable-stringify/results/itar-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
  1609. package/node_modules/fast-stable-stringify/results/itar-long/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
  1610. package/node_modules/fast-stable-stringify/results/itar-long/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
  1611. package/node_modules/fast-stable-stringify/results/itar-long/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  1612. package/node_modules/fast-stable-stringify/results/itar-long/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  1613. package/node_modules/fast-stable-stringify/results/itar-long/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  1614. package/node_modules/fast-stable-stringify/results/itar-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
  1615. package/node_modules/fast-stable-stringify/results/itar-long/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
  1616. package/node_modules/fast-stable-stringify/results/itar-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
  1617. package/node_modules/fast-stable-stringify/results/itar-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
  1618. package/node_modules/fast-stable-stringify/results/itar-short/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
  1619. package/node_modules/fast-stable-stringify/results/itar-short/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
  1620. package/node_modules/fast-stable-stringify/results/itar-short/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  1621. package/node_modules/fast-stable-stringify/results/itar-short/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  1622. package/node_modules/fast-stable-stringify/results/itar-short/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  1623. package/node_modules/fast-stable-stringify/results/itar-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
  1624. package/node_modules/fast-stable-stringify/results/itar-short/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
  1625. package/node_modules/fast-stable-stringify/results/itar.md +0 -20
  1626. package/node_modules/fast-stable-stringify/results/iter/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
  1627. package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 39.0.0 (Android 5.1.1).json +0 -35
  1628. package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
  1629. package/node_modules/fast-stable-stringify/results/iter/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
  1630. package/node_modules/fast-stable-stringify/results/iter/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
  1631. package/node_modules/fast-stable-stringify/results/iter/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  1632. package/node_modules/fast-stable-stringify/results/iter/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  1633. package/node_modules/fast-stable-stringify/results/iter/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  1634. package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
  1635. package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 9.0.0 (iOS 9.2.0).json +0 -35
  1636. package/node_modules/fast-stable-stringify/results/iter/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
  1637. package/node_modules/fast-stable-stringify/results/iter/Safari 9.1.2 (Mac OS X 10.11.6).json +0 -35
  1638. package/node_modules/fast-stable-stringify/results/iter.md +0 -14
  1639. package/node_modules/fast-stable-stringify/results/libs/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -46
  1640. package/node_modules/fast-stable-stringify/results/libs/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -46
  1641. package/node_modules/fast-stable-stringify/results/libs/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -46
  1642. package/node_modules/fast-stable-stringify/results/libs/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -46
  1643. package/node_modules/fast-stable-stringify/results/libs/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  1644. package/node_modules/fast-stable-stringify/results/libs/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  1645. package/node_modules/fast-stable-stringify/results/libs/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  1646. package/node_modules/fast-stable-stringify/results/libs/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -46
  1647. package/node_modules/fast-stable-stringify/results/libs/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -46
  1648. package/node_modules/fast-stable-stringify/results/libs.md +0 -15
  1649. package/node_modules/fast-stable-stringify/test/escape-long.js +0 -147
  1650. package/node_modules/fast-stable-stringify/test/escape-short.js +0 -147
  1651. package/node_modules/fast-stable-stringify/test/index.js +0 -6
  1652. package/node_modules/fast-stable-stringify/test/itar-long.js +0 -52
  1653. package/node_modules/fast-stable-stringify/test/itar-short.js +0 -52
  1654. package/node_modules/fast-stable-stringify/test/iter.js +0 -84
  1655. package/node_modules/fast-stable-stringify/test/libs.js +0 -57
  1656. package/node_modules/fast-stable-stringify/test/travis.js +0 -43
  1657. package/node_modules/fast-stable-stringify/test/validate.js +0 -24
  1658. package/node_modules/fast-stable-stringify/util/eachRecursive.js +0 -9
  1659. package/node_modules/fast-stable-stringify/util/get-git-hash-sync.js +0 -21
  1660. package/node_modules/fast-stable-stringify/util/get-lib-info.js +0 -22
  1661. package/node_modules/fast-stable-stringify/util/object-path.js +0 -47
  1662. package/node_modules/fast-stable-stringify/v8-profile/bench.js +0 -8
  1663. package/node_modules/fast-stable-stringify/v8-profile/run.sh +0 -2
  1664. package/node_modules/fast-stable-stringify/zuul-local.sh +0 -2
  1665. package/node_modules/humanize-ms/History.md +0 -25
  1666. package/node_modules/humanize-ms/LICENSE +0 -17
  1667. package/node_modules/humanize-ms/README.md +0 -40
  1668. package/node_modules/humanize-ms/index.js +0 -24
  1669. package/node_modules/humanize-ms/package.json +0 -37
  1670. package/node_modules/ieee754/LICENSE +0 -11
  1671. package/node_modules/ieee754/README.md +0 -51
  1672. package/node_modules/ieee754/index.d.ts +0 -10
  1673. package/node_modules/ieee754/index.js +0 -85
  1674. package/node_modules/ieee754/package.json +0 -52
  1675. package/node_modules/isomorphic-ws/LICENSE +0 -21
  1676. package/node_modules/isomorphic-ws/README.md +0 -58
  1677. package/node_modules/isomorphic-ws/browser.js +0 -17
  1678. package/node_modules/isomorphic-ws/index.d.ts +0 -8
  1679. package/node_modules/isomorphic-ws/node.js +0 -3
  1680. package/node_modules/isomorphic-ws/package.json +0 -34
  1681. package/node_modules/jayson/.npmignore +0 -8
  1682. package/node_modules/jayson/LICENSE +0 -22
  1683. package/node_modules/jayson/README.md +0 -1387
  1684. package/node_modules/jayson/bin/jayson.js +0 -111
  1685. package/node_modules/jayson/index.d.ts +0 -391
  1686. package/node_modules/jayson/index.js +0 -1
  1687. package/node_modules/jayson/lib/client/browser/index.d.ts +0 -14
  1688. package/node_modules/jayson/lib/client/browser/index.js +0 -167
  1689. package/node_modules/jayson/lib/client/http.js +0 -118
  1690. package/node_modules/jayson/lib/client/https.js +0 -34
  1691. package/node_modules/jayson/lib/client/index.js +0 -221
  1692. package/node_modules/jayson/lib/client/tcp.js +0 -92
  1693. package/node_modules/jayson/lib/client/tls.js +0 -91
  1694. package/node_modules/jayson/lib/client/websocket.js +0 -135
  1695. package/node_modules/jayson/lib/generateRequest.js +0 -63
  1696. package/node_modules/jayson/lib/index.js +0 -31
  1697. package/node_modules/jayson/lib/method.js +0 -120
  1698. package/node_modules/jayson/lib/server/http.js +0 -26
  1699. package/node_modules/jayson/lib/server/https.js +0 -26
  1700. package/node_modules/jayson/lib/server/index.js +0 -476
  1701. package/node_modules/jayson/lib/server/middleware.js +0 -75
  1702. package/node_modules/jayson/lib/server/tcp.js +0 -72
  1703. package/node_modules/jayson/lib/server/tls.js +0 -72
  1704. package/node_modules/jayson/lib/server/websocket.js +0 -62
  1705. package/node_modules/jayson/lib/utils.js +0 -517
  1706. package/node_modules/jayson/node_modules/commander/CHANGELOG.md +0 -419
  1707. package/node_modules/jayson/node_modules/commander/LICENSE +0 -22
  1708. package/node_modules/jayson/node_modules/commander/Readme.md +0 -428
  1709. package/node_modules/jayson/node_modules/commander/index.js +0 -1224
  1710. package/node_modules/jayson/node_modules/commander/package.json +0 -38
  1711. package/node_modules/jayson/node_modules/commander/typings/index.d.ts +0 -310
  1712. package/node_modules/jayson/package.json +0 -87
  1713. package/node_modules/jayson/promise/index.d.ts +0 -391
  1714. package/node_modules/jayson/promise/index.js +0 -3
  1715. package/node_modules/jayson/promise/lib/client/browser/index.d.ts +0 -12
  1716. package/node_modules/jayson/promise/lib/client/browser/index.js +0 -28
  1717. package/node_modules/jayson/promise/lib/client/http.js +0 -23
  1718. package/node_modules/jayson/promise/lib/client/https.js +0 -24
  1719. package/node_modules/jayson/promise/lib/client/index.js +0 -53
  1720. package/node_modules/jayson/promise/lib/client/tcp.js +0 -23
  1721. package/node_modules/jayson/promise/lib/client/tls.js +0 -23
  1722. package/node_modules/jayson/promise/lib/client/websocket.js +0 -23
  1723. package/node_modules/jayson/promise/lib/index.js +0 -33
  1724. package/node_modules/jayson/promise/lib/method.js +0 -54
  1725. package/node_modules/jayson/promise/lib/server.js +0 -23
  1726. package/node_modules/jayson/promise/lib/utils.js +0 -23
  1727. package/node_modules/json-stringify-safe/.npmignore +0 -1
  1728. package/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
  1729. package/node_modules/json-stringify-safe/LICENSE +0 -15
  1730. package/node_modules/json-stringify-safe/Makefile +0 -35
  1731. package/node_modules/json-stringify-safe/README.md +0 -52
  1732. package/node_modules/json-stringify-safe/package.json +0 -31
  1733. package/node_modules/json-stringify-safe/stringify.js +0 -27
  1734. package/node_modules/json-stringify-safe/test/mocha.opts +0 -2
  1735. package/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
  1736. package/node_modules/ms/index.js +0 -162
  1737. package/node_modules/ms/license.md +0 -21
  1738. package/node_modules/ms/package.json +0 -38
  1739. package/node_modules/ms/readme.md +0 -59
  1740. package/node_modules/node-fetch/LICENSE.md +0 -22
  1741. package/node_modules/node-fetch/README.md +0 -634
  1742. package/node_modules/node-fetch/browser.js +0 -25
  1743. package/node_modules/node-fetch/lib/index.es.js +0 -1777
  1744. package/node_modules/node-fetch/lib/index.js +0 -1787
  1745. package/node_modules/node-fetch/lib/index.mjs +0 -1775
  1746. package/node_modules/node-fetch/package.json +0 -89
  1747. package/node_modules/node-gyp-build/LICENSE +0 -21
  1748. package/node_modules/node-gyp-build/README.md +0 -58
  1749. package/node_modules/node-gyp-build/SECURITY.md +0 -5
  1750. package/node_modules/node-gyp-build/bin.js +0 -84
  1751. package/node_modules/node-gyp-build/build-test.js +0 -19
  1752. package/node_modules/node-gyp-build/index.js +0 -6
  1753. package/node_modules/node-gyp-build/node-gyp-build.js +0 -207
  1754. package/node_modules/node-gyp-build/optional.js +0 -7
  1755. package/node_modules/node-gyp-build/package.json +0 -43
  1756. package/node_modules/rpc-websockets/LICENSE +0 -10
  1757. package/node_modules/rpc-websockets/README.md +0 -153
  1758. package/node_modules/rpc-websockets/dist/index.browser-bundle.js +0 -5
  1759. package/node_modules/rpc-websockets/dist/index.browser.cjs +0 -425
  1760. package/node_modules/rpc-websockets/dist/index.browser.cjs.map +0 -1
  1761. package/node_modules/rpc-websockets/dist/index.browser.d.mts +0 -255
  1762. package/node_modules/rpc-websockets/dist/index.browser.d.ts +0 -255
  1763. package/node_modules/rpc-websockets/dist/index.browser.mjs +0 -420
  1764. package/node_modules/rpc-websockets/dist/index.browser.mjs.map +0 -1
  1765. package/node_modules/rpc-websockets/dist/index.cjs +0 -936
  1766. package/node_modules/rpc-websockets/dist/index.cjs.map +0 -1
  1767. package/node_modules/rpc-websockets/dist/index.d.mts +0 -452
  1768. package/node_modules/rpc-websockets/dist/index.d.ts +0 -452
  1769. package/node_modules/rpc-websockets/dist/index.mjs +0 -924
  1770. package/node_modules/rpc-websockets/dist/index.mjs.map +0 -1
  1771. package/node_modules/rpc-websockets/node_modules/@types/ws/LICENSE +0 -21
  1772. package/node_modules/rpc-websockets/node_modules/@types/ws/README.md +0 -15
  1773. package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.mts +0 -451
  1774. package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.ts +0 -445
  1775. package/node_modules/rpc-websockets/node_modules/@types/ws/package.json +0 -72
  1776. package/node_modules/rpc-websockets/node_modules/utf-8-validate/LICENSE +0 -51
  1777. package/node_modules/rpc-websockets/node_modules/utf-8-validate/README.md +0 -52
  1778. package/node_modules/rpc-websockets/node_modules/utf-8-validate/binding.gyp +0 -22
  1779. package/node_modules/rpc-websockets/node_modules/utf-8-validate/deps/is_utf8/LICENSE-MIT +0 -18
  1780. package/node_modules/rpc-websockets/node_modules/utf-8-validate/deps/is_utf8/include/is_utf8.h +0 -10
  1781. package/node_modules/rpc-websockets/node_modules/utf-8-validate/deps/is_utf8/src/is_utf8.cpp +0 -6755
  1782. package/node_modules/rpc-websockets/node_modules/utf-8-validate/fallback.js +0 -62
  1783. package/node_modules/rpc-websockets/node_modules/utf-8-validate/index.js +0 -7
  1784. package/node_modules/rpc-websockets/node_modules/utf-8-validate/package.json +0 -47
  1785. package/node_modules/rpc-websockets/node_modules/utf-8-validate/prebuilds/darwin-arm64/utf-8-validate.node +0 -0
  1786. package/node_modules/rpc-websockets/node_modules/utf-8-validate/prebuilds/darwin-x64/utf-8-validate.node +0 -0
  1787. package/node_modules/rpc-websockets/node_modules/utf-8-validate/prebuilds/linux-x64/utf-8-validate.musl.node +0 -0
  1788. package/node_modules/rpc-websockets/node_modules/utf-8-validate/prebuilds/linux-x64/utf-8-validate.node +0 -0
  1789. package/node_modules/rpc-websockets/node_modules/utf-8-validate/prebuilds/win32-ia32/utf-8-validate.node +0 -0
  1790. package/node_modules/rpc-websockets/node_modules/utf-8-validate/prebuilds/win32-x64/utf-8-validate.node +0 -0
  1791. package/node_modules/rpc-websockets/node_modules/utf-8-validate/src/validation.cc +0 -40
  1792. package/node_modules/rpc-websockets/package.json +0 -91
  1793. package/node_modules/safe-buffer/LICENSE +0 -21
  1794. package/node_modules/safe-buffer/README.md +0 -584
  1795. package/node_modules/safe-buffer/index.d.ts +0 -187
  1796. package/node_modules/safe-buffer/index.js +0 -65
  1797. package/node_modules/safe-buffer/package.json +0 -51
  1798. package/node_modules/stream-chain/LICENSE +0 -11
  1799. package/node_modules/stream-chain/README.md +0 -334
  1800. package/node_modules/stream-chain/defs.js +0 -22
  1801. package/node_modules/stream-chain/index.js +0 -203
  1802. package/node_modules/stream-chain/package.json +0 -31
  1803. package/node_modules/stream-chain/utils/FromIterable.js +0 -94
  1804. package/node_modules/stream-chain/utils/Reduce.js +0 -40
  1805. package/node_modules/stream-chain/utils/asFun.js +0 -85
  1806. package/node_modules/stream-chain/utils/asGen.js +0 -77
  1807. package/node_modules/stream-chain/utils/comp.js +0 -20
  1808. package/node_modules/stream-chain/utils/fold.js +0 -43
  1809. package/node_modules/stream-chain/utils/gen.js +0 -24
  1810. package/node_modules/stream-chain/utils/scan.js +0 -41
  1811. package/node_modules/stream-chain/utils/skip.js +0 -32
  1812. package/node_modules/stream-chain/utils/skipWhile.js +0 -46
  1813. package/node_modules/stream-chain/utils/take.js +0 -39
  1814. package/node_modules/stream-chain/utils/takeWhile.js +0 -47
  1815. package/node_modules/stream-json/Assembler.js +0 -154
  1816. package/node_modules/stream-json/Disassembler.js +0 -209
  1817. package/node_modules/stream-json/Emitter.js +0 -22
  1818. package/node_modules/stream-json/LICENSE +0 -34
  1819. package/node_modules/stream-json/Parser.js +0 -545
  1820. package/node_modules/stream-json/README.md +0 -128
  1821. package/node_modules/stream-json/Stringer.js +0 -153
  1822. package/node_modules/stream-json/filters/Filter.js +0 -130
  1823. package/node_modules/stream-json/filters/FilterBase.js +0 -201
  1824. package/node_modules/stream-json/filters/Ignore.js +0 -24
  1825. package/node_modules/stream-json/filters/Pick.js +0 -58
  1826. package/node_modules/stream-json/filters/Replace.js +0 -115
  1827. package/node_modules/stream-json/index.js +0 -11
  1828. package/node_modules/stream-json/jsonl/Parser.js +0 -131
  1829. package/node_modules/stream-json/jsonl/Stringer.js +0 -29
  1830. package/node_modules/stream-json/package.json +0 -45
  1831. package/node_modules/stream-json/streamers/StreamArray.js +0 -44
  1832. package/node_modules/stream-json/streamers/StreamBase.js +0 -101
  1833. package/node_modules/stream-json/streamers/StreamObject.js +0 -43
  1834. package/node_modules/stream-json/streamers/StreamValues.js +0 -33
  1835. package/node_modules/stream-json/utils/Batch.js +0 -44
  1836. package/node_modules/stream-json/utils/Utf8Stream.js +0 -53
  1837. package/node_modules/stream-json/utils/Verifier.js +0 -485
  1838. package/node_modules/stream-json/utils/emit.js +0 -5
  1839. package/node_modules/stream-json/utils/withParser.js +0 -10
  1840. package/node_modules/superstruct/License.md +0 -9
  1841. package/node_modules/superstruct/Readme.md +0 -230
  1842. package/node_modules/superstruct/dist/error.d.ts +0 -33
  1843. package/node_modules/superstruct/dist/error.d.ts.map +0 -1
  1844. package/node_modules/superstruct/dist/index.cjs +0 -1084
  1845. package/node_modules/superstruct/dist/index.cjs.map +0 -1
  1846. package/node_modules/superstruct/dist/index.d.ts +0 -7
  1847. package/node_modules/superstruct/dist/index.d.ts.map +0 -1
  1848. package/node_modules/superstruct/dist/index.mjs +0 -1026
  1849. package/node_modules/superstruct/dist/index.mjs.map +0 -1
  1850. package/node_modules/superstruct/dist/struct.d.ts +0 -119
  1851. package/node_modules/superstruct/dist/struct.d.ts.map +0 -1
  1852. package/node_modules/superstruct/dist/structs/coercions.d.ts +0 -29
  1853. package/node_modules/superstruct/dist/structs/coercions.d.ts.map +0 -1
  1854. package/node_modules/superstruct/dist/structs/refinements.d.ts +0 -38
  1855. package/node_modules/superstruct/dist/structs/refinements.d.ts.map +0 -1
  1856. package/node_modules/superstruct/dist/structs/types.d.ts +0 -142
  1857. package/node_modules/superstruct/dist/structs/types.d.ts.map +0 -1
  1858. package/node_modules/superstruct/dist/structs/utilities.d.ts +0 -66
  1859. package/node_modules/superstruct/dist/structs/utilities.d.ts.map +0 -1
  1860. package/node_modules/superstruct/dist/utils.d.ts +0 -144
  1861. package/node_modules/superstruct/dist/utils.d.ts.map +0 -1
  1862. package/node_modules/superstruct/package.json +0 -85
  1863. package/node_modules/text-encoding-utf-8/LICENSE.md +0 -29
  1864. package/node_modules/text-encoding-utf-8/README.md +0 -63
  1865. package/node_modules/text-encoding-utf-8/lib/encoding.js +0 -655
  1866. package/node_modules/text-encoding-utf-8/lib/encoding.lib.js +0 -642
  1867. package/node_modules/text-encoding-utf-8/lib/encoding.lib.mjs +0 -665
  1868. package/node_modules/text-encoding-utf-8/package.json +0 -26
  1869. package/node_modules/text-encoding-utf-8/src/encoding.js +0 -665
  1870. package/node_modules/text-encoding-utf-8/src/polyfill.js +0 -21
  1871. package/node_modules/tr46/.npmignore +0 -4
  1872. package/node_modules/tr46/index.js +0 -193
  1873. package/node_modules/tr46/lib/.gitkeep +0 -0
  1874. package/node_modules/tr46/lib/mappingTable.json +0 -1
  1875. package/node_modules/tr46/package.json +0 -31
  1876. package/node_modules/tslib/CopyrightNotice.txt +0 -15
  1877. package/node_modules/tslib/LICENSE.txt +0 -12
  1878. package/node_modules/tslib/README.md +0 -164
  1879. package/node_modules/tslib/SECURITY.md +0 -41
  1880. package/node_modules/tslib/modules/index.d.ts +0 -38
  1881. package/node_modules/tslib/modules/index.js +0 -70
  1882. package/node_modules/tslib/modules/package.json +0 -3
  1883. package/node_modules/tslib/package.json +0 -47
  1884. package/node_modules/tslib/tslib.d.ts +0 -460
  1885. package/node_modules/tslib/tslib.es6.html +0 -1
  1886. package/node_modules/tslib/tslib.es6.js +0 -402
  1887. package/node_modules/tslib/tslib.es6.mjs +0 -401
  1888. package/node_modules/tslib/tslib.html +0 -1
  1889. package/node_modules/tslib/tslib.js +0 -484
  1890. package/node_modules/uuid/LICENSE.md +0 -9
  1891. package/node_modules/uuid/README.md +0 -510
  1892. package/node_modules/uuid/dist/cjs/index.d.ts +0 -15
  1893. package/node_modules/uuid/dist/cjs/index.js +0 -31
  1894. package/node_modules/uuid/dist/cjs/max.d.ts +0 -2
  1895. package/node_modules/uuid/dist/cjs/max.js +0 -3
  1896. package/node_modules/uuid/dist/cjs/md5.d.ts +0 -4
  1897. package/node_modules/uuid/dist/cjs/md5.js +0 -13
  1898. package/node_modules/uuid/dist/cjs/native.d.ts +0 -6
  1899. package/node_modules/uuid/dist/cjs/native.js +0 -4
  1900. package/node_modules/uuid/dist/cjs/nil.d.ts +0 -2
  1901. package/node_modules/uuid/dist/cjs/nil.js +0 -3
  1902. package/node_modules/uuid/dist/cjs/package.json +0 -1
  1903. package/node_modules/uuid/dist/cjs/parse.d.ts +0 -2
  1904. package/node_modules/uuid/dist/cjs/parse.js +0 -11
  1905. package/node_modules/uuid/dist/cjs/regex.d.ts +0 -2
  1906. package/node_modules/uuid/dist/cjs/regex.js +0 -3
  1907. package/node_modules/uuid/dist/cjs/rng.d.ts +0 -1
  1908. package/node_modules/uuid/dist/cjs/rng.js +0 -13
  1909. package/node_modules/uuid/dist/cjs/sha1.d.ts +0 -4
  1910. package/node_modules/uuid/dist/cjs/sha1.js +0 -13
  1911. package/node_modules/uuid/dist/cjs/stringify.d.ts +0 -3
  1912. package/node_modules/uuid/dist/cjs/stringify.js +0 -39
  1913. package/node_modules/uuid/dist/cjs/types.d.ts +0 -21
  1914. package/node_modules/uuid/dist/cjs/types.js +0 -2
  1915. package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +0 -1
  1916. package/node_modules/uuid/dist/cjs/uuid-bin.js +0 -72
  1917. package/node_modules/uuid/dist/cjs/v1.d.ts +0 -11
  1918. package/node_modules/uuid/dist/cjs/v1.js +0 -87
  1919. package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +0 -2
  1920. package/node_modules/uuid/dist/cjs/v1ToV6.js +0 -13
  1921. package/node_modules/uuid/dist/cjs/v3.d.ts +0 -9
  1922. package/node_modules/uuid/dist/cjs/v3.js +0 -14
  1923. package/node_modules/uuid/dist/cjs/v35.d.ts +0 -7
  1924. package/node_modules/uuid/dist/cjs/v35.js +0 -44
  1925. package/node_modules/uuid/dist/cjs/v4.d.ts +0 -4
  1926. package/node_modules/uuid/dist/cjs/v4.js +0 -29
  1927. package/node_modules/uuid/dist/cjs/v5.d.ts +0 -9
  1928. package/node_modules/uuid/dist/cjs/v5.js +0 -14
  1929. package/node_modules/uuid/dist/cjs/v6.d.ts +0 -4
  1930. package/node_modules/uuid/dist/cjs/v6.js +0 -22
  1931. package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +0 -2
  1932. package/node_modules/uuid/dist/cjs/v6ToV1.js +0 -13
  1933. package/node_modules/uuid/dist/cjs/v7.d.ts +0 -9
  1934. package/node_modules/uuid/dist/cjs/v7.js +0 -69
  1935. package/node_modules/uuid/dist/cjs/validate.d.ts +0 -2
  1936. package/node_modules/uuid/dist/cjs/validate.js +0 -7
  1937. package/node_modules/uuid/dist/cjs/version.d.ts +0 -2
  1938. package/node_modules/uuid/dist/cjs/version.js +0 -10
  1939. package/node_modules/uuid/dist/cjs-browser/index.d.ts +0 -15
  1940. package/node_modules/uuid/dist/cjs-browser/index.js +0 -31
  1941. package/node_modules/uuid/dist/cjs-browser/max.d.ts +0 -2
  1942. package/node_modules/uuid/dist/cjs-browser/max.js +0 -3
  1943. package/node_modules/uuid/dist/cjs-browser/md5.d.ts +0 -2
  1944. package/node_modules/uuid/dist/cjs-browser/md5.js +0 -137
  1945. package/node_modules/uuid/dist/cjs-browser/native.d.ts +0 -4
  1946. package/node_modules/uuid/dist/cjs-browser/native.js +0 -4
  1947. package/node_modules/uuid/dist/cjs-browser/nil.d.ts +0 -2
  1948. package/node_modules/uuid/dist/cjs-browser/nil.js +0 -3
  1949. package/node_modules/uuid/dist/cjs-browser/package.json +0 -1
  1950. package/node_modules/uuid/dist/cjs-browser/parse.d.ts +0 -2
  1951. package/node_modules/uuid/dist/cjs-browser/parse.js +0 -11
  1952. package/node_modules/uuid/dist/cjs-browser/regex.d.ts +0 -2
  1953. package/node_modules/uuid/dist/cjs-browser/regex.js +0 -3
  1954. package/node_modules/uuid/dist/cjs-browser/rng.d.ts +0 -1
  1955. package/node_modules/uuid/dist/cjs-browser/rng.js +0 -14
  1956. package/node_modules/uuid/dist/cjs-browser/sha1.d.ts +0 -2
  1957. package/node_modules/uuid/dist/cjs-browser/sha1.js +0 -72
  1958. package/node_modules/uuid/dist/cjs-browser/stringify.d.ts +0 -3
  1959. package/node_modules/uuid/dist/cjs-browser/stringify.js +0 -39
  1960. package/node_modules/uuid/dist/cjs-browser/types.d.ts +0 -21
  1961. package/node_modules/uuid/dist/cjs-browser/types.js +0 -2
  1962. package/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +0 -1
  1963. package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +0 -72
  1964. package/node_modules/uuid/dist/cjs-browser/v1.d.ts +0 -11
  1965. package/node_modules/uuid/dist/cjs-browser/v1.js +0 -87
  1966. package/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +0 -2
  1967. package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +0 -13
  1968. package/node_modules/uuid/dist/cjs-browser/v3.d.ts +0 -9
  1969. package/node_modules/uuid/dist/cjs-browser/v3.js +0 -14
  1970. package/node_modules/uuid/dist/cjs-browser/v35.d.ts +0 -7
  1971. package/node_modules/uuid/dist/cjs-browser/v35.js +0 -44
  1972. package/node_modules/uuid/dist/cjs-browser/v4.d.ts +0 -4
  1973. package/node_modules/uuid/dist/cjs-browser/v4.js +0 -29
  1974. package/node_modules/uuid/dist/cjs-browser/v5.d.ts +0 -9
  1975. package/node_modules/uuid/dist/cjs-browser/v5.js +0 -14
  1976. package/node_modules/uuid/dist/cjs-browser/v6.d.ts +0 -4
  1977. package/node_modules/uuid/dist/cjs-browser/v6.js +0 -22
  1978. package/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +0 -2
  1979. package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +0 -13
  1980. package/node_modules/uuid/dist/cjs-browser/v7.d.ts +0 -9
  1981. package/node_modules/uuid/dist/cjs-browser/v7.js +0 -69
  1982. package/node_modules/uuid/dist/cjs-browser/validate.d.ts +0 -2
  1983. package/node_modules/uuid/dist/cjs-browser/validate.js +0 -7
  1984. package/node_modules/uuid/dist/cjs-browser/version.d.ts +0 -2
  1985. package/node_modules/uuid/dist/cjs-browser/version.js +0 -10
  1986. package/node_modules/uuid/dist/esm/bin/uuid +0 -2
  1987. package/node_modules/uuid/dist/esm/index.d.ts +0 -15
  1988. package/node_modules/uuid/dist/esm/index.js +0 -14
  1989. package/node_modules/uuid/dist/esm/max.d.ts +0 -2
  1990. package/node_modules/uuid/dist/esm/max.js +0 -1
  1991. package/node_modules/uuid/dist/esm/md5.d.ts +0 -4
  1992. package/node_modules/uuid/dist/esm/md5.js +0 -11
  1993. package/node_modules/uuid/dist/esm/native.d.ts +0 -6
  1994. package/node_modules/uuid/dist/esm/native.js +0 -2
  1995. package/node_modules/uuid/dist/esm/nil.d.ts +0 -2
  1996. package/node_modules/uuid/dist/esm/nil.js +0 -1
  1997. package/node_modules/uuid/dist/esm/parse.d.ts +0 -2
  1998. package/node_modules/uuid/dist/esm/parse.js +0 -9
  1999. package/node_modules/uuid/dist/esm/regex.d.ts +0 -2
  2000. package/node_modules/uuid/dist/esm/regex.js +0 -1
  2001. package/node_modules/uuid/dist/esm/rng.d.ts +0 -1
  2002. package/node_modules/uuid/dist/esm/rng.js +0 -10
  2003. package/node_modules/uuid/dist/esm/sha1.d.ts +0 -4
  2004. package/node_modules/uuid/dist/esm/sha1.js +0 -11
  2005. package/node_modules/uuid/dist/esm/stringify.d.ts +0 -3
  2006. package/node_modules/uuid/dist/esm/stringify.js +0 -35
  2007. package/node_modules/uuid/dist/esm/types.d.ts +0 -21
  2008. package/node_modules/uuid/dist/esm/types.js +0 -1
  2009. package/node_modules/uuid/dist/esm/uuid-bin.d.ts +0 -1
  2010. package/node_modules/uuid/dist/esm/uuid-bin.js +0 -70
  2011. package/node_modules/uuid/dist/esm/v1.d.ts +0 -11
  2012. package/node_modules/uuid/dist/esm/v1.js +0 -83
  2013. package/node_modules/uuid/dist/esm/v1ToV6.d.ts +0 -2
  2014. package/node_modules/uuid/dist/esm/v1ToV6.js +0 -10
  2015. package/node_modules/uuid/dist/esm/v3.d.ts +0 -9
  2016. package/node_modules/uuid/dist/esm/v3.js +0 -9
  2017. package/node_modules/uuid/dist/esm/v35.d.ts +0 -7
  2018. package/node_modules/uuid/dist/esm/v35.js +0 -39
  2019. package/node_modules/uuid/dist/esm/v4.d.ts +0 -4
  2020. package/node_modules/uuid/dist/esm/v4.js +0 -27
  2021. package/node_modules/uuid/dist/esm/v5.d.ts +0 -9
  2022. package/node_modules/uuid/dist/esm/v5.js +0 -9
  2023. package/node_modules/uuid/dist/esm/v6.d.ts +0 -4
  2024. package/node_modules/uuid/dist/esm/v6.js +0 -20
  2025. package/node_modules/uuid/dist/esm/v6ToV1.d.ts +0 -2
  2026. package/node_modules/uuid/dist/esm/v6ToV1.js +0 -10
  2027. package/node_modules/uuid/dist/esm/v7.d.ts +0 -9
  2028. package/node_modules/uuid/dist/esm/v7.js +0 -65
  2029. package/node_modules/uuid/dist/esm/validate.d.ts +0 -2
  2030. package/node_modules/uuid/dist/esm/validate.js +0 -5
  2031. package/node_modules/uuid/dist/esm/version.d.ts +0 -2
  2032. package/node_modules/uuid/dist/esm/version.js +0 -8
  2033. package/node_modules/uuid/dist/esm-browser/index.d.ts +0 -15
  2034. package/node_modules/uuid/dist/esm-browser/index.js +0 -14
  2035. package/node_modules/uuid/dist/esm-browser/max.d.ts +0 -2
  2036. package/node_modules/uuid/dist/esm-browser/max.js +0 -1
  2037. package/node_modules/uuid/dist/esm-browser/md5.d.ts +0 -2
  2038. package/node_modules/uuid/dist/esm-browser/md5.js +0 -135
  2039. package/node_modules/uuid/dist/esm-browser/native.d.ts +0 -4
  2040. package/node_modules/uuid/dist/esm-browser/native.js +0 -2
  2041. package/node_modules/uuid/dist/esm-browser/nil.d.ts +0 -2
  2042. package/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  2043. package/node_modules/uuid/dist/esm-browser/parse.d.ts +0 -2
  2044. package/node_modules/uuid/dist/esm-browser/parse.js +0 -9
  2045. package/node_modules/uuid/dist/esm-browser/regex.d.ts +0 -2
  2046. package/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  2047. package/node_modules/uuid/dist/esm-browser/rng.d.ts +0 -1
  2048. package/node_modules/uuid/dist/esm-browser/rng.js +0 -11
  2049. package/node_modules/uuid/dist/esm-browser/sha1.d.ts +0 -2
  2050. package/node_modules/uuid/dist/esm-browser/sha1.js +0 -70
  2051. package/node_modules/uuid/dist/esm-browser/stringify.d.ts +0 -3
  2052. package/node_modules/uuid/dist/esm-browser/stringify.js +0 -35
  2053. package/node_modules/uuid/dist/esm-browser/types.d.ts +0 -21
  2054. package/node_modules/uuid/dist/esm-browser/types.js +0 -1
  2055. package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +0 -1
  2056. package/node_modules/uuid/dist/esm-browser/uuid-bin.js +0 -70
  2057. package/node_modules/uuid/dist/esm-browser/v1.d.ts +0 -11
  2058. package/node_modules/uuid/dist/esm-browser/v1.js +0 -83
  2059. package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +0 -2
  2060. package/node_modules/uuid/dist/esm-browser/v1ToV6.js +0 -10
  2061. package/node_modules/uuid/dist/esm-browser/v3.d.ts +0 -9
  2062. package/node_modules/uuid/dist/esm-browser/v3.js +0 -9
  2063. package/node_modules/uuid/dist/esm-browser/v35.d.ts +0 -7
  2064. package/node_modules/uuid/dist/esm-browser/v35.js +0 -39
  2065. package/node_modules/uuid/dist/esm-browser/v4.d.ts +0 -4
  2066. package/node_modules/uuid/dist/esm-browser/v4.js +0 -27
  2067. package/node_modules/uuid/dist/esm-browser/v5.d.ts +0 -9
  2068. package/node_modules/uuid/dist/esm-browser/v5.js +0 -9
  2069. package/node_modules/uuid/dist/esm-browser/v6.d.ts +0 -4
  2070. package/node_modules/uuid/dist/esm-browser/v6.js +0 -20
  2071. package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +0 -2
  2072. package/node_modules/uuid/dist/esm-browser/v6ToV1.js +0 -10
  2073. package/node_modules/uuid/dist/esm-browser/v7.d.ts +0 -9
  2074. package/node_modules/uuid/dist/esm-browser/v7.js +0 -65
  2075. package/node_modules/uuid/dist/esm-browser/validate.d.ts +0 -2
  2076. package/node_modules/uuid/dist/esm-browser/validate.js +0 -5
  2077. package/node_modules/uuid/dist/esm-browser/version.d.ts +0 -2
  2078. package/node_modules/uuid/dist/esm-browser/version.js +0 -8
  2079. package/node_modules/uuid/package.json +0 -132
  2080. package/node_modules/webidl-conversions/LICENSE.md +0 -12
  2081. package/node_modules/webidl-conversions/README.md +0 -53
  2082. package/node_modules/webidl-conversions/lib/index.js +0 -189
  2083. package/node_modules/webidl-conversions/package.json +0 -23
  2084. package/node_modules/whatwg-url/LICENSE.txt +0 -21
  2085. package/node_modules/whatwg-url/README.md +0 -67
  2086. package/node_modules/whatwg-url/lib/URL-impl.js +0 -200
  2087. package/node_modules/whatwg-url/lib/URL.js +0 -196
  2088. package/node_modules/whatwg-url/lib/public-api.js +0 -11
  2089. package/node_modules/whatwg-url/lib/url-state-machine.js +0 -1297
  2090. package/node_modules/whatwg-url/lib/utils.js +0 -20
  2091. package/node_modules/whatwg-url/package.json +0 -32
  2092. package/node_modules/ws/LICENSE +0 -20
  2093. package/node_modules/ws/README.md +0 -548
  2094. package/node_modules/ws/browser.js +0 -8
  2095. package/node_modules/ws/index.js +0 -22
  2096. package/node_modules/ws/lib/buffer-util.js +0 -131
  2097. package/node_modules/ws/lib/constants.js +0 -19
  2098. package/node_modules/ws/lib/event-target.js +0 -292
  2099. package/node_modules/ws/lib/extension.js +0 -203
  2100. package/node_modules/ws/lib/limiter.js +0 -55
  2101. package/node_modules/ws/lib/permessage-deflate.js +0 -530
  2102. package/node_modules/ws/lib/receiver.js +0 -743
  2103. package/node_modules/ws/lib/sender.js +0 -607
  2104. package/node_modules/ws/lib/stream.js +0 -161
  2105. package/node_modules/ws/lib/subprotocol.js +0 -62
  2106. package/node_modules/ws/lib/validation.js +0 -152
  2107. package/node_modules/ws/lib/websocket-server.js +0 -562
  2108. package/node_modules/ws/lib/websocket.js +0 -1407
  2109. package/node_modules/ws/package.json +0 -74
  2110. package/node_modules/ws/wrapper.mjs +0 -21
@@ -1,2567 +0,0 @@
1
- declare module 'fs' {
2
- import * as stream from 'stream';
3
- import EventEmitter = require('events');
4
- import { URL } from 'url';
5
-
6
- /**
7
- * Valid types for path values in "fs".
8
- */
9
- type PathLike = string | Buffer | URL;
10
-
11
- type NoParamCallback = (err: NodeJS.ErrnoException | null) => void;
12
-
13
- interface StatsBase<T> {
14
- isFile(): boolean;
15
- isDirectory(): boolean;
16
- isBlockDevice(): boolean;
17
- isCharacterDevice(): boolean;
18
- isSymbolicLink(): boolean;
19
- isFIFO(): boolean;
20
- isSocket(): boolean;
21
-
22
- dev: T;
23
- ino: T;
24
- mode: T;
25
- nlink: T;
26
- uid: T;
27
- gid: T;
28
- rdev: T;
29
- size: T;
30
- blksize: T;
31
- blocks: T;
32
- atimeMs: T;
33
- mtimeMs: T;
34
- ctimeMs: T;
35
- birthtimeMs: T;
36
- atime: Date;
37
- mtime: Date;
38
- ctime: Date;
39
- birthtime: Date;
40
- }
41
-
42
- interface Stats extends StatsBase<number> {
43
- }
44
-
45
- class Stats {
46
- }
47
-
48
- class Dirent {
49
- isFile(): boolean;
50
- isDirectory(): boolean;
51
- isBlockDevice(): boolean;
52
- isCharacterDevice(): boolean;
53
- isSymbolicLink(): boolean;
54
- isFIFO(): boolean;
55
- isSocket(): boolean;
56
- name: string;
57
- }
58
-
59
- /**
60
- * A class representing a directory stream.
61
- */
62
- class Dir {
63
- readonly path: string;
64
-
65
- /**
66
- * Asynchronously iterates over the directory via `readdir(3)` until all entries have been read.
67
- */
68
- [Symbol.asyncIterator](): AsyncIterableIterator<Dirent>;
69
-
70
- /**
71
- * Asynchronously close the directory's underlying resource handle.
72
- * Subsequent reads will result in errors.
73
- */
74
- close(): Promise<void>;
75
- close(cb: NoParamCallback): void;
76
-
77
- /**
78
- * Synchronously close the directory's underlying resource handle.
79
- * Subsequent reads will result in errors.
80
- */
81
- closeSync(): void;
82
-
83
- /**
84
- * Asynchronously read the next directory entry via `readdir(3)` as an `Dirent`.
85
- * After the read is completed, a value is returned that will be resolved with an `Dirent`, or `null` if there are no more directory entries to read.
86
- * Directory entries returned by this function are in no particular order as provided by the operating system's underlying directory mechanisms.
87
- */
88
- read(): Promise<Dirent | null>;
89
- read(cb: (err: NodeJS.ErrnoException | null, dirEnt: Dirent | null) => void): void;
90
-
91
- /**
92
- * Synchronously read the next directory entry via `readdir(3)` as a `Dirent`.
93
- * If there are no more directory entries to read, null will be returned.
94
- * Directory entries returned by this function are in no particular order as provided by the operating system's underlying directory mechanisms.
95
- */
96
- readSync(): Dirent;
97
- }
98
-
99
- interface FSWatcher extends EventEmitter {
100
- close(): void;
101
-
102
- /**
103
- * events.EventEmitter
104
- * 1. change
105
- * 2. error
106
- */
107
- addListener(event: string, listener: (...args: any[]) => void): this;
108
- addListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
109
- addListener(event: "error", listener: (error: Error) => void): this;
110
- addListener(event: "close", listener: () => void): this;
111
-
112
- on(event: string, listener: (...args: any[]) => void): this;
113
- on(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
114
- on(event: "error", listener: (error: Error) => void): this;
115
- on(event: "close", listener: () => void): this;
116
-
117
- once(event: string, listener: (...args: any[]) => void): this;
118
- once(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
119
- once(event: "error", listener: (error: Error) => void): this;
120
- once(event: "close", listener: () => void): this;
121
-
122
- prependListener(event: string, listener: (...args: any[]) => void): this;
123
- prependListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
124
- prependListener(event: "error", listener: (error: Error) => void): this;
125
- prependListener(event: "close", listener: () => void): this;
126
-
127
- prependOnceListener(event: string, listener: (...args: any[]) => void): this;
128
- prependOnceListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
129
- prependOnceListener(event: "error", listener: (error: Error) => void): this;
130
- prependOnceListener(event: "close", listener: () => void): this;
131
- }
132
-
133
- class ReadStream extends stream.Readable {
134
- close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
135
- bytesRead: number;
136
- path: string | Buffer;
137
-
138
- /**
139
- * events.EventEmitter
140
- * 1. open
141
- * 2. close
142
- */
143
- addListener(event: string, listener: (...args: any[]) => void): this;
144
- addListener(event: "open", listener: (fd: number) => void): this;
145
- addListener(event: "close", listener: () => void): this;
146
-
147
- on(event: string, listener: (...args: any[]) => void): this;
148
- on(event: "open", listener: (fd: number) => void): this;
149
- on(event: "close", listener: () => void): this;
150
-
151
- once(event: string, listener: (...args: any[]) => void): this;
152
- once(event: "open", listener: (fd: number) => void): this;
153
- once(event: "close", listener: () => void): this;
154
-
155
- prependListener(event: string, listener: (...args: any[]) => void): this;
156
- prependListener(event: "open", listener: (fd: number) => void): this;
157
- prependListener(event: "close", listener: () => void): this;
158
-
159
- prependOnceListener(event: string, listener: (...args: any[]) => void): this;
160
- prependOnceListener(event: "open", listener: (fd: number) => void): this;
161
- prependOnceListener(event: "close", listener: () => void): this;
162
- }
163
-
164
- class WriteStream extends stream.Writable {
165
- close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
166
- bytesWritten: number;
167
- path: string | Buffer;
168
-
169
- /**
170
- * events.EventEmitter
171
- * 1. open
172
- * 2. close
173
- */
174
- addListener(event: string, listener: (...args: any[]) => void): this;
175
- addListener(event: "open", listener: (fd: number) => void): this;
176
- addListener(event: "close", listener: () => void): this;
177
-
178
- on(event: string, listener: (...args: any[]) => void): this;
179
- on(event: "open", listener: (fd: number) => void): this;
180
- on(event: "close", listener: () => void): this;
181
-
182
- once(event: string, listener: (...args: any[]) => void): this;
183
- once(event: "open", listener: (fd: number) => void): this;
184
- once(event: "close", listener: () => void): this;
185
-
186
- prependListener(event: string, listener: (...args: any[]) => void): this;
187
- prependListener(event: "open", listener: (fd: number) => void): this;
188
- prependListener(event: "close", listener: () => void): this;
189
-
190
- prependOnceListener(event: string, listener: (...args: any[]) => void): this;
191
- prependOnceListener(event: "open", listener: (fd: number) => void): this;
192
- prependOnceListener(event: "close", listener: () => void): this;
193
- }
194
-
195
- /**
196
- * Asynchronous rename(2) - Change the name or location of a file or directory.
197
- * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol.
198
- * URL support is _experimental_.
199
- * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
200
- * URL support is _experimental_.
201
- */
202
- function rename(oldPath: PathLike, newPath: PathLike, callback: NoParamCallback): void;
203
-
204
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
205
- namespace rename {
206
- /**
207
- * Asynchronous rename(2) - Change the name or location of a file or directory.
208
- * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol.
209
- * URL support is _experimental_.
210
- * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
211
- * URL support is _experimental_.
212
- */
213
- function __promisify__(oldPath: PathLike, newPath: PathLike): Promise<void>;
214
- }
215
-
216
- /**
217
- * Synchronous rename(2) - Change the name or location of a file or directory.
218
- * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol.
219
- * URL support is _experimental_.
220
- * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
221
- * URL support is _experimental_.
222
- */
223
- function renameSync(oldPath: PathLike, newPath: PathLike): void;
224
-
225
- /**
226
- * Asynchronous truncate(2) - Truncate a file to a specified length.
227
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
228
- * @param len If not specified, defaults to `0`.
229
- */
230
- function truncate(path: PathLike, len: number | undefined | null, callback: NoParamCallback): void;
231
-
232
- /**
233
- * Asynchronous truncate(2) - Truncate a file to a specified length.
234
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
235
- * URL support is _experimental_.
236
- */
237
- function truncate(path: PathLike, callback: NoParamCallback): void;
238
-
239
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
240
- namespace truncate {
241
- /**
242
- * Asynchronous truncate(2) - Truncate a file to a specified length.
243
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
244
- * @param len If not specified, defaults to `0`.
245
- */
246
- function __promisify__(path: PathLike, len?: number | null): Promise<void>;
247
- }
248
-
249
- /**
250
- * Synchronous truncate(2) - Truncate a file to a specified length.
251
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
252
- * @param len If not specified, defaults to `0`.
253
- */
254
- function truncateSync(path: PathLike, len?: number | null): void;
255
-
256
- /**
257
- * Asynchronous ftruncate(2) - Truncate a file to a specified length.
258
- * @param fd A file descriptor.
259
- * @param len If not specified, defaults to `0`.
260
- */
261
- function ftruncate(fd: number, len: number | undefined | null, callback: NoParamCallback): void;
262
-
263
- /**
264
- * Asynchronous ftruncate(2) - Truncate a file to a specified length.
265
- * @param fd A file descriptor.
266
- */
267
- function ftruncate(fd: number, callback: NoParamCallback): void;
268
-
269
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
270
- namespace ftruncate {
271
- /**
272
- * Asynchronous ftruncate(2) - Truncate a file to a specified length.
273
- * @param fd A file descriptor.
274
- * @param len If not specified, defaults to `0`.
275
- */
276
- function __promisify__(fd: number, len?: number | null): Promise<void>;
277
- }
278
-
279
- /**
280
- * Synchronous ftruncate(2) - Truncate a file to a specified length.
281
- * @param fd A file descriptor.
282
- * @param len If not specified, defaults to `0`.
283
- */
284
- function ftruncateSync(fd: number, len?: number | null): void;
285
-
286
- /**
287
- * Asynchronous chown(2) - Change ownership of a file.
288
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
289
- */
290
- function chown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void;
291
-
292
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
293
- namespace chown {
294
- /**
295
- * Asynchronous chown(2) - Change ownership of a file.
296
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
297
- */
298
- function __promisify__(path: PathLike, uid: number, gid: number): Promise<void>;
299
- }
300
-
301
- /**
302
- * Synchronous chown(2) - Change ownership of a file.
303
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
304
- */
305
- function chownSync(path: PathLike, uid: number, gid: number): void;
306
-
307
- /**
308
- * Asynchronous fchown(2) - Change ownership of a file.
309
- * @param fd A file descriptor.
310
- */
311
- function fchown(fd: number, uid: number, gid: number, callback: NoParamCallback): void;
312
-
313
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
314
- namespace fchown {
315
- /**
316
- * Asynchronous fchown(2) - Change ownership of a file.
317
- * @param fd A file descriptor.
318
- */
319
- function __promisify__(fd: number, uid: number, gid: number): Promise<void>;
320
- }
321
-
322
- /**
323
- * Synchronous fchown(2) - Change ownership of a file.
324
- * @param fd A file descriptor.
325
- */
326
- function fchownSync(fd: number, uid: number, gid: number): void;
327
-
328
- /**
329
- * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links.
330
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
331
- */
332
- function lchown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void;
333
-
334
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
335
- namespace lchown {
336
- /**
337
- * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links.
338
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
339
- */
340
- function __promisify__(path: PathLike, uid: number, gid: number): Promise<void>;
341
- }
342
-
343
- /**
344
- * Synchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links.
345
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
346
- */
347
- function lchownSync(path: PathLike, uid: number, gid: number): void;
348
-
349
- /**
350
- * Changes the access and modification times of a file in the same way as `fs.utimes()`,
351
- * with the difference that if the path refers to a symbolic link, then the link is not
352
- * dereferenced: instead, the timestamps of the symbolic link itself are changed.
353
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
354
- * @param atime The last access time. If a string is provided, it will be coerced to number.
355
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
356
- */
357
- function lutimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date, callback: NoParamCallback): void;
358
-
359
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
360
- namespace lutimes {
361
- /**
362
- * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`,
363
- * with the difference that if the path refers to a symbolic link, then the link is not
364
- * dereferenced: instead, the timestamps of the symbolic link itself are changed.
365
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
366
- * @param atime The last access time. If a string is provided, it will be coerced to number.
367
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
368
- */
369
- function __promisify__(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise<void>;
370
- }
371
-
372
- /**
373
- * Change the file system timestamps of the symbolic link referenced by `path`. Returns `undefined`,
374
- * or throws an exception when parameters are incorrect or the operation fails.
375
- * This is the synchronous version of `fs.lutimes()`.
376
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
377
- * @param atime The last access time. If a string is provided, it will be coerced to number.
378
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
379
- */
380
- function lutimesSync(path: PathLike, atime: string | number | Date, mtime: string | number | Date): void;
381
-
382
- /**
383
- * Asynchronous chmod(2) - Change permissions of a file.
384
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
385
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
386
- */
387
- function chmod(path: PathLike, mode: string | number, callback: NoParamCallback): void;
388
-
389
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
390
- namespace chmod {
391
- /**
392
- * Asynchronous chmod(2) - Change permissions of a file.
393
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
394
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
395
- */
396
- function __promisify__(path: PathLike, mode: string | number): Promise<void>;
397
- }
398
-
399
- /**
400
- * Synchronous chmod(2) - Change permissions of a file.
401
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
402
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
403
- */
404
- function chmodSync(path: PathLike, mode: string | number): void;
405
-
406
- /**
407
- * Asynchronous fchmod(2) - Change permissions of a file.
408
- * @param fd A file descriptor.
409
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
410
- */
411
- function fchmod(fd: number, mode: string | number, callback: NoParamCallback): void;
412
-
413
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
414
- namespace fchmod {
415
- /**
416
- * Asynchronous fchmod(2) - Change permissions of a file.
417
- * @param fd A file descriptor.
418
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
419
- */
420
- function __promisify__(fd: number, mode: string | number): Promise<void>;
421
- }
422
-
423
- /**
424
- * Synchronous fchmod(2) - Change permissions of a file.
425
- * @param fd A file descriptor.
426
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
427
- */
428
- function fchmodSync(fd: number, mode: string | number): void;
429
-
430
- /**
431
- * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
432
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
433
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
434
- */
435
- function lchmod(path: PathLike, mode: string | number, callback: NoParamCallback): void;
436
-
437
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
438
- namespace lchmod {
439
- /**
440
- * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
441
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
442
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
443
- */
444
- function __promisify__(path: PathLike, mode: string | number): Promise<void>;
445
- }
446
-
447
- /**
448
- * Synchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
449
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
450
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
451
- */
452
- function lchmodSync(path: PathLike, mode: string | number): void;
453
-
454
- /**
455
- * Asynchronous stat(2) - Get file status.
456
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
457
- */
458
- function stat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
459
- function stat(path: PathLike, options: StatOptions & { bigint?: false | undefined } | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
460
- function stat(path: PathLike, options: StatOptions & { bigint: true }, callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void): void;
461
- function stat(path: PathLike, options: StatOptions | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void;
462
-
463
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
464
- namespace stat {
465
- /**
466
- * Asynchronous stat(2) - Get file status.
467
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
468
- */
469
- function __promisify__(path: PathLike, options?: StatOptions & { bigint?: false | undefined }): Promise<Stats>;
470
- function __promisify__(path: PathLike, options: StatOptions & { bigint: true }): Promise<BigIntStats>;
471
- function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
472
- }
473
-
474
- /**
475
- * Synchronous stat(2) - Get file status.
476
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
477
- */
478
- function statSync(path: PathLike, options?: StatOptions & { bigint?: false | undefined }): Stats;
479
- function statSync(path: PathLike, options: StatOptions & { bigint: true }): BigIntStats;
480
- function statSync(path: PathLike, options?: StatOptions): Stats | BigIntStats;
481
-
482
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
483
- namespace fstat {
484
- /**
485
- * Asynchronous fstat(2) - Get file status.
486
- * @param fd A file descriptor.
487
- */
488
- function __promisify__(fd: number, options?: StatOptions & { bigint?: false | undefined }): Promise<Stats>;
489
- function __promisify__(fd: number, options: StatOptions & { bigint: true }): Promise<BigIntStats>;
490
- function __promisify__(fd: number, options?: StatOptions): Promise<Stats | BigIntStats>;
491
- }
492
-
493
- /**
494
- * Synchronous fstat(2) - Get file status.
495
- * @param fd A file descriptor.
496
- */
497
- function fstatSync(fd: number, options?: StatOptions & { bigint?: false | undefined }): Stats;
498
- function fstatSync(fd: number, options: StatOptions & { bigint: true }): BigIntStats;
499
- function fstatSync(fd: number, options?: StatOptions): Stats | BigIntStats;
500
-
501
- /**
502
- * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
503
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
504
- */
505
- function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
506
- function lstat(path: PathLike, options: StatOptions & { bigint?: false | undefined } | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
507
- function lstat(path: PathLike, options: StatOptions & { bigint: true }, callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void): void;
508
- function lstat(path: PathLike, options: StatOptions | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void;
509
-
510
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
511
- namespace lstat {
512
- /**
513
- * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
514
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
515
- */
516
- function __promisify__(path: PathLike, options?: StatOptions & { bigint?: false | undefined }): Promise<Stats>;
517
- function __promisify__(path: PathLike, options: StatOptions & { bigint: true }): Promise<BigIntStats>;
518
- function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
519
- }
520
-
521
- /**
522
- * Synchronous lstat(2) - Get file status. Does not dereference symbolic links.
523
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
524
- */
525
- function lstatSync(path: PathLike, options?: StatOptions & { bigint?: false | undefined }): Stats;
526
- function lstatSync(path: PathLike, options: StatOptions & { bigint: true }): BigIntStats;
527
- function lstatSync(path: PathLike, options?: StatOptions): Stats | BigIntStats;
528
-
529
- /**
530
- * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.
531
- * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
532
- * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
533
- */
534
- function link(existingPath: PathLike, newPath: PathLike, callback: NoParamCallback): void;
535
-
536
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
537
- namespace link {
538
- /**
539
- * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.
540
- * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
541
- * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
542
- */
543
- function __promisify__(existingPath: PathLike, newPath: PathLike): Promise<void>;
544
- }
545
-
546
- /**
547
- * Synchronous link(2) - Create a new link (also known as a hard link) to an existing file.
548
- * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
549
- * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
550
- */
551
- function linkSync(existingPath: PathLike, newPath: PathLike): void;
552
-
553
- /**
554
- * Asynchronous symlink(2) - Create a new symbolic link to an existing file.
555
- * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
556
- * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
557
- * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms).
558
- * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path.
559
- */
560
- function symlink(target: PathLike, path: PathLike, type: symlink.Type | undefined | null, callback: NoParamCallback): void;
561
-
562
- /**
563
- * Asynchronous symlink(2) - Create a new symbolic link to an existing file.
564
- * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
565
- * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
566
- */
567
- function symlink(target: PathLike, path: PathLike, callback: NoParamCallback): void;
568
-
569
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
570
- namespace symlink {
571
- /**
572
- * Asynchronous symlink(2) - Create a new symbolic link to an existing file.
573
- * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
574
- * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
575
- * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms).
576
- * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path.
577
- */
578
- function __promisify__(target: PathLike, path: PathLike, type?: string | null): Promise<void>;
579
-
580
- type Type = "dir" | "file" | "junction";
581
- }
582
-
583
- /**
584
- * Synchronous symlink(2) - Create a new symbolic link to an existing file.
585
- * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
586
- * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
587
- * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms).
588
- * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path.
589
- */
590
- function symlinkSync(target: PathLike, path: PathLike, type?: symlink.Type | null): void;
591
-
592
- /**
593
- * Asynchronous readlink(2) - read value of a symbolic link.
594
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
595
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
596
- */
597
- function readlink(
598
- path: PathLike,
599
- options: { encoding?: BufferEncoding | null | undefined } | BufferEncoding | undefined | null,
600
- callback: (err: NodeJS.ErrnoException | null, linkString: string) => void
601
- ): void;
602
-
603
- /**
604
- * Asynchronous readlink(2) - read value of a symbolic link.
605
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
606
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
607
- */
608
- function readlink(path: PathLike, options: { encoding: "buffer" } | "buffer", callback: (err: NodeJS.ErrnoException | null, linkString: Buffer) => void): void;
609
-
610
- /**
611
- * Asynchronous readlink(2) - read value of a symbolic link.
612
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
613
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
614
- */
615
- function readlink(
616
- path: PathLike,
617
- options: { encoding?: string | null | undefined } | string | undefined | null,
618
- callback: (err: NodeJS.ErrnoException | null, linkString: string | Buffer) => void
619
- ): void;
620
-
621
- /**
622
- * Asynchronous readlink(2) - read value of a symbolic link.
623
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
624
- */
625
- function readlink(path: PathLike, callback: (err: NodeJS.ErrnoException | null, linkString: string) => void): void;
626
-
627
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
628
- namespace readlink {
629
- /**
630
- * Asynchronous readlink(2) - read value of a symbolic link.
631
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
632
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
633
- */
634
- function __promisify__(path: PathLike, options?: { encoding?: BufferEncoding | null | undefined } | BufferEncoding | null): Promise<string>;
635
-
636
- /**
637
- * Asynchronous readlink(2) - read value of a symbolic link.
638
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
639
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
640
- */
641
- function __promisify__(path: PathLike, options: { encoding: "buffer" } | "buffer"): Promise<Buffer>;
642
-
643
- /**
644
- * Asynchronous readlink(2) - read value of a symbolic link.
645
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
646
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
647
- */
648
- function __promisify__(path: PathLike, options?: { encoding?: string | null | undefined } | string | null): Promise<string | Buffer>;
649
- }
650
-
651
- /**
652
- * Synchronous readlink(2) - read value of a symbolic link.
653
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
654
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
655
- */
656
- function readlinkSync(path: PathLike, options?: { encoding?: BufferEncoding | null | undefined } | BufferEncoding | null): string;
657
-
658
- /**
659
- * Synchronous readlink(2) - read value of a symbolic link.
660
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
661
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
662
- */
663
- function readlinkSync(path: PathLike, options: { encoding: "buffer" } | "buffer"): Buffer;
664
-
665
- /**
666
- * Synchronous readlink(2) - read value of a symbolic link.
667
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
668
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
669
- */
670
- function readlinkSync(path: PathLike, options?: { encoding?: string | null | undefined } | string | null): string | Buffer;
671
-
672
- /**
673
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
674
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
675
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
676
- */
677
- function realpath(
678
- path: PathLike,
679
- options: { encoding?: BufferEncoding | null | undefined } | BufferEncoding | undefined | null,
680
- callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void
681
- ): void;
682
-
683
- /**
684
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
685
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
686
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
687
- */
688
- function realpath(path: PathLike, options: { encoding: "buffer" } | "buffer", callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void): void;
689
-
690
- /**
691
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
692
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
693
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
694
- */
695
- function realpath(
696
- path: PathLike,
697
- options: { encoding?: string | null | undefined } | string | undefined | null,
698
- callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void
699
- ): void;
700
-
701
- /**
702
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
703
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
704
- */
705
- function realpath(path: PathLike, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void): void;
706
-
707
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
708
- namespace realpath {
709
- /**
710
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
711
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
712
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
713
- */
714
- function __promisify__(path: PathLike, options?: { encoding?: BufferEncoding | null | undefined } | BufferEncoding | null): Promise<string>;
715
-
716
- /**
717
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
718
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
719
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
720
- */
721
- function __promisify__(path: PathLike, options: { encoding: "buffer" } | "buffer"): Promise<Buffer>;
722
-
723
- /**
724
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
725
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
726
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
727
- */
728
- function __promisify__(path: PathLike, options?: { encoding?: string | null | undefined } | string | null): Promise<string | Buffer>;
729
-
730
- function native(
731
- path: PathLike,
732
- options: { encoding?: BufferEncoding | null | undefined } | BufferEncoding | undefined | null,
733
- callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void
734
- ): void;
735
- function native(path: PathLike, options: { encoding: "buffer" } | "buffer", callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void): void;
736
- function native(
737
- path: PathLike,
738
- options: { encoding?: string | null | undefined } | string | undefined | null,
739
- callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void
740
- ): void;
741
- function native(path: PathLike, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void): void;
742
- }
743
-
744
- /**
745
- * Synchronous realpath(3) - return the canonicalized absolute pathname.
746
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
747
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
748
- */
749
- function realpathSync(path: PathLike, options?: { encoding?: BufferEncoding | null | undefined } | BufferEncoding | null): string;
750
-
751
- /**
752
- * Synchronous realpath(3) - return the canonicalized absolute pathname.
753
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
754
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
755
- */
756
- function realpathSync(path: PathLike, options: { encoding: "buffer" } | "buffer"): Buffer;
757
-
758
- /**
759
- * Synchronous realpath(3) - return the canonicalized absolute pathname.
760
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
761
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
762
- */
763
- function realpathSync(path: PathLike, options?: { encoding?: string | null | undefined } | string | null): string | Buffer;
764
-
765
- namespace realpathSync {
766
- function native(path: PathLike, options?: { encoding?: BufferEncoding | null | undefined } | BufferEncoding | null): string;
767
- function native(path: PathLike, options: { encoding: "buffer" } | "buffer"): Buffer;
768
- function native(path: PathLike, options?: { encoding?: string | null | undefined } | string | null): string | Buffer;
769
- }
770
-
771
- /**
772
- * Asynchronous unlink(2) - delete a name and possibly the file it refers to.
773
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
774
- */
775
- function unlink(path: PathLike, callback: NoParamCallback): void;
776
-
777
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
778
- namespace unlink {
779
- /**
780
- * Asynchronous unlink(2) - delete a name and possibly the file it refers to.
781
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
782
- */
783
- function __promisify__(path: PathLike): Promise<void>;
784
- }
785
-
786
- /**
787
- * Synchronous unlink(2) - delete a name and possibly the file it refers to.
788
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
789
- */
790
- function unlinkSync(path: PathLike): void;
791
-
792
- interface RmDirOptions {
793
- /**
794
- * If an `EBUSY`, `ENOTEMPTY`, or `EPERM` error is
795
- * encountered, Node.js will retry the operation with a linear backoff wait of
796
- * 100ms longer on each try. This option represents the number of retries. This
797
- * option is ignored if the `recursive` option is not `true`.
798
- * @default 3
799
- */
800
- maxRetries?: number | undefined;
801
- /**
802
- * If `true`, perform a recursive directory removal. In
803
- * recursive mode, errors are not reported if `path` does not exist, and
804
- * operations are retried on failure.
805
- * @experimental
806
- * @default false
807
- */
808
- recursive?: boolean | undefined;
809
- /**
810
- * If an `EMFILE` error is encountered, Node.js will
811
- * retry the operation with a linear backoff of 1ms longer on each try until the
812
- * timeout duration passes this limit. This option is ignored if the `recursive`
813
- * option is not `true`.
814
- * @default 1000
815
- */
816
- emfileWait?: number | undefined;
817
- }
818
-
819
- /**
820
- * Asynchronous rmdir(2) - delete a directory.
821
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
822
- */
823
- function rmdir(path: PathLike, callback: NoParamCallback): void;
824
- function rmdir(path: PathLike, options: RmDirOptions, callback: NoParamCallback): void;
825
-
826
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
827
- namespace rmdir {
828
- /**
829
- * Asynchronous rmdir(2) - delete a directory.
830
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
831
- */
832
- function __promisify__(path: PathLike, options?: RmDirOptions): Promise<void>;
833
- }
834
-
835
- /**
836
- * Synchronous rmdir(2) - delete a directory.
837
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
838
- */
839
- function rmdirSync(path: PathLike, options?: RmDirOptions): void;
840
-
841
- interface MakeDirectoryOptions {
842
- /**
843
- * Indicates whether parent folders should be created.
844
- * @default false
845
- */
846
- recursive?: boolean | undefined;
847
- /**
848
- * A file mode. If a string is passed, it is parsed as an octal integer. If not specified
849
- * @default 0o777.
850
- */
851
- mode?: number | string | undefined;
852
- }
853
-
854
- /**
855
- * Asynchronous mkdir(2) - create a directory.
856
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
857
- * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
858
- * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
859
- */
860
- function mkdir(path: PathLike, options: number | string | MakeDirectoryOptions | undefined | null, callback: NoParamCallback): void;
861
-
862
- /**
863
- * Asynchronous mkdir(2) - create a directory with a mode of `0o777`.
864
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
865
- */
866
- function mkdir(path: PathLike, callback: NoParamCallback): void;
867
-
868
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
869
- namespace mkdir {
870
- /**
871
- * Asynchronous mkdir(2) - create a directory.
872
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
873
- * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
874
- * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
875
- */
876
- function __promisify__(path: PathLike, options?: number | string | MakeDirectoryOptions | null): Promise<void>;
877
- }
878
-
879
- /**
880
- * Synchronous mkdir(2) - create a directory.
881
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
882
- * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
883
- * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
884
- */
885
- function mkdirSync(path: PathLike, options?: number | string | MakeDirectoryOptions | null): void;
886
-
887
- /**
888
- * Asynchronously creates a unique temporary directory.
889
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
890
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
891
- */
892
- function mkdtemp(
893
- prefix: string,
894
- options: { encoding?: BufferEncoding | null | undefined } | BufferEncoding | undefined | null,
895
- callback: (err: NodeJS.ErrnoException | null, folder: string) => void
896
- ): void;
897
-
898
- /**
899
- * Asynchronously creates a unique temporary directory.
900
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
901
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
902
- */
903
- function mkdtemp(prefix: string, options: "buffer" | { encoding: "buffer" }, callback: (err: NodeJS.ErrnoException | null, folder: Buffer) => void): void;
904
-
905
- /**
906
- * Asynchronously creates a unique temporary directory.
907
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
908
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
909
- */
910
- function mkdtemp(
911
- prefix: string,
912
- options: { encoding?: string | null | undefined } | string | undefined | null,
913
- callback: (err: NodeJS.ErrnoException | null, folder: string | Buffer) => void
914
- ): void;
915
-
916
- /**
917
- * Asynchronously creates a unique temporary directory.
918
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
919
- */
920
- function mkdtemp(prefix: string, callback: (err: NodeJS.ErrnoException | null, folder: string) => void): void;
921
-
922
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
923
- namespace mkdtemp {
924
- /**
925
- * Asynchronously creates a unique temporary directory.
926
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
927
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
928
- */
929
- function __promisify__(prefix: string, options?: { encoding?: BufferEncoding | null | undefined } | BufferEncoding | null): Promise<string>;
930
-
931
- /**
932
- * Asynchronously creates a unique temporary directory.
933
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
934
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
935
- */
936
- function __promisify__(prefix: string, options: { encoding: "buffer" } | "buffer"): Promise<Buffer>;
937
-
938
- /**
939
- * Asynchronously creates a unique temporary directory.
940
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
941
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
942
- */
943
- function __promisify__(prefix: string, options?: { encoding?: string | null | undefined } | string | null): Promise<string | Buffer>;
944
- }
945
-
946
- /**
947
- * Synchronously creates a unique temporary directory.
948
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
949
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
950
- */
951
- function mkdtempSync(prefix: string, options?: { encoding?: BufferEncoding | null | undefined } | BufferEncoding | null): string;
952
-
953
- /**
954
- * Synchronously creates a unique temporary directory.
955
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
956
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
957
- */
958
- function mkdtempSync(prefix: string, options: { encoding: "buffer" } | "buffer"): Buffer;
959
-
960
- /**
961
- * Synchronously creates a unique temporary directory.
962
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
963
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
964
- */
965
- function mkdtempSync(prefix: string, options?: { encoding?: string | null | undefined } | string | null): string | Buffer;
966
-
967
- /**
968
- * Asynchronous readdir(3) - read a directory.
969
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
970
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
971
- */
972
- function readdir(
973
- path: PathLike,
974
- options: { encoding: BufferEncoding | null; withFileTypes?: false | undefined } | BufferEncoding | undefined | null,
975
- callback: (err: NodeJS.ErrnoException | null, files: string[]) => void,
976
- ): void;
977
-
978
- /**
979
- * Asynchronous readdir(3) - read a directory.
980
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
981
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
982
- */
983
- function readdir(path: PathLike, options: { encoding: "buffer"; withFileTypes?: false | undefined } | "buffer", callback: (err: NodeJS.ErrnoException | null, files: Buffer[]) => void): void;
984
-
985
- /**
986
- * Asynchronous readdir(3) - read a directory.
987
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
988
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
989
- */
990
- function readdir(
991
- path: PathLike,
992
- options: { encoding?: string | null | undefined; withFileTypes?: false | undefined } | string | undefined | null,
993
- callback: (err: NodeJS.ErrnoException | null, files: string[] | Buffer[]) => void,
994
- ): void;
995
-
996
- /**
997
- * Asynchronous readdir(3) - read a directory.
998
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
999
- */
1000
- function readdir(path: PathLike, callback: (err: NodeJS.ErrnoException | null, files: string[]) => void): void;
1001
-
1002
- /**
1003
- * Asynchronous readdir(3) - read a directory.
1004
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1005
- * @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
1006
- */
1007
- function readdir(path: PathLike, options: { encoding?: string | null | undefined; withFileTypes: true }, callback: (err: NodeJS.ErrnoException | null, files: Dirent[]) => void): void;
1008
-
1009
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
1010
- namespace readdir {
1011
- /**
1012
- * Asynchronous readdir(3) - read a directory.
1013
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1014
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1015
- */
1016
- function __promisify__(path: PathLike, options?: { encoding: BufferEncoding | null; withFileTypes?: false | undefined } | BufferEncoding | null): Promise<string[]>;
1017
-
1018
- /**
1019
- * Asynchronous readdir(3) - read a directory.
1020
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1021
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1022
- */
1023
- function __promisify__(path: PathLike, options: "buffer" | { encoding: "buffer"; withFileTypes?: false | undefined }): Promise<Buffer[]>;
1024
-
1025
- /**
1026
- * Asynchronous readdir(3) - read a directory.
1027
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1028
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1029
- */
1030
- function __promisify__(path: PathLike, options?: { encoding?: string | null | undefined; withFileTypes?: false | undefined } | string | null): Promise<string[] | Buffer[]>;
1031
-
1032
- /**
1033
- * Asynchronous readdir(3) - read a directory.
1034
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1035
- * @param options If called with `withFileTypes: true` the result data will be an array of Dirent
1036
- */
1037
- function __promisify__(path: PathLike, options: { encoding?: string | null | undefined; withFileTypes: true }): Promise<Dirent[]>;
1038
- }
1039
-
1040
- /**
1041
- * Synchronous readdir(3) - read a directory.
1042
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1043
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1044
- */
1045
- function readdirSync(path: PathLike, options?: { encoding: BufferEncoding | null; withFileTypes?: false | undefined } | BufferEncoding | null): string[];
1046
-
1047
- /**
1048
- * Synchronous readdir(3) - read a directory.
1049
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1050
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1051
- */
1052
- function readdirSync(path: PathLike, options: { encoding: "buffer"; withFileTypes?: false | undefined } | "buffer"): Buffer[];
1053
-
1054
- /**
1055
- * Synchronous readdir(3) - read a directory.
1056
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1057
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1058
- */
1059
- function readdirSync(path: PathLike, options?: { encoding?: string | null | undefined; withFileTypes?: false | undefined } | string | null): string[] | Buffer[];
1060
-
1061
- /**
1062
- * Synchronous readdir(3) - read a directory.
1063
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1064
- * @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
1065
- */
1066
- function readdirSync(path: PathLike, options: { encoding?: string | null | undefined; withFileTypes: true }): Dirent[];
1067
-
1068
- /**
1069
- * Asynchronous close(2) - close a file descriptor.
1070
- * @param fd A file descriptor.
1071
- */
1072
- function close(fd: number, callback: NoParamCallback): void;
1073
-
1074
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
1075
- namespace close {
1076
- /**
1077
- * Asynchronous close(2) - close a file descriptor.
1078
- * @param fd A file descriptor.
1079
- */
1080
- function __promisify__(fd: number): Promise<void>;
1081
- }
1082
-
1083
- /**
1084
- * Synchronous close(2) - close a file descriptor.
1085
- * @param fd A file descriptor.
1086
- */
1087
- function closeSync(fd: number): void;
1088
-
1089
- /**
1090
- * Asynchronous open(2) - open and possibly create a file.
1091
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1092
- * @param [flags='r'] See `support of file system `flags``.
1093
- * @param [mode] A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`.
1094
- */
1095
- function open(path: PathLike, flags: string | number | undefined, mode: string | number | undefined | null, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void;
1096
-
1097
- /**
1098
- * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`.
1099
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1100
- * @param [flags='r'] See `support of file system `flags``.
1101
- */
1102
- function open(path: PathLike, flags: string | number | undefined, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void;
1103
-
1104
- /**
1105
- * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`.
1106
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1107
- */
1108
- function open(path: PathLike, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void;
1109
-
1110
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
1111
- namespace open {
1112
- /**
1113
- * Asynchronous open(2) - open and possibly create a file.
1114
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1115
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`.
1116
- */
1117
- function __promisify__(path: PathLike, flags: string | number, mode?: string | number | null): Promise<number>;
1118
- }
1119
-
1120
- /**
1121
- * Synchronous open(2) - open and possibly create a file, returning a file descriptor..
1122
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1123
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`.
1124
- */
1125
- function openSync(path: PathLike, flags: string | number, mode?: string | number | null): number;
1126
-
1127
- /**
1128
- * Asynchronously change file timestamps of the file referenced by the supplied path.
1129
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1130
- * @param atime The last access time. If a string is provided, it will be coerced to number.
1131
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
1132
- */
1133
- function utimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date, callback: NoParamCallback): void;
1134
-
1135
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
1136
- namespace utimes {
1137
- /**
1138
- * Asynchronously change file timestamps of the file referenced by the supplied path.
1139
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1140
- * @param atime The last access time. If a string is provided, it will be coerced to number.
1141
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
1142
- */
1143
- function __promisify__(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise<void>;
1144
- }
1145
-
1146
- /**
1147
- * Synchronously change file timestamps of the file referenced by the supplied path.
1148
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1149
- * @param atime The last access time. If a string is provided, it will be coerced to number.
1150
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
1151
- */
1152
- function utimesSync(path: PathLike, atime: string | number | Date, mtime: string | number | Date): void;
1153
-
1154
- /**
1155
- * Asynchronously change file timestamps of the file referenced by the supplied file descriptor.
1156
- * @param fd A file descriptor.
1157
- * @param atime The last access time. If a string is provided, it will be coerced to number.
1158
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
1159
- */
1160
- function futimes(fd: number, atime: string | number | Date, mtime: string | number | Date, callback: NoParamCallback): void;
1161
-
1162
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
1163
- namespace futimes {
1164
- /**
1165
- * Asynchronously change file timestamps of the file referenced by the supplied file descriptor.
1166
- * @param fd A file descriptor.
1167
- * @param atime The last access time. If a string is provided, it will be coerced to number.
1168
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
1169
- */
1170
- function __promisify__(fd: number, atime: string | number | Date, mtime: string | number | Date): Promise<void>;
1171
- }
1172
-
1173
- /**
1174
- * Synchronously change file timestamps of the file referenced by the supplied file descriptor.
1175
- * @param fd A file descriptor.
1176
- * @param atime The last access time. If a string is provided, it will be coerced to number.
1177
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
1178
- */
1179
- function futimesSync(fd: number, atime: string | number | Date, mtime: string | number | Date): void;
1180
-
1181
- /**
1182
- * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
1183
- * @param fd A file descriptor.
1184
- */
1185
- function fsync(fd: number, callback: NoParamCallback): void;
1186
-
1187
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
1188
- namespace fsync {
1189
- /**
1190
- * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
1191
- * @param fd A file descriptor.
1192
- */
1193
- function __promisify__(fd: number): Promise<void>;
1194
- }
1195
-
1196
- /**
1197
- * Synchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
1198
- * @param fd A file descriptor.
1199
- */
1200
- function fsyncSync(fd: number): void;
1201
-
1202
- /**
1203
- * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
1204
- * @param fd A file descriptor.
1205
- * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
1206
- * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
1207
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
1208
- */
1209
- function write<TBuffer extends NodeJS.ArrayBufferView>(
1210
- fd: number,
1211
- buffer: TBuffer,
1212
- offset: number | undefined | null,
1213
- length: number | undefined | null,
1214
- position: number | undefined | null,
1215
- callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
1216
- ): void;
1217
-
1218
- /**
1219
- * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
1220
- * @param fd A file descriptor.
1221
- * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
1222
- * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
1223
- */
1224
- function write<TBuffer extends NodeJS.ArrayBufferView>(
1225
- fd: number,
1226
- buffer: TBuffer,
1227
- offset: number | undefined | null,
1228
- length: number | undefined | null,
1229
- callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
1230
- ): void;
1231
-
1232
- /**
1233
- * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
1234
- * @param fd A file descriptor.
1235
- * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
1236
- */
1237
- function write<TBuffer extends NodeJS.ArrayBufferView>(
1238
- fd: number,
1239
- buffer: TBuffer,
1240
- offset: number | undefined | null,
1241
- callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void
1242
- ): void;
1243
-
1244
- /**
1245
- * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
1246
- * @param fd A file descriptor.
1247
- */
1248
- function write<TBuffer extends NodeJS.ArrayBufferView>(fd: number, buffer: TBuffer, callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void): void;
1249
-
1250
- /**
1251
- * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
1252
- * @param fd A file descriptor.
1253
- * @param string A string to write. If something other than a string is supplied it will be coerced to a string.
1254
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
1255
- * @param encoding The expected string encoding.
1256
- */
1257
- function write(
1258
- fd: number,
1259
- string: any,
1260
- position: number | undefined | null,
1261
- encoding: string | undefined | null,
1262
- callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void,
1263
- ): void;
1264
-
1265
- /**
1266
- * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
1267
- * @param fd A file descriptor.
1268
- * @param string A string to write. If something other than a string is supplied it will be coerced to a string.
1269
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
1270
- */
1271
- function write(fd: number, string: any, position: number | undefined | null, callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void): void;
1272
-
1273
- /**
1274
- * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
1275
- * @param fd A file descriptor.
1276
- * @param string A string to write. If something other than a string is supplied it will be coerced to a string.
1277
- */
1278
- function write(fd: number, string: any, callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void): void;
1279
-
1280
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
1281
- namespace write {
1282
- /**
1283
- * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
1284
- * @param fd A file descriptor.
1285
- * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
1286
- * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
1287
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
1288
- */
1289
- function __promisify__<TBuffer extends NodeJS.ArrayBufferView>(
1290
- fd: number,
1291
- buffer?: TBuffer,
1292
- offset?: number,
1293
- length?: number,
1294
- position?: number | null,
1295
- ): Promise<{ bytesWritten: number, buffer: TBuffer }>;
1296
-
1297
- /**
1298
- * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
1299
- * @param fd A file descriptor.
1300
- * @param string A string to write. If something other than a string is supplied it will be coerced to a string.
1301
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
1302
- * @param encoding The expected string encoding.
1303
- */
1304
- function __promisify__(fd: number, string: any, position?: number | null, encoding?: string | null): Promise<{ bytesWritten: number, buffer: string }>;
1305
- }
1306
-
1307
- /**
1308
- * Synchronously writes `buffer` to the file referenced by the supplied file descriptor, returning the number of bytes written.
1309
- * @param fd A file descriptor.
1310
- * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
1311
- * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
1312
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
1313
- */
1314
- function writeSync(fd: number, buffer: NodeJS.ArrayBufferView, offset?: number | null, length?: number | null, position?: number | null): number;
1315
-
1316
- /**
1317
- * Synchronously writes `string` to the file referenced by the supplied file descriptor, returning the number of bytes written.
1318
- * @param fd A file descriptor.
1319
- * @param string A string to write. If something other than a string is supplied it will be coerced to a string.
1320
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
1321
- * @param encoding The expected string encoding.
1322
- */
1323
- function writeSync(fd: number, string: any, position?: number | null, encoding?: string | null): number;
1324
-
1325
- /**
1326
- * Asynchronously reads data from the file referenced by the supplied file descriptor.
1327
- * @param fd A file descriptor.
1328
- * @param buffer The buffer that the data will be written to.
1329
- * @param offset The offset in the buffer at which to start writing.
1330
- * @param length The number of bytes to read.
1331
- * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position.
1332
- */
1333
- function read<TBuffer extends NodeJS.ArrayBufferView>(
1334
- fd: number,
1335
- buffer: TBuffer,
1336
- offset: number,
1337
- length: number,
1338
- position: number | null,
1339
- callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void,
1340
- ): void;
1341
-
1342
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
1343
- namespace read {
1344
- /**
1345
- * @param fd A file descriptor.
1346
- * @param buffer The buffer that the data will be written to.
1347
- * @param offset The offset in the buffer at which to start writing.
1348
- * @param length The number of bytes to read.
1349
- * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position.
1350
- */
1351
- function __promisify__<TBuffer extends NodeJS.ArrayBufferView>(
1352
- fd: number,
1353
- buffer: TBuffer,
1354
- offset: number,
1355
- length: number,
1356
- position: number | null
1357
- ): Promise<{ bytesRead: number, buffer: TBuffer }>;
1358
- }
1359
-
1360
- /**
1361
- * Synchronously reads data from the file referenced by the supplied file descriptor, returning the number of bytes read.
1362
- * @param fd A file descriptor.
1363
- * @param buffer The buffer that the data will be written to.
1364
- * @param offset The offset in the buffer at which to start writing.
1365
- * @param length The number of bytes to read.
1366
- * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position.
1367
- */
1368
- function readSync(fd: number, buffer: NodeJS.ArrayBufferView, offset: number, length: number, position: number | null): number;
1369
-
1370
- /**
1371
- * Asynchronously reads the entire contents of a file.
1372
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1373
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1374
- * @param options An object that may contain an optional flag.
1375
- * If a flag is not provided, it defaults to `'r'`.
1376
- */
1377
- function readFile(
1378
- path: PathLike | number,
1379
- options: { encoding?: null | undefined; flag?: string | undefined; } | undefined | null,
1380
- callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void
1381
- ): void;
1382
-
1383
- /**
1384
- * Asynchronously reads the entire contents of a file.
1385
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1386
- * URL support is _experimental_.
1387
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1388
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
1389
- * If a flag is not provided, it defaults to `'r'`.
1390
- */
1391
- function readFile(path: PathLike | number, options: { encoding: string; flag?: string | undefined; } | string, callback: (err: NodeJS.ErrnoException | null, data: string) => void): void;
1392
-
1393
- /**
1394
- * Asynchronously reads the entire contents of a file.
1395
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1396
- * URL support is _experimental_.
1397
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1398
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
1399
- * If a flag is not provided, it defaults to `'r'`.
1400
- */
1401
- function readFile(
1402
- path: PathLike | number,
1403
- options: { encoding?: string | null | undefined; flag?: string | undefined; } | string | undefined | null,
1404
- callback: (err: NodeJS.ErrnoException | null, data: string | Buffer) => void,
1405
- ): void;
1406
-
1407
- /**
1408
- * Asynchronously reads the entire contents of a file.
1409
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1410
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1411
- */
1412
- function readFile(path: PathLike | number, callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void): void;
1413
-
1414
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
1415
- namespace readFile {
1416
- /**
1417
- * Asynchronously reads the entire contents of a file.
1418
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1419
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1420
- * @param options An object that may contain an optional flag.
1421
- * If a flag is not provided, it defaults to `'r'`.
1422
- */
1423
- function __promisify__(path: PathLike | number, options?: { encoding?: null | undefined; flag?: string | undefined; } | null): Promise<Buffer>;
1424
-
1425
- /**
1426
- * Asynchronously reads the entire contents of a file.
1427
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1428
- * URL support is _experimental_.
1429
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1430
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
1431
- * If a flag is not provided, it defaults to `'r'`.
1432
- */
1433
- function __promisify__(path: PathLike | number, options: { encoding: string; flag?: string | undefined; } | string): Promise<string>;
1434
-
1435
- /**
1436
- * Asynchronously reads the entire contents of a file.
1437
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1438
- * URL support is _experimental_.
1439
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1440
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
1441
- * If a flag is not provided, it defaults to `'r'`.
1442
- */
1443
- function __promisify__(path: PathLike | number, options?: { encoding?: string | null | undefined; flag?: string | undefined; } | string | null): Promise<string | Buffer>;
1444
- }
1445
-
1446
- /**
1447
- * Synchronously reads the entire contents of a file.
1448
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1449
- * URL support is _experimental_.
1450
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1451
- * @param options An object that may contain an optional flag. If a flag is not provided, it defaults to `'r'`.
1452
- */
1453
- function readFileSync(path: PathLike | number, options?: { encoding?: null | undefined; flag?: string | undefined; } | null): Buffer;
1454
-
1455
- /**
1456
- * Synchronously reads the entire contents of a file.
1457
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1458
- * URL support is _experimental_.
1459
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1460
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
1461
- * If a flag is not provided, it defaults to `'r'`.
1462
- */
1463
- function readFileSync(path: PathLike | number, options: { encoding: string; flag?: string | undefined; } | string): string;
1464
-
1465
- /**
1466
- * Synchronously reads the entire contents of a file.
1467
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1468
- * URL support is _experimental_.
1469
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1470
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
1471
- * If a flag is not provided, it defaults to `'r'`.
1472
- */
1473
- function readFileSync(path: PathLike | number, options?: { encoding?: string | null | undefined; flag?: string | undefined; } | string | null): string | Buffer;
1474
-
1475
- type WriteFileOptions = { encoding?: string | null | undefined; mode?: number | string | undefined; flag?: string | undefined; } | string | null;
1476
-
1477
- /**
1478
- * Asynchronously writes data to a file, replacing the file if it already exists.
1479
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1480
- * URL support is _experimental_.
1481
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1482
- * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
1483
- * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
1484
- * If `encoding` is not supplied, the default of `'utf8'` is used.
1485
- * If `mode` is not supplied, the default of `0o666` is used.
1486
- * If `mode` is a string, it is parsed as an octal integer.
1487
- * If `flag` is not supplied, the default of `'w'` is used.
1488
- */
1489
- function writeFile(path: PathLike | number, data: any, options: WriteFileOptions, callback: NoParamCallback): void;
1490
-
1491
- /**
1492
- * Asynchronously writes data to a file, replacing the file if it already exists.
1493
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1494
- * URL support is _experimental_.
1495
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1496
- * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
1497
- */
1498
- function writeFile(path: PathLike | number, data: any, callback: NoParamCallback): void;
1499
-
1500
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
1501
- namespace writeFile {
1502
- /**
1503
- * Asynchronously writes data to a file, replacing the file if it already exists.
1504
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1505
- * URL support is _experimental_.
1506
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1507
- * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
1508
- * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
1509
- * If `encoding` is not supplied, the default of `'utf8'` is used.
1510
- * If `mode` is not supplied, the default of `0o666` is used.
1511
- * If `mode` is a string, it is parsed as an octal integer.
1512
- * If `flag` is not supplied, the default of `'w'` is used.
1513
- */
1514
- function __promisify__(path: PathLike | number, data: any, options?: WriteFileOptions): Promise<void>;
1515
- }
1516
-
1517
- /**
1518
- * Synchronously writes data to a file, replacing the file if it already exists.
1519
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1520
- * URL support is _experimental_.
1521
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1522
- * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
1523
- * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
1524
- * If `encoding` is not supplied, the default of `'utf8'` is used.
1525
- * If `mode` is not supplied, the default of `0o666` is used.
1526
- * If `mode` is a string, it is parsed as an octal integer.
1527
- * If `flag` is not supplied, the default of `'w'` is used.
1528
- */
1529
- function writeFileSync(path: PathLike | number, data: any, options?: WriteFileOptions): void;
1530
-
1531
- /**
1532
- * Asynchronously append data to a file, creating the file if it does not exist.
1533
- * @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
1534
- * URL support is _experimental_.
1535
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1536
- * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
1537
- * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
1538
- * If `encoding` is not supplied, the default of `'utf8'` is used.
1539
- * If `mode` is not supplied, the default of `0o666` is used.
1540
- * If `mode` is a string, it is parsed as an octal integer.
1541
- * If `flag` is not supplied, the default of `'a'` is used.
1542
- */
1543
- function appendFile(file: PathLike | number, data: any, options: WriteFileOptions, callback: NoParamCallback): void;
1544
-
1545
- /**
1546
- * Asynchronously append data to a file, creating the file if it does not exist.
1547
- * @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
1548
- * URL support is _experimental_.
1549
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1550
- * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
1551
- */
1552
- function appendFile(file: PathLike | number, data: any, callback: NoParamCallback): void;
1553
-
1554
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
1555
- namespace appendFile {
1556
- /**
1557
- * Asynchronously append data to a file, creating the file if it does not exist.
1558
- * @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
1559
- * URL support is _experimental_.
1560
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1561
- * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
1562
- * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
1563
- * If `encoding` is not supplied, the default of `'utf8'` is used.
1564
- * If `mode` is not supplied, the default of `0o666` is used.
1565
- * If `mode` is a string, it is parsed as an octal integer.
1566
- * If `flag` is not supplied, the default of `'a'` is used.
1567
- */
1568
- function __promisify__(file: PathLike | number, data: any, options?: WriteFileOptions): Promise<void>;
1569
- }
1570
-
1571
- /**
1572
- * Synchronously append data to a file, creating the file if it does not exist.
1573
- * @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
1574
- * URL support is _experimental_.
1575
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
1576
- * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
1577
- * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
1578
- * If `encoding` is not supplied, the default of `'utf8'` is used.
1579
- * If `mode` is not supplied, the default of `0o666` is used.
1580
- * If `mode` is a string, it is parsed as an octal integer.
1581
- * If `flag` is not supplied, the default of `'a'` is used.
1582
- */
1583
- function appendFileSync(file: PathLike | number, data: any, options?: WriteFileOptions): void;
1584
-
1585
- /**
1586
- * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed.
1587
- */
1588
- function watchFile(filename: PathLike, options: { persistent?: boolean | undefined; interval?: number | undefined; } | undefined, listener: (curr: Stats, prev: Stats) => void): void;
1589
-
1590
- /**
1591
- * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed.
1592
- * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
1593
- * URL support is _experimental_.
1594
- */
1595
- function watchFile(filename: PathLike, listener: (curr: Stats, prev: Stats) => void): void;
1596
-
1597
- /**
1598
- * Stop watching for changes on `filename`.
1599
- * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
1600
- * URL support is _experimental_.
1601
- */
1602
- function unwatchFile(filename: PathLike, listener?: (curr: Stats, prev: Stats) => void): void;
1603
-
1604
- /**
1605
- * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
1606
- * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
1607
- * URL support is _experimental_.
1608
- * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options.
1609
- * If `encoding` is not supplied, the default of `'utf8'` is used.
1610
- * If `persistent` is not supplied, the default of `true` is used.
1611
- * If `recursive` is not supplied, the default of `false` is used.
1612
- */
1613
- function watch(
1614
- filename: PathLike,
1615
- options: { encoding?: BufferEncoding | null | undefined, persistent?: boolean | undefined, recursive?: boolean | undefined } | BufferEncoding | undefined | null,
1616
- listener?: (event: string, filename: string) => void,
1617
- ): FSWatcher;
1618
-
1619
- /**
1620
- * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
1621
- * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
1622
- * URL support is _experimental_.
1623
- * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options.
1624
- * If `encoding` is not supplied, the default of `'utf8'` is used.
1625
- * If `persistent` is not supplied, the default of `true` is used.
1626
- * If `recursive` is not supplied, the default of `false` is used.
1627
- */
1628
- function watch(
1629
- filename: PathLike,
1630
- options: { encoding: "buffer", persistent?: boolean | undefined, recursive?: boolean | undefined } | "buffer",
1631
- listener?: (event: string, filename: Buffer) => void
1632
- ): FSWatcher;
1633
-
1634
- /**
1635
- * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
1636
- * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
1637
- * URL support is _experimental_.
1638
- * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options.
1639
- * If `encoding` is not supplied, the default of `'utf8'` is used.
1640
- * If `persistent` is not supplied, the default of `true` is used.
1641
- * If `recursive` is not supplied, the default of `false` is used.
1642
- */
1643
- function watch(
1644
- filename: PathLike,
1645
- options: { encoding?: string | null | undefined, persistent?: boolean | undefined, recursive?: boolean | undefined } | string | null,
1646
- listener?: (event: string, filename: string | Buffer) => void,
1647
- ): FSWatcher;
1648
-
1649
- /**
1650
- * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
1651
- * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
1652
- * URL support is _experimental_.
1653
- */
1654
- function watch(filename: PathLike, listener?: (event: string, filename: string) => any): FSWatcher;
1655
-
1656
- /**
1657
- * Asynchronously tests whether or not the given path exists by checking with the file system.
1658
- * @deprecated
1659
- * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
1660
- * URL support is _experimental_.
1661
- */
1662
- function exists(path: PathLike, callback: (exists: boolean) => void): void;
1663
-
1664
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
1665
- namespace exists {
1666
- /**
1667
- * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
1668
- * URL support is _experimental_.
1669
- */
1670
- function __promisify__(path: PathLike): Promise<boolean>;
1671
- }
1672
-
1673
- /**
1674
- * Synchronously tests whether or not the given path exists by checking with the file system.
1675
- * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
1676
- * URL support is _experimental_.
1677
- */
1678
- function existsSync(path: PathLike): boolean;
1679
-
1680
- namespace constants {
1681
- // File Access Constants
1682
-
1683
- /** Constant for fs.access(). File is visible to the calling process. */
1684
- const F_OK: number;
1685
-
1686
- /** Constant for fs.access(). File can be read by the calling process. */
1687
- const R_OK: number;
1688
-
1689
- /** Constant for fs.access(). File can be written by the calling process. */
1690
- const W_OK: number;
1691
-
1692
- /** Constant for fs.access(). File can be executed by the calling process. */
1693
- const X_OK: number;
1694
-
1695
- // File Copy Constants
1696
-
1697
- /** Constant for fs.copyFile. Flag indicating the destination file should not be overwritten if it already exists. */
1698
- const COPYFILE_EXCL: number;
1699
-
1700
- /**
1701
- * Constant for fs.copyFile. copy operation will attempt to create a copy-on-write reflink.
1702
- * If the underlying platform does not support copy-on-write, then a fallback copy mechanism is used.
1703
- */
1704
- const COPYFILE_FICLONE: number;
1705
-
1706
- /**
1707
- * Constant for fs.copyFile. Copy operation will attempt to create a copy-on-write reflink.
1708
- * If the underlying platform does not support copy-on-write, then the operation will fail with an error.
1709
- */
1710
- const COPYFILE_FICLONE_FORCE: number;
1711
-
1712
- // File Open Constants
1713
-
1714
- /** Constant for fs.open(). Flag indicating to open a file for read-only access. */
1715
- const O_RDONLY: number;
1716
-
1717
- /** Constant for fs.open(). Flag indicating to open a file for write-only access. */
1718
- const O_WRONLY: number;
1719
-
1720
- /** Constant for fs.open(). Flag indicating to open a file for read-write access. */
1721
- const O_RDWR: number;
1722
-
1723
- /** Constant for fs.open(). Flag indicating to create the file if it does not already exist. */
1724
- const O_CREAT: number;
1725
-
1726
- /** Constant for fs.open(). Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists. */
1727
- const O_EXCL: number;
1728
-
1729
- /**
1730
- * Constant for fs.open(). Flag indicating that if path identifies a terminal device,
1731
- * opening the path shall not cause that terminal to become the controlling terminal for the process
1732
- * (if the process does not already have one).
1733
- */
1734
- const O_NOCTTY: number;
1735
-
1736
- /** Constant for fs.open(). Flag indicating that if the file exists and is a regular file, and the file is opened successfully for write access, its length shall be truncated to zero. */
1737
- const O_TRUNC: number;
1738
-
1739
- /** Constant for fs.open(). Flag indicating that data will be appended to the end of the file. */
1740
- const O_APPEND: number;
1741
-
1742
- /** Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory. */
1743
- const O_DIRECTORY: number;
1744
-
1745
- /**
1746
- * constant for fs.open().
1747
- * Flag indicating reading accesses to the file system will no longer result in
1748
- * an update to the atime information associated with the file.
1749
- * This flag is available on Linux operating systems only.
1750
- */
1751
- const O_NOATIME: number;
1752
-
1753
- /** Constant for fs.open(). Flag indicating that the open should fail if the path is a symbolic link. */
1754
- const O_NOFOLLOW: number;
1755
-
1756
- /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O. */
1757
- const O_SYNC: number;
1758
-
1759
- /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O with write operations waiting for data integrity. */
1760
- const O_DSYNC: number;
1761
-
1762
- /** Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to. */
1763
- const O_SYMLINK: number;
1764
-
1765
- /** Constant for fs.open(). When set, an attempt will be made to minimize caching effects of file I/O. */
1766
- const O_DIRECT: number;
1767
-
1768
- /** Constant for fs.open(). Flag indicating to open the file in nonblocking mode when possible. */
1769
- const O_NONBLOCK: number;
1770
-
1771
- // File Type Constants
1772
-
1773
- /** Constant for fs.Stats mode property for determining a file's type. Bit mask used to extract the file type code. */
1774
- const S_IFMT: number;
1775
-
1776
- /** Constant for fs.Stats mode property for determining a file's type. File type constant for a regular file. */
1777
- const S_IFREG: number;
1778
-
1779
- /** Constant for fs.Stats mode property for determining a file's type. File type constant for a directory. */
1780
- const S_IFDIR: number;
1781
-
1782
- /** Constant for fs.Stats mode property for determining a file's type. File type constant for a character-oriented device file. */
1783
- const S_IFCHR: number;
1784
-
1785
- /** Constant for fs.Stats mode property for determining a file's type. File type constant for a block-oriented device file. */
1786
- const S_IFBLK: number;
1787
-
1788
- /** Constant for fs.Stats mode property for determining a file's type. File type constant for a FIFO/pipe. */
1789
- const S_IFIFO: number;
1790
-
1791
- /** Constant for fs.Stats mode property for determining a file's type. File type constant for a symbolic link. */
1792
- const S_IFLNK: number;
1793
-
1794
- /** Constant for fs.Stats mode property for determining a file's type. File type constant for a socket. */
1795
- const S_IFSOCK: number;
1796
-
1797
- // File Mode Constants
1798
-
1799
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by owner. */
1800
- const S_IRWXU: number;
1801
-
1802
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by owner. */
1803
- const S_IRUSR: number;
1804
-
1805
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by owner. */
1806
- const S_IWUSR: number;
1807
-
1808
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by owner. */
1809
- const S_IXUSR: number;
1810
-
1811
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by group. */
1812
- const S_IRWXG: number;
1813
-
1814
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by group. */
1815
- const S_IRGRP: number;
1816
-
1817
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by group. */
1818
- const S_IWGRP: number;
1819
-
1820
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by group. */
1821
- const S_IXGRP: number;
1822
-
1823
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by others. */
1824
- const S_IRWXO: number;
1825
-
1826
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by others. */
1827
- const S_IROTH: number;
1828
-
1829
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by others. */
1830
- const S_IWOTH: number;
1831
-
1832
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others. */
1833
- const S_IXOTH: number;
1834
-
1835
- /**
1836
- * When set, a memory file mapping is used to access the file. This flag
1837
- * is available on Windows operating systems only. On other operating systems,
1838
- * this flag is ignored.
1839
- */
1840
- const UV_FS_O_FILEMAP: number;
1841
- }
1842
-
1843
- /**
1844
- * Asynchronously tests a user's permissions for the file specified by path.
1845
- * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
1846
- * URL support is _experimental_.
1847
- */
1848
- function access(path: PathLike, mode: number | undefined, callback: NoParamCallback): void;
1849
-
1850
- /**
1851
- * Asynchronously tests a user's permissions for the file specified by path.
1852
- * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
1853
- * URL support is _experimental_.
1854
- */
1855
- function access(path: PathLike, callback: NoParamCallback): void;
1856
-
1857
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
1858
- namespace access {
1859
- /**
1860
- * Asynchronously tests a user's permissions for the file specified by path.
1861
- * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
1862
- * URL support is _experimental_.
1863
- */
1864
- function __promisify__(path: PathLike, mode?: number): Promise<void>;
1865
- }
1866
-
1867
- /**
1868
- * Synchronously tests a user's permissions for the file specified by path.
1869
- * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
1870
- * URL support is _experimental_.
1871
- */
1872
- function accessSync(path: PathLike, mode?: number): void;
1873
-
1874
- /**
1875
- * Returns a new `ReadStream` object.
1876
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1877
- * URL support is _experimental_.
1878
- */
1879
- function createReadStream(path: PathLike, options?: string | {
1880
- flags?: string | undefined;
1881
- encoding?: string | undefined;
1882
- fd?: number | undefined;
1883
- mode?: number | undefined;
1884
- autoClose?: boolean | undefined;
1885
- /**
1886
- * @default false
1887
- */
1888
- emitClose?: boolean | undefined;
1889
- start?: number | undefined;
1890
- end?: number | undefined;
1891
- highWaterMark?: number | undefined;
1892
- }): ReadStream;
1893
-
1894
- /**
1895
- * Returns a new `WriteStream` object.
1896
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1897
- * URL support is _experimental_.
1898
- */
1899
- function createWriteStream(path: PathLike, options?: string | {
1900
- flags?: string | undefined;
1901
- encoding?: string | undefined;
1902
- fd?: number | undefined;
1903
- mode?: number | undefined;
1904
- autoClose?: boolean | undefined;
1905
- emitClose?: boolean | undefined;
1906
- start?: number | undefined;
1907
- highWaterMark?: number | undefined;
1908
- }): WriteStream;
1909
-
1910
- /**
1911
- * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
1912
- * @param fd A file descriptor.
1913
- */
1914
- function fdatasync(fd: number, callback: NoParamCallback): void;
1915
-
1916
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
1917
- namespace fdatasync {
1918
- /**
1919
- * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
1920
- * @param fd A file descriptor.
1921
- */
1922
- function __promisify__(fd: number): Promise<void>;
1923
- }
1924
-
1925
- /**
1926
- * Synchronous fdatasync(2) - synchronize a file's in-core state with storage device.
1927
- * @param fd A file descriptor.
1928
- */
1929
- function fdatasyncSync(fd: number): void;
1930
-
1931
- /**
1932
- * Asynchronously copies src to dest. By default, dest is overwritten if it already exists.
1933
- * No arguments other than a possible exception are given to the callback function.
1934
- * Node.js makes no guarantees about the atomicity of the copy operation.
1935
- * If an error occurs after the destination file has been opened for writing, Node.js will attempt
1936
- * to remove the destination.
1937
- * @param src A path to the source file.
1938
- * @param dest A path to the destination file.
1939
- */
1940
- function copyFile(src: PathLike, dest: PathLike, callback: NoParamCallback): void;
1941
- /**
1942
- * Asynchronously copies src to dest. By default, dest is overwritten if it already exists.
1943
- * No arguments other than a possible exception are given to the callback function.
1944
- * Node.js makes no guarantees about the atomicity of the copy operation.
1945
- * If an error occurs after the destination file has been opened for writing, Node.js will attempt
1946
- * to remove the destination.
1947
- * @param src A path to the source file.
1948
- * @param dest A path to the destination file.
1949
- * @param flags An integer that specifies the behavior of the copy operation. The only supported flag is fs.constants.COPYFILE_EXCL, which causes the copy operation to fail if dest already exists.
1950
- */
1951
- function copyFile(src: PathLike, dest: PathLike, flags: number, callback: NoParamCallback): void;
1952
-
1953
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
1954
- namespace copyFile {
1955
- /**
1956
- * Asynchronously copies src to dest. By default, dest is overwritten if it already exists.
1957
- * No arguments other than a possible exception are given to the callback function.
1958
- * Node.js makes no guarantees about the atomicity of the copy operation.
1959
- * If an error occurs after the destination file has been opened for writing, Node.js will attempt
1960
- * to remove the destination.
1961
- * @param src A path to the source file.
1962
- * @param dest A path to the destination file.
1963
- * @param flags An optional integer that specifies the behavior of the copy operation.
1964
- * The only supported flag is fs.constants.COPYFILE_EXCL,
1965
- * which causes the copy operation to fail if dest already exists.
1966
- */
1967
- function __promisify__(src: PathLike, dst: PathLike, flags?: number): Promise<void>;
1968
- }
1969
-
1970
- /**
1971
- * Synchronously copies src to dest. By default, dest is overwritten if it already exists.
1972
- * Node.js makes no guarantees about the atomicity of the copy operation.
1973
- * If an error occurs after the destination file has been opened for writing, Node.js will attempt
1974
- * to remove the destination.
1975
- * @param src A path to the source file.
1976
- * @param dest A path to the destination file.
1977
- * @param flags An optional integer that specifies the behavior of the copy operation.
1978
- * The only supported flag is fs.constants.COPYFILE_EXCL, which causes the copy operation to fail if dest already exists.
1979
- */
1980
- function copyFileSync(src: PathLike, dest: PathLike, flags?: number): void;
1981
-
1982
- /**
1983
- * Write an array of ArrayBufferViews to the file specified by fd using writev().
1984
- * position is the offset from the beginning of the file where this data should be written.
1985
- * It is unsafe to use fs.writev() multiple times on the same file without waiting for the callback. For this scenario, use fs.createWriteStream().
1986
- * On Linux, positional writes don't work when the file is opened in append mode.
1987
- * The kernel ignores the position argument and always appends the data to the end of the file.
1988
- */
1989
- function writev(
1990
- fd: number,
1991
- buffers: ReadonlyArray<NodeJS.ArrayBufferView>,
1992
- cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void
1993
- ): void;
1994
- function writev(
1995
- fd: number,
1996
- buffers: ReadonlyArray<NodeJS.ArrayBufferView>,
1997
- position: number,
1998
- cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void
1999
- ): void;
2000
-
2001
- interface WriteVResult {
2002
- bytesWritten: number;
2003
- buffers: NodeJS.ArrayBufferView[];
2004
- }
2005
-
2006
- namespace writev {
2007
- function __promisify__(fd: number, buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): Promise<WriteVResult>;
2008
- }
2009
-
2010
- /**
2011
- * See `writev`.
2012
- */
2013
- function writevSync(fd: number, buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): number;
2014
-
2015
- interface OpenDirOptions {
2016
- encoding?: BufferEncoding | undefined;
2017
- }
2018
-
2019
- function opendirSync(path: PathLike, options?: OpenDirOptions): Dir;
2020
-
2021
- function opendir(path: PathLike, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
2022
- function opendir(path: PathLike, options: OpenDirOptions, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
2023
-
2024
- namespace opendir {
2025
- function __promisify__(path: PathLike, options?: OpenDirOptions): Promise<Dir>;
2026
- }
2027
-
2028
- namespace promises {
2029
- interface FileHandle {
2030
- /**
2031
- * Gets the file descriptor for this file handle.
2032
- */
2033
- readonly fd: number;
2034
-
2035
- /**
2036
- * Asynchronously append data to a file, creating the file if it does not exist. The underlying file will _not_ be closed automatically.
2037
- * The `FileHandle` must have been opened for appending.
2038
- * @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string.
2039
- * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
2040
- * If `encoding` is not supplied, the default of `'utf8'` is used.
2041
- * If `mode` is not supplied, the default of `0o666` is used.
2042
- * If `mode` is a string, it is parsed as an octal integer.
2043
- * If `flag` is not supplied, the default of `'a'` is used.
2044
- */
2045
- appendFile(data: any, options?: { encoding?: string | null | undefined, mode?: string | number | undefined, flag?: string | number | undefined } | string | null): Promise<void>;
2046
-
2047
- /**
2048
- * Asynchronous fchown(2) - Change ownership of a file.
2049
- */
2050
- chown(uid: number, gid: number): Promise<void>;
2051
-
2052
- /**
2053
- * Asynchronous fchmod(2) - Change permissions of a file.
2054
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
2055
- */
2056
- chmod(mode: string | number): Promise<void>;
2057
-
2058
- /**
2059
- * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
2060
- */
2061
- datasync(): Promise<void>;
2062
-
2063
- /**
2064
- * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
2065
- */
2066
- sync(): Promise<void>;
2067
-
2068
- /**
2069
- * Asynchronously reads data from the file.
2070
- * The `FileHandle` must have been opened for reading.
2071
- * @param buffer The buffer that the data will be written to.
2072
- * @param offset The offset in the buffer at which to start writing.
2073
- * @param length The number of bytes to read.
2074
- * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position.
2075
- */
2076
- read<TBuffer extends Uint8Array>(buffer: TBuffer, offset?: number | null, length?: number | null, position?: number | null): Promise<{ bytesRead: number, buffer: TBuffer }>;
2077
-
2078
- /**
2079
- * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
2080
- * The `FileHandle` must have been opened for reading.
2081
- * @param options An object that may contain an optional flag.
2082
- * If a flag is not provided, it defaults to `'r'`.
2083
- */
2084
- readFile(options?: { encoding?: null | undefined, flag?: string | number | undefined } | null): Promise<Buffer>;
2085
-
2086
- /**
2087
- * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
2088
- * The `FileHandle` must have been opened for reading.
2089
- * @param options An object that may contain an optional flag.
2090
- * If a flag is not provided, it defaults to `'r'`.
2091
- */
2092
- readFile(options: { encoding: BufferEncoding, flag?: string | number | undefined } | BufferEncoding): Promise<string>;
2093
-
2094
- /**
2095
- * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
2096
- * The `FileHandle` must have been opened for reading.
2097
- * @param options An object that may contain an optional flag.
2098
- * If a flag is not provided, it defaults to `'r'`.
2099
- */
2100
- readFile(options?: { encoding?: string | null | undefined, flag?: string | number | undefined } | string | null): Promise<string | Buffer>;
2101
-
2102
- /**
2103
- * Asynchronous fstat(2) - Get file status.
2104
- */
2105
- stat(opts?: StatOptions & { bigint?: false | undefined }): Promise<Stats>;
2106
- stat(opts: StatOptions & { bigint: true }): Promise<BigIntStats>;
2107
- stat(opts: StatOptions): Promise<Stats | BigIntStats>;
2108
-
2109
- /**
2110
- * Asynchronous ftruncate(2) - Truncate a file to a specified length.
2111
- * @param len If not specified, defaults to `0`.
2112
- */
2113
- truncate(len?: number): Promise<void>;
2114
-
2115
- /**
2116
- * Asynchronously change file timestamps of the file.
2117
- * @param atime The last access time. If a string is provided, it will be coerced to number.
2118
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
2119
- */
2120
- utimes(atime: string | number | Date, mtime: string | number | Date): Promise<void>;
2121
-
2122
- /**
2123
- * Asynchronously writes `buffer` to the file.
2124
- * The `FileHandle` must have been opened for writing.
2125
- * @param buffer The buffer that the data will be written to.
2126
- * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
2127
- * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
2128
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2129
- */
2130
- write<TBuffer extends Uint8Array>(buffer: TBuffer, offset?: number | null, length?: number | null, position?: number | null): Promise<{ bytesWritten: number, buffer: TBuffer }>;
2131
-
2132
- /**
2133
- * Asynchronously writes `string` to the file.
2134
- * The `FileHandle` must have been opened for writing.
2135
- * It is unsafe to call `write()` multiple times on the same file without waiting for the `Promise`
2136
- * to be resolved (or rejected). For this scenario, `fs.createWriteStream` is strongly recommended.
2137
- * @param string A string to write. If something other than a string is supplied it will be coerced to a string.
2138
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2139
- * @param encoding The expected string encoding.
2140
- */
2141
- write(data: any, position?: number | null, encoding?: string | null): Promise<{ bytesWritten: number, buffer: string }>;
2142
-
2143
- /**
2144
- * Asynchronously writes data to a file, replacing the file if it already exists. The underlying file will _not_ be closed automatically.
2145
- * The `FileHandle` must have been opened for writing.
2146
- * It is unsafe to call `writeFile()` multiple times on the same file without waiting for the `Promise` to be resolved (or rejected).
2147
- * @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string.
2148
- * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
2149
- * If `encoding` is not supplied, the default of `'utf8'` is used.
2150
- * If `mode` is not supplied, the default of `0o666` is used.
2151
- * If `mode` is a string, it is parsed as an octal integer.
2152
- * If `flag` is not supplied, the default of `'w'` is used.
2153
- */
2154
- writeFile(data: any, options?: { encoding?: string | null | undefined, mode?: string | number | undefined, flag?: string | number | undefined } | string | null): Promise<void>;
2155
-
2156
- /**
2157
- * See `fs.writev` promisified version.
2158
- */
2159
- writev(buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): Promise<WriteVResult>;
2160
-
2161
- /**
2162
- * Asynchronous close(2) - close a `FileHandle`.
2163
- */
2164
- close(): Promise<void>;
2165
- }
2166
-
2167
- /**
2168
- * Asynchronously tests a user's permissions for the file specified by path.
2169
- * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
2170
- * URL support is _experimental_.
2171
- */
2172
- function access(path: PathLike, mode?: number): Promise<void>;
2173
-
2174
- /**
2175
- * Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it already exists.
2176
- * Node.js makes no guarantees about the atomicity of the copy operation.
2177
- * If an error occurs after the destination file has been opened for writing, Node.js will attempt
2178
- * to remove the destination.
2179
- * @param src A path to the source file.
2180
- * @param dest A path to the destination file.
2181
- * @param flags An optional integer that specifies the behavior of the copy operation. The only
2182
- * supported flag is `fs.constants.COPYFILE_EXCL`, which causes the copy operation to fail if
2183
- * `dest` already exists.
2184
- */
2185
- function copyFile(src: PathLike, dest: PathLike, flags?: number): Promise<void>;
2186
-
2187
- /**
2188
- * Asynchronous open(2) - open and possibly create a file.
2189
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2190
- * @param [flags='r'] See `support of file system `flags``.
2191
- * @param [mode] A file mode. If a string is passed, it is parsed as an octal integer. If not
2192
- * supplied, defaults to `0o666`.
2193
- */
2194
- function open(path: PathLike, flags?: string | number, mode?: string | number): Promise<FileHandle>;
2195
-
2196
- /**
2197
- * Asynchronously reads data from the file referenced by the supplied `FileHandle`.
2198
- * @param handle A `FileHandle`.
2199
- * @param buffer The buffer that the data will be written to.
2200
- * @param offset The offset in the buffer at which to start writing.
2201
- * @param length The number of bytes to read.
2202
- * @param position The offset from the beginning of the file from which data should be read. If
2203
- * `null`, data will be read from the current position.
2204
- */
2205
- function read<TBuffer extends Uint8Array>(
2206
- handle: FileHandle,
2207
- buffer: TBuffer,
2208
- offset?: number | null,
2209
- length?: number | null,
2210
- position?: number | null,
2211
- ): Promise<{ bytesRead: number, buffer: TBuffer }>;
2212
-
2213
- /**
2214
- * Asynchronously writes `buffer` to the file referenced by the supplied `FileHandle`.
2215
- * It is unsafe to call `fsPromises.write()` multiple times on the same file without waiting for the `Promise`
2216
- * to be resolved (or rejected). For this scenario, `fs.createWriteStream` is strongly recommended.
2217
- * @param handle A `FileHandle`.
2218
- * @param buffer The buffer that the data will be written to.
2219
- * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
2220
- * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
2221
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2222
- */
2223
- function write<TBuffer extends Uint8Array>(
2224
- handle: FileHandle,
2225
- buffer: TBuffer,
2226
- offset?: number | null,
2227
- length?: number | null, position?: number | null): Promise<{ bytesWritten: number, buffer: TBuffer }>;
2228
-
2229
- /**
2230
- * Asynchronously writes `string` to the file referenced by the supplied `FileHandle`.
2231
- * It is unsafe to call `fsPromises.write()` multiple times on the same file without waiting for the `Promise`
2232
- * to be resolved (or rejected). For this scenario, `fs.createWriteStream` is strongly recommended.
2233
- * @param handle A `FileHandle`.
2234
- * @param string A string to write. If something other than a string is supplied it will be coerced to a string.
2235
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2236
- * @param encoding The expected string encoding.
2237
- */
2238
- function write(handle: FileHandle, string: any, position?: number | null, encoding?: string | null): Promise<{ bytesWritten: number, buffer: string }>;
2239
-
2240
- /**
2241
- * Asynchronous rename(2) - Change the name or location of a file or directory.
2242
- * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol.
2243
- * URL support is _experimental_.
2244
- * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
2245
- * URL support is _experimental_.
2246
- */
2247
- function rename(oldPath: PathLike, newPath: PathLike): Promise<void>;
2248
-
2249
- /**
2250
- * Asynchronous truncate(2) - Truncate a file to a specified length.
2251
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2252
- * @param len If not specified, defaults to `0`.
2253
- */
2254
- function truncate(path: PathLike, len?: number): Promise<void>;
2255
-
2256
- /**
2257
- * Asynchronous ftruncate(2) - Truncate a file to a specified length.
2258
- * @param handle A `FileHandle`.
2259
- * @param len If not specified, defaults to `0`.
2260
- */
2261
- function ftruncate(handle: FileHandle, len?: number): Promise<void>;
2262
-
2263
- /**
2264
- * Asynchronous rmdir(2) - delete a directory.
2265
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2266
- */
2267
- function rmdir(path: PathLike, options?: RmDirOptions): Promise<void>;
2268
-
2269
- /**
2270
- * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
2271
- * @param handle A `FileHandle`.
2272
- */
2273
- function fdatasync(handle: FileHandle): Promise<void>;
2274
-
2275
- /**
2276
- * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
2277
- * @param handle A `FileHandle`.
2278
- */
2279
- function fsync(handle: FileHandle): Promise<void>;
2280
-
2281
- /**
2282
- * Asynchronous mkdir(2) - create a directory.
2283
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2284
- * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
2285
- * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
2286
- */
2287
- function mkdir(path: PathLike, options?: number | string | MakeDirectoryOptions | null): Promise<void>;
2288
-
2289
- /**
2290
- * Asynchronous readdir(3) - read a directory.
2291
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2292
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2293
- */
2294
- function readdir(path: PathLike, options?: { encoding?: BufferEncoding | null | undefined; withFileTypes?: false | undefined } | BufferEncoding | null): Promise<string[]>;
2295
-
2296
- /**
2297
- * Asynchronous readdir(3) - read a directory.
2298
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2299
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2300
- */
2301
- function readdir(path: PathLike, options: { encoding: "buffer"; withFileTypes?: false | undefined } | "buffer"): Promise<Buffer[]>;
2302
-
2303
- /**
2304
- * Asynchronous readdir(3) - read a directory.
2305
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2306
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2307
- */
2308
- function readdir(path: PathLike, options?: { encoding?: string | null | undefined; withFileTypes?: false | undefined } | string | null): Promise<string[] | Buffer[]>;
2309
-
2310
- /**
2311
- * Asynchronous readdir(3) - read a directory.
2312
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2313
- * @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
2314
- */
2315
- function readdir(path: PathLike, options: { encoding?: string | null | undefined; withFileTypes: true }): Promise<Dirent[]>;
2316
-
2317
- /**
2318
- * Asynchronous readlink(2) - read value of a symbolic link.
2319
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2320
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2321
- */
2322
- function readlink(path: PathLike, options?: { encoding?: BufferEncoding | null | undefined } | BufferEncoding | null): Promise<string>;
2323
-
2324
- /**
2325
- * Asynchronous readlink(2) - read value of a symbolic link.
2326
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2327
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2328
- */
2329
- function readlink(path: PathLike, options: { encoding: "buffer" } | "buffer"): Promise<Buffer>;
2330
-
2331
- /**
2332
- * Asynchronous readlink(2) - read value of a symbolic link.
2333
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2334
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2335
- */
2336
- function readlink(path: PathLike, options?: { encoding?: string | null | undefined } | string | null): Promise<string | Buffer>;
2337
-
2338
- /**
2339
- * Asynchronous symlink(2) - Create a new symbolic link to an existing file.
2340
- * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
2341
- * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
2342
- * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms).
2343
- * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path.
2344
- */
2345
- function symlink(target: PathLike, path: PathLike, type?: string | null): Promise<void>;
2346
-
2347
- /**
2348
- * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
2349
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2350
- */
2351
- function lstat(path: PathLike, opts?: StatOptions & { bigint?: false | undefined }): Promise<Stats>;
2352
- function lstat(path: PathLike, opts: StatOptions & { bigint: true }): Promise<BigIntStats>;
2353
- function lstat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
2354
-
2355
- /**
2356
- * Asynchronous stat(2) - Get file status.
2357
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2358
- */
2359
- function stat(path: PathLike, opts?: StatOptions & { bigint?: false | undefined }): Promise<Stats>;
2360
- function stat(path: PathLike, opts: StatOptions & { bigint: true }): Promise<BigIntStats>;
2361
- function stat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
2362
-
2363
- /**
2364
- * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.
2365
- * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
2366
- * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
2367
- */
2368
- function link(existingPath: PathLike, newPath: PathLike): Promise<void>;
2369
-
2370
- /**
2371
- * Asynchronous unlink(2) - delete a name and possibly the file it refers to.
2372
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2373
- */
2374
- function unlink(path: PathLike): Promise<void>;
2375
-
2376
- /**
2377
- * Asynchronous fchmod(2) - Change permissions of a file.
2378
- * @param handle A `FileHandle`.
2379
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
2380
- */
2381
- function fchmod(handle: FileHandle, mode: string | number): Promise<void>;
2382
-
2383
- /**
2384
- * Asynchronous chmod(2) - Change permissions of a file.
2385
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2386
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
2387
- */
2388
- function chmod(path: PathLike, mode: string | number): Promise<void>;
2389
-
2390
- /**
2391
- * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
2392
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2393
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
2394
- */
2395
- function lchmod(path: PathLike, mode: string | number): Promise<void>;
2396
-
2397
- /**
2398
- * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links.
2399
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2400
- */
2401
- function lchown(path: PathLike, uid: number, gid: number): Promise<void>;
2402
-
2403
- /**
2404
- * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`,
2405
- * with the difference that if the path refers to a symbolic link, then the link is not
2406
- * dereferenced: instead, the timestamps of the symbolic link itself are changed.
2407
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2408
- * @param atime The last access time. If a string is provided, it will be coerced to number.
2409
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
2410
- */
2411
- function lutimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise<void>;
2412
-
2413
- /**
2414
- * Asynchronous fchown(2) - Change ownership of a file.
2415
- * @param handle A `FileHandle`.
2416
- */
2417
- function fchown(handle: FileHandle, uid: number, gid: number): Promise<void>;
2418
-
2419
- /**
2420
- * Asynchronous chown(2) - Change ownership of a file.
2421
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2422
- */
2423
- function chown(path: PathLike, uid: number, gid: number): Promise<void>;
2424
-
2425
- /**
2426
- * Asynchronously change file timestamps of the file referenced by the supplied path.
2427
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2428
- * @param atime The last access time. If a string is provided, it will be coerced to number.
2429
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
2430
- */
2431
- function utimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise<void>;
2432
-
2433
- /**
2434
- * Asynchronously change file timestamps of the file referenced by the supplied `FileHandle`.
2435
- * @param handle A `FileHandle`.
2436
- * @param atime The last access time. If a string is provided, it will be coerced to number.
2437
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
2438
- */
2439
- function futimes(handle: FileHandle, atime: string | number | Date, mtime: string | number | Date): Promise<void>;
2440
-
2441
- /**
2442
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
2443
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2444
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2445
- */
2446
- function realpath(path: PathLike, options?: { encoding?: BufferEncoding | null | undefined } | BufferEncoding | null): Promise<string>;
2447
-
2448
- /**
2449
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
2450
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2451
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2452
- */
2453
- function realpath(path: PathLike, options: { encoding: "buffer" } | "buffer"): Promise<Buffer>;
2454
-
2455
- /**
2456
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
2457
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2458
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2459
- */
2460
- function realpath(path: PathLike, options?: { encoding?: string | null | undefined } | string | null): Promise<string | Buffer>;
2461
-
2462
- /**
2463
- * Asynchronously creates a unique temporary directory.
2464
- * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory.
2465
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2466
- */
2467
- function mkdtemp(prefix: string, options?: { encoding?: BufferEncoding | null | undefined } | BufferEncoding | null): Promise<string>;
2468
-
2469
- /**
2470
- * Asynchronously creates a unique temporary directory.
2471
- * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory.
2472
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2473
- */
2474
- function mkdtemp(prefix: string, options: { encoding: "buffer" } | "buffer"): Promise<Buffer>;
2475
-
2476
- /**
2477
- * Asynchronously creates a unique temporary directory.
2478
- * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory.
2479
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2480
- */
2481
- function mkdtemp(prefix: string, options?: { encoding?: string | null | undefined } | string | null): Promise<string | Buffer>;
2482
-
2483
- /**
2484
- * Asynchronously writes data to a file, replacing the file if it already exists.
2485
- * It is unsafe to call `fsPromises.writeFile()` multiple times on the same file without waiting for the `Promise` to be resolved (or rejected).
2486
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2487
- * URL support is _experimental_.
2488
- * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
2489
- * @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string.
2490
- * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
2491
- * If `encoding` is not supplied, the default of `'utf8'` is used.
2492
- * If `mode` is not supplied, the default of `0o666` is used.
2493
- * If `mode` is a string, it is parsed as an octal integer.
2494
- * If `flag` is not supplied, the default of `'w'` is used.
2495
- */
2496
- function writeFile(
2497
- path: PathLike | FileHandle,
2498
- data: any,
2499
- options?: { encoding?: string | null | undefined, mode?: string | number | undefined, flag?: string | number | undefined } | string | null
2500
- ): Promise<void>;
2501
-
2502
- /**
2503
- * Asynchronously append data to a file, creating the file if it does not exist.
2504
- * @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
2505
- * URL support is _experimental_.
2506
- * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
2507
- * @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string.
2508
- * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
2509
- * If `encoding` is not supplied, the default of `'utf8'` is used.
2510
- * If `mode` is not supplied, the default of `0o666` is used.
2511
- * If `mode` is a string, it is parsed as an octal integer.
2512
- * If `flag` is not supplied, the default of `'a'` is used.
2513
- */
2514
- function appendFile(
2515
- path: PathLike | FileHandle,
2516
- data: any,
2517
- options?: { encoding?: string | null | undefined, mode?: string | number | undefined, flag?: string | number | undefined } | string | null
2518
- ): Promise<void>;
2519
-
2520
- /**
2521
- * Asynchronously reads the entire contents of a file.
2522
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2523
- * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
2524
- * @param options An object that may contain an optional flag.
2525
- * If a flag is not provided, it defaults to `'r'`.
2526
- */
2527
- function readFile(path: PathLike | FileHandle, options?: { encoding?: null | undefined, flag?: string | number | undefined } | null): Promise<Buffer>;
2528
-
2529
- /**
2530
- * Asynchronously reads the entire contents of a file.
2531
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2532
- * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
2533
- * @param options An object that may contain an optional flag.
2534
- * If a flag is not provided, it defaults to `'r'`.
2535
- */
2536
- function readFile(path: PathLike | FileHandle, options: { encoding: BufferEncoding, flag?: string | number | undefined } | BufferEncoding): Promise<string>;
2537
-
2538
- /**
2539
- * Asynchronously reads the entire contents of a file.
2540
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2541
- * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
2542
- * @param options An object that may contain an optional flag.
2543
- * If a flag is not provided, it defaults to `'r'`.
2544
- */
2545
- function readFile(path: PathLike | FileHandle, options?: { encoding?: string | null | undefined, flag?: string | number | undefined } | string | null): Promise<string | Buffer>;
2546
-
2547
- function opendir(path: PathLike, options?: OpenDirOptions): Promise<Dir>;
2548
- }
2549
-
2550
- interface BigIntStats extends StatsBase<bigint> {
2551
- }
2552
-
2553
- class BigIntStats {
2554
- atimeNs: bigint;
2555
- mtimeNs: bigint;
2556
- ctimeNs: bigint;
2557
- birthtimeNs: bigint;
2558
- }
2559
-
2560
- interface BigIntOptions {
2561
- bigint: true;
2562
- }
2563
-
2564
- interface StatOptions {
2565
- bigint: boolean;
2566
- }
2567
- }