nodejs-insta-private-api-mqtt 1.3.25 → 1.3.27

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 (3540) hide show
  1. package/package.json +1 -1
  2. package/dist/node_modules/.package-lock.json +0 -1158
  3. package/dist/node_modules/@babel/runtime/LICENSE +0 -22
  4. package/dist/node_modules/@babel/runtime/README.md +0 -19
  5. package/dist/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -4
  6. package/dist/node_modules/@babel/runtime/helpers/OverloadYield.js +0 -4
  7. package/dist/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -9
  8. package/dist/node_modules/@babel/runtime/helpers/applyDecs.js +0 -236
  9. package/dist/node_modules/@babel/runtime/helpers/applyDecs2203.js +0 -184
  10. package/dist/node_modules/@babel/runtime/helpers/applyDecs2203R.js +0 -191
  11. package/dist/node_modules/@babel/runtime/helpers/applyDecs2301.js +0 -222
  12. package/dist/node_modules/@babel/runtime/helpers/applyDecs2305.js +0 -133
  13. package/dist/node_modules/@babel/runtime/helpers/applyDecs2311.js +0 -124
  14. package/dist/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
  15. package/dist/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
  16. package/dist/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
  17. package/dist/node_modules/@babel/runtime/helpers/assertClassBrand.js +0 -5
  18. package/dist/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
  19. package/dist/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -24
  20. package/dist/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -45
  21. package/dist/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -26
  22. package/dist/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -5
  23. package/dist/node_modules/@babel/runtime/helpers/callSuper.js +0 -7
  24. package/dist/node_modules/@babel/runtime/helpers/checkInRHS.js +0 -6
  25. package/dist/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -4
  26. package/dist/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -10
  27. package/dist/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -4
  28. package/dist/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -7
  29. package/dist/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
  30. package/dist/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -5
  31. package/dist/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -4
  32. package/dist/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -5
  33. package/dist/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -4
  34. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -7
  35. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -7
  36. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +0 -5
  37. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -5
  38. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -5
  39. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -5
  40. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -7
  41. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +0 -5
  42. package/dist/node_modules/@babel/runtime/helpers/classPrivateGetter.js +0 -5
  43. package/dist/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -5
  44. package/dist/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -5
  45. package/dist/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -4
  46. package/dist/node_modules/@babel/runtime/helpers/classPrivateSetter.js +0 -5
  47. package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -7
  48. package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -7
  49. package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -7
  50. package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -5
  51. package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -4
  52. package/dist/node_modules/@babel/runtime/helpers/construct.js +0 -10
  53. package/dist/node_modules/@babel/runtime/helpers/createClass.js +0 -13
  54. package/dist/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -50
  55. package/dist/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -19
  56. package/dist/node_modules/@babel/runtime/helpers/createSuper.js +0 -16
  57. package/dist/node_modules/@babel/runtime/helpers/decorate.js +0 -250
  58. package/dist/node_modules/@babel/runtime/helpers/defaults.js +0 -9
  59. package/dist/node_modules/@babel/runtime/helpers/defineAccessor.js +0 -8
  60. package/dist/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -12
  61. package/dist/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
  62. package/dist/node_modules/@babel/runtime/helpers/dispose.js +0 -28
  63. package/dist/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -4
  64. package/dist/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +0 -4
  65. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -9
  66. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -236
  67. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +0 -184
  68. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +0 -191
  69. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +0 -222
  70. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +0 -133
  71. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +0 -124
  72. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -6
  73. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -4
  74. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -5
  75. package/dist/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +0 -5
  76. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -5
  77. package/dist/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -24
  78. package/dist/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -45
  79. package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -26
  80. package/dist/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -5
  81. package/dist/node_modules/@babel/runtime/helpers/esm/callSuper.js +0 -7
  82. package/dist/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +0 -6
  83. package/dist/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -4
  84. package/dist/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -10
  85. package/dist/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -4
  86. package/dist/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -7
  87. package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -4
  88. package/dist/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  89. package/dist/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -4
  90. package/dist/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -5
  91. package/dist/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -4
  92. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -7
  93. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -7
  94. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +0 -5
  95. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  96. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -5
  97. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -5
  98. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  99. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +0 -5
  100. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +0 -5
  101. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -5
  102. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  103. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -4
  104. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +0 -5
  105. package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -7
  106. package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -7
  107. package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -7
  108. package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  109. package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -4
  110. package/dist/node_modules/@babel/runtime/helpers/esm/construct.js +0 -10
  111. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -13
  112. package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -50
  113. package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -19
  114. package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -16
  115. package/dist/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -250
  116. package/dist/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -9
  117. package/dist/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +0 -8
  118. package/dist/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -12
  119. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -10
  120. package/dist/node_modules/@babel/runtime/helpers/esm/dispose.js +0 -28
  121. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -10
  122. package/dist/node_modules/@babel/runtime/helpers/esm/get.js +0 -11
  123. package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  124. package/dist/node_modules/@babel/runtime/helpers/esm/identity.js +0 -4
  125. package/dist/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +0 -27
  126. package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -14
  127. package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -5
  128. package/dist/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  129. package/dist/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -4
  130. package/dist/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -4
  131. package/dist/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -6
  132. package/dist/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -22
  133. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -8
  134. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -9
  135. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -4
  136. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -28
  137. package/dist/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -22
  138. package/dist/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  139. package/dist/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -4
  140. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -4
  141. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -4
  142. package/dist/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +0 -4
  143. package/dist/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -4
  144. package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -14
  145. package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -23
  146. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
  147. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -10
  148. package/dist/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  149. package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -8
  150. package/dist/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -4
  151. package/dist/node_modules/@babel/runtime/helpers/esm/regenerator.js +0 -89
  152. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +0 -8
  153. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +0 -6
  154. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -33
  155. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +0 -22
  156. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +0 -10
  157. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -77
  158. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +0 -19
  159. package/dist/node_modules/@babel/runtime/helpers/esm/set.js +0 -22
  160. package/dist/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +0 -12
  161. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -6
  162. package/dist/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  163. package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -8
  164. package/dist/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -6
  165. package/dist/node_modules/@babel/runtime/helpers/esm/superPropGet.js +0 -9
  166. package/dist/node_modules/@babel/runtime/helpers/esm/superPropSet.js +0 -6
  167. package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -8
  168. package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -4
  169. package/dist/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -4
  170. package/dist/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -6
  171. package/dist/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -2
  172. package/dist/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -8
  173. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -8
  174. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -12
  175. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -7
  176. package/dist/node_modules/@babel/runtime/helpers/esm/toSetter.js +0 -10
  177. package/dist/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +0 -6
  178. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -10
  179. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  180. package/dist/node_modules/@babel/runtime/helpers/esm/using.js +0 -12
  181. package/dist/node_modules/@babel/runtime/helpers/esm/usingCtx.js +0 -59
  182. package/dist/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -69
  183. package/dist/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -27
  184. package/dist/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -52
  185. package/dist/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -4
  186. package/dist/node_modules/@babel/runtime/helpers/extends.js +0 -10
  187. package/dist/node_modules/@babel/runtime/helpers/get.js +0 -11
  188. package/dist/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
  189. package/dist/node_modules/@babel/runtime/helpers/identity.js +0 -4
  190. package/dist/node_modules/@babel/runtime/helpers/importDeferProxy.js +0 -27
  191. package/dist/node_modules/@babel/runtime/helpers/inherits.js +0 -14
  192. package/dist/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -5
  193. package/dist/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -9
  194. package/dist/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -4
  195. package/dist/node_modules/@babel/runtime/helpers/instanceof.js +0 -4
  196. package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
  197. package/dist/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -22
  198. package/dist/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -8
  199. package/dist/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -9
  200. package/dist/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
  201. package/dist/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
  202. package/dist/node_modules/@babel/runtime/helpers/jsx.js +0 -22
  203. package/dist/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -9
  204. package/dist/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -4
  205. package/dist/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
  206. package/dist/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
  207. package/dist/node_modules/@babel/runtime/helpers/nullishReceiverError.js +0 -4
  208. package/dist/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -4
  209. package/dist/node_modules/@babel/runtime/helpers/objectSpread.js +0 -14
  210. package/dist/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -23
  211. package/dist/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -13
  212. package/dist/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -10
  213. package/dist/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
  214. package/dist/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -4
  215. package/dist/node_modules/@babel/runtime/helpers/regenerator.js +0 -89
  216. package/dist/node_modules/@babel/runtime/helpers/regeneratorAsync.js +0 -8
  217. package/dist/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +0 -6
  218. package/dist/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +0 -33
  219. package/dist/node_modules/@babel/runtime/helpers/regeneratorDefine.js +0 -22
  220. package/dist/node_modules/@babel/runtime/helpers/regeneratorKeys.js +0 -10
  221. package/dist/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -77
  222. package/dist/node_modules/@babel/runtime/helpers/regeneratorValues.js +0 -19
  223. package/dist/node_modules/@babel/runtime/helpers/set.js +0 -22
  224. package/dist/node_modules/@babel/runtime/helpers/setFunctionName.js +0 -12
  225. package/dist/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
  226. package/dist/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -7
  227. package/dist/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
  228. package/dist/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
  229. package/dist/node_modules/@babel/runtime/helpers/superPropGet.js +0 -9
  230. package/dist/node_modules/@babel/runtime/helpers/superPropSet.js +0 -6
  231. package/dist/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -8
  232. package/dist/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -4
  233. package/dist/node_modules/@babel/runtime/helpers/tdz.js +0 -4
  234. package/dist/node_modules/@babel/runtime/helpers/temporalRef.js +0 -6
  235. package/dist/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -2
  236. package/dist/node_modules/@babel/runtime/helpers/toArray.js +0 -8
  237. package/dist/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
  238. package/dist/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
  239. package/dist/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
  240. package/dist/node_modules/@babel/runtime/helpers/toSetter.js +0 -10
  241. package/dist/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +0 -6
  242. package/dist/node_modules/@babel/runtime/helpers/typeof.js +0 -10
  243. package/dist/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
  244. package/dist/node_modules/@babel/runtime/helpers/using.js +0 -12
  245. package/dist/node_modules/@babel/runtime/helpers/usingCtx.js +0 -59
  246. package/dist/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -69
  247. package/dist/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -27
  248. package/dist/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -52
  249. package/dist/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -4
  250. package/dist/node_modules/@babel/runtime/package.json +0 -1107
  251. package/dist/node_modules/@babel/runtime/regenerator/index.js +0 -15
  252. package/dist/node_modules/@protobufjs/aspromise/LICENSE +0 -26
  253. package/dist/node_modules/@protobufjs/aspromise/README.md +0 -13
  254. package/dist/node_modules/@protobufjs/aspromise/index.d.ts +0 -13
  255. package/dist/node_modules/@protobufjs/aspromise/index.js +0 -52
  256. package/dist/node_modules/@protobufjs/aspromise/package.json +0 -21
  257. package/dist/node_modules/@protobufjs/aspromise/tests/index.js +0 -130
  258. package/dist/node_modules/@protobufjs/base64/LICENSE +0 -26
  259. package/dist/node_modules/@protobufjs/base64/README.md +0 -19
  260. package/dist/node_modules/@protobufjs/base64/index.d.ts +0 -32
  261. package/dist/node_modules/@protobufjs/base64/index.js +0 -139
  262. package/dist/node_modules/@protobufjs/base64/package.json +0 -21
  263. package/dist/node_modules/@protobufjs/base64/tests/index.js +0 -46
  264. package/dist/node_modules/@protobufjs/codegen/LICENSE +0 -26
  265. package/dist/node_modules/@protobufjs/codegen/README.md +0 -49
  266. package/dist/node_modules/@protobufjs/codegen/index.d.ts +0 -31
  267. package/dist/node_modules/@protobufjs/codegen/index.js +0 -99
  268. package/dist/node_modules/@protobufjs/codegen/package.json +0 -13
  269. package/dist/node_modules/@protobufjs/codegen/tests/index.js +0 -13
  270. package/dist/node_modules/@protobufjs/eventemitter/LICENSE +0 -26
  271. package/dist/node_modules/@protobufjs/eventemitter/README.md +0 -22
  272. package/dist/node_modules/@protobufjs/eventemitter/index.d.ts +0 -43
  273. package/dist/node_modules/@protobufjs/eventemitter/index.js +0 -76
  274. package/dist/node_modules/@protobufjs/eventemitter/package.json +0 -21
  275. package/dist/node_modules/@protobufjs/eventemitter/tests/index.js +0 -47
  276. package/dist/node_modules/@protobufjs/fetch/LICENSE +0 -26
  277. package/dist/node_modules/@protobufjs/fetch/README.md +0 -13
  278. package/dist/node_modules/@protobufjs/fetch/index.d.ts +0 -56
  279. package/dist/node_modules/@protobufjs/fetch/index.js +0 -115
  280. package/dist/node_modules/@protobufjs/fetch/package.json +0 -25
  281. package/dist/node_modules/@protobufjs/fetch/tests/index.js +0 -16
  282. package/dist/node_modules/@protobufjs/float/LICENSE +0 -26
  283. package/dist/node_modules/@protobufjs/float/README.md +0 -102
  284. package/dist/node_modules/@protobufjs/float/bench/index.js +0 -87
  285. package/dist/node_modules/@protobufjs/float/bench/suite.js +0 -46
  286. package/dist/node_modules/@protobufjs/float/index.d.ts +0 -83
  287. package/dist/node_modules/@protobufjs/float/index.js +0 -335
  288. package/dist/node_modules/@protobufjs/float/package.json +0 -26
  289. package/dist/node_modules/@protobufjs/float/tests/index.js +0 -100
  290. package/dist/node_modules/@protobufjs/inquire/LICENSE +0 -26
  291. package/dist/node_modules/@protobufjs/inquire/README.md +0 -13
  292. package/dist/node_modules/@protobufjs/inquire/index.d.ts +0 -9
  293. package/dist/node_modules/@protobufjs/inquire/index.js +0 -17
  294. package/dist/node_modules/@protobufjs/inquire/package.json +0 -21
  295. package/dist/node_modules/@protobufjs/inquire/tests/data/array.js +0 -1
  296. package/dist/node_modules/@protobufjs/inquire/tests/data/emptyArray.js +0 -1
  297. package/dist/node_modules/@protobufjs/inquire/tests/data/emptyObject.js +0 -1
  298. package/dist/node_modules/@protobufjs/inquire/tests/data/object.js +0 -1
  299. package/dist/node_modules/@protobufjs/inquire/tests/index.js +0 -20
  300. package/dist/node_modules/@protobufjs/path/LICENSE +0 -26
  301. package/dist/node_modules/@protobufjs/path/README.md +0 -19
  302. package/dist/node_modules/@protobufjs/path/index.d.ts +0 -22
  303. package/dist/node_modules/@protobufjs/path/index.js +0 -65
  304. package/dist/node_modules/@protobufjs/path/package.json +0 -21
  305. package/dist/node_modules/@protobufjs/path/tests/index.js +0 -60
  306. package/dist/node_modules/@protobufjs/pool/LICENSE +0 -26
  307. package/dist/node_modules/@protobufjs/pool/README.md +0 -13
  308. package/dist/node_modules/@protobufjs/pool/index.d.ts +0 -32
  309. package/dist/node_modules/@protobufjs/pool/index.js +0 -48
  310. package/dist/node_modules/@protobufjs/pool/package.json +0 -21
  311. package/dist/node_modules/@protobufjs/pool/tests/index.js +0 -33
  312. package/dist/node_modules/@protobufjs/utf8/LICENSE +0 -26
  313. package/dist/node_modules/@protobufjs/utf8/README.md +0 -20
  314. package/dist/node_modules/@protobufjs/utf8/index.d.ts +0 -24
  315. package/dist/node_modules/@protobufjs/utf8/index.js +0 -105
  316. package/dist/node_modules/@protobufjs/utf8/package.json +0 -21
  317. package/dist/node_modules/@protobufjs/utf8/tests/data/utf8.txt +0 -216
  318. package/dist/node_modules/@protobufjs/utf8/tests/index.js +0 -57
  319. package/dist/node_modules/@types/node/LICENSE +0 -21
  320. package/dist/node_modules/@types/node/README.md +0 -15
  321. package/dist/node_modules/@types/node/assert/strict.d.ts +0 -105
  322. package/dist/node_modules/@types/node/assert.d.ts +0 -955
  323. package/dist/node_modules/@types/node/async_hooks.d.ts +0 -623
  324. package/dist/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  325. package/dist/node_modules/@types/node/buffer.d.ts +0 -1810
  326. package/dist/node_modules/@types/node/child_process.d.ts +0 -1428
  327. package/dist/node_modules/@types/node/cluster.d.ts +0 -486
  328. package/dist/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  329. package/dist/node_modules/@types/node/console.d.ts +0 -151
  330. package/dist/node_modules/@types/node/constants.d.ts +0 -20
  331. package/dist/node_modules/@types/node/crypto.d.ts +0 -4065
  332. package/dist/node_modules/@types/node/dgram.d.ts +0 -564
  333. package/dist/node_modules/@types/node/diagnostics_channel.d.ts +0 -576
  334. package/dist/node_modules/@types/node/dns/promises.d.ts +0 -503
  335. package/dist/node_modules/@types/node/dns.d.ts +0 -922
  336. package/dist/node_modules/@types/node/domain.d.ts +0 -166
  337. package/dist/node_modules/@types/node/events.d.ts +0 -1054
  338. package/dist/node_modules/@types/node/fs/promises.d.ts +0 -1329
  339. package/dist/node_modules/@types/node/fs.d.ts +0 -4676
  340. package/dist/node_modules/@types/node/globals.d.ts +0 -150
  341. package/dist/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  342. package/dist/node_modules/@types/node/http.d.ts +0 -2143
  343. package/dist/node_modules/@types/node/http2.d.ts +0 -2480
  344. package/dist/node_modules/@types/node/https.d.ts +0 -399
  345. package/dist/node_modules/@types/node/index.d.ts +0 -115
  346. package/dist/node_modules/@types/node/inspector/promises.d.ts +0 -41
  347. package/dist/node_modules/@types/node/inspector.d.ts +0 -224
  348. package/dist/node_modules/@types/node/inspector.generated.d.ts +0 -4226
  349. package/dist/node_modules/@types/node/module.d.ts +0 -819
  350. package/dist/node_modules/@types/node/net.d.ts +0 -933
  351. package/dist/node_modules/@types/node/os.d.ts +0 -507
  352. package/dist/node_modules/@types/node/package.json +0 -155
  353. package/dist/node_modules/@types/node/path/posix.d.ts +0 -8
  354. package/dist/node_modules/@types/node/path/win32.d.ts +0 -8
  355. package/dist/node_modules/@types/node/path.d.ts +0 -187
  356. package/dist/node_modules/@types/node/perf_hooks.d.ts +0 -621
  357. package/dist/node_modules/@types/node/process.d.ts +0 -2111
  358. package/dist/node_modules/@types/node/punycode.d.ts +0 -117
  359. package/dist/node_modules/@types/node/querystring.d.ts +0 -152
  360. package/dist/node_modules/@types/node/quic.d.ts +0 -910
  361. package/dist/node_modules/@types/node/readline/promises.d.ts +0 -161
  362. package/dist/node_modules/@types/node/readline.d.ts +0 -541
  363. package/dist/node_modules/@types/node/repl.d.ts +0 -415
  364. package/dist/node_modules/@types/node/sea.d.ts +0 -162
  365. package/dist/node_modules/@types/node/sqlite.d.ts +0 -937
  366. package/dist/node_modules/@types/node/stream/consumers.d.ts +0 -38
  367. package/dist/node_modules/@types/node/stream/promises.d.ts +0 -211
  368. package/dist/node_modules/@types/node/stream/web.d.ts +0 -296
  369. package/dist/node_modules/@types/node/stream.d.ts +0 -1760
  370. package/dist/node_modules/@types/node/string_decoder.d.ts +0 -67
  371. package/dist/node_modules/@types/node/test/reporters.d.ts +0 -96
  372. package/dist/node_modules/@types/node/test.d.ts +0 -2239
  373. package/dist/node_modules/@types/node/timers/promises.d.ts +0 -108
  374. package/dist/node_modules/@types/node/timers.d.ts +0 -159
  375. package/dist/node_modules/@types/node/tls.d.ts +0 -1198
  376. package/dist/node_modules/@types/node/trace_events.d.ts +0 -197
  377. package/dist/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  378. package/dist/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  379. package/dist/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  380. package/dist/node_modules/@types/node/ts5.6/index.d.ts +0 -117
  381. package/dist/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  382. package/dist/node_modules/@types/node/ts5.7/index.d.ts +0 -117
  383. package/dist/node_modules/@types/node/tty.d.ts +0 -250
  384. package/dist/node_modules/@types/node/url.d.ts +0 -519
  385. package/dist/node_modules/@types/node/util/types.d.ts +0 -558
  386. package/dist/node_modules/@types/node/util.d.ts +0 -1653
  387. package/dist/node_modules/@types/node/v8.d.ts +0 -979
  388. package/dist/node_modules/@types/node/vm.d.ts +0 -1180
  389. package/dist/node_modules/@types/node/wasi.d.ts +0 -202
  390. package/dist/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  391. package/dist/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  392. package/dist/node_modules/@types/node/web-globals/console.d.ts +0 -9
  393. package/dist/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  394. package/dist/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  395. package/dist/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  396. package/dist/node_modules/@types/node/web-globals/events.d.ts +0 -106
  397. package/dist/node_modules/@types/node/web-globals/fetch.d.ts +0 -54
  398. package/dist/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  399. package/dist/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  400. package/dist/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  401. package/dist/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  402. package/dist/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  403. package/dist/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  404. package/dist/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  405. package/dist/node_modules/@types/node/web-globals/url.d.ts +0 -24
  406. package/dist/node_modules/@types/node/worker_threads.d.ts +0 -717
  407. package/dist/node_modules/@types/node/zlib.d.ts +0 -618
  408. package/dist/node_modules/@types/readable-stream/LICENSE +0 -21
  409. package/dist/node_modules/@types/readable-stream/README.md +0 -15
  410. package/dist/node_modules/@types/readable-stream/index.d.ts +0 -686
  411. package/dist/node_modules/@types/readable-stream/package.json +0 -38
  412. package/dist/node_modules/@types/ws/LICENSE +0 -21
  413. package/dist/node_modules/@types/ws/README.md +0 -15
  414. package/dist/node_modules/@types/ws/index.d.mts +0 -451
  415. package/dist/node_modules/@types/ws/index.d.ts +0 -445
  416. package/dist/node_modules/@types/ws/package.json +0 -72
  417. package/dist/node_modules/abort-controller/LICENSE +0 -21
  418. package/dist/node_modules/abort-controller/README.md +0 -98
  419. package/dist/node_modules/abort-controller/browser.js +0 -13
  420. package/dist/node_modules/abort-controller/browser.mjs +0 -11
  421. package/dist/node_modules/abort-controller/dist/abort-controller.d.ts +0 -43
  422. package/dist/node_modules/abort-controller/dist/abort-controller.js +0 -127
  423. package/dist/node_modules/abort-controller/dist/abort-controller.js.map +0 -1
  424. package/dist/node_modules/abort-controller/dist/abort-controller.mjs +0 -118
  425. package/dist/node_modules/abort-controller/dist/abort-controller.mjs.map +0 -1
  426. package/dist/node_modules/abort-controller/dist/abort-controller.umd.js +0 -5
  427. package/dist/node_modules/abort-controller/dist/abort-controller.umd.js.map +0 -1
  428. package/dist/node_modules/abort-controller/package.json +0 -97
  429. package/dist/node_modules/abort-controller/polyfill.js +0 -21
  430. package/dist/node_modules/abort-controller/polyfill.mjs +0 -19
  431. package/dist/node_modules/asynckit/LICENSE +0 -21
  432. package/dist/node_modules/asynckit/README.md +0 -233
  433. package/dist/node_modules/asynckit/bench.js +0 -76
  434. package/dist/node_modules/asynckit/index.js +0 -6
  435. package/dist/node_modules/asynckit/lib/abort.js +0 -29
  436. package/dist/node_modules/asynckit/lib/async.js +0 -34
  437. package/dist/node_modules/asynckit/lib/defer.js +0 -26
  438. package/dist/node_modules/asynckit/lib/iterate.js +0 -75
  439. package/dist/node_modules/asynckit/lib/readable_asynckit.js +0 -91
  440. package/dist/node_modules/asynckit/lib/readable_parallel.js +0 -25
  441. package/dist/node_modules/asynckit/lib/readable_serial.js +0 -25
  442. package/dist/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
  443. package/dist/node_modules/asynckit/lib/state.js +0 -37
  444. package/dist/node_modules/asynckit/lib/streamify.js +0 -141
  445. package/dist/node_modules/asynckit/lib/terminator.js +0 -29
  446. package/dist/node_modules/asynckit/package.json +0 -63
  447. package/dist/node_modules/asynckit/parallel.js +0 -43
  448. package/dist/node_modules/asynckit/serial.js +0 -17
  449. package/dist/node_modules/asynckit/serialOrdered.js +0 -75
  450. package/dist/node_modules/asynckit/stream.js +0 -21
  451. package/dist/node_modules/axios/CHANGELOG.md +0 -1359
  452. package/dist/node_modules/axios/LICENSE +0 -7
  453. package/dist/node_modules/axios/MIGRATION_GUIDE.md +0 -3
  454. package/dist/node_modules/axios/README.md +0 -1784
  455. package/dist/node_modules/axios/dist/axios.js +0 -4471
  456. package/dist/node_modules/axios/dist/axios.js.map +0 -1
  457. package/dist/node_modules/axios/dist/axios.min.js +0 -3
  458. package/dist/node_modules/axios/dist/axios.min.js.map +0 -1
  459. package/dist/node_modules/axios/dist/browser/axios.cjs +0 -3909
  460. package/dist/node_modules/axios/dist/browser/axios.cjs.map +0 -1
  461. package/dist/node_modules/axios/dist/esm/axios.js +0 -3932
  462. package/dist/node_modules/axios/dist/esm/axios.js.map +0 -1
  463. package/dist/node_modules/axios/dist/esm/axios.min.js +0 -3
  464. package/dist/node_modules/axios/dist/esm/axios.min.js.map +0 -1
  465. package/dist/node_modules/axios/dist/node/axios.cjs +0 -5242
  466. package/dist/node_modules/axios/dist/node/axios.cjs.map +0 -1
  467. package/dist/node_modules/axios/index.d.cts +0 -572
  468. package/dist/node_modules/axios/index.d.ts +0 -585
  469. package/dist/node_modules/axios/index.js +0 -43
  470. package/dist/node_modules/axios/lib/adapters/README.md +0 -37
  471. package/dist/node_modules/axios/lib/adapters/adapters.js +0 -126
  472. package/dist/node_modules/axios/lib/adapters/fetch.js +0 -288
  473. package/dist/node_modules/axios/lib/adapters/http.js +0 -895
  474. package/dist/node_modules/axios/lib/adapters/xhr.js +0 -200
  475. package/dist/node_modules/axios/lib/axios.js +0 -89
  476. package/dist/node_modules/axios/lib/cancel/CancelToken.js +0 -135
  477. package/dist/node_modules/axios/lib/cancel/CanceledError.js +0 -25
  478. package/dist/node_modules/axios/lib/cancel/isCancel.js +0 -5
  479. package/dist/node_modules/axios/lib/core/Axios.js +0 -240
  480. package/dist/node_modules/axios/lib/core/AxiosError.js +0 -110
  481. package/dist/node_modules/axios/lib/core/AxiosHeaders.js +0 -314
  482. package/dist/node_modules/axios/lib/core/InterceptorManager.js +0 -71
  483. package/dist/node_modules/axios/lib/core/README.md +0 -8
  484. package/dist/node_modules/axios/lib/core/buildFullPath.js +0 -22
  485. package/dist/node_modules/axios/lib/core/dispatchRequest.js +0 -81
  486. package/dist/node_modules/axios/lib/core/mergeConfig.js +0 -106
  487. package/dist/node_modules/axios/lib/core/settle.js +0 -27
  488. package/dist/node_modules/axios/lib/core/transformData.js +0 -28
  489. package/dist/node_modules/axios/lib/defaults/index.js +0 -161
  490. package/dist/node_modules/axios/lib/defaults/transitional.js +0 -7
  491. package/dist/node_modules/axios/lib/env/README.md +0 -3
  492. package/dist/node_modules/axios/lib/env/classes/FormData.js +0 -2
  493. package/dist/node_modules/axios/lib/env/data.js +0 -1
  494. package/dist/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -143
  495. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -58
  496. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -77
  497. package/dist/node_modules/axios/lib/helpers/README.md +0 -7
  498. package/dist/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -28
  499. package/dist/node_modules/axios/lib/helpers/bind.js +0 -14
  500. package/dist/node_modules/axios/lib/helpers/buildURL.js +0 -67
  501. package/dist/node_modules/axios/lib/helpers/callbackify.js +0 -16
  502. package/dist/node_modules/axios/lib/helpers/combineURLs.js +0 -15
  503. package/dist/node_modules/axios/lib/helpers/composeSignals.js +0 -48
  504. package/dist/node_modules/axios/lib/helpers/cookies.js +0 -53
  505. package/dist/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -26
  506. package/dist/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +0 -73
  507. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +0 -95
  508. package/dist/node_modules/axios/lib/helpers/formDataToStream.js +0 -112
  509. package/dist/node_modules/axios/lib/helpers/fromDataURI.js +0 -53
  510. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -15
  511. package/dist/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
  512. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -14
  513. package/dist/node_modules/axios/lib/helpers/null.js +0 -2
  514. package/dist/node_modules/axios/lib/helpers/parseHeaders.js +0 -55
  515. package/dist/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
  516. package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +0 -44
  517. package/dist/node_modules/axios/lib/helpers/readBlob.js +0 -15
  518. package/dist/node_modules/axios/lib/helpers/resolveConfig.js +0 -61
  519. package/dist/node_modules/axios/lib/helpers/speedometer.js +0 -55
  520. package/dist/node_modules/axios/lib/helpers/spread.js +0 -28
  521. package/dist/node_modules/axios/lib/helpers/throttle.js +0 -44
  522. package/dist/node_modules/axios/lib/helpers/toFormData.js +0 -223
  523. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -19
  524. package/dist/node_modules/axios/lib/helpers/trackStream.js +0 -87
  525. package/dist/node_modules/axios/lib/helpers/validator.js +0 -99
  526. package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -3
  527. package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
  528. package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -4
  529. package/dist/node_modules/axios/lib/platform/browser/index.js +0 -13
  530. package/dist/node_modules/axios/lib/platform/common/utils.js +0 -51
  531. package/dist/node_modules/axios/lib/platform/index.js +0 -7
  532. package/dist/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
  533. package/dist/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -4
  534. package/dist/node_modules/axios/lib/platform/node/index.js +0 -38
  535. package/dist/node_modules/axios/lib/utils.js +0 -782
  536. package/dist/node_modules/axios/package.json +0 -239
  537. package/dist/node_modules/base64-js/LICENSE +0 -21
  538. package/dist/node_modules/base64-js/README.md +0 -34
  539. package/dist/node_modules/base64-js/base64js.min.js +0 -1
  540. package/dist/node_modules/base64-js/index.d.ts +0 -3
  541. package/dist/node_modules/base64-js/index.js +0 -150
  542. package/dist/node_modules/base64-js/package.json +0 -47
  543. package/dist/node_modules/bl/.github/dependabot.yml +0 -16
  544. package/dist/node_modules/bl/.github/workflows/test-and-release.yml +0 -61
  545. package/dist/node_modules/bl/BufferList.d.ts +0 -431
  546. package/dist/node_modules/bl/BufferList.js +0 -421
  547. package/dist/node_modules/bl/CHANGELOG.md +0 -221
  548. package/dist/node_modules/bl/LICENSE.md +0 -13
  549. package/dist/node_modules/bl/README.md +0 -259
  550. package/dist/node_modules/bl/bl.js +0 -84
  551. package/dist/node_modules/bl/index.d.ts +0 -88
  552. package/dist/node_modules/bl/package.json +0 -123
  553. package/dist/node_modules/bl/test/convert.js +0 -21
  554. package/dist/node_modules/bl/test/indexOf.js +0 -492
  555. package/dist/node_modules/bl/test/isBufferList.js +0 -32
  556. package/dist/node_modules/bl/test/test.js +0 -1032
  557. package/dist/node_modules/broker-factory/LICENSE +0 -21
  558. package/dist/node_modules/broker-factory/README.md +0 -5
  559. package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.d.ts +0 -9
  560. package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.d.ts.map +0 -1
  561. package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.js +0 -43
  562. package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.js.map +0 -1
  563. package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.d.ts +0 -8
  564. package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.d.ts.map +0 -1
  565. package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.js +0 -10
  566. package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.js.map +0 -1
  567. package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.d.ts +0 -5
  568. package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.d.ts.map +0 -1
  569. package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.js +0 -24
  570. package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.js.map +0 -1
  571. package/dist/node_modules/broker-factory/build/es2019/guards/message-port.d.ts +0 -2
  572. package/dist/node_modules/broker-factory/build/es2019/guards/message-port.d.ts.map +0 -1
  573. package/dist/node_modules/broker-factory/build/es2019/guards/message-port.js +0 -4
  574. package/dist/node_modules/broker-factory/build/es2019/guards/message-port.js.map +0 -1
  575. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.d.ts +0 -6
  576. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.d.ts.map +0 -1
  577. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.js +0 -2
  578. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.js.map +0 -1
  579. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.d.ts +0 -4
  580. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.d.ts.map +0 -1
  581. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.js +0 -2
  582. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.js.map +0 -1
  583. package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.d.ts +0 -7
  584. package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.d.ts.map +0 -1
  585. package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.js +0 -2
  586. package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.js.map +0 -1
  587. package/dist/node_modules/broker-factory/build/es2019/interfaces/index.d.ts +0 -5
  588. package/dist/node_modules/broker-factory/build/es2019/interfaces/index.d.ts.map +0 -1
  589. package/dist/node_modules/broker-factory/build/es2019/interfaces/index.js +0 -5
  590. package/dist/node_modules/broker-factory/build/es2019/interfaces/index.js.map +0 -1
  591. package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.d.ts +0 -5
  592. package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.d.ts.map +0 -1
  593. package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.js +0 -2
  594. package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.js.map +0 -1
  595. package/dist/node_modules/broker-factory/build/es2019/module.d.ts +0 -4
  596. package/dist/node_modules/broker-factory/build/es2019/module.d.ts.map +0 -1
  597. package/dist/node_modules/broker-factory/build/es2019/module.js +0 -13
  598. package/dist/node_modules/broker-factory/build/es2019/module.js.map +0 -1
  599. package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.d.ts +0 -6
  600. package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.d.ts.map +0 -1
  601. package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.js +0 -2
  602. package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.js.map +0 -1
  603. package/dist/node_modules/broker-factory/build/es2019/types/index.d.ts +0 -2
  604. package/dist/node_modules/broker-factory/build/es2019/types/index.d.ts.map +0 -1
  605. package/dist/node_modules/broker-factory/build/es2019/types/index.js +0 -2
  606. package/dist/node_modules/broker-factory/build/es2019/types/index.js.map +0 -1
  607. package/dist/node_modules/broker-factory/build/es5/bundle.js +0 -166
  608. package/dist/node_modules/broker-factory/package.json +0 -69
  609. package/dist/node_modules/broker-factory/src/factories/create-broker.ts +0 -69
  610. package/dist/node_modules/broker-factory/src/factories/create-or-get-ongoing-requests.ts +0 -14
  611. package/dist/node_modules/broker-factory/src/factories/extend-broker-implementation.ts +0 -37
  612. package/dist/node_modules/broker-factory/src/guards/message-port.ts +0 -3
  613. package/dist/node_modules/broker-factory/src/interfaces/broker-actions.ts +0 -7
  614. package/dist/node_modules/broker-factory/src/interfaces/broker-definition.ts +0 -3
  615. package/dist/node_modules/broker-factory/src/interfaces/default-broker-definition.ts +0 -9
  616. package/dist/node_modules/broker-factory/src/interfaces/index.ts +0 -4
  617. package/dist/node_modules/broker-factory/src/interfaces/worker-event.ts +0 -5
  618. package/dist/node_modules/broker-factory/src/module.ts +0 -19
  619. package/dist/node_modules/broker-factory/src/tsconfig.json +0 -6
  620. package/dist/node_modules/broker-factory/src/types/broker-implementation.ts +0 -6
  621. package/dist/node_modules/broker-factory/src/types/index.ts +0 -1
  622. package/dist/node_modules/buffer/AUTHORS.md +0 -73
  623. package/dist/node_modules/buffer/LICENSE +0 -21
  624. package/dist/node_modules/buffer/README.md +0 -410
  625. package/dist/node_modules/buffer/index.d.ts +0 -194
  626. package/dist/node_modules/buffer/index.js +0 -2106
  627. package/dist/node_modules/buffer/package.json +0 -93
  628. package/dist/node_modules/buffer-from/LICENSE +0 -21
  629. package/dist/node_modules/buffer-from/index.js +0 -72
  630. package/dist/node_modules/buffer-from/package.json +0 -19
  631. package/dist/node_modules/buffer-from/readme.md +0 -69
  632. package/dist/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
  633. package/dist/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
  634. package/dist/node_modules/call-bind-apply-helpers/.nycrc +0 -9
  635. package/dist/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
  636. package/dist/node_modules/call-bind-apply-helpers/LICENSE +0 -21
  637. package/dist/node_modules/call-bind-apply-helpers/README.md +0 -62
  638. package/dist/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
  639. package/dist/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
  640. package/dist/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
  641. package/dist/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
  642. package/dist/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
  643. package/dist/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
  644. package/dist/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
  645. package/dist/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
  646. package/dist/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
  647. package/dist/node_modules/call-bind-apply-helpers/index.js +0 -15
  648. package/dist/node_modules/call-bind-apply-helpers/package.json +0 -85
  649. package/dist/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
  650. package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
  651. package/dist/node_modules/call-bind-apply-helpers/test/index.js +0 -63
  652. package/dist/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
  653. package/dist/node_modules/chance/.eslintignore +0 -4
  654. package/dist/node_modules/chance/.eslintrc.js +0 -280
  655. package/dist/node_modules/chance/.github/pull_request_template.md +0 -24
  656. package/dist/node_modules/chance/.github/workflows/coverage.yml +0 -24
  657. package/dist/node_modules/chance/.github/workflows/docs.yml +0 -34
  658. package/dist/node_modules/chance/.github/workflows/lint.yml +0 -18
  659. package/dist/node_modules/chance/.github/workflows/publish.yml +0 -53
  660. package/dist/node_modules/chance/.github/workflows/tests.yml +0 -23
  661. package/dist/node_modules/chance/LICENSE +0 -21
  662. package/dist/node_modules/chance/README.md +0 -61
  663. package/dist/node_modules/chance/chance.js +0 -11698
  664. package/dist/node_modules/chance/dist/chance.min.js +0 -2
  665. package/dist/node_modules/chance/dist/chance.min.js.map +0 -1
  666. package/dist/node_modules/chance/docs/CNAME +0 -1
  667. package/dist/node_modules/chance/docs/README.md +0 -127
  668. package/dist/node_modules/chance/docs/analytics.js +0 -3
  669. package/dist/node_modules/chance/docs/basics/bool.md +0 -24
  670. package/dist/node_modules/chance/docs/basics/character.md +0 -65
  671. package/dist/node_modules/chance/docs/basics/falsy.md +0 -22
  672. package/dist/node_modules/chance/docs/basics/floating.md +0 -44
  673. package/dist/node_modules/chance/docs/basics/integer.md +0 -42
  674. package/dist/node_modules/chance/docs/basics/letter.md +0 -25
  675. package/dist/node_modules/chance/docs/basics/natural.md +0 -47
  676. package/dist/node_modules/chance/docs/basics/prime.md +0 -41
  677. package/dist/node_modules/chance/docs/basics/string.md +0 -77
  678. package/dist/node_modules/chance/docs/basics/template.md +0 -27
  679. package/dist/node_modules/chance/docs/chance.css +0 -108
  680. package/dist/node_modules/chance/docs/chance.js +0 -7493
  681. package/dist/node_modules/chance/docs/chance.min.js +0 -5
  682. package/dist/node_modules/chance/docs/chance.min.js.map +0 -1
  683. package/dist/node_modules/chance/docs/finance/cc.md +0 -37
  684. package/dist/node_modules/chance/docs/finance/cc_type.md +0 -42
  685. package/dist/node_modules/chance/docs/finance/currency.md +0 -13
  686. package/dist/node_modules/chance/docs/finance/currency_pair.md +0 -13
  687. package/dist/node_modules/chance/docs/finance/dollar.md +0 -30
  688. package/dist/node_modules/chance/docs/finance/euro.md +0 -28
  689. package/dist/node_modules/chance/docs/finance/exp.md +0 -21
  690. package/dist/node_modules/chance/docs/finance/exp_month.md +0 -28
  691. package/dist/node_modules/chance/docs/finance/exp_year.md +0 -15
  692. package/dist/node_modules/chance/docs/helpers/capitalize.md +0 -13
  693. package/dist/node_modules/chance/docs/helpers/mixin.md +0 -90
  694. package/dist/node_modules/chance/docs/helpers/pad.md +0 -40
  695. package/dist/node_modules/chance/docs/helpers/pick.md +0 -9
  696. package/dist/node_modules/chance/docs/helpers/pickone.md +0 -13
  697. package/dist/node_modules/chance/docs/helpers/pickset.md +0 -20
  698. package/dist/node_modules/chance/docs/helpers/set.md +0 -23
  699. package/dist/node_modules/chance/docs/helpers/shuffle.md +0 -13
  700. package/dist/node_modules/chance/docs/inspector.png +0 -0
  701. package/dist/node_modules/chance/docs/intro.md +0 -56
  702. package/dist/node_modules/chance/docs/location/address.md +0 -21
  703. package/dist/node_modules/chance/docs/location/altitude.md +0 -29
  704. package/dist/node_modules/chance/docs/location/areacode.md +0 -16
  705. package/dist/node_modules/chance/docs/location/city.md +0 -13
  706. package/dist/node_modules/chance/docs/location/coordinates.md +0 -34
  707. package/dist/node_modules/chance/docs/location/country.md +0 -23
  708. package/dist/node_modules/chance/docs/location/depth.md +0 -29
  709. package/dist/node_modules/chance/docs/location/geohash.md +0 -21
  710. package/dist/node_modules/chance/docs/location/latitude.md +0 -43
  711. package/dist/node_modules/chance/docs/location/locale.md +0 -25
  712. package/dist/node_modules/chance/docs/location/longitude.md +0 -43
  713. package/dist/node_modules/chance/docs/location/phone.md +0 -48
  714. package/dist/node_modules/chance/docs/location/postal.md +0 -13
  715. package/dist/node_modules/chance/docs/location/postcode.md +0 -13
  716. package/dist/node_modules/chance/docs/location/province.md +0 -33
  717. package/dist/node_modules/chance/docs/location/state.md +0 -62
  718. package/dist/node_modules/chance/docs/location/street.md +0 -37
  719. package/dist/node_modules/chance/docs/location/zip.md +0 -23
  720. package/dist/node_modules/chance/docs/logo.png +0 -0
  721. package/dist/node_modules/chance/docs/miscellaneous/coin.md +0 -16
  722. package/dist/node_modules/chance/docs/miscellaneous/dice.md +0 -29
  723. package/dist/node_modules/chance/docs/miscellaneous/fileWithContent.md +0 -36
  724. package/dist/node_modules/chance/docs/miscellaneous/guid.md +0 -16
  725. package/dist/node_modules/chance/docs/miscellaneous/hash.md +0 -35
  726. package/dist/node_modules/chance/docs/miscellaneous/hidden.md +0 -59
  727. package/dist/node_modules/chance/docs/miscellaneous/n.md +0 -35
  728. package/dist/node_modules/chance/docs/miscellaneous/normal.md +0 -35
  729. package/dist/node_modules/chance/docs/miscellaneous/radio.md +0 -27
  730. package/dist/node_modules/chance/docs/miscellaneous/rpg.md +0 -25
  731. package/dist/node_modules/chance/docs/miscellaneous/tv.md +0 -25
  732. package/dist/node_modules/chance/docs/miscellaneous/unique.md +0 -47
  733. package/dist/node_modules/chance/docs/miscellaneous/weighted.md +0 -55
  734. package/dist/node_modules/chance/docs/mobile/android_id.md +0 -13
  735. package/dist/node_modules/chance/docs/mobile/apple_token.md +0 -13
  736. package/dist/node_modules/chance/docs/mobile/bb_pin.md +0 -13
  737. package/dist/node_modules/chance/docs/mobile/wp7_anid.md +0 -13
  738. package/dist/node_modules/chance/docs/mobile/wp8_anid2.md +0 -13
  739. package/dist/node_modules/chance/docs/music/music_genre.md +0 -43
  740. package/dist/node_modules/chance/docs/music/note.md +0 -33
  741. package/dist/node_modules/chance/docs/music/tempo.md +0 -24
  742. package/dist/node_modules/chance/docs/person/aadhar.md +0 -31
  743. package/dist/node_modules/chance/docs/person/age.md +0 -25
  744. package/dist/node_modules/chance/docs/person/birthday.md +0 -63
  745. package/dist/node_modules/chance/docs/person/cf.md +0 -23
  746. package/dist/node_modules/chance/docs/person/cpf.md +0 -20
  747. package/dist/node_modules/chance/docs/person/first.md +0 -31
  748. package/dist/node_modules/chance/docs/person/gender.md +0 -21
  749. package/dist/node_modules/chance/docs/person/last.md +0 -23
  750. package/dist/node_modules/chance/docs/person/name.md +0 -63
  751. package/dist/node_modules/chance/docs/person/prefix.md +0 -35
  752. package/dist/node_modules/chance/docs/person/ssn.md +0 -29
  753. package/dist/node_modules/chance/docs/person/suffix.md +0 -25
  754. package/dist/node_modules/chance/docs/person/zodiac.md +0 -12
  755. package/dist/node_modules/chance/docs/text/emoji.md +0 -39
  756. package/dist/node_modules/chance/docs/text/paragraph.md +0 -39
  757. package/dist/node_modules/chance/docs/text/sentence.md +0 -28
  758. package/dist/node_modules/chance/docs/text/syllable.md +0 -18
  759. package/dist/node_modules/chance/docs/text/word.md +0 -54
  760. package/dist/node_modules/chance/docs/thing/animal.md +0 -25
  761. package/dist/node_modules/chance/docs/time/ampm.md +0 -13
  762. package/dist/node_modules/chance/docs/time/date.md +0 -66
  763. package/dist/node_modules/chance/docs/time/hammertime.md +0 -25
  764. package/dist/node_modules/chance/docs/time/hour.md +0 -27
  765. package/dist/node_modules/chance/docs/time/millisecond.md +0 -15
  766. package/dist/node_modules/chance/docs/time/minute.md +0 -15
  767. package/dist/node_modules/chance/docs/time/month.md +0 -23
  768. package/dist/node_modules/chance/docs/time/second.md +0 -15
  769. package/dist/node_modules/chance/docs/time/timestamp.md +0 -14
  770. package/dist/node_modules/chance/docs/time/timezone.md +0 -20
  771. package/dist/node_modules/chance/docs/time/weekday.md +0 -16
  772. package/dist/node_modules/chance/docs/time/year.md +0 -31
  773. package/dist/node_modules/chance/docs/usage/bower.md +0 -19
  774. package/dist/node_modules/chance/docs/usage/browser.md +0 -58
  775. package/dist/node_modules/chance/docs/usage/cli.md +0 -19
  776. package/dist/node_modules/chance/docs/usage/function.md +0 -22
  777. package/dist/node_modules/chance/docs/usage/node.md +0 -50
  778. package/dist/node_modules/chance/docs/usage/requirejs.md +0 -13
  779. package/dist/node_modules/chance/docs/usage/seed.md +0 -49
  780. package/dist/node_modules/chance/docs/web/avatar.md +0 -42
  781. package/dist/node_modules/chance/docs/web/color.md +0 -54
  782. package/dist/node_modules/chance/docs/web/company.md +0 -13
  783. package/dist/node_modules/chance/docs/web/domain.md +0 -22
  784. package/dist/node_modules/chance/docs/web/email.md +0 -21
  785. package/dist/node_modules/chance/docs/web/fbid.md +0 -13
  786. package/dist/node_modules/chance/docs/web/google_analytics.md +0 -13
  787. package/dist/node_modules/chance/docs/web/hashtag.md +0 -13
  788. package/dist/node_modules/chance/docs/web/ip.md +0 -14
  789. package/dist/node_modules/chance/docs/web/ipv6.md +0 -14
  790. package/dist/node_modules/chance/docs/web/klout.md +0 -13
  791. package/dist/node_modules/chance/docs/web/mac.md +0 -22
  792. package/dist/node_modules/chance/docs/web/profession.md +0 -21
  793. package/dist/node_modules/chance/docs/web/tld.md +0 -16
  794. package/dist/node_modules/chance/docs/web/twitter.md +0 -13
  795. package/dist/node_modules/chance/docs/web/url.md +0 -53
  796. package/dist/node_modules/chance/gulpfile.js +0 -49
  797. package/dist/node_modules/chance/package.json +0 -69
  798. package/dist/node_modules/chance/test/helpers/phoneNumber.min.js +0 -6
  799. package/dist/node_modules/chance/test/test.address.js +0 -756
  800. package/dist/node_modules/chance/test/test.animal.js +0 -40
  801. package/dist/node_modules/chance/test/test.basic.js +0 -574
  802. package/dist/node_modules/chance/test/test.buffer.js +0 -31
  803. package/dist/node_modules/chance/test/test.company.js +0 -15
  804. package/dist/node_modules/chance/test/test.file.js +0 -116
  805. package/dist/node_modules/chance/test/test.fileWithContent.js +0 -54
  806. package/dist/node_modules/chance/test/test.finance.js +0 -220
  807. package/dist/node_modules/chance/test/test.helpers.js +0 -433
  808. package/dist/node_modules/chance/test/test.misc.js +0 -298
  809. package/dist/node_modules/chance/test/test.mobile.js +0 -29
  810. package/dist/node_modules/chance/test/test.music.js +0 -98
  811. package/dist/node_modules/chance/test/test.normal.js +0 -114
  812. package/dist/node_modules/chance/test/test.person.js +0 -507
  813. package/dist/node_modules/chance/test/test.regional.js +0 -116
  814. package/dist/node_modules/chance/test/test.text.js +0 -160
  815. package/dist/node_modules/chance/test/test.time.js +0 -300
  816. package/dist/node_modules/chance/test/test.web.js +0 -618
  817. package/dist/node_modules/combined-stream/License +0 -19
  818. package/dist/node_modules/combined-stream/Readme.md +0 -138
  819. package/dist/node_modules/combined-stream/lib/combined_stream.js +0 -208
  820. package/dist/node_modules/combined-stream/package.json +0 -25
  821. package/dist/node_modules/combined-stream/yarn.lock +0 -17
  822. package/dist/node_modules/commist/.github/workflows/ci.yml +0 -27
  823. package/dist/node_modules/commist/LICENSE +0 -21
  824. package/dist/node_modules/commist/README.md +0 -113
  825. package/dist/node_modules/commist/example.js +0 -26
  826. package/dist/node_modules/commist/index.js +0 -155
  827. package/dist/node_modules/commist/leven.js +0 -91
  828. package/dist/node_modules/commist/package.json +0 -28
  829. package/dist/node_modules/commist/test.js +0 -368
  830. package/dist/node_modules/concat-stream/LICENSE +0 -24
  831. package/dist/node_modules/concat-stream/index.js +0 -144
  832. package/dist/node_modules/concat-stream/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  833. package/dist/node_modules/concat-stream/node_modules/readable-stream/GOVERNANCE.md +0 -136
  834. package/dist/node_modules/concat-stream/node_modules/readable-stream/LICENSE +0 -47
  835. package/dist/node_modules/concat-stream/node_modules/readable-stream/README.md +0 -106
  836. package/dist/node_modules/concat-stream/node_modules/readable-stream/errors-browser.js +0 -127
  837. package/dist/node_modules/concat-stream/node_modules/readable-stream/errors.js +0 -116
  838. package/dist/node_modules/concat-stream/node_modules/readable-stream/experimentalWarning.js +0 -17
  839. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
  840. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
  841. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
  842. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_transform.js +0 -190
  843. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js +0 -641
  844. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
  845. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
  846. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
  847. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
  848. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  849. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
  850. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
  851. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
  852. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  853. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  854. package/dist/node_modules/concat-stream/node_modules/readable-stream/package.json +0 -68
  855. package/dist/node_modules/concat-stream/node_modules/readable-stream/readable-browser.js +0 -9
  856. package/dist/node_modules/concat-stream/node_modules/readable-stream/readable.js +0 -16
  857. package/dist/node_modules/concat-stream/package.json +0 -55
  858. package/dist/node_modules/concat-stream/readme.md +0 -102
  859. package/dist/node_modules/crypto/README.md +0 -7
  860. package/dist/node_modules/crypto/package.json +0 -19
  861. package/dist/node_modules/data-uri-to-buffer/README.md +0 -88
  862. package/dist/node_modules/data-uri-to-buffer/dist/index.d.ts +0 -15
  863. package/dist/node_modules/data-uri-to-buffer/dist/index.js +0 -53
  864. package/dist/node_modules/data-uri-to-buffer/dist/index.js.map +0 -1
  865. package/dist/node_modules/data-uri-to-buffer/package.json +0 -62
  866. package/dist/node_modules/data-uri-to-buffer/src/index.ts +0 -68
  867. package/dist/node_modules/debug/LICENSE +0 -20
  868. package/dist/node_modules/debug/README.md +0 -481
  869. package/dist/node_modules/debug/package.json +0 -64
  870. package/dist/node_modules/debug/src/browser.js +0 -272
  871. package/dist/node_modules/debug/src/common.js +0 -292
  872. package/dist/node_modules/debug/src/index.js +0 -10
  873. package/dist/node_modules/debug/src/node.js +0 -263
  874. package/dist/node_modules/delayed-stream/License +0 -19
  875. package/dist/node_modules/delayed-stream/Makefile +0 -7
  876. package/dist/node_modules/delayed-stream/Readme.md +0 -141
  877. package/dist/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
  878. package/dist/node_modules/delayed-stream/package.json +0 -27
  879. package/dist/node_modules/dunder-proto/.eslintrc +0 -5
  880. package/dist/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
  881. package/dist/node_modules/dunder-proto/.nycrc +0 -13
  882. package/dist/node_modules/dunder-proto/CHANGELOG.md +0 -24
  883. package/dist/node_modules/dunder-proto/LICENSE +0 -21
  884. package/dist/node_modules/dunder-proto/README.md +0 -54
  885. package/dist/node_modules/dunder-proto/get.d.ts +0 -5
  886. package/dist/node_modules/dunder-proto/get.js +0 -30
  887. package/dist/node_modules/dunder-proto/package.json +0 -76
  888. package/dist/node_modules/dunder-proto/set.d.ts +0 -5
  889. package/dist/node_modules/dunder-proto/set.js +0 -35
  890. package/dist/node_modules/dunder-proto/test/get.js +0 -34
  891. package/dist/node_modules/dunder-proto/test/index.js +0 -4
  892. package/dist/node_modules/dunder-proto/test/set.js +0 -50
  893. package/dist/node_modules/dunder-proto/tsconfig.json +0 -9
  894. package/dist/node_modules/es-define-property/.eslintrc +0 -13
  895. package/dist/node_modules/es-define-property/.github/FUNDING.yml +0 -12
  896. package/dist/node_modules/es-define-property/.nycrc +0 -9
  897. package/dist/node_modules/es-define-property/CHANGELOG.md +0 -29
  898. package/dist/node_modules/es-define-property/LICENSE +0 -21
  899. package/dist/node_modules/es-define-property/README.md +0 -49
  900. package/dist/node_modules/es-define-property/index.d.ts +0 -3
  901. package/dist/node_modules/es-define-property/index.js +0 -14
  902. package/dist/node_modules/es-define-property/package.json +0 -81
  903. package/dist/node_modules/es-define-property/test/index.js +0 -56
  904. package/dist/node_modules/es-define-property/tsconfig.json +0 -10
  905. package/dist/node_modules/es-errors/.eslintrc +0 -5
  906. package/dist/node_modules/es-errors/.github/FUNDING.yml +0 -12
  907. package/dist/node_modules/es-errors/CHANGELOG.md +0 -40
  908. package/dist/node_modules/es-errors/LICENSE +0 -21
  909. package/dist/node_modules/es-errors/README.md +0 -55
  910. package/dist/node_modules/es-errors/eval.d.ts +0 -3
  911. package/dist/node_modules/es-errors/eval.js +0 -4
  912. package/dist/node_modules/es-errors/index.d.ts +0 -3
  913. package/dist/node_modules/es-errors/index.js +0 -4
  914. package/dist/node_modules/es-errors/package.json +0 -80
  915. package/dist/node_modules/es-errors/range.d.ts +0 -3
  916. package/dist/node_modules/es-errors/range.js +0 -4
  917. package/dist/node_modules/es-errors/ref.d.ts +0 -3
  918. package/dist/node_modules/es-errors/ref.js +0 -4
  919. package/dist/node_modules/es-errors/syntax.d.ts +0 -3
  920. package/dist/node_modules/es-errors/syntax.js +0 -4
  921. package/dist/node_modules/es-errors/test/index.js +0 -19
  922. package/dist/node_modules/es-errors/tsconfig.json +0 -49
  923. package/dist/node_modules/es-errors/type.d.ts +0 -3
  924. package/dist/node_modules/es-errors/type.js +0 -4
  925. package/dist/node_modules/es-errors/uri.d.ts +0 -3
  926. package/dist/node_modules/es-errors/uri.js +0 -4
  927. package/dist/node_modules/es-object-atoms/.eslintrc +0 -16
  928. package/dist/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
  929. package/dist/node_modules/es-object-atoms/CHANGELOG.md +0 -37
  930. package/dist/node_modules/es-object-atoms/LICENSE +0 -21
  931. package/dist/node_modules/es-object-atoms/README.md +0 -63
  932. package/dist/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
  933. package/dist/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
  934. package/dist/node_modules/es-object-atoms/ToObject.d.ts +0 -7
  935. package/dist/node_modules/es-object-atoms/ToObject.js +0 -10
  936. package/dist/node_modules/es-object-atoms/index.d.ts +0 -3
  937. package/dist/node_modules/es-object-atoms/index.js +0 -4
  938. package/dist/node_modules/es-object-atoms/isObject.d.ts +0 -3
  939. package/dist/node_modules/es-object-atoms/isObject.js +0 -6
  940. package/dist/node_modules/es-object-atoms/package.json +0 -80
  941. package/dist/node_modules/es-object-atoms/test/index.js +0 -38
  942. package/dist/node_modules/es-object-atoms/tsconfig.json +0 -6
  943. package/dist/node_modules/es-set-tostringtag/.eslintrc +0 -13
  944. package/dist/node_modules/es-set-tostringtag/.nycrc +0 -9
  945. package/dist/node_modules/es-set-tostringtag/CHANGELOG.md +0 -67
  946. package/dist/node_modules/es-set-tostringtag/LICENSE +0 -21
  947. package/dist/node_modules/es-set-tostringtag/README.md +0 -53
  948. package/dist/node_modules/es-set-tostringtag/index.d.ts +0 -10
  949. package/dist/node_modules/es-set-tostringtag/index.js +0 -35
  950. package/dist/node_modules/es-set-tostringtag/package.json +0 -78
  951. package/dist/node_modules/es-set-tostringtag/test/index.js +0 -85
  952. package/dist/node_modules/es-set-tostringtag/tsconfig.json +0 -9
  953. package/dist/node_modules/event-target-shim/LICENSE +0 -22
  954. package/dist/node_modules/event-target-shim/README.md +0 -293
  955. package/dist/node_modules/event-target-shim/dist/event-target-shim.js +0 -871
  956. package/dist/node_modules/event-target-shim/dist/event-target-shim.js.map +0 -1
  957. package/dist/node_modules/event-target-shim/dist/event-target-shim.mjs +0 -862
  958. package/dist/node_modules/event-target-shim/dist/event-target-shim.mjs.map +0 -1
  959. package/dist/node_modules/event-target-shim/dist/event-target-shim.umd.js +0 -6
  960. package/dist/node_modules/event-target-shim/dist/event-target-shim.umd.js.map +0 -1
  961. package/dist/node_modules/event-target-shim/index.d.ts +0 -399
  962. package/dist/node_modules/event-target-shim/package.json +0 -82
  963. package/dist/node_modules/eventemitter3/LICENSE +0 -21
  964. package/dist/node_modules/eventemitter3/README.md +0 -94
  965. package/dist/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -347
  966. package/dist/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -1
  967. package/dist/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -1
  968. package/dist/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -355
  969. package/dist/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -1
  970. package/dist/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -1
  971. package/dist/node_modules/eventemitter3/index.d.ts +0 -135
  972. package/dist/node_modules/eventemitter3/index.js +0 -336
  973. package/dist/node_modules/eventemitter3/index.mjs +0 -4
  974. package/dist/node_modules/eventemitter3/package.json +0 -67
  975. package/dist/node_modules/events/.airtap.yml +0 -15
  976. package/dist/node_modules/events/.github/FUNDING.yml +0 -12
  977. package/dist/node_modules/events/.travis.yml +0 -18
  978. package/dist/node_modules/events/History.md +0 -118
  979. package/dist/node_modules/events/LICENSE +0 -22
  980. package/dist/node_modules/events/Readme.md +0 -50
  981. package/dist/node_modules/events/events.js +0 -497
  982. package/dist/node_modules/events/package.json +0 -37
  983. package/dist/node_modules/events/security.md +0 -10
  984. package/dist/node_modules/events/tests/add-listeners.js +0 -111
  985. package/dist/node_modules/events/tests/check-listener-leaks.js +0 -101
  986. package/dist/node_modules/events/tests/common.js +0 -104
  987. package/dist/node_modules/events/tests/errors.js +0 -13
  988. package/dist/node_modules/events/tests/events-list.js +0 -28
  989. package/dist/node_modules/events/tests/events-once.js +0 -234
  990. package/dist/node_modules/events/tests/index.js +0 -64
  991. package/dist/node_modules/events/tests/legacy-compat.js +0 -16
  992. package/dist/node_modules/events/tests/listener-count.js +0 -37
  993. package/dist/node_modules/events/tests/listeners-side-effects.js +0 -56
  994. package/dist/node_modules/events/tests/listeners.js +0 -168
  995. package/dist/node_modules/events/tests/max-listeners.js +0 -47
  996. package/dist/node_modules/events/tests/method-names.js +0 -35
  997. package/dist/node_modules/events/tests/modify-in-emit.js +0 -90
  998. package/dist/node_modules/events/tests/num-args.js +0 -60
  999. package/dist/node_modules/events/tests/once.js +0 -83
  1000. package/dist/node_modules/events/tests/prepend.js +0 -31
  1001. package/dist/node_modules/events/tests/remove-all-listeners.js +0 -133
  1002. package/dist/node_modules/events/tests/remove-listeners.js +0 -212
  1003. package/dist/node_modules/events/tests/set-max-listeners-side-effects.js +0 -31
  1004. package/dist/node_modules/events/tests/special-event-names.js +0 -45
  1005. package/dist/node_modules/events/tests/subclass.js +0 -66
  1006. package/dist/node_modules/events/tests/symbols.js +0 -25
  1007. package/dist/node_modules/fast-unique-numbers/LICENSE +0 -21
  1008. package/dist/node_modules/fast-unique-numbers/README.md +0 -55
  1009. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.d.ts +0 -3
  1010. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.d.ts.map +0 -1
  1011. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.js +0 -8
  1012. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.js.map +0 -1
  1013. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.d.ts +0 -2
  1014. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.d.ts.map +0 -1
  1015. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.js +0 -7
  1016. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.js.map +0 -1
  1017. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.d.ts +0 -3
  1018. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.d.ts.map +0 -1
  1019. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.js +0 -46
  1020. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.js.map +0 -1
  1021. package/dist/node_modules/fast-unique-numbers/build/es2019/module.d.ts +0 -4
  1022. package/dist/node_modules/fast-unique-numbers/build/es2019/module.d.ts.map +0 -1
  1023. package/dist/node_modules/fast-unique-numbers/build/es2019/module.js +0 -9
  1024. package/dist/node_modules/fast-unique-numbers/build/es2019/module.js.map +0 -1
  1025. package/dist/node_modules/fast-unique-numbers/build/es5/bundle.js +0 -76
  1026. package/dist/node_modules/fast-unique-numbers/build/node/factories/add-unique-number.js +0 -14
  1027. package/dist/node_modules/fast-unique-numbers/build/node/factories/cache.js +0 -13
  1028. package/dist/node_modules/fast-unique-numbers/build/node/factories/generate-unique-number.js +0 -52
  1029. package/dist/node_modules/fast-unique-numbers/build/node/module.js +0 -13
  1030. package/dist/node_modules/fast-unique-numbers/package.json +0 -95
  1031. package/dist/node_modules/fast-unique-numbers/src/factories/add-unique-number.ts +0 -11
  1032. package/dist/node_modules/fast-unique-numbers/src/factories/cache.ts +0 -7
  1033. package/dist/node_modules/fast-unique-numbers/src/factories/generate-unique-number.ts +0 -58
  1034. package/dist/node_modules/fast-unique-numbers/src/module.ts +0 -11
  1035. package/dist/node_modules/fast-unique-numbers/src/tsconfig.json +0 -6
  1036. package/dist/node_modules/fetch-blob/LICENSE +0 -21
  1037. package/dist/node_modules/fetch-blob/README.md +0 -106
  1038. package/dist/node_modules/fetch-blob/file.d.ts +0 -2
  1039. package/dist/node_modules/fetch-blob/file.js +0 -49
  1040. package/dist/node_modules/fetch-blob/from.d.ts +0 -26
  1041. package/dist/node_modules/fetch-blob/from.js +0 -100
  1042. package/dist/node_modules/fetch-blob/index.d.ts +0 -3
  1043. package/dist/node_modules/fetch-blob/index.js +0 -250
  1044. package/dist/node_modules/fetch-blob/package.json +0 -56
  1045. package/dist/node_modules/fetch-blob/streams.cjs +0 -51
  1046. package/dist/node_modules/follow-redirects/LICENSE +0 -18
  1047. package/dist/node_modules/follow-redirects/README.md +0 -155
  1048. package/dist/node_modules/follow-redirects/debug.js +0 -15
  1049. package/dist/node_modules/follow-redirects/http.js +0 -1
  1050. package/dist/node_modules/follow-redirects/https.js +0 -1
  1051. package/dist/node_modules/follow-redirects/index.js +0 -686
  1052. package/dist/node_modules/follow-redirects/package.json +0 -58
  1053. package/dist/node_modules/form-data/CHANGELOG.md +0 -659
  1054. package/dist/node_modules/form-data/License +0 -19
  1055. package/dist/node_modules/form-data/README.md +0 -355
  1056. package/dist/node_modules/form-data/index.d.ts +0 -62
  1057. package/dist/node_modules/form-data/lib/browser.js +0 -4
  1058. package/dist/node_modules/form-data/lib/form_data.js +0 -494
  1059. package/dist/node_modules/form-data/lib/populate.js +0 -10
  1060. package/dist/node_modules/form-data/package.json +0 -82
  1061. package/dist/node_modules/formdata-polyfill/FormData.js +0 -441
  1062. package/dist/node_modules/formdata-polyfill/LICENSE +0 -21
  1063. package/dist/node_modules/formdata-polyfill/README.md +0 -145
  1064. package/dist/node_modules/formdata-polyfill/esm.min.d.ts +0 -5
  1065. package/dist/node_modules/formdata-polyfill/esm.min.js +0 -40
  1066. package/dist/node_modules/formdata-polyfill/formdata-to-blob.js +0 -39
  1067. package/dist/node_modules/formdata-polyfill/formdata.min.js +0 -21
  1068. package/dist/node_modules/formdata-polyfill/package.json +0 -50
  1069. package/dist/node_modules/function-bind/.eslintrc +0 -21
  1070. package/dist/node_modules/function-bind/.github/FUNDING.yml +0 -12
  1071. package/dist/node_modules/function-bind/.github/SECURITY.md +0 -3
  1072. package/dist/node_modules/function-bind/.nycrc +0 -13
  1073. package/dist/node_modules/function-bind/CHANGELOG.md +0 -136
  1074. package/dist/node_modules/function-bind/LICENSE +0 -20
  1075. package/dist/node_modules/function-bind/README.md +0 -46
  1076. package/dist/node_modules/function-bind/implementation.js +0 -84
  1077. package/dist/node_modules/function-bind/index.js +0 -5
  1078. package/dist/node_modules/function-bind/package.json +0 -87
  1079. package/dist/node_modules/function-bind/test/.eslintrc +0 -9
  1080. package/dist/node_modules/function-bind/test/index.js +0 -252
  1081. package/dist/node_modules/get-intrinsic/.eslintrc +0 -42
  1082. package/dist/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  1083. package/dist/node_modules/get-intrinsic/.nycrc +0 -9
  1084. package/dist/node_modules/get-intrinsic/CHANGELOG.md +0 -186
  1085. package/dist/node_modules/get-intrinsic/LICENSE +0 -21
  1086. package/dist/node_modules/get-intrinsic/README.md +0 -71
  1087. package/dist/node_modules/get-intrinsic/index.js +0 -378
  1088. package/dist/node_modules/get-intrinsic/package.json +0 -97
  1089. package/dist/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  1090. package/dist/node_modules/get-proto/.eslintrc +0 -10
  1091. package/dist/node_modules/get-proto/.github/FUNDING.yml +0 -12
  1092. package/dist/node_modules/get-proto/.nycrc +0 -9
  1093. package/dist/node_modules/get-proto/CHANGELOG.md +0 -21
  1094. package/dist/node_modules/get-proto/LICENSE +0 -21
  1095. package/dist/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
  1096. package/dist/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
  1097. package/dist/node_modules/get-proto/README.md +0 -50
  1098. package/dist/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
  1099. package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
  1100. package/dist/node_modules/get-proto/index.d.ts +0 -5
  1101. package/dist/node_modules/get-proto/index.js +0 -27
  1102. package/dist/node_modules/get-proto/package.json +0 -81
  1103. package/dist/node_modules/get-proto/test/index.js +0 -68
  1104. package/dist/node_modules/get-proto/tsconfig.json +0 -9
  1105. package/dist/node_modules/gopd/.eslintrc +0 -16
  1106. package/dist/node_modules/gopd/.github/FUNDING.yml +0 -12
  1107. package/dist/node_modules/gopd/CHANGELOG.md +0 -45
  1108. package/dist/node_modules/gopd/LICENSE +0 -21
  1109. package/dist/node_modules/gopd/README.md +0 -40
  1110. package/dist/node_modules/gopd/gOPD.d.ts +0 -1
  1111. package/dist/node_modules/gopd/gOPD.js +0 -4
  1112. package/dist/node_modules/gopd/index.d.ts +0 -5
  1113. package/dist/node_modules/gopd/index.js +0 -15
  1114. package/dist/node_modules/gopd/package.json +0 -77
  1115. package/dist/node_modules/gopd/test/index.js +0 -36
  1116. package/dist/node_modules/gopd/tsconfig.json +0 -9
  1117. package/dist/node_modules/has-symbols/.eslintrc +0 -11
  1118. package/dist/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  1119. package/dist/node_modules/has-symbols/.nycrc +0 -9
  1120. package/dist/node_modules/has-symbols/CHANGELOG.md +0 -91
  1121. package/dist/node_modules/has-symbols/LICENSE +0 -21
  1122. package/dist/node_modules/has-symbols/README.md +0 -46
  1123. package/dist/node_modules/has-symbols/index.d.ts +0 -3
  1124. package/dist/node_modules/has-symbols/index.js +0 -14
  1125. package/dist/node_modules/has-symbols/package.json +0 -111
  1126. package/dist/node_modules/has-symbols/shams.d.ts +0 -3
  1127. package/dist/node_modules/has-symbols/shams.js +0 -45
  1128. package/dist/node_modules/has-symbols/test/index.js +0 -22
  1129. package/dist/node_modules/has-symbols/test/shams/core-js.js +0 -29
  1130. package/dist/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
  1131. package/dist/node_modules/has-symbols/test/tests.js +0 -58
  1132. package/dist/node_modules/has-symbols/tsconfig.json +0 -10
  1133. package/dist/node_modules/has-tostringtag/.eslintrc +0 -5
  1134. package/dist/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
  1135. package/dist/node_modules/has-tostringtag/.nycrc +0 -13
  1136. package/dist/node_modules/has-tostringtag/CHANGELOG.md +0 -42
  1137. package/dist/node_modules/has-tostringtag/LICENSE +0 -21
  1138. package/dist/node_modules/has-tostringtag/README.md +0 -46
  1139. package/dist/node_modules/has-tostringtag/index.d.ts +0 -3
  1140. package/dist/node_modules/has-tostringtag/index.js +0 -8
  1141. package/dist/node_modules/has-tostringtag/package.json +0 -108
  1142. package/dist/node_modules/has-tostringtag/shams.d.ts +0 -3
  1143. package/dist/node_modules/has-tostringtag/shams.js +0 -8
  1144. package/dist/node_modules/has-tostringtag/test/index.js +0 -21
  1145. package/dist/node_modules/has-tostringtag/test/shams/core-js.js +0 -31
  1146. package/dist/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -30
  1147. package/dist/node_modules/has-tostringtag/test/tests.js +0 -15
  1148. package/dist/node_modules/has-tostringtag/tsconfig.json +0 -49
  1149. package/dist/node_modules/hasown/.eslintrc +0 -5
  1150. package/dist/node_modules/hasown/.github/FUNDING.yml +0 -12
  1151. package/dist/node_modules/hasown/.nycrc +0 -13
  1152. package/dist/node_modules/hasown/CHANGELOG.md +0 -40
  1153. package/dist/node_modules/hasown/LICENSE +0 -21
  1154. package/dist/node_modules/hasown/README.md +0 -40
  1155. package/dist/node_modules/hasown/index.d.ts +0 -3
  1156. package/dist/node_modules/hasown/index.js +0 -8
  1157. package/dist/node_modules/hasown/package.json +0 -92
  1158. package/dist/node_modules/hasown/tsconfig.json +0 -6
  1159. package/dist/node_modules/help-me/.github/workflows/ci.yml +0 -28
  1160. package/dist/node_modules/help-me/LICENSE +0 -22
  1161. package/dist/node_modules/help-me/README.md +0 -66
  1162. package/dist/node_modules/help-me/doc/hello.txt +0 -1
  1163. package/dist/node_modules/help-me/doc/help.txt +0 -5
  1164. package/dist/node_modules/help-me/example.js +0 -18
  1165. package/dist/node_modules/help-me/fixture/basic/hello.txt +0 -1
  1166. package/dist/node_modules/help-me/fixture/basic/help.txt +0 -1
  1167. package/dist/node_modules/help-me/fixture/dir/a/b.txt +0 -0
  1168. package/dist/node_modules/help-me/fixture/no-ext/hello +0 -1
  1169. package/dist/node_modules/help-me/fixture/sameprefix/hello world.txt +0 -1
  1170. package/dist/node_modules/help-me/fixture/sameprefix/hello.txt +0 -1
  1171. package/dist/node_modules/help-me/fixture/shortnames/abcde fghi lmno.txt +0 -1
  1172. package/dist/node_modules/help-me/fixture/shortnames/abcde hello.txt +0 -1
  1173. package/dist/node_modules/help-me/fixture/shortnames/hello world.txt +0 -1
  1174. package/dist/node_modules/help-me/help-me.js +0 -134
  1175. package/dist/node_modules/help-me/package.json +0 -36
  1176. package/dist/node_modules/help-me/test.js +0 -316
  1177. package/dist/node_modules/ieee754/LICENSE +0 -11
  1178. package/dist/node_modules/ieee754/README.md +0 -51
  1179. package/dist/node_modules/ieee754/index.d.ts +0 -10
  1180. package/dist/node_modules/ieee754/index.js +0 -85
  1181. package/dist/node_modules/ieee754/package.json +0 -52
  1182. package/dist/node_modules/inherits/LICENSE +0 -16
  1183. package/dist/node_modules/inherits/README.md +0 -42
  1184. package/dist/node_modules/inherits/inherits.js +0 -9
  1185. package/dist/node_modules/inherits/inherits_browser.js +0 -27
  1186. package/dist/node_modules/inherits/package.json +0 -29
  1187. package/dist/node_modules/ip-address/LICENSE +0 -19
  1188. package/dist/node_modules/ip-address/README.md +0 -105
  1189. package/dist/node_modules/ip-address/dist/address-error.d.ts +0 -5
  1190. package/dist/node_modules/ip-address/dist/address-error.d.ts.map +0 -1
  1191. package/dist/node_modules/ip-address/dist/address-error.js +0 -12
  1192. package/dist/node_modules/ip-address/dist/address-error.js.map +0 -1
  1193. package/dist/node_modules/ip-address/dist/common.d.ts +0 -15
  1194. package/dist/node_modules/ip-address/dist/common.d.ts.map +0 -1
  1195. package/dist/node_modules/ip-address/dist/common.js +0 -46
  1196. package/dist/node_modules/ip-address/dist/common.js.map +0 -1
  1197. package/dist/node_modules/ip-address/dist/ip-address.d.ts +0 -8
  1198. package/dist/node_modules/ip-address/dist/ip-address.d.ts.map +0 -1
  1199. package/dist/node_modules/ip-address/dist/ip-address.js +0 -35
  1200. package/dist/node_modules/ip-address/dist/ip-address.js.map +0 -1
  1201. package/dist/node_modules/ip-address/dist/ipv4.d.ts +0 -209
  1202. package/dist/node_modules/ip-address/dist/ipv4.d.ts.map +0 -1
  1203. package/dist/node_modules/ip-address/dist/ipv4.js +0 -360
  1204. package/dist/node_modules/ip-address/dist/ipv4.js.map +0 -1
  1205. package/dist/node_modules/ip-address/dist/ipv6.d.ts +0 -428
  1206. package/dist/node_modules/ip-address/dist/ipv6.d.ts.map +0 -1
  1207. package/dist/node_modules/ip-address/dist/ipv6.js +0 -1003
  1208. package/dist/node_modules/ip-address/dist/ipv6.js.map +0 -1
  1209. package/dist/node_modules/ip-address/dist/v4/constants.d.ts +0 -5
  1210. package/dist/node_modules/ip-address/dist/v4/constants.d.ts.map +0 -1
  1211. package/dist/node_modules/ip-address/dist/v4/constants.js +0 -8
  1212. package/dist/node_modules/ip-address/dist/v4/constants.js.map +0 -1
  1213. package/dist/node_modules/ip-address/dist/v6/constants.d.ts +0 -45
  1214. package/dist/node_modules/ip-address/dist/v6/constants.d.ts.map +0 -1
  1215. package/dist/node_modules/ip-address/dist/v6/constants.js +0 -76
  1216. package/dist/node_modules/ip-address/dist/v6/constants.js.map +0 -1
  1217. package/dist/node_modules/ip-address/dist/v6/helpers.d.ts +0 -18
  1218. package/dist/node_modules/ip-address/dist/v6/helpers.d.ts.map +0 -1
  1219. package/dist/node_modules/ip-address/dist/v6/helpers.js +0 -45
  1220. package/dist/node_modules/ip-address/dist/v6/helpers.js.map +0 -1
  1221. package/dist/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -6
  1222. package/dist/node_modules/ip-address/dist/v6/regular-expressions.d.ts.map +0 -1
  1223. package/dist/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
  1224. package/dist/node_modules/ip-address/dist/v6/regular-expressions.js.map +0 -1
  1225. package/dist/node_modules/ip-address/package.json +0 -78
  1226. package/dist/node_modules/ip-address/src/address-error.ts +0 -11
  1227. package/dist/node_modules/ip-address/src/common.ts +0 -55
  1228. package/dist/node_modules/ip-address/src/ip-address.ts +0 -7
  1229. package/dist/node_modules/ip-address/src/ipv4.ts +0 -394
  1230. package/dist/node_modules/ip-address/src/ipv6.ts +0 -1212
  1231. package/dist/node_modules/ip-address/src/v4/constants.ts +0 -7
  1232. package/dist/node_modules/ip-address/src/v6/constants.ts +0 -79
  1233. package/dist/node_modules/ip-address/src/v6/helpers.ts +0 -48
  1234. package/dist/node_modules/ip-address/src/v6/regular-expressions.ts +0 -94
  1235. package/dist/node_modules/js-sdsl/CHANGELOG.md +0 -211
  1236. package/dist/node_modules/js-sdsl/LICENSE +0 -21
  1237. package/dist/node_modules/js-sdsl/README.md +0 -296
  1238. package/dist/node_modules/js-sdsl/README.zh-CN.md +0 -298
  1239. package/dist/node_modules/js-sdsl/dist/cjs/container/ContainerBase/index.d.ts +0 -206
  1240. package/dist/node_modules/js-sdsl/dist/cjs/container/ContainerBase/index.js +0 -40
  1241. package/dist/node_modules/js-sdsl/dist/cjs/container/ContainerBase/index.js.map +0 -1
  1242. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/Base/index.d.ts +0 -29
  1243. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/Base/index.js +0 -188
  1244. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/Base/index.js.map +0 -1
  1245. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashMap.d.ts +0 -49
  1246. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashMap.js +0 -125
  1247. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashMap.js.map +0 -1
  1248. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashSet.d.ts +0 -39
  1249. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashSet.js +0 -94
  1250. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashSet.js.map +0 -1
  1251. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/PriorityQueue.d.ts +0 -79
  1252. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/PriorityQueue.js +0 -118
  1253. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/PriorityQueue.js.map +0 -1
  1254. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Queue.d.ts +0 -22
  1255. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Queue.js +0 -52
  1256. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Queue.js.map +0 -1
  1257. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Stack.d.ts +0 -22
  1258. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Stack.js +0 -42
  1259. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Stack.js.map +0 -1
  1260. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/RandomIterator.d.ts +0 -9
  1261. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/RandomIterator.js +0 -58
  1262. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/RandomIterator.js.map +0 -1
  1263. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/index.d.ts +0 -67
  1264. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/index.js +0 -16
  1265. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/index.js.map +0 -1
  1266. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Deque.d.ts +0 -58
  1267. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Deque.js +0 -338
  1268. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Deque.js.map +0 -1
  1269. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/LinkList.d.ts +0 -58
  1270. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/LinkList.js +0 -330
  1271. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/LinkList.js.map +0 -1
  1272. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Vector.d.ts +0 -40
  1273. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Vector.js +0 -158
  1274. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Vector.js.map +0 -1
  1275. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeIterator.d.ts +0 -18
  1276. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeIterator.js +0 -80
  1277. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeIterator.js.map +0 -1
  1278. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeNode.d.ts +0 -47
  1279. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeNode.js +0 -115
  1280. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeNode.js.map +0 -1
  1281. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/index.d.ts +0 -58
  1282. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/index.js +0 -514
  1283. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/index.js.map +0 -1
  1284. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedMap.d.ts +0 -62
  1285. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedMap.js +0 -127
  1286. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedMap.js.map +0 -1
  1287. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedSet.d.ts +0 -54
  1288. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedSet.js +0 -107
  1289. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedSet.js.map +0 -1
  1290. package/dist/node_modules/js-sdsl/dist/cjs/index.d.ts +0 -21
  1291. package/dist/node_modules/js-sdsl/dist/cjs/index.js +0 -102
  1292. package/dist/node_modules/js-sdsl/dist/cjs/index.js.map +0 -1
  1293. package/dist/node_modules/js-sdsl/dist/cjs/utils/checkObject.d.ts +0 -1
  1294. package/dist/node_modules/js-sdsl/dist/cjs/utils/checkObject.js +0 -13
  1295. package/dist/node_modules/js-sdsl/dist/cjs/utils/checkObject.js.map +0 -1
  1296. package/dist/node_modules/js-sdsl/dist/cjs/utils/throwError.d.ts +0 -1
  1297. package/dist/node_modules/js-sdsl/dist/cjs/utils/throwError.js +0 -12
  1298. package/dist/node_modules/js-sdsl/dist/cjs/utils/throwError.js.map +0 -1
  1299. package/dist/node_modules/js-sdsl/dist/esm/container/ContainerBase/index.d.ts +0 -206
  1300. package/dist/node_modules/js-sdsl/dist/esm/container/ContainerBase/index.js +0 -68
  1301. package/dist/node_modules/js-sdsl/dist/esm/container/ContainerBase/index.js.map +0 -1
  1302. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/Base/index.d.ts +0 -29
  1303. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/Base/index.js +0 -201
  1304. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/Base/index.js.map +0 -1
  1305. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashMap.d.ts +0 -49
  1306. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashMap.js +0 -248
  1307. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashMap.js.map +0 -1
  1308. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashSet.d.ts +0 -39
  1309. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashSet.js +0 -223
  1310. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashSet.js.map +0 -1
  1311. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/PriorityQueue.d.ts +0 -79
  1312. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/PriorityQueue.js +0 -171
  1313. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/PriorityQueue.js.map +0 -1
  1314. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Queue.d.ts +0 -22
  1315. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Queue.js +0 -69
  1316. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Queue.js.map +0 -1
  1317. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Stack.d.ts +0 -22
  1318. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Stack.js +0 -59
  1319. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Stack.js.map +0 -1
  1320. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/RandomIterator.d.ts +0 -9
  1321. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/RandomIterator.js +0 -78
  1322. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/RandomIterator.js.map +0 -1
  1323. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/index.d.ts +0 -67
  1324. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/index.js +0 -33
  1325. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/index.js.map +0 -1
  1326. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Deque.d.ts +0 -58
  1327. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Deque.js +0 -498
  1328. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Deque.js.map +0 -1
  1329. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/LinkList.d.ts +0 -58
  1330. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/LinkList.js +0 -456
  1331. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/LinkList.js.map +0 -1
  1332. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Vector.d.ts +0 -40
  1333. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Vector.js +0 -323
  1334. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Vector.js.map +0 -1
  1335. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeIterator.d.ts +0 -18
  1336. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeIterator.js +0 -98
  1337. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeIterator.js.map +0 -1
  1338. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeNode.d.ts +0 -47
  1339. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeNode.js +0 -132
  1340. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeNode.js.map +0 -1
  1341. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/index.d.ts +0 -58
  1342. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/index.js +0 -600
  1343. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/index.js.map +0 -1
  1344. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedMap.d.ts +0 -62
  1345. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedMap.js +0 -265
  1346. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedMap.js.map +0 -1
  1347. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedSet.d.ts +0 -54
  1348. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedSet.js +0 -245
  1349. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedSet.js.map +0 -1
  1350. package/dist/node_modules/js-sdsl/dist/esm/index.d.ts +0 -21
  1351. package/dist/node_modules/js-sdsl/dist/esm/index.js +0 -20
  1352. package/dist/node_modules/js-sdsl/dist/esm/index.js.map +0 -1
  1353. package/dist/node_modules/js-sdsl/dist/esm/utils/checkObject.d.ts +0 -1
  1354. package/dist/node_modules/js-sdsl/dist/esm/utils/checkObject.js +0 -5
  1355. package/dist/node_modules/js-sdsl/dist/esm/utils/checkObject.js.map +0 -1
  1356. package/dist/node_modules/js-sdsl/dist/esm/utils/throwError.d.ts +0 -1
  1357. package/dist/node_modules/js-sdsl/dist/esm/utils/throwError.js +0 -4
  1358. package/dist/node_modules/js-sdsl/dist/esm/utils/throwError.js.map +0 -1
  1359. package/dist/node_modules/js-sdsl/dist/umd/js-sdsl.js +0 -3154
  1360. package/dist/node_modules/js-sdsl/dist/umd/js-sdsl.min.js +0 -8
  1361. package/dist/node_modules/js-sdsl/dist/umd/js-sdsl.min.js.map +0 -1
  1362. package/dist/node_modules/js-sdsl/package.json +0 -166
  1363. package/dist/node_modules/lodash/LICENSE +0 -47
  1364. package/dist/node_modules/lodash/README.md +0 -39
  1365. package/dist/node_modules/lodash/_DataView.js +0 -7
  1366. package/dist/node_modules/lodash/_Hash.js +0 -32
  1367. package/dist/node_modules/lodash/_LazyWrapper.js +0 -28
  1368. package/dist/node_modules/lodash/_ListCache.js +0 -32
  1369. package/dist/node_modules/lodash/_LodashWrapper.js +0 -22
  1370. package/dist/node_modules/lodash/_Map.js +0 -7
  1371. package/dist/node_modules/lodash/_MapCache.js +0 -32
  1372. package/dist/node_modules/lodash/_Promise.js +0 -7
  1373. package/dist/node_modules/lodash/_Set.js +0 -7
  1374. package/dist/node_modules/lodash/_SetCache.js +0 -27
  1375. package/dist/node_modules/lodash/_Stack.js +0 -27
  1376. package/dist/node_modules/lodash/_Symbol.js +0 -6
  1377. package/dist/node_modules/lodash/_Uint8Array.js +0 -6
  1378. package/dist/node_modules/lodash/_WeakMap.js +0 -7
  1379. package/dist/node_modules/lodash/_apply.js +0 -21
  1380. package/dist/node_modules/lodash/_arrayAggregator.js +0 -22
  1381. package/dist/node_modules/lodash/_arrayEach.js +0 -22
  1382. package/dist/node_modules/lodash/_arrayEachRight.js +0 -21
  1383. package/dist/node_modules/lodash/_arrayEvery.js +0 -23
  1384. package/dist/node_modules/lodash/_arrayFilter.js +0 -25
  1385. package/dist/node_modules/lodash/_arrayIncludes.js +0 -17
  1386. package/dist/node_modules/lodash/_arrayIncludesWith.js +0 -22
  1387. package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -49
  1388. package/dist/node_modules/lodash/_arrayMap.js +0 -21
  1389. package/dist/node_modules/lodash/_arrayPush.js +0 -20
  1390. package/dist/node_modules/lodash/_arrayReduce.js +0 -26
  1391. package/dist/node_modules/lodash/_arrayReduceRight.js +0 -24
  1392. package/dist/node_modules/lodash/_arraySample.js +0 -15
  1393. package/dist/node_modules/lodash/_arraySampleSize.js +0 -17
  1394. package/dist/node_modules/lodash/_arrayShuffle.js +0 -15
  1395. package/dist/node_modules/lodash/_arraySome.js +0 -23
  1396. package/dist/node_modules/lodash/_asciiSize.js +0 -12
  1397. package/dist/node_modules/lodash/_asciiToArray.js +0 -12
  1398. package/dist/node_modules/lodash/_asciiWords.js +0 -15
  1399. package/dist/node_modules/lodash/_assignMergeValue.js +0 -20
  1400. package/dist/node_modules/lodash/_assignValue.js +0 -28
  1401. package/dist/node_modules/lodash/_assocIndexOf.js +0 -21
  1402. package/dist/node_modules/lodash/_baseAggregator.js +0 -21
  1403. package/dist/node_modules/lodash/_baseAssign.js +0 -17
  1404. package/dist/node_modules/lodash/_baseAssignIn.js +0 -17
  1405. package/dist/node_modules/lodash/_baseAssignValue.js +0 -25
  1406. package/dist/node_modules/lodash/_baseAt.js +0 -23
  1407. package/dist/node_modules/lodash/_baseClamp.js +0 -22
  1408. package/dist/node_modules/lodash/_baseClone.js +0 -166
  1409. package/dist/node_modules/lodash/_baseConforms.js +0 -18
  1410. package/dist/node_modules/lodash/_baseConformsTo.js +0 -27
  1411. package/dist/node_modules/lodash/_baseCreate.js +0 -30
  1412. package/dist/node_modules/lodash/_baseDelay.js +0 -21
  1413. package/dist/node_modules/lodash/_baseDifference.js +0 -67
  1414. package/dist/node_modules/lodash/_baseEach.js +0 -14
  1415. package/dist/node_modules/lodash/_baseEachRight.js +0 -14
  1416. package/dist/node_modules/lodash/_baseEvery.js +0 -21
  1417. package/dist/node_modules/lodash/_baseExtremum.js +0 -32
  1418. package/dist/node_modules/lodash/_baseFill.js +0 -32
  1419. package/dist/node_modules/lodash/_baseFilter.js +0 -21
  1420. package/dist/node_modules/lodash/_baseFindIndex.js +0 -24
  1421. package/dist/node_modules/lodash/_baseFindKey.js +0 -23
  1422. package/dist/node_modules/lodash/_baseFlatten.js +0 -38
  1423. package/dist/node_modules/lodash/_baseFor.js +0 -16
  1424. package/dist/node_modules/lodash/_baseForOwn.js +0 -16
  1425. package/dist/node_modules/lodash/_baseForOwnRight.js +0 -16
  1426. package/dist/node_modules/lodash/_baseForRight.js +0 -15
  1427. package/dist/node_modules/lodash/_baseFunctions.js +0 -19
  1428. package/dist/node_modules/lodash/_baseGet.js +0 -24
  1429. package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -20
  1430. package/dist/node_modules/lodash/_baseGetTag.js +0 -28
  1431. package/dist/node_modules/lodash/_baseGt.js +0 -14
  1432. package/dist/node_modules/lodash/_baseHas.js +0 -19
  1433. package/dist/node_modules/lodash/_baseHasIn.js +0 -13
  1434. package/dist/node_modules/lodash/_baseInRange.js +0 -18
  1435. package/dist/node_modules/lodash/_baseIndexOf.js +0 -20
  1436. package/dist/node_modules/lodash/_baseIndexOfWith.js +0 -23
  1437. package/dist/node_modules/lodash/_baseIntersection.js +0 -74
  1438. package/dist/node_modules/lodash/_baseInverter.js +0 -21
  1439. package/dist/node_modules/lodash/_baseInvoke.js +0 -24
  1440. package/dist/node_modules/lodash/_baseIsArguments.js +0 -18
  1441. package/dist/node_modules/lodash/_baseIsArrayBuffer.js +0 -17
  1442. package/dist/node_modules/lodash/_baseIsDate.js +0 -18
  1443. package/dist/node_modules/lodash/_baseIsEqual.js +0 -28
  1444. package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -83
  1445. package/dist/node_modules/lodash/_baseIsMap.js +0 -18
  1446. package/dist/node_modules/lodash/_baseIsMatch.js +0 -62
  1447. package/dist/node_modules/lodash/_baseIsNaN.js +0 -12
  1448. package/dist/node_modules/lodash/_baseIsNative.js +0 -47
  1449. package/dist/node_modules/lodash/_baseIsRegExp.js +0 -18
  1450. package/dist/node_modules/lodash/_baseIsSet.js +0 -18
  1451. package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -60
  1452. package/dist/node_modules/lodash/_baseIteratee.js +0 -31
  1453. package/dist/node_modules/lodash/_baseKeys.js +0 -30
  1454. package/dist/node_modules/lodash/_baseKeysIn.js +0 -33
  1455. package/dist/node_modules/lodash/_baseLodash.js +0 -10
  1456. package/dist/node_modules/lodash/_baseLt.js +0 -14
  1457. package/dist/node_modules/lodash/_baseMap.js +0 -22
  1458. package/dist/node_modules/lodash/_baseMatches.js +0 -22
  1459. package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -33
  1460. package/dist/node_modules/lodash/_baseMean.js +0 -20
  1461. package/dist/node_modules/lodash/_baseMerge.js +0 -42
  1462. package/dist/node_modules/lodash/_baseMergeDeep.js +0 -94
  1463. package/dist/node_modules/lodash/_baseNth.js +0 -20
  1464. package/dist/node_modules/lodash/_baseOrderBy.js +0 -49
  1465. package/dist/node_modules/lodash/_basePick.js +0 -19
  1466. package/dist/node_modules/lodash/_basePickBy.js +0 -30
  1467. package/dist/node_modules/lodash/_baseProperty.js +0 -14
  1468. package/dist/node_modules/lodash/_basePropertyDeep.js +0 -16
  1469. package/dist/node_modules/lodash/_basePropertyOf.js +0 -14
  1470. package/dist/node_modules/lodash/_basePullAll.js +0 -51
  1471. package/dist/node_modules/lodash/_basePullAt.js +0 -37
  1472. package/dist/node_modules/lodash/_baseRandom.js +0 -18
  1473. package/dist/node_modules/lodash/_baseRange.js +0 -28
  1474. package/dist/node_modules/lodash/_baseReduce.js +0 -23
  1475. package/dist/node_modules/lodash/_baseRepeat.js +0 -35
  1476. package/dist/node_modules/lodash/_baseRest.js +0 -17
  1477. package/dist/node_modules/lodash/_baseSample.js +0 -15
  1478. package/dist/node_modules/lodash/_baseSampleSize.js +0 -18
  1479. package/dist/node_modules/lodash/_baseSet.js +0 -51
  1480. package/dist/node_modules/lodash/_baseSetData.js +0 -17
  1481. package/dist/node_modules/lodash/_baseSetToString.js +0 -22
  1482. package/dist/node_modules/lodash/_baseShuffle.js +0 -15
  1483. package/dist/node_modules/lodash/_baseSlice.js +0 -31
  1484. package/dist/node_modules/lodash/_baseSome.js +0 -22
  1485. package/dist/node_modules/lodash/_baseSortBy.js +0 -21
  1486. package/dist/node_modules/lodash/_baseSortedIndex.js +0 -42
  1487. package/dist/node_modules/lodash/_baseSortedIndexBy.js +0 -67
  1488. package/dist/node_modules/lodash/_baseSortedUniq.js +0 -30
  1489. package/dist/node_modules/lodash/_baseSum.js +0 -24
  1490. package/dist/node_modules/lodash/_baseTimes.js +0 -20
  1491. package/dist/node_modules/lodash/_baseToNumber.js +0 -24
  1492. package/dist/node_modules/lodash/_baseToPairs.js +0 -18
  1493. package/dist/node_modules/lodash/_baseToString.js +0 -37
  1494. package/dist/node_modules/lodash/_baseTrim.js +0 -19
  1495. package/dist/node_modules/lodash/_baseUnary.js +0 -14
  1496. package/dist/node_modules/lodash/_baseUniq.js +0 -72
  1497. package/dist/node_modules/lodash/_baseUnset.js +0 -20
  1498. package/dist/node_modules/lodash/_baseUpdate.js +0 -18
  1499. package/dist/node_modules/lodash/_baseValues.js +0 -19
  1500. package/dist/node_modules/lodash/_baseWhile.js +0 -26
  1501. package/dist/node_modules/lodash/_baseWrapperValue.js +0 -25
  1502. package/dist/node_modules/lodash/_baseXor.js +0 -36
  1503. package/dist/node_modules/lodash/_baseZipObject.js +0 -23
  1504. package/dist/node_modules/lodash/_cacheHas.js +0 -13
  1505. package/dist/node_modules/lodash/_castArrayLikeObject.js +0 -14
  1506. package/dist/node_modules/lodash/_castFunction.js +0 -14
  1507. package/dist/node_modules/lodash/_castPath.js +0 -21
  1508. package/dist/node_modules/lodash/_castRest.js +0 -14
  1509. package/dist/node_modules/lodash/_castSlice.js +0 -18
  1510. package/dist/node_modules/lodash/_charsEndIndex.js +0 -19
  1511. package/dist/node_modules/lodash/_charsStartIndex.js +0 -20
  1512. package/dist/node_modules/lodash/_cloneArrayBuffer.js +0 -16
  1513. package/dist/node_modules/lodash/_cloneBuffer.js +0 -35
  1514. package/dist/node_modules/lodash/_cloneDataView.js +0 -16
  1515. package/dist/node_modules/lodash/_cloneRegExp.js +0 -17
  1516. package/dist/node_modules/lodash/_cloneSymbol.js +0 -18
  1517. package/dist/node_modules/lodash/_cloneTypedArray.js +0 -16
  1518. package/dist/node_modules/lodash/_compareAscending.js +0 -41
  1519. package/dist/node_modules/lodash/_compareMultiple.js +0 -44
  1520. package/dist/node_modules/lodash/_composeArgs.js +0 -39
  1521. package/dist/node_modules/lodash/_composeArgsRight.js +0 -41
  1522. package/dist/node_modules/lodash/_copyArray.js +0 -20
  1523. package/dist/node_modules/lodash/_copyObject.js +0 -40
  1524. package/dist/node_modules/lodash/_copySymbols.js +0 -16
  1525. package/dist/node_modules/lodash/_copySymbolsIn.js +0 -16
  1526. package/dist/node_modules/lodash/_coreJsData.js +0 -6
  1527. package/dist/node_modules/lodash/_countHolders.js +0 -21
  1528. package/dist/node_modules/lodash/_createAggregator.js +0 -23
  1529. package/dist/node_modules/lodash/_createAssigner.js +0 -37
  1530. package/dist/node_modules/lodash/_createBaseEach.js +0 -32
  1531. package/dist/node_modules/lodash/_createBaseFor.js +0 -25
  1532. package/dist/node_modules/lodash/_createBind.js +0 -28
  1533. package/dist/node_modules/lodash/_createCaseFirst.js +0 -33
  1534. package/dist/node_modules/lodash/_createCompounder.js +0 -24
  1535. package/dist/node_modules/lodash/_createCtor.js +0 -37
  1536. package/dist/node_modules/lodash/_createCurry.js +0 -46
  1537. package/dist/node_modules/lodash/_createFind.js +0 -25
  1538. package/dist/node_modules/lodash/_createFlow.js +0 -78
  1539. package/dist/node_modules/lodash/_createHybrid.js +0 -92
  1540. package/dist/node_modules/lodash/_createInverter.js +0 -17
  1541. package/dist/node_modules/lodash/_createMathOperation.js +0 -38
  1542. package/dist/node_modules/lodash/_createOver.js +0 -27
  1543. package/dist/node_modules/lodash/_createPadding.js +0 -33
  1544. package/dist/node_modules/lodash/_createPartial.js +0 -43
  1545. package/dist/node_modules/lodash/_createRange.js +0 -30
  1546. package/dist/node_modules/lodash/_createRecurry.js +0 -56
  1547. package/dist/node_modules/lodash/_createRelationalOperation.js +0 -20
  1548. package/dist/node_modules/lodash/_createRound.js +0 -35
  1549. package/dist/node_modules/lodash/_createSet.js +0 -19
  1550. package/dist/node_modules/lodash/_createToPairs.js +0 -30
  1551. package/dist/node_modules/lodash/_createWrap.js +0 -106
  1552. package/dist/node_modules/lodash/_customDefaultsAssignIn.js +0 -29
  1553. package/dist/node_modules/lodash/_customDefaultsMerge.js +0 -28
  1554. package/dist/node_modules/lodash/_customOmitClone.js +0 -16
  1555. package/dist/node_modules/lodash/_deburrLetter.js +0 -71
  1556. package/dist/node_modules/lodash/_defineProperty.js +0 -11
  1557. package/dist/node_modules/lodash/_equalArrays.js +0 -84
  1558. package/dist/node_modules/lodash/_equalByTag.js +0 -112
  1559. package/dist/node_modules/lodash/_equalObjects.js +0 -90
  1560. package/dist/node_modules/lodash/_escapeHtmlChar.js +0 -21
  1561. package/dist/node_modules/lodash/_escapeStringChar.js +0 -22
  1562. package/dist/node_modules/lodash/_flatRest.js +0 -16
  1563. package/dist/node_modules/lodash/_freeGlobal.js +0 -4
  1564. package/dist/node_modules/lodash/_getAllKeys.js +0 -16
  1565. package/dist/node_modules/lodash/_getAllKeysIn.js +0 -17
  1566. package/dist/node_modules/lodash/_getData.js +0 -15
  1567. package/dist/node_modules/lodash/_getFuncName.js +0 -31
  1568. package/dist/node_modules/lodash/_getHolder.js +0 -13
  1569. package/dist/node_modules/lodash/_getMapData.js +0 -18
  1570. package/dist/node_modules/lodash/_getMatchData.js +0 -24
  1571. package/dist/node_modules/lodash/_getNative.js +0 -17
  1572. package/dist/node_modules/lodash/_getPrototype.js +0 -6
  1573. package/dist/node_modules/lodash/_getRawTag.js +0 -46
  1574. package/dist/node_modules/lodash/_getSymbols.js +0 -30
  1575. package/dist/node_modules/lodash/_getSymbolsIn.js +0 -25
  1576. package/dist/node_modules/lodash/_getTag.js +0 -58
  1577. package/dist/node_modules/lodash/_getValue.js +0 -13
  1578. package/dist/node_modules/lodash/_getView.js +0 -33
  1579. package/dist/node_modules/lodash/_getWrapDetails.js +0 -17
  1580. package/dist/node_modules/lodash/_hasPath.js +0 -39
  1581. package/dist/node_modules/lodash/_hasUnicode.js +0 -26
  1582. package/dist/node_modules/lodash/_hasUnicodeWord.js +0 -15
  1583. package/dist/node_modules/lodash/_hashClear.js +0 -15
  1584. package/dist/node_modules/lodash/_hashDelete.js +0 -17
  1585. package/dist/node_modules/lodash/_hashGet.js +0 -30
  1586. package/dist/node_modules/lodash/_hashHas.js +0 -23
  1587. package/dist/node_modules/lodash/_hashSet.js +0 -23
  1588. package/dist/node_modules/lodash/_initCloneArray.js +0 -26
  1589. package/dist/node_modules/lodash/_initCloneByTag.js +0 -77
  1590. package/dist/node_modules/lodash/_initCloneObject.js +0 -18
  1591. package/dist/node_modules/lodash/_insertWrapDetails.js +0 -23
  1592. package/dist/node_modules/lodash/_isFlattenable.js +0 -20
  1593. package/dist/node_modules/lodash/_isIndex.js +0 -25
  1594. package/dist/node_modules/lodash/_isIterateeCall.js +0 -30
  1595. package/dist/node_modules/lodash/_isKey.js +0 -29
  1596. package/dist/node_modules/lodash/_isKeyable.js +0 -15
  1597. package/dist/node_modules/lodash/_isLaziable.js +0 -28
  1598. package/dist/node_modules/lodash/_isMaskable.js +0 -14
  1599. package/dist/node_modules/lodash/_isMasked.js +0 -20
  1600. package/dist/node_modules/lodash/_isPrototype.js +0 -18
  1601. package/dist/node_modules/lodash/_isStrictComparable.js +0 -15
  1602. package/dist/node_modules/lodash/_iteratorToArray.js +0 -18
  1603. package/dist/node_modules/lodash/_lazyClone.js +0 -23
  1604. package/dist/node_modules/lodash/_lazyReverse.js +0 -23
  1605. package/dist/node_modules/lodash/_lazyValue.js +0 -69
  1606. package/dist/node_modules/lodash/_listCacheClear.js +0 -13
  1607. package/dist/node_modules/lodash/_listCacheDelete.js +0 -35
  1608. package/dist/node_modules/lodash/_listCacheGet.js +0 -19
  1609. package/dist/node_modules/lodash/_listCacheHas.js +0 -16
  1610. package/dist/node_modules/lodash/_listCacheSet.js +0 -26
  1611. package/dist/node_modules/lodash/_mapCacheClear.js +0 -21
  1612. package/dist/node_modules/lodash/_mapCacheDelete.js +0 -18
  1613. package/dist/node_modules/lodash/_mapCacheGet.js +0 -16
  1614. package/dist/node_modules/lodash/_mapCacheHas.js +0 -16
  1615. package/dist/node_modules/lodash/_mapCacheSet.js +0 -22
  1616. package/dist/node_modules/lodash/_mapToArray.js +0 -18
  1617. package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -20
  1618. package/dist/node_modules/lodash/_memoizeCapped.js +0 -26
  1619. package/dist/node_modules/lodash/_mergeData.js +0 -90
  1620. package/dist/node_modules/lodash/_metaMap.js +0 -6
  1621. package/dist/node_modules/lodash/_nativeCreate.js +0 -6
  1622. package/dist/node_modules/lodash/_nativeKeys.js +0 -6
  1623. package/dist/node_modules/lodash/_nativeKeysIn.js +0 -20
  1624. package/dist/node_modules/lodash/_nodeUtil.js +0 -30
  1625. package/dist/node_modules/lodash/_objectToString.js +0 -22
  1626. package/dist/node_modules/lodash/_overArg.js +0 -15
  1627. package/dist/node_modules/lodash/_overRest.js +0 -36
  1628. package/dist/node_modules/lodash/_parent.js +0 -16
  1629. package/dist/node_modules/lodash/_reEscape.js +0 -4
  1630. package/dist/node_modules/lodash/_reEvaluate.js +0 -4
  1631. package/dist/node_modules/lodash/_reInterpolate.js +0 -4
  1632. package/dist/node_modules/lodash/_realNames.js +0 -4
  1633. package/dist/node_modules/lodash/_reorder.js +0 -29
  1634. package/dist/node_modules/lodash/_replaceHolders.js +0 -29
  1635. package/dist/node_modules/lodash/_root.js +0 -9
  1636. package/dist/node_modules/lodash/_safeGet.js +0 -21
  1637. package/dist/node_modules/lodash/_setCacheAdd.js +0 -19
  1638. package/dist/node_modules/lodash/_setCacheHas.js +0 -14
  1639. package/dist/node_modules/lodash/_setData.js +0 -20
  1640. package/dist/node_modules/lodash/_setToArray.js +0 -18
  1641. package/dist/node_modules/lodash/_setToPairs.js +0 -18
  1642. package/dist/node_modules/lodash/_setToString.js +0 -14
  1643. package/dist/node_modules/lodash/_setWrapToString.js +0 -21
  1644. package/dist/node_modules/lodash/_shortOut.js +0 -37
  1645. package/dist/node_modules/lodash/_shuffleSelf.js +0 -28
  1646. package/dist/node_modules/lodash/_stackClear.js +0 -15
  1647. package/dist/node_modules/lodash/_stackDelete.js +0 -18
  1648. package/dist/node_modules/lodash/_stackGet.js +0 -14
  1649. package/dist/node_modules/lodash/_stackHas.js +0 -14
  1650. package/dist/node_modules/lodash/_stackSet.js +0 -34
  1651. package/dist/node_modules/lodash/_strictIndexOf.js +0 -23
  1652. package/dist/node_modules/lodash/_strictLastIndexOf.js +0 -21
  1653. package/dist/node_modules/lodash/_stringSize.js +0 -18
  1654. package/dist/node_modules/lodash/_stringToArray.js +0 -18
  1655. package/dist/node_modules/lodash/_stringToPath.js +0 -27
  1656. package/dist/node_modules/lodash/_toKey.js +0 -21
  1657. package/dist/node_modules/lodash/_toSource.js +0 -26
  1658. package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -19
  1659. package/dist/node_modules/lodash/_unescapeHtmlChar.js +0 -21
  1660. package/dist/node_modules/lodash/_unicodeSize.js +0 -44
  1661. package/dist/node_modules/lodash/_unicodeToArray.js +0 -40
  1662. package/dist/node_modules/lodash/_unicodeWords.js +0 -69
  1663. package/dist/node_modules/lodash/_updateWrapDetails.js +0 -46
  1664. package/dist/node_modules/lodash/_wrapperClone.js +0 -23
  1665. package/dist/node_modules/lodash/add.js +0 -22
  1666. package/dist/node_modules/lodash/after.js +0 -42
  1667. package/dist/node_modules/lodash/array.js +0 -67
  1668. package/dist/node_modules/lodash/ary.js +0 -29
  1669. package/dist/node_modules/lodash/assign.js +0 -58
  1670. package/dist/node_modules/lodash/assignIn.js +0 -40
  1671. package/dist/node_modules/lodash/assignInWith.js +0 -38
  1672. package/dist/node_modules/lodash/assignWith.js +0 -37
  1673. package/dist/node_modules/lodash/at.js +0 -23
  1674. package/dist/node_modules/lodash/attempt.js +0 -35
  1675. package/dist/node_modules/lodash/before.js +0 -40
  1676. package/dist/node_modules/lodash/bind.js +0 -57
  1677. package/dist/node_modules/lodash/bindAll.js +0 -41
  1678. package/dist/node_modules/lodash/bindKey.js +0 -68
  1679. package/dist/node_modules/lodash/camelCase.js +0 -29
  1680. package/dist/node_modules/lodash/capitalize.js +0 -23
  1681. package/dist/node_modules/lodash/castArray.js +0 -44
  1682. package/dist/node_modules/lodash/ceil.js +0 -26
  1683. package/dist/node_modules/lodash/chain.js +0 -38
  1684. package/dist/node_modules/lodash/chunk.js +0 -50
  1685. package/dist/node_modules/lodash/clamp.js +0 -39
  1686. package/dist/node_modules/lodash/clone.js +0 -36
  1687. package/dist/node_modules/lodash/cloneDeep.js +0 -29
  1688. package/dist/node_modules/lodash/cloneDeepWith.js +0 -40
  1689. package/dist/node_modules/lodash/cloneWith.js +0 -42
  1690. package/dist/node_modules/lodash/collection.js +0 -30
  1691. package/dist/node_modules/lodash/commit.js +0 -33
  1692. package/dist/node_modules/lodash/compact.js +0 -31
  1693. package/dist/node_modules/lodash/concat.js +0 -43
  1694. package/dist/node_modules/lodash/cond.js +0 -60
  1695. package/dist/node_modules/lodash/conforms.js +0 -35
  1696. package/dist/node_modules/lodash/conformsTo.js +0 -32
  1697. package/dist/node_modules/lodash/constant.js +0 -26
  1698. package/dist/node_modules/lodash/core.js +0 -3877
  1699. package/dist/node_modules/lodash/core.min.js +0 -29
  1700. package/dist/node_modules/lodash/countBy.js +0 -40
  1701. package/dist/node_modules/lodash/create.js +0 -43
  1702. package/dist/node_modules/lodash/curry.js +0 -57
  1703. package/dist/node_modules/lodash/curryRight.js +0 -54
  1704. package/dist/node_modules/lodash/date.js +0 -3
  1705. package/dist/node_modules/lodash/debounce.js +0 -191
  1706. package/dist/node_modules/lodash/deburr.js +0 -45
  1707. package/dist/node_modules/lodash/defaultTo.js +0 -25
  1708. package/dist/node_modules/lodash/defaults.js +0 -64
  1709. package/dist/node_modules/lodash/defaultsDeep.js +0 -30
  1710. package/dist/node_modules/lodash/defer.js +0 -26
  1711. package/dist/node_modules/lodash/delay.js +0 -28
  1712. package/dist/node_modules/lodash/difference.js +0 -33
  1713. package/dist/node_modules/lodash/differenceBy.js +0 -44
  1714. package/dist/node_modules/lodash/differenceWith.js +0 -40
  1715. package/dist/node_modules/lodash/divide.js +0 -22
  1716. package/dist/node_modules/lodash/drop.js +0 -38
  1717. package/dist/node_modules/lodash/dropRight.js +0 -39
  1718. package/dist/node_modules/lodash/dropRightWhile.js +0 -45
  1719. package/dist/node_modules/lodash/dropWhile.js +0 -45
  1720. package/dist/node_modules/lodash/each.js +0 -1
  1721. package/dist/node_modules/lodash/eachRight.js +0 -1
  1722. package/dist/node_modules/lodash/endsWith.js +0 -43
  1723. package/dist/node_modules/lodash/entries.js +0 -1
  1724. package/dist/node_modules/lodash/entriesIn.js +0 -1
  1725. package/dist/node_modules/lodash/eq.js +0 -37
  1726. package/dist/node_modules/lodash/escape.js +0 -43
  1727. package/dist/node_modules/lodash/escapeRegExp.js +0 -32
  1728. package/dist/node_modules/lodash/every.js +0 -56
  1729. package/dist/node_modules/lodash/extend.js +0 -1
  1730. package/dist/node_modules/lodash/extendWith.js +0 -1
  1731. package/dist/node_modules/lodash/fill.js +0 -45
  1732. package/dist/node_modules/lodash/filter.js +0 -52
  1733. package/dist/node_modules/lodash/find.js +0 -42
  1734. package/dist/node_modules/lodash/findIndex.js +0 -55
  1735. package/dist/node_modules/lodash/findKey.js +0 -44
  1736. package/dist/node_modules/lodash/findLast.js +0 -25
  1737. package/dist/node_modules/lodash/findLastIndex.js +0 -59
  1738. package/dist/node_modules/lodash/findLastKey.js +0 -44
  1739. package/dist/node_modules/lodash/first.js +0 -1
  1740. package/dist/node_modules/lodash/flake.lock +0 -40
  1741. package/dist/node_modules/lodash/flake.nix +0 -20
  1742. package/dist/node_modules/lodash/flatMap.js +0 -29
  1743. package/dist/node_modules/lodash/flatMapDeep.js +0 -31
  1744. package/dist/node_modules/lodash/flatMapDepth.js +0 -31
  1745. package/dist/node_modules/lodash/flatten.js +0 -22
  1746. package/dist/node_modules/lodash/flattenDeep.js +0 -25
  1747. package/dist/node_modules/lodash/flattenDepth.js +0 -33
  1748. package/dist/node_modules/lodash/flip.js +0 -28
  1749. package/dist/node_modules/lodash/floor.js +0 -26
  1750. package/dist/node_modules/lodash/flow.js +0 -27
  1751. package/dist/node_modules/lodash/flowRight.js +0 -26
  1752. package/dist/node_modules/lodash/forEach.js +0 -41
  1753. package/dist/node_modules/lodash/forEachRight.js +0 -31
  1754. package/dist/node_modules/lodash/forIn.js +0 -39
  1755. package/dist/node_modules/lodash/forInRight.js +0 -37
  1756. package/dist/node_modules/lodash/forOwn.js +0 -36
  1757. package/dist/node_modules/lodash/forOwnRight.js +0 -34
  1758. package/dist/node_modules/lodash/fp/F.js +0 -1
  1759. package/dist/node_modules/lodash/fp/T.js +0 -1
  1760. package/dist/node_modules/lodash/fp/__.js +0 -1
  1761. package/dist/node_modules/lodash/fp/_baseConvert.js +0 -569
  1762. package/dist/node_modules/lodash/fp/_convertBrowser.js +0 -18
  1763. package/dist/node_modules/lodash/fp/_falseOptions.js +0 -7
  1764. package/dist/node_modules/lodash/fp/_mapping.js +0 -358
  1765. package/dist/node_modules/lodash/fp/_util.js +0 -16
  1766. package/dist/node_modules/lodash/fp/add.js +0 -5
  1767. package/dist/node_modules/lodash/fp/after.js +0 -5
  1768. package/dist/node_modules/lodash/fp/all.js +0 -1
  1769. package/dist/node_modules/lodash/fp/allPass.js +0 -1
  1770. package/dist/node_modules/lodash/fp/always.js +0 -1
  1771. package/dist/node_modules/lodash/fp/any.js +0 -1
  1772. package/dist/node_modules/lodash/fp/anyPass.js +0 -1
  1773. package/dist/node_modules/lodash/fp/apply.js +0 -1
  1774. package/dist/node_modules/lodash/fp/array.js +0 -2
  1775. package/dist/node_modules/lodash/fp/ary.js +0 -5
  1776. package/dist/node_modules/lodash/fp/assign.js +0 -5
  1777. package/dist/node_modules/lodash/fp/assignAll.js +0 -5
  1778. package/dist/node_modules/lodash/fp/assignAllWith.js +0 -5
  1779. package/dist/node_modules/lodash/fp/assignIn.js +0 -5
  1780. package/dist/node_modules/lodash/fp/assignInAll.js +0 -5
  1781. package/dist/node_modules/lodash/fp/assignInAllWith.js +0 -5
  1782. package/dist/node_modules/lodash/fp/assignInWith.js +0 -5
  1783. package/dist/node_modules/lodash/fp/assignWith.js +0 -5
  1784. package/dist/node_modules/lodash/fp/assoc.js +0 -1
  1785. package/dist/node_modules/lodash/fp/assocPath.js +0 -1
  1786. package/dist/node_modules/lodash/fp/at.js +0 -5
  1787. package/dist/node_modules/lodash/fp/attempt.js +0 -5
  1788. package/dist/node_modules/lodash/fp/before.js +0 -5
  1789. package/dist/node_modules/lodash/fp/bind.js +0 -5
  1790. package/dist/node_modules/lodash/fp/bindAll.js +0 -5
  1791. package/dist/node_modules/lodash/fp/bindKey.js +0 -5
  1792. package/dist/node_modules/lodash/fp/camelCase.js +0 -5
  1793. package/dist/node_modules/lodash/fp/capitalize.js +0 -5
  1794. package/dist/node_modules/lodash/fp/castArray.js +0 -5
  1795. package/dist/node_modules/lodash/fp/ceil.js +0 -5
  1796. package/dist/node_modules/lodash/fp/chain.js +0 -5
  1797. package/dist/node_modules/lodash/fp/chunk.js +0 -5
  1798. package/dist/node_modules/lodash/fp/clamp.js +0 -5
  1799. package/dist/node_modules/lodash/fp/clone.js +0 -5
  1800. package/dist/node_modules/lodash/fp/cloneDeep.js +0 -5
  1801. package/dist/node_modules/lodash/fp/cloneDeepWith.js +0 -5
  1802. package/dist/node_modules/lodash/fp/cloneWith.js +0 -5
  1803. package/dist/node_modules/lodash/fp/collection.js +0 -2
  1804. package/dist/node_modules/lodash/fp/commit.js +0 -5
  1805. package/dist/node_modules/lodash/fp/compact.js +0 -5
  1806. package/dist/node_modules/lodash/fp/complement.js +0 -1
  1807. package/dist/node_modules/lodash/fp/compose.js +0 -1
  1808. package/dist/node_modules/lodash/fp/concat.js +0 -5
  1809. package/dist/node_modules/lodash/fp/cond.js +0 -5
  1810. package/dist/node_modules/lodash/fp/conforms.js +0 -1
  1811. package/dist/node_modules/lodash/fp/conformsTo.js +0 -5
  1812. package/dist/node_modules/lodash/fp/constant.js +0 -5
  1813. package/dist/node_modules/lodash/fp/contains.js +0 -1
  1814. package/dist/node_modules/lodash/fp/convert.js +0 -18
  1815. package/dist/node_modules/lodash/fp/countBy.js +0 -5
  1816. package/dist/node_modules/lodash/fp/create.js +0 -5
  1817. package/dist/node_modules/lodash/fp/curry.js +0 -5
  1818. package/dist/node_modules/lodash/fp/curryN.js +0 -5
  1819. package/dist/node_modules/lodash/fp/curryRight.js +0 -5
  1820. package/dist/node_modules/lodash/fp/curryRightN.js +0 -5
  1821. package/dist/node_modules/lodash/fp/date.js +0 -2
  1822. package/dist/node_modules/lodash/fp/debounce.js +0 -5
  1823. package/dist/node_modules/lodash/fp/deburr.js +0 -5
  1824. package/dist/node_modules/lodash/fp/defaultTo.js +0 -5
  1825. package/dist/node_modules/lodash/fp/defaults.js +0 -5
  1826. package/dist/node_modules/lodash/fp/defaultsAll.js +0 -5
  1827. package/dist/node_modules/lodash/fp/defaultsDeep.js +0 -5
  1828. package/dist/node_modules/lodash/fp/defaultsDeepAll.js +0 -5
  1829. package/dist/node_modules/lodash/fp/defer.js +0 -5
  1830. package/dist/node_modules/lodash/fp/delay.js +0 -5
  1831. package/dist/node_modules/lodash/fp/difference.js +0 -5
  1832. package/dist/node_modules/lodash/fp/differenceBy.js +0 -5
  1833. package/dist/node_modules/lodash/fp/differenceWith.js +0 -5
  1834. package/dist/node_modules/lodash/fp/dissoc.js +0 -1
  1835. package/dist/node_modules/lodash/fp/dissocPath.js +0 -1
  1836. package/dist/node_modules/lodash/fp/divide.js +0 -5
  1837. package/dist/node_modules/lodash/fp/drop.js +0 -5
  1838. package/dist/node_modules/lodash/fp/dropLast.js +0 -1
  1839. package/dist/node_modules/lodash/fp/dropLastWhile.js +0 -1
  1840. package/dist/node_modules/lodash/fp/dropRight.js +0 -5
  1841. package/dist/node_modules/lodash/fp/dropRightWhile.js +0 -5
  1842. package/dist/node_modules/lodash/fp/dropWhile.js +0 -5
  1843. package/dist/node_modules/lodash/fp/each.js +0 -1
  1844. package/dist/node_modules/lodash/fp/eachRight.js +0 -1
  1845. package/dist/node_modules/lodash/fp/endsWith.js +0 -5
  1846. package/dist/node_modules/lodash/fp/entries.js +0 -1
  1847. package/dist/node_modules/lodash/fp/entriesIn.js +0 -1
  1848. package/dist/node_modules/lodash/fp/eq.js +0 -5
  1849. package/dist/node_modules/lodash/fp/equals.js +0 -1
  1850. package/dist/node_modules/lodash/fp/escape.js +0 -5
  1851. package/dist/node_modules/lodash/fp/escapeRegExp.js +0 -5
  1852. package/dist/node_modules/lodash/fp/every.js +0 -5
  1853. package/dist/node_modules/lodash/fp/extend.js +0 -1
  1854. package/dist/node_modules/lodash/fp/extendAll.js +0 -1
  1855. package/dist/node_modules/lodash/fp/extendAllWith.js +0 -1
  1856. package/dist/node_modules/lodash/fp/extendWith.js +0 -1
  1857. package/dist/node_modules/lodash/fp/fill.js +0 -5
  1858. package/dist/node_modules/lodash/fp/filter.js +0 -5
  1859. package/dist/node_modules/lodash/fp/find.js +0 -5
  1860. package/dist/node_modules/lodash/fp/findFrom.js +0 -5
  1861. package/dist/node_modules/lodash/fp/findIndex.js +0 -5
  1862. package/dist/node_modules/lodash/fp/findIndexFrom.js +0 -5
  1863. package/dist/node_modules/lodash/fp/findKey.js +0 -5
  1864. package/dist/node_modules/lodash/fp/findLast.js +0 -5
  1865. package/dist/node_modules/lodash/fp/findLastFrom.js +0 -5
  1866. package/dist/node_modules/lodash/fp/findLastIndex.js +0 -5
  1867. package/dist/node_modules/lodash/fp/findLastIndexFrom.js +0 -5
  1868. package/dist/node_modules/lodash/fp/findLastKey.js +0 -5
  1869. package/dist/node_modules/lodash/fp/first.js +0 -1
  1870. package/dist/node_modules/lodash/fp/flatMap.js +0 -5
  1871. package/dist/node_modules/lodash/fp/flatMapDeep.js +0 -5
  1872. package/dist/node_modules/lodash/fp/flatMapDepth.js +0 -5
  1873. package/dist/node_modules/lodash/fp/flatten.js +0 -5
  1874. package/dist/node_modules/lodash/fp/flattenDeep.js +0 -5
  1875. package/dist/node_modules/lodash/fp/flattenDepth.js +0 -5
  1876. package/dist/node_modules/lodash/fp/flip.js +0 -5
  1877. package/dist/node_modules/lodash/fp/floor.js +0 -5
  1878. package/dist/node_modules/lodash/fp/flow.js +0 -5
  1879. package/dist/node_modules/lodash/fp/flowRight.js +0 -5
  1880. package/dist/node_modules/lodash/fp/forEach.js +0 -5
  1881. package/dist/node_modules/lodash/fp/forEachRight.js +0 -5
  1882. package/dist/node_modules/lodash/fp/forIn.js +0 -5
  1883. package/dist/node_modules/lodash/fp/forInRight.js +0 -5
  1884. package/dist/node_modules/lodash/fp/forOwn.js +0 -5
  1885. package/dist/node_modules/lodash/fp/forOwnRight.js +0 -5
  1886. package/dist/node_modules/lodash/fp/fromPairs.js +0 -5
  1887. package/dist/node_modules/lodash/fp/function.js +0 -2
  1888. package/dist/node_modules/lodash/fp/functions.js +0 -5
  1889. package/dist/node_modules/lodash/fp/functionsIn.js +0 -5
  1890. package/dist/node_modules/lodash/fp/get.js +0 -5
  1891. package/dist/node_modules/lodash/fp/getOr.js +0 -5
  1892. package/dist/node_modules/lodash/fp/groupBy.js +0 -5
  1893. package/dist/node_modules/lodash/fp/gt.js +0 -5
  1894. package/dist/node_modules/lodash/fp/gte.js +0 -5
  1895. package/dist/node_modules/lodash/fp/has.js +0 -5
  1896. package/dist/node_modules/lodash/fp/hasIn.js +0 -5
  1897. package/dist/node_modules/lodash/fp/head.js +0 -5
  1898. package/dist/node_modules/lodash/fp/identical.js +0 -1
  1899. package/dist/node_modules/lodash/fp/identity.js +0 -5
  1900. package/dist/node_modules/lodash/fp/inRange.js +0 -5
  1901. package/dist/node_modules/lodash/fp/includes.js +0 -5
  1902. package/dist/node_modules/lodash/fp/includesFrom.js +0 -5
  1903. package/dist/node_modules/lodash/fp/indexBy.js +0 -1
  1904. package/dist/node_modules/lodash/fp/indexOf.js +0 -5
  1905. package/dist/node_modules/lodash/fp/indexOfFrom.js +0 -5
  1906. package/dist/node_modules/lodash/fp/init.js +0 -1
  1907. package/dist/node_modules/lodash/fp/initial.js +0 -5
  1908. package/dist/node_modules/lodash/fp/intersection.js +0 -5
  1909. package/dist/node_modules/lodash/fp/intersectionBy.js +0 -5
  1910. package/dist/node_modules/lodash/fp/intersectionWith.js +0 -5
  1911. package/dist/node_modules/lodash/fp/invert.js +0 -5
  1912. package/dist/node_modules/lodash/fp/invertBy.js +0 -5
  1913. package/dist/node_modules/lodash/fp/invertObj.js +0 -1
  1914. package/dist/node_modules/lodash/fp/invoke.js +0 -5
  1915. package/dist/node_modules/lodash/fp/invokeArgs.js +0 -5
  1916. package/dist/node_modules/lodash/fp/invokeArgsMap.js +0 -5
  1917. package/dist/node_modules/lodash/fp/invokeMap.js +0 -5
  1918. package/dist/node_modules/lodash/fp/isArguments.js +0 -5
  1919. package/dist/node_modules/lodash/fp/isArray.js +0 -5
  1920. package/dist/node_modules/lodash/fp/isArrayBuffer.js +0 -5
  1921. package/dist/node_modules/lodash/fp/isArrayLike.js +0 -5
  1922. package/dist/node_modules/lodash/fp/isArrayLikeObject.js +0 -5
  1923. package/dist/node_modules/lodash/fp/isBoolean.js +0 -5
  1924. package/dist/node_modules/lodash/fp/isBuffer.js +0 -5
  1925. package/dist/node_modules/lodash/fp/isDate.js +0 -5
  1926. package/dist/node_modules/lodash/fp/isElement.js +0 -5
  1927. package/dist/node_modules/lodash/fp/isEmpty.js +0 -5
  1928. package/dist/node_modules/lodash/fp/isEqual.js +0 -5
  1929. package/dist/node_modules/lodash/fp/isEqualWith.js +0 -5
  1930. package/dist/node_modules/lodash/fp/isError.js +0 -5
  1931. package/dist/node_modules/lodash/fp/isFinite.js +0 -5
  1932. package/dist/node_modules/lodash/fp/isFunction.js +0 -5
  1933. package/dist/node_modules/lodash/fp/isInteger.js +0 -5
  1934. package/dist/node_modules/lodash/fp/isLength.js +0 -5
  1935. package/dist/node_modules/lodash/fp/isMap.js +0 -5
  1936. package/dist/node_modules/lodash/fp/isMatch.js +0 -5
  1937. package/dist/node_modules/lodash/fp/isMatchWith.js +0 -5
  1938. package/dist/node_modules/lodash/fp/isNaN.js +0 -5
  1939. package/dist/node_modules/lodash/fp/isNative.js +0 -5
  1940. package/dist/node_modules/lodash/fp/isNil.js +0 -5
  1941. package/dist/node_modules/lodash/fp/isNull.js +0 -5
  1942. package/dist/node_modules/lodash/fp/isNumber.js +0 -5
  1943. package/dist/node_modules/lodash/fp/isObject.js +0 -5
  1944. package/dist/node_modules/lodash/fp/isObjectLike.js +0 -5
  1945. package/dist/node_modules/lodash/fp/isPlainObject.js +0 -5
  1946. package/dist/node_modules/lodash/fp/isRegExp.js +0 -5
  1947. package/dist/node_modules/lodash/fp/isSafeInteger.js +0 -5
  1948. package/dist/node_modules/lodash/fp/isSet.js +0 -5
  1949. package/dist/node_modules/lodash/fp/isString.js +0 -5
  1950. package/dist/node_modules/lodash/fp/isSymbol.js +0 -5
  1951. package/dist/node_modules/lodash/fp/isTypedArray.js +0 -5
  1952. package/dist/node_modules/lodash/fp/isUndefined.js +0 -5
  1953. package/dist/node_modules/lodash/fp/isWeakMap.js +0 -5
  1954. package/dist/node_modules/lodash/fp/isWeakSet.js +0 -5
  1955. package/dist/node_modules/lodash/fp/iteratee.js +0 -5
  1956. package/dist/node_modules/lodash/fp/join.js +0 -5
  1957. package/dist/node_modules/lodash/fp/juxt.js +0 -1
  1958. package/dist/node_modules/lodash/fp/kebabCase.js +0 -5
  1959. package/dist/node_modules/lodash/fp/keyBy.js +0 -5
  1960. package/dist/node_modules/lodash/fp/keys.js +0 -5
  1961. package/dist/node_modules/lodash/fp/keysIn.js +0 -5
  1962. package/dist/node_modules/lodash/fp/lang.js +0 -2
  1963. package/dist/node_modules/lodash/fp/last.js +0 -5
  1964. package/dist/node_modules/lodash/fp/lastIndexOf.js +0 -5
  1965. package/dist/node_modules/lodash/fp/lastIndexOfFrom.js +0 -5
  1966. package/dist/node_modules/lodash/fp/lowerCase.js +0 -5
  1967. package/dist/node_modules/lodash/fp/lowerFirst.js +0 -5
  1968. package/dist/node_modules/lodash/fp/lt.js +0 -5
  1969. package/dist/node_modules/lodash/fp/lte.js +0 -5
  1970. package/dist/node_modules/lodash/fp/map.js +0 -5
  1971. package/dist/node_modules/lodash/fp/mapKeys.js +0 -5
  1972. package/dist/node_modules/lodash/fp/mapValues.js +0 -5
  1973. package/dist/node_modules/lodash/fp/matches.js +0 -1
  1974. package/dist/node_modules/lodash/fp/matchesProperty.js +0 -5
  1975. package/dist/node_modules/lodash/fp/math.js +0 -2
  1976. package/dist/node_modules/lodash/fp/max.js +0 -5
  1977. package/dist/node_modules/lodash/fp/maxBy.js +0 -5
  1978. package/dist/node_modules/lodash/fp/mean.js +0 -5
  1979. package/dist/node_modules/lodash/fp/meanBy.js +0 -5
  1980. package/dist/node_modules/lodash/fp/memoize.js +0 -5
  1981. package/dist/node_modules/lodash/fp/merge.js +0 -5
  1982. package/dist/node_modules/lodash/fp/mergeAll.js +0 -5
  1983. package/dist/node_modules/lodash/fp/mergeAllWith.js +0 -5
  1984. package/dist/node_modules/lodash/fp/mergeWith.js +0 -5
  1985. package/dist/node_modules/lodash/fp/method.js +0 -5
  1986. package/dist/node_modules/lodash/fp/methodOf.js +0 -5
  1987. package/dist/node_modules/lodash/fp/min.js +0 -5
  1988. package/dist/node_modules/lodash/fp/minBy.js +0 -5
  1989. package/dist/node_modules/lodash/fp/mixin.js +0 -5
  1990. package/dist/node_modules/lodash/fp/multiply.js +0 -5
  1991. package/dist/node_modules/lodash/fp/nAry.js +0 -1
  1992. package/dist/node_modules/lodash/fp/negate.js +0 -5
  1993. package/dist/node_modules/lodash/fp/next.js +0 -5
  1994. package/dist/node_modules/lodash/fp/noop.js +0 -5
  1995. package/dist/node_modules/lodash/fp/now.js +0 -5
  1996. package/dist/node_modules/lodash/fp/nth.js +0 -5
  1997. package/dist/node_modules/lodash/fp/nthArg.js +0 -5
  1998. package/dist/node_modules/lodash/fp/number.js +0 -2
  1999. package/dist/node_modules/lodash/fp/object.js +0 -2
  2000. package/dist/node_modules/lodash/fp/omit.js +0 -5
  2001. package/dist/node_modules/lodash/fp/omitAll.js +0 -1
  2002. package/dist/node_modules/lodash/fp/omitBy.js +0 -5
  2003. package/dist/node_modules/lodash/fp/once.js +0 -5
  2004. package/dist/node_modules/lodash/fp/orderBy.js +0 -5
  2005. package/dist/node_modules/lodash/fp/over.js +0 -5
  2006. package/dist/node_modules/lodash/fp/overArgs.js +0 -5
  2007. package/dist/node_modules/lodash/fp/overEvery.js +0 -5
  2008. package/dist/node_modules/lodash/fp/overSome.js +0 -5
  2009. package/dist/node_modules/lodash/fp/pad.js +0 -5
  2010. package/dist/node_modules/lodash/fp/padChars.js +0 -5
  2011. package/dist/node_modules/lodash/fp/padCharsEnd.js +0 -5
  2012. package/dist/node_modules/lodash/fp/padCharsStart.js +0 -5
  2013. package/dist/node_modules/lodash/fp/padEnd.js +0 -5
  2014. package/dist/node_modules/lodash/fp/padStart.js +0 -5
  2015. package/dist/node_modules/lodash/fp/parseInt.js +0 -5
  2016. package/dist/node_modules/lodash/fp/partial.js +0 -5
  2017. package/dist/node_modules/lodash/fp/partialRight.js +0 -5
  2018. package/dist/node_modules/lodash/fp/partition.js +0 -5
  2019. package/dist/node_modules/lodash/fp/path.js +0 -1
  2020. package/dist/node_modules/lodash/fp/pathEq.js +0 -1
  2021. package/dist/node_modules/lodash/fp/pathOr.js +0 -1
  2022. package/dist/node_modules/lodash/fp/paths.js +0 -1
  2023. package/dist/node_modules/lodash/fp/pick.js +0 -5
  2024. package/dist/node_modules/lodash/fp/pickAll.js +0 -1
  2025. package/dist/node_modules/lodash/fp/pickBy.js +0 -5
  2026. package/dist/node_modules/lodash/fp/pipe.js +0 -1
  2027. package/dist/node_modules/lodash/fp/placeholder.js +0 -6
  2028. package/dist/node_modules/lodash/fp/plant.js +0 -5
  2029. package/dist/node_modules/lodash/fp/pluck.js +0 -1
  2030. package/dist/node_modules/lodash/fp/prop.js +0 -1
  2031. package/dist/node_modules/lodash/fp/propEq.js +0 -1
  2032. package/dist/node_modules/lodash/fp/propOr.js +0 -1
  2033. package/dist/node_modules/lodash/fp/property.js +0 -1
  2034. package/dist/node_modules/lodash/fp/propertyOf.js +0 -5
  2035. package/dist/node_modules/lodash/fp/props.js +0 -1
  2036. package/dist/node_modules/lodash/fp/pull.js +0 -5
  2037. package/dist/node_modules/lodash/fp/pullAll.js +0 -5
  2038. package/dist/node_modules/lodash/fp/pullAllBy.js +0 -5
  2039. package/dist/node_modules/lodash/fp/pullAllWith.js +0 -5
  2040. package/dist/node_modules/lodash/fp/pullAt.js +0 -5
  2041. package/dist/node_modules/lodash/fp/random.js +0 -5
  2042. package/dist/node_modules/lodash/fp/range.js +0 -5
  2043. package/dist/node_modules/lodash/fp/rangeRight.js +0 -5
  2044. package/dist/node_modules/lodash/fp/rangeStep.js +0 -5
  2045. package/dist/node_modules/lodash/fp/rangeStepRight.js +0 -5
  2046. package/dist/node_modules/lodash/fp/rearg.js +0 -5
  2047. package/dist/node_modules/lodash/fp/reduce.js +0 -5
  2048. package/dist/node_modules/lodash/fp/reduceRight.js +0 -5
  2049. package/dist/node_modules/lodash/fp/reject.js +0 -5
  2050. package/dist/node_modules/lodash/fp/remove.js +0 -5
  2051. package/dist/node_modules/lodash/fp/repeat.js +0 -5
  2052. package/dist/node_modules/lodash/fp/replace.js +0 -5
  2053. package/dist/node_modules/lodash/fp/rest.js +0 -5
  2054. package/dist/node_modules/lodash/fp/restFrom.js +0 -5
  2055. package/dist/node_modules/lodash/fp/result.js +0 -5
  2056. package/dist/node_modules/lodash/fp/reverse.js +0 -5
  2057. package/dist/node_modules/lodash/fp/round.js +0 -5
  2058. package/dist/node_modules/lodash/fp/sample.js +0 -5
  2059. package/dist/node_modules/lodash/fp/sampleSize.js +0 -5
  2060. package/dist/node_modules/lodash/fp/seq.js +0 -2
  2061. package/dist/node_modules/lodash/fp/set.js +0 -5
  2062. package/dist/node_modules/lodash/fp/setWith.js +0 -5
  2063. package/dist/node_modules/lodash/fp/shuffle.js +0 -5
  2064. package/dist/node_modules/lodash/fp/size.js +0 -5
  2065. package/dist/node_modules/lodash/fp/slice.js +0 -5
  2066. package/dist/node_modules/lodash/fp/snakeCase.js +0 -5
  2067. package/dist/node_modules/lodash/fp/some.js +0 -5
  2068. package/dist/node_modules/lodash/fp/sortBy.js +0 -5
  2069. package/dist/node_modules/lodash/fp/sortedIndex.js +0 -5
  2070. package/dist/node_modules/lodash/fp/sortedIndexBy.js +0 -5
  2071. package/dist/node_modules/lodash/fp/sortedIndexOf.js +0 -5
  2072. package/dist/node_modules/lodash/fp/sortedLastIndex.js +0 -5
  2073. package/dist/node_modules/lodash/fp/sortedLastIndexBy.js +0 -5
  2074. package/dist/node_modules/lodash/fp/sortedLastIndexOf.js +0 -5
  2075. package/dist/node_modules/lodash/fp/sortedUniq.js +0 -5
  2076. package/dist/node_modules/lodash/fp/sortedUniqBy.js +0 -5
  2077. package/dist/node_modules/lodash/fp/split.js +0 -5
  2078. package/dist/node_modules/lodash/fp/spread.js +0 -5
  2079. package/dist/node_modules/lodash/fp/spreadFrom.js +0 -5
  2080. package/dist/node_modules/lodash/fp/startCase.js +0 -5
  2081. package/dist/node_modules/lodash/fp/startsWith.js +0 -5
  2082. package/dist/node_modules/lodash/fp/string.js +0 -2
  2083. package/dist/node_modules/lodash/fp/stubArray.js +0 -5
  2084. package/dist/node_modules/lodash/fp/stubFalse.js +0 -5
  2085. package/dist/node_modules/lodash/fp/stubObject.js +0 -5
  2086. package/dist/node_modules/lodash/fp/stubString.js +0 -5
  2087. package/dist/node_modules/lodash/fp/stubTrue.js +0 -5
  2088. package/dist/node_modules/lodash/fp/subtract.js +0 -5
  2089. package/dist/node_modules/lodash/fp/sum.js +0 -5
  2090. package/dist/node_modules/lodash/fp/sumBy.js +0 -5
  2091. package/dist/node_modules/lodash/fp/symmetricDifference.js +0 -1
  2092. package/dist/node_modules/lodash/fp/symmetricDifferenceBy.js +0 -1
  2093. package/dist/node_modules/lodash/fp/symmetricDifferenceWith.js +0 -1
  2094. package/dist/node_modules/lodash/fp/tail.js +0 -5
  2095. package/dist/node_modules/lodash/fp/take.js +0 -5
  2096. package/dist/node_modules/lodash/fp/takeLast.js +0 -1
  2097. package/dist/node_modules/lodash/fp/takeLastWhile.js +0 -1
  2098. package/dist/node_modules/lodash/fp/takeRight.js +0 -5
  2099. package/dist/node_modules/lodash/fp/takeRightWhile.js +0 -5
  2100. package/dist/node_modules/lodash/fp/takeWhile.js +0 -5
  2101. package/dist/node_modules/lodash/fp/tap.js +0 -5
  2102. package/dist/node_modules/lodash/fp/template.js +0 -5
  2103. package/dist/node_modules/lodash/fp/templateSettings.js +0 -5
  2104. package/dist/node_modules/lodash/fp/throttle.js +0 -5
  2105. package/dist/node_modules/lodash/fp/thru.js +0 -5
  2106. package/dist/node_modules/lodash/fp/times.js +0 -5
  2107. package/dist/node_modules/lodash/fp/toArray.js +0 -5
  2108. package/dist/node_modules/lodash/fp/toFinite.js +0 -5
  2109. package/dist/node_modules/lodash/fp/toInteger.js +0 -5
  2110. package/dist/node_modules/lodash/fp/toIterator.js +0 -5
  2111. package/dist/node_modules/lodash/fp/toJSON.js +0 -5
  2112. package/dist/node_modules/lodash/fp/toLength.js +0 -5
  2113. package/dist/node_modules/lodash/fp/toLower.js +0 -5
  2114. package/dist/node_modules/lodash/fp/toNumber.js +0 -5
  2115. package/dist/node_modules/lodash/fp/toPairs.js +0 -5
  2116. package/dist/node_modules/lodash/fp/toPairsIn.js +0 -5
  2117. package/dist/node_modules/lodash/fp/toPath.js +0 -5
  2118. package/dist/node_modules/lodash/fp/toPlainObject.js +0 -5
  2119. package/dist/node_modules/lodash/fp/toSafeInteger.js +0 -5
  2120. package/dist/node_modules/lodash/fp/toString.js +0 -5
  2121. package/dist/node_modules/lodash/fp/toUpper.js +0 -5
  2122. package/dist/node_modules/lodash/fp/transform.js +0 -5
  2123. package/dist/node_modules/lodash/fp/trim.js +0 -5
  2124. package/dist/node_modules/lodash/fp/trimChars.js +0 -5
  2125. package/dist/node_modules/lodash/fp/trimCharsEnd.js +0 -5
  2126. package/dist/node_modules/lodash/fp/trimCharsStart.js +0 -5
  2127. package/dist/node_modules/lodash/fp/trimEnd.js +0 -5
  2128. package/dist/node_modules/lodash/fp/trimStart.js +0 -5
  2129. package/dist/node_modules/lodash/fp/truncate.js +0 -5
  2130. package/dist/node_modules/lodash/fp/unapply.js +0 -1
  2131. package/dist/node_modules/lodash/fp/unary.js +0 -5
  2132. package/dist/node_modules/lodash/fp/unescape.js +0 -5
  2133. package/dist/node_modules/lodash/fp/union.js +0 -5
  2134. package/dist/node_modules/lodash/fp/unionBy.js +0 -5
  2135. package/dist/node_modules/lodash/fp/unionWith.js +0 -5
  2136. package/dist/node_modules/lodash/fp/uniq.js +0 -5
  2137. package/dist/node_modules/lodash/fp/uniqBy.js +0 -5
  2138. package/dist/node_modules/lodash/fp/uniqWith.js +0 -5
  2139. package/dist/node_modules/lodash/fp/uniqueId.js +0 -5
  2140. package/dist/node_modules/lodash/fp/unnest.js +0 -1
  2141. package/dist/node_modules/lodash/fp/unset.js +0 -5
  2142. package/dist/node_modules/lodash/fp/unzip.js +0 -5
  2143. package/dist/node_modules/lodash/fp/unzipWith.js +0 -5
  2144. package/dist/node_modules/lodash/fp/update.js +0 -5
  2145. package/dist/node_modules/lodash/fp/updateWith.js +0 -5
  2146. package/dist/node_modules/lodash/fp/upperCase.js +0 -5
  2147. package/dist/node_modules/lodash/fp/upperFirst.js +0 -5
  2148. package/dist/node_modules/lodash/fp/useWith.js +0 -1
  2149. package/dist/node_modules/lodash/fp/util.js +0 -2
  2150. package/dist/node_modules/lodash/fp/value.js +0 -5
  2151. package/dist/node_modules/lodash/fp/valueOf.js +0 -5
  2152. package/dist/node_modules/lodash/fp/values.js +0 -5
  2153. package/dist/node_modules/lodash/fp/valuesIn.js +0 -5
  2154. package/dist/node_modules/lodash/fp/where.js +0 -1
  2155. package/dist/node_modules/lodash/fp/whereEq.js +0 -1
  2156. package/dist/node_modules/lodash/fp/without.js +0 -5
  2157. package/dist/node_modules/lodash/fp/words.js +0 -5
  2158. package/dist/node_modules/lodash/fp/wrap.js +0 -5
  2159. package/dist/node_modules/lodash/fp/wrapperAt.js +0 -5
  2160. package/dist/node_modules/lodash/fp/wrapperChain.js +0 -5
  2161. package/dist/node_modules/lodash/fp/wrapperLodash.js +0 -5
  2162. package/dist/node_modules/lodash/fp/wrapperReverse.js +0 -5
  2163. package/dist/node_modules/lodash/fp/wrapperValue.js +0 -5
  2164. package/dist/node_modules/lodash/fp/xor.js +0 -5
  2165. package/dist/node_modules/lodash/fp/xorBy.js +0 -5
  2166. package/dist/node_modules/lodash/fp/xorWith.js +0 -5
  2167. package/dist/node_modules/lodash/fp/zip.js +0 -5
  2168. package/dist/node_modules/lodash/fp/zipAll.js +0 -5
  2169. package/dist/node_modules/lodash/fp/zipObj.js +0 -1
  2170. package/dist/node_modules/lodash/fp/zipObject.js +0 -5
  2171. package/dist/node_modules/lodash/fp/zipObjectDeep.js +0 -5
  2172. package/dist/node_modules/lodash/fp/zipWith.js +0 -5
  2173. package/dist/node_modules/lodash/fp.js +0 -2
  2174. package/dist/node_modules/lodash/fromPairs.js +0 -28
  2175. package/dist/node_modules/lodash/function.js +0 -25
  2176. package/dist/node_modules/lodash/functions.js +0 -31
  2177. package/dist/node_modules/lodash/functionsIn.js +0 -31
  2178. package/dist/node_modules/lodash/get.js +0 -33
  2179. package/dist/node_modules/lodash/groupBy.js +0 -41
  2180. package/dist/node_modules/lodash/gt.js +0 -29
  2181. package/dist/node_modules/lodash/gte.js +0 -30
  2182. package/dist/node_modules/lodash/has.js +0 -35
  2183. package/dist/node_modules/lodash/hasIn.js +0 -34
  2184. package/dist/node_modules/lodash/head.js +0 -23
  2185. package/dist/node_modules/lodash/identity.js +0 -21
  2186. package/dist/node_modules/lodash/inRange.js +0 -55
  2187. package/dist/node_modules/lodash/includes.js +0 -53
  2188. package/dist/node_modules/lodash/index.js +0 -1
  2189. package/dist/node_modules/lodash/indexOf.js +0 -42
  2190. package/dist/node_modules/lodash/initial.js +0 -22
  2191. package/dist/node_modules/lodash/intersection.js +0 -30
  2192. package/dist/node_modules/lodash/intersectionBy.js +0 -45
  2193. package/dist/node_modules/lodash/intersectionWith.js +0 -41
  2194. package/dist/node_modules/lodash/invert.js +0 -42
  2195. package/dist/node_modules/lodash/invertBy.js +0 -56
  2196. package/dist/node_modules/lodash/invoke.js +0 -24
  2197. package/dist/node_modules/lodash/invokeMap.js +0 -41
  2198. package/dist/node_modules/lodash/isArguments.js +0 -36
  2199. package/dist/node_modules/lodash/isArray.js +0 -26
  2200. package/dist/node_modules/lodash/isArrayBuffer.js +0 -27
  2201. package/dist/node_modules/lodash/isArrayLike.js +0 -33
  2202. package/dist/node_modules/lodash/isArrayLikeObject.js +0 -33
  2203. package/dist/node_modules/lodash/isBoolean.js +0 -29
  2204. package/dist/node_modules/lodash/isBuffer.js +0 -38
  2205. package/dist/node_modules/lodash/isDate.js +0 -27
  2206. package/dist/node_modules/lodash/isElement.js +0 -25
  2207. package/dist/node_modules/lodash/isEmpty.js +0 -77
  2208. package/dist/node_modules/lodash/isEqual.js +0 -35
  2209. package/dist/node_modules/lodash/isEqualWith.js +0 -41
  2210. package/dist/node_modules/lodash/isError.js +0 -36
  2211. package/dist/node_modules/lodash/isFinite.js +0 -36
  2212. package/dist/node_modules/lodash/isFunction.js +0 -37
  2213. package/dist/node_modules/lodash/isInteger.js +0 -33
  2214. package/dist/node_modules/lodash/isLength.js +0 -35
  2215. package/dist/node_modules/lodash/isMap.js +0 -27
  2216. package/dist/node_modules/lodash/isMatch.js +0 -36
  2217. package/dist/node_modules/lodash/isMatchWith.js +0 -41
  2218. package/dist/node_modules/lodash/isNaN.js +0 -38
  2219. package/dist/node_modules/lodash/isNative.js +0 -40
  2220. package/dist/node_modules/lodash/isNil.js +0 -25
  2221. package/dist/node_modules/lodash/isNull.js +0 -22
  2222. package/dist/node_modules/lodash/isNumber.js +0 -38
  2223. package/dist/node_modules/lodash/isObject.js +0 -31
  2224. package/dist/node_modules/lodash/isObjectLike.js +0 -29
  2225. package/dist/node_modules/lodash/isPlainObject.js +0 -62
  2226. package/dist/node_modules/lodash/isRegExp.js +0 -27
  2227. package/dist/node_modules/lodash/isSafeInteger.js +0 -37
  2228. package/dist/node_modules/lodash/isSet.js +0 -27
  2229. package/dist/node_modules/lodash/isString.js +0 -30
  2230. package/dist/node_modules/lodash/isSymbol.js +0 -29
  2231. package/dist/node_modules/lodash/isTypedArray.js +0 -27
  2232. package/dist/node_modules/lodash/isUndefined.js +0 -22
  2233. package/dist/node_modules/lodash/isWeakMap.js +0 -28
  2234. package/dist/node_modules/lodash/isWeakSet.js +0 -28
  2235. package/dist/node_modules/lodash/iteratee.js +0 -53
  2236. package/dist/node_modules/lodash/join.js +0 -26
  2237. package/dist/node_modules/lodash/kebabCase.js +0 -28
  2238. package/dist/node_modules/lodash/keyBy.js +0 -36
  2239. package/dist/node_modules/lodash/keys.js +0 -37
  2240. package/dist/node_modules/lodash/keysIn.js +0 -32
  2241. package/dist/node_modules/lodash/lang.js +0 -58
  2242. package/dist/node_modules/lodash/last.js +0 -20
  2243. package/dist/node_modules/lodash/lastIndexOf.js +0 -46
  2244. package/dist/node_modules/lodash/lodash.js +0 -17209
  2245. package/dist/node_modules/lodash/lodash.min.js +0 -140
  2246. package/dist/node_modules/lodash/lowerCase.js +0 -27
  2247. package/dist/node_modules/lodash/lowerFirst.js +0 -22
  2248. package/dist/node_modules/lodash/lt.js +0 -29
  2249. package/dist/node_modules/lodash/lte.js +0 -30
  2250. package/dist/node_modules/lodash/map.js +0 -53
  2251. package/dist/node_modules/lodash/mapKeys.js +0 -36
  2252. package/dist/node_modules/lodash/mapValues.js +0 -43
  2253. package/dist/node_modules/lodash/matches.js +0 -46
  2254. package/dist/node_modules/lodash/matchesProperty.js +0 -44
  2255. package/dist/node_modules/lodash/math.js +0 -17
  2256. package/dist/node_modules/lodash/max.js +0 -29
  2257. package/dist/node_modules/lodash/maxBy.js +0 -34
  2258. package/dist/node_modules/lodash/mean.js +0 -22
  2259. package/dist/node_modules/lodash/meanBy.js +0 -31
  2260. package/dist/node_modules/lodash/memoize.js +0 -73
  2261. package/dist/node_modules/lodash/merge.js +0 -39
  2262. package/dist/node_modules/lodash/mergeWith.js +0 -39
  2263. package/dist/node_modules/lodash/method.js +0 -34
  2264. package/dist/node_modules/lodash/methodOf.js +0 -33
  2265. package/dist/node_modules/lodash/min.js +0 -29
  2266. package/dist/node_modules/lodash/minBy.js +0 -34
  2267. package/dist/node_modules/lodash/mixin.js +0 -74
  2268. package/dist/node_modules/lodash/multiply.js +0 -22
  2269. package/dist/node_modules/lodash/negate.js +0 -40
  2270. package/dist/node_modules/lodash/next.js +0 -35
  2271. package/dist/node_modules/lodash/noop.js +0 -17
  2272. package/dist/node_modules/lodash/now.js +0 -23
  2273. package/dist/node_modules/lodash/nth.js +0 -29
  2274. package/dist/node_modules/lodash/nthArg.js +0 -32
  2275. package/dist/node_modules/lodash/number.js +0 -5
  2276. package/dist/node_modules/lodash/object.js +0 -49
  2277. package/dist/node_modules/lodash/omit.js +0 -57
  2278. package/dist/node_modules/lodash/omitBy.js +0 -29
  2279. package/dist/node_modules/lodash/once.js +0 -25
  2280. package/dist/node_modules/lodash/orderBy.js +0 -47
  2281. package/dist/node_modules/lodash/over.js +0 -24
  2282. package/dist/node_modules/lodash/overArgs.js +0 -61
  2283. package/dist/node_modules/lodash/overEvery.js +0 -34
  2284. package/dist/node_modules/lodash/overSome.js +0 -37
  2285. package/dist/node_modules/lodash/package.json +0 -17
  2286. package/dist/node_modules/lodash/pad.js +0 -49
  2287. package/dist/node_modules/lodash/padEnd.js +0 -39
  2288. package/dist/node_modules/lodash/padStart.js +0 -39
  2289. package/dist/node_modules/lodash/parseInt.js +0 -43
  2290. package/dist/node_modules/lodash/partial.js +0 -50
  2291. package/dist/node_modules/lodash/partialRight.js +0 -49
  2292. package/dist/node_modules/lodash/partition.js +0 -43
  2293. package/dist/node_modules/lodash/pick.js +0 -25
  2294. package/dist/node_modules/lodash/pickBy.js +0 -37
  2295. package/dist/node_modules/lodash/plant.js +0 -48
  2296. package/dist/node_modules/lodash/property.js +0 -32
  2297. package/dist/node_modules/lodash/propertyOf.js +0 -30
  2298. package/dist/node_modules/lodash/pull.js +0 -29
  2299. package/dist/node_modules/lodash/pullAll.js +0 -29
  2300. package/dist/node_modules/lodash/pullAllBy.js +0 -33
  2301. package/dist/node_modules/lodash/pullAllWith.js +0 -32
  2302. package/dist/node_modules/lodash/pullAt.js +0 -43
  2303. package/dist/node_modules/lodash/random.js +0 -82
  2304. package/dist/node_modules/lodash/range.js +0 -46
  2305. package/dist/node_modules/lodash/rangeRight.js +0 -41
  2306. package/dist/node_modules/lodash/rearg.js +0 -33
  2307. package/dist/node_modules/lodash/reduce.js +0 -51
  2308. package/dist/node_modules/lodash/reduceRight.js +0 -36
  2309. package/dist/node_modules/lodash/reject.js +0 -46
  2310. package/dist/node_modules/lodash/release.md +0 -48
  2311. package/dist/node_modules/lodash/remove.js +0 -53
  2312. package/dist/node_modules/lodash/repeat.js +0 -37
  2313. package/dist/node_modules/lodash/replace.js +0 -29
  2314. package/dist/node_modules/lodash/rest.js +0 -40
  2315. package/dist/node_modules/lodash/result.js +0 -56
  2316. package/dist/node_modules/lodash/reverse.js +0 -34
  2317. package/dist/node_modules/lodash/round.js +0 -26
  2318. package/dist/node_modules/lodash/sample.js +0 -24
  2319. package/dist/node_modules/lodash/sampleSize.js +0 -37
  2320. package/dist/node_modules/lodash/seq.js +0 -16
  2321. package/dist/node_modules/lodash/set.js +0 -35
  2322. package/dist/node_modules/lodash/setWith.js +0 -32
  2323. package/dist/node_modules/lodash/shuffle.js +0 -25
  2324. package/dist/node_modules/lodash/size.js +0 -46
  2325. package/dist/node_modules/lodash/slice.js +0 -37
  2326. package/dist/node_modules/lodash/snakeCase.js +0 -28
  2327. package/dist/node_modules/lodash/some.js +0 -51
  2328. package/dist/node_modules/lodash/sortBy.js +0 -48
  2329. package/dist/node_modules/lodash/sortedIndex.js +0 -24
  2330. package/dist/node_modules/lodash/sortedIndexBy.js +0 -33
  2331. package/dist/node_modules/lodash/sortedIndexOf.js +0 -31
  2332. package/dist/node_modules/lodash/sortedLastIndex.js +0 -25
  2333. package/dist/node_modules/lodash/sortedLastIndexBy.js +0 -33
  2334. package/dist/node_modules/lodash/sortedLastIndexOf.js +0 -31
  2335. package/dist/node_modules/lodash/sortedUniq.js +0 -24
  2336. package/dist/node_modules/lodash/sortedUniqBy.js +0 -26
  2337. package/dist/node_modules/lodash/split.js +0 -52
  2338. package/dist/node_modules/lodash/spread.js +0 -63
  2339. package/dist/node_modules/lodash/startCase.js +0 -29
  2340. package/dist/node_modules/lodash/startsWith.js +0 -39
  2341. package/dist/node_modules/lodash/string.js +0 -33
  2342. package/dist/node_modules/lodash/stubArray.js +0 -23
  2343. package/dist/node_modules/lodash/stubFalse.js +0 -18
  2344. package/dist/node_modules/lodash/stubObject.js +0 -23
  2345. package/dist/node_modules/lodash/stubString.js +0 -18
  2346. package/dist/node_modules/lodash/stubTrue.js +0 -18
  2347. package/dist/node_modules/lodash/subtract.js +0 -22
  2348. package/dist/node_modules/lodash/sum.js +0 -24
  2349. package/dist/node_modules/lodash/sumBy.js +0 -33
  2350. package/dist/node_modules/lodash/tail.js +0 -22
  2351. package/dist/node_modules/lodash/take.js +0 -37
  2352. package/dist/node_modules/lodash/takeRight.js +0 -39
  2353. package/dist/node_modules/lodash/takeRightWhile.js +0 -45
  2354. package/dist/node_modules/lodash/takeWhile.js +0 -45
  2355. package/dist/node_modules/lodash/tap.js +0 -29
  2356. package/dist/node_modules/lodash/template.js +0 -272
  2357. package/dist/node_modules/lodash/templateSettings.js +0 -67
  2358. package/dist/node_modules/lodash/throttle.js +0 -69
  2359. package/dist/node_modules/lodash/thru.js +0 -28
  2360. package/dist/node_modules/lodash/times.js +0 -51
  2361. package/dist/node_modules/lodash/toArray.js +0 -58
  2362. package/dist/node_modules/lodash/toFinite.js +0 -42
  2363. package/dist/node_modules/lodash/toInteger.js +0 -36
  2364. package/dist/node_modules/lodash/toIterator.js +0 -23
  2365. package/dist/node_modules/lodash/toJSON.js +0 -1
  2366. package/dist/node_modules/lodash/toLength.js +0 -38
  2367. package/dist/node_modules/lodash/toLower.js +0 -28
  2368. package/dist/node_modules/lodash/toNumber.js +0 -64
  2369. package/dist/node_modules/lodash/toPairs.js +0 -30
  2370. package/dist/node_modules/lodash/toPairsIn.js +0 -30
  2371. package/dist/node_modules/lodash/toPath.js +0 -33
  2372. package/dist/node_modules/lodash/toPlainObject.js +0 -32
  2373. package/dist/node_modules/lodash/toSafeInteger.js +0 -37
  2374. package/dist/node_modules/lodash/toString.js +0 -28
  2375. package/dist/node_modules/lodash/toUpper.js +0 -28
  2376. package/dist/node_modules/lodash/transform.js +0 -65
  2377. package/dist/node_modules/lodash/trim.js +0 -47
  2378. package/dist/node_modules/lodash/trimEnd.js +0 -41
  2379. package/dist/node_modules/lodash/trimStart.js +0 -43
  2380. package/dist/node_modules/lodash/truncate.js +0 -111
  2381. package/dist/node_modules/lodash/unary.js +0 -22
  2382. package/dist/node_modules/lodash/unescape.js +0 -34
  2383. package/dist/node_modules/lodash/union.js +0 -26
  2384. package/dist/node_modules/lodash/unionBy.js +0 -39
  2385. package/dist/node_modules/lodash/unionWith.js +0 -34
  2386. package/dist/node_modules/lodash/uniq.js +0 -25
  2387. package/dist/node_modules/lodash/uniqBy.js +0 -31
  2388. package/dist/node_modules/lodash/uniqWith.js +0 -28
  2389. package/dist/node_modules/lodash/uniqueId.js +0 -28
  2390. package/dist/node_modules/lodash/unset.js +0 -34
  2391. package/dist/node_modules/lodash/unzip.js +0 -45
  2392. package/dist/node_modules/lodash/unzipWith.js +0 -39
  2393. package/dist/node_modules/lodash/update.js +0 -35
  2394. package/dist/node_modules/lodash/updateWith.js +0 -33
  2395. package/dist/node_modules/lodash/upperCase.js +0 -27
  2396. package/dist/node_modules/lodash/upperFirst.js +0 -22
  2397. package/dist/node_modules/lodash/util.js +0 -34
  2398. package/dist/node_modules/lodash/value.js +0 -1
  2399. package/dist/node_modules/lodash/valueOf.js +0 -1
  2400. package/dist/node_modules/lodash/values.js +0 -34
  2401. package/dist/node_modules/lodash/valuesIn.js +0 -32
  2402. package/dist/node_modules/lodash/without.js +0 -31
  2403. package/dist/node_modules/lodash/words.js +0 -35
  2404. package/dist/node_modules/lodash/wrap.js +0 -30
  2405. package/dist/node_modules/lodash/wrapperAt.js +0 -48
  2406. package/dist/node_modules/lodash/wrapperChain.js +0 -34
  2407. package/dist/node_modules/lodash/wrapperLodash.js +0 -147
  2408. package/dist/node_modules/lodash/wrapperReverse.js +0 -44
  2409. package/dist/node_modules/lodash/wrapperValue.js +0 -21
  2410. package/dist/node_modules/lodash/xor.js +0 -28
  2411. package/dist/node_modules/lodash/xorBy.js +0 -39
  2412. package/dist/node_modules/lodash/xorWith.js +0 -34
  2413. package/dist/node_modules/lodash/zip.js +0 -22
  2414. package/dist/node_modules/lodash/zipObject.js +0 -24
  2415. package/dist/node_modules/lodash/zipObjectDeep.js +0 -23
  2416. package/dist/node_modules/lodash/zipWith.js +0 -32
  2417. package/dist/node_modules/long/LICENSE +0 -202
  2418. package/dist/node_modules/long/README.md +0 -286
  2419. package/dist/node_modules/long/index.d.ts +0 -2
  2420. package/dist/node_modules/long/index.js +0 -1581
  2421. package/dist/node_modules/long/package.json +0 -58
  2422. package/dist/node_modules/long/types.d.ts +0 -474
  2423. package/dist/node_modules/long/umd/index.d.ts +0 -3
  2424. package/dist/node_modules/long/umd/index.js +0 -1622
  2425. package/dist/node_modules/long/umd/package.json +0 -3
  2426. package/dist/node_modules/long/umd/types.d.ts +0 -474
  2427. package/dist/node_modules/lru-cache/LICENSE +0 -15
  2428. package/dist/node_modules/lru-cache/README.md +0 -331
  2429. package/dist/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -1277
  2430. package/dist/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
  2431. package/dist/node_modules/lru-cache/dist/commonjs/index.js +0 -1546
  2432. package/dist/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
  2433. package/dist/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
  2434. package/dist/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
  2435. package/dist/node_modules/lru-cache/dist/commonjs/package.json +0 -3
  2436. package/dist/node_modules/lru-cache/dist/esm/index.d.ts +0 -1277
  2437. package/dist/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
  2438. package/dist/node_modules/lru-cache/dist/esm/index.js +0 -1542
  2439. package/dist/node_modules/lru-cache/dist/esm/index.js.map +0 -1
  2440. package/dist/node_modules/lru-cache/dist/esm/index.min.js +0 -2
  2441. package/dist/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
  2442. package/dist/node_modules/lru-cache/dist/esm/package.json +0 -3
  2443. package/dist/node_modules/lru-cache/package.json +0 -116
  2444. package/dist/node_modules/math-intrinsics/.eslintrc +0 -16
  2445. package/dist/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
  2446. package/dist/node_modules/math-intrinsics/CHANGELOG.md +0 -24
  2447. package/dist/node_modules/math-intrinsics/LICENSE +0 -21
  2448. package/dist/node_modules/math-intrinsics/README.md +0 -50
  2449. package/dist/node_modules/math-intrinsics/abs.d.ts +0 -1
  2450. package/dist/node_modules/math-intrinsics/abs.js +0 -4
  2451. package/dist/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
  2452. package/dist/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
  2453. package/dist/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
  2454. package/dist/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
  2455. package/dist/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
  2456. package/dist/node_modules/math-intrinsics/constants/maxValue.js +0 -5
  2457. package/dist/node_modules/math-intrinsics/floor.d.ts +0 -1
  2458. package/dist/node_modules/math-intrinsics/floor.js +0 -4
  2459. package/dist/node_modules/math-intrinsics/isFinite.d.ts +0 -3
  2460. package/dist/node_modules/math-intrinsics/isFinite.js +0 -12
  2461. package/dist/node_modules/math-intrinsics/isInteger.d.ts +0 -3
  2462. package/dist/node_modules/math-intrinsics/isInteger.js +0 -16
  2463. package/dist/node_modules/math-intrinsics/isNaN.d.ts +0 -1
  2464. package/dist/node_modules/math-intrinsics/isNaN.js +0 -6
  2465. package/dist/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
  2466. package/dist/node_modules/math-intrinsics/isNegativeZero.js +0 -6
  2467. package/dist/node_modules/math-intrinsics/max.d.ts +0 -1
  2468. package/dist/node_modules/math-intrinsics/max.js +0 -4
  2469. package/dist/node_modules/math-intrinsics/min.d.ts +0 -1
  2470. package/dist/node_modules/math-intrinsics/min.js +0 -4
  2471. package/dist/node_modules/math-intrinsics/mod.d.ts +0 -3
  2472. package/dist/node_modules/math-intrinsics/mod.js +0 -9
  2473. package/dist/node_modules/math-intrinsics/package.json +0 -86
  2474. package/dist/node_modules/math-intrinsics/pow.d.ts +0 -1
  2475. package/dist/node_modules/math-intrinsics/pow.js +0 -4
  2476. package/dist/node_modules/math-intrinsics/round.d.ts +0 -1
  2477. package/dist/node_modules/math-intrinsics/round.js +0 -4
  2478. package/dist/node_modules/math-intrinsics/sign.d.ts +0 -3
  2479. package/dist/node_modules/math-intrinsics/sign.js +0 -11
  2480. package/dist/node_modules/math-intrinsics/test/index.js +0 -192
  2481. package/dist/node_modules/math-intrinsics/tsconfig.json +0 -3
  2482. package/dist/node_modules/mime-db/HISTORY.md +0 -507
  2483. package/dist/node_modules/mime-db/LICENSE +0 -23
  2484. package/dist/node_modules/mime-db/README.md +0 -100
  2485. package/dist/node_modules/mime-db/db.json +0 -8519
  2486. package/dist/node_modules/mime-db/index.js +0 -12
  2487. package/dist/node_modules/mime-db/package.json +0 -60
  2488. package/dist/node_modules/mime-types/HISTORY.md +0 -397
  2489. package/dist/node_modules/mime-types/LICENSE +0 -23
  2490. package/dist/node_modules/mime-types/README.md +0 -113
  2491. package/dist/node_modules/mime-types/index.js +0 -188
  2492. package/dist/node_modules/mime-types/package.json +0 -44
  2493. package/dist/node_modules/minimist/.eslintrc +0 -29
  2494. package/dist/node_modules/minimist/.github/FUNDING.yml +0 -12
  2495. package/dist/node_modules/minimist/.nycrc +0 -14
  2496. package/dist/node_modules/minimist/CHANGELOG.md +0 -298
  2497. package/dist/node_modules/minimist/LICENSE +0 -18
  2498. package/dist/node_modules/minimist/README.md +0 -121
  2499. package/dist/node_modules/minimist/example/parse.js +0 -4
  2500. package/dist/node_modules/minimist/index.js +0 -263
  2501. package/dist/node_modules/minimist/package.json +0 -75
  2502. package/dist/node_modules/minimist/test/all_bool.js +0 -34
  2503. package/dist/node_modules/minimist/test/bool.js +0 -177
  2504. package/dist/node_modules/minimist/test/dash.js +0 -43
  2505. package/dist/node_modules/minimist/test/default_bool.js +0 -37
  2506. package/dist/node_modules/minimist/test/dotted.js +0 -24
  2507. package/dist/node_modules/minimist/test/kv_short.js +0 -32
  2508. package/dist/node_modules/minimist/test/long.js +0 -33
  2509. package/dist/node_modules/minimist/test/num.js +0 -38
  2510. package/dist/node_modules/minimist/test/parse.js +0 -209
  2511. package/dist/node_modules/minimist/test/parse_modified.js +0 -11
  2512. package/dist/node_modules/minimist/test/proto.js +0 -64
  2513. package/dist/node_modules/minimist/test/short.js +0 -69
  2514. package/dist/node_modules/minimist/test/stop_early.js +0 -17
  2515. package/dist/node_modules/minimist/test/unknown.js +0 -104
  2516. package/dist/node_modules/minimist/test/whitespace.js +0 -10
  2517. package/dist/node_modules/mqtt/CONTRIBUTING.md +0 -27
  2518. package/dist/node_modules/mqtt/LICENSE.md +0 -15
  2519. package/dist/node_modules/mqtt/README.md +0 -977
  2520. package/dist/node_modules/mqtt/build/bin/mqtt.d.ts +0 -2
  2521. package/dist/node_modules/mqtt/build/bin/mqtt.js +0 -30
  2522. package/dist/node_modules/mqtt/build/bin/mqtt.js.map +0 -1
  2523. package/dist/node_modules/mqtt/build/bin/pub.d.ts +0 -2
  2524. package/dist/node_modules/mqtt/build/bin/pub.js +0 -146
  2525. package/dist/node_modules/mqtt/build/bin/pub.js.map +0 -1
  2526. package/dist/node_modules/mqtt/build/bin/sub.d.ts +0 -2
  2527. package/dist/node_modules/mqtt/build/bin/sub.js +0 -121
  2528. package/dist/node_modules/mqtt/build/bin/sub.js.map +0 -1
  2529. package/dist/node_modules/mqtt/build/index.d.ts +0 -3
  2530. package/dist/node_modules/mqtt/build/index.js +0 -42
  2531. package/dist/node_modules/mqtt/build/index.js.map +0 -1
  2532. package/dist/node_modules/mqtt/build/lib/BufferedDuplex.d.ts +0 -20
  2533. package/dist/node_modules/mqtt/build/lib/BufferedDuplex.js +0 -82
  2534. package/dist/node_modules/mqtt/build/lib/BufferedDuplex.js.map +0 -1
  2535. package/dist/node_modules/mqtt/build/lib/KeepaliveManager.d.ts +0 -21
  2536. package/dist/node_modules/mqtt/build/lib/KeepaliveManager.js +0 -78
  2537. package/dist/node_modules/mqtt/build/lib/KeepaliveManager.js.map +0 -1
  2538. package/dist/node_modules/mqtt/build/lib/TypedEmitter.d.ts +0 -19
  2539. package/dist/node_modules/mqtt/build/lib/TypedEmitter.js +0 -13
  2540. package/dist/node_modules/mqtt/build/lib/TypedEmitter.js.map +0 -1
  2541. package/dist/node_modules/mqtt/build/lib/client.d.ts +0 -237
  2542. package/dist/node_modules/mqtt/build/lib/client.js +0 -1289
  2543. package/dist/node_modules/mqtt/build/lib/client.js.map +0 -1
  2544. package/dist/node_modules/mqtt/build/lib/connect/ali.d.ts +0 -3
  2545. package/dist/node_modules/mqtt/build/lib/connect/ali.js +0 -107
  2546. package/dist/node_modules/mqtt/build/lib/connect/ali.js.map +0 -1
  2547. package/dist/node_modules/mqtt/build/lib/connect/index.d.ts +0 -10
  2548. package/dist/node_modules/mqtt/build/lib/connect/index.js +0 -198
  2549. package/dist/node_modules/mqtt/build/lib/connect/index.js.map +0 -1
  2550. package/dist/node_modules/mqtt/build/lib/connect/socks.d.ts +0 -8
  2551. package/dist/node_modules/mqtt/build/lib/connect/socks.js +0 -181
  2552. package/dist/node_modules/mqtt/build/lib/connect/socks.js.map +0 -1
  2553. package/dist/node_modules/mqtt/build/lib/connect/tcp.d.ts +0 -3
  2554. package/dist/node_modules/mqtt/build/lib/connect/tcp.js +0 -24
  2555. package/dist/node_modules/mqtt/build/lib/connect/tcp.js.map +0 -1
  2556. package/dist/node_modules/mqtt/build/lib/connect/tls.d.ts +0 -3
  2557. package/dist/node_modules/mqtt/build/lib/connect/tls.js +0 -52
  2558. package/dist/node_modules/mqtt/build/lib/connect/tls.js.map +0 -1
  2559. package/dist/node_modules/mqtt/build/lib/connect/ws.d.ts +0 -4
  2560. package/dist/node_modules/mqtt/build/lib/connect/ws.js +0 -220
  2561. package/dist/node_modules/mqtt/build/lib/connect/ws.js.map +0 -1
  2562. package/dist/node_modules/mqtt/build/lib/connect/wx.d.ts +0 -6
  2563. package/dist/node_modules/mqtt/build/lib/connect/wx.js +0 -115
  2564. package/dist/node_modules/mqtt/build/lib/connect/wx.js.map +0 -1
  2565. package/dist/node_modules/mqtt/build/lib/default-message-id-provider.d.ts +0 -16
  2566. package/dist/node_modules/mqtt/build/lib/default-message-id-provider.js +0 -25
  2567. package/dist/node_modules/mqtt/build/lib/default-message-id-provider.js.map +0 -1
  2568. package/dist/node_modules/mqtt/build/lib/get-timer.d.ts +0 -8
  2569. package/dist/node_modules/mqtt/build/lib/get-timer.js +0 -63
  2570. package/dist/node_modules/mqtt/build/lib/get-timer.js.map +0 -1
  2571. package/dist/node_modules/mqtt/build/lib/handlers/ack.d.ts +0 -48
  2572. package/dist/node_modules/mqtt/build/lib/handlers/ack.js +0 -131
  2573. package/dist/node_modules/mqtt/build/lib/handlers/ack.js.map +0 -1
  2574. package/dist/node_modules/mqtt/build/lib/handlers/auth.d.ts +0 -3
  2575. package/dist/node_modules/mqtt/build/lib/handlers/auth.js +0 -30
  2576. package/dist/node_modules/mqtt/build/lib/handlers/auth.js.map +0 -1
  2577. package/dist/node_modules/mqtt/build/lib/handlers/connack.d.ts +0 -3
  2578. package/dist/node_modules/mqtt/build/lib/handlers/connack.js +0 -50
  2579. package/dist/node_modules/mqtt/build/lib/handlers/connack.js.map +0 -1
  2580. package/dist/node_modules/mqtt/build/lib/handlers/index.d.ts +0 -3
  2581. package/dist/node_modules/mqtt/build/lib/handlers/index.js +0 -68
  2582. package/dist/node_modules/mqtt/build/lib/handlers/index.js.map +0 -1
  2583. package/dist/node_modules/mqtt/build/lib/handlers/publish.d.ts +0 -3
  2584. package/dist/node_modules/mqtt/build/lib/handlers/publish.js +0 -106
  2585. package/dist/node_modules/mqtt/build/lib/handlers/publish.js.map +0 -1
  2586. package/dist/node_modules/mqtt/build/lib/handlers/pubrel.d.ts +0 -3
  2587. package/dist/node_modules/mqtt/build/lib/handlers/pubrel.js +0 -25
  2588. package/dist/node_modules/mqtt/build/lib/handlers/pubrel.js.map +0 -1
  2589. package/dist/node_modules/mqtt/build/lib/is-browser.d.ts +0 -7
  2590. package/dist/node_modules/mqtt/build/lib/is-browser.js +0 -24
  2591. package/dist/node_modules/mqtt/build/lib/is-browser.js.map +0 -1
  2592. package/dist/node_modules/mqtt/build/lib/shared.d.ts +0 -27
  2593. package/dist/node_modules/mqtt/build/lib/shared.js +0 -52
  2594. package/dist/node_modules/mqtt/build/lib/shared.js.map +0 -1
  2595. package/dist/node_modules/mqtt/build/lib/store.d.ts +0 -24
  2596. package/dist/node_modules/mqtt/build/lib/store.js +0 -82
  2597. package/dist/node_modules/mqtt/build/lib/store.js.map +0 -1
  2598. package/dist/node_modules/mqtt/build/lib/topic-alias-recv.d.ts +0 -9
  2599. package/dist/node_modules/mqtt/build/lib/topic-alias-recv.js +0 -27
  2600. package/dist/node_modules/mqtt/build/lib/topic-alias-recv.js.map +0 -1
  2601. package/dist/node_modules/mqtt/build/lib/topic-alias-send.d.ts +0 -13
  2602. package/dist/node_modules/mqtt/build/lib/topic-alias-send.js +0 -58
  2603. package/dist/node_modules/mqtt/build/lib/topic-alias-send.js.map +0 -1
  2604. package/dist/node_modules/mqtt/build/lib/unique-message-id-provider.d.ts +0 -11
  2605. package/dist/node_modules/mqtt/build/lib/unique-message-id-provider.js +0 -28
  2606. package/dist/node_modules/mqtt/build/lib/unique-message-id-provider.js.map +0 -1
  2607. package/dist/node_modules/mqtt/build/lib/validations.d.ts +0 -2
  2608. package/dist/node_modules/mqtt/build/lib/validations.js +0 -31
  2609. package/dist/node_modules/mqtt/build/lib/validations.js.map +0 -1
  2610. package/dist/node_modules/mqtt/build/mqtt.d.ts +0 -12
  2611. package/dist/node_modules/mqtt/build/mqtt.js +0 -61
  2612. package/dist/node_modules/mqtt/build/mqtt.js.map +0 -1
  2613. package/dist/node_modules/mqtt/build/tsconfig.build.tsbuildinfo +0 -1
  2614. package/dist/node_modules/mqtt/dist/mqtt.esm.js +0 -19
  2615. package/dist/node_modules/mqtt/dist/mqtt.js +0 -23895
  2616. package/dist/node_modules/mqtt/dist/mqtt.min.js +0 -19
  2617. package/dist/node_modules/mqtt/help/help.txt +0 -8
  2618. package/dist/node_modules/mqtt/help/publish.txt +0 -26
  2619. package/dist/node_modules/mqtt/help/subscribe.txt +0 -26
  2620. package/dist/node_modules/mqtt/package.json +0 -175
  2621. package/dist/node_modules/mqtt-packet/.github/workflows/ci.yml +0 -27
  2622. package/dist/node_modules/mqtt-packet/CONTRIBUTING.md +0 -27
  2623. package/dist/node_modules/mqtt-packet/LICENSE.md +0 -13
  2624. package/dist/node_modules/mqtt-packet/README.md +0 -491
  2625. package/dist/node_modules/mqtt-packet/benchmarks/generate.js +0 -26
  2626. package/dist/node_modules/mqtt-packet/benchmarks/generateNet.js +0 -50
  2627. package/dist/node_modules/mqtt-packet/benchmarks/parse.js +0 -19
  2628. package/dist/node_modules/mqtt-packet/benchmarks/writeToStream.js +0 -48
  2629. package/dist/node_modules/mqtt-packet/constants.js +0 -291
  2630. package/dist/node_modules/mqtt-packet/generate.js +0 -57
  2631. package/dist/node_modules/mqtt-packet/mqtt.js +0 -3
  2632. package/dist/node_modules/mqtt-packet/numbers.js +0 -59
  2633. package/dist/node_modules/mqtt-packet/package.json +0 -48
  2634. package/dist/node_modules/mqtt-packet/packet.js +0 -13
  2635. package/dist/node_modules/mqtt-packet/parser.js +0 -809
  2636. package/dist/node_modules/mqtt-packet/test.js +0 -3234
  2637. package/dist/node_modules/mqtt-packet/testRandom.js +0 -86
  2638. package/dist/node_modules/mqtt-packet/types/index.d.ts +0 -257
  2639. package/dist/node_modules/mqtt-packet/writeToStream.js +0 -1129
  2640. package/dist/node_modules/ms/index.js +0 -162
  2641. package/dist/node_modules/ms/license.md +0 -21
  2642. package/dist/node_modules/ms/package.json +0 -38
  2643. package/dist/node_modules/ms/readme.md +0 -59
  2644. package/dist/node_modules/node-domexception/.history/README_20210527203617.md +0 -2
  2645. package/dist/node_modules/node-domexception/.history/README_20210527212714.md +0 -41
  2646. package/dist/node_modules/node-domexception/.history/README_20210527213345.md +0 -36
  2647. package/dist/node_modules/node-domexception/.history/README_20210527213411.md +0 -36
  2648. package/dist/node_modules/node-domexception/.history/README_20210527213803.md +0 -36
  2649. package/dist/node_modules/node-domexception/.history/README_20210527214323.md +0 -38
  2650. package/dist/node_modules/node-domexception/.history/README_20210527214408.md +0 -38
  2651. package/dist/node_modules/node-domexception/.history/index_20210527203842.js +0 -0
  2652. package/dist/node_modules/node-domexception/.history/index_20210527203947.js +0 -8
  2653. package/dist/node_modules/node-domexception/.history/index_20210527204259.js +0 -9
  2654. package/dist/node_modules/node-domexception/.history/index_20210527204418.js +0 -9
  2655. package/dist/node_modules/node-domexception/.history/index_20210527204756.js +0 -11
  2656. package/dist/node_modules/node-domexception/.history/index_20210527204833.js +0 -11
  2657. package/dist/node_modules/node-domexception/.history/index_20210527211208.js +0 -15
  2658. package/dist/node_modules/node-domexception/.history/index_20210527211248.js +0 -15
  2659. package/dist/node_modules/node-domexception/.history/index_20210527212722.js +0 -23
  2660. package/dist/node_modules/node-domexception/.history/index_20210527212731.js +0 -23
  2661. package/dist/node_modules/node-domexception/.history/index_20210527212746.js +0 -15
  2662. package/dist/node_modules/node-domexception/.history/index_20210527212900.js +0 -16
  2663. package/dist/node_modules/node-domexception/.history/index_20210527213022.js +0 -16
  2664. package/dist/node_modules/node-domexception/.history/index_20210527213822.js +0 -16
  2665. package/dist/node_modules/node-domexception/.history/index_20210527213843.js +0 -17
  2666. package/dist/node_modules/node-domexception/.history/index_20210527213852.js +0 -17
  2667. package/dist/node_modules/node-domexception/.history/index_20210527213910.js +0 -16
  2668. package/dist/node_modules/node-domexception/.history/index_20210527214034.js +0 -16
  2669. package/dist/node_modules/node-domexception/.history/index_20210527214643.js +0 -41
  2670. package/dist/node_modules/node-domexception/.history/index_20210527214654.js +0 -41
  2671. package/dist/node_modules/node-domexception/.history/index_20210527214700.js +0 -16
  2672. package/dist/node_modules/node-domexception/.history/package_20210527203733.json +0 -19
  2673. package/dist/node_modules/node-domexception/.history/package_20210527203825.json +0 -16
  2674. package/dist/node_modules/node-domexception/.history/package_20210527204621.json +0 -19
  2675. package/dist/node_modules/node-domexception/.history/package_20210527204913.json +0 -25
  2676. package/dist/node_modules/node-domexception/.history/package_20210527204925.json +0 -25
  2677. package/dist/node_modules/node-domexception/.history/package_20210527205145.json +0 -29
  2678. package/dist/node_modules/node-domexception/.history/package_20210527205156.json +0 -29
  2679. package/dist/node_modules/node-domexception/.history/test_20210527205603.js +0 -0
  2680. package/dist/node_modules/node-domexception/.history/test_20210527205957.js +0 -3
  2681. package/dist/node_modules/node-domexception/.history/test_20210527210021.js +0 -3
  2682. package/dist/node_modules/node-domexception/LICENSE +0 -21
  2683. package/dist/node_modules/node-domexception/README.md +0 -46
  2684. package/dist/node_modules/node-domexception/index.js +0 -16
  2685. package/dist/node_modules/node-domexception/package.json +0 -29
  2686. package/dist/node_modules/node-fetch/@types/index.d.ts +0 -219
  2687. package/dist/node_modules/node-fetch/LICENSE.md +0 -22
  2688. package/dist/node_modules/node-fetch/README.md +0 -872
  2689. package/dist/node_modules/node-fetch/package.json +0 -131
  2690. package/dist/node_modules/node-fetch/src/body.js +0 -397
  2691. package/dist/node_modules/node-fetch/src/errors/abort-error.js +0 -10
  2692. package/dist/node_modules/node-fetch/src/errors/base.js +0 -17
  2693. package/dist/node_modules/node-fetch/src/errors/fetch-error.js +0 -26
  2694. package/dist/node_modules/node-fetch/src/headers.js +0 -267
  2695. package/dist/node_modules/node-fetch/src/index.js +0 -417
  2696. package/dist/node_modules/node-fetch/src/request.js +0 -313
  2697. package/dist/node_modules/node-fetch/src/response.js +0 -160
  2698. package/dist/node_modules/node-fetch/src/utils/get-search.js +0 -9
  2699. package/dist/node_modules/node-fetch/src/utils/is-redirect.js +0 -11
  2700. package/dist/node_modules/node-fetch/src/utils/is.js +0 -87
  2701. package/dist/node_modules/node-fetch/src/utils/multipart-parser.js +0 -432
  2702. package/dist/node_modules/node-fetch/src/utils/referrer.js +0 -340
  2703. package/dist/node_modules/node-persist/LICENSE +0 -21
  2704. package/dist/node_modules/node-persist/README.md +0 -246
  2705. package/dist/node_modules/node-persist/examples/counter/counter.js +0 -89
  2706. package/dist/node_modules/node-persist/package.json +0 -49
  2707. package/dist/node_modules/node-persist/src/local-storage.js +0 -521
  2708. package/dist/node_modules/node-persist/src/node-persist.js +0 -53
  2709. package/dist/node_modules/node-persist/tests/index.js +0 -400
  2710. package/dist/node_modules/number-allocator/.github/workflows/nodejs.yml +0 -33
  2711. package/dist/node_modules/number-allocator/CHANGELOG.md +0 -47
  2712. package/dist/node_modules/number-allocator/LICENSE +0 -21
  2713. package/dist/node_modules/number-allocator/README.md +0 -203
  2714. package/dist/node_modules/number-allocator/index.js +0 -7
  2715. package/dist/node_modules/number-allocator/karma.conf.js +0 -63
  2716. package/dist/node_modules/number-allocator/lib/number-allocator.js +0 -249
  2717. package/dist/node_modules/number-allocator/package.json +0 -69
  2718. package/dist/node_modules/number-allocator/test/test.js +0 -337
  2719. package/dist/node_modules/number-allocator/test/typescript/test.ts +0 -24
  2720. package/dist/node_modules/number-allocator/test/typescript/tsconfig.json +0 -14
  2721. package/dist/node_modules/number-allocator/types/index.d.ts +0 -1
  2722. package/dist/node_modules/number-allocator/types/lib/number-allocator.d.ts +0 -65
  2723. package/dist/node_modules/p-limit/index.d.ts +0 -42
  2724. package/dist/node_modules/p-limit/index.js +0 -71
  2725. package/dist/node_modules/p-limit/license +0 -9
  2726. package/dist/node_modules/p-limit/package.json +0 -52
  2727. package/dist/node_modules/p-limit/readme.md +0 -101
  2728. package/dist/node_modules/pako/LICENSE +0 -21
  2729. package/dist/node_modules/pako/README.md +0 -177
  2730. package/dist/node_modules/pako/dist/pako.es5.js +0 -6688
  2731. package/dist/node_modules/pako/dist/pako.es5.min.js +0 -2
  2732. package/dist/node_modules/pako/dist/pako.esm.mjs +0 -6877
  2733. package/dist/node_modules/pako/dist/pako.js +0 -6896
  2734. package/dist/node_modules/pako/dist/pako.min.js +0 -2
  2735. package/dist/node_modules/pako/dist/pako_deflate.es5.js +0 -3924
  2736. package/dist/node_modules/pako/dist/pako_deflate.es5.min.js +0 -2
  2737. package/dist/node_modules/pako/dist/pako_deflate.js +0 -4126
  2738. package/dist/node_modules/pako/dist/pako_deflate.min.js +0 -2
  2739. package/dist/node_modules/pako/dist/pako_inflate.es5.js +0 -3229
  2740. package/dist/node_modules/pako/dist/pako_inflate.es5.min.js +0 -2
  2741. package/dist/node_modules/pako/dist/pako_inflate.js +0 -3239
  2742. package/dist/node_modules/pako/dist/pako_inflate.min.js +0 -2
  2743. package/dist/node_modules/pako/index.js +0 -18
  2744. package/dist/node_modules/pako/lib/deflate.js +0 -380
  2745. package/dist/node_modules/pako/lib/inflate.js +0 -419
  2746. package/dist/node_modules/pako/lib/utils/common.js +0 -48
  2747. package/dist/node_modules/pako/lib/utils/strings.js +0 -174
  2748. package/dist/node_modules/pako/lib/zlib/README +0 -59
  2749. package/dist/node_modules/pako/lib/zlib/adler32.js +0 -51
  2750. package/dist/node_modules/pako/lib/zlib/constants.js +0 -68
  2751. package/dist/node_modules/pako/lib/zlib/crc32.js +0 -59
  2752. package/dist/node_modules/pako/lib/zlib/deflate.js +0 -2048
  2753. package/dist/node_modules/pako/lib/zlib/gzheader.js +0 -58
  2754. package/dist/node_modules/pako/lib/zlib/inffast.js +0 -344
  2755. package/dist/node_modules/pako/lib/zlib/inflate.js +0 -1572
  2756. package/dist/node_modules/pako/lib/zlib/inftrees.js +0 -340
  2757. package/dist/node_modules/pako/lib/zlib/messages.js +0 -32
  2758. package/dist/node_modules/pako/lib/zlib/trees.js +0 -1179
  2759. package/dist/node_modules/pako/lib/zlib/zstream.js +0 -47
  2760. package/dist/node_modules/pako/package.json +0 -64
  2761. package/dist/node_modules/process/.eslintrc +0 -21
  2762. package/dist/node_modules/process/LICENSE +0 -22
  2763. package/dist/node_modules/process/README.md +0 -26
  2764. package/dist/node_modules/process/browser.js +0 -184
  2765. package/dist/node_modules/process/index.js +0 -2
  2766. package/dist/node_modules/process/package.json +0 -27
  2767. package/dist/node_modules/process/test.js +0 -199
  2768. package/dist/node_modules/process-nextick-args/index.js +0 -45
  2769. package/dist/node_modules/process-nextick-args/license.md +0 -19
  2770. package/dist/node_modules/process-nextick-args/package.json +0 -25
  2771. package/dist/node_modules/process-nextick-args/readme.md +0 -18
  2772. package/dist/node_modules/protobufjs/LICENSE +0 -39
  2773. package/dist/node_modules/protobufjs/README.md +0 -727
  2774. package/dist/node_modules/protobufjs/dist/light/protobuf.js +0 -7833
  2775. package/dist/node_modules/protobufjs/dist/light/protobuf.js.map +0 -1
  2776. package/dist/node_modules/protobufjs/dist/light/protobuf.min.js +0 -8
  2777. package/dist/node_modules/protobufjs/dist/light/protobuf.min.js.map +0 -1
  2778. package/dist/node_modules/protobufjs/dist/minimal/protobuf.js +0 -2736
  2779. package/dist/node_modules/protobufjs/dist/minimal/protobuf.js.map +0 -1
  2780. package/dist/node_modules/protobufjs/dist/minimal/protobuf.min.js +0 -8
  2781. package/dist/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +0 -1
  2782. package/dist/node_modules/protobufjs/dist/protobuf.js +0 -9637
  2783. package/dist/node_modules/protobufjs/dist/protobuf.js.map +0 -1
  2784. package/dist/node_modules/protobufjs/dist/protobuf.min.js +0 -8
  2785. package/dist/node_modules/protobufjs/dist/protobuf.min.js.map +0 -1
  2786. package/dist/node_modules/protobufjs/ext/debug/README.md +0 -4
  2787. package/dist/node_modules/protobufjs/ext/debug/index.js +0 -71
  2788. package/dist/node_modules/protobufjs/ext/descriptor/README.md +0 -72
  2789. package/dist/node_modules/protobufjs/ext/descriptor/index.d.ts +0 -191
  2790. package/dist/node_modules/protobufjs/ext/descriptor/index.js +0 -1162
  2791. package/dist/node_modules/protobufjs/ext/descriptor/test.js +0 -54
  2792. package/dist/node_modules/protobufjs/google/LICENSE +0 -27
  2793. package/dist/node_modules/protobufjs/google/README.md +0 -1
  2794. package/dist/node_modules/protobufjs/google/api/annotations.json +0 -83
  2795. package/dist/node_modules/protobufjs/google/api/annotations.proto +0 -11
  2796. package/dist/node_modules/protobufjs/google/api/http.json +0 -86
  2797. package/dist/node_modules/protobufjs/google/api/http.proto +0 -31
  2798. package/dist/node_modules/protobufjs/google/protobuf/api.json +0 -118
  2799. package/dist/node_modules/protobufjs/google/protobuf/api.proto +0 -34
  2800. package/dist/node_modules/protobufjs/google/protobuf/descriptor.json +0 -1382
  2801. package/dist/node_modules/protobufjs/google/protobuf/descriptor.proto +0 -535
  2802. package/dist/node_modules/protobufjs/google/protobuf/source_context.json +0 -20
  2803. package/dist/node_modules/protobufjs/google/protobuf/source_context.proto +0 -7
  2804. package/dist/node_modules/protobufjs/google/protobuf/type.json +0 -202
  2805. package/dist/node_modules/protobufjs/google/protobuf/type.proto +0 -89
  2806. package/dist/node_modules/protobufjs/index.d.ts +0 -2799
  2807. package/dist/node_modules/protobufjs/index.js +0 -4
  2808. package/dist/node_modules/protobufjs/light.d.ts +0 -2
  2809. package/dist/node_modules/protobufjs/light.js +0 -4
  2810. package/dist/node_modules/protobufjs/minimal.d.ts +0 -2
  2811. package/dist/node_modules/protobufjs/minimal.js +0 -4
  2812. package/dist/node_modules/protobufjs/package.json +0 -114
  2813. package/dist/node_modules/protobufjs/scripts/postinstall.js +0 -32
  2814. package/dist/node_modules/protobufjs/src/common.js +0 -399
  2815. package/dist/node_modules/protobufjs/src/converter.js +0 -301
  2816. package/dist/node_modules/protobufjs/src/decoder.js +0 -127
  2817. package/dist/node_modules/protobufjs/src/encoder.js +0 -100
  2818. package/dist/node_modules/protobufjs/src/enum.js +0 -223
  2819. package/dist/node_modules/protobufjs/src/field.js +0 -453
  2820. package/dist/node_modules/protobufjs/src/index-light.js +0 -104
  2821. package/dist/node_modules/protobufjs/src/index-minimal.js +0 -36
  2822. package/dist/node_modules/protobufjs/src/index.js +0 -12
  2823. package/dist/node_modules/protobufjs/src/mapfield.js +0 -126
  2824. package/dist/node_modules/protobufjs/src/message.js +0 -139
  2825. package/dist/node_modules/protobufjs/src/method.js +0 -160
  2826. package/dist/node_modules/protobufjs/src/namespace.js +0 -546
  2827. package/dist/node_modules/protobufjs/src/object.js +0 -378
  2828. package/dist/node_modules/protobufjs/src/oneof.js +0 -222
  2829. package/dist/node_modules/protobufjs/src/parse.js +0 -969
  2830. package/dist/node_modules/protobufjs/src/reader.js +0 -416
  2831. package/dist/node_modules/protobufjs/src/reader_buffer.js +0 -51
  2832. package/dist/node_modules/protobufjs/src/root.js +0 -404
  2833. package/dist/node_modules/protobufjs/src/roots.js +0 -18
  2834. package/dist/node_modules/protobufjs/src/rpc/service.js +0 -142
  2835. package/dist/node_modules/protobufjs/src/rpc.js +0 -36
  2836. package/dist/node_modules/protobufjs/src/service.js +0 -189
  2837. package/dist/node_modules/protobufjs/src/tokenize.js +0 -416
  2838. package/dist/node_modules/protobufjs/src/type.js +0 -614
  2839. package/dist/node_modules/protobufjs/src/types.js +0 -196
  2840. package/dist/node_modules/protobufjs/src/typescript.jsdoc +0 -15
  2841. package/dist/node_modules/protobufjs/src/util/longbits.js +0 -200
  2842. package/dist/node_modules/protobufjs/src/util/minimal.js +0 -438
  2843. package/dist/node_modules/protobufjs/src/util.js +0 -215
  2844. package/dist/node_modules/protobufjs/src/verifier.js +0 -177
  2845. package/dist/node_modules/protobufjs/src/wrappers.js +0 -102
  2846. package/dist/node_modules/protobufjs/src/writer.js +0 -465
  2847. package/dist/node_modules/protobufjs/src/writer_buffer.js +0 -85
  2848. package/dist/node_modules/protobufjs/tsconfig.json +0 -8
  2849. package/dist/node_modules/proxy-from-env/.eslintrc +0 -29
  2850. package/dist/node_modules/proxy-from-env/.travis.yml +0 -10
  2851. package/dist/node_modules/proxy-from-env/LICENSE +0 -20
  2852. package/dist/node_modules/proxy-from-env/README.md +0 -131
  2853. package/dist/node_modules/proxy-from-env/index.js +0 -108
  2854. package/dist/node_modules/proxy-from-env/package.json +0 -34
  2855. package/dist/node_modules/proxy-from-env/test.js +0 -483
  2856. package/dist/node_modules/psl/LICENSE +0 -9
  2857. package/dist/node_modules/psl/README.md +0 -260
  2858. package/dist/node_modules/psl/SECURITY.md +0 -13
  2859. package/dist/node_modules/psl/browserstack-logo.svg +0 -90
  2860. package/dist/node_modules/psl/data/rules.js +0 -9778
  2861. package/dist/node_modules/psl/dist/psl.cjs +0 -1
  2862. package/dist/node_modules/psl/dist/psl.mjs +0 -10008
  2863. package/dist/node_modules/psl/dist/psl.umd.cjs +0 -1
  2864. package/dist/node_modules/psl/index.js +0 -247
  2865. package/dist/node_modules/psl/package.json +0 -51
  2866. package/dist/node_modules/psl/types/index.d.ts +0 -52
  2867. package/dist/node_modules/psl/types/test.ts +0 -14
  2868. package/dist/node_modules/psl/types/tsconfig.json +0 -22
  2869. package/dist/node_modules/psl/vite.config.js +0 -20
  2870. package/dist/node_modules/punycode/LICENSE-MIT.txt +0 -20
  2871. package/dist/node_modules/punycode/README.md +0 -148
  2872. package/dist/node_modules/punycode/package.json +0 -58
  2873. package/dist/node_modules/punycode/punycode.es6.js +0 -444
  2874. package/dist/node_modules/punycode/punycode.js +0 -443
  2875. package/dist/node_modules/querystringify/LICENSE +0 -22
  2876. package/dist/node_modules/querystringify/README.md +0 -61
  2877. package/dist/node_modules/querystringify/index.js +0 -118
  2878. package/dist/node_modules/querystringify/package.json +0 -38
  2879. package/dist/node_modules/readable-stream/LICENSE +0 -47
  2880. package/dist/node_modules/readable-stream/README.md +0 -116
  2881. package/dist/node_modules/readable-stream/lib/_stream_duplex.js +0 -4
  2882. package/dist/node_modules/readable-stream/lib/_stream_passthrough.js +0 -4
  2883. package/dist/node_modules/readable-stream/lib/_stream_readable.js +0 -4
  2884. package/dist/node_modules/readable-stream/lib/_stream_transform.js +0 -4
  2885. package/dist/node_modules/readable-stream/lib/_stream_writable.js +0 -4
  2886. package/dist/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js +0 -52
  2887. package/dist/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -157
  2888. package/dist/node_modules/readable-stream/lib/internal/streams/compose.js +0 -194
  2889. package/dist/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -290
  2890. package/dist/node_modules/readable-stream/lib/internal/streams/duplex.js +0 -143
  2891. package/dist/node_modules/readable-stream/lib/internal/streams/duplexify.js +0 -378
  2892. package/dist/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -286
  2893. package/dist/node_modules/readable-stream/lib/internal/streams/from.js +0 -98
  2894. package/dist/node_modules/readable-stream/lib/internal/streams/lazy_transform.js +0 -51
  2895. package/dist/node_modules/readable-stream/lib/internal/streams/legacy.js +0 -89
  2896. package/dist/node_modules/readable-stream/lib/internal/streams/operators.js +0 -457
  2897. package/dist/node_modules/readable-stream/lib/internal/streams/passthrough.js +0 -39
  2898. package/dist/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -471
  2899. package/dist/node_modules/readable-stream/lib/internal/streams/readable.js +0 -1290
  2900. package/dist/node_modules/readable-stream/lib/internal/streams/state.js +0 -39
  2901. package/dist/node_modules/readable-stream/lib/internal/streams/transform.js +0 -180
  2902. package/dist/node_modules/readable-stream/lib/internal/streams/utils.js +0 -327
  2903. package/dist/node_modules/readable-stream/lib/internal/streams/writable.js +0 -819
  2904. package/dist/node_modules/readable-stream/lib/internal/validators.js +0 -530
  2905. package/dist/node_modules/readable-stream/lib/ours/browser.js +0 -35
  2906. package/dist/node_modules/readable-stream/lib/ours/errors.js +0 -343
  2907. package/dist/node_modules/readable-stream/lib/ours/index.js +0 -65
  2908. package/dist/node_modules/readable-stream/lib/ours/primordials.js +0 -124
  2909. package/dist/node_modules/readable-stream/lib/ours/util/inspect.js +0 -55
  2910. package/dist/node_modules/readable-stream/lib/ours/util.js +0 -148
  2911. package/dist/node_modules/readable-stream/lib/stream/promises.js +0 -43
  2912. package/dist/node_modules/readable-stream/lib/stream.js +0 -143
  2913. package/dist/node_modules/readable-stream/package.json +0 -88
  2914. package/dist/node_modules/requires-port/.travis.yml +0 -19
  2915. package/dist/node_modules/requires-port/LICENSE +0 -22
  2916. package/dist/node_modules/requires-port/README.md +0 -47
  2917. package/dist/node_modules/requires-port/index.js +0 -38
  2918. package/dist/node_modules/requires-port/package.json +0 -47
  2919. package/dist/node_modules/requires-port/test.js +0 -98
  2920. package/dist/node_modules/rfdc/.github/workflows/ci.yml +0 -21
  2921. package/dist/node_modules/rfdc/LICENSE +0 -15
  2922. package/dist/node_modules/rfdc/default.js +0 -3
  2923. package/dist/node_modules/rfdc/index.d.ts +0 -13
  2924. package/dist/node_modules/rfdc/index.js +0 -198
  2925. package/dist/node_modules/rfdc/index.test-d.ts +0 -13
  2926. package/dist/node_modules/rfdc/package.json +0 -73
  2927. package/dist/node_modules/rfdc/readme.md +0 -181
  2928. package/dist/node_modules/rfdc/test/index.js +0 -306
  2929. package/dist/node_modules/safe-buffer/LICENSE +0 -21
  2930. package/dist/node_modules/safe-buffer/README.md +0 -584
  2931. package/dist/node_modules/safe-buffer/index.d.ts +0 -187
  2932. package/dist/node_modules/safe-buffer/index.js +0 -65
  2933. package/dist/node_modules/safe-buffer/package.json +0 -51
  2934. package/dist/node_modules/smart-buffer/.prettierrc.yaml +0 -5
  2935. package/dist/node_modules/smart-buffer/.travis.yml +0 -13
  2936. package/dist/node_modules/smart-buffer/LICENSE +0 -20
  2937. package/dist/node_modules/smart-buffer/README.md +0 -633
  2938. package/dist/node_modules/smart-buffer/build/smartbuffer.js +0 -1233
  2939. package/dist/node_modules/smart-buffer/build/smartbuffer.js.map +0 -1
  2940. package/dist/node_modules/smart-buffer/build/utils.js +0 -108
  2941. package/dist/node_modules/smart-buffer/build/utils.js.map +0 -1
  2942. package/dist/node_modules/smart-buffer/docs/CHANGELOG.md +0 -70
  2943. package/dist/node_modules/smart-buffer/docs/README_v3.md +0 -367
  2944. package/dist/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
  2945. package/dist/node_modules/smart-buffer/package.json +0 -79
  2946. package/dist/node_modules/smart-buffer/typings/smartbuffer.d.ts +0 -755
  2947. package/dist/node_modules/smart-buffer/typings/utils.d.ts +0 -66
  2948. package/dist/node_modules/socks/.eslintrc.cjs +0 -11
  2949. package/dist/node_modules/socks/.prettierrc.yaml +0 -7
  2950. package/dist/node_modules/socks/LICENSE +0 -20
  2951. package/dist/node_modules/socks/README.md +0 -686
  2952. package/dist/node_modules/socks/build/client/socksclient.js +0 -793
  2953. package/dist/node_modules/socks/build/client/socksclient.js.map +0 -1
  2954. package/dist/node_modules/socks/build/common/constants.js +0 -108
  2955. package/dist/node_modules/socks/build/common/constants.js.map +0 -1
  2956. package/dist/node_modules/socks/build/common/helpers.js +0 -167
  2957. package/dist/node_modules/socks/build/common/helpers.js.map +0 -1
  2958. package/dist/node_modules/socks/build/common/receivebuffer.js +0 -43
  2959. package/dist/node_modules/socks/build/common/receivebuffer.js.map +0 -1
  2960. package/dist/node_modules/socks/build/common/util.js +0 -25
  2961. package/dist/node_modules/socks/build/common/util.js.map +0 -1
  2962. package/dist/node_modules/socks/build/index.js +0 -18
  2963. package/dist/node_modules/socks/build/index.js.map +0 -1
  2964. package/dist/node_modules/socks/docs/examples/index.md +0 -17
  2965. package/dist/node_modules/socks/docs/examples/javascript/associateExample.md +0 -90
  2966. package/dist/node_modules/socks/docs/examples/javascript/bindExample.md +0 -83
  2967. package/dist/node_modules/socks/docs/examples/javascript/connectExample.md +0 -258
  2968. package/dist/node_modules/socks/docs/examples/typescript/associateExample.md +0 -93
  2969. package/dist/node_modules/socks/docs/examples/typescript/bindExample.md +0 -86
  2970. package/dist/node_modules/socks/docs/examples/typescript/connectExample.md +0 -265
  2971. package/dist/node_modules/socks/docs/index.md +0 -5
  2972. package/dist/node_modules/socks/docs/migratingFromV1.md +0 -86
  2973. package/dist/node_modules/socks/package.json +0 -58
  2974. package/dist/node_modules/socks/typings/client/socksclient.d.ts +0 -162
  2975. package/dist/node_modules/socks/typings/common/constants.d.ts +0 -151
  2976. package/dist/node_modules/socks/typings/common/helpers.d.ts +0 -17
  2977. package/dist/node_modules/socks/typings/common/receivebuffer.d.ts +0 -12
  2978. package/dist/node_modules/socks/typings/common/util.d.ts +0 -14
  2979. package/dist/node_modules/socks/typings/index.d.ts +0 -1
  2980. package/dist/node_modules/split2/LICENSE +0 -13
  2981. package/dist/node_modules/split2/README.md +0 -85
  2982. package/dist/node_modules/split2/bench.js +0 -27
  2983. package/dist/node_modules/split2/index.js +0 -141
  2984. package/dist/node_modules/split2/package.json +0 -39
  2985. package/dist/node_modules/split2/test.js +0 -409
  2986. package/dist/node_modules/string_decoder/LICENSE +0 -48
  2987. package/dist/node_modules/string_decoder/README.md +0 -47
  2988. package/dist/node_modules/string_decoder/lib/string_decoder.js +0 -296
  2989. package/dist/node_modules/string_decoder/package.json +0 -34
  2990. package/dist/node_modules/tough-cookie/LICENSE +0 -12
  2991. package/dist/node_modules/tough-cookie/README.md +0 -596
  2992. package/dist/node_modules/tough-cookie/lib/cookie.js +0 -1758
  2993. package/dist/node_modules/tough-cookie/lib/memstore.js +0 -242
  2994. package/dist/node_modules/tough-cookie/lib/pathMatch.js +0 -61
  2995. package/dist/node_modules/tough-cookie/lib/permuteDomain.js +0 -65
  2996. package/dist/node_modules/tough-cookie/lib/pubsuffix-psl.js +0 -73
  2997. package/dist/node_modules/tough-cookie/lib/store.js +0 -76
  2998. package/dist/node_modules/tough-cookie/lib/utilHelper.js +0 -39
  2999. package/dist/node_modules/tough-cookie/lib/validators.js +0 -110
  3000. package/dist/node_modules/tough-cookie/lib/version.js +0 -2
  3001. package/dist/node_modules/tough-cookie/package.json +0 -110
  3002. package/dist/node_modules/ts-custom-error/CHANGELOG.md +0 -149
  3003. package/dist/node_modules/ts-custom-error/LICENSE +0 -21
  3004. package/dist/node_modules/ts-custom-error/README.md +0 -165
  3005. package/dist/node_modules/ts-custom-error/SECURITY.md +0 -11
  3006. package/dist/node_modules/ts-custom-error/dist/custom-error.d.ts +0 -22
  3007. package/dist/node_modules/ts-custom-error/dist/custom-error.js +0 -110
  3008. package/dist/node_modules/ts-custom-error/dist/custom-error.js.map +0 -1
  3009. package/dist/node_modules/ts-custom-error/dist/custom-error.mjs +0 -109
  3010. package/dist/node_modules/ts-custom-error/dist/custom-error.mjs.map +0 -1
  3011. package/dist/node_modules/ts-custom-error/dist/custom-error.modern.mjs +0 -107
  3012. package/dist/node_modules/ts-custom-error/dist/custom-error.modern.mjs.map +0 -1
  3013. package/dist/node_modules/ts-custom-error/dist/custom-error.umd.d.ts +0 -22
  3014. package/dist/node_modules/ts-custom-error/dist/custom-error.umd.js +0 -1
  3015. package/dist/node_modules/ts-custom-error/dist/custom-error.umd.js.map +0 -1
  3016. package/dist/node_modules/ts-custom-error/dist/dist/src/index.d.ts +0 -2
  3017. package/dist/node_modules/ts-custom-error/package.json +0 -140
  3018. package/dist/node_modules/tslib/CopyrightNotice.txt +0 -15
  3019. package/dist/node_modules/tslib/LICENSE.txt +0 -12
  3020. package/dist/node_modules/tslib/README.md +0 -164
  3021. package/dist/node_modules/tslib/SECURITY.md +0 -41
  3022. package/dist/node_modules/tslib/modules/index.d.ts +0 -38
  3023. package/dist/node_modules/tslib/modules/index.js +0 -70
  3024. package/dist/node_modules/tslib/modules/package.json +0 -3
  3025. package/dist/node_modules/tslib/package.json +0 -47
  3026. package/dist/node_modules/tslib/tslib.d.ts +0 -460
  3027. package/dist/node_modules/tslib/tslib.es6.html +0 -1
  3028. package/dist/node_modules/tslib/tslib.es6.js +0 -402
  3029. package/dist/node_modules/tslib/tslib.es6.mjs +0 -401
  3030. package/dist/node_modules/tslib/tslib.html +0 -1
  3031. package/dist/node_modules/tslib/tslib.js +0 -484
  3032. package/dist/node_modules/typedarray/.travis.yml +0 -4
  3033. package/dist/node_modules/typedarray/LICENSE +0 -35
  3034. package/dist/node_modules/typedarray/example/tarray.js +0 -4
  3035. package/dist/node_modules/typedarray/index.js +0 -630
  3036. package/dist/node_modules/typedarray/package.json +0 -55
  3037. package/dist/node_modules/typedarray/readme.markdown +0 -61
  3038. package/dist/node_modules/typedarray/test/server/undef_globals.js +0 -19
  3039. package/dist/node_modules/typedarray/test/tarray.js +0 -10
  3040. package/dist/node_modules/undici-types/LICENSE +0 -21
  3041. package/dist/node_modules/undici-types/README.md +0 -6
  3042. package/dist/node_modules/undici-types/agent.d.ts +0 -32
  3043. package/dist/node_modules/undici-types/api.d.ts +0 -43
  3044. package/dist/node_modules/undici-types/balanced-pool.d.ts +0 -29
  3045. package/dist/node_modules/undici-types/cache-interceptor.d.ts +0 -172
  3046. package/dist/node_modules/undici-types/cache.d.ts +0 -36
  3047. package/dist/node_modules/undici-types/client-stats.d.ts +0 -15
  3048. package/dist/node_modules/undici-types/client.d.ts +0 -108
  3049. package/dist/node_modules/undici-types/connector.d.ts +0 -34
  3050. package/dist/node_modules/undici-types/content-type.d.ts +0 -21
  3051. package/dist/node_modules/undici-types/cookies.d.ts +0 -30
  3052. package/dist/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  3053. package/dist/node_modules/undici-types/dispatcher.d.ts +0 -276
  3054. package/dist/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  3055. package/dist/node_modules/undici-types/errors.d.ts +0 -161
  3056. package/dist/node_modules/undici-types/eventsource.d.ts +0 -66
  3057. package/dist/node_modules/undici-types/fetch.d.ts +0 -211
  3058. package/dist/node_modules/undici-types/formdata.d.ts +0 -108
  3059. package/dist/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  3060. package/dist/node_modules/undici-types/global-origin.d.ts +0 -7
  3061. package/dist/node_modules/undici-types/h2c-client.d.ts +0 -73
  3062. package/dist/node_modules/undici-types/handlers.d.ts +0 -15
  3063. package/dist/node_modules/undici-types/header.d.ts +0 -160
  3064. package/dist/node_modules/undici-types/index.d.ts +0 -80
  3065. package/dist/node_modules/undici-types/interceptors.d.ts +0 -39
  3066. package/dist/node_modules/undici-types/mock-agent.d.ts +0 -68
  3067. package/dist/node_modules/undici-types/mock-call-history.d.ts +0 -111
  3068. package/dist/node_modules/undici-types/mock-client.d.ts +0 -27
  3069. package/dist/node_modules/undici-types/mock-errors.d.ts +0 -12
  3070. package/dist/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  3071. package/dist/node_modules/undici-types/mock-pool.d.ts +0 -27
  3072. package/dist/node_modules/undici-types/package.json +0 -55
  3073. package/dist/node_modules/undici-types/patch.d.ts +0 -29
  3074. package/dist/node_modules/undici-types/pool-stats.d.ts +0 -19
  3075. package/dist/node_modules/undici-types/pool.d.ts +0 -41
  3076. package/dist/node_modules/undici-types/proxy-agent.d.ts +0 -29
  3077. package/dist/node_modules/undici-types/readable.d.ts +0 -68
  3078. package/dist/node_modules/undici-types/retry-agent.d.ts +0 -8
  3079. package/dist/node_modules/undici-types/retry-handler.d.ts +0 -125
  3080. package/dist/node_modules/undici-types/snapshot-agent.d.ts +0 -109
  3081. package/dist/node_modules/undici-types/util.d.ts +0 -18
  3082. package/dist/node_modules/undici-types/utility.d.ts +0 -7
  3083. package/dist/node_modules/undici-types/webidl.d.ts +0 -341
  3084. package/dist/node_modules/undici-types/websocket.d.ts +0 -186
  3085. package/dist/node_modules/universalify/LICENSE +0 -20
  3086. package/dist/node_modules/universalify/README.md +0 -76
  3087. package/dist/node_modules/universalify/index.js +0 -29
  3088. package/dist/node_modules/universalify/package.json +0 -34
  3089. package/dist/node_modules/url-parse/LICENSE +0 -22
  3090. package/dist/node_modules/url-parse/README.md +0 -153
  3091. package/dist/node_modules/url-parse/dist/url-parse.js +0 -755
  3092. package/dist/node_modules/url-parse/dist/url-parse.min.js +0 -1
  3093. package/dist/node_modules/url-parse/dist/url-parse.min.js.map +0 -1
  3094. package/dist/node_modules/url-parse/index.js +0 -589
  3095. package/dist/node_modules/url-parse/package.json +0 -49
  3096. package/dist/node_modules/util-deprecate/History.md +0 -16
  3097. package/dist/node_modules/util-deprecate/LICENSE +0 -24
  3098. package/dist/node_modules/util-deprecate/README.md +0 -53
  3099. package/dist/node_modules/util-deprecate/browser.js +0 -67
  3100. package/dist/node_modules/util-deprecate/node.js +0 -6
  3101. package/dist/node_modules/util-deprecate/package.json +0 -27
  3102. package/dist/node_modules/uuid/CHANGELOG.md +0 -274
  3103. package/dist/node_modules/uuid/CONTRIBUTING.md +0 -18
  3104. package/dist/node_modules/uuid/LICENSE.md +0 -9
  3105. package/dist/node_modules/uuid/README.md +0 -466
  3106. package/dist/node_modules/uuid/dist/bin/uuid +0 -2
  3107. package/dist/node_modules/uuid/dist/commonjs-browser/index.js +0 -79
  3108. package/dist/node_modules/uuid/dist/commonjs-browser/md5.js +0 -223
  3109. package/dist/node_modules/uuid/dist/commonjs-browser/native.js +0 -11
  3110. package/dist/node_modules/uuid/dist/commonjs-browser/nil.js +0 -8
  3111. package/dist/node_modules/uuid/dist/commonjs-browser/parse.js +0 -45
  3112. package/dist/node_modules/uuid/dist/commonjs-browser/regex.js +0 -8
  3113. package/dist/node_modules/uuid/dist/commonjs-browser/rng.js +0 -25
  3114. package/dist/node_modules/uuid/dist/commonjs-browser/sha1.js +0 -104
  3115. package/dist/node_modules/uuid/dist/commonjs-browser/stringify.js +0 -44
  3116. package/dist/node_modules/uuid/dist/commonjs-browser/v1.js +0 -107
  3117. package/dist/node_modules/uuid/dist/commonjs-browser/v3.js +0 -16
  3118. package/dist/node_modules/uuid/dist/commonjs-browser/v35.js +0 -80
  3119. package/dist/node_modules/uuid/dist/commonjs-browser/v4.js +0 -43
  3120. package/dist/node_modules/uuid/dist/commonjs-browser/v5.js +0 -16
  3121. package/dist/node_modules/uuid/dist/commonjs-browser/validate.js +0 -17
  3122. package/dist/node_modules/uuid/dist/commonjs-browser/version.js +0 -21
  3123. package/dist/node_modules/uuid/dist/esm-browser/index.js +0 -9
  3124. package/dist/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  3125. package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -4
  3126. package/dist/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  3127. package/dist/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  3128. package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  3129. package/dist/node_modules/uuid/dist/esm-browser/rng.js +0 -18
  3130. package/dist/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  3131. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +0 -33
  3132. package/dist/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  3133. package/dist/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  3134. package/dist/node_modules/uuid/dist/esm-browser/v35.js +0 -66
  3135. package/dist/node_modules/uuid/dist/esm-browser/v4.js +0 -29
  3136. package/dist/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  3137. package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  3138. package/dist/node_modules/uuid/dist/esm-browser/version.js +0 -11
  3139. package/dist/node_modules/uuid/dist/esm-node/index.js +0 -9
  3140. package/dist/node_modules/uuid/dist/esm-node/md5.js +0 -13
  3141. package/dist/node_modules/uuid/dist/esm-node/native.js +0 -4
  3142. package/dist/node_modules/uuid/dist/esm-node/nil.js +0 -1
  3143. package/dist/node_modules/uuid/dist/esm-node/parse.js +0 -35
  3144. package/dist/node_modules/uuid/dist/esm-node/regex.js +0 -1
  3145. package/dist/node_modules/uuid/dist/esm-node/rng.js +0 -12
  3146. package/dist/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  3147. package/dist/node_modules/uuid/dist/esm-node/stringify.js +0 -33
  3148. package/dist/node_modules/uuid/dist/esm-node/v1.js +0 -95
  3149. package/dist/node_modules/uuid/dist/esm-node/v3.js +0 -4
  3150. package/dist/node_modules/uuid/dist/esm-node/v35.js +0 -66
  3151. package/dist/node_modules/uuid/dist/esm-node/v4.js +0 -29
  3152. package/dist/node_modules/uuid/dist/esm-node/v5.js +0 -4
  3153. package/dist/node_modules/uuid/dist/esm-node/validate.js +0 -7
  3154. package/dist/node_modules/uuid/dist/esm-node/version.js +0 -11
  3155. package/dist/node_modules/uuid/dist/index.js +0 -79
  3156. package/dist/node_modules/uuid/dist/md5-browser.js +0 -223
  3157. package/dist/node_modules/uuid/dist/md5.js +0 -23
  3158. package/dist/node_modules/uuid/dist/native-browser.js +0 -11
  3159. package/dist/node_modules/uuid/dist/native.js +0 -15
  3160. package/dist/node_modules/uuid/dist/nil.js +0 -8
  3161. package/dist/node_modules/uuid/dist/parse.js +0 -45
  3162. package/dist/node_modules/uuid/dist/regex.js +0 -8
  3163. package/dist/node_modules/uuid/dist/rng-browser.js +0 -25
  3164. package/dist/node_modules/uuid/dist/rng.js +0 -24
  3165. package/dist/node_modules/uuid/dist/sha1-browser.js +0 -104
  3166. package/dist/node_modules/uuid/dist/sha1.js +0 -23
  3167. package/dist/node_modules/uuid/dist/stringify.js +0 -44
  3168. package/dist/node_modules/uuid/dist/uuid-bin.js +0 -85
  3169. package/dist/node_modules/uuid/dist/v1.js +0 -107
  3170. package/dist/node_modules/uuid/dist/v3.js +0 -16
  3171. package/dist/node_modules/uuid/dist/v35.js +0 -80
  3172. package/dist/node_modules/uuid/dist/v4.js +0 -43
  3173. package/dist/node_modules/uuid/dist/v5.js +0 -16
  3174. package/dist/node_modules/uuid/dist/validate.js +0 -17
  3175. package/dist/node_modules/uuid/dist/version.js +0 -21
  3176. package/dist/node_modules/uuid/package.json +0 -135
  3177. package/dist/node_modules/uuid/wrapper.mjs +0 -10
  3178. package/dist/node_modules/web-streams-polyfill/LICENSE +0 -22
  3179. package/dist/node_modules/web-streams-polyfill/README.md +0 -110
  3180. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.js +0 -4765
  3181. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.js.map +0 -1
  3182. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js +0 -9
  3183. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js.map +0 -1
  3184. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs +0 -4745
  3185. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs.map +0 -1
  3186. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.js +0 -4838
  3187. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.js.map +0 -1
  3188. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js +0 -9
  3189. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js.map +0 -1
  3190. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs +0 -4818
  3191. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs.map +0 -1
  3192. package/dist/node_modules/web-streams-polyfill/dist/polyfill.js +0 -5011
  3193. package/dist/node_modules/web-streams-polyfill/dist/polyfill.js.map +0 -1
  3194. package/dist/node_modules/web-streams-polyfill/dist/polyfill.min.js +0 -9
  3195. package/dist/node_modules/web-streams-polyfill/dist/polyfill.min.js.map +0 -1
  3196. package/dist/node_modules/web-streams-polyfill/dist/polyfill.mjs +0 -4991
  3197. package/dist/node_modules/web-streams-polyfill/dist/polyfill.mjs.map +0 -1
  3198. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +0 -4737
  3199. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +0 -1
  3200. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs +0 -4717
  3201. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs.map +0 -1
  3202. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.js +0 -4810
  3203. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.js.map +0 -1
  3204. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs +0 -4790
  3205. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs.map +0 -1
  3206. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.js +0 -4983
  3207. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.js.map +0 -1
  3208. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.mjs +0 -4963
  3209. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.mjs.map +0 -1
  3210. package/dist/node_modules/web-streams-polyfill/dist/types/polyfill.d.ts +0 -24
  3211. package/dist/node_modules/web-streams-polyfill/dist/types/ponyfill.d.ts +0 -780
  3212. package/dist/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts +0 -28
  3213. package/dist/node_modules/web-streams-polyfill/dist/types/ts3.6/ponyfill.d.ts +0 -821
  3214. package/dist/node_modules/web-streams-polyfill/dist/types/tsdoc-metadata.json +0 -11
  3215. package/dist/node_modules/web-streams-polyfill/es2018/package.json +0 -14
  3216. package/dist/node_modules/web-streams-polyfill/es6/package.json +0 -14
  3217. package/dist/node_modules/web-streams-polyfill/package.json +0 -83
  3218. package/dist/node_modules/web-streams-polyfill/ponyfill/es2018/package.json +0 -13
  3219. package/dist/node_modules/web-streams-polyfill/ponyfill/es6/package.json +0 -13
  3220. package/dist/node_modules/web-streams-polyfill/ponyfill/package.json +0 -13
  3221. package/dist/node_modules/worker-factory/LICENSE +0 -21
  3222. package/dist/node_modules/worker-factory/README.md +0 -5
  3223. package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.d.ts +0 -4
  3224. package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.d.ts.map +0 -1
  3225. package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.js +0 -35
  3226. package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.js.map +0 -1
  3227. package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.d.ts +0 -13
  3228. package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.d.ts.map +0 -1
  3229. package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.js +0 -7
  3230. package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.js.map +0 -1
  3231. package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.d.ts +0 -4
  3232. package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.d.ts.map +0 -1
  3233. package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.js +0 -36
  3234. package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.js.map +0 -1
  3235. package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.d.ts +0 -2
  3236. package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.d.ts.map +0 -1
  3237. package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.js +0 -8
  3238. package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.js.map +0 -1
  3239. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.d.ts +0 -6
  3240. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.d.ts.map +0 -1
  3241. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.js +0 -2
  3242. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.js.map +0 -1
  3243. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.d.ts +0 -7
  3244. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.d.ts.map +0 -1
  3245. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.js +0 -2
  3246. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.js.map +0 -1
  3247. package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.d.ts +0 -25
  3248. package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.d.ts.map +0 -1
  3249. package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.js +0 -2
  3250. package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.js.map +0 -1
  3251. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.d.ts +0 -6
  3252. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.d.ts.map +0 -1
  3253. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.js +0 -2
  3254. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.js.map +0 -1
  3255. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.d.ts +0 -6
  3256. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.d.ts.map +0 -1
  3257. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.js +0 -2
  3258. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.js.map +0 -1
  3259. package/dist/node_modules/worker-factory/build/es2019/interfaces/error.d.ts +0 -5
  3260. package/dist/node_modules/worker-factory/build/es2019/interfaces/error.d.ts.map +0 -1
  3261. package/dist/node_modules/worker-factory/build/es2019/interfaces/error.js +0 -2
  3262. package/dist/node_modules/worker-factory/build/es2019/interfaces/error.js.map +0 -1
  3263. package/dist/node_modules/worker-factory/build/es2019/interfaces/index.d.ts +0 -15
  3264. package/dist/node_modules/worker-factory/build/es2019/interfaces/index.d.ts.map +0 -1
  3265. package/dist/node_modules/worker-factory/build/es2019/interfaces/index.js +0 -15
  3266. package/dist/node_modules/worker-factory/build/es2019/interfaces/index.js.map +0 -1
  3267. package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.d.ts +0 -9
  3268. package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.d.ts.map +0 -1
  3269. package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.js +0 -2
  3270. package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.js.map +0 -1
  3271. package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.d.ts +0 -6
  3272. package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.d.ts.map +0 -1
  3273. package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.js +0 -2
  3274. package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.js.map +0 -1
  3275. package/dist/node_modules/worker-factory/build/es2019/interfaces/request.d.ts +0 -12
  3276. package/dist/node_modules/worker-factory/build/es2019/interfaces/request.d.ts.map +0 -1
  3277. package/dist/node_modules/worker-factory/build/es2019/interfaces/request.js +0 -2
  3278. package/dist/node_modules/worker-factory/build/es2019/interfaces/request.js.map +0 -1
  3279. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.d.ts +0 -4
  3280. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.d.ts.map +0 -1
  3281. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.js +0 -2
  3282. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.js.map +0 -1
  3283. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.d.ts +0 -5
  3284. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.d.ts.map +0 -1
  3285. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.js +0 -2
  3286. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.js.map +0 -1
  3287. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.d.ts +0 -5
  3288. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.d.ts.map +0 -1
  3289. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.js +0 -2
  3290. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.js.map +0 -1
  3291. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.d.ts +0 -6
  3292. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.d.ts.map +0 -1
  3293. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.js +0 -2
  3294. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.js.map +0 -1
  3295. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.d.ts +0 -6
  3296. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.d.ts.map +0 -1
  3297. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.js +0 -2
  3298. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.js.map +0 -1
  3299. package/dist/node_modules/worker-factory/build/es2019/module.d.ts +0 -8
  3300. package/dist/node_modules/worker-factory/build/es2019/module.d.ts.map +0 -1
  3301. package/dist/node_modules/worker-factory/build/es2019/module.js +0 -17
  3302. package/dist/node_modules/worker-factory/build/es2019/module.js.map +0 -1
  3303. package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.d.ts +0 -2
  3304. package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.d.ts.map +0 -1
  3305. package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.js +0 -2
  3306. package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.js.map +0 -1
  3307. package/dist/node_modules/worker-factory/build/es2019/types/index.d.ts +0 -12
  3308. package/dist/node_modules/worker-factory/build/es2019/types/index.d.ts.map +0 -1
  3309. package/dist/node_modules/worker-factory/build/es2019/types/index.js +0 -12
  3310. package/dist/node_modules/worker-factory/build/es2019/types/index.js.map +0 -1
  3311. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.d.ts +0 -3
  3312. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.d.ts.map +0 -1
  3313. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.js +0 -2
  3314. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.js.map +0 -1
  3315. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.d.ts +0 -3
  3316. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.d.ts.map +0 -1
  3317. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.js +0 -2
  3318. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.js.map +0 -1
  3319. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.d.ts +0 -5
  3320. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.d.ts.map +0 -1
  3321. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.js +0 -2
  3322. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.js.map +0 -1
  3323. package/dist/node_modules/worker-factory/build/es2019/types/message.d.ts +0 -3
  3324. package/dist/node_modules/worker-factory/build/es2019/types/message.d.ts.map +0 -1
  3325. package/dist/node_modules/worker-factory/build/es2019/types/message.js +0 -2
  3326. package/dist/node_modules/worker-factory/build/es2019/types/message.js.map +0 -1
  3327. package/dist/node_modules/worker-factory/build/es2019/types/typed-array.d.ts +0 -2
  3328. package/dist/node_modules/worker-factory/build/es2019/types/typed-array.d.ts.map +0 -1
  3329. package/dist/node_modules/worker-factory/build/es2019/types/typed-array.js +0 -2
  3330. package/dist/node_modules/worker-factory/build/es2019/types/typed-array.js.map +0 -1
  3331. package/dist/node_modules/worker-factory/build/es2019/types/value-map.d.ts +0 -5
  3332. package/dist/node_modules/worker-factory/build/es2019/types/value-map.d.ts.map +0 -1
  3333. package/dist/node_modules/worker-factory/build/es2019/types/value-map.js +0 -2
  3334. package/dist/node_modules/worker-factory/build/es2019/types/value-map.js.map +0 -1
  3335. package/dist/node_modules/worker-factory/build/es2019/types/value.d.ts +0 -5
  3336. package/dist/node_modules/worker-factory/build/es2019/types/value.d.ts.map +0 -1
  3337. package/dist/node_modules/worker-factory/build/es2019/types/value.js +0 -2
  3338. package/dist/node_modules/worker-factory/build/es2019/types/value.js.map +0 -1
  3339. package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.d.ts +0 -3
  3340. package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.d.ts.map +0 -1
  3341. package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.js +0 -2
  3342. package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.js.map +0 -1
  3343. package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.d.ts +0 -6
  3344. package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.d.ts.map +0 -1
  3345. package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.js +0 -2
  3346. package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.js.map +0 -1
  3347. package/dist/node_modules/worker-factory/build/es2019/types/worker-message.d.ts +0 -3
  3348. package/dist/node_modules/worker-factory/build/es2019/types/worker-message.d.ts.map +0 -1
  3349. package/dist/node_modules/worker-factory/build/es2019/types/worker-message.js +0 -2
  3350. package/dist/node_modules/worker-factory/build/es2019/types/worker-message.js.map +0 -1
  3351. package/dist/node_modules/worker-factory/build/es5/bundle.js +0 -227
  3352. package/dist/node_modules/worker-factory/package.json +0 -73
  3353. package/dist/node_modules/worker-factory/src/helpers/create-message-handler.ts +0 -52
  3354. package/dist/node_modules/worker-factory/src/helpers/error-renderers.ts +0 -24
  3355. package/dist/node_modules/worker-factory/src/helpers/extend-worker-implementation.ts +0 -52
  3356. package/dist/node_modules/worker-factory/src/helpers/is-supporting-transferables.ts +0 -10
  3357. package/dist/node_modules/worker-factory/src/interfaces/broker-event.ts +0 -6
  3358. package/dist/node_modules/worker-factory/src/interfaces/broker-message.ts +0 -9
  3359. package/dist/node_modules/worker-factory/src/interfaces/default-worker-definition.ts +0 -29
  3360. package/dist/node_modules/worker-factory/src/interfaces/error-notification.ts +0 -7
  3361. package/dist/node_modules/worker-factory/src/interfaces/error-response.ts +0 -7
  3362. package/dist/node_modules/worker-factory/src/interfaces/error.ts +0 -5
  3363. package/dist/node_modules/worker-factory/src/interfaces/index.ts +0 -14
  3364. package/dist/node_modules/worker-factory/src/interfaces/notification.ts +0 -11
  3365. package/dist/node_modules/worker-factory/src/interfaces/receiver.ts +0 -7
  3366. package/dist/node_modules/worker-factory/src/interfaces/request.ts +0 -13
  3367. package/dist/node_modules/worker-factory/src/interfaces/value-array.ts +0 -5
  3368. package/dist/node_modules/worker-factory/src/interfaces/value-map.ts +0 -5
  3369. package/dist/node_modules/worker-factory/src/interfaces/worker-definition.ts +0 -5
  3370. package/dist/node_modules/worker-factory/src/interfaces/worker-error-message.ts +0 -7
  3371. package/dist/node_modules/worker-factory/src/interfaces/worker-result-message.ts +0 -7
  3372. package/dist/node_modules/worker-factory/src/module.ts +0 -27
  3373. package/dist/node_modules/worker-factory/src/tsconfig.json +0 -6
  3374. package/dist/node_modules/worker-factory/src/types/destroy-worker-function.ts +0 -1
  3375. package/dist/node_modules/worker-factory/src/types/index.ts +0 -11
  3376. package/dist/node_modules/worker-factory/src/types/message-receiver-with-params.ts +0 -5
  3377. package/dist/node_modules/worker-factory/src/types/message-receiver-without-params.ts +0 -3
  3378. package/dist/node_modules/worker-factory/src/types/message-receiver.ts +0 -7
  3379. package/dist/node_modules/worker-factory/src/types/message.ts +0 -3
  3380. package/dist/node_modules/worker-factory/src/types/typed-array.ts +0 -10
  3381. package/dist/node_modules/worker-factory/src/types/value-map.ts +0 -5
  3382. package/dist/node_modules/worker-factory/src/types/value.ts +0 -5
  3383. package/dist/node_modules/worker-factory/src/types/worker-definition.ts +0 -3
  3384. package/dist/node_modules/worker-factory/src/types/worker-implementation.ts +0 -6
  3385. package/dist/node_modules/worker-factory/src/types/worker-message.ts +0 -3
  3386. package/dist/node_modules/worker-timers/LICENSE +0 -21
  3387. package/dist/node_modules/worker-timers/README.md +0 -71
  3388. package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.d.ts +0 -2
  3389. package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.d.ts.map +0 -1
  3390. package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.js +0 -15
  3391. package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.js.map +0 -1
  3392. package/dist/node_modules/worker-timers/build/es2019/module.d.ts +0 -6
  3393. package/dist/node_modules/worker-timers/build/es2019/module.d.ts.map +0 -1
  3394. package/dist/node_modules/worker-timers/build/es2019/module.js +0 -9
  3395. package/dist/node_modules/worker-timers/build/es2019/module.js.map +0 -1
  3396. package/dist/node_modules/worker-timers/build/es2019/worker/worker.d.ts +0 -2
  3397. package/dist/node_modules/worker-timers/build/es2019/worker/worker.d.ts.map +0 -1
  3398. package/dist/node_modules/worker-timers/build/es2019/worker/worker.js +0 -3
  3399. package/dist/node_modules/worker-timers/build/es2019/worker/worker.js.map +0 -1
  3400. package/dist/node_modules/worker-timers/build/es5/bundle.js +0 -50
  3401. package/dist/node_modules/worker-timers/package.json +0 -93
  3402. package/dist/node_modules/worker-timers/src/factories/load-or-return-broker.ts +0 -19
  3403. package/dist/node_modules/worker-timers/src/module.ts +0 -13
  3404. package/dist/node_modules/worker-timers/src/tsconfig.json +0 -6
  3405. package/dist/node_modules/worker-timers/src/worker/worker.ts +0 -2
  3406. package/dist/node_modules/worker-timers-broker/LICENSE +0 -21
  3407. package/dist/node_modules/worker-timers-broker/README.md +0 -70
  3408. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.d.ts +0 -2
  3409. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.d.ts.map +0 -1
  3410. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.js +0 -9
  3411. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.js.map +0 -1
  3412. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.d.ts +0 -2
  3413. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.d.ts.map +0 -1
  3414. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.js +0 -9
  3415. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.js.map +0 -1
  3416. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.d.ts +0 -3
  3417. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.d.ts.map +0 -1
  3418. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.js +0 -21
  3419. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.js.map +0 -1
  3420. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.d.ts +0 -3
  3421. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.d.ts.map +0 -1
  3422. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.js +0 -18
  3423. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.js.map +0 -1
  3424. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.d.ts +0 -2
  3425. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.d.ts.map +0 -1
  3426. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.js +0 -2
  3427. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.js.map +0 -1
  3428. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.d.ts +0 -8
  3429. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.d.ts.map +0 -1
  3430. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.js +0 -2
  3431. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.js.map +0 -1
  3432. package/dist/node_modules/worker-timers-broker/build/es2019/module.d.ts +0 -6
  3433. package/dist/node_modules/worker-timers-broker/build/es2019/module.d.ts.map +0 -1
  3434. package/dist/node_modules/worker-timers-broker/build/es2019/module.js +0 -30
  3435. package/dist/node_modules/worker-timers-broker/build/es2019/module.js.map +0 -1
  3436. package/dist/node_modules/worker-timers-broker/build/es2019/types/index.d.ts +0 -3
  3437. package/dist/node_modules/worker-timers-broker/build/es2019/types/index.d.ts.map +0 -1
  3438. package/dist/node_modules/worker-timers-broker/build/es2019/types/index.js +0 -3
  3439. package/dist/node_modules/worker-timers-broker/build/es2019/types/index.js.map +0 -1
  3440. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.d.ts +0 -4
  3441. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.d.ts.map +0 -1
  3442. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.js +0 -2
  3443. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.js.map +0 -1
  3444. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.d.ts +0 -4
  3445. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.d.ts.map +0 -1
  3446. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.js +0 -2
  3447. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.js.map +0 -1
  3448. package/dist/node_modules/worker-timers-broker/build/es5/bundle.js +0 -147
  3449. package/dist/node_modules/worker-timers-broker/package.json +0 -73
  3450. package/dist/node_modules/worker-timers-broker/src/factories/clear-interval-factory.ts +0 -10
  3451. package/dist/node_modules/worker-timers-broker/src/factories/clear-timeout-factory.ts +0 -10
  3452. package/dist/node_modules/worker-timers-broker/src/factories/set-interval-factory.ts +0 -33
  3453. package/dist/node_modules/worker-timers-broker/src/factories/set-timeout-factory.ts +0 -28
  3454. package/dist/node_modules/worker-timers-broker/src/interfaces/index.ts +0 -1
  3455. package/dist/node_modules/worker-timers-broker/src/interfaces/worker-timers-broker-definition.ts +0 -11
  3456. package/dist/node_modules/worker-timers-broker/src/module.ts +0 -44
  3457. package/dist/node_modules/worker-timers-broker/src/tsconfig.json +0 -6
  3458. package/dist/node_modules/worker-timers-broker/src/types/index.ts +0 -2
  3459. package/dist/node_modules/worker-timers-broker/src/types/worker-timers-broker-loader.ts +0 -4
  3460. package/dist/node_modules/worker-timers-broker/src/types/worker-timers-broker-wrapper.ts +0 -4
  3461. package/dist/node_modules/worker-timers-worker/LICENSE +0 -21
  3462. package/dist/node_modules/worker-timers-worker/README.md +0 -9
  3463. package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.d.ts +0 -3
  3464. package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.d.ts.map +0 -1
  3465. package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.js +0 -12
  3466. package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.js.map +0 -1
  3467. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.d.ts +0 -3
  3468. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.d.ts.map +0 -1
  3469. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.js +0 -17
  3470. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.js.map +0 -1
  3471. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.d.ts +0 -4
  3472. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.d.ts.map +0 -1
  3473. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.js +0 -11
  3474. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.js.map +0 -1
  3475. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.d.ts +0 -2
  3476. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.d.ts.map +0 -1
  3477. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.js +0 -2
  3478. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.js.map +0 -1
  3479. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.d.ts +0 -25
  3480. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.d.ts.map +0 -1
  3481. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.js +0 -2
  3482. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.js.map +0 -1
  3483. package/dist/node_modules/worker-timers-worker/build/es2019/module.d.ts +0 -3
  3484. package/dist/node_modules/worker-timers-worker/build/es2019/module.d.ts.map +0 -1
  3485. package/dist/node_modules/worker-timers-worker/build/es2019/module.js +0 -26
  3486. package/dist/node_modules/worker-timers-worker/build/es2019/module.js.map +0 -1
  3487. package/dist/node_modules/worker-timers-worker/build/es2019/types/index.d.ts +0 -4
  3488. package/dist/node_modules/worker-timers-worker/build/es2019/types/index.d.ts.map +0 -1
  3489. package/dist/node_modules/worker-timers-worker/build/es2019/types/index.js +0 -4
  3490. package/dist/node_modules/worker-timers-worker/build/es2019/types/index.js.map +0 -1
  3491. package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.d.ts +0 -3
  3492. package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.d.ts.map +0 -1
  3493. package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.js +0 -2
  3494. package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.js.map +0 -1
  3495. package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.d.ts +0 -2
  3496. package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.d.ts.map +0 -1
  3497. package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.js +0 -2
  3498. package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.js.map +0 -1
  3499. package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.d.ts +0 -4
  3500. package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.d.ts.map +0 -1
  3501. package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.js +0 -2
  3502. package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.js.map +0 -1
  3503. package/dist/node_modules/worker-timers-worker/build/es5/bundle.js +0 -106
  3504. package/dist/node_modules/worker-timers-worker/package.json +0 -78
  3505. package/dist/node_modules/worker-timers-worker/src/factories/clear-timer.ts +0 -20
  3506. package/dist/node_modules/worker-timers-worker/src/factories/set-timeout-callback.ts +0 -24
  3507. package/dist/node_modules/worker-timers-worker/src/factories/set-timer.ts +0 -21
  3508. package/dist/node_modules/worker-timers-worker/src/interfaces/index.ts +0 -1
  3509. package/dist/node_modules/worker-timers-worker/src/interfaces/worker-timers-worker-custom-definition.ts +0 -32
  3510. package/dist/node_modules/worker-timers-worker/src/module.ts +0 -30
  3511. package/dist/node_modules/worker-timers-worker/src/tsconfig.json +0 -6
  3512. package/dist/node_modules/worker-timers-worker/src/types/index.ts +0 -3
  3513. package/dist/node_modules/worker-timers-worker/src/types/resolve-set-response-result-promise.ts +0 -5
  3514. package/dist/node_modules/worker-timers-worker/src/types/timer-type.ts +0 -1
  3515. package/dist/node_modules/worker-timers-worker/src/types/worker-timers-worker-definition.ts +0 -4
  3516. package/dist/node_modules/ws/LICENSE +0 -20
  3517. package/dist/node_modules/ws/README.md +0 -548
  3518. package/dist/node_modules/ws/browser.js +0 -8
  3519. package/dist/node_modules/ws/index.js +0 -13
  3520. package/dist/node_modules/ws/lib/buffer-util.js +0 -131
  3521. package/dist/node_modules/ws/lib/constants.js +0 -19
  3522. package/dist/node_modules/ws/lib/event-target.js +0 -292
  3523. package/dist/node_modules/ws/lib/extension.js +0 -203
  3524. package/dist/node_modules/ws/lib/limiter.js +0 -55
  3525. package/dist/node_modules/ws/lib/permessage-deflate.js +0 -528
  3526. package/dist/node_modules/ws/lib/receiver.js +0 -706
  3527. package/dist/node_modules/ws/lib/sender.js +0 -602
  3528. package/dist/node_modules/ws/lib/stream.js +0 -161
  3529. package/dist/node_modules/ws/lib/subprotocol.js +0 -62
  3530. package/dist/node_modules/ws/lib/validation.js +0 -152
  3531. package/dist/node_modules/ws/lib/websocket-server.js +0 -554
  3532. package/dist/node_modules/ws/lib/websocket.js +0 -1393
  3533. package/dist/node_modules/ws/package.json +0 -69
  3534. package/dist/node_modules/ws/wrapper.mjs +0 -8
  3535. package/dist/node_modules/yocto-queue/index.d.ts +0 -56
  3536. package/dist/node_modules/yocto-queue/index.js +0 -68
  3537. package/dist/node_modules/yocto-queue/license +0 -9
  3538. package/dist/node_modules/yocto-queue/package.json +0 -43
  3539. package/dist/node_modules/yocto-queue/readme.md +0 -64
  3540. package/dist/package-lock.json +0 -1186
@@ -1,4717 +0,0 @@
1
- /**
2
- * @license
3
- * web-streams-polyfill v3.3.3
4
- * Copyright 2024 Mattias Buelens, Diwank Singh Tomer and other contributors.
5
- * This code is released under the MIT license.
6
- * SPDX-License-Identifier: MIT
7
- */
8
- function noop() {
9
- return undefined;
10
- }
11
-
12
- function typeIsObject(x) {
13
- return (typeof x === 'object' && x !== null) || typeof x === 'function';
14
- }
15
- const rethrowAssertionErrorRejection = noop;
16
- function setFunctionName(fn, name) {
17
- try {
18
- Object.defineProperty(fn, 'name', {
19
- value: name,
20
- configurable: true
21
- });
22
- }
23
- catch (_a) {
24
- // This property is non-configurable in older browsers, so ignore if this throws.
25
- // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name#browser_compatibility
26
- }
27
- }
28
-
29
- const originalPromise = Promise;
30
- const originalPromiseThen = Promise.prototype.then;
31
- const originalPromiseReject = Promise.reject.bind(originalPromise);
32
- // https://webidl.spec.whatwg.org/#a-new-promise
33
- function newPromise(executor) {
34
- return new originalPromise(executor);
35
- }
36
- // https://webidl.spec.whatwg.org/#a-promise-resolved-with
37
- function promiseResolvedWith(value) {
38
- return newPromise(resolve => resolve(value));
39
- }
40
- // https://webidl.spec.whatwg.org/#a-promise-rejected-with
41
- function promiseRejectedWith(reason) {
42
- return originalPromiseReject(reason);
43
- }
44
- function PerformPromiseThen(promise, onFulfilled, onRejected) {
45
- // There doesn't appear to be any way to correctly emulate the behaviour from JavaScript, so this is just an
46
- // approximation.
47
- return originalPromiseThen.call(promise, onFulfilled, onRejected);
48
- }
49
- // Bluebird logs a warning when a promise is created within a fulfillment handler, but then isn't returned
50
- // from that handler. To prevent this, return null instead of void from all handlers.
51
- // http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-created-in-a-handler-but-was-not-returned-from-it
52
- function uponPromise(promise, onFulfilled, onRejected) {
53
- PerformPromiseThen(PerformPromiseThen(promise, onFulfilled, onRejected), undefined, rethrowAssertionErrorRejection);
54
- }
55
- function uponFulfillment(promise, onFulfilled) {
56
- uponPromise(promise, onFulfilled);
57
- }
58
- function uponRejection(promise, onRejected) {
59
- uponPromise(promise, undefined, onRejected);
60
- }
61
- function transformPromiseWith(promise, fulfillmentHandler, rejectionHandler) {
62
- return PerformPromiseThen(promise, fulfillmentHandler, rejectionHandler);
63
- }
64
- function setPromiseIsHandledToTrue(promise) {
65
- PerformPromiseThen(promise, undefined, rethrowAssertionErrorRejection);
66
- }
67
- let _queueMicrotask = callback => {
68
- if (typeof queueMicrotask === 'function') {
69
- _queueMicrotask = queueMicrotask;
70
- }
71
- else {
72
- const resolvedPromise = promiseResolvedWith(undefined);
73
- _queueMicrotask = cb => PerformPromiseThen(resolvedPromise, cb);
74
- }
75
- return _queueMicrotask(callback);
76
- };
77
- function reflectCall(F, V, args) {
78
- if (typeof F !== 'function') {
79
- throw new TypeError('Argument is not a function');
80
- }
81
- return Function.prototype.apply.call(F, V, args);
82
- }
83
- function promiseCall(F, V, args) {
84
- try {
85
- return promiseResolvedWith(reflectCall(F, V, args));
86
- }
87
- catch (value) {
88
- return promiseRejectedWith(value);
89
- }
90
- }
91
-
92
- // Original from Chromium
93
- // https://chromium.googlesource.com/chromium/src/+/0aee4434a4dba42a42abaea9bfbc0cd196a63bc1/third_party/blink/renderer/core/streams/SimpleQueue.js
94
- const QUEUE_MAX_ARRAY_SIZE = 16384;
95
- /**
96
- * Simple queue structure.
97
- *
98
- * Avoids scalability issues with using a packed array directly by using
99
- * multiple arrays in a linked list and keeping the array size bounded.
100
- */
101
- class SimpleQueue {
102
- constructor() {
103
- this._cursor = 0;
104
- this._size = 0;
105
- // _front and _back are always defined.
106
- this._front = {
107
- _elements: [],
108
- _next: undefined
109
- };
110
- this._back = this._front;
111
- // The cursor is used to avoid calling Array.shift().
112
- // It contains the index of the front element of the array inside the
113
- // front-most node. It is always in the range [0, QUEUE_MAX_ARRAY_SIZE).
114
- this._cursor = 0;
115
- // When there is only one node, size === elements.length - cursor.
116
- this._size = 0;
117
- }
118
- get length() {
119
- return this._size;
120
- }
121
- // For exception safety, this method is structured in order:
122
- // 1. Read state
123
- // 2. Calculate required state mutations
124
- // 3. Perform state mutations
125
- push(element) {
126
- const oldBack = this._back;
127
- let newBack = oldBack;
128
- if (oldBack._elements.length === QUEUE_MAX_ARRAY_SIZE - 1) {
129
- newBack = {
130
- _elements: [],
131
- _next: undefined
132
- };
133
- }
134
- // push() is the mutation most likely to throw an exception, so it
135
- // goes first.
136
- oldBack._elements.push(element);
137
- if (newBack !== oldBack) {
138
- this._back = newBack;
139
- oldBack._next = newBack;
140
- }
141
- ++this._size;
142
- }
143
- // Like push(), shift() follows the read -> calculate -> mutate pattern for
144
- // exception safety.
145
- shift() { // must not be called on an empty queue
146
- const oldFront = this._front;
147
- let newFront = oldFront;
148
- const oldCursor = this._cursor;
149
- let newCursor = oldCursor + 1;
150
- const elements = oldFront._elements;
151
- const element = elements[oldCursor];
152
- if (newCursor === QUEUE_MAX_ARRAY_SIZE) {
153
- newFront = oldFront._next;
154
- newCursor = 0;
155
- }
156
- // No mutations before this point.
157
- --this._size;
158
- this._cursor = newCursor;
159
- if (oldFront !== newFront) {
160
- this._front = newFront;
161
- }
162
- // Permit shifted element to be garbage collected.
163
- elements[oldCursor] = undefined;
164
- return element;
165
- }
166
- // The tricky thing about forEach() is that it can be called
167
- // re-entrantly. The queue may be mutated inside the callback. It is easy to
168
- // see that push() within the callback has no negative effects since the end
169
- // of the queue is checked for on every iteration. If shift() is called
170
- // repeatedly within the callback then the next iteration may return an
171
- // element that has been removed. In this case the callback will be called
172
- // with undefined values until we either "catch up" with elements that still
173
- // exist or reach the back of the queue.
174
- forEach(callback) {
175
- let i = this._cursor;
176
- let node = this._front;
177
- let elements = node._elements;
178
- while (i !== elements.length || node._next !== undefined) {
179
- if (i === elements.length) {
180
- node = node._next;
181
- elements = node._elements;
182
- i = 0;
183
- if (elements.length === 0) {
184
- break;
185
- }
186
- }
187
- callback(elements[i]);
188
- ++i;
189
- }
190
- }
191
- // Return the element that would be returned if shift() was called now,
192
- // without modifying the queue.
193
- peek() { // must not be called on an empty queue
194
- const front = this._front;
195
- const cursor = this._cursor;
196
- return front._elements[cursor];
197
- }
198
- }
199
-
200
- const AbortSteps = Symbol('[[AbortSteps]]');
201
- const ErrorSteps = Symbol('[[ErrorSteps]]');
202
- const CancelSteps = Symbol('[[CancelSteps]]');
203
- const PullSteps = Symbol('[[PullSteps]]');
204
- const ReleaseSteps = Symbol('[[ReleaseSteps]]');
205
-
206
- function ReadableStreamReaderGenericInitialize(reader, stream) {
207
- reader._ownerReadableStream = stream;
208
- stream._reader = reader;
209
- if (stream._state === 'readable') {
210
- defaultReaderClosedPromiseInitialize(reader);
211
- }
212
- else if (stream._state === 'closed') {
213
- defaultReaderClosedPromiseInitializeAsResolved(reader);
214
- }
215
- else {
216
- defaultReaderClosedPromiseInitializeAsRejected(reader, stream._storedError);
217
- }
218
- }
219
- // A client of ReadableStreamDefaultReader and ReadableStreamBYOBReader may use these functions directly to bypass state
220
- // check.
221
- function ReadableStreamReaderGenericCancel(reader, reason) {
222
- const stream = reader._ownerReadableStream;
223
- return ReadableStreamCancel(stream, reason);
224
- }
225
- function ReadableStreamReaderGenericRelease(reader) {
226
- const stream = reader._ownerReadableStream;
227
- if (stream._state === 'readable') {
228
- defaultReaderClosedPromiseReject(reader, new TypeError(`Reader was released and can no longer be used to monitor the stream's closedness`));
229
- }
230
- else {
231
- defaultReaderClosedPromiseResetToRejected(reader, new TypeError(`Reader was released and can no longer be used to monitor the stream's closedness`));
232
- }
233
- stream._readableStreamController[ReleaseSteps]();
234
- stream._reader = undefined;
235
- reader._ownerReadableStream = undefined;
236
- }
237
- // Helper functions for the readers.
238
- function readerLockException(name) {
239
- return new TypeError('Cannot ' + name + ' a stream using a released reader');
240
- }
241
- // Helper functions for the ReadableStreamDefaultReader.
242
- function defaultReaderClosedPromiseInitialize(reader) {
243
- reader._closedPromise = newPromise((resolve, reject) => {
244
- reader._closedPromise_resolve = resolve;
245
- reader._closedPromise_reject = reject;
246
- });
247
- }
248
- function defaultReaderClosedPromiseInitializeAsRejected(reader, reason) {
249
- defaultReaderClosedPromiseInitialize(reader);
250
- defaultReaderClosedPromiseReject(reader, reason);
251
- }
252
- function defaultReaderClosedPromiseInitializeAsResolved(reader) {
253
- defaultReaderClosedPromiseInitialize(reader);
254
- defaultReaderClosedPromiseResolve(reader);
255
- }
256
- function defaultReaderClosedPromiseReject(reader, reason) {
257
- if (reader._closedPromise_reject === undefined) {
258
- return;
259
- }
260
- setPromiseIsHandledToTrue(reader._closedPromise);
261
- reader._closedPromise_reject(reason);
262
- reader._closedPromise_resolve = undefined;
263
- reader._closedPromise_reject = undefined;
264
- }
265
- function defaultReaderClosedPromiseResetToRejected(reader, reason) {
266
- defaultReaderClosedPromiseInitializeAsRejected(reader, reason);
267
- }
268
- function defaultReaderClosedPromiseResolve(reader) {
269
- if (reader._closedPromise_resolve === undefined) {
270
- return;
271
- }
272
- reader._closedPromise_resolve(undefined);
273
- reader._closedPromise_resolve = undefined;
274
- reader._closedPromise_reject = undefined;
275
- }
276
-
277
- /// <reference lib="es2015.core" />
278
- // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite#Polyfill
279
- const NumberIsFinite = Number.isFinite || function (x) {
280
- return typeof x === 'number' && isFinite(x);
281
- };
282
-
283
- /// <reference lib="es2015.core" />
284
- // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc#Polyfill
285
- const MathTrunc = Math.trunc || function (v) {
286
- return v < 0 ? Math.ceil(v) : Math.floor(v);
287
- };
288
-
289
- // https://heycam.github.io/webidl/#idl-dictionaries
290
- function isDictionary(x) {
291
- return typeof x === 'object' || typeof x === 'function';
292
- }
293
- function assertDictionary(obj, context) {
294
- if (obj !== undefined && !isDictionary(obj)) {
295
- throw new TypeError(`${context} is not an object.`);
296
- }
297
- }
298
- // https://heycam.github.io/webidl/#idl-callback-functions
299
- function assertFunction(x, context) {
300
- if (typeof x !== 'function') {
301
- throw new TypeError(`${context} is not a function.`);
302
- }
303
- }
304
- // https://heycam.github.io/webidl/#idl-object
305
- function isObject(x) {
306
- return (typeof x === 'object' && x !== null) || typeof x === 'function';
307
- }
308
- function assertObject(x, context) {
309
- if (!isObject(x)) {
310
- throw new TypeError(`${context} is not an object.`);
311
- }
312
- }
313
- function assertRequiredArgument(x, position, context) {
314
- if (x === undefined) {
315
- throw new TypeError(`Parameter ${position} is required in '${context}'.`);
316
- }
317
- }
318
- function assertRequiredField(x, field, context) {
319
- if (x === undefined) {
320
- throw new TypeError(`${field} is required in '${context}'.`);
321
- }
322
- }
323
- // https://heycam.github.io/webidl/#idl-unrestricted-double
324
- function convertUnrestrictedDouble(value) {
325
- return Number(value);
326
- }
327
- function censorNegativeZero(x) {
328
- return x === 0 ? 0 : x;
329
- }
330
- function integerPart(x) {
331
- return censorNegativeZero(MathTrunc(x));
332
- }
333
- // https://heycam.github.io/webidl/#idl-unsigned-long-long
334
- function convertUnsignedLongLongWithEnforceRange(value, context) {
335
- const lowerBound = 0;
336
- const upperBound = Number.MAX_SAFE_INTEGER;
337
- let x = Number(value);
338
- x = censorNegativeZero(x);
339
- if (!NumberIsFinite(x)) {
340
- throw new TypeError(`${context} is not a finite number`);
341
- }
342
- x = integerPart(x);
343
- if (x < lowerBound || x > upperBound) {
344
- throw new TypeError(`${context} is outside the accepted range of ${lowerBound} to ${upperBound}, inclusive`);
345
- }
346
- if (!NumberIsFinite(x) || x === 0) {
347
- return 0;
348
- }
349
- // TODO Use BigInt if supported?
350
- // let xBigInt = BigInt(integerPart(x));
351
- // xBigInt = BigInt.asUintN(64, xBigInt);
352
- // return Number(xBigInt);
353
- return x;
354
- }
355
-
356
- function assertReadableStream(x, context) {
357
- if (!IsReadableStream(x)) {
358
- throw new TypeError(`${context} is not a ReadableStream.`);
359
- }
360
- }
361
-
362
- // Abstract operations for the ReadableStream.
363
- function AcquireReadableStreamDefaultReader(stream) {
364
- return new ReadableStreamDefaultReader(stream);
365
- }
366
- // ReadableStream API exposed for controllers.
367
- function ReadableStreamAddReadRequest(stream, readRequest) {
368
- stream._reader._readRequests.push(readRequest);
369
- }
370
- function ReadableStreamFulfillReadRequest(stream, chunk, done) {
371
- const reader = stream._reader;
372
- const readRequest = reader._readRequests.shift();
373
- if (done) {
374
- readRequest._closeSteps();
375
- }
376
- else {
377
- readRequest._chunkSteps(chunk);
378
- }
379
- }
380
- function ReadableStreamGetNumReadRequests(stream) {
381
- return stream._reader._readRequests.length;
382
- }
383
- function ReadableStreamHasDefaultReader(stream) {
384
- const reader = stream._reader;
385
- if (reader === undefined) {
386
- return false;
387
- }
388
- if (!IsReadableStreamDefaultReader(reader)) {
389
- return false;
390
- }
391
- return true;
392
- }
393
- /**
394
- * A default reader vended by a {@link ReadableStream}.
395
- *
396
- * @public
397
- */
398
- class ReadableStreamDefaultReader {
399
- constructor(stream) {
400
- assertRequiredArgument(stream, 1, 'ReadableStreamDefaultReader');
401
- assertReadableStream(stream, 'First parameter');
402
- if (IsReadableStreamLocked(stream)) {
403
- throw new TypeError('This stream has already been locked for exclusive reading by another reader');
404
- }
405
- ReadableStreamReaderGenericInitialize(this, stream);
406
- this._readRequests = new SimpleQueue();
407
- }
408
- /**
409
- * Returns a promise that will be fulfilled when the stream becomes closed,
410
- * or rejected if the stream ever errors or the reader's lock is released before the stream finishes closing.
411
- */
412
- get closed() {
413
- if (!IsReadableStreamDefaultReader(this)) {
414
- return promiseRejectedWith(defaultReaderBrandCheckException('closed'));
415
- }
416
- return this._closedPromise;
417
- }
418
- /**
419
- * If the reader is active, behaves the same as {@link ReadableStream.cancel | stream.cancel(reason)}.
420
- */
421
- cancel(reason = undefined) {
422
- if (!IsReadableStreamDefaultReader(this)) {
423
- return promiseRejectedWith(defaultReaderBrandCheckException('cancel'));
424
- }
425
- if (this._ownerReadableStream === undefined) {
426
- return promiseRejectedWith(readerLockException('cancel'));
427
- }
428
- return ReadableStreamReaderGenericCancel(this, reason);
429
- }
430
- /**
431
- * Returns a promise that allows access to the next chunk from the stream's internal queue, if available.
432
- *
433
- * If reading a chunk causes the queue to become empty, more data will be pulled from the underlying source.
434
- */
435
- read() {
436
- if (!IsReadableStreamDefaultReader(this)) {
437
- return promiseRejectedWith(defaultReaderBrandCheckException('read'));
438
- }
439
- if (this._ownerReadableStream === undefined) {
440
- return promiseRejectedWith(readerLockException('read from'));
441
- }
442
- let resolvePromise;
443
- let rejectPromise;
444
- const promise = newPromise((resolve, reject) => {
445
- resolvePromise = resolve;
446
- rejectPromise = reject;
447
- });
448
- const readRequest = {
449
- _chunkSteps: chunk => resolvePromise({ value: chunk, done: false }),
450
- _closeSteps: () => resolvePromise({ value: undefined, done: true }),
451
- _errorSteps: e => rejectPromise(e)
452
- };
453
- ReadableStreamDefaultReaderRead(this, readRequest);
454
- return promise;
455
- }
456
- /**
457
- * Releases the reader's lock on the corresponding stream. After the lock is released, the reader is no longer active.
458
- * If the associated stream is errored when the lock is released, the reader will appear errored in the same way
459
- * from now on; otherwise, the reader will appear closed.
460
- *
461
- * A reader's lock cannot be released while it still has a pending read request, i.e., if a promise returned by
462
- * the reader's {@link ReadableStreamDefaultReader.read | read()} method has not yet been settled. Attempting to
463
- * do so will throw a `TypeError` and leave the reader locked to the stream.
464
- */
465
- releaseLock() {
466
- if (!IsReadableStreamDefaultReader(this)) {
467
- throw defaultReaderBrandCheckException('releaseLock');
468
- }
469
- if (this._ownerReadableStream === undefined) {
470
- return;
471
- }
472
- ReadableStreamDefaultReaderRelease(this);
473
- }
474
- }
475
- Object.defineProperties(ReadableStreamDefaultReader.prototype, {
476
- cancel: { enumerable: true },
477
- read: { enumerable: true },
478
- releaseLock: { enumerable: true },
479
- closed: { enumerable: true }
480
- });
481
- setFunctionName(ReadableStreamDefaultReader.prototype.cancel, 'cancel');
482
- setFunctionName(ReadableStreamDefaultReader.prototype.read, 'read');
483
- setFunctionName(ReadableStreamDefaultReader.prototype.releaseLock, 'releaseLock');
484
- if (typeof Symbol.toStringTag === 'symbol') {
485
- Object.defineProperty(ReadableStreamDefaultReader.prototype, Symbol.toStringTag, {
486
- value: 'ReadableStreamDefaultReader',
487
- configurable: true
488
- });
489
- }
490
- // Abstract operations for the readers.
491
- function IsReadableStreamDefaultReader(x) {
492
- if (!typeIsObject(x)) {
493
- return false;
494
- }
495
- if (!Object.prototype.hasOwnProperty.call(x, '_readRequests')) {
496
- return false;
497
- }
498
- return x instanceof ReadableStreamDefaultReader;
499
- }
500
- function ReadableStreamDefaultReaderRead(reader, readRequest) {
501
- const stream = reader._ownerReadableStream;
502
- stream._disturbed = true;
503
- if (stream._state === 'closed') {
504
- readRequest._closeSteps();
505
- }
506
- else if (stream._state === 'errored') {
507
- readRequest._errorSteps(stream._storedError);
508
- }
509
- else {
510
- stream._readableStreamController[PullSteps](readRequest);
511
- }
512
- }
513
- function ReadableStreamDefaultReaderRelease(reader) {
514
- ReadableStreamReaderGenericRelease(reader);
515
- const e = new TypeError('Reader was released');
516
- ReadableStreamDefaultReaderErrorReadRequests(reader, e);
517
- }
518
- function ReadableStreamDefaultReaderErrorReadRequests(reader, e) {
519
- const readRequests = reader._readRequests;
520
- reader._readRequests = new SimpleQueue();
521
- readRequests.forEach(readRequest => {
522
- readRequest._errorSteps(e);
523
- });
524
- }
525
- // Helper functions for the ReadableStreamDefaultReader.
526
- function defaultReaderBrandCheckException(name) {
527
- return new TypeError(`ReadableStreamDefaultReader.prototype.${name} can only be used on a ReadableStreamDefaultReader`);
528
- }
529
-
530
- /// <reference lib="es2018.asynciterable" />
531
- /* eslint-disable @typescript-eslint/no-empty-function */
532
- const AsyncIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf(async function* () { }).prototype);
533
-
534
- /// <reference lib="es2018.asynciterable" />
535
- class ReadableStreamAsyncIteratorImpl {
536
- constructor(reader, preventCancel) {
537
- this._ongoingPromise = undefined;
538
- this._isFinished = false;
539
- this._reader = reader;
540
- this._preventCancel = preventCancel;
541
- }
542
- next() {
543
- const nextSteps = () => this._nextSteps();
544
- this._ongoingPromise = this._ongoingPromise ?
545
- transformPromiseWith(this._ongoingPromise, nextSteps, nextSteps) :
546
- nextSteps();
547
- return this._ongoingPromise;
548
- }
549
- return(value) {
550
- const returnSteps = () => this._returnSteps(value);
551
- return this._ongoingPromise ?
552
- transformPromiseWith(this._ongoingPromise, returnSteps, returnSteps) :
553
- returnSteps();
554
- }
555
- _nextSteps() {
556
- if (this._isFinished) {
557
- return Promise.resolve({ value: undefined, done: true });
558
- }
559
- const reader = this._reader;
560
- let resolvePromise;
561
- let rejectPromise;
562
- const promise = newPromise((resolve, reject) => {
563
- resolvePromise = resolve;
564
- rejectPromise = reject;
565
- });
566
- const readRequest = {
567
- _chunkSteps: chunk => {
568
- this._ongoingPromise = undefined;
569
- // This needs to be delayed by one microtask, otherwise we stop pulling too early which breaks a test.
570
- // FIXME Is this a bug in the specification, or in the test?
571
- _queueMicrotask(() => resolvePromise({ value: chunk, done: false }));
572
- },
573
- _closeSteps: () => {
574
- this._ongoingPromise = undefined;
575
- this._isFinished = true;
576
- ReadableStreamReaderGenericRelease(reader);
577
- resolvePromise({ value: undefined, done: true });
578
- },
579
- _errorSteps: reason => {
580
- this._ongoingPromise = undefined;
581
- this._isFinished = true;
582
- ReadableStreamReaderGenericRelease(reader);
583
- rejectPromise(reason);
584
- }
585
- };
586
- ReadableStreamDefaultReaderRead(reader, readRequest);
587
- return promise;
588
- }
589
- _returnSteps(value) {
590
- if (this._isFinished) {
591
- return Promise.resolve({ value, done: true });
592
- }
593
- this._isFinished = true;
594
- const reader = this._reader;
595
- if (!this._preventCancel) {
596
- const result = ReadableStreamReaderGenericCancel(reader, value);
597
- ReadableStreamReaderGenericRelease(reader);
598
- return transformPromiseWith(result, () => ({ value, done: true }));
599
- }
600
- ReadableStreamReaderGenericRelease(reader);
601
- return promiseResolvedWith({ value, done: true });
602
- }
603
- }
604
- const ReadableStreamAsyncIteratorPrototype = {
605
- next() {
606
- if (!IsReadableStreamAsyncIterator(this)) {
607
- return promiseRejectedWith(streamAsyncIteratorBrandCheckException('next'));
608
- }
609
- return this._asyncIteratorImpl.next();
610
- },
611
- return(value) {
612
- if (!IsReadableStreamAsyncIterator(this)) {
613
- return promiseRejectedWith(streamAsyncIteratorBrandCheckException('return'));
614
- }
615
- return this._asyncIteratorImpl.return(value);
616
- }
617
- };
618
- Object.setPrototypeOf(ReadableStreamAsyncIteratorPrototype, AsyncIteratorPrototype);
619
- // Abstract operations for the ReadableStream.
620
- function AcquireReadableStreamAsyncIterator(stream, preventCancel) {
621
- const reader = AcquireReadableStreamDefaultReader(stream);
622
- const impl = new ReadableStreamAsyncIteratorImpl(reader, preventCancel);
623
- const iterator = Object.create(ReadableStreamAsyncIteratorPrototype);
624
- iterator._asyncIteratorImpl = impl;
625
- return iterator;
626
- }
627
- function IsReadableStreamAsyncIterator(x) {
628
- if (!typeIsObject(x)) {
629
- return false;
630
- }
631
- if (!Object.prototype.hasOwnProperty.call(x, '_asyncIteratorImpl')) {
632
- return false;
633
- }
634
- try {
635
- // noinspection SuspiciousTypeOfGuard
636
- return x._asyncIteratorImpl instanceof
637
- ReadableStreamAsyncIteratorImpl;
638
- }
639
- catch (_a) {
640
- return false;
641
- }
642
- }
643
- // Helper functions for the ReadableStream.
644
- function streamAsyncIteratorBrandCheckException(name) {
645
- return new TypeError(`ReadableStreamAsyncIterator.${name} can only be used on a ReadableSteamAsyncIterator`);
646
- }
647
-
648
- /// <reference lib="es2015.core" />
649
- // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN#Polyfill
650
- const NumberIsNaN = Number.isNaN || function (x) {
651
- // eslint-disable-next-line no-self-compare
652
- return x !== x;
653
- };
654
-
655
- var _a, _b, _c;
656
- function CreateArrayFromList(elements) {
657
- // We use arrays to represent lists, so this is basically a no-op.
658
- // Do a slice though just in case we happen to depend on the unique-ness.
659
- return elements.slice();
660
- }
661
- function CopyDataBlockBytes(dest, destOffset, src, srcOffset, n) {
662
- new Uint8Array(dest).set(new Uint8Array(src, srcOffset, n), destOffset);
663
- }
664
- let TransferArrayBuffer = (O) => {
665
- if (typeof O.transfer === 'function') {
666
- TransferArrayBuffer = buffer => buffer.transfer();
667
- }
668
- else if (typeof structuredClone === 'function') {
669
- TransferArrayBuffer = buffer => structuredClone(buffer, { transfer: [buffer] });
670
- }
671
- else {
672
- // Not implemented correctly
673
- TransferArrayBuffer = buffer => buffer;
674
- }
675
- return TransferArrayBuffer(O);
676
- };
677
- let IsDetachedBuffer = (O) => {
678
- if (typeof O.detached === 'boolean') {
679
- IsDetachedBuffer = buffer => buffer.detached;
680
- }
681
- else {
682
- // Not implemented correctly
683
- IsDetachedBuffer = buffer => buffer.byteLength === 0;
684
- }
685
- return IsDetachedBuffer(O);
686
- };
687
- function ArrayBufferSlice(buffer, begin, end) {
688
- // ArrayBuffer.prototype.slice is not available on IE10
689
- // https://www.caniuse.com/mdn-javascript_builtins_arraybuffer_slice
690
- if (buffer.slice) {
691
- return buffer.slice(begin, end);
692
- }
693
- const length = end - begin;
694
- const slice = new ArrayBuffer(length);
695
- CopyDataBlockBytes(slice, 0, buffer, begin, length);
696
- return slice;
697
- }
698
- function GetMethod(receiver, prop) {
699
- const func = receiver[prop];
700
- if (func === undefined || func === null) {
701
- return undefined;
702
- }
703
- if (typeof func !== 'function') {
704
- throw new TypeError(`${String(prop)} is not a function`);
705
- }
706
- return func;
707
- }
708
- function CreateAsyncFromSyncIterator(syncIteratorRecord) {
709
- // Instead of re-implementing CreateAsyncFromSyncIterator and %AsyncFromSyncIteratorPrototype%,
710
- // we use yield* inside an async generator function to achieve the same result.
711
- // Wrap the sync iterator inside a sync iterable, so we can use it with yield*.
712
- const syncIterable = {
713
- [Symbol.iterator]: () => syncIteratorRecord.iterator
714
- };
715
- // Create an async generator function and immediately invoke it.
716
- const asyncIterator = (async function* () {
717
- return yield* syncIterable;
718
- }());
719
- // Return as an async iterator record.
720
- const nextMethod = asyncIterator.next;
721
- return { iterator: asyncIterator, nextMethod, done: false };
722
- }
723
- // Aligns with core-js/modules/es.symbol.async-iterator.js
724
- const SymbolAsyncIterator = (_c = (_a = Symbol.asyncIterator) !== null && _a !== void 0 ? _a : (_b = Symbol.for) === null || _b === void 0 ? void 0 : _b.call(Symbol, 'Symbol.asyncIterator')) !== null && _c !== void 0 ? _c : '@@asyncIterator';
725
- function GetIterator(obj, hint = 'sync', method) {
726
- if (method === undefined) {
727
- if (hint === 'async') {
728
- method = GetMethod(obj, SymbolAsyncIterator);
729
- if (method === undefined) {
730
- const syncMethod = GetMethod(obj, Symbol.iterator);
731
- const syncIteratorRecord = GetIterator(obj, 'sync', syncMethod);
732
- return CreateAsyncFromSyncIterator(syncIteratorRecord);
733
- }
734
- }
735
- else {
736
- method = GetMethod(obj, Symbol.iterator);
737
- }
738
- }
739
- if (method === undefined) {
740
- throw new TypeError('The object is not iterable');
741
- }
742
- const iterator = reflectCall(method, obj, []);
743
- if (!typeIsObject(iterator)) {
744
- throw new TypeError('The iterator method must return an object');
745
- }
746
- const nextMethod = iterator.next;
747
- return { iterator, nextMethod, done: false };
748
- }
749
- function IteratorNext(iteratorRecord) {
750
- const result = reflectCall(iteratorRecord.nextMethod, iteratorRecord.iterator, []);
751
- if (!typeIsObject(result)) {
752
- throw new TypeError('The iterator.next() method must return an object');
753
- }
754
- return result;
755
- }
756
- function IteratorComplete(iterResult) {
757
- return Boolean(iterResult.done);
758
- }
759
- function IteratorValue(iterResult) {
760
- return iterResult.value;
761
- }
762
-
763
- function IsNonNegativeNumber(v) {
764
- if (typeof v !== 'number') {
765
- return false;
766
- }
767
- if (NumberIsNaN(v)) {
768
- return false;
769
- }
770
- if (v < 0) {
771
- return false;
772
- }
773
- return true;
774
- }
775
- function CloneAsUint8Array(O) {
776
- const buffer = ArrayBufferSlice(O.buffer, O.byteOffset, O.byteOffset + O.byteLength);
777
- return new Uint8Array(buffer);
778
- }
779
-
780
- function DequeueValue(container) {
781
- const pair = container._queue.shift();
782
- container._queueTotalSize -= pair.size;
783
- if (container._queueTotalSize < 0) {
784
- container._queueTotalSize = 0;
785
- }
786
- return pair.value;
787
- }
788
- function EnqueueValueWithSize(container, value, size) {
789
- if (!IsNonNegativeNumber(size) || size === Infinity) {
790
- throw new RangeError('Size must be a finite, non-NaN, non-negative number.');
791
- }
792
- container._queue.push({ value, size });
793
- container._queueTotalSize += size;
794
- }
795
- function PeekQueueValue(container) {
796
- const pair = container._queue.peek();
797
- return pair.value;
798
- }
799
- function ResetQueue(container) {
800
- container._queue = new SimpleQueue();
801
- container._queueTotalSize = 0;
802
- }
803
-
804
- function isDataViewConstructor(ctor) {
805
- return ctor === DataView;
806
- }
807
- function isDataView(view) {
808
- return isDataViewConstructor(view.constructor);
809
- }
810
- function arrayBufferViewElementSize(ctor) {
811
- if (isDataViewConstructor(ctor)) {
812
- return 1;
813
- }
814
- return ctor.BYTES_PER_ELEMENT;
815
- }
816
-
817
- /**
818
- * A pull-into request in a {@link ReadableByteStreamController}.
819
- *
820
- * @public
821
- */
822
- class ReadableStreamBYOBRequest {
823
- constructor() {
824
- throw new TypeError('Illegal constructor');
825
- }
826
- /**
827
- * Returns the view for writing in to, or `null` if the BYOB request has already been responded to.
828
- */
829
- get view() {
830
- if (!IsReadableStreamBYOBRequest(this)) {
831
- throw byobRequestBrandCheckException('view');
832
- }
833
- return this._view;
834
- }
835
- respond(bytesWritten) {
836
- if (!IsReadableStreamBYOBRequest(this)) {
837
- throw byobRequestBrandCheckException('respond');
838
- }
839
- assertRequiredArgument(bytesWritten, 1, 'respond');
840
- bytesWritten = convertUnsignedLongLongWithEnforceRange(bytesWritten, 'First parameter');
841
- if (this._associatedReadableByteStreamController === undefined) {
842
- throw new TypeError('This BYOB request has been invalidated');
843
- }
844
- if (IsDetachedBuffer(this._view.buffer)) {
845
- throw new TypeError(`The BYOB request's buffer has been detached and so cannot be used as a response`);
846
- }
847
- ReadableByteStreamControllerRespond(this._associatedReadableByteStreamController, bytesWritten);
848
- }
849
- respondWithNewView(view) {
850
- if (!IsReadableStreamBYOBRequest(this)) {
851
- throw byobRequestBrandCheckException('respondWithNewView');
852
- }
853
- assertRequiredArgument(view, 1, 'respondWithNewView');
854
- if (!ArrayBuffer.isView(view)) {
855
- throw new TypeError('You can only respond with array buffer views');
856
- }
857
- if (this._associatedReadableByteStreamController === undefined) {
858
- throw new TypeError('This BYOB request has been invalidated');
859
- }
860
- if (IsDetachedBuffer(view.buffer)) {
861
- throw new TypeError('The given view\'s buffer has been detached and so cannot be used as a response');
862
- }
863
- ReadableByteStreamControllerRespondWithNewView(this._associatedReadableByteStreamController, view);
864
- }
865
- }
866
- Object.defineProperties(ReadableStreamBYOBRequest.prototype, {
867
- respond: { enumerable: true },
868
- respondWithNewView: { enumerable: true },
869
- view: { enumerable: true }
870
- });
871
- setFunctionName(ReadableStreamBYOBRequest.prototype.respond, 'respond');
872
- setFunctionName(ReadableStreamBYOBRequest.prototype.respondWithNewView, 'respondWithNewView');
873
- if (typeof Symbol.toStringTag === 'symbol') {
874
- Object.defineProperty(ReadableStreamBYOBRequest.prototype, Symbol.toStringTag, {
875
- value: 'ReadableStreamBYOBRequest',
876
- configurable: true
877
- });
878
- }
879
- /**
880
- * Allows control of a {@link ReadableStream | readable byte stream}'s state and internal queue.
881
- *
882
- * @public
883
- */
884
- class ReadableByteStreamController {
885
- constructor() {
886
- throw new TypeError('Illegal constructor');
887
- }
888
- /**
889
- * Returns the current BYOB pull request, or `null` if there isn't one.
890
- */
891
- get byobRequest() {
892
- if (!IsReadableByteStreamController(this)) {
893
- throw byteStreamControllerBrandCheckException('byobRequest');
894
- }
895
- return ReadableByteStreamControllerGetBYOBRequest(this);
896
- }
897
- /**
898
- * Returns the desired size to fill the controlled stream's internal queue. It can be negative, if the queue is
899
- * over-full. An underlying byte source ought to use this information to determine when and how to apply backpressure.
900
- */
901
- get desiredSize() {
902
- if (!IsReadableByteStreamController(this)) {
903
- throw byteStreamControllerBrandCheckException('desiredSize');
904
- }
905
- return ReadableByteStreamControllerGetDesiredSize(this);
906
- }
907
- /**
908
- * Closes the controlled readable stream. Consumers will still be able to read any previously-enqueued chunks from
909
- * the stream, but once those are read, the stream will become closed.
910
- */
911
- close() {
912
- if (!IsReadableByteStreamController(this)) {
913
- throw byteStreamControllerBrandCheckException('close');
914
- }
915
- if (this._closeRequested) {
916
- throw new TypeError('The stream has already been closed; do not close it again!');
917
- }
918
- const state = this._controlledReadableByteStream._state;
919
- if (state !== 'readable') {
920
- throw new TypeError(`The stream (in ${state} state) is not in the readable state and cannot be closed`);
921
- }
922
- ReadableByteStreamControllerClose(this);
923
- }
924
- enqueue(chunk) {
925
- if (!IsReadableByteStreamController(this)) {
926
- throw byteStreamControllerBrandCheckException('enqueue');
927
- }
928
- assertRequiredArgument(chunk, 1, 'enqueue');
929
- if (!ArrayBuffer.isView(chunk)) {
930
- throw new TypeError('chunk must be an array buffer view');
931
- }
932
- if (chunk.byteLength === 0) {
933
- throw new TypeError('chunk must have non-zero byteLength');
934
- }
935
- if (chunk.buffer.byteLength === 0) {
936
- throw new TypeError(`chunk's buffer must have non-zero byteLength`);
937
- }
938
- if (this._closeRequested) {
939
- throw new TypeError('stream is closed or draining');
940
- }
941
- const state = this._controlledReadableByteStream._state;
942
- if (state !== 'readable') {
943
- throw new TypeError(`The stream (in ${state} state) is not in the readable state and cannot be enqueued to`);
944
- }
945
- ReadableByteStreamControllerEnqueue(this, chunk);
946
- }
947
- /**
948
- * Errors the controlled readable stream, making all future interactions with it fail with the given error `e`.
949
- */
950
- error(e = undefined) {
951
- if (!IsReadableByteStreamController(this)) {
952
- throw byteStreamControllerBrandCheckException('error');
953
- }
954
- ReadableByteStreamControllerError(this, e);
955
- }
956
- /** @internal */
957
- [CancelSteps](reason) {
958
- ReadableByteStreamControllerClearPendingPullIntos(this);
959
- ResetQueue(this);
960
- const result = this._cancelAlgorithm(reason);
961
- ReadableByteStreamControllerClearAlgorithms(this);
962
- return result;
963
- }
964
- /** @internal */
965
- [PullSteps](readRequest) {
966
- const stream = this._controlledReadableByteStream;
967
- if (this._queueTotalSize > 0) {
968
- ReadableByteStreamControllerFillReadRequestFromQueue(this, readRequest);
969
- return;
970
- }
971
- const autoAllocateChunkSize = this._autoAllocateChunkSize;
972
- if (autoAllocateChunkSize !== undefined) {
973
- let buffer;
974
- try {
975
- buffer = new ArrayBuffer(autoAllocateChunkSize);
976
- }
977
- catch (bufferE) {
978
- readRequest._errorSteps(bufferE);
979
- return;
980
- }
981
- const pullIntoDescriptor = {
982
- buffer,
983
- bufferByteLength: autoAllocateChunkSize,
984
- byteOffset: 0,
985
- byteLength: autoAllocateChunkSize,
986
- bytesFilled: 0,
987
- minimumFill: 1,
988
- elementSize: 1,
989
- viewConstructor: Uint8Array,
990
- readerType: 'default'
991
- };
992
- this._pendingPullIntos.push(pullIntoDescriptor);
993
- }
994
- ReadableStreamAddReadRequest(stream, readRequest);
995
- ReadableByteStreamControllerCallPullIfNeeded(this);
996
- }
997
- /** @internal */
998
- [ReleaseSteps]() {
999
- if (this._pendingPullIntos.length > 0) {
1000
- const firstPullInto = this._pendingPullIntos.peek();
1001
- firstPullInto.readerType = 'none';
1002
- this._pendingPullIntos = new SimpleQueue();
1003
- this._pendingPullIntos.push(firstPullInto);
1004
- }
1005
- }
1006
- }
1007
- Object.defineProperties(ReadableByteStreamController.prototype, {
1008
- close: { enumerable: true },
1009
- enqueue: { enumerable: true },
1010
- error: { enumerable: true },
1011
- byobRequest: { enumerable: true },
1012
- desiredSize: { enumerable: true }
1013
- });
1014
- setFunctionName(ReadableByteStreamController.prototype.close, 'close');
1015
- setFunctionName(ReadableByteStreamController.prototype.enqueue, 'enqueue');
1016
- setFunctionName(ReadableByteStreamController.prototype.error, 'error');
1017
- if (typeof Symbol.toStringTag === 'symbol') {
1018
- Object.defineProperty(ReadableByteStreamController.prototype, Symbol.toStringTag, {
1019
- value: 'ReadableByteStreamController',
1020
- configurable: true
1021
- });
1022
- }
1023
- // Abstract operations for the ReadableByteStreamController.
1024
- function IsReadableByteStreamController(x) {
1025
- if (!typeIsObject(x)) {
1026
- return false;
1027
- }
1028
- if (!Object.prototype.hasOwnProperty.call(x, '_controlledReadableByteStream')) {
1029
- return false;
1030
- }
1031
- return x instanceof ReadableByteStreamController;
1032
- }
1033
- function IsReadableStreamBYOBRequest(x) {
1034
- if (!typeIsObject(x)) {
1035
- return false;
1036
- }
1037
- if (!Object.prototype.hasOwnProperty.call(x, '_associatedReadableByteStreamController')) {
1038
- return false;
1039
- }
1040
- return x instanceof ReadableStreamBYOBRequest;
1041
- }
1042
- function ReadableByteStreamControllerCallPullIfNeeded(controller) {
1043
- const shouldPull = ReadableByteStreamControllerShouldCallPull(controller);
1044
- if (!shouldPull) {
1045
- return;
1046
- }
1047
- if (controller._pulling) {
1048
- controller._pullAgain = true;
1049
- return;
1050
- }
1051
- controller._pulling = true;
1052
- // TODO: Test controller argument
1053
- const pullPromise = controller._pullAlgorithm();
1054
- uponPromise(pullPromise, () => {
1055
- controller._pulling = false;
1056
- if (controller._pullAgain) {
1057
- controller._pullAgain = false;
1058
- ReadableByteStreamControllerCallPullIfNeeded(controller);
1059
- }
1060
- return null;
1061
- }, e => {
1062
- ReadableByteStreamControllerError(controller, e);
1063
- return null;
1064
- });
1065
- }
1066
- function ReadableByteStreamControllerClearPendingPullIntos(controller) {
1067
- ReadableByteStreamControllerInvalidateBYOBRequest(controller);
1068
- controller._pendingPullIntos = new SimpleQueue();
1069
- }
1070
- function ReadableByteStreamControllerCommitPullIntoDescriptor(stream, pullIntoDescriptor) {
1071
- let done = false;
1072
- if (stream._state === 'closed') {
1073
- done = true;
1074
- }
1075
- const filledView = ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor);
1076
- if (pullIntoDescriptor.readerType === 'default') {
1077
- ReadableStreamFulfillReadRequest(stream, filledView, done);
1078
- }
1079
- else {
1080
- ReadableStreamFulfillReadIntoRequest(stream, filledView, done);
1081
- }
1082
- }
1083
- function ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor) {
1084
- const bytesFilled = pullIntoDescriptor.bytesFilled;
1085
- const elementSize = pullIntoDescriptor.elementSize;
1086
- return new pullIntoDescriptor.viewConstructor(pullIntoDescriptor.buffer, pullIntoDescriptor.byteOffset, bytesFilled / elementSize);
1087
- }
1088
- function ReadableByteStreamControllerEnqueueChunkToQueue(controller, buffer, byteOffset, byteLength) {
1089
- controller._queue.push({ buffer, byteOffset, byteLength });
1090
- controller._queueTotalSize += byteLength;
1091
- }
1092
- function ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, buffer, byteOffset, byteLength) {
1093
- let clonedChunk;
1094
- try {
1095
- clonedChunk = ArrayBufferSlice(buffer, byteOffset, byteOffset + byteLength);
1096
- }
1097
- catch (cloneE) {
1098
- ReadableByteStreamControllerError(controller, cloneE);
1099
- throw cloneE;
1100
- }
1101
- ReadableByteStreamControllerEnqueueChunkToQueue(controller, clonedChunk, 0, byteLength);
1102
- }
1103
- function ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(controller, firstDescriptor) {
1104
- if (firstDescriptor.bytesFilled > 0) {
1105
- ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, firstDescriptor.buffer, firstDescriptor.byteOffset, firstDescriptor.bytesFilled);
1106
- }
1107
- ReadableByteStreamControllerShiftPendingPullInto(controller);
1108
- }
1109
- function ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor) {
1110
- const maxBytesToCopy = Math.min(controller._queueTotalSize, pullIntoDescriptor.byteLength - pullIntoDescriptor.bytesFilled);
1111
- const maxBytesFilled = pullIntoDescriptor.bytesFilled + maxBytesToCopy;
1112
- let totalBytesToCopyRemaining = maxBytesToCopy;
1113
- let ready = false;
1114
- const remainderBytes = maxBytesFilled % pullIntoDescriptor.elementSize;
1115
- const maxAlignedBytes = maxBytesFilled - remainderBytes;
1116
- // A descriptor for a read() request that is not yet filled up to its minimum length will stay at the head
1117
- // of the queue, so the underlying source can keep filling it.
1118
- if (maxAlignedBytes >= pullIntoDescriptor.minimumFill) {
1119
- totalBytesToCopyRemaining = maxAlignedBytes - pullIntoDescriptor.bytesFilled;
1120
- ready = true;
1121
- }
1122
- const queue = controller._queue;
1123
- while (totalBytesToCopyRemaining > 0) {
1124
- const headOfQueue = queue.peek();
1125
- const bytesToCopy = Math.min(totalBytesToCopyRemaining, headOfQueue.byteLength);
1126
- const destStart = pullIntoDescriptor.byteOffset + pullIntoDescriptor.bytesFilled;
1127
- CopyDataBlockBytes(pullIntoDescriptor.buffer, destStart, headOfQueue.buffer, headOfQueue.byteOffset, bytesToCopy);
1128
- if (headOfQueue.byteLength === bytesToCopy) {
1129
- queue.shift();
1130
- }
1131
- else {
1132
- headOfQueue.byteOffset += bytesToCopy;
1133
- headOfQueue.byteLength -= bytesToCopy;
1134
- }
1135
- controller._queueTotalSize -= bytesToCopy;
1136
- ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, bytesToCopy, pullIntoDescriptor);
1137
- totalBytesToCopyRemaining -= bytesToCopy;
1138
- }
1139
- return ready;
1140
- }
1141
- function ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, size, pullIntoDescriptor) {
1142
- pullIntoDescriptor.bytesFilled += size;
1143
- }
1144
- function ReadableByteStreamControllerHandleQueueDrain(controller) {
1145
- if (controller._queueTotalSize === 0 && controller._closeRequested) {
1146
- ReadableByteStreamControllerClearAlgorithms(controller);
1147
- ReadableStreamClose(controller._controlledReadableByteStream);
1148
- }
1149
- else {
1150
- ReadableByteStreamControllerCallPullIfNeeded(controller);
1151
- }
1152
- }
1153
- function ReadableByteStreamControllerInvalidateBYOBRequest(controller) {
1154
- if (controller._byobRequest === null) {
1155
- return;
1156
- }
1157
- controller._byobRequest._associatedReadableByteStreamController = undefined;
1158
- controller._byobRequest._view = null;
1159
- controller._byobRequest = null;
1160
- }
1161
- function ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller) {
1162
- while (controller._pendingPullIntos.length > 0) {
1163
- if (controller._queueTotalSize === 0) {
1164
- return;
1165
- }
1166
- const pullIntoDescriptor = controller._pendingPullIntos.peek();
1167
- if (ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor)) {
1168
- ReadableByteStreamControllerShiftPendingPullInto(controller);
1169
- ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableByteStream, pullIntoDescriptor);
1170
- }
1171
- }
1172
- }
1173
- function ReadableByteStreamControllerProcessReadRequestsUsingQueue(controller) {
1174
- const reader = controller._controlledReadableByteStream._reader;
1175
- while (reader._readRequests.length > 0) {
1176
- if (controller._queueTotalSize === 0) {
1177
- return;
1178
- }
1179
- const readRequest = reader._readRequests.shift();
1180
- ReadableByteStreamControllerFillReadRequestFromQueue(controller, readRequest);
1181
- }
1182
- }
1183
- function ReadableByteStreamControllerPullInto(controller, view, min, readIntoRequest) {
1184
- const stream = controller._controlledReadableByteStream;
1185
- const ctor = view.constructor;
1186
- const elementSize = arrayBufferViewElementSize(ctor);
1187
- const { byteOffset, byteLength } = view;
1188
- const minimumFill = min * elementSize;
1189
- let buffer;
1190
- try {
1191
- buffer = TransferArrayBuffer(view.buffer);
1192
- }
1193
- catch (e) {
1194
- readIntoRequest._errorSteps(e);
1195
- return;
1196
- }
1197
- const pullIntoDescriptor = {
1198
- buffer,
1199
- bufferByteLength: buffer.byteLength,
1200
- byteOffset,
1201
- byteLength,
1202
- bytesFilled: 0,
1203
- minimumFill,
1204
- elementSize,
1205
- viewConstructor: ctor,
1206
- readerType: 'byob'
1207
- };
1208
- if (controller._pendingPullIntos.length > 0) {
1209
- controller._pendingPullIntos.push(pullIntoDescriptor);
1210
- // No ReadableByteStreamControllerCallPullIfNeeded() call since:
1211
- // - No change happens on desiredSize
1212
- // - The source has already been notified of that there's at least 1 pending read(view)
1213
- ReadableStreamAddReadIntoRequest(stream, readIntoRequest);
1214
- return;
1215
- }
1216
- if (stream._state === 'closed') {
1217
- const emptyView = new ctor(pullIntoDescriptor.buffer, pullIntoDescriptor.byteOffset, 0);
1218
- readIntoRequest._closeSteps(emptyView);
1219
- return;
1220
- }
1221
- if (controller._queueTotalSize > 0) {
1222
- if (ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor)) {
1223
- const filledView = ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor);
1224
- ReadableByteStreamControllerHandleQueueDrain(controller);
1225
- readIntoRequest._chunkSteps(filledView);
1226
- return;
1227
- }
1228
- if (controller._closeRequested) {
1229
- const e = new TypeError('Insufficient bytes to fill elements in the given buffer');
1230
- ReadableByteStreamControllerError(controller, e);
1231
- readIntoRequest._errorSteps(e);
1232
- return;
1233
- }
1234
- }
1235
- controller._pendingPullIntos.push(pullIntoDescriptor);
1236
- ReadableStreamAddReadIntoRequest(stream, readIntoRequest);
1237
- ReadableByteStreamControllerCallPullIfNeeded(controller);
1238
- }
1239
- function ReadableByteStreamControllerRespondInClosedState(controller, firstDescriptor) {
1240
- if (firstDescriptor.readerType === 'none') {
1241
- ReadableByteStreamControllerShiftPendingPullInto(controller);
1242
- }
1243
- const stream = controller._controlledReadableByteStream;
1244
- if (ReadableStreamHasBYOBReader(stream)) {
1245
- while (ReadableStreamGetNumReadIntoRequests(stream) > 0) {
1246
- const pullIntoDescriptor = ReadableByteStreamControllerShiftPendingPullInto(controller);
1247
- ReadableByteStreamControllerCommitPullIntoDescriptor(stream, pullIntoDescriptor);
1248
- }
1249
- }
1250
- }
1251
- function ReadableByteStreamControllerRespondInReadableState(controller, bytesWritten, pullIntoDescriptor) {
1252
- ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, bytesWritten, pullIntoDescriptor);
1253
- if (pullIntoDescriptor.readerType === 'none') {
1254
- ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(controller, pullIntoDescriptor);
1255
- ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller);
1256
- return;
1257
- }
1258
- if (pullIntoDescriptor.bytesFilled < pullIntoDescriptor.minimumFill) {
1259
- // A descriptor for a read() request that is not yet filled up to its minimum length will stay at the head
1260
- // of the queue, so the underlying source can keep filling it.
1261
- return;
1262
- }
1263
- ReadableByteStreamControllerShiftPendingPullInto(controller);
1264
- const remainderSize = pullIntoDescriptor.bytesFilled % pullIntoDescriptor.elementSize;
1265
- if (remainderSize > 0) {
1266
- const end = pullIntoDescriptor.byteOffset + pullIntoDescriptor.bytesFilled;
1267
- ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, pullIntoDescriptor.buffer, end - remainderSize, remainderSize);
1268
- }
1269
- pullIntoDescriptor.bytesFilled -= remainderSize;
1270
- ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableByteStream, pullIntoDescriptor);
1271
- ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller);
1272
- }
1273
- function ReadableByteStreamControllerRespondInternal(controller, bytesWritten) {
1274
- const firstDescriptor = controller._pendingPullIntos.peek();
1275
- ReadableByteStreamControllerInvalidateBYOBRequest(controller);
1276
- const state = controller._controlledReadableByteStream._state;
1277
- if (state === 'closed') {
1278
- ReadableByteStreamControllerRespondInClosedState(controller, firstDescriptor);
1279
- }
1280
- else {
1281
- ReadableByteStreamControllerRespondInReadableState(controller, bytesWritten, firstDescriptor);
1282
- }
1283
- ReadableByteStreamControllerCallPullIfNeeded(controller);
1284
- }
1285
- function ReadableByteStreamControllerShiftPendingPullInto(controller) {
1286
- const descriptor = controller._pendingPullIntos.shift();
1287
- return descriptor;
1288
- }
1289
- function ReadableByteStreamControllerShouldCallPull(controller) {
1290
- const stream = controller._controlledReadableByteStream;
1291
- if (stream._state !== 'readable') {
1292
- return false;
1293
- }
1294
- if (controller._closeRequested) {
1295
- return false;
1296
- }
1297
- if (!controller._started) {
1298
- return false;
1299
- }
1300
- if (ReadableStreamHasDefaultReader(stream) && ReadableStreamGetNumReadRequests(stream) > 0) {
1301
- return true;
1302
- }
1303
- if (ReadableStreamHasBYOBReader(stream) && ReadableStreamGetNumReadIntoRequests(stream) > 0) {
1304
- return true;
1305
- }
1306
- const desiredSize = ReadableByteStreamControllerGetDesiredSize(controller);
1307
- if (desiredSize > 0) {
1308
- return true;
1309
- }
1310
- return false;
1311
- }
1312
- function ReadableByteStreamControllerClearAlgorithms(controller) {
1313
- controller._pullAlgorithm = undefined;
1314
- controller._cancelAlgorithm = undefined;
1315
- }
1316
- // A client of ReadableByteStreamController may use these functions directly to bypass state check.
1317
- function ReadableByteStreamControllerClose(controller) {
1318
- const stream = controller._controlledReadableByteStream;
1319
- if (controller._closeRequested || stream._state !== 'readable') {
1320
- return;
1321
- }
1322
- if (controller._queueTotalSize > 0) {
1323
- controller._closeRequested = true;
1324
- return;
1325
- }
1326
- if (controller._pendingPullIntos.length > 0) {
1327
- const firstPendingPullInto = controller._pendingPullIntos.peek();
1328
- if (firstPendingPullInto.bytesFilled % firstPendingPullInto.elementSize !== 0) {
1329
- const e = new TypeError('Insufficient bytes to fill elements in the given buffer');
1330
- ReadableByteStreamControllerError(controller, e);
1331
- throw e;
1332
- }
1333
- }
1334
- ReadableByteStreamControllerClearAlgorithms(controller);
1335
- ReadableStreamClose(stream);
1336
- }
1337
- function ReadableByteStreamControllerEnqueue(controller, chunk) {
1338
- const stream = controller._controlledReadableByteStream;
1339
- if (controller._closeRequested || stream._state !== 'readable') {
1340
- return;
1341
- }
1342
- const { buffer, byteOffset, byteLength } = chunk;
1343
- if (IsDetachedBuffer(buffer)) {
1344
- throw new TypeError('chunk\'s buffer is detached and so cannot be enqueued');
1345
- }
1346
- const transferredBuffer = TransferArrayBuffer(buffer);
1347
- if (controller._pendingPullIntos.length > 0) {
1348
- const firstPendingPullInto = controller._pendingPullIntos.peek();
1349
- if (IsDetachedBuffer(firstPendingPullInto.buffer)) {
1350
- throw new TypeError('The BYOB request\'s buffer has been detached and so cannot be filled with an enqueued chunk');
1351
- }
1352
- ReadableByteStreamControllerInvalidateBYOBRequest(controller);
1353
- firstPendingPullInto.buffer = TransferArrayBuffer(firstPendingPullInto.buffer);
1354
- if (firstPendingPullInto.readerType === 'none') {
1355
- ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(controller, firstPendingPullInto);
1356
- }
1357
- }
1358
- if (ReadableStreamHasDefaultReader(stream)) {
1359
- ReadableByteStreamControllerProcessReadRequestsUsingQueue(controller);
1360
- if (ReadableStreamGetNumReadRequests(stream) === 0) {
1361
- ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength);
1362
- }
1363
- else {
1364
- if (controller._pendingPullIntos.length > 0) {
1365
- ReadableByteStreamControllerShiftPendingPullInto(controller);
1366
- }
1367
- const transferredView = new Uint8Array(transferredBuffer, byteOffset, byteLength);
1368
- ReadableStreamFulfillReadRequest(stream, transferredView, false);
1369
- }
1370
- }
1371
- else if (ReadableStreamHasBYOBReader(stream)) {
1372
- // TODO: Ideally in this branch detaching should happen only if the buffer is not consumed fully.
1373
- ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength);
1374
- ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller);
1375
- }
1376
- else {
1377
- ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength);
1378
- }
1379
- ReadableByteStreamControllerCallPullIfNeeded(controller);
1380
- }
1381
- function ReadableByteStreamControllerError(controller, e) {
1382
- const stream = controller._controlledReadableByteStream;
1383
- if (stream._state !== 'readable') {
1384
- return;
1385
- }
1386
- ReadableByteStreamControllerClearPendingPullIntos(controller);
1387
- ResetQueue(controller);
1388
- ReadableByteStreamControllerClearAlgorithms(controller);
1389
- ReadableStreamError(stream, e);
1390
- }
1391
- function ReadableByteStreamControllerFillReadRequestFromQueue(controller, readRequest) {
1392
- const entry = controller._queue.shift();
1393
- controller._queueTotalSize -= entry.byteLength;
1394
- ReadableByteStreamControllerHandleQueueDrain(controller);
1395
- const view = new Uint8Array(entry.buffer, entry.byteOffset, entry.byteLength);
1396
- readRequest._chunkSteps(view);
1397
- }
1398
- function ReadableByteStreamControllerGetBYOBRequest(controller) {
1399
- if (controller._byobRequest === null && controller._pendingPullIntos.length > 0) {
1400
- const firstDescriptor = controller._pendingPullIntos.peek();
1401
- const view = new Uint8Array(firstDescriptor.buffer, firstDescriptor.byteOffset + firstDescriptor.bytesFilled, firstDescriptor.byteLength - firstDescriptor.bytesFilled);
1402
- const byobRequest = Object.create(ReadableStreamBYOBRequest.prototype);
1403
- SetUpReadableStreamBYOBRequest(byobRequest, controller, view);
1404
- controller._byobRequest = byobRequest;
1405
- }
1406
- return controller._byobRequest;
1407
- }
1408
- function ReadableByteStreamControllerGetDesiredSize(controller) {
1409
- const state = controller._controlledReadableByteStream._state;
1410
- if (state === 'errored') {
1411
- return null;
1412
- }
1413
- if (state === 'closed') {
1414
- return 0;
1415
- }
1416
- return controller._strategyHWM - controller._queueTotalSize;
1417
- }
1418
- function ReadableByteStreamControllerRespond(controller, bytesWritten) {
1419
- const firstDescriptor = controller._pendingPullIntos.peek();
1420
- const state = controller._controlledReadableByteStream._state;
1421
- if (state === 'closed') {
1422
- if (bytesWritten !== 0) {
1423
- throw new TypeError('bytesWritten must be 0 when calling respond() on a closed stream');
1424
- }
1425
- }
1426
- else {
1427
- if (bytesWritten === 0) {
1428
- throw new TypeError('bytesWritten must be greater than 0 when calling respond() on a readable stream');
1429
- }
1430
- if (firstDescriptor.bytesFilled + bytesWritten > firstDescriptor.byteLength) {
1431
- throw new RangeError('bytesWritten out of range');
1432
- }
1433
- }
1434
- firstDescriptor.buffer = TransferArrayBuffer(firstDescriptor.buffer);
1435
- ReadableByteStreamControllerRespondInternal(controller, bytesWritten);
1436
- }
1437
- function ReadableByteStreamControllerRespondWithNewView(controller, view) {
1438
- const firstDescriptor = controller._pendingPullIntos.peek();
1439
- const state = controller._controlledReadableByteStream._state;
1440
- if (state === 'closed') {
1441
- if (view.byteLength !== 0) {
1442
- throw new TypeError('The view\'s length must be 0 when calling respondWithNewView() on a closed stream');
1443
- }
1444
- }
1445
- else {
1446
- if (view.byteLength === 0) {
1447
- throw new TypeError('The view\'s length must be greater than 0 when calling respondWithNewView() on a readable stream');
1448
- }
1449
- }
1450
- if (firstDescriptor.byteOffset + firstDescriptor.bytesFilled !== view.byteOffset) {
1451
- throw new RangeError('The region specified by view does not match byobRequest');
1452
- }
1453
- if (firstDescriptor.bufferByteLength !== view.buffer.byteLength) {
1454
- throw new RangeError('The buffer of view has different capacity than byobRequest');
1455
- }
1456
- if (firstDescriptor.bytesFilled + view.byteLength > firstDescriptor.byteLength) {
1457
- throw new RangeError('The region specified by view is larger than byobRequest');
1458
- }
1459
- const viewByteLength = view.byteLength;
1460
- firstDescriptor.buffer = TransferArrayBuffer(view.buffer);
1461
- ReadableByteStreamControllerRespondInternal(controller, viewByteLength);
1462
- }
1463
- function SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, autoAllocateChunkSize) {
1464
- controller._controlledReadableByteStream = stream;
1465
- controller._pullAgain = false;
1466
- controller._pulling = false;
1467
- controller._byobRequest = null;
1468
- // Need to set the slots so that the assert doesn't fire. In the spec the slots already exist implicitly.
1469
- controller._queue = controller._queueTotalSize = undefined;
1470
- ResetQueue(controller);
1471
- controller._closeRequested = false;
1472
- controller._started = false;
1473
- controller._strategyHWM = highWaterMark;
1474
- controller._pullAlgorithm = pullAlgorithm;
1475
- controller._cancelAlgorithm = cancelAlgorithm;
1476
- controller._autoAllocateChunkSize = autoAllocateChunkSize;
1477
- controller._pendingPullIntos = new SimpleQueue();
1478
- stream._readableStreamController = controller;
1479
- const startResult = startAlgorithm();
1480
- uponPromise(promiseResolvedWith(startResult), () => {
1481
- controller._started = true;
1482
- ReadableByteStreamControllerCallPullIfNeeded(controller);
1483
- return null;
1484
- }, r => {
1485
- ReadableByteStreamControllerError(controller, r);
1486
- return null;
1487
- });
1488
- }
1489
- function SetUpReadableByteStreamControllerFromUnderlyingSource(stream, underlyingByteSource, highWaterMark) {
1490
- const controller = Object.create(ReadableByteStreamController.prototype);
1491
- let startAlgorithm;
1492
- let pullAlgorithm;
1493
- let cancelAlgorithm;
1494
- if (underlyingByteSource.start !== undefined) {
1495
- startAlgorithm = () => underlyingByteSource.start(controller);
1496
- }
1497
- else {
1498
- startAlgorithm = () => undefined;
1499
- }
1500
- if (underlyingByteSource.pull !== undefined) {
1501
- pullAlgorithm = () => underlyingByteSource.pull(controller);
1502
- }
1503
- else {
1504
- pullAlgorithm = () => promiseResolvedWith(undefined);
1505
- }
1506
- if (underlyingByteSource.cancel !== undefined) {
1507
- cancelAlgorithm = reason => underlyingByteSource.cancel(reason);
1508
- }
1509
- else {
1510
- cancelAlgorithm = () => promiseResolvedWith(undefined);
1511
- }
1512
- const autoAllocateChunkSize = underlyingByteSource.autoAllocateChunkSize;
1513
- if (autoAllocateChunkSize === 0) {
1514
- throw new TypeError('autoAllocateChunkSize must be greater than 0');
1515
- }
1516
- SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, autoAllocateChunkSize);
1517
- }
1518
- function SetUpReadableStreamBYOBRequest(request, controller, view) {
1519
- request._associatedReadableByteStreamController = controller;
1520
- request._view = view;
1521
- }
1522
- // Helper functions for the ReadableStreamBYOBRequest.
1523
- function byobRequestBrandCheckException(name) {
1524
- return new TypeError(`ReadableStreamBYOBRequest.prototype.${name} can only be used on a ReadableStreamBYOBRequest`);
1525
- }
1526
- // Helper functions for the ReadableByteStreamController.
1527
- function byteStreamControllerBrandCheckException(name) {
1528
- return new TypeError(`ReadableByteStreamController.prototype.${name} can only be used on a ReadableByteStreamController`);
1529
- }
1530
-
1531
- function convertReaderOptions(options, context) {
1532
- assertDictionary(options, context);
1533
- const mode = options === null || options === void 0 ? void 0 : options.mode;
1534
- return {
1535
- mode: mode === undefined ? undefined : convertReadableStreamReaderMode(mode, `${context} has member 'mode' that`)
1536
- };
1537
- }
1538
- function convertReadableStreamReaderMode(mode, context) {
1539
- mode = `${mode}`;
1540
- if (mode !== 'byob') {
1541
- throw new TypeError(`${context} '${mode}' is not a valid enumeration value for ReadableStreamReaderMode`);
1542
- }
1543
- return mode;
1544
- }
1545
- function convertByobReadOptions(options, context) {
1546
- var _a;
1547
- assertDictionary(options, context);
1548
- const min = (_a = options === null || options === void 0 ? void 0 : options.min) !== null && _a !== void 0 ? _a : 1;
1549
- return {
1550
- min: convertUnsignedLongLongWithEnforceRange(min, `${context} has member 'min' that`)
1551
- };
1552
- }
1553
-
1554
- // Abstract operations for the ReadableStream.
1555
- function AcquireReadableStreamBYOBReader(stream) {
1556
- return new ReadableStreamBYOBReader(stream);
1557
- }
1558
- // ReadableStream API exposed for controllers.
1559
- function ReadableStreamAddReadIntoRequest(stream, readIntoRequest) {
1560
- stream._reader._readIntoRequests.push(readIntoRequest);
1561
- }
1562
- function ReadableStreamFulfillReadIntoRequest(stream, chunk, done) {
1563
- const reader = stream._reader;
1564
- const readIntoRequest = reader._readIntoRequests.shift();
1565
- if (done) {
1566
- readIntoRequest._closeSteps(chunk);
1567
- }
1568
- else {
1569
- readIntoRequest._chunkSteps(chunk);
1570
- }
1571
- }
1572
- function ReadableStreamGetNumReadIntoRequests(stream) {
1573
- return stream._reader._readIntoRequests.length;
1574
- }
1575
- function ReadableStreamHasBYOBReader(stream) {
1576
- const reader = stream._reader;
1577
- if (reader === undefined) {
1578
- return false;
1579
- }
1580
- if (!IsReadableStreamBYOBReader(reader)) {
1581
- return false;
1582
- }
1583
- return true;
1584
- }
1585
- /**
1586
- * A BYOB reader vended by a {@link ReadableStream}.
1587
- *
1588
- * @public
1589
- */
1590
- class ReadableStreamBYOBReader {
1591
- constructor(stream) {
1592
- assertRequiredArgument(stream, 1, 'ReadableStreamBYOBReader');
1593
- assertReadableStream(stream, 'First parameter');
1594
- if (IsReadableStreamLocked(stream)) {
1595
- throw new TypeError('This stream has already been locked for exclusive reading by another reader');
1596
- }
1597
- if (!IsReadableByteStreamController(stream._readableStreamController)) {
1598
- throw new TypeError('Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte ' +
1599
- 'source');
1600
- }
1601
- ReadableStreamReaderGenericInitialize(this, stream);
1602
- this._readIntoRequests = new SimpleQueue();
1603
- }
1604
- /**
1605
- * Returns a promise that will be fulfilled when the stream becomes closed, or rejected if the stream ever errors or
1606
- * the reader's lock is released before the stream finishes closing.
1607
- */
1608
- get closed() {
1609
- if (!IsReadableStreamBYOBReader(this)) {
1610
- return promiseRejectedWith(byobReaderBrandCheckException('closed'));
1611
- }
1612
- return this._closedPromise;
1613
- }
1614
- /**
1615
- * If the reader is active, behaves the same as {@link ReadableStream.cancel | stream.cancel(reason)}.
1616
- */
1617
- cancel(reason = undefined) {
1618
- if (!IsReadableStreamBYOBReader(this)) {
1619
- return promiseRejectedWith(byobReaderBrandCheckException('cancel'));
1620
- }
1621
- if (this._ownerReadableStream === undefined) {
1622
- return promiseRejectedWith(readerLockException('cancel'));
1623
- }
1624
- return ReadableStreamReaderGenericCancel(this, reason);
1625
- }
1626
- read(view, rawOptions = {}) {
1627
- if (!IsReadableStreamBYOBReader(this)) {
1628
- return promiseRejectedWith(byobReaderBrandCheckException('read'));
1629
- }
1630
- if (!ArrayBuffer.isView(view)) {
1631
- return promiseRejectedWith(new TypeError('view must be an array buffer view'));
1632
- }
1633
- if (view.byteLength === 0) {
1634
- return promiseRejectedWith(new TypeError('view must have non-zero byteLength'));
1635
- }
1636
- if (view.buffer.byteLength === 0) {
1637
- return promiseRejectedWith(new TypeError(`view's buffer must have non-zero byteLength`));
1638
- }
1639
- if (IsDetachedBuffer(view.buffer)) {
1640
- return promiseRejectedWith(new TypeError('view\'s buffer has been detached'));
1641
- }
1642
- let options;
1643
- try {
1644
- options = convertByobReadOptions(rawOptions, 'options');
1645
- }
1646
- catch (e) {
1647
- return promiseRejectedWith(e);
1648
- }
1649
- const min = options.min;
1650
- if (min === 0) {
1651
- return promiseRejectedWith(new TypeError('options.min must be greater than 0'));
1652
- }
1653
- if (!isDataView(view)) {
1654
- if (min > view.length) {
1655
- return promiseRejectedWith(new RangeError('options.min must be less than or equal to view\'s length'));
1656
- }
1657
- }
1658
- else if (min > view.byteLength) {
1659
- return promiseRejectedWith(new RangeError('options.min must be less than or equal to view\'s byteLength'));
1660
- }
1661
- if (this._ownerReadableStream === undefined) {
1662
- return promiseRejectedWith(readerLockException('read from'));
1663
- }
1664
- let resolvePromise;
1665
- let rejectPromise;
1666
- const promise = newPromise((resolve, reject) => {
1667
- resolvePromise = resolve;
1668
- rejectPromise = reject;
1669
- });
1670
- const readIntoRequest = {
1671
- _chunkSteps: chunk => resolvePromise({ value: chunk, done: false }),
1672
- _closeSteps: chunk => resolvePromise({ value: chunk, done: true }),
1673
- _errorSteps: e => rejectPromise(e)
1674
- };
1675
- ReadableStreamBYOBReaderRead(this, view, min, readIntoRequest);
1676
- return promise;
1677
- }
1678
- /**
1679
- * Releases the reader's lock on the corresponding stream. After the lock is released, the reader is no longer active.
1680
- * If the associated stream is errored when the lock is released, the reader will appear errored in the same way
1681
- * from now on; otherwise, the reader will appear closed.
1682
- *
1683
- * A reader's lock cannot be released while it still has a pending read request, i.e., if a promise returned by
1684
- * the reader's {@link ReadableStreamBYOBReader.read | read()} method has not yet been settled. Attempting to
1685
- * do so will throw a `TypeError` and leave the reader locked to the stream.
1686
- */
1687
- releaseLock() {
1688
- if (!IsReadableStreamBYOBReader(this)) {
1689
- throw byobReaderBrandCheckException('releaseLock');
1690
- }
1691
- if (this._ownerReadableStream === undefined) {
1692
- return;
1693
- }
1694
- ReadableStreamBYOBReaderRelease(this);
1695
- }
1696
- }
1697
- Object.defineProperties(ReadableStreamBYOBReader.prototype, {
1698
- cancel: { enumerable: true },
1699
- read: { enumerable: true },
1700
- releaseLock: { enumerable: true },
1701
- closed: { enumerable: true }
1702
- });
1703
- setFunctionName(ReadableStreamBYOBReader.prototype.cancel, 'cancel');
1704
- setFunctionName(ReadableStreamBYOBReader.prototype.read, 'read');
1705
- setFunctionName(ReadableStreamBYOBReader.prototype.releaseLock, 'releaseLock');
1706
- if (typeof Symbol.toStringTag === 'symbol') {
1707
- Object.defineProperty(ReadableStreamBYOBReader.prototype, Symbol.toStringTag, {
1708
- value: 'ReadableStreamBYOBReader',
1709
- configurable: true
1710
- });
1711
- }
1712
- // Abstract operations for the readers.
1713
- function IsReadableStreamBYOBReader(x) {
1714
- if (!typeIsObject(x)) {
1715
- return false;
1716
- }
1717
- if (!Object.prototype.hasOwnProperty.call(x, '_readIntoRequests')) {
1718
- return false;
1719
- }
1720
- return x instanceof ReadableStreamBYOBReader;
1721
- }
1722
- function ReadableStreamBYOBReaderRead(reader, view, min, readIntoRequest) {
1723
- const stream = reader._ownerReadableStream;
1724
- stream._disturbed = true;
1725
- if (stream._state === 'errored') {
1726
- readIntoRequest._errorSteps(stream._storedError);
1727
- }
1728
- else {
1729
- ReadableByteStreamControllerPullInto(stream._readableStreamController, view, min, readIntoRequest);
1730
- }
1731
- }
1732
- function ReadableStreamBYOBReaderRelease(reader) {
1733
- ReadableStreamReaderGenericRelease(reader);
1734
- const e = new TypeError('Reader was released');
1735
- ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e);
1736
- }
1737
- function ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e) {
1738
- const readIntoRequests = reader._readIntoRequests;
1739
- reader._readIntoRequests = new SimpleQueue();
1740
- readIntoRequests.forEach(readIntoRequest => {
1741
- readIntoRequest._errorSteps(e);
1742
- });
1743
- }
1744
- // Helper functions for the ReadableStreamBYOBReader.
1745
- function byobReaderBrandCheckException(name) {
1746
- return new TypeError(`ReadableStreamBYOBReader.prototype.${name} can only be used on a ReadableStreamBYOBReader`);
1747
- }
1748
-
1749
- function ExtractHighWaterMark(strategy, defaultHWM) {
1750
- const { highWaterMark } = strategy;
1751
- if (highWaterMark === undefined) {
1752
- return defaultHWM;
1753
- }
1754
- if (NumberIsNaN(highWaterMark) || highWaterMark < 0) {
1755
- throw new RangeError('Invalid highWaterMark');
1756
- }
1757
- return highWaterMark;
1758
- }
1759
- function ExtractSizeAlgorithm(strategy) {
1760
- const { size } = strategy;
1761
- if (!size) {
1762
- return () => 1;
1763
- }
1764
- return size;
1765
- }
1766
-
1767
- function convertQueuingStrategy(init, context) {
1768
- assertDictionary(init, context);
1769
- const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;
1770
- const size = init === null || init === void 0 ? void 0 : init.size;
1771
- return {
1772
- highWaterMark: highWaterMark === undefined ? undefined : convertUnrestrictedDouble(highWaterMark),
1773
- size: size === undefined ? undefined : convertQueuingStrategySize(size, `${context} has member 'size' that`)
1774
- };
1775
- }
1776
- function convertQueuingStrategySize(fn, context) {
1777
- assertFunction(fn, context);
1778
- return chunk => convertUnrestrictedDouble(fn(chunk));
1779
- }
1780
-
1781
- function convertUnderlyingSink(original, context) {
1782
- assertDictionary(original, context);
1783
- const abort = original === null || original === void 0 ? void 0 : original.abort;
1784
- const close = original === null || original === void 0 ? void 0 : original.close;
1785
- const start = original === null || original === void 0 ? void 0 : original.start;
1786
- const type = original === null || original === void 0 ? void 0 : original.type;
1787
- const write = original === null || original === void 0 ? void 0 : original.write;
1788
- return {
1789
- abort: abort === undefined ?
1790
- undefined :
1791
- convertUnderlyingSinkAbortCallback(abort, original, `${context} has member 'abort' that`),
1792
- close: close === undefined ?
1793
- undefined :
1794
- convertUnderlyingSinkCloseCallback(close, original, `${context} has member 'close' that`),
1795
- start: start === undefined ?
1796
- undefined :
1797
- convertUnderlyingSinkStartCallback(start, original, `${context} has member 'start' that`),
1798
- write: write === undefined ?
1799
- undefined :
1800
- convertUnderlyingSinkWriteCallback(write, original, `${context} has member 'write' that`),
1801
- type
1802
- };
1803
- }
1804
- function convertUnderlyingSinkAbortCallback(fn, original, context) {
1805
- assertFunction(fn, context);
1806
- return (reason) => promiseCall(fn, original, [reason]);
1807
- }
1808
- function convertUnderlyingSinkCloseCallback(fn, original, context) {
1809
- assertFunction(fn, context);
1810
- return () => promiseCall(fn, original, []);
1811
- }
1812
- function convertUnderlyingSinkStartCallback(fn, original, context) {
1813
- assertFunction(fn, context);
1814
- return (controller) => reflectCall(fn, original, [controller]);
1815
- }
1816
- function convertUnderlyingSinkWriteCallback(fn, original, context) {
1817
- assertFunction(fn, context);
1818
- return (chunk, controller) => promiseCall(fn, original, [chunk, controller]);
1819
- }
1820
-
1821
- function assertWritableStream(x, context) {
1822
- if (!IsWritableStream(x)) {
1823
- throw new TypeError(`${context} is not a WritableStream.`);
1824
- }
1825
- }
1826
-
1827
- function isAbortSignal(value) {
1828
- if (typeof value !== 'object' || value === null) {
1829
- return false;
1830
- }
1831
- try {
1832
- return typeof value.aborted === 'boolean';
1833
- }
1834
- catch (_a) {
1835
- // AbortSignal.prototype.aborted throws if its brand check fails
1836
- return false;
1837
- }
1838
- }
1839
- const supportsAbortController = typeof AbortController === 'function';
1840
- /**
1841
- * Construct a new AbortController, if supported by the platform.
1842
- *
1843
- * @internal
1844
- */
1845
- function createAbortController() {
1846
- if (supportsAbortController) {
1847
- return new AbortController();
1848
- }
1849
- return undefined;
1850
- }
1851
-
1852
- /**
1853
- * A writable stream represents a destination for data, into which you can write.
1854
- *
1855
- * @public
1856
- */
1857
- class WritableStream {
1858
- constructor(rawUnderlyingSink = {}, rawStrategy = {}) {
1859
- if (rawUnderlyingSink === undefined) {
1860
- rawUnderlyingSink = null;
1861
- }
1862
- else {
1863
- assertObject(rawUnderlyingSink, 'First parameter');
1864
- }
1865
- const strategy = convertQueuingStrategy(rawStrategy, 'Second parameter');
1866
- const underlyingSink = convertUnderlyingSink(rawUnderlyingSink, 'First parameter');
1867
- InitializeWritableStream(this);
1868
- const type = underlyingSink.type;
1869
- if (type !== undefined) {
1870
- throw new RangeError('Invalid type is specified');
1871
- }
1872
- const sizeAlgorithm = ExtractSizeAlgorithm(strategy);
1873
- const highWaterMark = ExtractHighWaterMark(strategy, 1);
1874
- SetUpWritableStreamDefaultControllerFromUnderlyingSink(this, underlyingSink, highWaterMark, sizeAlgorithm);
1875
- }
1876
- /**
1877
- * Returns whether or not the writable stream is locked to a writer.
1878
- */
1879
- get locked() {
1880
- if (!IsWritableStream(this)) {
1881
- throw streamBrandCheckException$2('locked');
1882
- }
1883
- return IsWritableStreamLocked(this);
1884
- }
1885
- /**
1886
- * Aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be
1887
- * immediately moved to an errored state, with any queued-up writes discarded. This will also execute any abort
1888
- * mechanism of the underlying sink.
1889
- *
1890
- * The returned promise will fulfill if the stream shuts down successfully, or reject if the underlying sink signaled
1891
- * that there was an error doing so. Additionally, it will reject with a `TypeError` (without attempting to cancel
1892
- * the stream) if the stream is currently locked.
1893
- */
1894
- abort(reason = undefined) {
1895
- if (!IsWritableStream(this)) {
1896
- return promiseRejectedWith(streamBrandCheckException$2('abort'));
1897
- }
1898
- if (IsWritableStreamLocked(this)) {
1899
- return promiseRejectedWith(new TypeError('Cannot abort a stream that already has a writer'));
1900
- }
1901
- return WritableStreamAbort(this, reason);
1902
- }
1903
- /**
1904
- * Closes the stream. The underlying sink will finish processing any previously-written chunks, before invoking its
1905
- * close behavior. During this time any further attempts to write will fail (without erroring the stream).
1906
- *
1907
- * The method returns a promise that will fulfill if all remaining chunks are successfully written and the stream
1908
- * successfully closes, or rejects if an error is encountered during this process. Additionally, it will reject with
1909
- * a `TypeError` (without attempting to cancel the stream) if the stream is currently locked.
1910
- */
1911
- close() {
1912
- if (!IsWritableStream(this)) {
1913
- return promiseRejectedWith(streamBrandCheckException$2('close'));
1914
- }
1915
- if (IsWritableStreamLocked(this)) {
1916
- return promiseRejectedWith(new TypeError('Cannot close a stream that already has a writer'));
1917
- }
1918
- if (WritableStreamCloseQueuedOrInFlight(this)) {
1919
- return promiseRejectedWith(new TypeError('Cannot close an already-closing stream'));
1920
- }
1921
- return WritableStreamClose(this);
1922
- }
1923
- /**
1924
- * Creates a {@link WritableStreamDefaultWriter | writer} and locks the stream to the new writer. While the stream
1925
- * is locked, no other writer can be acquired until this one is released.
1926
- *
1927
- * This functionality is especially useful for creating abstractions that desire the ability to write to a stream
1928
- * without interruption or interleaving. By getting a writer for the stream, you can ensure nobody else can write at
1929
- * the same time, which would cause the resulting written data to be unpredictable and probably useless.
1930
- */
1931
- getWriter() {
1932
- if (!IsWritableStream(this)) {
1933
- throw streamBrandCheckException$2('getWriter');
1934
- }
1935
- return AcquireWritableStreamDefaultWriter(this);
1936
- }
1937
- }
1938
- Object.defineProperties(WritableStream.prototype, {
1939
- abort: { enumerable: true },
1940
- close: { enumerable: true },
1941
- getWriter: { enumerable: true },
1942
- locked: { enumerable: true }
1943
- });
1944
- setFunctionName(WritableStream.prototype.abort, 'abort');
1945
- setFunctionName(WritableStream.prototype.close, 'close');
1946
- setFunctionName(WritableStream.prototype.getWriter, 'getWriter');
1947
- if (typeof Symbol.toStringTag === 'symbol') {
1948
- Object.defineProperty(WritableStream.prototype, Symbol.toStringTag, {
1949
- value: 'WritableStream',
1950
- configurable: true
1951
- });
1952
- }
1953
- // Abstract operations for the WritableStream.
1954
- function AcquireWritableStreamDefaultWriter(stream) {
1955
- return new WritableStreamDefaultWriter(stream);
1956
- }
1957
- // Throws if and only if startAlgorithm throws.
1958
- function CreateWritableStream(startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark = 1, sizeAlgorithm = () => 1) {
1959
- const stream = Object.create(WritableStream.prototype);
1960
- InitializeWritableStream(stream);
1961
- const controller = Object.create(WritableStreamDefaultController.prototype);
1962
- SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm);
1963
- return stream;
1964
- }
1965
- function InitializeWritableStream(stream) {
1966
- stream._state = 'writable';
1967
- // The error that will be reported by new method calls once the state becomes errored. Only set when [[state]] is
1968
- // 'erroring' or 'errored'. May be set to an undefined value.
1969
- stream._storedError = undefined;
1970
- stream._writer = undefined;
1971
- // Initialize to undefined first because the constructor of the controller checks this
1972
- // variable to validate the caller.
1973
- stream._writableStreamController = undefined;
1974
- // This queue is placed here instead of the writer class in order to allow for passing a writer to the next data
1975
- // producer without waiting for the queued writes to finish.
1976
- stream._writeRequests = new SimpleQueue();
1977
- // Write requests are removed from _writeRequests when write() is called on the underlying sink. This prevents
1978
- // them from being erroneously rejected on error. If a write() call is in-flight, the request is stored here.
1979
- stream._inFlightWriteRequest = undefined;
1980
- // The promise that was returned from writer.close(). Stored here because it may be fulfilled after the writer
1981
- // has been detached.
1982
- stream._closeRequest = undefined;
1983
- // Close request is removed from _closeRequest when close() is called on the underlying sink. This prevents it
1984
- // from being erroneously rejected on error. If a close() call is in-flight, the request is stored here.
1985
- stream._inFlightCloseRequest = undefined;
1986
- // The promise that was returned from writer.abort(). This may also be fulfilled after the writer has detached.
1987
- stream._pendingAbortRequest = undefined;
1988
- // The backpressure signal set by the controller.
1989
- stream._backpressure = false;
1990
- }
1991
- function IsWritableStream(x) {
1992
- if (!typeIsObject(x)) {
1993
- return false;
1994
- }
1995
- if (!Object.prototype.hasOwnProperty.call(x, '_writableStreamController')) {
1996
- return false;
1997
- }
1998
- return x instanceof WritableStream;
1999
- }
2000
- function IsWritableStreamLocked(stream) {
2001
- if (stream._writer === undefined) {
2002
- return false;
2003
- }
2004
- return true;
2005
- }
2006
- function WritableStreamAbort(stream, reason) {
2007
- var _a;
2008
- if (stream._state === 'closed' || stream._state === 'errored') {
2009
- return promiseResolvedWith(undefined);
2010
- }
2011
- stream._writableStreamController._abortReason = reason;
2012
- (_a = stream._writableStreamController._abortController) === null || _a === void 0 ? void 0 : _a.abort(reason);
2013
- // TypeScript narrows the type of `stream._state` down to 'writable' | 'erroring',
2014
- // but it doesn't know that signaling abort runs author code that might have changed the state.
2015
- // Widen the type again by casting to WritableStreamState.
2016
- const state = stream._state;
2017
- if (state === 'closed' || state === 'errored') {
2018
- return promiseResolvedWith(undefined);
2019
- }
2020
- if (stream._pendingAbortRequest !== undefined) {
2021
- return stream._pendingAbortRequest._promise;
2022
- }
2023
- let wasAlreadyErroring = false;
2024
- if (state === 'erroring') {
2025
- wasAlreadyErroring = true;
2026
- // reason will not be used, so don't keep a reference to it.
2027
- reason = undefined;
2028
- }
2029
- const promise = newPromise((resolve, reject) => {
2030
- stream._pendingAbortRequest = {
2031
- _promise: undefined,
2032
- _resolve: resolve,
2033
- _reject: reject,
2034
- _reason: reason,
2035
- _wasAlreadyErroring: wasAlreadyErroring
2036
- };
2037
- });
2038
- stream._pendingAbortRequest._promise = promise;
2039
- if (!wasAlreadyErroring) {
2040
- WritableStreamStartErroring(stream, reason);
2041
- }
2042
- return promise;
2043
- }
2044
- function WritableStreamClose(stream) {
2045
- const state = stream._state;
2046
- if (state === 'closed' || state === 'errored') {
2047
- return promiseRejectedWith(new TypeError(`The stream (in ${state} state) is not in the writable state and cannot be closed`));
2048
- }
2049
- const promise = newPromise((resolve, reject) => {
2050
- const closeRequest = {
2051
- _resolve: resolve,
2052
- _reject: reject
2053
- };
2054
- stream._closeRequest = closeRequest;
2055
- });
2056
- const writer = stream._writer;
2057
- if (writer !== undefined && stream._backpressure && state === 'writable') {
2058
- defaultWriterReadyPromiseResolve(writer);
2059
- }
2060
- WritableStreamDefaultControllerClose(stream._writableStreamController);
2061
- return promise;
2062
- }
2063
- // WritableStream API exposed for controllers.
2064
- function WritableStreamAddWriteRequest(stream) {
2065
- const promise = newPromise((resolve, reject) => {
2066
- const writeRequest = {
2067
- _resolve: resolve,
2068
- _reject: reject
2069
- };
2070
- stream._writeRequests.push(writeRequest);
2071
- });
2072
- return promise;
2073
- }
2074
- function WritableStreamDealWithRejection(stream, error) {
2075
- const state = stream._state;
2076
- if (state === 'writable') {
2077
- WritableStreamStartErroring(stream, error);
2078
- return;
2079
- }
2080
- WritableStreamFinishErroring(stream);
2081
- }
2082
- function WritableStreamStartErroring(stream, reason) {
2083
- const controller = stream._writableStreamController;
2084
- stream._state = 'erroring';
2085
- stream._storedError = reason;
2086
- const writer = stream._writer;
2087
- if (writer !== undefined) {
2088
- WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, reason);
2089
- }
2090
- if (!WritableStreamHasOperationMarkedInFlight(stream) && controller._started) {
2091
- WritableStreamFinishErroring(stream);
2092
- }
2093
- }
2094
- function WritableStreamFinishErroring(stream) {
2095
- stream._state = 'errored';
2096
- stream._writableStreamController[ErrorSteps]();
2097
- const storedError = stream._storedError;
2098
- stream._writeRequests.forEach(writeRequest => {
2099
- writeRequest._reject(storedError);
2100
- });
2101
- stream._writeRequests = new SimpleQueue();
2102
- if (stream._pendingAbortRequest === undefined) {
2103
- WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);
2104
- return;
2105
- }
2106
- const abortRequest = stream._pendingAbortRequest;
2107
- stream._pendingAbortRequest = undefined;
2108
- if (abortRequest._wasAlreadyErroring) {
2109
- abortRequest._reject(storedError);
2110
- WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);
2111
- return;
2112
- }
2113
- const promise = stream._writableStreamController[AbortSteps](abortRequest._reason);
2114
- uponPromise(promise, () => {
2115
- abortRequest._resolve();
2116
- WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);
2117
- return null;
2118
- }, (reason) => {
2119
- abortRequest._reject(reason);
2120
- WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);
2121
- return null;
2122
- });
2123
- }
2124
- function WritableStreamFinishInFlightWrite(stream) {
2125
- stream._inFlightWriteRequest._resolve(undefined);
2126
- stream._inFlightWriteRequest = undefined;
2127
- }
2128
- function WritableStreamFinishInFlightWriteWithError(stream, error) {
2129
- stream._inFlightWriteRequest._reject(error);
2130
- stream._inFlightWriteRequest = undefined;
2131
- WritableStreamDealWithRejection(stream, error);
2132
- }
2133
- function WritableStreamFinishInFlightClose(stream) {
2134
- stream._inFlightCloseRequest._resolve(undefined);
2135
- stream._inFlightCloseRequest = undefined;
2136
- const state = stream._state;
2137
- if (state === 'erroring') {
2138
- // The error was too late to do anything, so it is ignored.
2139
- stream._storedError = undefined;
2140
- if (stream._pendingAbortRequest !== undefined) {
2141
- stream._pendingAbortRequest._resolve();
2142
- stream._pendingAbortRequest = undefined;
2143
- }
2144
- }
2145
- stream._state = 'closed';
2146
- const writer = stream._writer;
2147
- if (writer !== undefined) {
2148
- defaultWriterClosedPromiseResolve(writer);
2149
- }
2150
- }
2151
- function WritableStreamFinishInFlightCloseWithError(stream, error) {
2152
- stream._inFlightCloseRequest._reject(error);
2153
- stream._inFlightCloseRequest = undefined;
2154
- // Never execute sink abort() after sink close().
2155
- if (stream._pendingAbortRequest !== undefined) {
2156
- stream._pendingAbortRequest._reject(error);
2157
- stream._pendingAbortRequest = undefined;
2158
- }
2159
- WritableStreamDealWithRejection(stream, error);
2160
- }
2161
- // TODO(ricea): Fix alphabetical order.
2162
- function WritableStreamCloseQueuedOrInFlight(stream) {
2163
- if (stream._closeRequest === undefined && stream._inFlightCloseRequest === undefined) {
2164
- return false;
2165
- }
2166
- return true;
2167
- }
2168
- function WritableStreamHasOperationMarkedInFlight(stream) {
2169
- if (stream._inFlightWriteRequest === undefined && stream._inFlightCloseRequest === undefined) {
2170
- return false;
2171
- }
2172
- return true;
2173
- }
2174
- function WritableStreamMarkCloseRequestInFlight(stream) {
2175
- stream._inFlightCloseRequest = stream._closeRequest;
2176
- stream._closeRequest = undefined;
2177
- }
2178
- function WritableStreamMarkFirstWriteRequestInFlight(stream) {
2179
- stream._inFlightWriteRequest = stream._writeRequests.shift();
2180
- }
2181
- function WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream) {
2182
- if (stream._closeRequest !== undefined) {
2183
- stream._closeRequest._reject(stream._storedError);
2184
- stream._closeRequest = undefined;
2185
- }
2186
- const writer = stream._writer;
2187
- if (writer !== undefined) {
2188
- defaultWriterClosedPromiseReject(writer, stream._storedError);
2189
- }
2190
- }
2191
- function WritableStreamUpdateBackpressure(stream, backpressure) {
2192
- const writer = stream._writer;
2193
- if (writer !== undefined && backpressure !== stream._backpressure) {
2194
- if (backpressure) {
2195
- defaultWriterReadyPromiseReset(writer);
2196
- }
2197
- else {
2198
- defaultWriterReadyPromiseResolve(writer);
2199
- }
2200
- }
2201
- stream._backpressure = backpressure;
2202
- }
2203
- /**
2204
- * A default writer vended by a {@link WritableStream}.
2205
- *
2206
- * @public
2207
- */
2208
- class WritableStreamDefaultWriter {
2209
- constructor(stream) {
2210
- assertRequiredArgument(stream, 1, 'WritableStreamDefaultWriter');
2211
- assertWritableStream(stream, 'First parameter');
2212
- if (IsWritableStreamLocked(stream)) {
2213
- throw new TypeError('This stream has already been locked for exclusive writing by another writer');
2214
- }
2215
- this._ownerWritableStream = stream;
2216
- stream._writer = this;
2217
- const state = stream._state;
2218
- if (state === 'writable') {
2219
- if (!WritableStreamCloseQueuedOrInFlight(stream) && stream._backpressure) {
2220
- defaultWriterReadyPromiseInitialize(this);
2221
- }
2222
- else {
2223
- defaultWriterReadyPromiseInitializeAsResolved(this);
2224
- }
2225
- defaultWriterClosedPromiseInitialize(this);
2226
- }
2227
- else if (state === 'erroring') {
2228
- defaultWriterReadyPromiseInitializeAsRejected(this, stream._storedError);
2229
- defaultWriterClosedPromiseInitialize(this);
2230
- }
2231
- else if (state === 'closed') {
2232
- defaultWriterReadyPromiseInitializeAsResolved(this);
2233
- defaultWriterClosedPromiseInitializeAsResolved(this);
2234
- }
2235
- else {
2236
- const storedError = stream._storedError;
2237
- defaultWriterReadyPromiseInitializeAsRejected(this, storedError);
2238
- defaultWriterClosedPromiseInitializeAsRejected(this, storedError);
2239
- }
2240
- }
2241
- /**
2242
- * Returns a promise that will be fulfilled when the stream becomes closed, or rejected if the stream ever errors or
2243
- * the writer’s lock is released before the stream finishes closing.
2244
- */
2245
- get closed() {
2246
- if (!IsWritableStreamDefaultWriter(this)) {
2247
- return promiseRejectedWith(defaultWriterBrandCheckException('closed'));
2248
- }
2249
- return this._closedPromise;
2250
- }
2251
- /**
2252
- * Returns the desired size to fill the stream’s internal queue. It can be negative, if the queue is over-full.
2253
- * A producer can use this information to determine the right amount of data to write.
2254
- *
2255
- * It will be `null` if the stream cannot be successfully written to (due to either being errored, or having an abort
2256
- * queued up). It will return zero if the stream is closed. And the getter will throw an exception if invoked when
2257
- * the writer’s lock is released.
2258
- */
2259
- get desiredSize() {
2260
- if (!IsWritableStreamDefaultWriter(this)) {
2261
- throw defaultWriterBrandCheckException('desiredSize');
2262
- }
2263
- if (this._ownerWritableStream === undefined) {
2264
- throw defaultWriterLockException('desiredSize');
2265
- }
2266
- return WritableStreamDefaultWriterGetDesiredSize(this);
2267
- }
2268
- /**
2269
- * Returns a promise that will be fulfilled when the desired size to fill the stream’s internal queue transitions
2270
- * from non-positive to positive, signaling that it is no longer applying backpressure. Once the desired size dips
2271
- * back to zero or below, the getter will return a new promise that stays pending until the next transition.
2272
- *
2273
- * If the stream becomes errored or aborted, or the writer’s lock is released, the returned promise will become
2274
- * rejected.
2275
- */
2276
- get ready() {
2277
- if (!IsWritableStreamDefaultWriter(this)) {
2278
- return promiseRejectedWith(defaultWriterBrandCheckException('ready'));
2279
- }
2280
- return this._readyPromise;
2281
- }
2282
- /**
2283
- * If the reader is active, behaves the same as {@link WritableStream.abort | stream.abort(reason)}.
2284
- */
2285
- abort(reason = undefined) {
2286
- if (!IsWritableStreamDefaultWriter(this)) {
2287
- return promiseRejectedWith(defaultWriterBrandCheckException('abort'));
2288
- }
2289
- if (this._ownerWritableStream === undefined) {
2290
- return promiseRejectedWith(defaultWriterLockException('abort'));
2291
- }
2292
- return WritableStreamDefaultWriterAbort(this, reason);
2293
- }
2294
- /**
2295
- * If the reader is active, behaves the same as {@link WritableStream.close | stream.close()}.
2296
- */
2297
- close() {
2298
- if (!IsWritableStreamDefaultWriter(this)) {
2299
- return promiseRejectedWith(defaultWriterBrandCheckException('close'));
2300
- }
2301
- const stream = this._ownerWritableStream;
2302
- if (stream === undefined) {
2303
- return promiseRejectedWith(defaultWriterLockException('close'));
2304
- }
2305
- if (WritableStreamCloseQueuedOrInFlight(stream)) {
2306
- return promiseRejectedWith(new TypeError('Cannot close an already-closing stream'));
2307
- }
2308
- return WritableStreamDefaultWriterClose(this);
2309
- }
2310
- /**
2311
- * Releases the writer’s lock on the corresponding stream. After the lock is released, the writer is no longer active.
2312
- * If the associated stream is errored when the lock is released, the writer will appear errored in the same way from
2313
- * now on; otherwise, the writer will appear closed.
2314
- *
2315
- * Note that the lock can still be released even if some ongoing writes have not yet finished (i.e. even if the
2316
- * promises returned from previous calls to {@link WritableStreamDefaultWriter.write | write()} have not yet settled).
2317
- * It’s not necessary to hold the lock on the writer for the duration of the write; the lock instead simply prevents
2318
- * other producers from writing in an interleaved manner.
2319
- */
2320
- releaseLock() {
2321
- if (!IsWritableStreamDefaultWriter(this)) {
2322
- throw defaultWriterBrandCheckException('releaseLock');
2323
- }
2324
- const stream = this._ownerWritableStream;
2325
- if (stream === undefined) {
2326
- return;
2327
- }
2328
- WritableStreamDefaultWriterRelease(this);
2329
- }
2330
- write(chunk = undefined) {
2331
- if (!IsWritableStreamDefaultWriter(this)) {
2332
- return promiseRejectedWith(defaultWriterBrandCheckException('write'));
2333
- }
2334
- if (this._ownerWritableStream === undefined) {
2335
- return promiseRejectedWith(defaultWriterLockException('write to'));
2336
- }
2337
- return WritableStreamDefaultWriterWrite(this, chunk);
2338
- }
2339
- }
2340
- Object.defineProperties(WritableStreamDefaultWriter.prototype, {
2341
- abort: { enumerable: true },
2342
- close: { enumerable: true },
2343
- releaseLock: { enumerable: true },
2344
- write: { enumerable: true },
2345
- closed: { enumerable: true },
2346
- desiredSize: { enumerable: true },
2347
- ready: { enumerable: true }
2348
- });
2349
- setFunctionName(WritableStreamDefaultWriter.prototype.abort, 'abort');
2350
- setFunctionName(WritableStreamDefaultWriter.prototype.close, 'close');
2351
- setFunctionName(WritableStreamDefaultWriter.prototype.releaseLock, 'releaseLock');
2352
- setFunctionName(WritableStreamDefaultWriter.prototype.write, 'write');
2353
- if (typeof Symbol.toStringTag === 'symbol') {
2354
- Object.defineProperty(WritableStreamDefaultWriter.prototype, Symbol.toStringTag, {
2355
- value: 'WritableStreamDefaultWriter',
2356
- configurable: true
2357
- });
2358
- }
2359
- // Abstract operations for the WritableStreamDefaultWriter.
2360
- function IsWritableStreamDefaultWriter(x) {
2361
- if (!typeIsObject(x)) {
2362
- return false;
2363
- }
2364
- if (!Object.prototype.hasOwnProperty.call(x, '_ownerWritableStream')) {
2365
- return false;
2366
- }
2367
- return x instanceof WritableStreamDefaultWriter;
2368
- }
2369
- // A client of WritableStreamDefaultWriter may use these functions directly to bypass state check.
2370
- function WritableStreamDefaultWriterAbort(writer, reason) {
2371
- const stream = writer._ownerWritableStream;
2372
- return WritableStreamAbort(stream, reason);
2373
- }
2374
- function WritableStreamDefaultWriterClose(writer) {
2375
- const stream = writer._ownerWritableStream;
2376
- return WritableStreamClose(stream);
2377
- }
2378
- function WritableStreamDefaultWriterCloseWithErrorPropagation(writer) {
2379
- const stream = writer._ownerWritableStream;
2380
- const state = stream._state;
2381
- if (WritableStreamCloseQueuedOrInFlight(stream) || state === 'closed') {
2382
- return promiseResolvedWith(undefined);
2383
- }
2384
- if (state === 'errored') {
2385
- return promiseRejectedWith(stream._storedError);
2386
- }
2387
- return WritableStreamDefaultWriterClose(writer);
2388
- }
2389
- function WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer, error) {
2390
- if (writer._closedPromiseState === 'pending') {
2391
- defaultWriterClosedPromiseReject(writer, error);
2392
- }
2393
- else {
2394
- defaultWriterClosedPromiseResetToRejected(writer, error);
2395
- }
2396
- }
2397
- function WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, error) {
2398
- if (writer._readyPromiseState === 'pending') {
2399
- defaultWriterReadyPromiseReject(writer, error);
2400
- }
2401
- else {
2402
- defaultWriterReadyPromiseResetToRejected(writer, error);
2403
- }
2404
- }
2405
- function WritableStreamDefaultWriterGetDesiredSize(writer) {
2406
- const stream = writer._ownerWritableStream;
2407
- const state = stream._state;
2408
- if (state === 'errored' || state === 'erroring') {
2409
- return null;
2410
- }
2411
- if (state === 'closed') {
2412
- return 0;
2413
- }
2414
- return WritableStreamDefaultControllerGetDesiredSize(stream._writableStreamController);
2415
- }
2416
- function WritableStreamDefaultWriterRelease(writer) {
2417
- const stream = writer._ownerWritableStream;
2418
- const releasedError = new TypeError(`Writer was released and can no longer be used to monitor the stream's closedness`);
2419
- WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, releasedError);
2420
- // The state transitions to "errored" before the sink abort() method runs, but the writer.closed promise is not
2421
- // rejected until afterwards. This means that simply testing state will not work.
2422
- WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer, releasedError);
2423
- stream._writer = undefined;
2424
- writer._ownerWritableStream = undefined;
2425
- }
2426
- function WritableStreamDefaultWriterWrite(writer, chunk) {
2427
- const stream = writer._ownerWritableStream;
2428
- const controller = stream._writableStreamController;
2429
- const chunkSize = WritableStreamDefaultControllerGetChunkSize(controller, chunk);
2430
- if (stream !== writer._ownerWritableStream) {
2431
- return promiseRejectedWith(defaultWriterLockException('write to'));
2432
- }
2433
- const state = stream._state;
2434
- if (state === 'errored') {
2435
- return promiseRejectedWith(stream._storedError);
2436
- }
2437
- if (WritableStreamCloseQueuedOrInFlight(stream) || state === 'closed') {
2438
- return promiseRejectedWith(new TypeError('The stream is closing or closed and cannot be written to'));
2439
- }
2440
- if (state === 'erroring') {
2441
- return promiseRejectedWith(stream._storedError);
2442
- }
2443
- const promise = WritableStreamAddWriteRequest(stream);
2444
- WritableStreamDefaultControllerWrite(controller, chunk, chunkSize);
2445
- return promise;
2446
- }
2447
- const closeSentinel = {};
2448
- /**
2449
- * Allows control of a {@link WritableStream | writable stream}'s state and internal queue.
2450
- *
2451
- * @public
2452
- */
2453
- class WritableStreamDefaultController {
2454
- constructor() {
2455
- throw new TypeError('Illegal constructor');
2456
- }
2457
- /**
2458
- * The reason which was passed to `WritableStream.abort(reason)` when the stream was aborted.
2459
- *
2460
- * @deprecated
2461
- * This property has been removed from the specification, see https://github.com/whatwg/streams/pull/1177.
2462
- * Use {@link WritableStreamDefaultController.signal}'s `reason` instead.
2463
- */
2464
- get abortReason() {
2465
- if (!IsWritableStreamDefaultController(this)) {
2466
- throw defaultControllerBrandCheckException$2('abortReason');
2467
- }
2468
- return this._abortReason;
2469
- }
2470
- /**
2471
- * An `AbortSignal` that can be used to abort the pending write or close operation when the stream is aborted.
2472
- */
2473
- get signal() {
2474
- if (!IsWritableStreamDefaultController(this)) {
2475
- throw defaultControllerBrandCheckException$2('signal');
2476
- }
2477
- if (this._abortController === undefined) {
2478
- // Older browsers or older Node versions may not support `AbortController` or `AbortSignal`.
2479
- // We don't want to bundle and ship an `AbortController` polyfill together with our polyfill,
2480
- // so instead we only implement support for `signal` if we find a global `AbortController` constructor.
2481
- throw new TypeError('WritableStreamDefaultController.prototype.signal is not supported');
2482
- }
2483
- return this._abortController.signal;
2484
- }
2485
- /**
2486
- * Closes the controlled writable stream, making all future interactions with it fail with the given error `e`.
2487
- *
2488
- * This method is rarely used, since usually it suffices to return a rejected promise from one of the underlying
2489
- * sink's methods. However, it can be useful for suddenly shutting down a stream in response to an event outside the
2490
- * normal lifecycle of interactions with the underlying sink.
2491
- */
2492
- error(e = undefined) {
2493
- if (!IsWritableStreamDefaultController(this)) {
2494
- throw defaultControllerBrandCheckException$2('error');
2495
- }
2496
- const state = this._controlledWritableStream._state;
2497
- if (state !== 'writable') {
2498
- // The stream is closed, errored or will be soon. The sink can't do anything useful if it gets an error here, so
2499
- // just treat it as a no-op.
2500
- return;
2501
- }
2502
- WritableStreamDefaultControllerError(this, e);
2503
- }
2504
- /** @internal */
2505
- [AbortSteps](reason) {
2506
- const result = this._abortAlgorithm(reason);
2507
- WritableStreamDefaultControllerClearAlgorithms(this);
2508
- return result;
2509
- }
2510
- /** @internal */
2511
- [ErrorSteps]() {
2512
- ResetQueue(this);
2513
- }
2514
- }
2515
- Object.defineProperties(WritableStreamDefaultController.prototype, {
2516
- abortReason: { enumerable: true },
2517
- signal: { enumerable: true },
2518
- error: { enumerable: true }
2519
- });
2520
- if (typeof Symbol.toStringTag === 'symbol') {
2521
- Object.defineProperty(WritableStreamDefaultController.prototype, Symbol.toStringTag, {
2522
- value: 'WritableStreamDefaultController',
2523
- configurable: true
2524
- });
2525
- }
2526
- // Abstract operations implementing interface required by the WritableStream.
2527
- function IsWritableStreamDefaultController(x) {
2528
- if (!typeIsObject(x)) {
2529
- return false;
2530
- }
2531
- if (!Object.prototype.hasOwnProperty.call(x, '_controlledWritableStream')) {
2532
- return false;
2533
- }
2534
- return x instanceof WritableStreamDefaultController;
2535
- }
2536
- function SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm) {
2537
- controller._controlledWritableStream = stream;
2538
- stream._writableStreamController = controller;
2539
- // Need to set the slots so that the assert doesn't fire. In the spec the slots already exist implicitly.
2540
- controller._queue = undefined;
2541
- controller._queueTotalSize = undefined;
2542
- ResetQueue(controller);
2543
- controller._abortReason = undefined;
2544
- controller._abortController = createAbortController();
2545
- controller._started = false;
2546
- controller._strategySizeAlgorithm = sizeAlgorithm;
2547
- controller._strategyHWM = highWaterMark;
2548
- controller._writeAlgorithm = writeAlgorithm;
2549
- controller._closeAlgorithm = closeAlgorithm;
2550
- controller._abortAlgorithm = abortAlgorithm;
2551
- const backpressure = WritableStreamDefaultControllerGetBackpressure(controller);
2552
- WritableStreamUpdateBackpressure(stream, backpressure);
2553
- const startResult = startAlgorithm();
2554
- const startPromise = promiseResolvedWith(startResult);
2555
- uponPromise(startPromise, () => {
2556
- controller._started = true;
2557
- WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);
2558
- return null;
2559
- }, r => {
2560
- controller._started = true;
2561
- WritableStreamDealWithRejection(stream, r);
2562
- return null;
2563
- });
2564
- }
2565
- function SetUpWritableStreamDefaultControllerFromUnderlyingSink(stream, underlyingSink, highWaterMark, sizeAlgorithm) {
2566
- const controller = Object.create(WritableStreamDefaultController.prototype);
2567
- let startAlgorithm;
2568
- let writeAlgorithm;
2569
- let closeAlgorithm;
2570
- let abortAlgorithm;
2571
- if (underlyingSink.start !== undefined) {
2572
- startAlgorithm = () => underlyingSink.start(controller);
2573
- }
2574
- else {
2575
- startAlgorithm = () => undefined;
2576
- }
2577
- if (underlyingSink.write !== undefined) {
2578
- writeAlgorithm = chunk => underlyingSink.write(chunk, controller);
2579
- }
2580
- else {
2581
- writeAlgorithm = () => promiseResolvedWith(undefined);
2582
- }
2583
- if (underlyingSink.close !== undefined) {
2584
- closeAlgorithm = () => underlyingSink.close();
2585
- }
2586
- else {
2587
- closeAlgorithm = () => promiseResolvedWith(undefined);
2588
- }
2589
- if (underlyingSink.abort !== undefined) {
2590
- abortAlgorithm = reason => underlyingSink.abort(reason);
2591
- }
2592
- else {
2593
- abortAlgorithm = () => promiseResolvedWith(undefined);
2594
- }
2595
- SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm);
2596
- }
2597
- // ClearAlgorithms may be called twice. Erroring the same stream in multiple ways will often result in redundant calls.
2598
- function WritableStreamDefaultControllerClearAlgorithms(controller) {
2599
- controller._writeAlgorithm = undefined;
2600
- controller._closeAlgorithm = undefined;
2601
- controller._abortAlgorithm = undefined;
2602
- controller._strategySizeAlgorithm = undefined;
2603
- }
2604
- function WritableStreamDefaultControllerClose(controller) {
2605
- EnqueueValueWithSize(controller, closeSentinel, 0);
2606
- WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);
2607
- }
2608
- function WritableStreamDefaultControllerGetChunkSize(controller, chunk) {
2609
- try {
2610
- return controller._strategySizeAlgorithm(chunk);
2611
- }
2612
- catch (chunkSizeE) {
2613
- WritableStreamDefaultControllerErrorIfNeeded(controller, chunkSizeE);
2614
- return 1;
2615
- }
2616
- }
2617
- function WritableStreamDefaultControllerGetDesiredSize(controller) {
2618
- return controller._strategyHWM - controller._queueTotalSize;
2619
- }
2620
- function WritableStreamDefaultControllerWrite(controller, chunk, chunkSize) {
2621
- try {
2622
- EnqueueValueWithSize(controller, chunk, chunkSize);
2623
- }
2624
- catch (enqueueE) {
2625
- WritableStreamDefaultControllerErrorIfNeeded(controller, enqueueE);
2626
- return;
2627
- }
2628
- const stream = controller._controlledWritableStream;
2629
- if (!WritableStreamCloseQueuedOrInFlight(stream) && stream._state === 'writable') {
2630
- const backpressure = WritableStreamDefaultControllerGetBackpressure(controller);
2631
- WritableStreamUpdateBackpressure(stream, backpressure);
2632
- }
2633
- WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);
2634
- }
2635
- // Abstract operations for the WritableStreamDefaultController.
2636
- function WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller) {
2637
- const stream = controller._controlledWritableStream;
2638
- if (!controller._started) {
2639
- return;
2640
- }
2641
- if (stream._inFlightWriteRequest !== undefined) {
2642
- return;
2643
- }
2644
- const state = stream._state;
2645
- if (state === 'erroring') {
2646
- WritableStreamFinishErroring(stream);
2647
- return;
2648
- }
2649
- if (controller._queue.length === 0) {
2650
- return;
2651
- }
2652
- const value = PeekQueueValue(controller);
2653
- if (value === closeSentinel) {
2654
- WritableStreamDefaultControllerProcessClose(controller);
2655
- }
2656
- else {
2657
- WritableStreamDefaultControllerProcessWrite(controller, value);
2658
- }
2659
- }
2660
- function WritableStreamDefaultControllerErrorIfNeeded(controller, error) {
2661
- if (controller._controlledWritableStream._state === 'writable') {
2662
- WritableStreamDefaultControllerError(controller, error);
2663
- }
2664
- }
2665
- function WritableStreamDefaultControllerProcessClose(controller) {
2666
- const stream = controller._controlledWritableStream;
2667
- WritableStreamMarkCloseRequestInFlight(stream);
2668
- DequeueValue(controller);
2669
- const sinkClosePromise = controller._closeAlgorithm();
2670
- WritableStreamDefaultControllerClearAlgorithms(controller);
2671
- uponPromise(sinkClosePromise, () => {
2672
- WritableStreamFinishInFlightClose(stream);
2673
- return null;
2674
- }, reason => {
2675
- WritableStreamFinishInFlightCloseWithError(stream, reason);
2676
- return null;
2677
- });
2678
- }
2679
- function WritableStreamDefaultControllerProcessWrite(controller, chunk) {
2680
- const stream = controller._controlledWritableStream;
2681
- WritableStreamMarkFirstWriteRequestInFlight(stream);
2682
- const sinkWritePromise = controller._writeAlgorithm(chunk);
2683
- uponPromise(sinkWritePromise, () => {
2684
- WritableStreamFinishInFlightWrite(stream);
2685
- const state = stream._state;
2686
- DequeueValue(controller);
2687
- if (!WritableStreamCloseQueuedOrInFlight(stream) && state === 'writable') {
2688
- const backpressure = WritableStreamDefaultControllerGetBackpressure(controller);
2689
- WritableStreamUpdateBackpressure(stream, backpressure);
2690
- }
2691
- WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);
2692
- return null;
2693
- }, reason => {
2694
- if (stream._state === 'writable') {
2695
- WritableStreamDefaultControllerClearAlgorithms(controller);
2696
- }
2697
- WritableStreamFinishInFlightWriteWithError(stream, reason);
2698
- return null;
2699
- });
2700
- }
2701
- function WritableStreamDefaultControllerGetBackpressure(controller) {
2702
- const desiredSize = WritableStreamDefaultControllerGetDesiredSize(controller);
2703
- return desiredSize <= 0;
2704
- }
2705
- // A client of WritableStreamDefaultController may use these functions directly to bypass state check.
2706
- function WritableStreamDefaultControllerError(controller, error) {
2707
- const stream = controller._controlledWritableStream;
2708
- WritableStreamDefaultControllerClearAlgorithms(controller);
2709
- WritableStreamStartErroring(stream, error);
2710
- }
2711
- // Helper functions for the WritableStream.
2712
- function streamBrandCheckException$2(name) {
2713
- return new TypeError(`WritableStream.prototype.${name} can only be used on a WritableStream`);
2714
- }
2715
- // Helper functions for the WritableStreamDefaultController.
2716
- function defaultControllerBrandCheckException$2(name) {
2717
- return new TypeError(`WritableStreamDefaultController.prototype.${name} can only be used on a WritableStreamDefaultController`);
2718
- }
2719
- // Helper functions for the WritableStreamDefaultWriter.
2720
- function defaultWriterBrandCheckException(name) {
2721
- return new TypeError(`WritableStreamDefaultWriter.prototype.${name} can only be used on a WritableStreamDefaultWriter`);
2722
- }
2723
- function defaultWriterLockException(name) {
2724
- return new TypeError('Cannot ' + name + ' a stream using a released writer');
2725
- }
2726
- function defaultWriterClosedPromiseInitialize(writer) {
2727
- writer._closedPromise = newPromise((resolve, reject) => {
2728
- writer._closedPromise_resolve = resolve;
2729
- writer._closedPromise_reject = reject;
2730
- writer._closedPromiseState = 'pending';
2731
- });
2732
- }
2733
- function defaultWriterClosedPromiseInitializeAsRejected(writer, reason) {
2734
- defaultWriterClosedPromiseInitialize(writer);
2735
- defaultWriterClosedPromiseReject(writer, reason);
2736
- }
2737
- function defaultWriterClosedPromiseInitializeAsResolved(writer) {
2738
- defaultWriterClosedPromiseInitialize(writer);
2739
- defaultWriterClosedPromiseResolve(writer);
2740
- }
2741
- function defaultWriterClosedPromiseReject(writer, reason) {
2742
- if (writer._closedPromise_reject === undefined) {
2743
- return;
2744
- }
2745
- setPromiseIsHandledToTrue(writer._closedPromise);
2746
- writer._closedPromise_reject(reason);
2747
- writer._closedPromise_resolve = undefined;
2748
- writer._closedPromise_reject = undefined;
2749
- writer._closedPromiseState = 'rejected';
2750
- }
2751
- function defaultWriterClosedPromiseResetToRejected(writer, reason) {
2752
- defaultWriterClosedPromiseInitializeAsRejected(writer, reason);
2753
- }
2754
- function defaultWriterClosedPromiseResolve(writer) {
2755
- if (writer._closedPromise_resolve === undefined) {
2756
- return;
2757
- }
2758
- writer._closedPromise_resolve(undefined);
2759
- writer._closedPromise_resolve = undefined;
2760
- writer._closedPromise_reject = undefined;
2761
- writer._closedPromiseState = 'resolved';
2762
- }
2763
- function defaultWriterReadyPromiseInitialize(writer) {
2764
- writer._readyPromise = newPromise((resolve, reject) => {
2765
- writer._readyPromise_resolve = resolve;
2766
- writer._readyPromise_reject = reject;
2767
- });
2768
- writer._readyPromiseState = 'pending';
2769
- }
2770
- function defaultWriterReadyPromiseInitializeAsRejected(writer, reason) {
2771
- defaultWriterReadyPromiseInitialize(writer);
2772
- defaultWriterReadyPromiseReject(writer, reason);
2773
- }
2774
- function defaultWriterReadyPromiseInitializeAsResolved(writer) {
2775
- defaultWriterReadyPromiseInitialize(writer);
2776
- defaultWriterReadyPromiseResolve(writer);
2777
- }
2778
- function defaultWriterReadyPromiseReject(writer, reason) {
2779
- if (writer._readyPromise_reject === undefined) {
2780
- return;
2781
- }
2782
- setPromiseIsHandledToTrue(writer._readyPromise);
2783
- writer._readyPromise_reject(reason);
2784
- writer._readyPromise_resolve = undefined;
2785
- writer._readyPromise_reject = undefined;
2786
- writer._readyPromiseState = 'rejected';
2787
- }
2788
- function defaultWriterReadyPromiseReset(writer) {
2789
- defaultWriterReadyPromiseInitialize(writer);
2790
- }
2791
- function defaultWriterReadyPromiseResetToRejected(writer, reason) {
2792
- defaultWriterReadyPromiseInitializeAsRejected(writer, reason);
2793
- }
2794
- function defaultWriterReadyPromiseResolve(writer) {
2795
- if (writer._readyPromise_resolve === undefined) {
2796
- return;
2797
- }
2798
- writer._readyPromise_resolve(undefined);
2799
- writer._readyPromise_resolve = undefined;
2800
- writer._readyPromise_reject = undefined;
2801
- writer._readyPromiseState = 'fulfilled';
2802
- }
2803
-
2804
- /// <reference lib="dom" />
2805
- function getGlobals() {
2806
- if (typeof globalThis !== 'undefined') {
2807
- return globalThis;
2808
- }
2809
- else if (typeof self !== 'undefined') {
2810
- return self;
2811
- }
2812
- else if (typeof global !== 'undefined') {
2813
- return global;
2814
- }
2815
- return undefined;
2816
- }
2817
- const globals = getGlobals();
2818
-
2819
- /// <reference types="node" />
2820
- function isDOMExceptionConstructor(ctor) {
2821
- if (!(typeof ctor === 'function' || typeof ctor === 'object')) {
2822
- return false;
2823
- }
2824
- if (ctor.name !== 'DOMException') {
2825
- return false;
2826
- }
2827
- try {
2828
- new ctor();
2829
- return true;
2830
- }
2831
- catch (_a) {
2832
- return false;
2833
- }
2834
- }
2835
- /**
2836
- * Support:
2837
- * - Web browsers
2838
- * - Node 18 and higher (https://github.com/nodejs/node/commit/e4b1fb5e6422c1ff151234bb9de792d45dd88d87)
2839
- */
2840
- function getFromGlobal() {
2841
- const ctor = globals === null || globals === void 0 ? void 0 : globals.DOMException;
2842
- return isDOMExceptionConstructor(ctor) ? ctor : undefined;
2843
- }
2844
- /**
2845
- * Support:
2846
- * - All platforms
2847
- */
2848
- function createPolyfill() {
2849
- // eslint-disable-next-line @typescript-eslint/no-shadow
2850
- const ctor = function DOMException(message, name) {
2851
- this.message = message || '';
2852
- this.name = name || 'Error';
2853
- if (Error.captureStackTrace) {
2854
- Error.captureStackTrace(this, this.constructor);
2855
- }
2856
- };
2857
- setFunctionName(ctor, 'DOMException');
2858
- ctor.prototype = Object.create(Error.prototype);
2859
- Object.defineProperty(ctor.prototype, 'constructor', { value: ctor, writable: true, configurable: true });
2860
- return ctor;
2861
- }
2862
- // eslint-disable-next-line @typescript-eslint/no-redeclare
2863
- const DOMException = getFromGlobal() || createPolyfill();
2864
-
2865
- function ReadableStreamPipeTo(source, dest, preventClose, preventAbort, preventCancel, signal) {
2866
- const reader = AcquireReadableStreamDefaultReader(source);
2867
- const writer = AcquireWritableStreamDefaultWriter(dest);
2868
- source._disturbed = true;
2869
- let shuttingDown = false;
2870
- // This is used to keep track of the spec's requirement that we wait for ongoing writes during shutdown.
2871
- let currentWrite = promiseResolvedWith(undefined);
2872
- return newPromise((resolve, reject) => {
2873
- let abortAlgorithm;
2874
- if (signal !== undefined) {
2875
- abortAlgorithm = () => {
2876
- const error = signal.reason !== undefined ? signal.reason : new DOMException('Aborted', 'AbortError');
2877
- const actions = [];
2878
- if (!preventAbort) {
2879
- actions.push(() => {
2880
- if (dest._state === 'writable') {
2881
- return WritableStreamAbort(dest, error);
2882
- }
2883
- return promiseResolvedWith(undefined);
2884
- });
2885
- }
2886
- if (!preventCancel) {
2887
- actions.push(() => {
2888
- if (source._state === 'readable') {
2889
- return ReadableStreamCancel(source, error);
2890
- }
2891
- return promiseResolvedWith(undefined);
2892
- });
2893
- }
2894
- shutdownWithAction(() => Promise.all(actions.map(action => action())), true, error);
2895
- };
2896
- if (signal.aborted) {
2897
- abortAlgorithm();
2898
- return;
2899
- }
2900
- signal.addEventListener('abort', abortAlgorithm);
2901
- }
2902
- // Using reader and writer, read all chunks from this and write them to dest
2903
- // - Backpressure must be enforced
2904
- // - Shutdown must stop all activity
2905
- function pipeLoop() {
2906
- return newPromise((resolveLoop, rejectLoop) => {
2907
- function next(done) {
2908
- if (done) {
2909
- resolveLoop();
2910
- }
2911
- else {
2912
- // Use `PerformPromiseThen` instead of `uponPromise` to avoid
2913
- // adding unnecessary `.catch(rethrowAssertionErrorRejection)` handlers
2914
- PerformPromiseThen(pipeStep(), next, rejectLoop);
2915
- }
2916
- }
2917
- next(false);
2918
- });
2919
- }
2920
- function pipeStep() {
2921
- if (shuttingDown) {
2922
- return promiseResolvedWith(true);
2923
- }
2924
- return PerformPromiseThen(writer._readyPromise, () => {
2925
- return newPromise((resolveRead, rejectRead) => {
2926
- ReadableStreamDefaultReaderRead(reader, {
2927
- _chunkSteps: chunk => {
2928
- currentWrite = PerformPromiseThen(WritableStreamDefaultWriterWrite(writer, chunk), undefined, noop);
2929
- resolveRead(false);
2930
- },
2931
- _closeSteps: () => resolveRead(true),
2932
- _errorSteps: rejectRead
2933
- });
2934
- });
2935
- });
2936
- }
2937
- // Errors must be propagated forward
2938
- isOrBecomesErrored(source, reader._closedPromise, storedError => {
2939
- if (!preventAbort) {
2940
- shutdownWithAction(() => WritableStreamAbort(dest, storedError), true, storedError);
2941
- }
2942
- else {
2943
- shutdown(true, storedError);
2944
- }
2945
- return null;
2946
- });
2947
- // Errors must be propagated backward
2948
- isOrBecomesErrored(dest, writer._closedPromise, storedError => {
2949
- if (!preventCancel) {
2950
- shutdownWithAction(() => ReadableStreamCancel(source, storedError), true, storedError);
2951
- }
2952
- else {
2953
- shutdown(true, storedError);
2954
- }
2955
- return null;
2956
- });
2957
- // Closing must be propagated forward
2958
- isOrBecomesClosed(source, reader._closedPromise, () => {
2959
- if (!preventClose) {
2960
- shutdownWithAction(() => WritableStreamDefaultWriterCloseWithErrorPropagation(writer));
2961
- }
2962
- else {
2963
- shutdown();
2964
- }
2965
- return null;
2966
- });
2967
- // Closing must be propagated backward
2968
- if (WritableStreamCloseQueuedOrInFlight(dest) || dest._state === 'closed') {
2969
- const destClosed = new TypeError('the destination writable stream closed before all data could be piped to it');
2970
- if (!preventCancel) {
2971
- shutdownWithAction(() => ReadableStreamCancel(source, destClosed), true, destClosed);
2972
- }
2973
- else {
2974
- shutdown(true, destClosed);
2975
- }
2976
- }
2977
- setPromiseIsHandledToTrue(pipeLoop());
2978
- function waitForWritesToFinish() {
2979
- // Another write may have started while we were waiting on this currentWrite, so we have to be sure to wait
2980
- // for that too.
2981
- const oldCurrentWrite = currentWrite;
2982
- return PerformPromiseThen(currentWrite, () => oldCurrentWrite !== currentWrite ? waitForWritesToFinish() : undefined);
2983
- }
2984
- function isOrBecomesErrored(stream, promise, action) {
2985
- if (stream._state === 'errored') {
2986
- action(stream._storedError);
2987
- }
2988
- else {
2989
- uponRejection(promise, action);
2990
- }
2991
- }
2992
- function isOrBecomesClosed(stream, promise, action) {
2993
- if (stream._state === 'closed') {
2994
- action();
2995
- }
2996
- else {
2997
- uponFulfillment(promise, action);
2998
- }
2999
- }
3000
- function shutdownWithAction(action, originalIsError, originalError) {
3001
- if (shuttingDown) {
3002
- return;
3003
- }
3004
- shuttingDown = true;
3005
- if (dest._state === 'writable' && !WritableStreamCloseQueuedOrInFlight(dest)) {
3006
- uponFulfillment(waitForWritesToFinish(), doTheRest);
3007
- }
3008
- else {
3009
- doTheRest();
3010
- }
3011
- function doTheRest() {
3012
- uponPromise(action(), () => finalize(originalIsError, originalError), newError => finalize(true, newError));
3013
- return null;
3014
- }
3015
- }
3016
- function shutdown(isError, error) {
3017
- if (shuttingDown) {
3018
- return;
3019
- }
3020
- shuttingDown = true;
3021
- if (dest._state === 'writable' && !WritableStreamCloseQueuedOrInFlight(dest)) {
3022
- uponFulfillment(waitForWritesToFinish(), () => finalize(isError, error));
3023
- }
3024
- else {
3025
- finalize(isError, error);
3026
- }
3027
- }
3028
- function finalize(isError, error) {
3029
- WritableStreamDefaultWriterRelease(writer);
3030
- ReadableStreamReaderGenericRelease(reader);
3031
- if (signal !== undefined) {
3032
- signal.removeEventListener('abort', abortAlgorithm);
3033
- }
3034
- if (isError) {
3035
- reject(error);
3036
- }
3037
- else {
3038
- resolve(undefined);
3039
- }
3040
- return null;
3041
- }
3042
- });
3043
- }
3044
-
3045
- /**
3046
- * Allows control of a {@link ReadableStream | readable stream}'s state and internal queue.
3047
- *
3048
- * @public
3049
- */
3050
- class ReadableStreamDefaultController {
3051
- constructor() {
3052
- throw new TypeError('Illegal constructor');
3053
- }
3054
- /**
3055
- * Returns the desired size to fill the controlled stream's internal queue. It can be negative, if the queue is
3056
- * over-full. An underlying source ought to use this information to determine when and how to apply backpressure.
3057
- */
3058
- get desiredSize() {
3059
- if (!IsReadableStreamDefaultController(this)) {
3060
- throw defaultControllerBrandCheckException$1('desiredSize');
3061
- }
3062
- return ReadableStreamDefaultControllerGetDesiredSize(this);
3063
- }
3064
- /**
3065
- * Closes the controlled readable stream. Consumers will still be able to read any previously-enqueued chunks from
3066
- * the stream, but once those are read, the stream will become closed.
3067
- */
3068
- close() {
3069
- if (!IsReadableStreamDefaultController(this)) {
3070
- throw defaultControllerBrandCheckException$1('close');
3071
- }
3072
- if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(this)) {
3073
- throw new TypeError('The stream is not in a state that permits close');
3074
- }
3075
- ReadableStreamDefaultControllerClose(this);
3076
- }
3077
- enqueue(chunk = undefined) {
3078
- if (!IsReadableStreamDefaultController(this)) {
3079
- throw defaultControllerBrandCheckException$1('enqueue');
3080
- }
3081
- if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(this)) {
3082
- throw new TypeError('The stream is not in a state that permits enqueue');
3083
- }
3084
- return ReadableStreamDefaultControllerEnqueue(this, chunk);
3085
- }
3086
- /**
3087
- * Errors the controlled readable stream, making all future interactions with it fail with the given error `e`.
3088
- */
3089
- error(e = undefined) {
3090
- if (!IsReadableStreamDefaultController(this)) {
3091
- throw defaultControllerBrandCheckException$1('error');
3092
- }
3093
- ReadableStreamDefaultControllerError(this, e);
3094
- }
3095
- /** @internal */
3096
- [CancelSteps](reason) {
3097
- ResetQueue(this);
3098
- const result = this._cancelAlgorithm(reason);
3099
- ReadableStreamDefaultControllerClearAlgorithms(this);
3100
- return result;
3101
- }
3102
- /** @internal */
3103
- [PullSteps](readRequest) {
3104
- const stream = this._controlledReadableStream;
3105
- if (this._queue.length > 0) {
3106
- const chunk = DequeueValue(this);
3107
- if (this._closeRequested && this._queue.length === 0) {
3108
- ReadableStreamDefaultControllerClearAlgorithms(this);
3109
- ReadableStreamClose(stream);
3110
- }
3111
- else {
3112
- ReadableStreamDefaultControllerCallPullIfNeeded(this);
3113
- }
3114
- readRequest._chunkSteps(chunk);
3115
- }
3116
- else {
3117
- ReadableStreamAddReadRequest(stream, readRequest);
3118
- ReadableStreamDefaultControllerCallPullIfNeeded(this);
3119
- }
3120
- }
3121
- /** @internal */
3122
- [ReleaseSteps]() {
3123
- // Do nothing.
3124
- }
3125
- }
3126
- Object.defineProperties(ReadableStreamDefaultController.prototype, {
3127
- close: { enumerable: true },
3128
- enqueue: { enumerable: true },
3129
- error: { enumerable: true },
3130
- desiredSize: { enumerable: true }
3131
- });
3132
- setFunctionName(ReadableStreamDefaultController.prototype.close, 'close');
3133
- setFunctionName(ReadableStreamDefaultController.prototype.enqueue, 'enqueue');
3134
- setFunctionName(ReadableStreamDefaultController.prototype.error, 'error');
3135
- if (typeof Symbol.toStringTag === 'symbol') {
3136
- Object.defineProperty(ReadableStreamDefaultController.prototype, Symbol.toStringTag, {
3137
- value: 'ReadableStreamDefaultController',
3138
- configurable: true
3139
- });
3140
- }
3141
- // Abstract operations for the ReadableStreamDefaultController.
3142
- function IsReadableStreamDefaultController(x) {
3143
- if (!typeIsObject(x)) {
3144
- return false;
3145
- }
3146
- if (!Object.prototype.hasOwnProperty.call(x, '_controlledReadableStream')) {
3147
- return false;
3148
- }
3149
- return x instanceof ReadableStreamDefaultController;
3150
- }
3151
- function ReadableStreamDefaultControllerCallPullIfNeeded(controller) {
3152
- const shouldPull = ReadableStreamDefaultControllerShouldCallPull(controller);
3153
- if (!shouldPull) {
3154
- return;
3155
- }
3156
- if (controller._pulling) {
3157
- controller._pullAgain = true;
3158
- return;
3159
- }
3160
- controller._pulling = true;
3161
- const pullPromise = controller._pullAlgorithm();
3162
- uponPromise(pullPromise, () => {
3163
- controller._pulling = false;
3164
- if (controller._pullAgain) {
3165
- controller._pullAgain = false;
3166
- ReadableStreamDefaultControllerCallPullIfNeeded(controller);
3167
- }
3168
- return null;
3169
- }, e => {
3170
- ReadableStreamDefaultControllerError(controller, e);
3171
- return null;
3172
- });
3173
- }
3174
- function ReadableStreamDefaultControllerShouldCallPull(controller) {
3175
- const stream = controller._controlledReadableStream;
3176
- if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) {
3177
- return false;
3178
- }
3179
- if (!controller._started) {
3180
- return false;
3181
- }
3182
- if (IsReadableStreamLocked(stream) && ReadableStreamGetNumReadRequests(stream) > 0) {
3183
- return true;
3184
- }
3185
- const desiredSize = ReadableStreamDefaultControllerGetDesiredSize(controller);
3186
- if (desiredSize > 0) {
3187
- return true;
3188
- }
3189
- return false;
3190
- }
3191
- function ReadableStreamDefaultControllerClearAlgorithms(controller) {
3192
- controller._pullAlgorithm = undefined;
3193
- controller._cancelAlgorithm = undefined;
3194
- controller._strategySizeAlgorithm = undefined;
3195
- }
3196
- // A client of ReadableStreamDefaultController may use these functions directly to bypass state check.
3197
- function ReadableStreamDefaultControllerClose(controller) {
3198
- if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) {
3199
- return;
3200
- }
3201
- const stream = controller._controlledReadableStream;
3202
- controller._closeRequested = true;
3203
- if (controller._queue.length === 0) {
3204
- ReadableStreamDefaultControllerClearAlgorithms(controller);
3205
- ReadableStreamClose(stream);
3206
- }
3207
- }
3208
- function ReadableStreamDefaultControllerEnqueue(controller, chunk) {
3209
- if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) {
3210
- return;
3211
- }
3212
- const stream = controller._controlledReadableStream;
3213
- if (IsReadableStreamLocked(stream) && ReadableStreamGetNumReadRequests(stream) > 0) {
3214
- ReadableStreamFulfillReadRequest(stream, chunk, false);
3215
- }
3216
- else {
3217
- let chunkSize;
3218
- try {
3219
- chunkSize = controller._strategySizeAlgorithm(chunk);
3220
- }
3221
- catch (chunkSizeE) {
3222
- ReadableStreamDefaultControllerError(controller, chunkSizeE);
3223
- throw chunkSizeE;
3224
- }
3225
- try {
3226
- EnqueueValueWithSize(controller, chunk, chunkSize);
3227
- }
3228
- catch (enqueueE) {
3229
- ReadableStreamDefaultControllerError(controller, enqueueE);
3230
- throw enqueueE;
3231
- }
3232
- }
3233
- ReadableStreamDefaultControllerCallPullIfNeeded(controller);
3234
- }
3235
- function ReadableStreamDefaultControllerError(controller, e) {
3236
- const stream = controller._controlledReadableStream;
3237
- if (stream._state !== 'readable') {
3238
- return;
3239
- }
3240
- ResetQueue(controller);
3241
- ReadableStreamDefaultControllerClearAlgorithms(controller);
3242
- ReadableStreamError(stream, e);
3243
- }
3244
- function ReadableStreamDefaultControllerGetDesiredSize(controller) {
3245
- const state = controller._controlledReadableStream._state;
3246
- if (state === 'errored') {
3247
- return null;
3248
- }
3249
- if (state === 'closed') {
3250
- return 0;
3251
- }
3252
- return controller._strategyHWM - controller._queueTotalSize;
3253
- }
3254
- // This is used in the implementation of TransformStream.
3255
- function ReadableStreamDefaultControllerHasBackpressure(controller) {
3256
- if (ReadableStreamDefaultControllerShouldCallPull(controller)) {
3257
- return false;
3258
- }
3259
- return true;
3260
- }
3261
- function ReadableStreamDefaultControllerCanCloseOrEnqueue(controller) {
3262
- const state = controller._controlledReadableStream._state;
3263
- if (!controller._closeRequested && state === 'readable') {
3264
- return true;
3265
- }
3266
- return false;
3267
- }
3268
- function SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm) {
3269
- controller._controlledReadableStream = stream;
3270
- controller._queue = undefined;
3271
- controller._queueTotalSize = undefined;
3272
- ResetQueue(controller);
3273
- controller._started = false;
3274
- controller._closeRequested = false;
3275
- controller._pullAgain = false;
3276
- controller._pulling = false;
3277
- controller._strategySizeAlgorithm = sizeAlgorithm;
3278
- controller._strategyHWM = highWaterMark;
3279
- controller._pullAlgorithm = pullAlgorithm;
3280
- controller._cancelAlgorithm = cancelAlgorithm;
3281
- stream._readableStreamController = controller;
3282
- const startResult = startAlgorithm();
3283
- uponPromise(promiseResolvedWith(startResult), () => {
3284
- controller._started = true;
3285
- ReadableStreamDefaultControllerCallPullIfNeeded(controller);
3286
- return null;
3287
- }, r => {
3288
- ReadableStreamDefaultControllerError(controller, r);
3289
- return null;
3290
- });
3291
- }
3292
- function SetUpReadableStreamDefaultControllerFromUnderlyingSource(stream, underlyingSource, highWaterMark, sizeAlgorithm) {
3293
- const controller = Object.create(ReadableStreamDefaultController.prototype);
3294
- let startAlgorithm;
3295
- let pullAlgorithm;
3296
- let cancelAlgorithm;
3297
- if (underlyingSource.start !== undefined) {
3298
- startAlgorithm = () => underlyingSource.start(controller);
3299
- }
3300
- else {
3301
- startAlgorithm = () => undefined;
3302
- }
3303
- if (underlyingSource.pull !== undefined) {
3304
- pullAlgorithm = () => underlyingSource.pull(controller);
3305
- }
3306
- else {
3307
- pullAlgorithm = () => promiseResolvedWith(undefined);
3308
- }
3309
- if (underlyingSource.cancel !== undefined) {
3310
- cancelAlgorithm = reason => underlyingSource.cancel(reason);
3311
- }
3312
- else {
3313
- cancelAlgorithm = () => promiseResolvedWith(undefined);
3314
- }
3315
- SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm);
3316
- }
3317
- // Helper functions for the ReadableStreamDefaultController.
3318
- function defaultControllerBrandCheckException$1(name) {
3319
- return new TypeError(`ReadableStreamDefaultController.prototype.${name} can only be used on a ReadableStreamDefaultController`);
3320
- }
3321
-
3322
- function ReadableStreamTee(stream, cloneForBranch2) {
3323
- if (IsReadableByteStreamController(stream._readableStreamController)) {
3324
- return ReadableByteStreamTee(stream);
3325
- }
3326
- return ReadableStreamDefaultTee(stream);
3327
- }
3328
- function ReadableStreamDefaultTee(stream, cloneForBranch2) {
3329
- const reader = AcquireReadableStreamDefaultReader(stream);
3330
- let reading = false;
3331
- let readAgain = false;
3332
- let canceled1 = false;
3333
- let canceled2 = false;
3334
- let reason1;
3335
- let reason2;
3336
- let branch1;
3337
- let branch2;
3338
- let resolveCancelPromise;
3339
- const cancelPromise = newPromise(resolve => {
3340
- resolveCancelPromise = resolve;
3341
- });
3342
- function pullAlgorithm() {
3343
- if (reading) {
3344
- readAgain = true;
3345
- return promiseResolvedWith(undefined);
3346
- }
3347
- reading = true;
3348
- const readRequest = {
3349
- _chunkSteps: chunk => {
3350
- // This needs to be delayed a microtask because it takes at least a microtask to detect errors (using
3351
- // reader._closedPromise below), and we want errors in stream to error both branches immediately. We cannot let
3352
- // successful synchronously-available reads get ahead of asynchronously-available errors.
3353
- _queueMicrotask(() => {
3354
- readAgain = false;
3355
- const chunk1 = chunk;
3356
- const chunk2 = chunk;
3357
- // There is no way to access the cloning code right now in the reference implementation.
3358
- // If we add one then we'll need an implementation for serializable objects.
3359
- // if (!canceled2 && cloneForBranch2) {
3360
- // chunk2 = StructuredDeserialize(StructuredSerialize(chunk2));
3361
- // }
3362
- if (!canceled1) {
3363
- ReadableStreamDefaultControllerEnqueue(branch1._readableStreamController, chunk1);
3364
- }
3365
- if (!canceled2) {
3366
- ReadableStreamDefaultControllerEnqueue(branch2._readableStreamController, chunk2);
3367
- }
3368
- reading = false;
3369
- if (readAgain) {
3370
- pullAlgorithm();
3371
- }
3372
- });
3373
- },
3374
- _closeSteps: () => {
3375
- reading = false;
3376
- if (!canceled1) {
3377
- ReadableStreamDefaultControllerClose(branch1._readableStreamController);
3378
- }
3379
- if (!canceled2) {
3380
- ReadableStreamDefaultControllerClose(branch2._readableStreamController);
3381
- }
3382
- if (!canceled1 || !canceled2) {
3383
- resolveCancelPromise(undefined);
3384
- }
3385
- },
3386
- _errorSteps: () => {
3387
- reading = false;
3388
- }
3389
- };
3390
- ReadableStreamDefaultReaderRead(reader, readRequest);
3391
- return promiseResolvedWith(undefined);
3392
- }
3393
- function cancel1Algorithm(reason) {
3394
- canceled1 = true;
3395
- reason1 = reason;
3396
- if (canceled2) {
3397
- const compositeReason = CreateArrayFromList([reason1, reason2]);
3398
- const cancelResult = ReadableStreamCancel(stream, compositeReason);
3399
- resolveCancelPromise(cancelResult);
3400
- }
3401
- return cancelPromise;
3402
- }
3403
- function cancel2Algorithm(reason) {
3404
- canceled2 = true;
3405
- reason2 = reason;
3406
- if (canceled1) {
3407
- const compositeReason = CreateArrayFromList([reason1, reason2]);
3408
- const cancelResult = ReadableStreamCancel(stream, compositeReason);
3409
- resolveCancelPromise(cancelResult);
3410
- }
3411
- return cancelPromise;
3412
- }
3413
- function startAlgorithm() {
3414
- // do nothing
3415
- }
3416
- branch1 = CreateReadableStream(startAlgorithm, pullAlgorithm, cancel1Algorithm);
3417
- branch2 = CreateReadableStream(startAlgorithm, pullAlgorithm, cancel2Algorithm);
3418
- uponRejection(reader._closedPromise, (r) => {
3419
- ReadableStreamDefaultControllerError(branch1._readableStreamController, r);
3420
- ReadableStreamDefaultControllerError(branch2._readableStreamController, r);
3421
- if (!canceled1 || !canceled2) {
3422
- resolveCancelPromise(undefined);
3423
- }
3424
- return null;
3425
- });
3426
- return [branch1, branch2];
3427
- }
3428
- function ReadableByteStreamTee(stream) {
3429
- let reader = AcquireReadableStreamDefaultReader(stream);
3430
- let reading = false;
3431
- let readAgainForBranch1 = false;
3432
- let readAgainForBranch2 = false;
3433
- let canceled1 = false;
3434
- let canceled2 = false;
3435
- let reason1;
3436
- let reason2;
3437
- let branch1;
3438
- let branch2;
3439
- let resolveCancelPromise;
3440
- const cancelPromise = newPromise(resolve => {
3441
- resolveCancelPromise = resolve;
3442
- });
3443
- function forwardReaderError(thisReader) {
3444
- uponRejection(thisReader._closedPromise, r => {
3445
- if (thisReader !== reader) {
3446
- return null;
3447
- }
3448
- ReadableByteStreamControllerError(branch1._readableStreamController, r);
3449
- ReadableByteStreamControllerError(branch2._readableStreamController, r);
3450
- if (!canceled1 || !canceled2) {
3451
- resolveCancelPromise(undefined);
3452
- }
3453
- return null;
3454
- });
3455
- }
3456
- function pullWithDefaultReader() {
3457
- if (IsReadableStreamBYOBReader(reader)) {
3458
- ReadableStreamReaderGenericRelease(reader);
3459
- reader = AcquireReadableStreamDefaultReader(stream);
3460
- forwardReaderError(reader);
3461
- }
3462
- const readRequest = {
3463
- _chunkSteps: chunk => {
3464
- // This needs to be delayed a microtask because it takes at least a microtask to detect errors (using
3465
- // reader._closedPromise below), and we want errors in stream to error both branches immediately. We cannot let
3466
- // successful synchronously-available reads get ahead of asynchronously-available errors.
3467
- _queueMicrotask(() => {
3468
- readAgainForBranch1 = false;
3469
- readAgainForBranch2 = false;
3470
- const chunk1 = chunk;
3471
- let chunk2 = chunk;
3472
- if (!canceled1 && !canceled2) {
3473
- try {
3474
- chunk2 = CloneAsUint8Array(chunk);
3475
- }
3476
- catch (cloneE) {
3477
- ReadableByteStreamControllerError(branch1._readableStreamController, cloneE);
3478
- ReadableByteStreamControllerError(branch2._readableStreamController, cloneE);
3479
- resolveCancelPromise(ReadableStreamCancel(stream, cloneE));
3480
- return;
3481
- }
3482
- }
3483
- if (!canceled1) {
3484
- ReadableByteStreamControllerEnqueue(branch1._readableStreamController, chunk1);
3485
- }
3486
- if (!canceled2) {
3487
- ReadableByteStreamControllerEnqueue(branch2._readableStreamController, chunk2);
3488
- }
3489
- reading = false;
3490
- if (readAgainForBranch1) {
3491
- pull1Algorithm();
3492
- }
3493
- else if (readAgainForBranch2) {
3494
- pull2Algorithm();
3495
- }
3496
- });
3497
- },
3498
- _closeSteps: () => {
3499
- reading = false;
3500
- if (!canceled1) {
3501
- ReadableByteStreamControllerClose(branch1._readableStreamController);
3502
- }
3503
- if (!canceled2) {
3504
- ReadableByteStreamControllerClose(branch2._readableStreamController);
3505
- }
3506
- if (branch1._readableStreamController._pendingPullIntos.length > 0) {
3507
- ReadableByteStreamControllerRespond(branch1._readableStreamController, 0);
3508
- }
3509
- if (branch2._readableStreamController._pendingPullIntos.length > 0) {
3510
- ReadableByteStreamControllerRespond(branch2._readableStreamController, 0);
3511
- }
3512
- if (!canceled1 || !canceled2) {
3513
- resolveCancelPromise(undefined);
3514
- }
3515
- },
3516
- _errorSteps: () => {
3517
- reading = false;
3518
- }
3519
- };
3520
- ReadableStreamDefaultReaderRead(reader, readRequest);
3521
- }
3522
- function pullWithBYOBReader(view, forBranch2) {
3523
- if (IsReadableStreamDefaultReader(reader)) {
3524
- ReadableStreamReaderGenericRelease(reader);
3525
- reader = AcquireReadableStreamBYOBReader(stream);
3526
- forwardReaderError(reader);
3527
- }
3528
- const byobBranch = forBranch2 ? branch2 : branch1;
3529
- const otherBranch = forBranch2 ? branch1 : branch2;
3530
- const readIntoRequest = {
3531
- _chunkSteps: chunk => {
3532
- // This needs to be delayed a microtask because it takes at least a microtask to detect errors (using
3533
- // reader._closedPromise below), and we want errors in stream to error both branches immediately. We cannot let
3534
- // successful synchronously-available reads get ahead of asynchronously-available errors.
3535
- _queueMicrotask(() => {
3536
- readAgainForBranch1 = false;
3537
- readAgainForBranch2 = false;
3538
- const byobCanceled = forBranch2 ? canceled2 : canceled1;
3539
- const otherCanceled = forBranch2 ? canceled1 : canceled2;
3540
- if (!otherCanceled) {
3541
- let clonedChunk;
3542
- try {
3543
- clonedChunk = CloneAsUint8Array(chunk);
3544
- }
3545
- catch (cloneE) {
3546
- ReadableByteStreamControllerError(byobBranch._readableStreamController, cloneE);
3547
- ReadableByteStreamControllerError(otherBranch._readableStreamController, cloneE);
3548
- resolveCancelPromise(ReadableStreamCancel(stream, cloneE));
3549
- return;
3550
- }
3551
- if (!byobCanceled) {
3552
- ReadableByteStreamControllerRespondWithNewView(byobBranch._readableStreamController, chunk);
3553
- }
3554
- ReadableByteStreamControllerEnqueue(otherBranch._readableStreamController, clonedChunk);
3555
- }
3556
- else if (!byobCanceled) {
3557
- ReadableByteStreamControllerRespondWithNewView(byobBranch._readableStreamController, chunk);
3558
- }
3559
- reading = false;
3560
- if (readAgainForBranch1) {
3561
- pull1Algorithm();
3562
- }
3563
- else if (readAgainForBranch2) {
3564
- pull2Algorithm();
3565
- }
3566
- });
3567
- },
3568
- _closeSteps: chunk => {
3569
- reading = false;
3570
- const byobCanceled = forBranch2 ? canceled2 : canceled1;
3571
- const otherCanceled = forBranch2 ? canceled1 : canceled2;
3572
- if (!byobCanceled) {
3573
- ReadableByteStreamControllerClose(byobBranch._readableStreamController);
3574
- }
3575
- if (!otherCanceled) {
3576
- ReadableByteStreamControllerClose(otherBranch._readableStreamController);
3577
- }
3578
- if (chunk !== undefined) {
3579
- if (!byobCanceled) {
3580
- ReadableByteStreamControllerRespondWithNewView(byobBranch._readableStreamController, chunk);
3581
- }
3582
- if (!otherCanceled && otherBranch._readableStreamController._pendingPullIntos.length > 0) {
3583
- ReadableByteStreamControllerRespond(otherBranch._readableStreamController, 0);
3584
- }
3585
- }
3586
- if (!byobCanceled || !otherCanceled) {
3587
- resolveCancelPromise(undefined);
3588
- }
3589
- },
3590
- _errorSteps: () => {
3591
- reading = false;
3592
- }
3593
- };
3594
- ReadableStreamBYOBReaderRead(reader, view, 1, readIntoRequest);
3595
- }
3596
- function pull1Algorithm() {
3597
- if (reading) {
3598
- readAgainForBranch1 = true;
3599
- return promiseResolvedWith(undefined);
3600
- }
3601
- reading = true;
3602
- const byobRequest = ReadableByteStreamControllerGetBYOBRequest(branch1._readableStreamController);
3603
- if (byobRequest === null) {
3604
- pullWithDefaultReader();
3605
- }
3606
- else {
3607
- pullWithBYOBReader(byobRequest._view, false);
3608
- }
3609
- return promiseResolvedWith(undefined);
3610
- }
3611
- function pull2Algorithm() {
3612
- if (reading) {
3613
- readAgainForBranch2 = true;
3614
- return promiseResolvedWith(undefined);
3615
- }
3616
- reading = true;
3617
- const byobRequest = ReadableByteStreamControllerGetBYOBRequest(branch2._readableStreamController);
3618
- if (byobRequest === null) {
3619
- pullWithDefaultReader();
3620
- }
3621
- else {
3622
- pullWithBYOBReader(byobRequest._view, true);
3623
- }
3624
- return promiseResolvedWith(undefined);
3625
- }
3626
- function cancel1Algorithm(reason) {
3627
- canceled1 = true;
3628
- reason1 = reason;
3629
- if (canceled2) {
3630
- const compositeReason = CreateArrayFromList([reason1, reason2]);
3631
- const cancelResult = ReadableStreamCancel(stream, compositeReason);
3632
- resolveCancelPromise(cancelResult);
3633
- }
3634
- return cancelPromise;
3635
- }
3636
- function cancel2Algorithm(reason) {
3637
- canceled2 = true;
3638
- reason2 = reason;
3639
- if (canceled1) {
3640
- const compositeReason = CreateArrayFromList([reason1, reason2]);
3641
- const cancelResult = ReadableStreamCancel(stream, compositeReason);
3642
- resolveCancelPromise(cancelResult);
3643
- }
3644
- return cancelPromise;
3645
- }
3646
- function startAlgorithm() {
3647
- return;
3648
- }
3649
- branch1 = CreateReadableByteStream(startAlgorithm, pull1Algorithm, cancel1Algorithm);
3650
- branch2 = CreateReadableByteStream(startAlgorithm, pull2Algorithm, cancel2Algorithm);
3651
- forwardReaderError(reader);
3652
- return [branch1, branch2];
3653
- }
3654
-
3655
- function isReadableStreamLike(stream) {
3656
- return typeIsObject(stream) && typeof stream.getReader !== 'undefined';
3657
- }
3658
-
3659
- function ReadableStreamFrom(source) {
3660
- if (isReadableStreamLike(source)) {
3661
- return ReadableStreamFromDefaultReader(source.getReader());
3662
- }
3663
- return ReadableStreamFromIterable(source);
3664
- }
3665
- function ReadableStreamFromIterable(asyncIterable) {
3666
- let stream;
3667
- const iteratorRecord = GetIterator(asyncIterable, 'async');
3668
- const startAlgorithm = noop;
3669
- function pullAlgorithm() {
3670
- let nextResult;
3671
- try {
3672
- nextResult = IteratorNext(iteratorRecord);
3673
- }
3674
- catch (e) {
3675
- return promiseRejectedWith(e);
3676
- }
3677
- const nextPromise = promiseResolvedWith(nextResult);
3678
- return transformPromiseWith(nextPromise, iterResult => {
3679
- if (!typeIsObject(iterResult)) {
3680
- throw new TypeError('The promise returned by the iterator.next() method must fulfill with an object');
3681
- }
3682
- const done = IteratorComplete(iterResult);
3683
- if (done) {
3684
- ReadableStreamDefaultControllerClose(stream._readableStreamController);
3685
- }
3686
- else {
3687
- const value = IteratorValue(iterResult);
3688
- ReadableStreamDefaultControllerEnqueue(stream._readableStreamController, value);
3689
- }
3690
- });
3691
- }
3692
- function cancelAlgorithm(reason) {
3693
- const iterator = iteratorRecord.iterator;
3694
- let returnMethod;
3695
- try {
3696
- returnMethod = GetMethod(iterator, 'return');
3697
- }
3698
- catch (e) {
3699
- return promiseRejectedWith(e);
3700
- }
3701
- if (returnMethod === undefined) {
3702
- return promiseResolvedWith(undefined);
3703
- }
3704
- let returnResult;
3705
- try {
3706
- returnResult = reflectCall(returnMethod, iterator, [reason]);
3707
- }
3708
- catch (e) {
3709
- return promiseRejectedWith(e);
3710
- }
3711
- const returnPromise = promiseResolvedWith(returnResult);
3712
- return transformPromiseWith(returnPromise, iterResult => {
3713
- if (!typeIsObject(iterResult)) {
3714
- throw new TypeError('The promise returned by the iterator.return() method must fulfill with an object');
3715
- }
3716
- return undefined;
3717
- });
3718
- }
3719
- stream = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, 0);
3720
- return stream;
3721
- }
3722
- function ReadableStreamFromDefaultReader(reader) {
3723
- let stream;
3724
- const startAlgorithm = noop;
3725
- function pullAlgorithm() {
3726
- let readPromise;
3727
- try {
3728
- readPromise = reader.read();
3729
- }
3730
- catch (e) {
3731
- return promiseRejectedWith(e);
3732
- }
3733
- return transformPromiseWith(readPromise, readResult => {
3734
- if (!typeIsObject(readResult)) {
3735
- throw new TypeError('The promise returned by the reader.read() method must fulfill with an object');
3736
- }
3737
- if (readResult.done) {
3738
- ReadableStreamDefaultControllerClose(stream._readableStreamController);
3739
- }
3740
- else {
3741
- const value = readResult.value;
3742
- ReadableStreamDefaultControllerEnqueue(stream._readableStreamController, value);
3743
- }
3744
- });
3745
- }
3746
- function cancelAlgorithm(reason) {
3747
- try {
3748
- return promiseResolvedWith(reader.cancel(reason));
3749
- }
3750
- catch (e) {
3751
- return promiseRejectedWith(e);
3752
- }
3753
- }
3754
- stream = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, 0);
3755
- return stream;
3756
- }
3757
-
3758
- function convertUnderlyingDefaultOrByteSource(source, context) {
3759
- assertDictionary(source, context);
3760
- const original = source;
3761
- const autoAllocateChunkSize = original === null || original === void 0 ? void 0 : original.autoAllocateChunkSize;
3762
- const cancel = original === null || original === void 0 ? void 0 : original.cancel;
3763
- const pull = original === null || original === void 0 ? void 0 : original.pull;
3764
- const start = original === null || original === void 0 ? void 0 : original.start;
3765
- const type = original === null || original === void 0 ? void 0 : original.type;
3766
- return {
3767
- autoAllocateChunkSize: autoAllocateChunkSize === undefined ?
3768
- undefined :
3769
- convertUnsignedLongLongWithEnforceRange(autoAllocateChunkSize, `${context} has member 'autoAllocateChunkSize' that`),
3770
- cancel: cancel === undefined ?
3771
- undefined :
3772
- convertUnderlyingSourceCancelCallback(cancel, original, `${context} has member 'cancel' that`),
3773
- pull: pull === undefined ?
3774
- undefined :
3775
- convertUnderlyingSourcePullCallback(pull, original, `${context} has member 'pull' that`),
3776
- start: start === undefined ?
3777
- undefined :
3778
- convertUnderlyingSourceStartCallback(start, original, `${context} has member 'start' that`),
3779
- type: type === undefined ? undefined : convertReadableStreamType(type, `${context} has member 'type' that`)
3780
- };
3781
- }
3782
- function convertUnderlyingSourceCancelCallback(fn, original, context) {
3783
- assertFunction(fn, context);
3784
- return (reason) => promiseCall(fn, original, [reason]);
3785
- }
3786
- function convertUnderlyingSourcePullCallback(fn, original, context) {
3787
- assertFunction(fn, context);
3788
- return (controller) => promiseCall(fn, original, [controller]);
3789
- }
3790
- function convertUnderlyingSourceStartCallback(fn, original, context) {
3791
- assertFunction(fn, context);
3792
- return (controller) => reflectCall(fn, original, [controller]);
3793
- }
3794
- function convertReadableStreamType(type, context) {
3795
- type = `${type}`;
3796
- if (type !== 'bytes') {
3797
- throw new TypeError(`${context} '${type}' is not a valid enumeration value for ReadableStreamType`);
3798
- }
3799
- return type;
3800
- }
3801
-
3802
- function convertIteratorOptions(options, context) {
3803
- assertDictionary(options, context);
3804
- const preventCancel = options === null || options === void 0 ? void 0 : options.preventCancel;
3805
- return { preventCancel: Boolean(preventCancel) };
3806
- }
3807
-
3808
- function convertPipeOptions(options, context) {
3809
- assertDictionary(options, context);
3810
- const preventAbort = options === null || options === void 0 ? void 0 : options.preventAbort;
3811
- const preventCancel = options === null || options === void 0 ? void 0 : options.preventCancel;
3812
- const preventClose = options === null || options === void 0 ? void 0 : options.preventClose;
3813
- const signal = options === null || options === void 0 ? void 0 : options.signal;
3814
- if (signal !== undefined) {
3815
- assertAbortSignal(signal, `${context} has member 'signal' that`);
3816
- }
3817
- return {
3818
- preventAbort: Boolean(preventAbort),
3819
- preventCancel: Boolean(preventCancel),
3820
- preventClose: Boolean(preventClose),
3821
- signal
3822
- };
3823
- }
3824
- function assertAbortSignal(signal, context) {
3825
- if (!isAbortSignal(signal)) {
3826
- throw new TypeError(`${context} is not an AbortSignal.`);
3827
- }
3828
- }
3829
-
3830
- function convertReadableWritablePair(pair, context) {
3831
- assertDictionary(pair, context);
3832
- const readable = pair === null || pair === void 0 ? void 0 : pair.readable;
3833
- assertRequiredField(readable, 'readable', 'ReadableWritablePair');
3834
- assertReadableStream(readable, `${context} has member 'readable' that`);
3835
- const writable = pair === null || pair === void 0 ? void 0 : pair.writable;
3836
- assertRequiredField(writable, 'writable', 'ReadableWritablePair');
3837
- assertWritableStream(writable, `${context} has member 'writable' that`);
3838
- return { readable, writable };
3839
- }
3840
-
3841
- /**
3842
- * A readable stream represents a source of data, from which you can read.
3843
- *
3844
- * @public
3845
- */
3846
- class ReadableStream {
3847
- constructor(rawUnderlyingSource = {}, rawStrategy = {}) {
3848
- if (rawUnderlyingSource === undefined) {
3849
- rawUnderlyingSource = null;
3850
- }
3851
- else {
3852
- assertObject(rawUnderlyingSource, 'First parameter');
3853
- }
3854
- const strategy = convertQueuingStrategy(rawStrategy, 'Second parameter');
3855
- const underlyingSource = convertUnderlyingDefaultOrByteSource(rawUnderlyingSource, 'First parameter');
3856
- InitializeReadableStream(this);
3857
- if (underlyingSource.type === 'bytes') {
3858
- if (strategy.size !== undefined) {
3859
- throw new RangeError('The strategy for a byte stream cannot have a size function');
3860
- }
3861
- const highWaterMark = ExtractHighWaterMark(strategy, 0);
3862
- SetUpReadableByteStreamControllerFromUnderlyingSource(this, underlyingSource, highWaterMark);
3863
- }
3864
- else {
3865
- const sizeAlgorithm = ExtractSizeAlgorithm(strategy);
3866
- const highWaterMark = ExtractHighWaterMark(strategy, 1);
3867
- SetUpReadableStreamDefaultControllerFromUnderlyingSource(this, underlyingSource, highWaterMark, sizeAlgorithm);
3868
- }
3869
- }
3870
- /**
3871
- * Whether or not the readable stream is locked to a {@link ReadableStreamDefaultReader | reader}.
3872
- */
3873
- get locked() {
3874
- if (!IsReadableStream(this)) {
3875
- throw streamBrandCheckException$1('locked');
3876
- }
3877
- return IsReadableStreamLocked(this);
3878
- }
3879
- /**
3880
- * Cancels the stream, signaling a loss of interest in the stream by a consumer.
3881
- *
3882
- * The supplied `reason` argument will be given to the underlying source's {@link UnderlyingSource.cancel | cancel()}
3883
- * method, which might or might not use it.
3884
- */
3885
- cancel(reason = undefined) {
3886
- if (!IsReadableStream(this)) {
3887
- return promiseRejectedWith(streamBrandCheckException$1('cancel'));
3888
- }
3889
- if (IsReadableStreamLocked(this)) {
3890
- return promiseRejectedWith(new TypeError('Cannot cancel a stream that already has a reader'));
3891
- }
3892
- return ReadableStreamCancel(this, reason);
3893
- }
3894
- getReader(rawOptions = undefined) {
3895
- if (!IsReadableStream(this)) {
3896
- throw streamBrandCheckException$1('getReader');
3897
- }
3898
- const options = convertReaderOptions(rawOptions, 'First parameter');
3899
- if (options.mode === undefined) {
3900
- return AcquireReadableStreamDefaultReader(this);
3901
- }
3902
- return AcquireReadableStreamBYOBReader(this);
3903
- }
3904
- pipeThrough(rawTransform, rawOptions = {}) {
3905
- if (!IsReadableStream(this)) {
3906
- throw streamBrandCheckException$1('pipeThrough');
3907
- }
3908
- assertRequiredArgument(rawTransform, 1, 'pipeThrough');
3909
- const transform = convertReadableWritablePair(rawTransform, 'First parameter');
3910
- const options = convertPipeOptions(rawOptions, 'Second parameter');
3911
- if (IsReadableStreamLocked(this)) {
3912
- throw new TypeError('ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream');
3913
- }
3914
- if (IsWritableStreamLocked(transform.writable)) {
3915
- throw new TypeError('ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream');
3916
- }
3917
- const promise = ReadableStreamPipeTo(this, transform.writable, options.preventClose, options.preventAbort, options.preventCancel, options.signal);
3918
- setPromiseIsHandledToTrue(promise);
3919
- return transform.readable;
3920
- }
3921
- pipeTo(destination, rawOptions = {}) {
3922
- if (!IsReadableStream(this)) {
3923
- return promiseRejectedWith(streamBrandCheckException$1('pipeTo'));
3924
- }
3925
- if (destination === undefined) {
3926
- return promiseRejectedWith(`Parameter 1 is required in 'pipeTo'.`);
3927
- }
3928
- if (!IsWritableStream(destination)) {
3929
- return promiseRejectedWith(new TypeError(`ReadableStream.prototype.pipeTo's first argument must be a WritableStream`));
3930
- }
3931
- let options;
3932
- try {
3933
- options = convertPipeOptions(rawOptions, 'Second parameter');
3934
- }
3935
- catch (e) {
3936
- return promiseRejectedWith(e);
3937
- }
3938
- if (IsReadableStreamLocked(this)) {
3939
- return promiseRejectedWith(new TypeError('ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream'));
3940
- }
3941
- if (IsWritableStreamLocked(destination)) {
3942
- return promiseRejectedWith(new TypeError('ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream'));
3943
- }
3944
- return ReadableStreamPipeTo(this, destination, options.preventClose, options.preventAbort, options.preventCancel, options.signal);
3945
- }
3946
- /**
3947
- * Tees this readable stream, returning a two-element array containing the two resulting branches as
3948
- * new {@link ReadableStream} instances.
3949
- *
3950
- * Teeing a stream will lock it, preventing any other consumer from acquiring a reader.
3951
- * To cancel the stream, cancel both of the resulting branches; a composite cancellation reason will then be
3952
- * propagated to the stream's underlying source.
3953
- *
3954
- * Note that the chunks seen in each branch will be the same object. If the chunks are not immutable,
3955
- * this could allow interference between the two branches.
3956
- */
3957
- tee() {
3958
- if (!IsReadableStream(this)) {
3959
- throw streamBrandCheckException$1('tee');
3960
- }
3961
- const branches = ReadableStreamTee(this);
3962
- return CreateArrayFromList(branches);
3963
- }
3964
- values(rawOptions = undefined) {
3965
- if (!IsReadableStream(this)) {
3966
- throw streamBrandCheckException$1('values');
3967
- }
3968
- const options = convertIteratorOptions(rawOptions, 'First parameter');
3969
- return AcquireReadableStreamAsyncIterator(this, options.preventCancel);
3970
- }
3971
- [SymbolAsyncIterator](options) {
3972
- // Stub implementation, overridden below
3973
- return this.values(options);
3974
- }
3975
- /**
3976
- * Creates a new ReadableStream wrapping the provided iterable or async iterable.
3977
- *
3978
- * This can be used to adapt various kinds of objects into a readable stream,
3979
- * such as an array, an async generator, or a Node.js readable stream.
3980
- */
3981
- static from(asyncIterable) {
3982
- return ReadableStreamFrom(asyncIterable);
3983
- }
3984
- }
3985
- Object.defineProperties(ReadableStream, {
3986
- from: { enumerable: true }
3987
- });
3988
- Object.defineProperties(ReadableStream.prototype, {
3989
- cancel: { enumerable: true },
3990
- getReader: { enumerable: true },
3991
- pipeThrough: { enumerable: true },
3992
- pipeTo: { enumerable: true },
3993
- tee: { enumerable: true },
3994
- values: { enumerable: true },
3995
- locked: { enumerable: true }
3996
- });
3997
- setFunctionName(ReadableStream.from, 'from');
3998
- setFunctionName(ReadableStream.prototype.cancel, 'cancel');
3999
- setFunctionName(ReadableStream.prototype.getReader, 'getReader');
4000
- setFunctionName(ReadableStream.prototype.pipeThrough, 'pipeThrough');
4001
- setFunctionName(ReadableStream.prototype.pipeTo, 'pipeTo');
4002
- setFunctionName(ReadableStream.prototype.tee, 'tee');
4003
- setFunctionName(ReadableStream.prototype.values, 'values');
4004
- if (typeof Symbol.toStringTag === 'symbol') {
4005
- Object.defineProperty(ReadableStream.prototype, Symbol.toStringTag, {
4006
- value: 'ReadableStream',
4007
- configurable: true
4008
- });
4009
- }
4010
- Object.defineProperty(ReadableStream.prototype, SymbolAsyncIterator, {
4011
- value: ReadableStream.prototype.values,
4012
- writable: true,
4013
- configurable: true
4014
- });
4015
- // Abstract operations for the ReadableStream.
4016
- // Throws if and only if startAlgorithm throws.
4017
- function CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark = 1, sizeAlgorithm = () => 1) {
4018
- const stream = Object.create(ReadableStream.prototype);
4019
- InitializeReadableStream(stream);
4020
- const controller = Object.create(ReadableStreamDefaultController.prototype);
4021
- SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm);
4022
- return stream;
4023
- }
4024
- // Throws if and only if startAlgorithm throws.
4025
- function CreateReadableByteStream(startAlgorithm, pullAlgorithm, cancelAlgorithm) {
4026
- const stream = Object.create(ReadableStream.prototype);
4027
- InitializeReadableStream(stream);
4028
- const controller = Object.create(ReadableByteStreamController.prototype);
4029
- SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, 0, undefined);
4030
- return stream;
4031
- }
4032
- function InitializeReadableStream(stream) {
4033
- stream._state = 'readable';
4034
- stream._reader = undefined;
4035
- stream._storedError = undefined;
4036
- stream._disturbed = false;
4037
- }
4038
- function IsReadableStream(x) {
4039
- if (!typeIsObject(x)) {
4040
- return false;
4041
- }
4042
- if (!Object.prototype.hasOwnProperty.call(x, '_readableStreamController')) {
4043
- return false;
4044
- }
4045
- return x instanceof ReadableStream;
4046
- }
4047
- function IsReadableStreamLocked(stream) {
4048
- if (stream._reader === undefined) {
4049
- return false;
4050
- }
4051
- return true;
4052
- }
4053
- // ReadableStream API exposed for controllers.
4054
- function ReadableStreamCancel(stream, reason) {
4055
- stream._disturbed = true;
4056
- if (stream._state === 'closed') {
4057
- return promiseResolvedWith(undefined);
4058
- }
4059
- if (stream._state === 'errored') {
4060
- return promiseRejectedWith(stream._storedError);
4061
- }
4062
- ReadableStreamClose(stream);
4063
- const reader = stream._reader;
4064
- if (reader !== undefined && IsReadableStreamBYOBReader(reader)) {
4065
- const readIntoRequests = reader._readIntoRequests;
4066
- reader._readIntoRequests = new SimpleQueue();
4067
- readIntoRequests.forEach(readIntoRequest => {
4068
- readIntoRequest._closeSteps(undefined);
4069
- });
4070
- }
4071
- const sourceCancelPromise = stream._readableStreamController[CancelSteps](reason);
4072
- return transformPromiseWith(sourceCancelPromise, noop);
4073
- }
4074
- function ReadableStreamClose(stream) {
4075
- stream._state = 'closed';
4076
- const reader = stream._reader;
4077
- if (reader === undefined) {
4078
- return;
4079
- }
4080
- defaultReaderClosedPromiseResolve(reader);
4081
- if (IsReadableStreamDefaultReader(reader)) {
4082
- const readRequests = reader._readRequests;
4083
- reader._readRequests = new SimpleQueue();
4084
- readRequests.forEach(readRequest => {
4085
- readRequest._closeSteps();
4086
- });
4087
- }
4088
- }
4089
- function ReadableStreamError(stream, e) {
4090
- stream._state = 'errored';
4091
- stream._storedError = e;
4092
- const reader = stream._reader;
4093
- if (reader === undefined) {
4094
- return;
4095
- }
4096
- defaultReaderClosedPromiseReject(reader, e);
4097
- if (IsReadableStreamDefaultReader(reader)) {
4098
- ReadableStreamDefaultReaderErrorReadRequests(reader, e);
4099
- }
4100
- else {
4101
- ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e);
4102
- }
4103
- }
4104
- // Helper functions for the ReadableStream.
4105
- function streamBrandCheckException$1(name) {
4106
- return new TypeError(`ReadableStream.prototype.${name} can only be used on a ReadableStream`);
4107
- }
4108
-
4109
- function convertQueuingStrategyInit(init, context) {
4110
- assertDictionary(init, context);
4111
- const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;
4112
- assertRequiredField(highWaterMark, 'highWaterMark', 'QueuingStrategyInit');
4113
- return {
4114
- highWaterMark: convertUnrestrictedDouble(highWaterMark)
4115
- };
4116
- }
4117
-
4118
- // The size function must not have a prototype property nor be a constructor
4119
- const byteLengthSizeFunction = (chunk) => {
4120
- return chunk.byteLength;
4121
- };
4122
- setFunctionName(byteLengthSizeFunction, 'size');
4123
- /**
4124
- * A queuing strategy that counts the number of bytes in each chunk.
4125
- *
4126
- * @public
4127
- */
4128
- class ByteLengthQueuingStrategy {
4129
- constructor(options) {
4130
- assertRequiredArgument(options, 1, 'ByteLengthQueuingStrategy');
4131
- options = convertQueuingStrategyInit(options, 'First parameter');
4132
- this._byteLengthQueuingStrategyHighWaterMark = options.highWaterMark;
4133
- }
4134
- /**
4135
- * Returns the high water mark provided to the constructor.
4136
- */
4137
- get highWaterMark() {
4138
- if (!IsByteLengthQueuingStrategy(this)) {
4139
- throw byteLengthBrandCheckException('highWaterMark');
4140
- }
4141
- return this._byteLengthQueuingStrategyHighWaterMark;
4142
- }
4143
- /**
4144
- * Measures the size of `chunk` by returning the value of its `byteLength` property.
4145
- */
4146
- get size() {
4147
- if (!IsByteLengthQueuingStrategy(this)) {
4148
- throw byteLengthBrandCheckException('size');
4149
- }
4150
- return byteLengthSizeFunction;
4151
- }
4152
- }
4153
- Object.defineProperties(ByteLengthQueuingStrategy.prototype, {
4154
- highWaterMark: { enumerable: true },
4155
- size: { enumerable: true }
4156
- });
4157
- if (typeof Symbol.toStringTag === 'symbol') {
4158
- Object.defineProperty(ByteLengthQueuingStrategy.prototype, Symbol.toStringTag, {
4159
- value: 'ByteLengthQueuingStrategy',
4160
- configurable: true
4161
- });
4162
- }
4163
- // Helper functions for the ByteLengthQueuingStrategy.
4164
- function byteLengthBrandCheckException(name) {
4165
- return new TypeError(`ByteLengthQueuingStrategy.prototype.${name} can only be used on a ByteLengthQueuingStrategy`);
4166
- }
4167
- function IsByteLengthQueuingStrategy(x) {
4168
- if (!typeIsObject(x)) {
4169
- return false;
4170
- }
4171
- if (!Object.prototype.hasOwnProperty.call(x, '_byteLengthQueuingStrategyHighWaterMark')) {
4172
- return false;
4173
- }
4174
- return x instanceof ByteLengthQueuingStrategy;
4175
- }
4176
-
4177
- // The size function must not have a prototype property nor be a constructor
4178
- const countSizeFunction = () => {
4179
- return 1;
4180
- };
4181
- setFunctionName(countSizeFunction, 'size');
4182
- /**
4183
- * A queuing strategy that counts the number of chunks.
4184
- *
4185
- * @public
4186
- */
4187
- class CountQueuingStrategy {
4188
- constructor(options) {
4189
- assertRequiredArgument(options, 1, 'CountQueuingStrategy');
4190
- options = convertQueuingStrategyInit(options, 'First parameter');
4191
- this._countQueuingStrategyHighWaterMark = options.highWaterMark;
4192
- }
4193
- /**
4194
- * Returns the high water mark provided to the constructor.
4195
- */
4196
- get highWaterMark() {
4197
- if (!IsCountQueuingStrategy(this)) {
4198
- throw countBrandCheckException('highWaterMark');
4199
- }
4200
- return this._countQueuingStrategyHighWaterMark;
4201
- }
4202
- /**
4203
- * Measures the size of `chunk` by always returning 1.
4204
- * This ensures that the total queue size is a count of the number of chunks in the queue.
4205
- */
4206
- get size() {
4207
- if (!IsCountQueuingStrategy(this)) {
4208
- throw countBrandCheckException('size');
4209
- }
4210
- return countSizeFunction;
4211
- }
4212
- }
4213
- Object.defineProperties(CountQueuingStrategy.prototype, {
4214
- highWaterMark: { enumerable: true },
4215
- size: { enumerable: true }
4216
- });
4217
- if (typeof Symbol.toStringTag === 'symbol') {
4218
- Object.defineProperty(CountQueuingStrategy.prototype, Symbol.toStringTag, {
4219
- value: 'CountQueuingStrategy',
4220
- configurable: true
4221
- });
4222
- }
4223
- // Helper functions for the CountQueuingStrategy.
4224
- function countBrandCheckException(name) {
4225
- return new TypeError(`CountQueuingStrategy.prototype.${name} can only be used on a CountQueuingStrategy`);
4226
- }
4227
- function IsCountQueuingStrategy(x) {
4228
- if (!typeIsObject(x)) {
4229
- return false;
4230
- }
4231
- if (!Object.prototype.hasOwnProperty.call(x, '_countQueuingStrategyHighWaterMark')) {
4232
- return false;
4233
- }
4234
- return x instanceof CountQueuingStrategy;
4235
- }
4236
-
4237
- function convertTransformer(original, context) {
4238
- assertDictionary(original, context);
4239
- const cancel = original === null || original === void 0 ? void 0 : original.cancel;
4240
- const flush = original === null || original === void 0 ? void 0 : original.flush;
4241
- const readableType = original === null || original === void 0 ? void 0 : original.readableType;
4242
- const start = original === null || original === void 0 ? void 0 : original.start;
4243
- const transform = original === null || original === void 0 ? void 0 : original.transform;
4244
- const writableType = original === null || original === void 0 ? void 0 : original.writableType;
4245
- return {
4246
- cancel: cancel === undefined ?
4247
- undefined :
4248
- convertTransformerCancelCallback(cancel, original, `${context} has member 'cancel' that`),
4249
- flush: flush === undefined ?
4250
- undefined :
4251
- convertTransformerFlushCallback(flush, original, `${context} has member 'flush' that`),
4252
- readableType,
4253
- start: start === undefined ?
4254
- undefined :
4255
- convertTransformerStartCallback(start, original, `${context} has member 'start' that`),
4256
- transform: transform === undefined ?
4257
- undefined :
4258
- convertTransformerTransformCallback(transform, original, `${context} has member 'transform' that`),
4259
- writableType
4260
- };
4261
- }
4262
- function convertTransformerFlushCallback(fn, original, context) {
4263
- assertFunction(fn, context);
4264
- return (controller) => promiseCall(fn, original, [controller]);
4265
- }
4266
- function convertTransformerStartCallback(fn, original, context) {
4267
- assertFunction(fn, context);
4268
- return (controller) => reflectCall(fn, original, [controller]);
4269
- }
4270
- function convertTransformerTransformCallback(fn, original, context) {
4271
- assertFunction(fn, context);
4272
- return (chunk, controller) => promiseCall(fn, original, [chunk, controller]);
4273
- }
4274
- function convertTransformerCancelCallback(fn, original, context) {
4275
- assertFunction(fn, context);
4276
- return (reason) => promiseCall(fn, original, [reason]);
4277
- }
4278
-
4279
- // Class TransformStream
4280
- /**
4281
- * A transform stream consists of a pair of streams: a {@link WritableStream | writable stream},
4282
- * known as its writable side, and a {@link ReadableStream | readable stream}, known as its readable side.
4283
- * In a manner specific to the transform stream in question, writes to the writable side result in new data being
4284
- * made available for reading from the readable side.
4285
- *
4286
- * @public
4287
- */
4288
- class TransformStream {
4289
- constructor(rawTransformer = {}, rawWritableStrategy = {}, rawReadableStrategy = {}) {
4290
- if (rawTransformer === undefined) {
4291
- rawTransformer = null;
4292
- }
4293
- const writableStrategy = convertQueuingStrategy(rawWritableStrategy, 'Second parameter');
4294
- const readableStrategy = convertQueuingStrategy(rawReadableStrategy, 'Third parameter');
4295
- const transformer = convertTransformer(rawTransformer, 'First parameter');
4296
- if (transformer.readableType !== undefined) {
4297
- throw new RangeError('Invalid readableType specified');
4298
- }
4299
- if (transformer.writableType !== undefined) {
4300
- throw new RangeError('Invalid writableType specified');
4301
- }
4302
- const readableHighWaterMark = ExtractHighWaterMark(readableStrategy, 0);
4303
- const readableSizeAlgorithm = ExtractSizeAlgorithm(readableStrategy);
4304
- const writableHighWaterMark = ExtractHighWaterMark(writableStrategy, 1);
4305
- const writableSizeAlgorithm = ExtractSizeAlgorithm(writableStrategy);
4306
- let startPromise_resolve;
4307
- const startPromise = newPromise(resolve => {
4308
- startPromise_resolve = resolve;
4309
- });
4310
- InitializeTransformStream(this, startPromise, writableHighWaterMark, writableSizeAlgorithm, readableHighWaterMark, readableSizeAlgorithm);
4311
- SetUpTransformStreamDefaultControllerFromTransformer(this, transformer);
4312
- if (transformer.start !== undefined) {
4313
- startPromise_resolve(transformer.start(this._transformStreamController));
4314
- }
4315
- else {
4316
- startPromise_resolve(undefined);
4317
- }
4318
- }
4319
- /**
4320
- * The readable side of the transform stream.
4321
- */
4322
- get readable() {
4323
- if (!IsTransformStream(this)) {
4324
- throw streamBrandCheckException('readable');
4325
- }
4326
- return this._readable;
4327
- }
4328
- /**
4329
- * The writable side of the transform stream.
4330
- */
4331
- get writable() {
4332
- if (!IsTransformStream(this)) {
4333
- throw streamBrandCheckException('writable');
4334
- }
4335
- return this._writable;
4336
- }
4337
- }
4338
- Object.defineProperties(TransformStream.prototype, {
4339
- readable: { enumerable: true },
4340
- writable: { enumerable: true }
4341
- });
4342
- if (typeof Symbol.toStringTag === 'symbol') {
4343
- Object.defineProperty(TransformStream.prototype, Symbol.toStringTag, {
4344
- value: 'TransformStream',
4345
- configurable: true
4346
- });
4347
- }
4348
- function InitializeTransformStream(stream, startPromise, writableHighWaterMark, writableSizeAlgorithm, readableHighWaterMark, readableSizeAlgorithm) {
4349
- function startAlgorithm() {
4350
- return startPromise;
4351
- }
4352
- function writeAlgorithm(chunk) {
4353
- return TransformStreamDefaultSinkWriteAlgorithm(stream, chunk);
4354
- }
4355
- function abortAlgorithm(reason) {
4356
- return TransformStreamDefaultSinkAbortAlgorithm(stream, reason);
4357
- }
4358
- function closeAlgorithm() {
4359
- return TransformStreamDefaultSinkCloseAlgorithm(stream);
4360
- }
4361
- stream._writable = CreateWritableStream(startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, writableHighWaterMark, writableSizeAlgorithm);
4362
- function pullAlgorithm() {
4363
- return TransformStreamDefaultSourcePullAlgorithm(stream);
4364
- }
4365
- function cancelAlgorithm(reason) {
4366
- return TransformStreamDefaultSourceCancelAlgorithm(stream, reason);
4367
- }
4368
- stream._readable = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, readableHighWaterMark, readableSizeAlgorithm);
4369
- // The [[backpressure]] slot is set to undefined so that it can be initialised by TransformStreamSetBackpressure.
4370
- stream._backpressure = undefined;
4371
- stream._backpressureChangePromise = undefined;
4372
- stream._backpressureChangePromise_resolve = undefined;
4373
- TransformStreamSetBackpressure(stream, true);
4374
- stream._transformStreamController = undefined;
4375
- }
4376
- function IsTransformStream(x) {
4377
- if (!typeIsObject(x)) {
4378
- return false;
4379
- }
4380
- if (!Object.prototype.hasOwnProperty.call(x, '_transformStreamController')) {
4381
- return false;
4382
- }
4383
- return x instanceof TransformStream;
4384
- }
4385
- // This is a no-op if both sides are already errored.
4386
- function TransformStreamError(stream, e) {
4387
- ReadableStreamDefaultControllerError(stream._readable._readableStreamController, e);
4388
- TransformStreamErrorWritableAndUnblockWrite(stream, e);
4389
- }
4390
- function TransformStreamErrorWritableAndUnblockWrite(stream, e) {
4391
- TransformStreamDefaultControllerClearAlgorithms(stream._transformStreamController);
4392
- WritableStreamDefaultControllerErrorIfNeeded(stream._writable._writableStreamController, e);
4393
- TransformStreamUnblockWrite(stream);
4394
- }
4395
- function TransformStreamUnblockWrite(stream) {
4396
- if (stream._backpressure) {
4397
- // Pretend that pull() was called to permit any pending write() calls to complete. TransformStreamSetBackpressure()
4398
- // cannot be called from enqueue() or pull() once the ReadableStream is errored, so this will will be the final time
4399
- // _backpressure is set.
4400
- TransformStreamSetBackpressure(stream, false);
4401
- }
4402
- }
4403
- function TransformStreamSetBackpressure(stream, backpressure) {
4404
- // Passes also when called during construction.
4405
- if (stream._backpressureChangePromise !== undefined) {
4406
- stream._backpressureChangePromise_resolve();
4407
- }
4408
- stream._backpressureChangePromise = newPromise(resolve => {
4409
- stream._backpressureChangePromise_resolve = resolve;
4410
- });
4411
- stream._backpressure = backpressure;
4412
- }
4413
- // Class TransformStreamDefaultController
4414
- /**
4415
- * Allows control of the {@link ReadableStream} and {@link WritableStream} of the associated {@link TransformStream}.
4416
- *
4417
- * @public
4418
- */
4419
- class TransformStreamDefaultController {
4420
- constructor() {
4421
- throw new TypeError('Illegal constructor');
4422
- }
4423
- /**
4424
- * Returns the desired size to fill the readable side’s internal queue. It can be negative, if the queue is over-full.
4425
- */
4426
- get desiredSize() {
4427
- if (!IsTransformStreamDefaultController(this)) {
4428
- throw defaultControllerBrandCheckException('desiredSize');
4429
- }
4430
- const readableController = this._controlledTransformStream._readable._readableStreamController;
4431
- return ReadableStreamDefaultControllerGetDesiredSize(readableController);
4432
- }
4433
- enqueue(chunk = undefined) {
4434
- if (!IsTransformStreamDefaultController(this)) {
4435
- throw defaultControllerBrandCheckException('enqueue');
4436
- }
4437
- TransformStreamDefaultControllerEnqueue(this, chunk);
4438
- }
4439
- /**
4440
- * Errors both the readable side and the writable side of the controlled transform stream, making all future
4441
- * interactions with it fail with the given error `e`. Any chunks queued for transformation will be discarded.
4442
- */
4443
- error(reason = undefined) {
4444
- if (!IsTransformStreamDefaultController(this)) {
4445
- throw defaultControllerBrandCheckException('error');
4446
- }
4447
- TransformStreamDefaultControllerError(this, reason);
4448
- }
4449
- /**
4450
- * Closes the readable side and errors the writable side of the controlled transform stream. This is useful when the
4451
- * transformer only needs to consume a portion of the chunks written to the writable side.
4452
- */
4453
- terminate() {
4454
- if (!IsTransformStreamDefaultController(this)) {
4455
- throw defaultControllerBrandCheckException('terminate');
4456
- }
4457
- TransformStreamDefaultControllerTerminate(this);
4458
- }
4459
- }
4460
- Object.defineProperties(TransformStreamDefaultController.prototype, {
4461
- enqueue: { enumerable: true },
4462
- error: { enumerable: true },
4463
- terminate: { enumerable: true },
4464
- desiredSize: { enumerable: true }
4465
- });
4466
- setFunctionName(TransformStreamDefaultController.prototype.enqueue, 'enqueue');
4467
- setFunctionName(TransformStreamDefaultController.prototype.error, 'error');
4468
- setFunctionName(TransformStreamDefaultController.prototype.terminate, 'terminate');
4469
- if (typeof Symbol.toStringTag === 'symbol') {
4470
- Object.defineProperty(TransformStreamDefaultController.prototype, Symbol.toStringTag, {
4471
- value: 'TransformStreamDefaultController',
4472
- configurable: true
4473
- });
4474
- }
4475
- // Transform Stream Default Controller Abstract Operations
4476
- function IsTransformStreamDefaultController(x) {
4477
- if (!typeIsObject(x)) {
4478
- return false;
4479
- }
4480
- if (!Object.prototype.hasOwnProperty.call(x, '_controlledTransformStream')) {
4481
- return false;
4482
- }
4483
- return x instanceof TransformStreamDefaultController;
4484
- }
4485
- function SetUpTransformStreamDefaultController(stream, controller, transformAlgorithm, flushAlgorithm, cancelAlgorithm) {
4486
- controller._controlledTransformStream = stream;
4487
- stream._transformStreamController = controller;
4488
- controller._transformAlgorithm = transformAlgorithm;
4489
- controller._flushAlgorithm = flushAlgorithm;
4490
- controller._cancelAlgorithm = cancelAlgorithm;
4491
- controller._finishPromise = undefined;
4492
- controller._finishPromise_resolve = undefined;
4493
- controller._finishPromise_reject = undefined;
4494
- }
4495
- function SetUpTransformStreamDefaultControllerFromTransformer(stream, transformer) {
4496
- const controller = Object.create(TransformStreamDefaultController.prototype);
4497
- let transformAlgorithm;
4498
- let flushAlgorithm;
4499
- let cancelAlgorithm;
4500
- if (transformer.transform !== undefined) {
4501
- transformAlgorithm = chunk => transformer.transform(chunk, controller);
4502
- }
4503
- else {
4504
- transformAlgorithm = chunk => {
4505
- try {
4506
- TransformStreamDefaultControllerEnqueue(controller, chunk);
4507
- return promiseResolvedWith(undefined);
4508
- }
4509
- catch (transformResultE) {
4510
- return promiseRejectedWith(transformResultE);
4511
- }
4512
- };
4513
- }
4514
- if (transformer.flush !== undefined) {
4515
- flushAlgorithm = () => transformer.flush(controller);
4516
- }
4517
- else {
4518
- flushAlgorithm = () => promiseResolvedWith(undefined);
4519
- }
4520
- if (transformer.cancel !== undefined) {
4521
- cancelAlgorithm = reason => transformer.cancel(reason);
4522
- }
4523
- else {
4524
- cancelAlgorithm = () => promiseResolvedWith(undefined);
4525
- }
4526
- SetUpTransformStreamDefaultController(stream, controller, transformAlgorithm, flushAlgorithm, cancelAlgorithm);
4527
- }
4528
- function TransformStreamDefaultControllerClearAlgorithms(controller) {
4529
- controller._transformAlgorithm = undefined;
4530
- controller._flushAlgorithm = undefined;
4531
- controller._cancelAlgorithm = undefined;
4532
- }
4533
- function TransformStreamDefaultControllerEnqueue(controller, chunk) {
4534
- const stream = controller._controlledTransformStream;
4535
- const readableController = stream._readable._readableStreamController;
4536
- if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(readableController)) {
4537
- throw new TypeError('Readable side is not in a state that permits enqueue');
4538
- }
4539
- // We throttle transform invocations based on the backpressure of the ReadableStream, but we still
4540
- // accept TransformStreamDefaultControllerEnqueue() calls.
4541
- try {
4542
- ReadableStreamDefaultControllerEnqueue(readableController, chunk);
4543
- }
4544
- catch (e) {
4545
- // This happens when readableStrategy.size() throws.
4546
- TransformStreamErrorWritableAndUnblockWrite(stream, e);
4547
- throw stream._readable._storedError;
4548
- }
4549
- const backpressure = ReadableStreamDefaultControllerHasBackpressure(readableController);
4550
- if (backpressure !== stream._backpressure) {
4551
- TransformStreamSetBackpressure(stream, true);
4552
- }
4553
- }
4554
- function TransformStreamDefaultControllerError(controller, e) {
4555
- TransformStreamError(controller._controlledTransformStream, e);
4556
- }
4557
- function TransformStreamDefaultControllerPerformTransform(controller, chunk) {
4558
- const transformPromise = controller._transformAlgorithm(chunk);
4559
- return transformPromiseWith(transformPromise, undefined, r => {
4560
- TransformStreamError(controller._controlledTransformStream, r);
4561
- throw r;
4562
- });
4563
- }
4564
- function TransformStreamDefaultControllerTerminate(controller) {
4565
- const stream = controller._controlledTransformStream;
4566
- const readableController = stream._readable._readableStreamController;
4567
- ReadableStreamDefaultControllerClose(readableController);
4568
- const error = new TypeError('TransformStream terminated');
4569
- TransformStreamErrorWritableAndUnblockWrite(stream, error);
4570
- }
4571
- // TransformStreamDefaultSink Algorithms
4572
- function TransformStreamDefaultSinkWriteAlgorithm(stream, chunk) {
4573
- const controller = stream._transformStreamController;
4574
- if (stream._backpressure) {
4575
- const backpressureChangePromise = stream._backpressureChangePromise;
4576
- return transformPromiseWith(backpressureChangePromise, () => {
4577
- const writable = stream._writable;
4578
- const state = writable._state;
4579
- if (state === 'erroring') {
4580
- throw writable._storedError;
4581
- }
4582
- return TransformStreamDefaultControllerPerformTransform(controller, chunk);
4583
- });
4584
- }
4585
- return TransformStreamDefaultControllerPerformTransform(controller, chunk);
4586
- }
4587
- function TransformStreamDefaultSinkAbortAlgorithm(stream, reason) {
4588
- const controller = stream._transformStreamController;
4589
- if (controller._finishPromise !== undefined) {
4590
- return controller._finishPromise;
4591
- }
4592
- // stream._readable cannot change after construction, so caching it across a call to user code is safe.
4593
- const readable = stream._readable;
4594
- // Assign the _finishPromise now so that if _cancelAlgorithm calls readable.cancel() internally,
4595
- // we don't run the _cancelAlgorithm again.
4596
- controller._finishPromise = newPromise((resolve, reject) => {
4597
- controller._finishPromise_resolve = resolve;
4598
- controller._finishPromise_reject = reject;
4599
- });
4600
- const cancelPromise = controller._cancelAlgorithm(reason);
4601
- TransformStreamDefaultControllerClearAlgorithms(controller);
4602
- uponPromise(cancelPromise, () => {
4603
- if (readable._state === 'errored') {
4604
- defaultControllerFinishPromiseReject(controller, readable._storedError);
4605
- }
4606
- else {
4607
- ReadableStreamDefaultControllerError(readable._readableStreamController, reason);
4608
- defaultControllerFinishPromiseResolve(controller);
4609
- }
4610
- return null;
4611
- }, r => {
4612
- ReadableStreamDefaultControllerError(readable._readableStreamController, r);
4613
- defaultControllerFinishPromiseReject(controller, r);
4614
- return null;
4615
- });
4616
- return controller._finishPromise;
4617
- }
4618
- function TransformStreamDefaultSinkCloseAlgorithm(stream) {
4619
- const controller = stream._transformStreamController;
4620
- if (controller._finishPromise !== undefined) {
4621
- return controller._finishPromise;
4622
- }
4623
- // stream._readable cannot change after construction, so caching it across a call to user code is safe.
4624
- const readable = stream._readable;
4625
- // Assign the _finishPromise now so that if _flushAlgorithm calls readable.cancel() internally,
4626
- // we don't also run the _cancelAlgorithm.
4627
- controller._finishPromise = newPromise((resolve, reject) => {
4628
- controller._finishPromise_resolve = resolve;
4629
- controller._finishPromise_reject = reject;
4630
- });
4631
- const flushPromise = controller._flushAlgorithm();
4632
- TransformStreamDefaultControllerClearAlgorithms(controller);
4633
- uponPromise(flushPromise, () => {
4634
- if (readable._state === 'errored') {
4635
- defaultControllerFinishPromiseReject(controller, readable._storedError);
4636
- }
4637
- else {
4638
- ReadableStreamDefaultControllerClose(readable._readableStreamController);
4639
- defaultControllerFinishPromiseResolve(controller);
4640
- }
4641
- return null;
4642
- }, r => {
4643
- ReadableStreamDefaultControllerError(readable._readableStreamController, r);
4644
- defaultControllerFinishPromiseReject(controller, r);
4645
- return null;
4646
- });
4647
- return controller._finishPromise;
4648
- }
4649
- // TransformStreamDefaultSource Algorithms
4650
- function TransformStreamDefaultSourcePullAlgorithm(stream) {
4651
- // Invariant. Enforced by the promises returned by start() and pull().
4652
- TransformStreamSetBackpressure(stream, false);
4653
- // Prevent the next pull() call until there is backpressure.
4654
- return stream._backpressureChangePromise;
4655
- }
4656
- function TransformStreamDefaultSourceCancelAlgorithm(stream, reason) {
4657
- const controller = stream._transformStreamController;
4658
- if (controller._finishPromise !== undefined) {
4659
- return controller._finishPromise;
4660
- }
4661
- // stream._writable cannot change after construction, so caching it across a call to user code is safe.
4662
- const writable = stream._writable;
4663
- // Assign the _finishPromise now so that if _flushAlgorithm calls writable.abort() or
4664
- // writable.cancel() internally, we don't run the _cancelAlgorithm again, or also run the
4665
- // _flushAlgorithm.
4666
- controller._finishPromise = newPromise((resolve, reject) => {
4667
- controller._finishPromise_resolve = resolve;
4668
- controller._finishPromise_reject = reject;
4669
- });
4670
- const cancelPromise = controller._cancelAlgorithm(reason);
4671
- TransformStreamDefaultControllerClearAlgorithms(controller);
4672
- uponPromise(cancelPromise, () => {
4673
- if (writable._state === 'errored') {
4674
- defaultControllerFinishPromiseReject(controller, writable._storedError);
4675
- }
4676
- else {
4677
- WritableStreamDefaultControllerErrorIfNeeded(writable._writableStreamController, reason);
4678
- TransformStreamUnblockWrite(stream);
4679
- defaultControllerFinishPromiseResolve(controller);
4680
- }
4681
- return null;
4682
- }, r => {
4683
- WritableStreamDefaultControllerErrorIfNeeded(writable._writableStreamController, r);
4684
- TransformStreamUnblockWrite(stream);
4685
- defaultControllerFinishPromiseReject(controller, r);
4686
- return null;
4687
- });
4688
- return controller._finishPromise;
4689
- }
4690
- // Helper functions for the TransformStreamDefaultController.
4691
- function defaultControllerBrandCheckException(name) {
4692
- return new TypeError(`TransformStreamDefaultController.prototype.${name} can only be used on a TransformStreamDefaultController`);
4693
- }
4694
- function defaultControllerFinishPromiseResolve(controller) {
4695
- if (controller._finishPromise_resolve === undefined) {
4696
- return;
4697
- }
4698
- controller._finishPromise_resolve();
4699
- controller._finishPromise_resolve = undefined;
4700
- controller._finishPromise_reject = undefined;
4701
- }
4702
- function defaultControllerFinishPromiseReject(controller, reason) {
4703
- if (controller._finishPromise_reject === undefined) {
4704
- return;
4705
- }
4706
- setPromiseIsHandledToTrue(controller._finishPromise);
4707
- controller._finishPromise_reject(reason);
4708
- controller._finishPromise_resolve = undefined;
4709
- controller._finishPromise_reject = undefined;
4710
- }
4711
- // Helper functions for the TransformStream.
4712
- function streamBrandCheckException(name) {
4713
- return new TypeError(`TransformStream.prototype.${name} can only be used on a TransformStream`);
4714
- }
4715
-
4716
- export { ByteLengthQueuingStrategy, CountQueuingStrategy, ReadableByteStreamController, ReadableStream, ReadableStreamBYOBReader, ReadableStreamBYOBRequest, ReadableStreamDefaultController, ReadableStreamDefaultReader, TransformStream, TransformStreamDefaultController, WritableStream, WritableStreamDefaultController, WritableStreamDefaultWriter };
4717
- //# sourceMappingURL=ponyfill.es2018.mjs.map