nodejs-insta-private-api-mqtt 1.3.24 → 1.3.26

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 (3543) hide show
  1. package/dist/mqttot/mqttot.client.js +23 -5
  2. package/dist/realtime/commands/commands.js +17 -16
  3. package/dist/realtime/commands/{enhanced.direct.commands.js → ehnanced.direct.commands.js} +18 -18
  4. package/dist/realtime/realtime.client.js +135 -10
  5. package/package.json +1 -1
  6. package/dist/node_modules/.package-lock.json +0 -1158
  7. package/dist/node_modules/@babel/runtime/LICENSE +0 -22
  8. package/dist/node_modules/@babel/runtime/README.md +0 -19
  9. package/dist/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -4
  10. package/dist/node_modules/@babel/runtime/helpers/OverloadYield.js +0 -4
  11. package/dist/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -9
  12. package/dist/node_modules/@babel/runtime/helpers/applyDecs.js +0 -236
  13. package/dist/node_modules/@babel/runtime/helpers/applyDecs2203.js +0 -184
  14. package/dist/node_modules/@babel/runtime/helpers/applyDecs2203R.js +0 -191
  15. package/dist/node_modules/@babel/runtime/helpers/applyDecs2301.js +0 -222
  16. package/dist/node_modules/@babel/runtime/helpers/applyDecs2305.js +0 -133
  17. package/dist/node_modules/@babel/runtime/helpers/applyDecs2311.js +0 -124
  18. package/dist/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
  19. package/dist/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
  20. package/dist/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
  21. package/dist/node_modules/@babel/runtime/helpers/assertClassBrand.js +0 -5
  22. package/dist/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
  23. package/dist/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -24
  24. package/dist/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -45
  25. package/dist/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -26
  26. package/dist/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -5
  27. package/dist/node_modules/@babel/runtime/helpers/callSuper.js +0 -7
  28. package/dist/node_modules/@babel/runtime/helpers/checkInRHS.js +0 -6
  29. package/dist/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -4
  30. package/dist/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -10
  31. package/dist/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -4
  32. package/dist/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -7
  33. package/dist/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
  34. package/dist/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -5
  35. package/dist/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -4
  36. package/dist/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -5
  37. package/dist/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -4
  38. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -7
  39. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -7
  40. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +0 -5
  41. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -5
  42. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -5
  43. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -5
  44. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -7
  45. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +0 -5
  46. package/dist/node_modules/@babel/runtime/helpers/classPrivateGetter.js +0 -5
  47. package/dist/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -5
  48. package/dist/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -5
  49. package/dist/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -4
  50. package/dist/node_modules/@babel/runtime/helpers/classPrivateSetter.js +0 -5
  51. package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -7
  52. package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -7
  53. package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -7
  54. package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -5
  55. package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -4
  56. package/dist/node_modules/@babel/runtime/helpers/construct.js +0 -10
  57. package/dist/node_modules/@babel/runtime/helpers/createClass.js +0 -13
  58. package/dist/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -50
  59. package/dist/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -19
  60. package/dist/node_modules/@babel/runtime/helpers/createSuper.js +0 -16
  61. package/dist/node_modules/@babel/runtime/helpers/decorate.js +0 -250
  62. package/dist/node_modules/@babel/runtime/helpers/defaults.js +0 -9
  63. package/dist/node_modules/@babel/runtime/helpers/defineAccessor.js +0 -8
  64. package/dist/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -12
  65. package/dist/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
  66. package/dist/node_modules/@babel/runtime/helpers/dispose.js +0 -28
  67. package/dist/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -4
  68. package/dist/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +0 -4
  69. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -9
  70. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -236
  71. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +0 -184
  72. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +0 -191
  73. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +0 -222
  74. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +0 -133
  75. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +0 -124
  76. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -6
  77. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -4
  78. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -5
  79. package/dist/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +0 -5
  80. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -5
  81. package/dist/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -24
  82. package/dist/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -45
  83. package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -26
  84. package/dist/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -5
  85. package/dist/node_modules/@babel/runtime/helpers/esm/callSuper.js +0 -7
  86. package/dist/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +0 -6
  87. package/dist/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -4
  88. package/dist/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -10
  89. package/dist/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -4
  90. package/dist/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -7
  91. package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -4
  92. package/dist/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  93. package/dist/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -4
  94. package/dist/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -5
  95. package/dist/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -4
  96. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -7
  97. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -7
  98. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +0 -5
  99. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  100. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -5
  101. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -5
  102. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  103. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +0 -5
  104. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +0 -5
  105. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -5
  106. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  107. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -4
  108. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +0 -5
  109. package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -7
  110. package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -7
  111. package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -7
  112. package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  113. package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -4
  114. package/dist/node_modules/@babel/runtime/helpers/esm/construct.js +0 -10
  115. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -13
  116. package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -50
  117. package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -19
  118. package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -16
  119. package/dist/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -250
  120. package/dist/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -9
  121. package/dist/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +0 -8
  122. package/dist/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -12
  123. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -10
  124. package/dist/node_modules/@babel/runtime/helpers/esm/dispose.js +0 -28
  125. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -10
  126. package/dist/node_modules/@babel/runtime/helpers/esm/get.js +0 -11
  127. package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  128. package/dist/node_modules/@babel/runtime/helpers/esm/identity.js +0 -4
  129. package/dist/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +0 -27
  130. package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -14
  131. package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -5
  132. package/dist/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  133. package/dist/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -4
  134. package/dist/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -4
  135. package/dist/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -6
  136. package/dist/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -22
  137. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -8
  138. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -9
  139. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -4
  140. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -28
  141. package/dist/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -22
  142. package/dist/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  143. package/dist/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -4
  144. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -4
  145. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -4
  146. package/dist/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +0 -4
  147. package/dist/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -4
  148. package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -14
  149. package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -23
  150. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
  151. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -10
  152. package/dist/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  153. package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -8
  154. package/dist/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -4
  155. package/dist/node_modules/@babel/runtime/helpers/esm/regenerator.js +0 -89
  156. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +0 -8
  157. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +0 -6
  158. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -33
  159. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +0 -22
  160. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +0 -10
  161. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -77
  162. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +0 -19
  163. package/dist/node_modules/@babel/runtime/helpers/esm/set.js +0 -22
  164. package/dist/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +0 -12
  165. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -6
  166. package/dist/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  167. package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -8
  168. package/dist/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -6
  169. package/dist/node_modules/@babel/runtime/helpers/esm/superPropGet.js +0 -9
  170. package/dist/node_modules/@babel/runtime/helpers/esm/superPropSet.js +0 -6
  171. package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -8
  172. package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -4
  173. package/dist/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -4
  174. package/dist/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -6
  175. package/dist/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -2
  176. package/dist/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -8
  177. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -8
  178. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -12
  179. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -7
  180. package/dist/node_modules/@babel/runtime/helpers/esm/toSetter.js +0 -10
  181. package/dist/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +0 -6
  182. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -10
  183. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  184. package/dist/node_modules/@babel/runtime/helpers/esm/using.js +0 -12
  185. package/dist/node_modules/@babel/runtime/helpers/esm/usingCtx.js +0 -59
  186. package/dist/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -69
  187. package/dist/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -27
  188. package/dist/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -52
  189. package/dist/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -4
  190. package/dist/node_modules/@babel/runtime/helpers/extends.js +0 -10
  191. package/dist/node_modules/@babel/runtime/helpers/get.js +0 -11
  192. package/dist/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
  193. package/dist/node_modules/@babel/runtime/helpers/identity.js +0 -4
  194. package/dist/node_modules/@babel/runtime/helpers/importDeferProxy.js +0 -27
  195. package/dist/node_modules/@babel/runtime/helpers/inherits.js +0 -14
  196. package/dist/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -5
  197. package/dist/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -9
  198. package/dist/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -4
  199. package/dist/node_modules/@babel/runtime/helpers/instanceof.js +0 -4
  200. package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
  201. package/dist/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -22
  202. package/dist/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -8
  203. package/dist/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -9
  204. package/dist/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
  205. package/dist/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
  206. package/dist/node_modules/@babel/runtime/helpers/jsx.js +0 -22
  207. package/dist/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -9
  208. package/dist/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -4
  209. package/dist/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
  210. package/dist/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
  211. package/dist/node_modules/@babel/runtime/helpers/nullishReceiverError.js +0 -4
  212. package/dist/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -4
  213. package/dist/node_modules/@babel/runtime/helpers/objectSpread.js +0 -14
  214. package/dist/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -23
  215. package/dist/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -13
  216. package/dist/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -10
  217. package/dist/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
  218. package/dist/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -4
  219. package/dist/node_modules/@babel/runtime/helpers/regenerator.js +0 -89
  220. package/dist/node_modules/@babel/runtime/helpers/regeneratorAsync.js +0 -8
  221. package/dist/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +0 -6
  222. package/dist/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +0 -33
  223. package/dist/node_modules/@babel/runtime/helpers/regeneratorDefine.js +0 -22
  224. package/dist/node_modules/@babel/runtime/helpers/regeneratorKeys.js +0 -10
  225. package/dist/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -77
  226. package/dist/node_modules/@babel/runtime/helpers/regeneratorValues.js +0 -19
  227. package/dist/node_modules/@babel/runtime/helpers/set.js +0 -22
  228. package/dist/node_modules/@babel/runtime/helpers/setFunctionName.js +0 -12
  229. package/dist/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
  230. package/dist/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -7
  231. package/dist/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
  232. package/dist/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
  233. package/dist/node_modules/@babel/runtime/helpers/superPropGet.js +0 -9
  234. package/dist/node_modules/@babel/runtime/helpers/superPropSet.js +0 -6
  235. package/dist/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -8
  236. package/dist/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -4
  237. package/dist/node_modules/@babel/runtime/helpers/tdz.js +0 -4
  238. package/dist/node_modules/@babel/runtime/helpers/temporalRef.js +0 -6
  239. package/dist/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -2
  240. package/dist/node_modules/@babel/runtime/helpers/toArray.js +0 -8
  241. package/dist/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
  242. package/dist/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
  243. package/dist/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
  244. package/dist/node_modules/@babel/runtime/helpers/toSetter.js +0 -10
  245. package/dist/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +0 -6
  246. package/dist/node_modules/@babel/runtime/helpers/typeof.js +0 -10
  247. package/dist/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
  248. package/dist/node_modules/@babel/runtime/helpers/using.js +0 -12
  249. package/dist/node_modules/@babel/runtime/helpers/usingCtx.js +0 -59
  250. package/dist/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -69
  251. package/dist/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -27
  252. package/dist/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -52
  253. package/dist/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -4
  254. package/dist/node_modules/@babel/runtime/package.json +0 -1107
  255. package/dist/node_modules/@babel/runtime/regenerator/index.js +0 -15
  256. package/dist/node_modules/@protobufjs/aspromise/LICENSE +0 -26
  257. package/dist/node_modules/@protobufjs/aspromise/README.md +0 -13
  258. package/dist/node_modules/@protobufjs/aspromise/index.d.ts +0 -13
  259. package/dist/node_modules/@protobufjs/aspromise/index.js +0 -52
  260. package/dist/node_modules/@protobufjs/aspromise/package.json +0 -21
  261. package/dist/node_modules/@protobufjs/aspromise/tests/index.js +0 -130
  262. package/dist/node_modules/@protobufjs/base64/LICENSE +0 -26
  263. package/dist/node_modules/@protobufjs/base64/README.md +0 -19
  264. package/dist/node_modules/@protobufjs/base64/index.d.ts +0 -32
  265. package/dist/node_modules/@protobufjs/base64/index.js +0 -139
  266. package/dist/node_modules/@protobufjs/base64/package.json +0 -21
  267. package/dist/node_modules/@protobufjs/base64/tests/index.js +0 -46
  268. package/dist/node_modules/@protobufjs/codegen/LICENSE +0 -26
  269. package/dist/node_modules/@protobufjs/codegen/README.md +0 -49
  270. package/dist/node_modules/@protobufjs/codegen/index.d.ts +0 -31
  271. package/dist/node_modules/@protobufjs/codegen/index.js +0 -99
  272. package/dist/node_modules/@protobufjs/codegen/package.json +0 -13
  273. package/dist/node_modules/@protobufjs/codegen/tests/index.js +0 -13
  274. package/dist/node_modules/@protobufjs/eventemitter/LICENSE +0 -26
  275. package/dist/node_modules/@protobufjs/eventemitter/README.md +0 -22
  276. package/dist/node_modules/@protobufjs/eventemitter/index.d.ts +0 -43
  277. package/dist/node_modules/@protobufjs/eventemitter/index.js +0 -76
  278. package/dist/node_modules/@protobufjs/eventemitter/package.json +0 -21
  279. package/dist/node_modules/@protobufjs/eventemitter/tests/index.js +0 -47
  280. package/dist/node_modules/@protobufjs/fetch/LICENSE +0 -26
  281. package/dist/node_modules/@protobufjs/fetch/README.md +0 -13
  282. package/dist/node_modules/@protobufjs/fetch/index.d.ts +0 -56
  283. package/dist/node_modules/@protobufjs/fetch/index.js +0 -115
  284. package/dist/node_modules/@protobufjs/fetch/package.json +0 -25
  285. package/dist/node_modules/@protobufjs/fetch/tests/index.js +0 -16
  286. package/dist/node_modules/@protobufjs/float/LICENSE +0 -26
  287. package/dist/node_modules/@protobufjs/float/README.md +0 -102
  288. package/dist/node_modules/@protobufjs/float/bench/index.js +0 -87
  289. package/dist/node_modules/@protobufjs/float/bench/suite.js +0 -46
  290. package/dist/node_modules/@protobufjs/float/index.d.ts +0 -83
  291. package/dist/node_modules/@protobufjs/float/index.js +0 -335
  292. package/dist/node_modules/@protobufjs/float/package.json +0 -26
  293. package/dist/node_modules/@protobufjs/float/tests/index.js +0 -100
  294. package/dist/node_modules/@protobufjs/inquire/LICENSE +0 -26
  295. package/dist/node_modules/@protobufjs/inquire/README.md +0 -13
  296. package/dist/node_modules/@protobufjs/inquire/index.d.ts +0 -9
  297. package/dist/node_modules/@protobufjs/inquire/index.js +0 -17
  298. package/dist/node_modules/@protobufjs/inquire/package.json +0 -21
  299. package/dist/node_modules/@protobufjs/inquire/tests/data/array.js +0 -1
  300. package/dist/node_modules/@protobufjs/inquire/tests/data/emptyArray.js +0 -1
  301. package/dist/node_modules/@protobufjs/inquire/tests/data/emptyObject.js +0 -1
  302. package/dist/node_modules/@protobufjs/inquire/tests/data/object.js +0 -1
  303. package/dist/node_modules/@protobufjs/inquire/tests/index.js +0 -20
  304. package/dist/node_modules/@protobufjs/path/LICENSE +0 -26
  305. package/dist/node_modules/@protobufjs/path/README.md +0 -19
  306. package/dist/node_modules/@protobufjs/path/index.d.ts +0 -22
  307. package/dist/node_modules/@protobufjs/path/index.js +0 -65
  308. package/dist/node_modules/@protobufjs/path/package.json +0 -21
  309. package/dist/node_modules/@protobufjs/path/tests/index.js +0 -60
  310. package/dist/node_modules/@protobufjs/pool/LICENSE +0 -26
  311. package/dist/node_modules/@protobufjs/pool/README.md +0 -13
  312. package/dist/node_modules/@protobufjs/pool/index.d.ts +0 -32
  313. package/dist/node_modules/@protobufjs/pool/index.js +0 -48
  314. package/dist/node_modules/@protobufjs/pool/package.json +0 -21
  315. package/dist/node_modules/@protobufjs/pool/tests/index.js +0 -33
  316. package/dist/node_modules/@protobufjs/utf8/LICENSE +0 -26
  317. package/dist/node_modules/@protobufjs/utf8/README.md +0 -20
  318. package/dist/node_modules/@protobufjs/utf8/index.d.ts +0 -24
  319. package/dist/node_modules/@protobufjs/utf8/index.js +0 -105
  320. package/dist/node_modules/@protobufjs/utf8/package.json +0 -21
  321. package/dist/node_modules/@protobufjs/utf8/tests/data/utf8.txt +0 -216
  322. package/dist/node_modules/@protobufjs/utf8/tests/index.js +0 -57
  323. package/dist/node_modules/@types/node/LICENSE +0 -21
  324. package/dist/node_modules/@types/node/README.md +0 -15
  325. package/dist/node_modules/@types/node/assert/strict.d.ts +0 -105
  326. package/dist/node_modules/@types/node/assert.d.ts +0 -955
  327. package/dist/node_modules/@types/node/async_hooks.d.ts +0 -623
  328. package/dist/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  329. package/dist/node_modules/@types/node/buffer.d.ts +0 -1810
  330. package/dist/node_modules/@types/node/child_process.d.ts +0 -1428
  331. package/dist/node_modules/@types/node/cluster.d.ts +0 -486
  332. package/dist/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  333. package/dist/node_modules/@types/node/console.d.ts +0 -151
  334. package/dist/node_modules/@types/node/constants.d.ts +0 -20
  335. package/dist/node_modules/@types/node/crypto.d.ts +0 -4065
  336. package/dist/node_modules/@types/node/dgram.d.ts +0 -564
  337. package/dist/node_modules/@types/node/diagnostics_channel.d.ts +0 -576
  338. package/dist/node_modules/@types/node/dns/promises.d.ts +0 -503
  339. package/dist/node_modules/@types/node/dns.d.ts +0 -922
  340. package/dist/node_modules/@types/node/domain.d.ts +0 -166
  341. package/dist/node_modules/@types/node/events.d.ts +0 -1054
  342. package/dist/node_modules/@types/node/fs/promises.d.ts +0 -1329
  343. package/dist/node_modules/@types/node/fs.d.ts +0 -4676
  344. package/dist/node_modules/@types/node/globals.d.ts +0 -150
  345. package/dist/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  346. package/dist/node_modules/@types/node/http.d.ts +0 -2143
  347. package/dist/node_modules/@types/node/http2.d.ts +0 -2480
  348. package/dist/node_modules/@types/node/https.d.ts +0 -399
  349. package/dist/node_modules/@types/node/index.d.ts +0 -115
  350. package/dist/node_modules/@types/node/inspector/promises.d.ts +0 -41
  351. package/dist/node_modules/@types/node/inspector.d.ts +0 -224
  352. package/dist/node_modules/@types/node/inspector.generated.d.ts +0 -4226
  353. package/dist/node_modules/@types/node/module.d.ts +0 -819
  354. package/dist/node_modules/@types/node/net.d.ts +0 -933
  355. package/dist/node_modules/@types/node/os.d.ts +0 -507
  356. package/dist/node_modules/@types/node/package.json +0 -155
  357. package/dist/node_modules/@types/node/path/posix.d.ts +0 -8
  358. package/dist/node_modules/@types/node/path/win32.d.ts +0 -8
  359. package/dist/node_modules/@types/node/path.d.ts +0 -187
  360. package/dist/node_modules/@types/node/perf_hooks.d.ts +0 -621
  361. package/dist/node_modules/@types/node/process.d.ts +0 -2111
  362. package/dist/node_modules/@types/node/punycode.d.ts +0 -117
  363. package/dist/node_modules/@types/node/querystring.d.ts +0 -152
  364. package/dist/node_modules/@types/node/quic.d.ts +0 -910
  365. package/dist/node_modules/@types/node/readline/promises.d.ts +0 -161
  366. package/dist/node_modules/@types/node/readline.d.ts +0 -541
  367. package/dist/node_modules/@types/node/repl.d.ts +0 -415
  368. package/dist/node_modules/@types/node/sea.d.ts +0 -162
  369. package/dist/node_modules/@types/node/sqlite.d.ts +0 -937
  370. package/dist/node_modules/@types/node/stream/consumers.d.ts +0 -38
  371. package/dist/node_modules/@types/node/stream/promises.d.ts +0 -211
  372. package/dist/node_modules/@types/node/stream/web.d.ts +0 -296
  373. package/dist/node_modules/@types/node/stream.d.ts +0 -1760
  374. package/dist/node_modules/@types/node/string_decoder.d.ts +0 -67
  375. package/dist/node_modules/@types/node/test/reporters.d.ts +0 -96
  376. package/dist/node_modules/@types/node/test.d.ts +0 -2239
  377. package/dist/node_modules/@types/node/timers/promises.d.ts +0 -108
  378. package/dist/node_modules/@types/node/timers.d.ts +0 -159
  379. package/dist/node_modules/@types/node/tls.d.ts +0 -1198
  380. package/dist/node_modules/@types/node/trace_events.d.ts +0 -197
  381. package/dist/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  382. package/dist/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  383. package/dist/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  384. package/dist/node_modules/@types/node/ts5.6/index.d.ts +0 -117
  385. package/dist/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  386. package/dist/node_modules/@types/node/ts5.7/index.d.ts +0 -117
  387. package/dist/node_modules/@types/node/tty.d.ts +0 -250
  388. package/dist/node_modules/@types/node/url.d.ts +0 -519
  389. package/dist/node_modules/@types/node/util/types.d.ts +0 -558
  390. package/dist/node_modules/@types/node/util.d.ts +0 -1653
  391. package/dist/node_modules/@types/node/v8.d.ts +0 -979
  392. package/dist/node_modules/@types/node/vm.d.ts +0 -1180
  393. package/dist/node_modules/@types/node/wasi.d.ts +0 -202
  394. package/dist/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  395. package/dist/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  396. package/dist/node_modules/@types/node/web-globals/console.d.ts +0 -9
  397. package/dist/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  398. package/dist/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  399. package/dist/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  400. package/dist/node_modules/@types/node/web-globals/events.d.ts +0 -106
  401. package/dist/node_modules/@types/node/web-globals/fetch.d.ts +0 -54
  402. package/dist/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  403. package/dist/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  404. package/dist/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  405. package/dist/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  406. package/dist/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  407. package/dist/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  408. package/dist/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  409. package/dist/node_modules/@types/node/web-globals/url.d.ts +0 -24
  410. package/dist/node_modules/@types/node/worker_threads.d.ts +0 -717
  411. package/dist/node_modules/@types/node/zlib.d.ts +0 -618
  412. package/dist/node_modules/@types/readable-stream/LICENSE +0 -21
  413. package/dist/node_modules/@types/readable-stream/README.md +0 -15
  414. package/dist/node_modules/@types/readable-stream/index.d.ts +0 -686
  415. package/dist/node_modules/@types/readable-stream/package.json +0 -38
  416. package/dist/node_modules/@types/ws/LICENSE +0 -21
  417. package/dist/node_modules/@types/ws/README.md +0 -15
  418. package/dist/node_modules/@types/ws/index.d.mts +0 -451
  419. package/dist/node_modules/@types/ws/index.d.ts +0 -445
  420. package/dist/node_modules/@types/ws/package.json +0 -72
  421. package/dist/node_modules/abort-controller/LICENSE +0 -21
  422. package/dist/node_modules/abort-controller/README.md +0 -98
  423. package/dist/node_modules/abort-controller/browser.js +0 -13
  424. package/dist/node_modules/abort-controller/browser.mjs +0 -11
  425. package/dist/node_modules/abort-controller/dist/abort-controller.d.ts +0 -43
  426. package/dist/node_modules/abort-controller/dist/abort-controller.js +0 -127
  427. package/dist/node_modules/abort-controller/dist/abort-controller.js.map +0 -1
  428. package/dist/node_modules/abort-controller/dist/abort-controller.mjs +0 -118
  429. package/dist/node_modules/abort-controller/dist/abort-controller.mjs.map +0 -1
  430. package/dist/node_modules/abort-controller/dist/abort-controller.umd.js +0 -5
  431. package/dist/node_modules/abort-controller/dist/abort-controller.umd.js.map +0 -1
  432. package/dist/node_modules/abort-controller/package.json +0 -97
  433. package/dist/node_modules/abort-controller/polyfill.js +0 -21
  434. package/dist/node_modules/abort-controller/polyfill.mjs +0 -19
  435. package/dist/node_modules/asynckit/LICENSE +0 -21
  436. package/dist/node_modules/asynckit/README.md +0 -233
  437. package/dist/node_modules/asynckit/bench.js +0 -76
  438. package/dist/node_modules/asynckit/index.js +0 -6
  439. package/dist/node_modules/asynckit/lib/abort.js +0 -29
  440. package/dist/node_modules/asynckit/lib/async.js +0 -34
  441. package/dist/node_modules/asynckit/lib/defer.js +0 -26
  442. package/dist/node_modules/asynckit/lib/iterate.js +0 -75
  443. package/dist/node_modules/asynckit/lib/readable_asynckit.js +0 -91
  444. package/dist/node_modules/asynckit/lib/readable_parallel.js +0 -25
  445. package/dist/node_modules/asynckit/lib/readable_serial.js +0 -25
  446. package/dist/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
  447. package/dist/node_modules/asynckit/lib/state.js +0 -37
  448. package/dist/node_modules/asynckit/lib/streamify.js +0 -141
  449. package/dist/node_modules/asynckit/lib/terminator.js +0 -29
  450. package/dist/node_modules/asynckit/package.json +0 -63
  451. package/dist/node_modules/asynckit/parallel.js +0 -43
  452. package/dist/node_modules/asynckit/serial.js +0 -17
  453. package/dist/node_modules/asynckit/serialOrdered.js +0 -75
  454. package/dist/node_modules/asynckit/stream.js +0 -21
  455. package/dist/node_modules/axios/CHANGELOG.md +0 -1359
  456. package/dist/node_modules/axios/LICENSE +0 -7
  457. package/dist/node_modules/axios/MIGRATION_GUIDE.md +0 -3
  458. package/dist/node_modules/axios/README.md +0 -1784
  459. package/dist/node_modules/axios/dist/axios.js +0 -4471
  460. package/dist/node_modules/axios/dist/axios.js.map +0 -1
  461. package/dist/node_modules/axios/dist/axios.min.js +0 -3
  462. package/dist/node_modules/axios/dist/axios.min.js.map +0 -1
  463. package/dist/node_modules/axios/dist/browser/axios.cjs +0 -3909
  464. package/dist/node_modules/axios/dist/browser/axios.cjs.map +0 -1
  465. package/dist/node_modules/axios/dist/esm/axios.js +0 -3932
  466. package/dist/node_modules/axios/dist/esm/axios.js.map +0 -1
  467. package/dist/node_modules/axios/dist/esm/axios.min.js +0 -3
  468. package/dist/node_modules/axios/dist/esm/axios.min.js.map +0 -1
  469. package/dist/node_modules/axios/dist/node/axios.cjs +0 -5242
  470. package/dist/node_modules/axios/dist/node/axios.cjs.map +0 -1
  471. package/dist/node_modules/axios/index.d.cts +0 -572
  472. package/dist/node_modules/axios/index.d.ts +0 -585
  473. package/dist/node_modules/axios/index.js +0 -43
  474. package/dist/node_modules/axios/lib/adapters/README.md +0 -37
  475. package/dist/node_modules/axios/lib/adapters/adapters.js +0 -126
  476. package/dist/node_modules/axios/lib/adapters/fetch.js +0 -288
  477. package/dist/node_modules/axios/lib/adapters/http.js +0 -895
  478. package/dist/node_modules/axios/lib/adapters/xhr.js +0 -200
  479. package/dist/node_modules/axios/lib/axios.js +0 -89
  480. package/dist/node_modules/axios/lib/cancel/CancelToken.js +0 -135
  481. package/dist/node_modules/axios/lib/cancel/CanceledError.js +0 -25
  482. package/dist/node_modules/axios/lib/cancel/isCancel.js +0 -5
  483. package/dist/node_modules/axios/lib/core/Axios.js +0 -240
  484. package/dist/node_modules/axios/lib/core/AxiosError.js +0 -110
  485. package/dist/node_modules/axios/lib/core/AxiosHeaders.js +0 -314
  486. package/dist/node_modules/axios/lib/core/InterceptorManager.js +0 -71
  487. package/dist/node_modules/axios/lib/core/README.md +0 -8
  488. package/dist/node_modules/axios/lib/core/buildFullPath.js +0 -22
  489. package/dist/node_modules/axios/lib/core/dispatchRequest.js +0 -81
  490. package/dist/node_modules/axios/lib/core/mergeConfig.js +0 -106
  491. package/dist/node_modules/axios/lib/core/settle.js +0 -27
  492. package/dist/node_modules/axios/lib/core/transformData.js +0 -28
  493. package/dist/node_modules/axios/lib/defaults/index.js +0 -161
  494. package/dist/node_modules/axios/lib/defaults/transitional.js +0 -7
  495. package/dist/node_modules/axios/lib/env/README.md +0 -3
  496. package/dist/node_modules/axios/lib/env/classes/FormData.js +0 -2
  497. package/dist/node_modules/axios/lib/env/data.js +0 -1
  498. package/dist/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -143
  499. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -58
  500. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -77
  501. package/dist/node_modules/axios/lib/helpers/README.md +0 -7
  502. package/dist/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -28
  503. package/dist/node_modules/axios/lib/helpers/bind.js +0 -14
  504. package/dist/node_modules/axios/lib/helpers/buildURL.js +0 -67
  505. package/dist/node_modules/axios/lib/helpers/callbackify.js +0 -16
  506. package/dist/node_modules/axios/lib/helpers/combineURLs.js +0 -15
  507. package/dist/node_modules/axios/lib/helpers/composeSignals.js +0 -48
  508. package/dist/node_modules/axios/lib/helpers/cookies.js +0 -53
  509. package/dist/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -26
  510. package/dist/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +0 -73
  511. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +0 -95
  512. package/dist/node_modules/axios/lib/helpers/formDataToStream.js +0 -112
  513. package/dist/node_modules/axios/lib/helpers/fromDataURI.js +0 -53
  514. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -15
  515. package/dist/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
  516. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -14
  517. package/dist/node_modules/axios/lib/helpers/null.js +0 -2
  518. package/dist/node_modules/axios/lib/helpers/parseHeaders.js +0 -55
  519. package/dist/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
  520. package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +0 -44
  521. package/dist/node_modules/axios/lib/helpers/readBlob.js +0 -15
  522. package/dist/node_modules/axios/lib/helpers/resolveConfig.js +0 -61
  523. package/dist/node_modules/axios/lib/helpers/speedometer.js +0 -55
  524. package/dist/node_modules/axios/lib/helpers/spread.js +0 -28
  525. package/dist/node_modules/axios/lib/helpers/throttle.js +0 -44
  526. package/dist/node_modules/axios/lib/helpers/toFormData.js +0 -223
  527. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -19
  528. package/dist/node_modules/axios/lib/helpers/trackStream.js +0 -87
  529. package/dist/node_modules/axios/lib/helpers/validator.js +0 -99
  530. package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -3
  531. package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
  532. package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -4
  533. package/dist/node_modules/axios/lib/platform/browser/index.js +0 -13
  534. package/dist/node_modules/axios/lib/platform/common/utils.js +0 -51
  535. package/dist/node_modules/axios/lib/platform/index.js +0 -7
  536. package/dist/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
  537. package/dist/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -4
  538. package/dist/node_modules/axios/lib/platform/node/index.js +0 -38
  539. package/dist/node_modules/axios/lib/utils.js +0 -782
  540. package/dist/node_modules/axios/package.json +0 -239
  541. package/dist/node_modules/base64-js/LICENSE +0 -21
  542. package/dist/node_modules/base64-js/README.md +0 -34
  543. package/dist/node_modules/base64-js/base64js.min.js +0 -1
  544. package/dist/node_modules/base64-js/index.d.ts +0 -3
  545. package/dist/node_modules/base64-js/index.js +0 -150
  546. package/dist/node_modules/base64-js/package.json +0 -47
  547. package/dist/node_modules/bl/.github/dependabot.yml +0 -16
  548. package/dist/node_modules/bl/.github/workflows/test-and-release.yml +0 -61
  549. package/dist/node_modules/bl/BufferList.d.ts +0 -431
  550. package/dist/node_modules/bl/BufferList.js +0 -421
  551. package/dist/node_modules/bl/CHANGELOG.md +0 -221
  552. package/dist/node_modules/bl/LICENSE.md +0 -13
  553. package/dist/node_modules/bl/README.md +0 -259
  554. package/dist/node_modules/bl/bl.js +0 -84
  555. package/dist/node_modules/bl/index.d.ts +0 -88
  556. package/dist/node_modules/bl/package.json +0 -123
  557. package/dist/node_modules/bl/test/convert.js +0 -21
  558. package/dist/node_modules/bl/test/indexOf.js +0 -492
  559. package/dist/node_modules/bl/test/isBufferList.js +0 -32
  560. package/dist/node_modules/bl/test/test.js +0 -1032
  561. package/dist/node_modules/broker-factory/LICENSE +0 -21
  562. package/dist/node_modules/broker-factory/README.md +0 -5
  563. package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.d.ts +0 -9
  564. package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.d.ts.map +0 -1
  565. package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.js +0 -43
  566. package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.js.map +0 -1
  567. package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.d.ts +0 -8
  568. package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.d.ts.map +0 -1
  569. package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.js +0 -10
  570. package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.js.map +0 -1
  571. package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.d.ts +0 -5
  572. package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.d.ts.map +0 -1
  573. package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.js +0 -24
  574. package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.js.map +0 -1
  575. package/dist/node_modules/broker-factory/build/es2019/guards/message-port.d.ts +0 -2
  576. package/dist/node_modules/broker-factory/build/es2019/guards/message-port.d.ts.map +0 -1
  577. package/dist/node_modules/broker-factory/build/es2019/guards/message-port.js +0 -4
  578. package/dist/node_modules/broker-factory/build/es2019/guards/message-port.js.map +0 -1
  579. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.d.ts +0 -6
  580. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.d.ts.map +0 -1
  581. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.js +0 -2
  582. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.js.map +0 -1
  583. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.d.ts +0 -4
  584. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.d.ts.map +0 -1
  585. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.js +0 -2
  586. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.js.map +0 -1
  587. package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.d.ts +0 -7
  588. package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.d.ts.map +0 -1
  589. package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.js +0 -2
  590. package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.js.map +0 -1
  591. package/dist/node_modules/broker-factory/build/es2019/interfaces/index.d.ts +0 -5
  592. package/dist/node_modules/broker-factory/build/es2019/interfaces/index.d.ts.map +0 -1
  593. package/dist/node_modules/broker-factory/build/es2019/interfaces/index.js +0 -5
  594. package/dist/node_modules/broker-factory/build/es2019/interfaces/index.js.map +0 -1
  595. package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.d.ts +0 -5
  596. package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.d.ts.map +0 -1
  597. package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.js +0 -2
  598. package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.js.map +0 -1
  599. package/dist/node_modules/broker-factory/build/es2019/module.d.ts +0 -4
  600. package/dist/node_modules/broker-factory/build/es2019/module.d.ts.map +0 -1
  601. package/dist/node_modules/broker-factory/build/es2019/module.js +0 -13
  602. package/dist/node_modules/broker-factory/build/es2019/module.js.map +0 -1
  603. package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.d.ts +0 -6
  604. package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.d.ts.map +0 -1
  605. package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.js +0 -2
  606. package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.js.map +0 -1
  607. package/dist/node_modules/broker-factory/build/es2019/types/index.d.ts +0 -2
  608. package/dist/node_modules/broker-factory/build/es2019/types/index.d.ts.map +0 -1
  609. package/dist/node_modules/broker-factory/build/es2019/types/index.js +0 -2
  610. package/dist/node_modules/broker-factory/build/es2019/types/index.js.map +0 -1
  611. package/dist/node_modules/broker-factory/build/es5/bundle.js +0 -166
  612. package/dist/node_modules/broker-factory/package.json +0 -69
  613. package/dist/node_modules/broker-factory/src/factories/create-broker.ts +0 -69
  614. package/dist/node_modules/broker-factory/src/factories/create-or-get-ongoing-requests.ts +0 -14
  615. package/dist/node_modules/broker-factory/src/factories/extend-broker-implementation.ts +0 -37
  616. package/dist/node_modules/broker-factory/src/guards/message-port.ts +0 -3
  617. package/dist/node_modules/broker-factory/src/interfaces/broker-actions.ts +0 -7
  618. package/dist/node_modules/broker-factory/src/interfaces/broker-definition.ts +0 -3
  619. package/dist/node_modules/broker-factory/src/interfaces/default-broker-definition.ts +0 -9
  620. package/dist/node_modules/broker-factory/src/interfaces/index.ts +0 -4
  621. package/dist/node_modules/broker-factory/src/interfaces/worker-event.ts +0 -5
  622. package/dist/node_modules/broker-factory/src/module.ts +0 -19
  623. package/dist/node_modules/broker-factory/src/tsconfig.json +0 -6
  624. package/dist/node_modules/broker-factory/src/types/broker-implementation.ts +0 -6
  625. package/dist/node_modules/broker-factory/src/types/index.ts +0 -1
  626. package/dist/node_modules/buffer/AUTHORS.md +0 -73
  627. package/dist/node_modules/buffer/LICENSE +0 -21
  628. package/dist/node_modules/buffer/README.md +0 -410
  629. package/dist/node_modules/buffer/index.d.ts +0 -194
  630. package/dist/node_modules/buffer/index.js +0 -2106
  631. package/dist/node_modules/buffer/package.json +0 -93
  632. package/dist/node_modules/buffer-from/LICENSE +0 -21
  633. package/dist/node_modules/buffer-from/index.js +0 -72
  634. package/dist/node_modules/buffer-from/package.json +0 -19
  635. package/dist/node_modules/buffer-from/readme.md +0 -69
  636. package/dist/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
  637. package/dist/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
  638. package/dist/node_modules/call-bind-apply-helpers/.nycrc +0 -9
  639. package/dist/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
  640. package/dist/node_modules/call-bind-apply-helpers/LICENSE +0 -21
  641. package/dist/node_modules/call-bind-apply-helpers/README.md +0 -62
  642. package/dist/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
  643. package/dist/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
  644. package/dist/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
  645. package/dist/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
  646. package/dist/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
  647. package/dist/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
  648. package/dist/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
  649. package/dist/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
  650. package/dist/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
  651. package/dist/node_modules/call-bind-apply-helpers/index.js +0 -15
  652. package/dist/node_modules/call-bind-apply-helpers/package.json +0 -85
  653. package/dist/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
  654. package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
  655. package/dist/node_modules/call-bind-apply-helpers/test/index.js +0 -63
  656. package/dist/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
  657. package/dist/node_modules/chance/.eslintignore +0 -4
  658. package/dist/node_modules/chance/.eslintrc.js +0 -280
  659. package/dist/node_modules/chance/.github/pull_request_template.md +0 -24
  660. package/dist/node_modules/chance/.github/workflows/coverage.yml +0 -24
  661. package/dist/node_modules/chance/.github/workflows/docs.yml +0 -34
  662. package/dist/node_modules/chance/.github/workflows/lint.yml +0 -18
  663. package/dist/node_modules/chance/.github/workflows/publish.yml +0 -53
  664. package/dist/node_modules/chance/.github/workflows/tests.yml +0 -23
  665. package/dist/node_modules/chance/LICENSE +0 -21
  666. package/dist/node_modules/chance/README.md +0 -61
  667. package/dist/node_modules/chance/chance.js +0 -11698
  668. package/dist/node_modules/chance/dist/chance.min.js +0 -2
  669. package/dist/node_modules/chance/dist/chance.min.js.map +0 -1
  670. package/dist/node_modules/chance/docs/CNAME +0 -1
  671. package/dist/node_modules/chance/docs/README.md +0 -127
  672. package/dist/node_modules/chance/docs/analytics.js +0 -3
  673. package/dist/node_modules/chance/docs/basics/bool.md +0 -24
  674. package/dist/node_modules/chance/docs/basics/character.md +0 -65
  675. package/dist/node_modules/chance/docs/basics/falsy.md +0 -22
  676. package/dist/node_modules/chance/docs/basics/floating.md +0 -44
  677. package/dist/node_modules/chance/docs/basics/integer.md +0 -42
  678. package/dist/node_modules/chance/docs/basics/letter.md +0 -25
  679. package/dist/node_modules/chance/docs/basics/natural.md +0 -47
  680. package/dist/node_modules/chance/docs/basics/prime.md +0 -41
  681. package/dist/node_modules/chance/docs/basics/string.md +0 -77
  682. package/dist/node_modules/chance/docs/basics/template.md +0 -27
  683. package/dist/node_modules/chance/docs/chance.css +0 -108
  684. package/dist/node_modules/chance/docs/chance.js +0 -7493
  685. package/dist/node_modules/chance/docs/chance.min.js +0 -5
  686. package/dist/node_modules/chance/docs/chance.min.js.map +0 -1
  687. package/dist/node_modules/chance/docs/finance/cc.md +0 -37
  688. package/dist/node_modules/chance/docs/finance/cc_type.md +0 -42
  689. package/dist/node_modules/chance/docs/finance/currency.md +0 -13
  690. package/dist/node_modules/chance/docs/finance/currency_pair.md +0 -13
  691. package/dist/node_modules/chance/docs/finance/dollar.md +0 -30
  692. package/dist/node_modules/chance/docs/finance/euro.md +0 -28
  693. package/dist/node_modules/chance/docs/finance/exp.md +0 -21
  694. package/dist/node_modules/chance/docs/finance/exp_month.md +0 -28
  695. package/dist/node_modules/chance/docs/finance/exp_year.md +0 -15
  696. package/dist/node_modules/chance/docs/helpers/capitalize.md +0 -13
  697. package/dist/node_modules/chance/docs/helpers/mixin.md +0 -90
  698. package/dist/node_modules/chance/docs/helpers/pad.md +0 -40
  699. package/dist/node_modules/chance/docs/helpers/pick.md +0 -9
  700. package/dist/node_modules/chance/docs/helpers/pickone.md +0 -13
  701. package/dist/node_modules/chance/docs/helpers/pickset.md +0 -20
  702. package/dist/node_modules/chance/docs/helpers/set.md +0 -23
  703. package/dist/node_modules/chance/docs/helpers/shuffle.md +0 -13
  704. package/dist/node_modules/chance/docs/inspector.png +0 -0
  705. package/dist/node_modules/chance/docs/intro.md +0 -56
  706. package/dist/node_modules/chance/docs/location/address.md +0 -21
  707. package/dist/node_modules/chance/docs/location/altitude.md +0 -29
  708. package/dist/node_modules/chance/docs/location/areacode.md +0 -16
  709. package/dist/node_modules/chance/docs/location/city.md +0 -13
  710. package/dist/node_modules/chance/docs/location/coordinates.md +0 -34
  711. package/dist/node_modules/chance/docs/location/country.md +0 -23
  712. package/dist/node_modules/chance/docs/location/depth.md +0 -29
  713. package/dist/node_modules/chance/docs/location/geohash.md +0 -21
  714. package/dist/node_modules/chance/docs/location/latitude.md +0 -43
  715. package/dist/node_modules/chance/docs/location/locale.md +0 -25
  716. package/dist/node_modules/chance/docs/location/longitude.md +0 -43
  717. package/dist/node_modules/chance/docs/location/phone.md +0 -48
  718. package/dist/node_modules/chance/docs/location/postal.md +0 -13
  719. package/dist/node_modules/chance/docs/location/postcode.md +0 -13
  720. package/dist/node_modules/chance/docs/location/province.md +0 -33
  721. package/dist/node_modules/chance/docs/location/state.md +0 -62
  722. package/dist/node_modules/chance/docs/location/street.md +0 -37
  723. package/dist/node_modules/chance/docs/location/zip.md +0 -23
  724. package/dist/node_modules/chance/docs/logo.png +0 -0
  725. package/dist/node_modules/chance/docs/miscellaneous/coin.md +0 -16
  726. package/dist/node_modules/chance/docs/miscellaneous/dice.md +0 -29
  727. package/dist/node_modules/chance/docs/miscellaneous/fileWithContent.md +0 -36
  728. package/dist/node_modules/chance/docs/miscellaneous/guid.md +0 -16
  729. package/dist/node_modules/chance/docs/miscellaneous/hash.md +0 -35
  730. package/dist/node_modules/chance/docs/miscellaneous/hidden.md +0 -59
  731. package/dist/node_modules/chance/docs/miscellaneous/n.md +0 -35
  732. package/dist/node_modules/chance/docs/miscellaneous/normal.md +0 -35
  733. package/dist/node_modules/chance/docs/miscellaneous/radio.md +0 -27
  734. package/dist/node_modules/chance/docs/miscellaneous/rpg.md +0 -25
  735. package/dist/node_modules/chance/docs/miscellaneous/tv.md +0 -25
  736. package/dist/node_modules/chance/docs/miscellaneous/unique.md +0 -47
  737. package/dist/node_modules/chance/docs/miscellaneous/weighted.md +0 -55
  738. package/dist/node_modules/chance/docs/mobile/android_id.md +0 -13
  739. package/dist/node_modules/chance/docs/mobile/apple_token.md +0 -13
  740. package/dist/node_modules/chance/docs/mobile/bb_pin.md +0 -13
  741. package/dist/node_modules/chance/docs/mobile/wp7_anid.md +0 -13
  742. package/dist/node_modules/chance/docs/mobile/wp8_anid2.md +0 -13
  743. package/dist/node_modules/chance/docs/music/music_genre.md +0 -43
  744. package/dist/node_modules/chance/docs/music/note.md +0 -33
  745. package/dist/node_modules/chance/docs/music/tempo.md +0 -24
  746. package/dist/node_modules/chance/docs/person/aadhar.md +0 -31
  747. package/dist/node_modules/chance/docs/person/age.md +0 -25
  748. package/dist/node_modules/chance/docs/person/birthday.md +0 -63
  749. package/dist/node_modules/chance/docs/person/cf.md +0 -23
  750. package/dist/node_modules/chance/docs/person/cpf.md +0 -20
  751. package/dist/node_modules/chance/docs/person/first.md +0 -31
  752. package/dist/node_modules/chance/docs/person/gender.md +0 -21
  753. package/dist/node_modules/chance/docs/person/last.md +0 -23
  754. package/dist/node_modules/chance/docs/person/name.md +0 -63
  755. package/dist/node_modules/chance/docs/person/prefix.md +0 -35
  756. package/dist/node_modules/chance/docs/person/ssn.md +0 -29
  757. package/dist/node_modules/chance/docs/person/suffix.md +0 -25
  758. package/dist/node_modules/chance/docs/person/zodiac.md +0 -12
  759. package/dist/node_modules/chance/docs/text/emoji.md +0 -39
  760. package/dist/node_modules/chance/docs/text/paragraph.md +0 -39
  761. package/dist/node_modules/chance/docs/text/sentence.md +0 -28
  762. package/dist/node_modules/chance/docs/text/syllable.md +0 -18
  763. package/dist/node_modules/chance/docs/text/word.md +0 -54
  764. package/dist/node_modules/chance/docs/thing/animal.md +0 -25
  765. package/dist/node_modules/chance/docs/time/ampm.md +0 -13
  766. package/dist/node_modules/chance/docs/time/date.md +0 -66
  767. package/dist/node_modules/chance/docs/time/hammertime.md +0 -25
  768. package/dist/node_modules/chance/docs/time/hour.md +0 -27
  769. package/dist/node_modules/chance/docs/time/millisecond.md +0 -15
  770. package/dist/node_modules/chance/docs/time/minute.md +0 -15
  771. package/dist/node_modules/chance/docs/time/month.md +0 -23
  772. package/dist/node_modules/chance/docs/time/second.md +0 -15
  773. package/dist/node_modules/chance/docs/time/timestamp.md +0 -14
  774. package/dist/node_modules/chance/docs/time/timezone.md +0 -20
  775. package/dist/node_modules/chance/docs/time/weekday.md +0 -16
  776. package/dist/node_modules/chance/docs/time/year.md +0 -31
  777. package/dist/node_modules/chance/docs/usage/bower.md +0 -19
  778. package/dist/node_modules/chance/docs/usage/browser.md +0 -58
  779. package/dist/node_modules/chance/docs/usage/cli.md +0 -19
  780. package/dist/node_modules/chance/docs/usage/function.md +0 -22
  781. package/dist/node_modules/chance/docs/usage/node.md +0 -50
  782. package/dist/node_modules/chance/docs/usage/requirejs.md +0 -13
  783. package/dist/node_modules/chance/docs/usage/seed.md +0 -49
  784. package/dist/node_modules/chance/docs/web/avatar.md +0 -42
  785. package/dist/node_modules/chance/docs/web/color.md +0 -54
  786. package/dist/node_modules/chance/docs/web/company.md +0 -13
  787. package/dist/node_modules/chance/docs/web/domain.md +0 -22
  788. package/dist/node_modules/chance/docs/web/email.md +0 -21
  789. package/dist/node_modules/chance/docs/web/fbid.md +0 -13
  790. package/dist/node_modules/chance/docs/web/google_analytics.md +0 -13
  791. package/dist/node_modules/chance/docs/web/hashtag.md +0 -13
  792. package/dist/node_modules/chance/docs/web/ip.md +0 -14
  793. package/dist/node_modules/chance/docs/web/ipv6.md +0 -14
  794. package/dist/node_modules/chance/docs/web/klout.md +0 -13
  795. package/dist/node_modules/chance/docs/web/mac.md +0 -22
  796. package/dist/node_modules/chance/docs/web/profession.md +0 -21
  797. package/dist/node_modules/chance/docs/web/tld.md +0 -16
  798. package/dist/node_modules/chance/docs/web/twitter.md +0 -13
  799. package/dist/node_modules/chance/docs/web/url.md +0 -53
  800. package/dist/node_modules/chance/gulpfile.js +0 -49
  801. package/dist/node_modules/chance/package.json +0 -69
  802. package/dist/node_modules/chance/test/helpers/phoneNumber.min.js +0 -6
  803. package/dist/node_modules/chance/test/test.address.js +0 -756
  804. package/dist/node_modules/chance/test/test.animal.js +0 -40
  805. package/dist/node_modules/chance/test/test.basic.js +0 -574
  806. package/dist/node_modules/chance/test/test.buffer.js +0 -31
  807. package/dist/node_modules/chance/test/test.company.js +0 -15
  808. package/dist/node_modules/chance/test/test.file.js +0 -116
  809. package/dist/node_modules/chance/test/test.fileWithContent.js +0 -54
  810. package/dist/node_modules/chance/test/test.finance.js +0 -220
  811. package/dist/node_modules/chance/test/test.helpers.js +0 -433
  812. package/dist/node_modules/chance/test/test.misc.js +0 -298
  813. package/dist/node_modules/chance/test/test.mobile.js +0 -29
  814. package/dist/node_modules/chance/test/test.music.js +0 -98
  815. package/dist/node_modules/chance/test/test.normal.js +0 -114
  816. package/dist/node_modules/chance/test/test.person.js +0 -507
  817. package/dist/node_modules/chance/test/test.regional.js +0 -116
  818. package/dist/node_modules/chance/test/test.text.js +0 -160
  819. package/dist/node_modules/chance/test/test.time.js +0 -300
  820. package/dist/node_modules/chance/test/test.web.js +0 -618
  821. package/dist/node_modules/combined-stream/License +0 -19
  822. package/dist/node_modules/combined-stream/Readme.md +0 -138
  823. package/dist/node_modules/combined-stream/lib/combined_stream.js +0 -208
  824. package/dist/node_modules/combined-stream/package.json +0 -25
  825. package/dist/node_modules/combined-stream/yarn.lock +0 -17
  826. package/dist/node_modules/commist/.github/workflows/ci.yml +0 -27
  827. package/dist/node_modules/commist/LICENSE +0 -21
  828. package/dist/node_modules/commist/README.md +0 -113
  829. package/dist/node_modules/commist/example.js +0 -26
  830. package/dist/node_modules/commist/index.js +0 -155
  831. package/dist/node_modules/commist/leven.js +0 -91
  832. package/dist/node_modules/commist/package.json +0 -28
  833. package/dist/node_modules/commist/test.js +0 -368
  834. package/dist/node_modules/concat-stream/LICENSE +0 -24
  835. package/dist/node_modules/concat-stream/index.js +0 -144
  836. package/dist/node_modules/concat-stream/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  837. package/dist/node_modules/concat-stream/node_modules/readable-stream/GOVERNANCE.md +0 -136
  838. package/dist/node_modules/concat-stream/node_modules/readable-stream/LICENSE +0 -47
  839. package/dist/node_modules/concat-stream/node_modules/readable-stream/README.md +0 -106
  840. package/dist/node_modules/concat-stream/node_modules/readable-stream/errors-browser.js +0 -127
  841. package/dist/node_modules/concat-stream/node_modules/readable-stream/errors.js +0 -116
  842. package/dist/node_modules/concat-stream/node_modules/readable-stream/experimentalWarning.js +0 -17
  843. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
  844. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
  845. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
  846. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_transform.js +0 -190
  847. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js +0 -641
  848. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
  849. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
  850. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
  851. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
  852. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  853. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
  854. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
  855. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
  856. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  857. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  858. package/dist/node_modules/concat-stream/node_modules/readable-stream/package.json +0 -68
  859. package/dist/node_modules/concat-stream/node_modules/readable-stream/readable-browser.js +0 -9
  860. package/dist/node_modules/concat-stream/node_modules/readable-stream/readable.js +0 -16
  861. package/dist/node_modules/concat-stream/package.json +0 -55
  862. package/dist/node_modules/concat-stream/readme.md +0 -102
  863. package/dist/node_modules/crypto/README.md +0 -7
  864. package/dist/node_modules/crypto/package.json +0 -19
  865. package/dist/node_modules/data-uri-to-buffer/README.md +0 -88
  866. package/dist/node_modules/data-uri-to-buffer/dist/index.d.ts +0 -15
  867. package/dist/node_modules/data-uri-to-buffer/dist/index.js +0 -53
  868. package/dist/node_modules/data-uri-to-buffer/dist/index.js.map +0 -1
  869. package/dist/node_modules/data-uri-to-buffer/package.json +0 -62
  870. package/dist/node_modules/data-uri-to-buffer/src/index.ts +0 -68
  871. package/dist/node_modules/debug/LICENSE +0 -20
  872. package/dist/node_modules/debug/README.md +0 -481
  873. package/dist/node_modules/debug/package.json +0 -64
  874. package/dist/node_modules/debug/src/browser.js +0 -272
  875. package/dist/node_modules/debug/src/common.js +0 -292
  876. package/dist/node_modules/debug/src/index.js +0 -10
  877. package/dist/node_modules/debug/src/node.js +0 -263
  878. package/dist/node_modules/delayed-stream/License +0 -19
  879. package/dist/node_modules/delayed-stream/Makefile +0 -7
  880. package/dist/node_modules/delayed-stream/Readme.md +0 -141
  881. package/dist/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
  882. package/dist/node_modules/delayed-stream/package.json +0 -27
  883. package/dist/node_modules/dunder-proto/.eslintrc +0 -5
  884. package/dist/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
  885. package/dist/node_modules/dunder-proto/.nycrc +0 -13
  886. package/dist/node_modules/dunder-proto/CHANGELOG.md +0 -24
  887. package/dist/node_modules/dunder-proto/LICENSE +0 -21
  888. package/dist/node_modules/dunder-proto/README.md +0 -54
  889. package/dist/node_modules/dunder-proto/get.d.ts +0 -5
  890. package/dist/node_modules/dunder-proto/get.js +0 -30
  891. package/dist/node_modules/dunder-proto/package.json +0 -76
  892. package/dist/node_modules/dunder-proto/set.d.ts +0 -5
  893. package/dist/node_modules/dunder-proto/set.js +0 -35
  894. package/dist/node_modules/dunder-proto/test/get.js +0 -34
  895. package/dist/node_modules/dunder-proto/test/index.js +0 -4
  896. package/dist/node_modules/dunder-proto/test/set.js +0 -50
  897. package/dist/node_modules/dunder-proto/tsconfig.json +0 -9
  898. package/dist/node_modules/es-define-property/.eslintrc +0 -13
  899. package/dist/node_modules/es-define-property/.github/FUNDING.yml +0 -12
  900. package/dist/node_modules/es-define-property/.nycrc +0 -9
  901. package/dist/node_modules/es-define-property/CHANGELOG.md +0 -29
  902. package/dist/node_modules/es-define-property/LICENSE +0 -21
  903. package/dist/node_modules/es-define-property/README.md +0 -49
  904. package/dist/node_modules/es-define-property/index.d.ts +0 -3
  905. package/dist/node_modules/es-define-property/index.js +0 -14
  906. package/dist/node_modules/es-define-property/package.json +0 -81
  907. package/dist/node_modules/es-define-property/test/index.js +0 -56
  908. package/dist/node_modules/es-define-property/tsconfig.json +0 -10
  909. package/dist/node_modules/es-errors/.eslintrc +0 -5
  910. package/dist/node_modules/es-errors/.github/FUNDING.yml +0 -12
  911. package/dist/node_modules/es-errors/CHANGELOG.md +0 -40
  912. package/dist/node_modules/es-errors/LICENSE +0 -21
  913. package/dist/node_modules/es-errors/README.md +0 -55
  914. package/dist/node_modules/es-errors/eval.d.ts +0 -3
  915. package/dist/node_modules/es-errors/eval.js +0 -4
  916. package/dist/node_modules/es-errors/index.d.ts +0 -3
  917. package/dist/node_modules/es-errors/index.js +0 -4
  918. package/dist/node_modules/es-errors/package.json +0 -80
  919. package/dist/node_modules/es-errors/range.d.ts +0 -3
  920. package/dist/node_modules/es-errors/range.js +0 -4
  921. package/dist/node_modules/es-errors/ref.d.ts +0 -3
  922. package/dist/node_modules/es-errors/ref.js +0 -4
  923. package/dist/node_modules/es-errors/syntax.d.ts +0 -3
  924. package/dist/node_modules/es-errors/syntax.js +0 -4
  925. package/dist/node_modules/es-errors/test/index.js +0 -19
  926. package/dist/node_modules/es-errors/tsconfig.json +0 -49
  927. package/dist/node_modules/es-errors/type.d.ts +0 -3
  928. package/dist/node_modules/es-errors/type.js +0 -4
  929. package/dist/node_modules/es-errors/uri.d.ts +0 -3
  930. package/dist/node_modules/es-errors/uri.js +0 -4
  931. package/dist/node_modules/es-object-atoms/.eslintrc +0 -16
  932. package/dist/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
  933. package/dist/node_modules/es-object-atoms/CHANGELOG.md +0 -37
  934. package/dist/node_modules/es-object-atoms/LICENSE +0 -21
  935. package/dist/node_modules/es-object-atoms/README.md +0 -63
  936. package/dist/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
  937. package/dist/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
  938. package/dist/node_modules/es-object-atoms/ToObject.d.ts +0 -7
  939. package/dist/node_modules/es-object-atoms/ToObject.js +0 -10
  940. package/dist/node_modules/es-object-atoms/index.d.ts +0 -3
  941. package/dist/node_modules/es-object-atoms/index.js +0 -4
  942. package/dist/node_modules/es-object-atoms/isObject.d.ts +0 -3
  943. package/dist/node_modules/es-object-atoms/isObject.js +0 -6
  944. package/dist/node_modules/es-object-atoms/package.json +0 -80
  945. package/dist/node_modules/es-object-atoms/test/index.js +0 -38
  946. package/dist/node_modules/es-object-atoms/tsconfig.json +0 -6
  947. package/dist/node_modules/es-set-tostringtag/.eslintrc +0 -13
  948. package/dist/node_modules/es-set-tostringtag/.nycrc +0 -9
  949. package/dist/node_modules/es-set-tostringtag/CHANGELOG.md +0 -67
  950. package/dist/node_modules/es-set-tostringtag/LICENSE +0 -21
  951. package/dist/node_modules/es-set-tostringtag/README.md +0 -53
  952. package/dist/node_modules/es-set-tostringtag/index.d.ts +0 -10
  953. package/dist/node_modules/es-set-tostringtag/index.js +0 -35
  954. package/dist/node_modules/es-set-tostringtag/package.json +0 -78
  955. package/dist/node_modules/es-set-tostringtag/test/index.js +0 -85
  956. package/dist/node_modules/es-set-tostringtag/tsconfig.json +0 -9
  957. package/dist/node_modules/event-target-shim/LICENSE +0 -22
  958. package/dist/node_modules/event-target-shim/README.md +0 -293
  959. package/dist/node_modules/event-target-shim/dist/event-target-shim.js +0 -871
  960. package/dist/node_modules/event-target-shim/dist/event-target-shim.js.map +0 -1
  961. package/dist/node_modules/event-target-shim/dist/event-target-shim.mjs +0 -862
  962. package/dist/node_modules/event-target-shim/dist/event-target-shim.mjs.map +0 -1
  963. package/dist/node_modules/event-target-shim/dist/event-target-shim.umd.js +0 -6
  964. package/dist/node_modules/event-target-shim/dist/event-target-shim.umd.js.map +0 -1
  965. package/dist/node_modules/event-target-shim/index.d.ts +0 -399
  966. package/dist/node_modules/event-target-shim/package.json +0 -82
  967. package/dist/node_modules/eventemitter3/LICENSE +0 -21
  968. package/dist/node_modules/eventemitter3/README.md +0 -94
  969. package/dist/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -347
  970. package/dist/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -1
  971. package/dist/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -1
  972. package/dist/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -355
  973. package/dist/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -1
  974. package/dist/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -1
  975. package/dist/node_modules/eventemitter3/index.d.ts +0 -135
  976. package/dist/node_modules/eventemitter3/index.js +0 -336
  977. package/dist/node_modules/eventemitter3/index.mjs +0 -4
  978. package/dist/node_modules/eventemitter3/package.json +0 -67
  979. package/dist/node_modules/events/.airtap.yml +0 -15
  980. package/dist/node_modules/events/.github/FUNDING.yml +0 -12
  981. package/dist/node_modules/events/.travis.yml +0 -18
  982. package/dist/node_modules/events/History.md +0 -118
  983. package/dist/node_modules/events/LICENSE +0 -22
  984. package/dist/node_modules/events/Readme.md +0 -50
  985. package/dist/node_modules/events/events.js +0 -497
  986. package/dist/node_modules/events/package.json +0 -37
  987. package/dist/node_modules/events/security.md +0 -10
  988. package/dist/node_modules/events/tests/add-listeners.js +0 -111
  989. package/dist/node_modules/events/tests/check-listener-leaks.js +0 -101
  990. package/dist/node_modules/events/tests/common.js +0 -104
  991. package/dist/node_modules/events/tests/errors.js +0 -13
  992. package/dist/node_modules/events/tests/events-list.js +0 -28
  993. package/dist/node_modules/events/tests/events-once.js +0 -234
  994. package/dist/node_modules/events/tests/index.js +0 -64
  995. package/dist/node_modules/events/tests/legacy-compat.js +0 -16
  996. package/dist/node_modules/events/tests/listener-count.js +0 -37
  997. package/dist/node_modules/events/tests/listeners-side-effects.js +0 -56
  998. package/dist/node_modules/events/tests/listeners.js +0 -168
  999. package/dist/node_modules/events/tests/max-listeners.js +0 -47
  1000. package/dist/node_modules/events/tests/method-names.js +0 -35
  1001. package/dist/node_modules/events/tests/modify-in-emit.js +0 -90
  1002. package/dist/node_modules/events/tests/num-args.js +0 -60
  1003. package/dist/node_modules/events/tests/once.js +0 -83
  1004. package/dist/node_modules/events/tests/prepend.js +0 -31
  1005. package/dist/node_modules/events/tests/remove-all-listeners.js +0 -133
  1006. package/dist/node_modules/events/tests/remove-listeners.js +0 -212
  1007. package/dist/node_modules/events/tests/set-max-listeners-side-effects.js +0 -31
  1008. package/dist/node_modules/events/tests/special-event-names.js +0 -45
  1009. package/dist/node_modules/events/tests/subclass.js +0 -66
  1010. package/dist/node_modules/events/tests/symbols.js +0 -25
  1011. package/dist/node_modules/fast-unique-numbers/LICENSE +0 -21
  1012. package/dist/node_modules/fast-unique-numbers/README.md +0 -55
  1013. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.d.ts +0 -3
  1014. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.d.ts.map +0 -1
  1015. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.js +0 -8
  1016. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.js.map +0 -1
  1017. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.d.ts +0 -2
  1018. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.d.ts.map +0 -1
  1019. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.js +0 -7
  1020. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.js.map +0 -1
  1021. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.d.ts +0 -3
  1022. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.d.ts.map +0 -1
  1023. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.js +0 -46
  1024. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.js.map +0 -1
  1025. package/dist/node_modules/fast-unique-numbers/build/es2019/module.d.ts +0 -4
  1026. package/dist/node_modules/fast-unique-numbers/build/es2019/module.d.ts.map +0 -1
  1027. package/dist/node_modules/fast-unique-numbers/build/es2019/module.js +0 -9
  1028. package/dist/node_modules/fast-unique-numbers/build/es2019/module.js.map +0 -1
  1029. package/dist/node_modules/fast-unique-numbers/build/es5/bundle.js +0 -76
  1030. package/dist/node_modules/fast-unique-numbers/build/node/factories/add-unique-number.js +0 -14
  1031. package/dist/node_modules/fast-unique-numbers/build/node/factories/cache.js +0 -13
  1032. package/dist/node_modules/fast-unique-numbers/build/node/factories/generate-unique-number.js +0 -52
  1033. package/dist/node_modules/fast-unique-numbers/build/node/module.js +0 -13
  1034. package/dist/node_modules/fast-unique-numbers/package.json +0 -95
  1035. package/dist/node_modules/fast-unique-numbers/src/factories/add-unique-number.ts +0 -11
  1036. package/dist/node_modules/fast-unique-numbers/src/factories/cache.ts +0 -7
  1037. package/dist/node_modules/fast-unique-numbers/src/factories/generate-unique-number.ts +0 -58
  1038. package/dist/node_modules/fast-unique-numbers/src/module.ts +0 -11
  1039. package/dist/node_modules/fast-unique-numbers/src/tsconfig.json +0 -6
  1040. package/dist/node_modules/fetch-blob/LICENSE +0 -21
  1041. package/dist/node_modules/fetch-blob/README.md +0 -106
  1042. package/dist/node_modules/fetch-blob/file.d.ts +0 -2
  1043. package/dist/node_modules/fetch-blob/file.js +0 -49
  1044. package/dist/node_modules/fetch-blob/from.d.ts +0 -26
  1045. package/dist/node_modules/fetch-blob/from.js +0 -100
  1046. package/dist/node_modules/fetch-blob/index.d.ts +0 -3
  1047. package/dist/node_modules/fetch-blob/index.js +0 -250
  1048. package/dist/node_modules/fetch-blob/package.json +0 -56
  1049. package/dist/node_modules/fetch-blob/streams.cjs +0 -51
  1050. package/dist/node_modules/follow-redirects/LICENSE +0 -18
  1051. package/dist/node_modules/follow-redirects/README.md +0 -155
  1052. package/dist/node_modules/follow-redirects/debug.js +0 -15
  1053. package/dist/node_modules/follow-redirects/http.js +0 -1
  1054. package/dist/node_modules/follow-redirects/https.js +0 -1
  1055. package/dist/node_modules/follow-redirects/index.js +0 -686
  1056. package/dist/node_modules/follow-redirects/package.json +0 -58
  1057. package/dist/node_modules/form-data/CHANGELOG.md +0 -659
  1058. package/dist/node_modules/form-data/License +0 -19
  1059. package/dist/node_modules/form-data/README.md +0 -355
  1060. package/dist/node_modules/form-data/index.d.ts +0 -62
  1061. package/dist/node_modules/form-data/lib/browser.js +0 -4
  1062. package/dist/node_modules/form-data/lib/form_data.js +0 -494
  1063. package/dist/node_modules/form-data/lib/populate.js +0 -10
  1064. package/dist/node_modules/form-data/package.json +0 -82
  1065. package/dist/node_modules/formdata-polyfill/FormData.js +0 -441
  1066. package/dist/node_modules/formdata-polyfill/LICENSE +0 -21
  1067. package/dist/node_modules/formdata-polyfill/README.md +0 -145
  1068. package/dist/node_modules/formdata-polyfill/esm.min.d.ts +0 -5
  1069. package/dist/node_modules/formdata-polyfill/esm.min.js +0 -40
  1070. package/dist/node_modules/formdata-polyfill/formdata-to-blob.js +0 -39
  1071. package/dist/node_modules/formdata-polyfill/formdata.min.js +0 -21
  1072. package/dist/node_modules/formdata-polyfill/package.json +0 -50
  1073. package/dist/node_modules/function-bind/.eslintrc +0 -21
  1074. package/dist/node_modules/function-bind/.github/FUNDING.yml +0 -12
  1075. package/dist/node_modules/function-bind/.github/SECURITY.md +0 -3
  1076. package/dist/node_modules/function-bind/.nycrc +0 -13
  1077. package/dist/node_modules/function-bind/CHANGELOG.md +0 -136
  1078. package/dist/node_modules/function-bind/LICENSE +0 -20
  1079. package/dist/node_modules/function-bind/README.md +0 -46
  1080. package/dist/node_modules/function-bind/implementation.js +0 -84
  1081. package/dist/node_modules/function-bind/index.js +0 -5
  1082. package/dist/node_modules/function-bind/package.json +0 -87
  1083. package/dist/node_modules/function-bind/test/.eslintrc +0 -9
  1084. package/dist/node_modules/function-bind/test/index.js +0 -252
  1085. package/dist/node_modules/get-intrinsic/.eslintrc +0 -42
  1086. package/dist/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  1087. package/dist/node_modules/get-intrinsic/.nycrc +0 -9
  1088. package/dist/node_modules/get-intrinsic/CHANGELOG.md +0 -186
  1089. package/dist/node_modules/get-intrinsic/LICENSE +0 -21
  1090. package/dist/node_modules/get-intrinsic/README.md +0 -71
  1091. package/dist/node_modules/get-intrinsic/index.js +0 -378
  1092. package/dist/node_modules/get-intrinsic/package.json +0 -97
  1093. package/dist/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  1094. package/dist/node_modules/get-proto/.eslintrc +0 -10
  1095. package/dist/node_modules/get-proto/.github/FUNDING.yml +0 -12
  1096. package/dist/node_modules/get-proto/.nycrc +0 -9
  1097. package/dist/node_modules/get-proto/CHANGELOG.md +0 -21
  1098. package/dist/node_modules/get-proto/LICENSE +0 -21
  1099. package/dist/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
  1100. package/dist/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
  1101. package/dist/node_modules/get-proto/README.md +0 -50
  1102. package/dist/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
  1103. package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
  1104. package/dist/node_modules/get-proto/index.d.ts +0 -5
  1105. package/dist/node_modules/get-proto/index.js +0 -27
  1106. package/dist/node_modules/get-proto/package.json +0 -81
  1107. package/dist/node_modules/get-proto/test/index.js +0 -68
  1108. package/dist/node_modules/get-proto/tsconfig.json +0 -9
  1109. package/dist/node_modules/gopd/.eslintrc +0 -16
  1110. package/dist/node_modules/gopd/.github/FUNDING.yml +0 -12
  1111. package/dist/node_modules/gopd/CHANGELOG.md +0 -45
  1112. package/dist/node_modules/gopd/LICENSE +0 -21
  1113. package/dist/node_modules/gopd/README.md +0 -40
  1114. package/dist/node_modules/gopd/gOPD.d.ts +0 -1
  1115. package/dist/node_modules/gopd/gOPD.js +0 -4
  1116. package/dist/node_modules/gopd/index.d.ts +0 -5
  1117. package/dist/node_modules/gopd/index.js +0 -15
  1118. package/dist/node_modules/gopd/package.json +0 -77
  1119. package/dist/node_modules/gopd/test/index.js +0 -36
  1120. package/dist/node_modules/gopd/tsconfig.json +0 -9
  1121. package/dist/node_modules/has-symbols/.eslintrc +0 -11
  1122. package/dist/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  1123. package/dist/node_modules/has-symbols/.nycrc +0 -9
  1124. package/dist/node_modules/has-symbols/CHANGELOG.md +0 -91
  1125. package/dist/node_modules/has-symbols/LICENSE +0 -21
  1126. package/dist/node_modules/has-symbols/README.md +0 -46
  1127. package/dist/node_modules/has-symbols/index.d.ts +0 -3
  1128. package/dist/node_modules/has-symbols/index.js +0 -14
  1129. package/dist/node_modules/has-symbols/package.json +0 -111
  1130. package/dist/node_modules/has-symbols/shams.d.ts +0 -3
  1131. package/dist/node_modules/has-symbols/shams.js +0 -45
  1132. package/dist/node_modules/has-symbols/test/index.js +0 -22
  1133. package/dist/node_modules/has-symbols/test/shams/core-js.js +0 -29
  1134. package/dist/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
  1135. package/dist/node_modules/has-symbols/test/tests.js +0 -58
  1136. package/dist/node_modules/has-symbols/tsconfig.json +0 -10
  1137. package/dist/node_modules/has-tostringtag/.eslintrc +0 -5
  1138. package/dist/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
  1139. package/dist/node_modules/has-tostringtag/.nycrc +0 -13
  1140. package/dist/node_modules/has-tostringtag/CHANGELOG.md +0 -42
  1141. package/dist/node_modules/has-tostringtag/LICENSE +0 -21
  1142. package/dist/node_modules/has-tostringtag/README.md +0 -46
  1143. package/dist/node_modules/has-tostringtag/index.d.ts +0 -3
  1144. package/dist/node_modules/has-tostringtag/index.js +0 -8
  1145. package/dist/node_modules/has-tostringtag/package.json +0 -108
  1146. package/dist/node_modules/has-tostringtag/shams.d.ts +0 -3
  1147. package/dist/node_modules/has-tostringtag/shams.js +0 -8
  1148. package/dist/node_modules/has-tostringtag/test/index.js +0 -21
  1149. package/dist/node_modules/has-tostringtag/test/shams/core-js.js +0 -31
  1150. package/dist/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -30
  1151. package/dist/node_modules/has-tostringtag/test/tests.js +0 -15
  1152. package/dist/node_modules/has-tostringtag/tsconfig.json +0 -49
  1153. package/dist/node_modules/hasown/.eslintrc +0 -5
  1154. package/dist/node_modules/hasown/.github/FUNDING.yml +0 -12
  1155. package/dist/node_modules/hasown/.nycrc +0 -13
  1156. package/dist/node_modules/hasown/CHANGELOG.md +0 -40
  1157. package/dist/node_modules/hasown/LICENSE +0 -21
  1158. package/dist/node_modules/hasown/README.md +0 -40
  1159. package/dist/node_modules/hasown/index.d.ts +0 -3
  1160. package/dist/node_modules/hasown/index.js +0 -8
  1161. package/dist/node_modules/hasown/package.json +0 -92
  1162. package/dist/node_modules/hasown/tsconfig.json +0 -6
  1163. package/dist/node_modules/help-me/.github/workflows/ci.yml +0 -28
  1164. package/dist/node_modules/help-me/LICENSE +0 -22
  1165. package/dist/node_modules/help-me/README.md +0 -66
  1166. package/dist/node_modules/help-me/doc/hello.txt +0 -1
  1167. package/dist/node_modules/help-me/doc/help.txt +0 -5
  1168. package/dist/node_modules/help-me/example.js +0 -18
  1169. package/dist/node_modules/help-me/fixture/basic/hello.txt +0 -1
  1170. package/dist/node_modules/help-me/fixture/basic/help.txt +0 -1
  1171. package/dist/node_modules/help-me/fixture/dir/a/b.txt +0 -0
  1172. package/dist/node_modules/help-me/fixture/no-ext/hello +0 -1
  1173. package/dist/node_modules/help-me/fixture/sameprefix/hello world.txt +0 -1
  1174. package/dist/node_modules/help-me/fixture/sameprefix/hello.txt +0 -1
  1175. package/dist/node_modules/help-me/fixture/shortnames/abcde fghi lmno.txt +0 -1
  1176. package/dist/node_modules/help-me/fixture/shortnames/abcde hello.txt +0 -1
  1177. package/dist/node_modules/help-me/fixture/shortnames/hello world.txt +0 -1
  1178. package/dist/node_modules/help-me/help-me.js +0 -134
  1179. package/dist/node_modules/help-me/package.json +0 -36
  1180. package/dist/node_modules/help-me/test.js +0 -316
  1181. package/dist/node_modules/ieee754/LICENSE +0 -11
  1182. package/dist/node_modules/ieee754/README.md +0 -51
  1183. package/dist/node_modules/ieee754/index.d.ts +0 -10
  1184. package/dist/node_modules/ieee754/index.js +0 -85
  1185. package/dist/node_modules/ieee754/package.json +0 -52
  1186. package/dist/node_modules/inherits/LICENSE +0 -16
  1187. package/dist/node_modules/inherits/README.md +0 -42
  1188. package/dist/node_modules/inherits/inherits.js +0 -9
  1189. package/dist/node_modules/inherits/inherits_browser.js +0 -27
  1190. package/dist/node_modules/inherits/package.json +0 -29
  1191. package/dist/node_modules/ip-address/LICENSE +0 -19
  1192. package/dist/node_modules/ip-address/README.md +0 -105
  1193. package/dist/node_modules/ip-address/dist/address-error.d.ts +0 -5
  1194. package/dist/node_modules/ip-address/dist/address-error.d.ts.map +0 -1
  1195. package/dist/node_modules/ip-address/dist/address-error.js +0 -12
  1196. package/dist/node_modules/ip-address/dist/address-error.js.map +0 -1
  1197. package/dist/node_modules/ip-address/dist/common.d.ts +0 -15
  1198. package/dist/node_modules/ip-address/dist/common.d.ts.map +0 -1
  1199. package/dist/node_modules/ip-address/dist/common.js +0 -46
  1200. package/dist/node_modules/ip-address/dist/common.js.map +0 -1
  1201. package/dist/node_modules/ip-address/dist/ip-address.d.ts +0 -8
  1202. package/dist/node_modules/ip-address/dist/ip-address.d.ts.map +0 -1
  1203. package/dist/node_modules/ip-address/dist/ip-address.js +0 -35
  1204. package/dist/node_modules/ip-address/dist/ip-address.js.map +0 -1
  1205. package/dist/node_modules/ip-address/dist/ipv4.d.ts +0 -209
  1206. package/dist/node_modules/ip-address/dist/ipv4.d.ts.map +0 -1
  1207. package/dist/node_modules/ip-address/dist/ipv4.js +0 -360
  1208. package/dist/node_modules/ip-address/dist/ipv4.js.map +0 -1
  1209. package/dist/node_modules/ip-address/dist/ipv6.d.ts +0 -428
  1210. package/dist/node_modules/ip-address/dist/ipv6.d.ts.map +0 -1
  1211. package/dist/node_modules/ip-address/dist/ipv6.js +0 -1003
  1212. package/dist/node_modules/ip-address/dist/ipv6.js.map +0 -1
  1213. package/dist/node_modules/ip-address/dist/v4/constants.d.ts +0 -5
  1214. package/dist/node_modules/ip-address/dist/v4/constants.d.ts.map +0 -1
  1215. package/dist/node_modules/ip-address/dist/v4/constants.js +0 -8
  1216. package/dist/node_modules/ip-address/dist/v4/constants.js.map +0 -1
  1217. package/dist/node_modules/ip-address/dist/v6/constants.d.ts +0 -45
  1218. package/dist/node_modules/ip-address/dist/v6/constants.d.ts.map +0 -1
  1219. package/dist/node_modules/ip-address/dist/v6/constants.js +0 -76
  1220. package/dist/node_modules/ip-address/dist/v6/constants.js.map +0 -1
  1221. package/dist/node_modules/ip-address/dist/v6/helpers.d.ts +0 -18
  1222. package/dist/node_modules/ip-address/dist/v6/helpers.d.ts.map +0 -1
  1223. package/dist/node_modules/ip-address/dist/v6/helpers.js +0 -45
  1224. package/dist/node_modules/ip-address/dist/v6/helpers.js.map +0 -1
  1225. package/dist/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -6
  1226. package/dist/node_modules/ip-address/dist/v6/regular-expressions.d.ts.map +0 -1
  1227. package/dist/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
  1228. package/dist/node_modules/ip-address/dist/v6/regular-expressions.js.map +0 -1
  1229. package/dist/node_modules/ip-address/package.json +0 -78
  1230. package/dist/node_modules/ip-address/src/address-error.ts +0 -11
  1231. package/dist/node_modules/ip-address/src/common.ts +0 -55
  1232. package/dist/node_modules/ip-address/src/ip-address.ts +0 -7
  1233. package/dist/node_modules/ip-address/src/ipv4.ts +0 -394
  1234. package/dist/node_modules/ip-address/src/ipv6.ts +0 -1212
  1235. package/dist/node_modules/ip-address/src/v4/constants.ts +0 -7
  1236. package/dist/node_modules/ip-address/src/v6/constants.ts +0 -79
  1237. package/dist/node_modules/ip-address/src/v6/helpers.ts +0 -48
  1238. package/dist/node_modules/ip-address/src/v6/regular-expressions.ts +0 -94
  1239. package/dist/node_modules/js-sdsl/CHANGELOG.md +0 -211
  1240. package/dist/node_modules/js-sdsl/LICENSE +0 -21
  1241. package/dist/node_modules/js-sdsl/README.md +0 -296
  1242. package/dist/node_modules/js-sdsl/README.zh-CN.md +0 -298
  1243. package/dist/node_modules/js-sdsl/dist/cjs/container/ContainerBase/index.d.ts +0 -206
  1244. package/dist/node_modules/js-sdsl/dist/cjs/container/ContainerBase/index.js +0 -40
  1245. package/dist/node_modules/js-sdsl/dist/cjs/container/ContainerBase/index.js.map +0 -1
  1246. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/Base/index.d.ts +0 -29
  1247. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/Base/index.js +0 -188
  1248. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/Base/index.js.map +0 -1
  1249. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashMap.d.ts +0 -49
  1250. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashMap.js +0 -125
  1251. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashMap.js.map +0 -1
  1252. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashSet.d.ts +0 -39
  1253. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashSet.js +0 -94
  1254. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashSet.js.map +0 -1
  1255. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/PriorityQueue.d.ts +0 -79
  1256. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/PriorityQueue.js +0 -118
  1257. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/PriorityQueue.js.map +0 -1
  1258. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Queue.d.ts +0 -22
  1259. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Queue.js +0 -52
  1260. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Queue.js.map +0 -1
  1261. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Stack.d.ts +0 -22
  1262. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Stack.js +0 -42
  1263. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Stack.js.map +0 -1
  1264. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/RandomIterator.d.ts +0 -9
  1265. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/RandomIterator.js +0 -58
  1266. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/RandomIterator.js.map +0 -1
  1267. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/index.d.ts +0 -67
  1268. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/index.js +0 -16
  1269. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/index.js.map +0 -1
  1270. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Deque.d.ts +0 -58
  1271. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Deque.js +0 -338
  1272. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Deque.js.map +0 -1
  1273. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/LinkList.d.ts +0 -58
  1274. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/LinkList.js +0 -330
  1275. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/LinkList.js.map +0 -1
  1276. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Vector.d.ts +0 -40
  1277. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Vector.js +0 -158
  1278. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Vector.js.map +0 -1
  1279. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeIterator.d.ts +0 -18
  1280. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeIterator.js +0 -80
  1281. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeIterator.js.map +0 -1
  1282. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeNode.d.ts +0 -47
  1283. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeNode.js +0 -115
  1284. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeNode.js.map +0 -1
  1285. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/index.d.ts +0 -58
  1286. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/index.js +0 -514
  1287. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/index.js.map +0 -1
  1288. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedMap.d.ts +0 -62
  1289. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedMap.js +0 -127
  1290. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedMap.js.map +0 -1
  1291. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedSet.d.ts +0 -54
  1292. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedSet.js +0 -107
  1293. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedSet.js.map +0 -1
  1294. package/dist/node_modules/js-sdsl/dist/cjs/index.d.ts +0 -21
  1295. package/dist/node_modules/js-sdsl/dist/cjs/index.js +0 -102
  1296. package/dist/node_modules/js-sdsl/dist/cjs/index.js.map +0 -1
  1297. package/dist/node_modules/js-sdsl/dist/cjs/utils/checkObject.d.ts +0 -1
  1298. package/dist/node_modules/js-sdsl/dist/cjs/utils/checkObject.js +0 -13
  1299. package/dist/node_modules/js-sdsl/dist/cjs/utils/checkObject.js.map +0 -1
  1300. package/dist/node_modules/js-sdsl/dist/cjs/utils/throwError.d.ts +0 -1
  1301. package/dist/node_modules/js-sdsl/dist/cjs/utils/throwError.js +0 -12
  1302. package/dist/node_modules/js-sdsl/dist/cjs/utils/throwError.js.map +0 -1
  1303. package/dist/node_modules/js-sdsl/dist/esm/container/ContainerBase/index.d.ts +0 -206
  1304. package/dist/node_modules/js-sdsl/dist/esm/container/ContainerBase/index.js +0 -68
  1305. package/dist/node_modules/js-sdsl/dist/esm/container/ContainerBase/index.js.map +0 -1
  1306. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/Base/index.d.ts +0 -29
  1307. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/Base/index.js +0 -201
  1308. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/Base/index.js.map +0 -1
  1309. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashMap.d.ts +0 -49
  1310. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashMap.js +0 -248
  1311. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashMap.js.map +0 -1
  1312. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashSet.d.ts +0 -39
  1313. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashSet.js +0 -223
  1314. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashSet.js.map +0 -1
  1315. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/PriorityQueue.d.ts +0 -79
  1316. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/PriorityQueue.js +0 -171
  1317. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/PriorityQueue.js.map +0 -1
  1318. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Queue.d.ts +0 -22
  1319. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Queue.js +0 -69
  1320. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Queue.js.map +0 -1
  1321. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Stack.d.ts +0 -22
  1322. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Stack.js +0 -59
  1323. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Stack.js.map +0 -1
  1324. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/RandomIterator.d.ts +0 -9
  1325. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/RandomIterator.js +0 -78
  1326. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/RandomIterator.js.map +0 -1
  1327. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/index.d.ts +0 -67
  1328. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/index.js +0 -33
  1329. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/index.js.map +0 -1
  1330. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Deque.d.ts +0 -58
  1331. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Deque.js +0 -498
  1332. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Deque.js.map +0 -1
  1333. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/LinkList.d.ts +0 -58
  1334. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/LinkList.js +0 -456
  1335. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/LinkList.js.map +0 -1
  1336. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Vector.d.ts +0 -40
  1337. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Vector.js +0 -323
  1338. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Vector.js.map +0 -1
  1339. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeIterator.d.ts +0 -18
  1340. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeIterator.js +0 -98
  1341. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeIterator.js.map +0 -1
  1342. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeNode.d.ts +0 -47
  1343. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeNode.js +0 -132
  1344. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeNode.js.map +0 -1
  1345. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/index.d.ts +0 -58
  1346. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/index.js +0 -600
  1347. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/index.js.map +0 -1
  1348. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedMap.d.ts +0 -62
  1349. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedMap.js +0 -265
  1350. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedMap.js.map +0 -1
  1351. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedSet.d.ts +0 -54
  1352. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedSet.js +0 -245
  1353. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedSet.js.map +0 -1
  1354. package/dist/node_modules/js-sdsl/dist/esm/index.d.ts +0 -21
  1355. package/dist/node_modules/js-sdsl/dist/esm/index.js +0 -20
  1356. package/dist/node_modules/js-sdsl/dist/esm/index.js.map +0 -1
  1357. package/dist/node_modules/js-sdsl/dist/esm/utils/checkObject.d.ts +0 -1
  1358. package/dist/node_modules/js-sdsl/dist/esm/utils/checkObject.js +0 -5
  1359. package/dist/node_modules/js-sdsl/dist/esm/utils/checkObject.js.map +0 -1
  1360. package/dist/node_modules/js-sdsl/dist/esm/utils/throwError.d.ts +0 -1
  1361. package/dist/node_modules/js-sdsl/dist/esm/utils/throwError.js +0 -4
  1362. package/dist/node_modules/js-sdsl/dist/esm/utils/throwError.js.map +0 -1
  1363. package/dist/node_modules/js-sdsl/dist/umd/js-sdsl.js +0 -3154
  1364. package/dist/node_modules/js-sdsl/dist/umd/js-sdsl.min.js +0 -8
  1365. package/dist/node_modules/js-sdsl/dist/umd/js-sdsl.min.js.map +0 -1
  1366. package/dist/node_modules/js-sdsl/package.json +0 -166
  1367. package/dist/node_modules/lodash/LICENSE +0 -47
  1368. package/dist/node_modules/lodash/README.md +0 -39
  1369. package/dist/node_modules/lodash/_DataView.js +0 -7
  1370. package/dist/node_modules/lodash/_Hash.js +0 -32
  1371. package/dist/node_modules/lodash/_LazyWrapper.js +0 -28
  1372. package/dist/node_modules/lodash/_ListCache.js +0 -32
  1373. package/dist/node_modules/lodash/_LodashWrapper.js +0 -22
  1374. package/dist/node_modules/lodash/_Map.js +0 -7
  1375. package/dist/node_modules/lodash/_MapCache.js +0 -32
  1376. package/dist/node_modules/lodash/_Promise.js +0 -7
  1377. package/dist/node_modules/lodash/_Set.js +0 -7
  1378. package/dist/node_modules/lodash/_SetCache.js +0 -27
  1379. package/dist/node_modules/lodash/_Stack.js +0 -27
  1380. package/dist/node_modules/lodash/_Symbol.js +0 -6
  1381. package/dist/node_modules/lodash/_Uint8Array.js +0 -6
  1382. package/dist/node_modules/lodash/_WeakMap.js +0 -7
  1383. package/dist/node_modules/lodash/_apply.js +0 -21
  1384. package/dist/node_modules/lodash/_arrayAggregator.js +0 -22
  1385. package/dist/node_modules/lodash/_arrayEach.js +0 -22
  1386. package/dist/node_modules/lodash/_arrayEachRight.js +0 -21
  1387. package/dist/node_modules/lodash/_arrayEvery.js +0 -23
  1388. package/dist/node_modules/lodash/_arrayFilter.js +0 -25
  1389. package/dist/node_modules/lodash/_arrayIncludes.js +0 -17
  1390. package/dist/node_modules/lodash/_arrayIncludesWith.js +0 -22
  1391. package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -49
  1392. package/dist/node_modules/lodash/_arrayMap.js +0 -21
  1393. package/dist/node_modules/lodash/_arrayPush.js +0 -20
  1394. package/dist/node_modules/lodash/_arrayReduce.js +0 -26
  1395. package/dist/node_modules/lodash/_arrayReduceRight.js +0 -24
  1396. package/dist/node_modules/lodash/_arraySample.js +0 -15
  1397. package/dist/node_modules/lodash/_arraySampleSize.js +0 -17
  1398. package/dist/node_modules/lodash/_arrayShuffle.js +0 -15
  1399. package/dist/node_modules/lodash/_arraySome.js +0 -23
  1400. package/dist/node_modules/lodash/_asciiSize.js +0 -12
  1401. package/dist/node_modules/lodash/_asciiToArray.js +0 -12
  1402. package/dist/node_modules/lodash/_asciiWords.js +0 -15
  1403. package/dist/node_modules/lodash/_assignMergeValue.js +0 -20
  1404. package/dist/node_modules/lodash/_assignValue.js +0 -28
  1405. package/dist/node_modules/lodash/_assocIndexOf.js +0 -21
  1406. package/dist/node_modules/lodash/_baseAggregator.js +0 -21
  1407. package/dist/node_modules/lodash/_baseAssign.js +0 -17
  1408. package/dist/node_modules/lodash/_baseAssignIn.js +0 -17
  1409. package/dist/node_modules/lodash/_baseAssignValue.js +0 -25
  1410. package/dist/node_modules/lodash/_baseAt.js +0 -23
  1411. package/dist/node_modules/lodash/_baseClamp.js +0 -22
  1412. package/dist/node_modules/lodash/_baseClone.js +0 -166
  1413. package/dist/node_modules/lodash/_baseConforms.js +0 -18
  1414. package/dist/node_modules/lodash/_baseConformsTo.js +0 -27
  1415. package/dist/node_modules/lodash/_baseCreate.js +0 -30
  1416. package/dist/node_modules/lodash/_baseDelay.js +0 -21
  1417. package/dist/node_modules/lodash/_baseDifference.js +0 -67
  1418. package/dist/node_modules/lodash/_baseEach.js +0 -14
  1419. package/dist/node_modules/lodash/_baseEachRight.js +0 -14
  1420. package/dist/node_modules/lodash/_baseEvery.js +0 -21
  1421. package/dist/node_modules/lodash/_baseExtremum.js +0 -32
  1422. package/dist/node_modules/lodash/_baseFill.js +0 -32
  1423. package/dist/node_modules/lodash/_baseFilter.js +0 -21
  1424. package/dist/node_modules/lodash/_baseFindIndex.js +0 -24
  1425. package/dist/node_modules/lodash/_baseFindKey.js +0 -23
  1426. package/dist/node_modules/lodash/_baseFlatten.js +0 -38
  1427. package/dist/node_modules/lodash/_baseFor.js +0 -16
  1428. package/dist/node_modules/lodash/_baseForOwn.js +0 -16
  1429. package/dist/node_modules/lodash/_baseForOwnRight.js +0 -16
  1430. package/dist/node_modules/lodash/_baseForRight.js +0 -15
  1431. package/dist/node_modules/lodash/_baseFunctions.js +0 -19
  1432. package/dist/node_modules/lodash/_baseGet.js +0 -24
  1433. package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -20
  1434. package/dist/node_modules/lodash/_baseGetTag.js +0 -28
  1435. package/dist/node_modules/lodash/_baseGt.js +0 -14
  1436. package/dist/node_modules/lodash/_baseHas.js +0 -19
  1437. package/dist/node_modules/lodash/_baseHasIn.js +0 -13
  1438. package/dist/node_modules/lodash/_baseInRange.js +0 -18
  1439. package/dist/node_modules/lodash/_baseIndexOf.js +0 -20
  1440. package/dist/node_modules/lodash/_baseIndexOfWith.js +0 -23
  1441. package/dist/node_modules/lodash/_baseIntersection.js +0 -74
  1442. package/dist/node_modules/lodash/_baseInverter.js +0 -21
  1443. package/dist/node_modules/lodash/_baseInvoke.js +0 -24
  1444. package/dist/node_modules/lodash/_baseIsArguments.js +0 -18
  1445. package/dist/node_modules/lodash/_baseIsArrayBuffer.js +0 -17
  1446. package/dist/node_modules/lodash/_baseIsDate.js +0 -18
  1447. package/dist/node_modules/lodash/_baseIsEqual.js +0 -28
  1448. package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -83
  1449. package/dist/node_modules/lodash/_baseIsMap.js +0 -18
  1450. package/dist/node_modules/lodash/_baseIsMatch.js +0 -62
  1451. package/dist/node_modules/lodash/_baseIsNaN.js +0 -12
  1452. package/dist/node_modules/lodash/_baseIsNative.js +0 -47
  1453. package/dist/node_modules/lodash/_baseIsRegExp.js +0 -18
  1454. package/dist/node_modules/lodash/_baseIsSet.js +0 -18
  1455. package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -60
  1456. package/dist/node_modules/lodash/_baseIteratee.js +0 -31
  1457. package/dist/node_modules/lodash/_baseKeys.js +0 -30
  1458. package/dist/node_modules/lodash/_baseKeysIn.js +0 -33
  1459. package/dist/node_modules/lodash/_baseLodash.js +0 -10
  1460. package/dist/node_modules/lodash/_baseLt.js +0 -14
  1461. package/dist/node_modules/lodash/_baseMap.js +0 -22
  1462. package/dist/node_modules/lodash/_baseMatches.js +0 -22
  1463. package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -33
  1464. package/dist/node_modules/lodash/_baseMean.js +0 -20
  1465. package/dist/node_modules/lodash/_baseMerge.js +0 -42
  1466. package/dist/node_modules/lodash/_baseMergeDeep.js +0 -94
  1467. package/dist/node_modules/lodash/_baseNth.js +0 -20
  1468. package/dist/node_modules/lodash/_baseOrderBy.js +0 -49
  1469. package/dist/node_modules/lodash/_basePick.js +0 -19
  1470. package/dist/node_modules/lodash/_basePickBy.js +0 -30
  1471. package/dist/node_modules/lodash/_baseProperty.js +0 -14
  1472. package/dist/node_modules/lodash/_basePropertyDeep.js +0 -16
  1473. package/dist/node_modules/lodash/_basePropertyOf.js +0 -14
  1474. package/dist/node_modules/lodash/_basePullAll.js +0 -51
  1475. package/dist/node_modules/lodash/_basePullAt.js +0 -37
  1476. package/dist/node_modules/lodash/_baseRandom.js +0 -18
  1477. package/dist/node_modules/lodash/_baseRange.js +0 -28
  1478. package/dist/node_modules/lodash/_baseReduce.js +0 -23
  1479. package/dist/node_modules/lodash/_baseRepeat.js +0 -35
  1480. package/dist/node_modules/lodash/_baseRest.js +0 -17
  1481. package/dist/node_modules/lodash/_baseSample.js +0 -15
  1482. package/dist/node_modules/lodash/_baseSampleSize.js +0 -18
  1483. package/dist/node_modules/lodash/_baseSet.js +0 -51
  1484. package/dist/node_modules/lodash/_baseSetData.js +0 -17
  1485. package/dist/node_modules/lodash/_baseSetToString.js +0 -22
  1486. package/dist/node_modules/lodash/_baseShuffle.js +0 -15
  1487. package/dist/node_modules/lodash/_baseSlice.js +0 -31
  1488. package/dist/node_modules/lodash/_baseSome.js +0 -22
  1489. package/dist/node_modules/lodash/_baseSortBy.js +0 -21
  1490. package/dist/node_modules/lodash/_baseSortedIndex.js +0 -42
  1491. package/dist/node_modules/lodash/_baseSortedIndexBy.js +0 -67
  1492. package/dist/node_modules/lodash/_baseSortedUniq.js +0 -30
  1493. package/dist/node_modules/lodash/_baseSum.js +0 -24
  1494. package/dist/node_modules/lodash/_baseTimes.js +0 -20
  1495. package/dist/node_modules/lodash/_baseToNumber.js +0 -24
  1496. package/dist/node_modules/lodash/_baseToPairs.js +0 -18
  1497. package/dist/node_modules/lodash/_baseToString.js +0 -37
  1498. package/dist/node_modules/lodash/_baseTrim.js +0 -19
  1499. package/dist/node_modules/lodash/_baseUnary.js +0 -14
  1500. package/dist/node_modules/lodash/_baseUniq.js +0 -72
  1501. package/dist/node_modules/lodash/_baseUnset.js +0 -20
  1502. package/dist/node_modules/lodash/_baseUpdate.js +0 -18
  1503. package/dist/node_modules/lodash/_baseValues.js +0 -19
  1504. package/dist/node_modules/lodash/_baseWhile.js +0 -26
  1505. package/dist/node_modules/lodash/_baseWrapperValue.js +0 -25
  1506. package/dist/node_modules/lodash/_baseXor.js +0 -36
  1507. package/dist/node_modules/lodash/_baseZipObject.js +0 -23
  1508. package/dist/node_modules/lodash/_cacheHas.js +0 -13
  1509. package/dist/node_modules/lodash/_castArrayLikeObject.js +0 -14
  1510. package/dist/node_modules/lodash/_castFunction.js +0 -14
  1511. package/dist/node_modules/lodash/_castPath.js +0 -21
  1512. package/dist/node_modules/lodash/_castRest.js +0 -14
  1513. package/dist/node_modules/lodash/_castSlice.js +0 -18
  1514. package/dist/node_modules/lodash/_charsEndIndex.js +0 -19
  1515. package/dist/node_modules/lodash/_charsStartIndex.js +0 -20
  1516. package/dist/node_modules/lodash/_cloneArrayBuffer.js +0 -16
  1517. package/dist/node_modules/lodash/_cloneBuffer.js +0 -35
  1518. package/dist/node_modules/lodash/_cloneDataView.js +0 -16
  1519. package/dist/node_modules/lodash/_cloneRegExp.js +0 -17
  1520. package/dist/node_modules/lodash/_cloneSymbol.js +0 -18
  1521. package/dist/node_modules/lodash/_cloneTypedArray.js +0 -16
  1522. package/dist/node_modules/lodash/_compareAscending.js +0 -41
  1523. package/dist/node_modules/lodash/_compareMultiple.js +0 -44
  1524. package/dist/node_modules/lodash/_composeArgs.js +0 -39
  1525. package/dist/node_modules/lodash/_composeArgsRight.js +0 -41
  1526. package/dist/node_modules/lodash/_copyArray.js +0 -20
  1527. package/dist/node_modules/lodash/_copyObject.js +0 -40
  1528. package/dist/node_modules/lodash/_copySymbols.js +0 -16
  1529. package/dist/node_modules/lodash/_copySymbolsIn.js +0 -16
  1530. package/dist/node_modules/lodash/_coreJsData.js +0 -6
  1531. package/dist/node_modules/lodash/_countHolders.js +0 -21
  1532. package/dist/node_modules/lodash/_createAggregator.js +0 -23
  1533. package/dist/node_modules/lodash/_createAssigner.js +0 -37
  1534. package/dist/node_modules/lodash/_createBaseEach.js +0 -32
  1535. package/dist/node_modules/lodash/_createBaseFor.js +0 -25
  1536. package/dist/node_modules/lodash/_createBind.js +0 -28
  1537. package/dist/node_modules/lodash/_createCaseFirst.js +0 -33
  1538. package/dist/node_modules/lodash/_createCompounder.js +0 -24
  1539. package/dist/node_modules/lodash/_createCtor.js +0 -37
  1540. package/dist/node_modules/lodash/_createCurry.js +0 -46
  1541. package/dist/node_modules/lodash/_createFind.js +0 -25
  1542. package/dist/node_modules/lodash/_createFlow.js +0 -78
  1543. package/dist/node_modules/lodash/_createHybrid.js +0 -92
  1544. package/dist/node_modules/lodash/_createInverter.js +0 -17
  1545. package/dist/node_modules/lodash/_createMathOperation.js +0 -38
  1546. package/dist/node_modules/lodash/_createOver.js +0 -27
  1547. package/dist/node_modules/lodash/_createPadding.js +0 -33
  1548. package/dist/node_modules/lodash/_createPartial.js +0 -43
  1549. package/dist/node_modules/lodash/_createRange.js +0 -30
  1550. package/dist/node_modules/lodash/_createRecurry.js +0 -56
  1551. package/dist/node_modules/lodash/_createRelationalOperation.js +0 -20
  1552. package/dist/node_modules/lodash/_createRound.js +0 -35
  1553. package/dist/node_modules/lodash/_createSet.js +0 -19
  1554. package/dist/node_modules/lodash/_createToPairs.js +0 -30
  1555. package/dist/node_modules/lodash/_createWrap.js +0 -106
  1556. package/dist/node_modules/lodash/_customDefaultsAssignIn.js +0 -29
  1557. package/dist/node_modules/lodash/_customDefaultsMerge.js +0 -28
  1558. package/dist/node_modules/lodash/_customOmitClone.js +0 -16
  1559. package/dist/node_modules/lodash/_deburrLetter.js +0 -71
  1560. package/dist/node_modules/lodash/_defineProperty.js +0 -11
  1561. package/dist/node_modules/lodash/_equalArrays.js +0 -84
  1562. package/dist/node_modules/lodash/_equalByTag.js +0 -112
  1563. package/dist/node_modules/lodash/_equalObjects.js +0 -90
  1564. package/dist/node_modules/lodash/_escapeHtmlChar.js +0 -21
  1565. package/dist/node_modules/lodash/_escapeStringChar.js +0 -22
  1566. package/dist/node_modules/lodash/_flatRest.js +0 -16
  1567. package/dist/node_modules/lodash/_freeGlobal.js +0 -4
  1568. package/dist/node_modules/lodash/_getAllKeys.js +0 -16
  1569. package/dist/node_modules/lodash/_getAllKeysIn.js +0 -17
  1570. package/dist/node_modules/lodash/_getData.js +0 -15
  1571. package/dist/node_modules/lodash/_getFuncName.js +0 -31
  1572. package/dist/node_modules/lodash/_getHolder.js +0 -13
  1573. package/dist/node_modules/lodash/_getMapData.js +0 -18
  1574. package/dist/node_modules/lodash/_getMatchData.js +0 -24
  1575. package/dist/node_modules/lodash/_getNative.js +0 -17
  1576. package/dist/node_modules/lodash/_getPrototype.js +0 -6
  1577. package/dist/node_modules/lodash/_getRawTag.js +0 -46
  1578. package/dist/node_modules/lodash/_getSymbols.js +0 -30
  1579. package/dist/node_modules/lodash/_getSymbolsIn.js +0 -25
  1580. package/dist/node_modules/lodash/_getTag.js +0 -58
  1581. package/dist/node_modules/lodash/_getValue.js +0 -13
  1582. package/dist/node_modules/lodash/_getView.js +0 -33
  1583. package/dist/node_modules/lodash/_getWrapDetails.js +0 -17
  1584. package/dist/node_modules/lodash/_hasPath.js +0 -39
  1585. package/dist/node_modules/lodash/_hasUnicode.js +0 -26
  1586. package/dist/node_modules/lodash/_hasUnicodeWord.js +0 -15
  1587. package/dist/node_modules/lodash/_hashClear.js +0 -15
  1588. package/dist/node_modules/lodash/_hashDelete.js +0 -17
  1589. package/dist/node_modules/lodash/_hashGet.js +0 -30
  1590. package/dist/node_modules/lodash/_hashHas.js +0 -23
  1591. package/dist/node_modules/lodash/_hashSet.js +0 -23
  1592. package/dist/node_modules/lodash/_initCloneArray.js +0 -26
  1593. package/dist/node_modules/lodash/_initCloneByTag.js +0 -77
  1594. package/dist/node_modules/lodash/_initCloneObject.js +0 -18
  1595. package/dist/node_modules/lodash/_insertWrapDetails.js +0 -23
  1596. package/dist/node_modules/lodash/_isFlattenable.js +0 -20
  1597. package/dist/node_modules/lodash/_isIndex.js +0 -25
  1598. package/dist/node_modules/lodash/_isIterateeCall.js +0 -30
  1599. package/dist/node_modules/lodash/_isKey.js +0 -29
  1600. package/dist/node_modules/lodash/_isKeyable.js +0 -15
  1601. package/dist/node_modules/lodash/_isLaziable.js +0 -28
  1602. package/dist/node_modules/lodash/_isMaskable.js +0 -14
  1603. package/dist/node_modules/lodash/_isMasked.js +0 -20
  1604. package/dist/node_modules/lodash/_isPrototype.js +0 -18
  1605. package/dist/node_modules/lodash/_isStrictComparable.js +0 -15
  1606. package/dist/node_modules/lodash/_iteratorToArray.js +0 -18
  1607. package/dist/node_modules/lodash/_lazyClone.js +0 -23
  1608. package/dist/node_modules/lodash/_lazyReverse.js +0 -23
  1609. package/dist/node_modules/lodash/_lazyValue.js +0 -69
  1610. package/dist/node_modules/lodash/_listCacheClear.js +0 -13
  1611. package/dist/node_modules/lodash/_listCacheDelete.js +0 -35
  1612. package/dist/node_modules/lodash/_listCacheGet.js +0 -19
  1613. package/dist/node_modules/lodash/_listCacheHas.js +0 -16
  1614. package/dist/node_modules/lodash/_listCacheSet.js +0 -26
  1615. package/dist/node_modules/lodash/_mapCacheClear.js +0 -21
  1616. package/dist/node_modules/lodash/_mapCacheDelete.js +0 -18
  1617. package/dist/node_modules/lodash/_mapCacheGet.js +0 -16
  1618. package/dist/node_modules/lodash/_mapCacheHas.js +0 -16
  1619. package/dist/node_modules/lodash/_mapCacheSet.js +0 -22
  1620. package/dist/node_modules/lodash/_mapToArray.js +0 -18
  1621. package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -20
  1622. package/dist/node_modules/lodash/_memoizeCapped.js +0 -26
  1623. package/dist/node_modules/lodash/_mergeData.js +0 -90
  1624. package/dist/node_modules/lodash/_metaMap.js +0 -6
  1625. package/dist/node_modules/lodash/_nativeCreate.js +0 -6
  1626. package/dist/node_modules/lodash/_nativeKeys.js +0 -6
  1627. package/dist/node_modules/lodash/_nativeKeysIn.js +0 -20
  1628. package/dist/node_modules/lodash/_nodeUtil.js +0 -30
  1629. package/dist/node_modules/lodash/_objectToString.js +0 -22
  1630. package/dist/node_modules/lodash/_overArg.js +0 -15
  1631. package/dist/node_modules/lodash/_overRest.js +0 -36
  1632. package/dist/node_modules/lodash/_parent.js +0 -16
  1633. package/dist/node_modules/lodash/_reEscape.js +0 -4
  1634. package/dist/node_modules/lodash/_reEvaluate.js +0 -4
  1635. package/dist/node_modules/lodash/_reInterpolate.js +0 -4
  1636. package/dist/node_modules/lodash/_realNames.js +0 -4
  1637. package/dist/node_modules/lodash/_reorder.js +0 -29
  1638. package/dist/node_modules/lodash/_replaceHolders.js +0 -29
  1639. package/dist/node_modules/lodash/_root.js +0 -9
  1640. package/dist/node_modules/lodash/_safeGet.js +0 -21
  1641. package/dist/node_modules/lodash/_setCacheAdd.js +0 -19
  1642. package/dist/node_modules/lodash/_setCacheHas.js +0 -14
  1643. package/dist/node_modules/lodash/_setData.js +0 -20
  1644. package/dist/node_modules/lodash/_setToArray.js +0 -18
  1645. package/dist/node_modules/lodash/_setToPairs.js +0 -18
  1646. package/dist/node_modules/lodash/_setToString.js +0 -14
  1647. package/dist/node_modules/lodash/_setWrapToString.js +0 -21
  1648. package/dist/node_modules/lodash/_shortOut.js +0 -37
  1649. package/dist/node_modules/lodash/_shuffleSelf.js +0 -28
  1650. package/dist/node_modules/lodash/_stackClear.js +0 -15
  1651. package/dist/node_modules/lodash/_stackDelete.js +0 -18
  1652. package/dist/node_modules/lodash/_stackGet.js +0 -14
  1653. package/dist/node_modules/lodash/_stackHas.js +0 -14
  1654. package/dist/node_modules/lodash/_stackSet.js +0 -34
  1655. package/dist/node_modules/lodash/_strictIndexOf.js +0 -23
  1656. package/dist/node_modules/lodash/_strictLastIndexOf.js +0 -21
  1657. package/dist/node_modules/lodash/_stringSize.js +0 -18
  1658. package/dist/node_modules/lodash/_stringToArray.js +0 -18
  1659. package/dist/node_modules/lodash/_stringToPath.js +0 -27
  1660. package/dist/node_modules/lodash/_toKey.js +0 -21
  1661. package/dist/node_modules/lodash/_toSource.js +0 -26
  1662. package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -19
  1663. package/dist/node_modules/lodash/_unescapeHtmlChar.js +0 -21
  1664. package/dist/node_modules/lodash/_unicodeSize.js +0 -44
  1665. package/dist/node_modules/lodash/_unicodeToArray.js +0 -40
  1666. package/dist/node_modules/lodash/_unicodeWords.js +0 -69
  1667. package/dist/node_modules/lodash/_updateWrapDetails.js +0 -46
  1668. package/dist/node_modules/lodash/_wrapperClone.js +0 -23
  1669. package/dist/node_modules/lodash/add.js +0 -22
  1670. package/dist/node_modules/lodash/after.js +0 -42
  1671. package/dist/node_modules/lodash/array.js +0 -67
  1672. package/dist/node_modules/lodash/ary.js +0 -29
  1673. package/dist/node_modules/lodash/assign.js +0 -58
  1674. package/dist/node_modules/lodash/assignIn.js +0 -40
  1675. package/dist/node_modules/lodash/assignInWith.js +0 -38
  1676. package/dist/node_modules/lodash/assignWith.js +0 -37
  1677. package/dist/node_modules/lodash/at.js +0 -23
  1678. package/dist/node_modules/lodash/attempt.js +0 -35
  1679. package/dist/node_modules/lodash/before.js +0 -40
  1680. package/dist/node_modules/lodash/bind.js +0 -57
  1681. package/dist/node_modules/lodash/bindAll.js +0 -41
  1682. package/dist/node_modules/lodash/bindKey.js +0 -68
  1683. package/dist/node_modules/lodash/camelCase.js +0 -29
  1684. package/dist/node_modules/lodash/capitalize.js +0 -23
  1685. package/dist/node_modules/lodash/castArray.js +0 -44
  1686. package/dist/node_modules/lodash/ceil.js +0 -26
  1687. package/dist/node_modules/lodash/chain.js +0 -38
  1688. package/dist/node_modules/lodash/chunk.js +0 -50
  1689. package/dist/node_modules/lodash/clamp.js +0 -39
  1690. package/dist/node_modules/lodash/clone.js +0 -36
  1691. package/dist/node_modules/lodash/cloneDeep.js +0 -29
  1692. package/dist/node_modules/lodash/cloneDeepWith.js +0 -40
  1693. package/dist/node_modules/lodash/cloneWith.js +0 -42
  1694. package/dist/node_modules/lodash/collection.js +0 -30
  1695. package/dist/node_modules/lodash/commit.js +0 -33
  1696. package/dist/node_modules/lodash/compact.js +0 -31
  1697. package/dist/node_modules/lodash/concat.js +0 -43
  1698. package/dist/node_modules/lodash/cond.js +0 -60
  1699. package/dist/node_modules/lodash/conforms.js +0 -35
  1700. package/dist/node_modules/lodash/conformsTo.js +0 -32
  1701. package/dist/node_modules/lodash/constant.js +0 -26
  1702. package/dist/node_modules/lodash/core.js +0 -3877
  1703. package/dist/node_modules/lodash/core.min.js +0 -29
  1704. package/dist/node_modules/lodash/countBy.js +0 -40
  1705. package/dist/node_modules/lodash/create.js +0 -43
  1706. package/dist/node_modules/lodash/curry.js +0 -57
  1707. package/dist/node_modules/lodash/curryRight.js +0 -54
  1708. package/dist/node_modules/lodash/date.js +0 -3
  1709. package/dist/node_modules/lodash/debounce.js +0 -191
  1710. package/dist/node_modules/lodash/deburr.js +0 -45
  1711. package/dist/node_modules/lodash/defaultTo.js +0 -25
  1712. package/dist/node_modules/lodash/defaults.js +0 -64
  1713. package/dist/node_modules/lodash/defaultsDeep.js +0 -30
  1714. package/dist/node_modules/lodash/defer.js +0 -26
  1715. package/dist/node_modules/lodash/delay.js +0 -28
  1716. package/dist/node_modules/lodash/difference.js +0 -33
  1717. package/dist/node_modules/lodash/differenceBy.js +0 -44
  1718. package/dist/node_modules/lodash/differenceWith.js +0 -40
  1719. package/dist/node_modules/lodash/divide.js +0 -22
  1720. package/dist/node_modules/lodash/drop.js +0 -38
  1721. package/dist/node_modules/lodash/dropRight.js +0 -39
  1722. package/dist/node_modules/lodash/dropRightWhile.js +0 -45
  1723. package/dist/node_modules/lodash/dropWhile.js +0 -45
  1724. package/dist/node_modules/lodash/each.js +0 -1
  1725. package/dist/node_modules/lodash/eachRight.js +0 -1
  1726. package/dist/node_modules/lodash/endsWith.js +0 -43
  1727. package/dist/node_modules/lodash/entries.js +0 -1
  1728. package/dist/node_modules/lodash/entriesIn.js +0 -1
  1729. package/dist/node_modules/lodash/eq.js +0 -37
  1730. package/dist/node_modules/lodash/escape.js +0 -43
  1731. package/dist/node_modules/lodash/escapeRegExp.js +0 -32
  1732. package/dist/node_modules/lodash/every.js +0 -56
  1733. package/dist/node_modules/lodash/extend.js +0 -1
  1734. package/dist/node_modules/lodash/extendWith.js +0 -1
  1735. package/dist/node_modules/lodash/fill.js +0 -45
  1736. package/dist/node_modules/lodash/filter.js +0 -52
  1737. package/dist/node_modules/lodash/find.js +0 -42
  1738. package/dist/node_modules/lodash/findIndex.js +0 -55
  1739. package/dist/node_modules/lodash/findKey.js +0 -44
  1740. package/dist/node_modules/lodash/findLast.js +0 -25
  1741. package/dist/node_modules/lodash/findLastIndex.js +0 -59
  1742. package/dist/node_modules/lodash/findLastKey.js +0 -44
  1743. package/dist/node_modules/lodash/first.js +0 -1
  1744. package/dist/node_modules/lodash/flake.lock +0 -40
  1745. package/dist/node_modules/lodash/flake.nix +0 -20
  1746. package/dist/node_modules/lodash/flatMap.js +0 -29
  1747. package/dist/node_modules/lodash/flatMapDeep.js +0 -31
  1748. package/dist/node_modules/lodash/flatMapDepth.js +0 -31
  1749. package/dist/node_modules/lodash/flatten.js +0 -22
  1750. package/dist/node_modules/lodash/flattenDeep.js +0 -25
  1751. package/dist/node_modules/lodash/flattenDepth.js +0 -33
  1752. package/dist/node_modules/lodash/flip.js +0 -28
  1753. package/dist/node_modules/lodash/floor.js +0 -26
  1754. package/dist/node_modules/lodash/flow.js +0 -27
  1755. package/dist/node_modules/lodash/flowRight.js +0 -26
  1756. package/dist/node_modules/lodash/forEach.js +0 -41
  1757. package/dist/node_modules/lodash/forEachRight.js +0 -31
  1758. package/dist/node_modules/lodash/forIn.js +0 -39
  1759. package/dist/node_modules/lodash/forInRight.js +0 -37
  1760. package/dist/node_modules/lodash/forOwn.js +0 -36
  1761. package/dist/node_modules/lodash/forOwnRight.js +0 -34
  1762. package/dist/node_modules/lodash/fp/F.js +0 -1
  1763. package/dist/node_modules/lodash/fp/T.js +0 -1
  1764. package/dist/node_modules/lodash/fp/__.js +0 -1
  1765. package/dist/node_modules/lodash/fp/_baseConvert.js +0 -569
  1766. package/dist/node_modules/lodash/fp/_convertBrowser.js +0 -18
  1767. package/dist/node_modules/lodash/fp/_falseOptions.js +0 -7
  1768. package/dist/node_modules/lodash/fp/_mapping.js +0 -358
  1769. package/dist/node_modules/lodash/fp/_util.js +0 -16
  1770. package/dist/node_modules/lodash/fp/add.js +0 -5
  1771. package/dist/node_modules/lodash/fp/after.js +0 -5
  1772. package/dist/node_modules/lodash/fp/all.js +0 -1
  1773. package/dist/node_modules/lodash/fp/allPass.js +0 -1
  1774. package/dist/node_modules/lodash/fp/always.js +0 -1
  1775. package/dist/node_modules/lodash/fp/any.js +0 -1
  1776. package/dist/node_modules/lodash/fp/anyPass.js +0 -1
  1777. package/dist/node_modules/lodash/fp/apply.js +0 -1
  1778. package/dist/node_modules/lodash/fp/array.js +0 -2
  1779. package/dist/node_modules/lodash/fp/ary.js +0 -5
  1780. package/dist/node_modules/lodash/fp/assign.js +0 -5
  1781. package/dist/node_modules/lodash/fp/assignAll.js +0 -5
  1782. package/dist/node_modules/lodash/fp/assignAllWith.js +0 -5
  1783. package/dist/node_modules/lodash/fp/assignIn.js +0 -5
  1784. package/dist/node_modules/lodash/fp/assignInAll.js +0 -5
  1785. package/dist/node_modules/lodash/fp/assignInAllWith.js +0 -5
  1786. package/dist/node_modules/lodash/fp/assignInWith.js +0 -5
  1787. package/dist/node_modules/lodash/fp/assignWith.js +0 -5
  1788. package/dist/node_modules/lodash/fp/assoc.js +0 -1
  1789. package/dist/node_modules/lodash/fp/assocPath.js +0 -1
  1790. package/dist/node_modules/lodash/fp/at.js +0 -5
  1791. package/dist/node_modules/lodash/fp/attempt.js +0 -5
  1792. package/dist/node_modules/lodash/fp/before.js +0 -5
  1793. package/dist/node_modules/lodash/fp/bind.js +0 -5
  1794. package/dist/node_modules/lodash/fp/bindAll.js +0 -5
  1795. package/dist/node_modules/lodash/fp/bindKey.js +0 -5
  1796. package/dist/node_modules/lodash/fp/camelCase.js +0 -5
  1797. package/dist/node_modules/lodash/fp/capitalize.js +0 -5
  1798. package/dist/node_modules/lodash/fp/castArray.js +0 -5
  1799. package/dist/node_modules/lodash/fp/ceil.js +0 -5
  1800. package/dist/node_modules/lodash/fp/chain.js +0 -5
  1801. package/dist/node_modules/lodash/fp/chunk.js +0 -5
  1802. package/dist/node_modules/lodash/fp/clamp.js +0 -5
  1803. package/dist/node_modules/lodash/fp/clone.js +0 -5
  1804. package/dist/node_modules/lodash/fp/cloneDeep.js +0 -5
  1805. package/dist/node_modules/lodash/fp/cloneDeepWith.js +0 -5
  1806. package/dist/node_modules/lodash/fp/cloneWith.js +0 -5
  1807. package/dist/node_modules/lodash/fp/collection.js +0 -2
  1808. package/dist/node_modules/lodash/fp/commit.js +0 -5
  1809. package/dist/node_modules/lodash/fp/compact.js +0 -5
  1810. package/dist/node_modules/lodash/fp/complement.js +0 -1
  1811. package/dist/node_modules/lodash/fp/compose.js +0 -1
  1812. package/dist/node_modules/lodash/fp/concat.js +0 -5
  1813. package/dist/node_modules/lodash/fp/cond.js +0 -5
  1814. package/dist/node_modules/lodash/fp/conforms.js +0 -1
  1815. package/dist/node_modules/lodash/fp/conformsTo.js +0 -5
  1816. package/dist/node_modules/lodash/fp/constant.js +0 -5
  1817. package/dist/node_modules/lodash/fp/contains.js +0 -1
  1818. package/dist/node_modules/lodash/fp/convert.js +0 -18
  1819. package/dist/node_modules/lodash/fp/countBy.js +0 -5
  1820. package/dist/node_modules/lodash/fp/create.js +0 -5
  1821. package/dist/node_modules/lodash/fp/curry.js +0 -5
  1822. package/dist/node_modules/lodash/fp/curryN.js +0 -5
  1823. package/dist/node_modules/lodash/fp/curryRight.js +0 -5
  1824. package/dist/node_modules/lodash/fp/curryRightN.js +0 -5
  1825. package/dist/node_modules/lodash/fp/date.js +0 -2
  1826. package/dist/node_modules/lodash/fp/debounce.js +0 -5
  1827. package/dist/node_modules/lodash/fp/deburr.js +0 -5
  1828. package/dist/node_modules/lodash/fp/defaultTo.js +0 -5
  1829. package/dist/node_modules/lodash/fp/defaults.js +0 -5
  1830. package/dist/node_modules/lodash/fp/defaultsAll.js +0 -5
  1831. package/dist/node_modules/lodash/fp/defaultsDeep.js +0 -5
  1832. package/dist/node_modules/lodash/fp/defaultsDeepAll.js +0 -5
  1833. package/dist/node_modules/lodash/fp/defer.js +0 -5
  1834. package/dist/node_modules/lodash/fp/delay.js +0 -5
  1835. package/dist/node_modules/lodash/fp/difference.js +0 -5
  1836. package/dist/node_modules/lodash/fp/differenceBy.js +0 -5
  1837. package/dist/node_modules/lodash/fp/differenceWith.js +0 -5
  1838. package/dist/node_modules/lodash/fp/dissoc.js +0 -1
  1839. package/dist/node_modules/lodash/fp/dissocPath.js +0 -1
  1840. package/dist/node_modules/lodash/fp/divide.js +0 -5
  1841. package/dist/node_modules/lodash/fp/drop.js +0 -5
  1842. package/dist/node_modules/lodash/fp/dropLast.js +0 -1
  1843. package/dist/node_modules/lodash/fp/dropLastWhile.js +0 -1
  1844. package/dist/node_modules/lodash/fp/dropRight.js +0 -5
  1845. package/dist/node_modules/lodash/fp/dropRightWhile.js +0 -5
  1846. package/dist/node_modules/lodash/fp/dropWhile.js +0 -5
  1847. package/dist/node_modules/lodash/fp/each.js +0 -1
  1848. package/dist/node_modules/lodash/fp/eachRight.js +0 -1
  1849. package/dist/node_modules/lodash/fp/endsWith.js +0 -5
  1850. package/dist/node_modules/lodash/fp/entries.js +0 -1
  1851. package/dist/node_modules/lodash/fp/entriesIn.js +0 -1
  1852. package/dist/node_modules/lodash/fp/eq.js +0 -5
  1853. package/dist/node_modules/lodash/fp/equals.js +0 -1
  1854. package/dist/node_modules/lodash/fp/escape.js +0 -5
  1855. package/dist/node_modules/lodash/fp/escapeRegExp.js +0 -5
  1856. package/dist/node_modules/lodash/fp/every.js +0 -5
  1857. package/dist/node_modules/lodash/fp/extend.js +0 -1
  1858. package/dist/node_modules/lodash/fp/extendAll.js +0 -1
  1859. package/dist/node_modules/lodash/fp/extendAllWith.js +0 -1
  1860. package/dist/node_modules/lodash/fp/extendWith.js +0 -1
  1861. package/dist/node_modules/lodash/fp/fill.js +0 -5
  1862. package/dist/node_modules/lodash/fp/filter.js +0 -5
  1863. package/dist/node_modules/lodash/fp/find.js +0 -5
  1864. package/dist/node_modules/lodash/fp/findFrom.js +0 -5
  1865. package/dist/node_modules/lodash/fp/findIndex.js +0 -5
  1866. package/dist/node_modules/lodash/fp/findIndexFrom.js +0 -5
  1867. package/dist/node_modules/lodash/fp/findKey.js +0 -5
  1868. package/dist/node_modules/lodash/fp/findLast.js +0 -5
  1869. package/dist/node_modules/lodash/fp/findLastFrom.js +0 -5
  1870. package/dist/node_modules/lodash/fp/findLastIndex.js +0 -5
  1871. package/dist/node_modules/lodash/fp/findLastIndexFrom.js +0 -5
  1872. package/dist/node_modules/lodash/fp/findLastKey.js +0 -5
  1873. package/dist/node_modules/lodash/fp/first.js +0 -1
  1874. package/dist/node_modules/lodash/fp/flatMap.js +0 -5
  1875. package/dist/node_modules/lodash/fp/flatMapDeep.js +0 -5
  1876. package/dist/node_modules/lodash/fp/flatMapDepth.js +0 -5
  1877. package/dist/node_modules/lodash/fp/flatten.js +0 -5
  1878. package/dist/node_modules/lodash/fp/flattenDeep.js +0 -5
  1879. package/dist/node_modules/lodash/fp/flattenDepth.js +0 -5
  1880. package/dist/node_modules/lodash/fp/flip.js +0 -5
  1881. package/dist/node_modules/lodash/fp/floor.js +0 -5
  1882. package/dist/node_modules/lodash/fp/flow.js +0 -5
  1883. package/dist/node_modules/lodash/fp/flowRight.js +0 -5
  1884. package/dist/node_modules/lodash/fp/forEach.js +0 -5
  1885. package/dist/node_modules/lodash/fp/forEachRight.js +0 -5
  1886. package/dist/node_modules/lodash/fp/forIn.js +0 -5
  1887. package/dist/node_modules/lodash/fp/forInRight.js +0 -5
  1888. package/dist/node_modules/lodash/fp/forOwn.js +0 -5
  1889. package/dist/node_modules/lodash/fp/forOwnRight.js +0 -5
  1890. package/dist/node_modules/lodash/fp/fromPairs.js +0 -5
  1891. package/dist/node_modules/lodash/fp/function.js +0 -2
  1892. package/dist/node_modules/lodash/fp/functions.js +0 -5
  1893. package/dist/node_modules/lodash/fp/functionsIn.js +0 -5
  1894. package/dist/node_modules/lodash/fp/get.js +0 -5
  1895. package/dist/node_modules/lodash/fp/getOr.js +0 -5
  1896. package/dist/node_modules/lodash/fp/groupBy.js +0 -5
  1897. package/dist/node_modules/lodash/fp/gt.js +0 -5
  1898. package/dist/node_modules/lodash/fp/gte.js +0 -5
  1899. package/dist/node_modules/lodash/fp/has.js +0 -5
  1900. package/dist/node_modules/lodash/fp/hasIn.js +0 -5
  1901. package/dist/node_modules/lodash/fp/head.js +0 -5
  1902. package/dist/node_modules/lodash/fp/identical.js +0 -1
  1903. package/dist/node_modules/lodash/fp/identity.js +0 -5
  1904. package/dist/node_modules/lodash/fp/inRange.js +0 -5
  1905. package/dist/node_modules/lodash/fp/includes.js +0 -5
  1906. package/dist/node_modules/lodash/fp/includesFrom.js +0 -5
  1907. package/dist/node_modules/lodash/fp/indexBy.js +0 -1
  1908. package/dist/node_modules/lodash/fp/indexOf.js +0 -5
  1909. package/dist/node_modules/lodash/fp/indexOfFrom.js +0 -5
  1910. package/dist/node_modules/lodash/fp/init.js +0 -1
  1911. package/dist/node_modules/lodash/fp/initial.js +0 -5
  1912. package/dist/node_modules/lodash/fp/intersection.js +0 -5
  1913. package/dist/node_modules/lodash/fp/intersectionBy.js +0 -5
  1914. package/dist/node_modules/lodash/fp/intersectionWith.js +0 -5
  1915. package/dist/node_modules/lodash/fp/invert.js +0 -5
  1916. package/dist/node_modules/lodash/fp/invertBy.js +0 -5
  1917. package/dist/node_modules/lodash/fp/invertObj.js +0 -1
  1918. package/dist/node_modules/lodash/fp/invoke.js +0 -5
  1919. package/dist/node_modules/lodash/fp/invokeArgs.js +0 -5
  1920. package/dist/node_modules/lodash/fp/invokeArgsMap.js +0 -5
  1921. package/dist/node_modules/lodash/fp/invokeMap.js +0 -5
  1922. package/dist/node_modules/lodash/fp/isArguments.js +0 -5
  1923. package/dist/node_modules/lodash/fp/isArray.js +0 -5
  1924. package/dist/node_modules/lodash/fp/isArrayBuffer.js +0 -5
  1925. package/dist/node_modules/lodash/fp/isArrayLike.js +0 -5
  1926. package/dist/node_modules/lodash/fp/isArrayLikeObject.js +0 -5
  1927. package/dist/node_modules/lodash/fp/isBoolean.js +0 -5
  1928. package/dist/node_modules/lodash/fp/isBuffer.js +0 -5
  1929. package/dist/node_modules/lodash/fp/isDate.js +0 -5
  1930. package/dist/node_modules/lodash/fp/isElement.js +0 -5
  1931. package/dist/node_modules/lodash/fp/isEmpty.js +0 -5
  1932. package/dist/node_modules/lodash/fp/isEqual.js +0 -5
  1933. package/dist/node_modules/lodash/fp/isEqualWith.js +0 -5
  1934. package/dist/node_modules/lodash/fp/isError.js +0 -5
  1935. package/dist/node_modules/lodash/fp/isFinite.js +0 -5
  1936. package/dist/node_modules/lodash/fp/isFunction.js +0 -5
  1937. package/dist/node_modules/lodash/fp/isInteger.js +0 -5
  1938. package/dist/node_modules/lodash/fp/isLength.js +0 -5
  1939. package/dist/node_modules/lodash/fp/isMap.js +0 -5
  1940. package/dist/node_modules/lodash/fp/isMatch.js +0 -5
  1941. package/dist/node_modules/lodash/fp/isMatchWith.js +0 -5
  1942. package/dist/node_modules/lodash/fp/isNaN.js +0 -5
  1943. package/dist/node_modules/lodash/fp/isNative.js +0 -5
  1944. package/dist/node_modules/lodash/fp/isNil.js +0 -5
  1945. package/dist/node_modules/lodash/fp/isNull.js +0 -5
  1946. package/dist/node_modules/lodash/fp/isNumber.js +0 -5
  1947. package/dist/node_modules/lodash/fp/isObject.js +0 -5
  1948. package/dist/node_modules/lodash/fp/isObjectLike.js +0 -5
  1949. package/dist/node_modules/lodash/fp/isPlainObject.js +0 -5
  1950. package/dist/node_modules/lodash/fp/isRegExp.js +0 -5
  1951. package/dist/node_modules/lodash/fp/isSafeInteger.js +0 -5
  1952. package/dist/node_modules/lodash/fp/isSet.js +0 -5
  1953. package/dist/node_modules/lodash/fp/isString.js +0 -5
  1954. package/dist/node_modules/lodash/fp/isSymbol.js +0 -5
  1955. package/dist/node_modules/lodash/fp/isTypedArray.js +0 -5
  1956. package/dist/node_modules/lodash/fp/isUndefined.js +0 -5
  1957. package/dist/node_modules/lodash/fp/isWeakMap.js +0 -5
  1958. package/dist/node_modules/lodash/fp/isWeakSet.js +0 -5
  1959. package/dist/node_modules/lodash/fp/iteratee.js +0 -5
  1960. package/dist/node_modules/lodash/fp/join.js +0 -5
  1961. package/dist/node_modules/lodash/fp/juxt.js +0 -1
  1962. package/dist/node_modules/lodash/fp/kebabCase.js +0 -5
  1963. package/dist/node_modules/lodash/fp/keyBy.js +0 -5
  1964. package/dist/node_modules/lodash/fp/keys.js +0 -5
  1965. package/dist/node_modules/lodash/fp/keysIn.js +0 -5
  1966. package/dist/node_modules/lodash/fp/lang.js +0 -2
  1967. package/dist/node_modules/lodash/fp/last.js +0 -5
  1968. package/dist/node_modules/lodash/fp/lastIndexOf.js +0 -5
  1969. package/dist/node_modules/lodash/fp/lastIndexOfFrom.js +0 -5
  1970. package/dist/node_modules/lodash/fp/lowerCase.js +0 -5
  1971. package/dist/node_modules/lodash/fp/lowerFirst.js +0 -5
  1972. package/dist/node_modules/lodash/fp/lt.js +0 -5
  1973. package/dist/node_modules/lodash/fp/lte.js +0 -5
  1974. package/dist/node_modules/lodash/fp/map.js +0 -5
  1975. package/dist/node_modules/lodash/fp/mapKeys.js +0 -5
  1976. package/dist/node_modules/lodash/fp/mapValues.js +0 -5
  1977. package/dist/node_modules/lodash/fp/matches.js +0 -1
  1978. package/dist/node_modules/lodash/fp/matchesProperty.js +0 -5
  1979. package/dist/node_modules/lodash/fp/math.js +0 -2
  1980. package/dist/node_modules/lodash/fp/max.js +0 -5
  1981. package/dist/node_modules/lodash/fp/maxBy.js +0 -5
  1982. package/dist/node_modules/lodash/fp/mean.js +0 -5
  1983. package/dist/node_modules/lodash/fp/meanBy.js +0 -5
  1984. package/dist/node_modules/lodash/fp/memoize.js +0 -5
  1985. package/dist/node_modules/lodash/fp/merge.js +0 -5
  1986. package/dist/node_modules/lodash/fp/mergeAll.js +0 -5
  1987. package/dist/node_modules/lodash/fp/mergeAllWith.js +0 -5
  1988. package/dist/node_modules/lodash/fp/mergeWith.js +0 -5
  1989. package/dist/node_modules/lodash/fp/method.js +0 -5
  1990. package/dist/node_modules/lodash/fp/methodOf.js +0 -5
  1991. package/dist/node_modules/lodash/fp/min.js +0 -5
  1992. package/dist/node_modules/lodash/fp/minBy.js +0 -5
  1993. package/dist/node_modules/lodash/fp/mixin.js +0 -5
  1994. package/dist/node_modules/lodash/fp/multiply.js +0 -5
  1995. package/dist/node_modules/lodash/fp/nAry.js +0 -1
  1996. package/dist/node_modules/lodash/fp/negate.js +0 -5
  1997. package/dist/node_modules/lodash/fp/next.js +0 -5
  1998. package/dist/node_modules/lodash/fp/noop.js +0 -5
  1999. package/dist/node_modules/lodash/fp/now.js +0 -5
  2000. package/dist/node_modules/lodash/fp/nth.js +0 -5
  2001. package/dist/node_modules/lodash/fp/nthArg.js +0 -5
  2002. package/dist/node_modules/lodash/fp/number.js +0 -2
  2003. package/dist/node_modules/lodash/fp/object.js +0 -2
  2004. package/dist/node_modules/lodash/fp/omit.js +0 -5
  2005. package/dist/node_modules/lodash/fp/omitAll.js +0 -1
  2006. package/dist/node_modules/lodash/fp/omitBy.js +0 -5
  2007. package/dist/node_modules/lodash/fp/once.js +0 -5
  2008. package/dist/node_modules/lodash/fp/orderBy.js +0 -5
  2009. package/dist/node_modules/lodash/fp/over.js +0 -5
  2010. package/dist/node_modules/lodash/fp/overArgs.js +0 -5
  2011. package/dist/node_modules/lodash/fp/overEvery.js +0 -5
  2012. package/dist/node_modules/lodash/fp/overSome.js +0 -5
  2013. package/dist/node_modules/lodash/fp/pad.js +0 -5
  2014. package/dist/node_modules/lodash/fp/padChars.js +0 -5
  2015. package/dist/node_modules/lodash/fp/padCharsEnd.js +0 -5
  2016. package/dist/node_modules/lodash/fp/padCharsStart.js +0 -5
  2017. package/dist/node_modules/lodash/fp/padEnd.js +0 -5
  2018. package/dist/node_modules/lodash/fp/padStart.js +0 -5
  2019. package/dist/node_modules/lodash/fp/parseInt.js +0 -5
  2020. package/dist/node_modules/lodash/fp/partial.js +0 -5
  2021. package/dist/node_modules/lodash/fp/partialRight.js +0 -5
  2022. package/dist/node_modules/lodash/fp/partition.js +0 -5
  2023. package/dist/node_modules/lodash/fp/path.js +0 -1
  2024. package/dist/node_modules/lodash/fp/pathEq.js +0 -1
  2025. package/dist/node_modules/lodash/fp/pathOr.js +0 -1
  2026. package/dist/node_modules/lodash/fp/paths.js +0 -1
  2027. package/dist/node_modules/lodash/fp/pick.js +0 -5
  2028. package/dist/node_modules/lodash/fp/pickAll.js +0 -1
  2029. package/dist/node_modules/lodash/fp/pickBy.js +0 -5
  2030. package/dist/node_modules/lodash/fp/pipe.js +0 -1
  2031. package/dist/node_modules/lodash/fp/placeholder.js +0 -6
  2032. package/dist/node_modules/lodash/fp/plant.js +0 -5
  2033. package/dist/node_modules/lodash/fp/pluck.js +0 -1
  2034. package/dist/node_modules/lodash/fp/prop.js +0 -1
  2035. package/dist/node_modules/lodash/fp/propEq.js +0 -1
  2036. package/dist/node_modules/lodash/fp/propOr.js +0 -1
  2037. package/dist/node_modules/lodash/fp/property.js +0 -1
  2038. package/dist/node_modules/lodash/fp/propertyOf.js +0 -5
  2039. package/dist/node_modules/lodash/fp/props.js +0 -1
  2040. package/dist/node_modules/lodash/fp/pull.js +0 -5
  2041. package/dist/node_modules/lodash/fp/pullAll.js +0 -5
  2042. package/dist/node_modules/lodash/fp/pullAllBy.js +0 -5
  2043. package/dist/node_modules/lodash/fp/pullAllWith.js +0 -5
  2044. package/dist/node_modules/lodash/fp/pullAt.js +0 -5
  2045. package/dist/node_modules/lodash/fp/random.js +0 -5
  2046. package/dist/node_modules/lodash/fp/range.js +0 -5
  2047. package/dist/node_modules/lodash/fp/rangeRight.js +0 -5
  2048. package/dist/node_modules/lodash/fp/rangeStep.js +0 -5
  2049. package/dist/node_modules/lodash/fp/rangeStepRight.js +0 -5
  2050. package/dist/node_modules/lodash/fp/rearg.js +0 -5
  2051. package/dist/node_modules/lodash/fp/reduce.js +0 -5
  2052. package/dist/node_modules/lodash/fp/reduceRight.js +0 -5
  2053. package/dist/node_modules/lodash/fp/reject.js +0 -5
  2054. package/dist/node_modules/lodash/fp/remove.js +0 -5
  2055. package/dist/node_modules/lodash/fp/repeat.js +0 -5
  2056. package/dist/node_modules/lodash/fp/replace.js +0 -5
  2057. package/dist/node_modules/lodash/fp/rest.js +0 -5
  2058. package/dist/node_modules/lodash/fp/restFrom.js +0 -5
  2059. package/dist/node_modules/lodash/fp/result.js +0 -5
  2060. package/dist/node_modules/lodash/fp/reverse.js +0 -5
  2061. package/dist/node_modules/lodash/fp/round.js +0 -5
  2062. package/dist/node_modules/lodash/fp/sample.js +0 -5
  2063. package/dist/node_modules/lodash/fp/sampleSize.js +0 -5
  2064. package/dist/node_modules/lodash/fp/seq.js +0 -2
  2065. package/dist/node_modules/lodash/fp/set.js +0 -5
  2066. package/dist/node_modules/lodash/fp/setWith.js +0 -5
  2067. package/dist/node_modules/lodash/fp/shuffle.js +0 -5
  2068. package/dist/node_modules/lodash/fp/size.js +0 -5
  2069. package/dist/node_modules/lodash/fp/slice.js +0 -5
  2070. package/dist/node_modules/lodash/fp/snakeCase.js +0 -5
  2071. package/dist/node_modules/lodash/fp/some.js +0 -5
  2072. package/dist/node_modules/lodash/fp/sortBy.js +0 -5
  2073. package/dist/node_modules/lodash/fp/sortedIndex.js +0 -5
  2074. package/dist/node_modules/lodash/fp/sortedIndexBy.js +0 -5
  2075. package/dist/node_modules/lodash/fp/sortedIndexOf.js +0 -5
  2076. package/dist/node_modules/lodash/fp/sortedLastIndex.js +0 -5
  2077. package/dist/node_modules/lodash/fp/sortedLastIndexBy.js +0 -5
  2078. package/dist/node_modules/lodash/fp/sortedLastIndexOf.js +0 -5
  2079. package/dist/node_modules/lodash/fp/sortedUniq.js +0 -5
  2080. package/dist/node_modules/lodash/fp/sortedUniqBy.js +0 -5
  2081. package/dist/node_modules/lodash/fp/split.js +0 -5
  2082. package/dist/node_modules/lodash/fp/spread.js +0 -5
  2083. package/dist/node_modules/lodash/fp/spreadFrom.js +0 -5
  2084. package/dist/node_modules/lodash/fp/startCase.js +0 -5
  2085. package/dist/node_modules/lodash/fp/startsWith.js +0 -5
  2086. package/dist/node_modules/lodash/fp/string.js +0 -2
  2087. package/dist/node_modules/lodash/fp/stubArray.js +0 -5
  2088. package/dist/node_modules/lodash/fp/stubFalse.js +0 -5
  2089. package/dist/node_modules/lodash/fp/stubObject.js +0 -5
  2090. package/dist/node_modules/lodash/fp/stubString.js +0 -5
  2091. package/dist/node_modules/lodash/fp/stubTrue.js +0 -5
  2092. package/dist/node_modules/lodash/fp/subtract.js +0 -5
  2093. package/dist/node_modules/lodash/fp/sum.js +0 -5
  2094. package/dist/node_modules/lodash/fp/sumBy.js +0 -5
  2095. package/dist/node_modules/lodash/fp/symmetricDifference.js +0 -1
  2096. package/dist/node_modules/lodash/fp/symmetricDifferenceBy.js +0 -1
  2097. package/dist/node_modules/lodash/fp/symmetricDifferenceWith.js +0 -1
  2098. package/dist/node_modules/lodash/fp/tail.js +0 -5
  2099. package/dist/node_modules/lodash/fp/take.js +0 -5
  2100. package/dist/node_modules/lodash/fp/takeLast.js +0 -1
  2101. package/dist/node_modules/lodash/fp/takeLastWhile.js +0 -1
  2102. package/dist/node_modules/lodash/fp/takeRight.js +0 -5
  2103. package/dist/node_modules/lodash/fp/takeRightWhile.js +0 -5
  2104. package/dist/node_modules/lodash/fp/takeWhile.js +0 -5
  2105. package/dist/node_modules/lodash/fp/tap.js +0 -5
  2106. package/dist/node_modules/lodash/fp/template.js +0 -5
  2107. package/dist/node_modules/lodash/fp/templateSettings.js +0 -5
  2108. package/dist/node_modules/lodash/fp/throttle.js +0 -5
  2109. package/dist/node_modules/lodash/fp/thru.js +0 -5
  2110. package/dist/node_modules/lodash/fp/times.js +0 -5
  2111. package/dist/node_modules/lodash/fp/toArray.js +0 -5
  2112. package/dist/node_modules/lodash/fp/toFinite.js +0 -5
  2113. package/dist/node_modules/lodash/fp/toInteger.js +0 -5
  2114. package/dist/node_modules/lodash/fp/toIterator.js +0 -5
  2115. package/dist/node_modules/lodash/fp/toJSON.js +0 -5
  2116. package/dist/node_modules/lodash/fp/toLength.js +0 -5
  2117. package/dist/node_modules/lodash/fp/toLower.js +0 -5
  2118. package/dist/node_modules/lodash/fp/toNumber.js +0 -5
  2119. package/dist/node_modules/lodash/fp/toPairs.js +0 -5
  2120. package/dist/node_modules/lodash/fp/toPairsIn.js +0 -5
  2121. package/dist/node_modules/lodash/fp/toPath.js +0 -5
  2122. package/dist/node_modules/lodash/fp/toPlainObject.js +0 -5
  2123. package/dist/node_modules/lodash/fp/toSafeInteger.js +0 -5
  2124. package/dist/node_modules/lodash/fp/toString.js +0 -5
  2125. package/dist/node_modules/lodash/fp/toUpper.js +0 -5
  2126. package/dist/node_modules/lodash/fp/transform.js +0 -5
  2127. package/dist/node_modules/lodash/fp/trim.js +0 -5
  2128. package/dist/node_modules/lodash/fp/trimChars.js +0 -5
  2129. package/dist/node_modules/lodash/fp/trimCharsEnd.js +0 -5
  2130. package/dist/node_modules/lodash/fp/trimCharsStart.js +0 -5
  2131. package/dist/node_modules/lodash/fp/trimEnd.js +0 -5
  2132. package/dist/node_modules/lodash/fp/trimStart.js +0 -5
  2133. package/dist/node_modules/lodash/fp/truncate.js +0 -5
  2134. package/dist/node_modules/lodash/fp/unapply.js +0 -1
  2135. package/dist/node_modules/lodash/fp/unary.js +0 -5
  2136. package/dist/node_modules/lodash/fp/unescape.js +0 -5
  2137. package/dist/node_modules/lodash/fp/union.js +0 -5
  2138. package/dist/node_modules/lodash/fp/unionBy.js +0 -5
  2139. package/dist/node_modules/lodash/fp/unionWith.js +0 -5
  2140. package/dist/node_modules/lodash/fp/uniq.js +0 -5
  2141. package/dist/node_modules/lodash/fp/uniqBy.js +0 -5
  2142. package/dist/node_modules/lodash/fp/uniqWith.js +0 -5
  2143. package/dist/node_modules/lodash/fp/uniqueId.js +0 -5
  2144. package/dist/node_modules/lodash/fp/unnest.js +0 -1
  2145. package/dist/node_modules/lodash/fp/unset.js +0 -5
  2146. package/dist/node_modules/lodash/fp/unzip.js +0 -5
  2147. package/dist/node_modules/lodash/fp/unzipWith.js +0 -5
  2148. package/dist/node_modules/lodash/fp/update.js +0 -5
  2149. package/dist/node_modules/lodash/fp/updateWith.js +0 -5
  2150. package/dist/node_modules/lodash/fp/upperCase.js +0 -5
  2151. package/dist/node_modules/lodash/fp/upperFirst.js +0 -5
  2152. package/dist/node_modules/lodash/fp/useWith.js +0 -1
  2153. package/dist/node_modules/lodash/fp/util.js +0 -2
  2154. package/dist/node_modules/lodash/fp/value.js +0 -5
  2155. package/dist/node_modules/lodash/fp/valueOf.js +0 -5
  2156. package/dist/node_modules/lodash/fp/values.js +0 -5
  2157. package/dist/node_modules/lodash/fp/valuesIn.js +0 -5
  2158. package/dist/node_modules/lodash/fp/where.js +0 -1
  2159. package/dist/node_modules/lodash/fp/whereEq.js +0 -1
  2160. package/dist/node_modules/lodash/fp/without.js +0 -5
  2161. package/dist/node_modules/lodash/fp/words.js +0 -5
  2162. package/dist/node_modules/lodash/fp/wrap.js +0 -5
  2163. package/dist/node_modules/lodash/fp/wrapperAt.js +0 -5
  2164. package/dist/node_modules/lodash/fp/wrapperChain.js +0 -5
  2165. package/dist/node_modules/lodash/fp/wrapperLodash.js +0 -5
  2166. package/dist/node_modules/lodash/fp/wrapperReverse.js +0 -5
  2167. package/dist/node_modules/lodash/fp/wrapperValue.js +0 -5
  2168. package/dist/node_modules/lodash/fp/xor.js +0 -5
  2169. package/dist/node_modules/lodash/fp/xorBy.js +0 -5
  2170. package/dist/node_modules/lodash/fp/xorWith.js +0 -5
  2171. package/dist/node_modules/lodash/fp/zip.js +0 -5
  2172. package/dist/node_modules/lodash/fp/zipAll.js +0 -5
  2173. package/dist/node_modules/lodash/fp/zipObj.js +0 -1
  2174. package/dist/node_modules/lodash/fp/zipObject.js +0 -5
  2175. package/dist/node_modules/lodash/fp/zipObjectDeep.js +0 -5
  2176. package/dist/node_modules/lodash/fp/zipWith.js +0 -5
  2177. package/dist/node_modules/lodash/fp.js +0 -2
  2178. package/dist/node_modules/lodash/fromPairs.js +0 -28
  2179. package/dist/node_modules/lodash/function.js +0 -25
  2180. package/dist/node_modules/lodash/functions.js +0 -31
  2181. package/dist/node_modules/lodash/functionsIn.js +0 -31
  2182. package/dist/node_modules/lodash/get.js +0 -33
  2183. package/dist/node_modules/lodash/groupBy.js +0 -41
  2184. package/dist/node_modules/lodash/gt.js +0 -29
  2185. package/dist/node_modules/lodash/gte.js +0 -30
  2186. package/dist/node_modules/lodash/has.js +0 -35
  2187. package/dist/node_modules/lodash/hasIn.js +0 -34
  2188. package/dist/node_modules/lodash/head.js +0 -23
  2189. package/dist/node_modules/lodash/identity.js +0 -21
  2190. package/dist/node_modules/lodash/inRange.js +0 -55
  2191. package/dist/node_modules/lodash/includes.js +0 -53
  2192. package/dist/node_modules/lodash/index.js +0 -1
  2193. package/dist/node_modules/lodash/indexOf.js +0 -42
  2194. package/dist/node_modules/lodash/initial.js +0 -22
  2195. package/dist/node_modules/lodash/intersection.js +0 -30
  2196. package/dist/node_modules/lodash/intersectionBy.js +0 -45
  2197. package/dist/node_modules/lodash/intersectionWith.js +0 -41
  2198. package/dist/node_modules/lodash/invert.js +0 -42
  2199. package/dist/node_modules/lodash/invertBy.js +0 -56
  2200. package/dist/node_modules/lodash/invoke.js +0 -24
  2201. package/dist/node_modules/lodash/invokeMap.js +0 -41
  2202. package/dist/node_modules/lodash/isArguments.js +0 -36
  2203. package/dist/node_modules/lodash/isArray.js +0 -26
  2204. package/dist/node_modules/lodash/isArrayBuffer.js +0 -27
  2205. package/dist/node_modules/lodash/isArrayLike.js +0 -33
  2206. package/dist/node_modules/lodash/isArrayLikeObject.js +0 -33
  2207. package/dist/node_modules/lodash/isBoolean.js +0 -29
  2208. package/dist/node_modules/lodash/isBuffer.js +0 -38
  2209. package/dist/node_modules/lodash/isDate.js +0 -27
  2210. package/dist/node_modules/lodash/isElement.js +0 -25
  2211. package/dist/node_modules/lodash/isEmpty.js +0 -77
  2212. package/dist/node_modules/lodash/isEqual.js +0 -35
  2213. package/dist/node_modules/lodash/isEqualWith.js +0 -41
  2214. package/dist/node_modules/lodash/isError.js +0 -36
  2215. package/dist/node_modules/lodash/isFinite.js +0 -36
  2216. package/dist/node_modules/lodash/isFunction.js +0 -37
  2217. package/dist/node_modules/lodash/isInteger.js +0 -33
  2218. package/dist/node_modules/lodash/isLength.js +0 -35
  2219. package/dist/node_modules/lodash/isMap.js +0 -27
  2220. package/dist/node_modules/lodash/isMatch.js +0 -36
  2221. package/dist/node_modules/lodash/isMatchWith.js +0 -41
  2222. package/dist/node_modules/lodash/isNaN.js +0 -38
  2223. package/dist/node_modules/lodash/isNative.js +0 -40
  2224. package/dist/node_modules/lodash/isNil.js +0 -25
  2225. package/dist/node_modules/lodash/isNull.js +0 -22
  2226. package/dist/node_modules/lodash/isNumber.js +0 -38
  2227. package/dist/node_modules/lodash/isObject.js +0 -31
  2228. package/dist/node_modules/lodash/isObjectLike.js +0 -29
  2229. package/dist/node_modules/lodash/isPlainObject.js +0 -62
  2230. package/dist/node_modules/lodash/isRegExp.js +0 -27
  2231. package/dist/node_modules/lodash/isSafeInteger.js +0 -37
  2232. package/dist/node_modules/lodash/isSet.js +0 -27
  2233. package/dist/node_modules/lodash/isString.js +0 -30
  2234. package/dist/node_modules/lodash/isSymbol.js +0 -29
  2235. package/dist/node_modules/lodash/isTypedArray.js +0 -27
  2236. package/dist/node_modules/lodash/isUndefined.js +0 -22
  2237. package/dist/node_modules/lodash/isWeakMap.js +0 -28
  2238. package/dist/node_modules/lodash/isWeakSet.js +0 -28
  2239. package/dist/node_modules/lodash/iteratee.js +0 -53
  2240. package/dist/node_modules/lodash/join.js +0 -26
  2241. package/dist/node_modules/lodash/kebabCase.js +0 -28
  2242. package/dist/node_modules/lodash/keyBy.js +0 -36
  2243. package/dist/node_modules/lodash/keys.js +0 -37
  2244. package/dist/node_modules/lodash/keysIn.js +0 -32
  2245. package/dist/node_modules/lodash/lang.js +0 -58
  2246. package/dist/node_modules/lodash/last.js +0 -20
  2247. package/dist/node_modules/lodash/lastIndexOf.js +0 -46
  2248. package/dist/node_modules/lodash/lodash.js +0 -17209
  2249. package/dist/node_modules/lodash/lodash.min.js +0 -140
  2250. package/dist/node_modules/lodash/lowerCase.js +0 -27
  2251. package/dist/node_modules/lodash/lowerFirst.js +0 -22
  2252. package/dist/node_modules/lodash/lt.js +0 -29
  2253. package/dist/node_modules/lodash/lte.js +0 -30
  2254. package/dist/node_modules/lodash/map.js +0 -53
  2255. package/dist/node_modules/lodash/mapKeys.js +0 -36
  2256. package/dist/node_modules/lodash/mapValues.js +0 -43
  2257. package/dist/node_modules/lodash/matches.js +0 -46
  2258. package/dist/node_modules/lodash/matchesProperty.js +0 -44
  2259. package/dist/node_modules/lodash/math.js +0 -17
  2260. package/dist/node_modules/lodash/max.js +0 -29
  2261. package/dist/node_modules/lodash/maxBy.js +0 -34
  2262. package/dist/node_modules/lodash/mean.js +0 -22
  2263. package/dist/node_modules/lodash/meanBy.js +0 -31
  2264. package/dist/node_modules/lodash/memoize.js +0 -73
  2265. package/dist/node_modules/lodash/merge.js +0 -39
  2266. package/dist/node_modules/lodash/mergeWith.js +0 -39
  2267. package/dist/node_modules/lodash/method.js +0 -34
  2268. package/dist/node_modules/lodash/methodOf.js +0 -33
  2269. package/dist/node_modules/lodash/min.js +0 -29
  2270. package/dist/node_modules/lodash/minBy.js +0 -34
  2271. package/dist/node_modules/lodash/mixin.js +0 -74
  2272. package/dist/node_modules/lodash/multiply.js +0 -22
  2273. package/dist/node_modules/lodash/negate.js +0 -40
  2274. package/dist/node_modules/lodash/next.js +0 -35
  2275. package/dist/node_modules/lodash/noop.js +0 -17
  2276. package/dist/node_modules/lodash/now.js +0 -23
  2277. package/dist/node_modules/lodash/nth.js +0 -29
  2278. package/dist/node_modules/lodash/nthArg.js +0 -32
  2279. package/dist/node_modules/lodash/number.js +0 -5
  2280. package/dist/node_modules/lodash/object.js +0 -49
  2281. package/dist/node_modules/lodash/omit.js +0 -57
  2282. package/dist/node_modules/lodash/omitBy.js +0 -29
  2283. package/dist/node_modules/lodash/once.js +0 -25
  2284. package/dist/node_modules/lodash/orderBy.js +0 -47
  2285. package/dist/node_modules/lodash/over.js +0 -24
  2286. package/dist/node_modules/lodash/overArgs.js +0 -61
  2287. package/dist/node_modules/lodash/overEvery.js +0 -34
  2288. package/dist/node_modules/lodash/overSome.js +0 -37
  2289. package/dist/node_modules/lodash/package.json +0 -17
  2290. package/dist/node_modules/lodash/pad.js +0 -49
  2291. package/dist/node_modules/lodash/padEnd.js +0 -39
  2292. package/dist/node_modules/lodash/padStart.js +0 -39
  2293. package/dist/node_modules/lodash/parseInt.js +0 -43
  2294. package/dist/node_modules/lodash/partial.js +0 -50
  2295. package/dist/node_modules/lodash/partialRight.js +0 -49
  2296. package/dist/node_modules/lodash/partition.js +0 -43
  2297. package/dist/node_modules/lodash/pick.js +0 -25
  2298. package/dist/node_modules/lodash/pickBy.js +0 -37
  2299. package/dist/node_modules/lodash/plant.js +0 -48
  2300. package/dist/node_modules/lodash/property.js +0 -32
  2301. package/dist/node_modules/lodash/propertyOf.js +0 -30
  2302. package/dist/node_modules/lodash/pull.js +0 -29
  2303. package/dist/node_modules/lodash/pullAll.js +0 -29
  2304. package/dist/node_modules/lodash/pullAllBy.js +0 -33
  2305. package/dist/node_modules/lodash/pullAllWith.js +0 -32
  2306. package/dist/node_modules/lodash/pullAt.js +0 -43
  2307. package/dist/node_modules/lodash/random.js +0 -82
  2308. package/dist/node_modules/lodash/range.js +0 -46
  2309. package/dist/node_modules/lodash/rangeRight.js +0 -41
  2310. package/dist/node_modules/lodash/rearg.js +0 -33
  2311. package/dist/node_modules/lodash/reduce.js +0 -51
  2312. package/dist/node_modules/lodash/reduceRight.js +0 -36
  2313. package/dist/node_modules/lodash/reject.js +0 -46
  2314. package/dist/node_modules/lodash/release.md +0 -48
  2315. package/dist/node_modules/lodash/remove.js +0 -53
  2316. package/dist/node_modules/lodash/repeat.js +0 -37
  2317. package/dist/node_modules/lodash/replace.js +0 -29
  2318. package/dist/node_modules/lodash/rest.js +0 -40
  2319. package/dist/node_modules/lodash/result.js +0 -56
  2320. package/dist/node_modules/lodash/reverse.js +0 -34
  2321. package/dist/node_modules/lodash/round.js +0 -26
  2322. package/dist/node_modules/lodash/sample.js +0 -24
  2323. package/dist/node_modules/lodash/sampleSize.js +0 -37
  2324. package/dist/node_modules/lodash/seq.js +0 -16
  2325. package/dist/node_modules/lodash/set.js +0 -35
  2326. package/dist/node_modules/lodash/setWith.js +0 -32
  2327. package/dist/node_modules/lodash/shuffle.js +0 -25
  2328. package/dist/node_modules/lodash/size.js +0 -46
  2329. package/dist/node_modules/lodash/slice.js +0 -37
  2330. package/dist/node_modules/lodash/snakeCase.js +0 -28
  2331. package/dist/node_modules/lodash/some.js +0 -51
  2332. package/dist/node_modules/lodash/sortBy.js +0 -48
  2333. package/dist/node_modules/lodash/sortedIndex.js +0 -24
  2334. package/dist/node_modules/lodash/sortedIndexBy.js +0 -33
  2335. package/dist/node_modules/lodash/sortedIndexOf.js +0 -31
  2336. package/dist/node_modules/lodash/sortedLastIndex.js +0 -25
  2337. package/dist/node_modules/lodash/sortedLastIndexBy.js +0 -33
  2338. package/dist/node_modules/lodash/sortedLastIndexOf.js +0 -31
  2339. package/dist/node_modules/lodash/sortedUniq.js +0 -24
  2340. package/dist/node_modules/lodash/sortedUniqBy.js +0 -26
  2341. package/dist/node_modules/lodash/split.js +0 -52
  2342. package/dist/node_modules/lodash/spread.js +0 -63
  2343. package/dist/node_modules/lodash/startCase.js +0 -29
  2344. package/dist/node_modules/lodash/startsWith.js +0 -39
  2345. package/dist/node_modules/lodash/string.js +0 -33
  2346. package/dist/node_modules/lodash/stubArray.js +0 -23
  2347. package/dist/node_modules/lodash/stubFalse.js +0 -18
  2348. package/dist/node_modules/lodash/stubObject.js +0 -23
  2349. package/dist/node_modules/lodash/stubString.js +0 -18
  2350. package/dist/node_modules/lodash/stubTrue.js +0 -18
  2351. package/dist/node_modules/lodash/subtract.js +0 -22
  2352. package/dist/node_modules/lodash/sum.js +0 -24
  2353. package/dist/node_modules/lodash/sumBy.js +0 -33
  2354. package/dist/node_modules/lodash/tail.js +0 -22
  2355. package/dist/node_modules/lodash/take.js +0 -37
  2356. package/dist/node_modules/lodash/takeRight.js +0 -39
  2357. package/dist/node_modules/lodash/takeRightWhile.js +0 -45
  2358. package/dist/node_modules/lodash/takeWhile.js +0 -45
  2359. package/dist/node_modules/lodash/tap.js +0 -29
  2360. package/dist/node_modules/lodash/template.js +0 -272
  2361. package/dist/node_modules/lodash/templateSettings.js +0 -67
  2362. package/dist/node_modules/lodash/throttle.js +0 -69
  2363. package/dist/node_modules/lodash/thru.js +0 -28
  2364. package/dist/node_modules/lodash/times.js +0 -51
  2365. package/dist/node_modules/lodash/toArray.js +0 -58
  2366. package/dist/node_modules/lodash/toFinite.js +0 -42
  2367. package/dist/node_modules/lodash/toInteger.js +0 -36
  2368. package/dist/node_modules/lodash/toIterator.js +0 -23
  2369. package/dist/node_modules/lodash/toJSON.js +0 -1
  2370. package/dist/node_modules/lodash/toLength.js +0 -38
  2371. package/dist/node_modules/lodash/toLower.js +0 -28
  2372. package/dist/node_modules/lodash/toNumber.js +0 -64
  2373. package/dist/node_modules/lodash/toPairs.js +0 -30
  2374. package/dist/node_modules/lodash/toPairsIn.js +0 -30
  2375. package/dist/node_modules/lodash/toPath.js +0 -33
  2376. package/dist/node_modules/lodash/toPlainObject.js +0 -32
  2377. package/dist/node_modules/lodash/toSafeInteger.js +0 -37
  2378. package/dist/node_modules/lodash/toString.js +0 -28
  2379. package/dist/node_modules/lodash/toUpper.js +0 -28
  2380. package/dist/node_modules/lodash/transform.js +0 -65
  2381. package/dist/node_modules/lodash/trim.js +0 -47
  2382. package/dist/node_modules/lodash/trimEnd.js +0 -41
  2383. package/dist/node_modules/lodash/trimStart.js +0 -43
  2384. package/dist/node_modules/lodash/truncate.js +0 -111
  2385. package/dist/node_modules/lodash/unary.js +0 -22
  2386. package/dist/node_modules/lodash/unescape.js +0 -34
  2387. package/dist/node_modules/lodash/union.js +0 -26
  2388. package/dist/node_modules/lodash/unionBy.js +0 -39
  2389. package/dist/node_modules/lodash/unionWith.js +0 -34
  2390. package/dist/node_modules/lodash/uniq.js +0 -25
  2391. package/dist/node_modules/lodash/uniqBy.js +0 -31
  2392. package/dist/node_modules/lodash/uniqWith.js +0 -28
  2393. package/dist/node_modules/lodash/uniqueId.js +0 -28
  2394. package/dist/node_modules/lodash/unset.js +0 -34
  2395. package/dist/node_modules/lodash/unzip.js +0 -45
  2396. package/dist/node_modules/lodash/unzipWith.js +0 -39
  2397. package/dist/node_modules/lodash/update.js +0 -35
  2398. package/dist/node_modules/lodash/updateWith.js +0 -33
  2399. package/dist/node_modules/lodash/upperCase.js +0 -27
  2400. package/dist/node_modules/lodash/upperFirst.js +0 -22
  2401. package/dist/node_modules/lodash/util.js +0 -34
  2402. package/dist/node_modules/lodash/value.js +0 -1
  2403. package/dist/node_modules/lodash/valueOf.js +0 -1
  2404. package/dist/node_modules/lodash/values.js +0 -34
  2405. package/dist/node_modules/lodash/valuesIn.js +0 -32
  2406. package/dist/node_modules/lodash/without.js +0 -31
  2407. package/dist/node_modules/lodash/words.js +0 -35
  2408. package/dist/node_modules/lodash/wrap.js +0 -30
  2409. package/dist/node_modules/lodash/wrapperAt.js +0 -48
  2410. package/dist/node_modules/lodash/wrapperChain.js +0 -34
  2411. package/dist/node_modules/lodash/wrapperLodash.js +0 -147
  2412. package/dist/node_modules/lodash/wrapperReverse.js +0 -44
  2413. package/dist/node_modules/lodash/wrapperValue.js +0 -21
  2414. package/dist/node_modules/lodash/xor.js +0 -28
  2415. package/dist/node_modules/lodash/xorBy.js +0 -39
  2416. package/dist/node_modules/lodash/xorWith.js +0 -34
  2417. package/dist/node_modules/lodash/zip.js +0 -22
  2418. package/dist/node_modules/lodash/zipObject.js +0 -24
  2419. package/dist/node_modules/lodash/zipObjectDeep.js +0 -23
  2420. package/dist/node_modules/lodash/zipWith.js +0 -32
  2421. package/dist/node_modules/long/LICENSE +0 -202
  2422. package/dist/node_modules/long/README.md +0 -286
  2423. package/dist/node_modules/long/index.d.ts +0 -2
  2424. package/dist/node_modules/long/index.js +0 -1581
  2425. package/dist/node_modules/long/package.json +0 -58
  2426. package/dist/node_modules/long/types.d.ts +0 -474
  2427. package/dist/node_modules/long/umd/index.d.ts +0 -3
  2428. package/dist/node_modules/long/umd/index.js +0 -1622
  2429. package/dist/node_modules/long/umd/package.json +0 -3
  2430. package/dist/node_modules/long/umd/types.d.ts +0 -474
  2431. package/dist/node_modules/lru-cache/LICENSE +0 -15
  2432. package/dist/node_modules/lru-cache/README.md +0 -331
  2433. package/dist/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -1277
  2434. package/dist/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
  2435. package/dist/node_modules/lru-cache/dist/commonjs/index.js +0 -1546
  2436. package/dist/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
  2437. package/dist/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
  2438. package/dist/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
  2439. package/dist/node_modules/lru-cache/dist/commonjs/package.json +0 -3
  2440. package/dist/node_modules/lru-cache/dist/esm/index.d.ts +0 -1277
  2441. package/dist/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
  2442. package/dist/node_modules/lru-cache/dist/esm/index.js +0 -1542
  2443. package/dist/node_modules/lru-cache/dist/esm/index.js.map +0 -1
  2444. package/dist/node_modules/lru-cache/dist/esm/index.min.js +0 -2
  2445. package/dist/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
  2446. package/dist/node_modules/lru-cache/dist/esm/package.json +0 -3
  2447. package/dist/node_modules/lru-cache/package.json +0 -116
  2448. package/dist/node_modules/math-intrinsics/.eslintrc +0 -16
  2449. package/dist/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
  2450. package/dist/node_modules/math-intrinsics/CHANGELOG.md +0 -24
  2451. package/dist/node_modules/math-intrinsics/LICENSE +0 -21
  2452. package/dist/node_modules/math-intrinsics/README.md +0 -50
  2453. package/dist/node_modules/math-intrinsics/abs.d.ts +0 -1
  2454. package/dist/node_modules/math-intrinsics/abs.js +0 -4
  2455. package/dist/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
  2456. package/dist/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
  2457. package/dist/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
  2458. package/dist/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
  2459. package/dist/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
  2460. package/dist/node_modules/math-intrinsics/constants/maxValue.js +0 -5
  2461. package/dist/node_modules/math-intrinsics/floor.d.ts +0 -1
  2462. package/dist/node_modules/math-intrinsics/floor.js +0 -4
  2463. package/dist/node_modules/math-intrinsics/isFinite.d.ts +0 -3
  2464. package/dist/node_modules/math-intrinsics/isFinite.js +0 -12
  2465. package/dist/node_modules/math-intrinsics/isInteger.d.ts +0 -3
  2466. package/dist/node_modules/math-intrinsics/isInteger.js +0 -16
  2467. package/dist/node_modules/math-intrinsics/isNaN.d.ts +0 -1
  2468. package/dist/node_modules/math-intrinsics/isNaN.js +0 -6
  2469. package/dist/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
  2470. package/dist/node_modules/math-intrinsics/isNegativeZero.js +0 -6
  2471. package/dist/node_modules/math-intrinsics/max.d.ts +0 -1
  2472. package/dist/node_modules/math-intrinsics/max.js +0 -4
  2473. package/dist/node_modules/math-intrinsics/min.d.ts +0 -1
  2474. package/dist/node_modules/math-intrinsics/min.js +0 -4
  2475. package/dist/node_modules/math-intrinsics/mod.d.ts +0 -3
  2476. package/dist/node_modules/math-intrinsics/mod.js +0 -9
  2477. package/dist/node_modules/math-intrinsics/package.json +0 -86
  2478. package/dist/node_modules/math-intrinsics/pow.d.ts +0 -1
  2479. package/dist/node_modules/math-intrinsics/pow.js +0 -4
  2480. package/dist/node_modules/math-intrinsics/round.d.ts +0 -1
  2481. package/dist/node_modules/math-intrinsics/round.js +0 -4
  2482. package/dist/node_modules/math-intrinsics/sign.d.ts +0 -3
  2483. package/dist/node_modules/math-intrinsics/sign.js +0 -11
  2484. package/dist/node_modules/math-intrinsics/test/index.js +0 -192
  2485. package/dist/node_modules/math-intrinsics/tsconfig.json +0 -3
  2486. package/dist/node_modules/mime-db/HISTORY.md +0 -507
  2487. package/dist/node_modules/mime-db/LICENSE +0 -23
  2488. package/dist/node_modules/mime-db/README.md +0 -100
  2489. package/dist/node_modules/mime-db/db.json +0 -8519
  2490. package/dist/node_modules/mime-db/index.js +0 -12
  2491. package/dist/node_modules/mime-db/package.json +0 -60
  2492. package/dist/node_modules/mime-types/HISTORY.md +0 -397
  2493. package/dist/node_modules/mime-types/LICENSE +0 -23
  2494. package/dist/node_modules/mime-types/README.md +0 -113
  2495. package/dist/node_modules/mime-types/index.js +0 -188
  2496. package/dist/node_modules/mime-types/package.json +0 -44
  2497. package/dist/node_modules/minimist/.eslintrc +0 -29
  2498. package/dist/node_modules/minimist/.github/FUNDING.yml +0 -12
  2499. package/dist/node_modules/minimist/.nycrc +0 -14
  2500. package/dist/node_modules/minimist/CHANGELOG.md +0 -298
  2501. package/dist/node_modules/minimist/LICENSE +0 -18
  2502. package/dist/node_modules/minimist/README.md +0 -121
  2503. package/dist/node_modules/minimist/example/parse.js +0 -4
  2504. package/dist/node_modules/minimist/index.js +0 -263
  2505. package/dist/node_modules/minimist/package.json +0 -75
  2506. package/dist/node_modules/minimist/test/all_bool.js +0 -34
  2507. package/dist/node_modules/minimist/test/bool.js +0 -177
  2508. package/dist/node_modules/minimist/test/dash.js +0 -43
  2509. package/dist/node_modules/minimist/test/default_bool.js +0 -37
  2510. package/dist/node_modules/minimist/test/dotted.js +0 -24
  2511. package/dist/node_modules/minimist/test/kv_short.js +0 -32
  2512. package/dist/node_modules/minimist/test/long.js +0 -33
  2513. package/dist/node_modules/minimist/test/num.js +0 -38
  2514. package/dist/node_modules/minimist/test/parse.js +0 -209
  2515. package/dist/node_modules/minimist/test/parse_modified.js +0 -11
  2516. package/dist/node_modules/minimist/test/proto.js +0 -64
  2517. package/dist/node_modules/minimist/test/short.js +0 -69
  2518. package/dist/node_modules/minimist/test/stop_early.js +0 -17
  2519. package/dist/node_modules/minimist/test/unknown.js +0 -104
  2520. package/dist/node_modules/minimist/test/whitespace.js +0 -10
  2521. package/dist/node_modules/mqtt/CONTRIBUTING.md +0 -27
  2522. package/dist/node_modules/mqtt/LICENSE.md +0 -15
  2523. package/dist/node_modules/mqtt/README.md +0 -977
  2524. package/dist/node_modules/mqtt/build/bin/mqtt.d.ts +0 -2
  2525. package/dist/node_modules/mqtt/build/bin/mqtt.js +0 -30
  2526. package/dist/node_modules/mqtt/build/bin/mqtt.js.map +0 -1
  2527. package/dist/node_modules/mqtt/build/bin/pub.d.ts +0 -2
  2528. package/dist/node_modules/mqtt/build/bin/pub.js +0 -146
  2529. package/dist/node_modules/mqtt/build/bin/pub.js.map +0 -1
  2530. package/dist/node_modules/mqtt/build/bin/sub.d.ts +0 -2
  2531. package/dist/node_modules/mqtt/build/bin/sub.js +0 -121
  2532. package/dist/node_modules/mqtt/build/bin/sub.js.map +0 -1
  2533. package/dist/node_modules/mqtt/build/index.d.ts +0 -3
  2534. package/dist/node_modules/mqtt/build/index.js +0 -42
  2535. package/dist/node_modules/mqtt/build/index.js.map +0 -1
  2536. package/dist/node_modules/mqtt/build/lib/BufferedDuplex.d.ts +0 -20
  2537. package/dist/node_modules/mqtt/build/lib/BufferedDuplex.js +0 -82
  2538. package/dist/node_modules/mqtt/build/lib/BufferedDuplex.js.map +0 -1
  2539. package/dist/node_modules/mqtt/build/lib/KeepaliveManager.d.ts +0 -21
  2540. package/dist/node_modules/mqtt/build/lib/KeepaliveManager.js +0 -78
  2541. package/dist/node_modules/mqtt/build/lib/KeepaliveManager.js.map +0 -1
  2542. package/dist/node_modules/mqtt/build/lib/TypedEmitter.d.ts +0 -19
  2543. package/dist/node_modules/mqtt/build/lib/TypedEmitter.js +0 -13
  2544. package/dist/node_modules/mqtt/build/lib/TypedEmitter.js.map +0 -1
  2545. package/dist/node_modules/mqtt/build/lib/client.d.ts +0 -237
  2546. package/dist/node_modules/mqtt/build/lib/client.js +0 -1289
  2547. package/dist/node_modules/mqtt/build/lib/client.js.map +0 -1
  2548. package/dist/node_modules/mqtt/build/lib/connect/ali.d.ts +0 -3
  2549. package/dist/node_modules/mqtt/build/lib/connect/ali.js +0 -107
  2550. package/dist/node_modules/mqtt/build/lib/connect/ali.js.map +0 -1
  2551. package/dist/node_modules/mqtt/build/lib/connect/index.d.ts +0 -10
  2552. package/dist/node_modules/mqtt/build/lib/connect/index.js +0 -198
  2553. package/dist/node_modules/mqtt/build/lib/connect/index.js.map +0 -1
  2554. package/dist/node_modules/mqtt/build/lib/connect/socks.d.ts +0 -8
  2555. package/dist/node_modules/mqtt/build/lib/connect/socks.js +0 -181
  2556. package/dist/node_modules/mqtt/build/lib/connect/socks.js.map +0 -1
  2557. package/dist/node_modules/mqtt/build/lib/connect/tcp.d.ts +0 -3
  2558. package/dist/node_modules/mqtt/build/lib/connect/tcp.js +0 -24
  2559. package/dist/node_modules/mqtt/build/lib/connect/tcp.js.map +0 -1
  2560. package/dist/node_modules/mqtt/build/lib/connect/tls.d.ts +0 -3
  2561. package/dist/node_modules/mqtt/build/lib/connect/tls.js +0 -52
  2562. package/dist/node_modules/mqtt/build/lib/connect/tls.js.map +0 -1
  2563. package/dist/node_modules/mqtt/build/lib/connect/ws.d.ts +0 -4
  2564. package/dist/node_modules/mqtt/build/lib/connect/ws.js +0 -220
  2565. package/dist/node_modules/mqtt/build/lib/connect/ws.js.map +0 -1
  2566. package/dist/node_modules/mqtt/build/lib/connect/wx.d.ts +0 -6
  2567. package/dist/node_modules/mqtt/build/lib/connect/wx.js +0 -115
  2568. package/dist/node_modules/mqtt/build/lib/connect/wx.js.map +0 -1
  2569. package/dist/node_modules/mqtt/build/lib/default-message-id-provider.d.ts +0 -16
  2570. package/dist/node_modules/mqtt/build/lib/default-message-id-provider.js +0 -25
  2571. package/dist/node_modules/mqtt/build/lib/default-message-id-provider.js.map +0 -1
  2572. package/dist/node_modules/mqtt/build/lib/get-timer.d.ts +0 -8
  2573. package/dist/node_modules/mqtt/build/lib/get-timer.js +0 -63
  2574. package/dist/node_modules/mqtt/build/lib/get-timer.js.map +0 -1
  2575. package/dist/node_modules/mqtt/build/lib/handlers/ack.d.ts +0 -48
  2576. package/dist/node_modules/mqtt/build/lib/handlers/ack.js +0 -131
  2577. package/dist/node_modules/mqtt/build/lib/handlers/ack.js.map +0 -1
  2578. package/dist/node_modules/mqtt/build/lib/handlers/auth.d.ts +0 -3
  2579. package/dist/node_modules/mqtt/build/lib/handlers/auth.js +0 -30
  2580. package/dist/node_modules/mqtt/build/lib/handlers/auth.js.map +0 -1
  2581. package/dist/node_modules/mqtt/build/lib/handlers/connack.d.ts +0 -3
  2582. package/dist/node_modules/mqtt/build/lib/handlers/connack.js +0 -50
  2583. package/dist/node_modules/mqtt/build/lib/handlers/connack.js.map +0 -1
  2584. package/dist/node_modules/mqtt/build/lib/handlers/index.d.ts +0 -3
  2585. package/dist/node_modules/mqtt/build/lib/handlers/index.js +0 -68
  2586. package/dist/node_modules/mqtt/build/lib/handlers/index.js.map +0 -1
  2587. package/dist/node_modules/mqtt/build/lib/handlers/publish.d.ts +0 -3
  2588. package/dist/node_modules/mqtt/build/lib/handlers/publish.js +0 -106
  2589. package/dist/node_modules/mqtt/build/lib/handlers/publish.js.map +0 -1
  2590. package/dist/node_modules/mqtt/build/lib/handlers/pubrel.d.ts +0 -3
  2591. package/dist/node_modules/mqtt/build/lib/handlers/pubrel.js +0 -25
  2592. package/dist/node_modules/mqtt/build/lib/handlers/pubrel.js.map +0 -1
  2593. package/dist/node_modules/mqtt/build/lib/is-browser.d.ts +0 -7
  2594. package/dist/node_modules/mqtt/build/lib/is-browser.js +0 -24
  2595. package/dist/node_modules/mqtt/build/lib/is-browser.js.map +0 -1
  2596. package/dist/node_modules/mqtt/build/lib/shared.d.ts +0 -27
  2597. package/dist/node_modules/mqtt/build/lib/shared.js +0 -52
  2598. package/dist/node_modules/mqtt/build/lib/shared.js.map +0 -1
  2599. package/dist/node_modules/mqtt/build/lib/store.d.ts +0 -24
  2600. package/dist/node_modules/mqtt/build/lib/store.js +0 -82
  2601. package/dist/node_modules/mqtt/build/lib/store.js.map +0 -1
  2602. package/dist/node_modules/mqtt/build/lib/topic-alias-recv.d.ts +0 -9
  2603. package/dist/node_modules/mqtt/build/lib/topic-alias-recv.js +0 -27
  2604. package/dist/node_modules/mqtt/build/lib/topic-alias-recv.js.map +0 -1
  2605. package/dist/node_modules/mqtt/build/lib/topic-alias-send.d.ts +0 -13
  2606. package/dist/node_modules/mqtt/build/lib/topic-alias-send.js +0 -58
  2607. package/dist/node_modules/mqtt/build/lib/topic-alias-send.js.map +0 -1
  2608. package/dist/node_modules/mqtt/build/lib/unique-message-id-provider.d.ts +0 -11
  2609. package/dist/node_modules/mqtt/build/lib/unique-message-id-provider.js +0 -28
  2610. package/dist/node_modules/mqtt/build/lib/unique-message-id-provider.js.map +0 -1
  2611. package/dist/node_modules/mqtt/build/lib/validations.d.ts +0 -2
  2612. package/dist/node_modules/mqtt/build/lib/validations.js +0 -31
  2613. package/dist/node_modules/mqtt/build/lib/validations.js.map +0 -1
  2614. package/dist/node_modules/mqtt/build/mqtt.d.ts +0 -12
  2615. package/dist/node_modules/mqtt/build/mqtt.js +0 -61
  2616. package/dist/node_modules/mqtt/build/mqtt.js.map +0 -1
  2617. package/dist/node_modules/mqtt/build/tsconfig.build.tsbuildinfo +0 -1
  2618. package/dist/node_modules/mqtt/dist/mqtt.esm.js +0 -19
  2619. package/dist/node_modules/mqtt/dist/mqtt.js +0 -23895
  2620. package/dist/node_modules/mqtt/dist/mqtt.min.js +0 -19
  2621. package/dist/node_modules/mqtt/help/help.txt +0 -8
  2622. package/dist/node_modules/mqtt/help/publish.txt +0 -26
  2623. package/dist/node_modules/mqtt/help/subscribe.txt +0 -26
  2624. package/dist/node_modules/mqtt/package.json +0 -175
  2625. package/dist/node_modules/mqtt-packet/.github/workflows/ci.yml +0 -27
  2626. package/dist/node_modules/mqtt-packet/CONTRIBUTING.md +0 -27
  2627. package/dist/node_modules/mqtt-packet/LICENSE.md +0 -13
  2628. package/dist/node_modules/mqtt-packet/README.md +0 -491
  2629. package/dist/node_modules/mqtt-packet/benchmarks/generate.js +0 -26
  2630. package/dist/node_modules/mqtt-packet/benchmarks/generateNet.js +0 -50
  2631. package/dist/node_modules/mqtt-packet/benchmarks/parse.js +0 -19
  2632. package/dist/node_modules/mqtt-packet/benchmarks/writeToStream.js +0 -48
  2633. package/dist/node_modules/mqtt-packet/constants.js +0 -291
  2634. package/dist/node_modules/mqtt-packet/generate.js +0 -57
  2635. package/dist/node_modules/mqtt-packet/mqtt.js +0 -3
  2636. package/dist/node_modules/mqtt-packet/numbers.js +0 -59
  2637. package/dist/node_modules/mqtt-packet/package.json +0 -48
  2638. package/dist/node_modules/mqtt-packet/packet.js +0 -13
  2639. package/dist/node_modules/mqtt-packet/parser.js +0 -809
  2640. package/dist/node_modules/mqtt-packet/test.js +0 -3234
  2641. package/dist/node_modules/mqtt-packet/testRandom.js +0 -86
  2642. package/dist/node_modules/mqtt-packet/types/index.d.ts +0 -257
  2643. package/dist/node_modules/mqtt-packet/writeToStream.js +0 -1129
  2644. package/dist/node_modules/ms/index.js +0 -162
  2645. package/dist/node_modules/ms/license.md +0 -21
  2646. package/dist/node_modules/ms/package.json +0 -38
  2647. package/dist/node_modules/ms/readme.md +0 -59
  2648. package/dist/node_modules/node-domexception/.history/README_20210527203617.md +0 -2
  2649. package/dist/node_modules/node-domexception/.history/README_20210527212714.md +0 -41
  2650. package/dist/node_modules/node-domexception/.history/README_20210527213345.md +0 -36
  2651. package/dist/node_modules/node-domexception/.history/README_20210527213411.md +0 -36
  2652. package/dist/node_modules/node-domexception/.history/README_20210527213803.md +0 -36
  2653. package/dist/node_modules/node-domexception/.history/README_20210527214323.md +0 -38
  2654. package/dist/node_modules/node-domexception/.history/README_20210527214408.md +0 -38
  2655. package/dist/node_modules/node-domexception/.history/index_20210527203842.js +0 -0
  2656. package/dist/node_modules/node-domexception/.history/index_20210527203947.js +0 -8
  2657. package/dist/node_modules/node-domexception/.history/index_20210527204259.js +0 -9
  2658. package/dist/node_modules/node-domexception/.history/index_20210527204418.js +0 -9
  2659. package/dist/node_modules/node-domexception/.history/index_20210527204756.js +0 -11
  2660. package/dist/node_modules/node-domexception/.history/index_20210527204833.js +0 -11
  2661. package/dist/node_modules/node-domexception/.history/index_20210527211208.js +0 -15
  2662. package/dist/node_modules/node-domexception/.history/index_20210527211248.js +0 -15
  2663. package/dist/node_modules/node-domexception/.history/index_20210527212722.js +0 -23
  2664. package/dist/node_modules/node-domexception/.history/index_20210527212731.js +0 -23
  2665. package/dist/node_modules/node-domexception/.history/index_20210527212746.js +0 -15
  2666. package/dist/node_modules/node-domexception/.history/index_20210527212900.js +0 -16
  2667. package/dist/node_modules/node-domexception/.history/index_20210527213022.js +0 -16
  2668. package/dist/node_modules/node-domexception/.history/index_20210527213822.js +0 -16
  2669. package/dist/node_modules/node-domexception/.history/index_20210527213843.js +0 -17
  2670. package/dist/node_modules/node-domexception/.history/index_20210527213852.js +0 -17
  2671. package/dist/node_modules/node-domexception/.history/index_20210527213910.js +0 -16
  2672. package/dist/node_modules/node-domexception/.history/index_20210527214034.js +0 -16
  2673. package/dist/node_modules/node-domexception/.history/index_20210527214643.js +0 -41
  2674. package/dist/node_modules/node-domexception/.history/index_20210527214654.js +0 -41
  2675. package/dist/node_modules/node-domexception/.history/index_20210527214700.js +0 -16
  2676. package/dist/node_modules/node-domexception/.history/package_20210527203733.json +0 -19
  2677. package/dist/node_modules/node-domexception/.history/package_20210527203825.json +0 -16
  2678. package/dist/node_modules/node-domexception/.history/package_20210527204621.json +0 -19
  2679. package/dist/node_modules/node-domexception/.history/package_20210527204913.json +0 -25
  2680. package/dist/node_modules/node-domexception/.history/package_20210527204925.json +0 -25
  2681. package/dist/node_modules/node-domexception/.history/package_20210527205145.json +0 -29
  2682. package/dist/node_modules/node-domexception/.history/package_20210527205156.json +0 -29
  2683. package/dist/node_modules/node-domexception/.history/test_20210527205603.js +0 -0
  2684. package/dist/node_modules/node-domexception/.history/test_20210527205957.js +0 -3
  2685. package/dist/node_modules/node-domexception/.history/test_20210527210021.js +0 -3
  2686. package/dist/node_modules/node-domexception/LICENSE +0 -21
  2687. package/dist/node_modules/node-domexception/README.md +0 -46
  2688. package/dist/node_modules/node-domexception/index.js +0 -16
  2689. package/dist/node_modules/node-domexception/package.json +0 -29
  2690. package/dist/node_modules/node-fetch/@types/index.d.ts +0 -219
  2691. package/dist/node_modules/node-fetch/LICENSE.md +0 -22
  2692. package/dist/node_modules/node-fetch/README.md +0 -872
  2693. package/dist/node_modules/node-fetch/package.json +0 -131
  2694. package/dist/node_modules/node-fetch/src/body.js +0 -397
  2695. package/dist/node_modules/node-fetch/src/errors/abort-error.js +0 -10
  2696. package/dist/node_modules/node-fetch/src/errors/base.js +0 -17
  2697. package/dist/node_modules/node-fetch/src/errors/fetch-error.js +0 -26
  2698. package/dist/node_modules/node-fetch/src/headers.js +0 -267
  2699. package/dist/node_modules/node-fetch/src/index.js +0 -417
  2700. package/dist/node_modules/node-fetch/src/request.js +0 -313
  2701. package/dist/node_modules/node-fetch/src/response.js +0 -160
  2702. package/dist/node_modules/node-fetch/src/utils/get-search.js +0 -9
  2703. package/dist/node_modules/node-fetch/src/utils/is-redirect.js +0 -11
  2704. package/dist/node_modules/node-fetch/src/utils/is.js +0 -87
  2705. package/dist/node_modules/node-fetch/src/utils/multipart-parser.js +0 -432
  2706. package/dist/node_modules/node-fetch/src/utils/referrer.js +0 -340
  2707. package/dist/node_modules/node-persist/LICENSE +0 -21
  2708. package/dist/node_modules/node-persist/README.md +0 -246
  2709. package/dist/node_modules/node-persist/examples/counter/counter.js +0 -89
  2710. package/dist/node_modules/node-persist/package.json +0 -49
  2711. package/dist/node_modules/node-persist/src/local-storage.js +0 -521
  2712. package/dist/node_modules/node-persist/src/node-persist.js +0 -53
  2713. package/dist/node_modules/node-persist/tests/index.js +0 -400
  2714. package/dist/node_modules/number-allocator/.github/workflows/nodejs.yml +0 -33
  2715. package/dist/node_modules/number-allocator/CHANGELOG.md +0 -47
  2716. package/dist/node_modules/number-allocator/LICENSE +0 -21
  2717. package/dist/node_modules/number-allocator/README.md +0 -203
  2718. package/dist/node_modules/number-allocator/index.js +0 -7
  2719. package/dist/node_modules/number-allocator/karma.conf.js +0 -63
  2720. package/dist/node_modules/number-allocator/lib/number-allocator.js +0 -249
  2721. package/dist/node_modules/number-allocator/package.json +0 -69
  2722. package/dist/node_modules/number-allocator/test/test.js +0 -337
  2723. package/dist/node_modules/number-allocator/test/typescript/test.ts +0 -24
  2724. package/dist/node_modules/number-allocator/test/typescript/tsconfig.json +0 -14
  2725. package/dist/node_modules/number-allocator/types/index.d.ts +0 -1
  2726. package/dist/node_modules/number-allocator/types/lib/number-allocator.d.ts +0 -65
  2727. package/dist/node_modules/p-limit/index.d.ts +0 -42
  2728. package/dist/node_modules/p-limit/index.js +0 -71
  2729. package/dist/node_modules/p-limit/license +0 -9
  2730. package/dist/node_modules/p-limit/package.json +0 -52
  2731. package/dist/node_modules/p-limit/readme.md +0 -101
  2732. package/dist/node_modules/pako/LICENSE +0 -21
  2733. package/dist/node_modules/pako/README.md +0 -177
  2734. package/dist/node_modules/pako/dist/pako.es5.js +0 -6688
  2735. package/dist/node_modules/pako/dist/pako.es5.min.js +0 -2
  2736. package/dist/node_modules/pako/dist/pako.esm.mjs +0 -6877
  2737. package/dist/node_modules/pako/dist/pako.js +0 -6896
  2738. package/dist/node_modules/pako/dist/pako.min.js +0 -2
  2739. package/dist/node_modules/pako/dist/pako_deflate.es5.js +0 -3924
  2740. package/dist/node_modules/pako/dist/pako_deflate.es5.min.js +0 -2
  2741. package/dist/node_modules/pako/dist/pako_deflate.js +0 -4126
  2742. package/dist/node_modules/pako/dist/pako_deflate.min.js +0 -2
  2743. package/dist/node_modules/pako/dist/pako_inflate.es5.js +0 -3229
  2744. package/dist/node_modules/pako/dist/pako_inflate.es5.min.js +0 -2
  2745. package/dist/node_modules/pako/dist/pako_inflate.js +0 -3239
  2746. package/dist/node_modules/pako/dist/pako_inflate.min.js +0 -2
  2747. package/dist/node_modules/pako/index.js +0 -18
  2748. package/dist/node_modules/pako/lib/deflate.js +0 -380
  2749. package/dist/node_modules/pako/lib/inflate.js +0 -419
  2750. package/dist/node_modules/pako/lib/utils/common.js +0 -48
  2751. package/dist/node_modules/pako/lib/utils/strings.js +0 -174
  2752. package/dist/node_modules/pako/lib/zlib/README +0 -59
  2753. package/dist/node_modules/pako/lib/zlib/adler32.js +0 -51
  2754. package/dist/node_modules/pako/lib/zlib/constants.js +0 -68
  2755. package/dist/node_modules/pako/lib/zlib/crc32.js +0 -59
  2756. package/dist/node_modules/pako/lib/zlib/deflate.js +0 -2048
  2757. package/dist/node_modules/pako/lib/zlib/gzheader.js +0 -58
  2758. package/dist/node_modules/pako/lib/zlib/inffast.js +0 -344
  2759. package/dist/node_modules/pako/lib/zlib/inflate.js +0 -1572
  2760. package/dist/node_modules/pako/lib/zlib/inftrees.js +0 -340
  2761. package/dist/node_modules/pako/lib/zlib/messages.js +0 -32
  2762. package/dist/node_modules/pako/lib/zlib/trees.js +0 -1179
  2763. package/dist/node_modules/pako/lib/zlib/zstream.js +0 -47
  2764. package/dist/node_modules/pako/package.json +0 -64
  2765. package/dist/node_modules/process/.eslintrc +0 -21
  2766. package/dist/node_modules/process/LICENSE +0 -22
  2767. package/dist/node_modules/process/README.md +0 -26
  2768. package/dist/node_modules/process/browser.js +0 -184
  2769. package/dist/node_modules/process/index.js +0 -2
  2770. package/dist/node_modules/process/package.json +0 -27
  2771. package/dist/node_modules/process/test.js +0 -199
  2772. package/dist/node_modules/process-nextick-args/index.js +0 -45
  2773. package/dist/node_modules/process-nextick-args/license.md +0 -19
  2774. package/dist/node_modules/process-nextick-args/package.json +0 -25
  2775. package/dist/node_modules/process-nextick-args/readme.md +0 -18
  2776. package/dist/node_modules/protobufjs/LICENSE +0 -39
  2777. package/dist/node_modules/protobufjs/README.md +0 -727
  2778. package/dist/node_modules/protobufjs/dist/light/protobuf.js +0 -7833
  2779. package/dist/node_modules/protobufjs/dist/light/protobuf.js.map +0 -1
  2780. package/dist/node_modules/protobufjs/dist/light/protobuf.min.js +0 -8
  2781. package/dist/node_modules/protobufjs/dist/light/protobuf.min.js.map +0 -1
  2782. package/dist/node_modules/protobufjs/dist/minimal/protobuf.js +0 -2736
  2783. package/dist/node_modules/protobufjs/dist/minimal/protobuf.js.map +0 -1
  2784. package/dist/node_modules/protobufjs/dist/minimal/protobuf.min.js +0 -8
  2785. package/dist/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +0 -1
  2786. package/dist/node_modules/protobufjs/dist/protobuf.js +0 -9637
  2787. package/dist/node_modules/protobufjs/dist/protobuf.js.map +0 -1
  2788. package/dist/node_modules/protobufjs/dist/protobuf.min.js +0 -8
  2789. package/dist/node_modules/protobufjs/dist/protobuf.min.js.map +0 -1
  2790. package/dist/node_modules/protobufjs/ext/debug/README.md +0 -4
  2791. package/dist/node_modules/protobufjs/ext/debug/index.js +0 -71
  2792. package/dist/node_modules/protobufjs/ext/descriptor/README.md +0 -72
  2793. package/dist/node_modules/protobufjs/ext/descriptor/index.d.ts +0 -191
  2794. package/dist/node_modules/protobufjs/ext/descriptor/index.js +0 -1162
  2795. package/dist/node_modules/protobufjs/ext/descriptor/test.js +0 -54
  2796. package/dist/node_modules/protobufjs/google/LICENSE +0 -27
  2797. package/dist/node_modules/protobufjs/google/README.md +0 -1
  2798. package/dist/node_modules/protobufjs/google/api/annotations.json +0 -83
  2799. package/dist/node_modules/protobufjs/google/api/annotations.proto +0 -11
  2800. package/dist/node_modules/protobufjs/google/api/http.json +0 -86
  2801. package/dist/node_modules/protobufjs/google/api/http.proto +0 -31
  2802. package/dist/node_modules/protobufjs/google/protobuf/api.json +0 -118
  2803. package/dist/node_modules/protobufjs/google/protobuf/api.proto +0 -34
  2804. package/dist/node_modules/protobufjs/google/protobuf/descriptor.json +0 -1382
  2805. package/dist/node_modules/protobufjs/google/protobuf/descriptor.proto +0 -535
  2806. package/dist/node_modules/protobufjs/google/protobuf/source_context.json +0 -20
  2807. package/dist/node_modules/protobufjs/google/protobuf/source_context.proto +0 -7
  2808. package/dist/node_modules/protobufjs/google/protobuf/type.json +0 -202
  2809. package/dist/node_modules/protobufjs/google/protobuf/type.proto +0 -89
  2810. package/dist/node_modules/protobufjs/index.d.ts +0 -2799
  2811. package/dist/node_modules/protobufjs/index.js +0 -4
  2812. package/dist/node_modules/protobufjs/light.d.ts +0 -2
  2813. package/dist/node_modules/protobufjs/light.js +0 -4
  2814. package/dist/node_modules/protobufjs/minimal.d.ts +0 -2
  2815. package/dist/node_modules/protobufjs/minimal.js +0 -4
  2816. package/dist/node_modules/protobufjs/package.json +0 -114
  2817. package/dist/node_modules/protobufjs/scripts/postinstall.js +0 -32
  2818. package/dist/node_modules/protobufjs/src/common.js +0 -399
  2819. package/dist/node_modules/protobufjs/src/converter.js +0 -301
  2820. package/dist/node_modules/protobufjs/src/decoder.js +0 -127
  2821. package/dist/node_modules/protobufjs/src/encoder.js +0 -100
  2822. package/dist/node_modules/protobufjs/src/enum.js +0 -223
  2823. package/dist/node_modules/protobufjs/src/field.js +0 -453
  2824. package/dist/node_modules/protobufjs/src/index-light.js +0 -104
  2825. package/dist/node_modules/protobufjs/src/index-minimal.js +0 -36
  2826. package/dist/node_modules/protobufjs/src/index.js +0 -12
  2827. package/dist/node_modules/protobufjs/src/mapfield.js +0 -126
  2828. package/dist/node_modules/protobufjs/src/message.js +0 -139
  2829. package/dist/node_modules/protobufjs/src/method.js +0 -160
  2830. package/dist/node_modules/protobufjs/src/namespace.js +0 -546
  2831. package/dist/node_modules/protobufjs/src/object.js +0 -378
  2832. package/dist/node_modules/protobufjs/src/oneof.js +0 -222
  2833. package/dist/node_modules/protobufjs/src/parse.js +0 -969
  2834. package/dist/node_modules/protobufjs/src/reader.js +0 -416
  2835. package/dist/node_modules/protobufjs/src/reader_buffer.js +0 -51
  2836. package/dist/node_modules/protobufjs/src/root.js +0 -404
  2837. package/dist/node_modules/protobufjs/src/roots.js +0 -18
  2838. package/dist/node_modules/protobufjs/src/rpc/service.js +0 -142
  2839. package/dist/node_modules/protobufjs/src/rpc.js +0 -36
  2840. package/dist/node_modules/protobufjs/src/service.js +0 -189
  2841. package/dist/node_modules/protobufjs/src/tokenize.js +0 -416
  2842. package/dist/node_modules/protobufjs/src/type.js +0 -614
  2843. package/dist/node_modules/protobufjs/src/types.js +0 -196
  2844. package/dist/node_modules/protobufjs/src/typescript.jsdoc +0 -15
  2845. package/dist/node_modules/protobufjs/src/util/longbits.js +0 -200
  2846. package/dist/node_modules/protobufjs/src/util/minimal.js +0 -438
  2847. package/dist/node_modules/protobufjs/src/util.js +0 -215
  2848. package/dist/node_modules/protobufjs/src/verifier.js +0 -177
  2849. package/dist/node_modules/protobufjs/src/wrappers.js +0 -102
  2850. package/dist/node_modules/protobufjs/src/writer.js +0 -465
  2851. package/dist/node_modules/protobufjs/src/writer_buffer.js +0 -85
  2852. package/dist/node_modules/protobufjs/tsconfig.json +0 -8
  2853. package/dist/node_modules/proxy-from-env/.eslintrc +0 -29
  2854. package/dist/node_modules/proxy-from-env/.travis.yml +0 -10
  2855. package/dist/node_modules/proxy-from-env/LICENSE +0 -20
  2856. package/dist/node_modules/proxy-from-env/README.md +0 -131
  2857. package/dist/node_modules/proxy-from-env/index.js +0 -108
  2858. package/dist/node_modules/proxy-from-env/package.json +0 -34
  2859. package/dist/node_modules/proxy-from-env/test.js +0 -483
  2860. package/dist/node_modules/psl/LICENSE +0 -9
  2861. package/dist/node_modules/psl/README.md +0 -260
  2862. package/dist/node_modules/psl/SECURITY.md +0 -13
  2863. package/dist/node_modules/psl/browserstack-logo.svg +0 -90
  2864. package/dist/node_modules/psl/data/rules.js +0 -9778
  2865. package/dist/node_modules/psl/dist/psl.cjs +0 -1
  2866. package/dist/node_modules/psl/dist/psl.mjs +0 -10008
  2867. package/dist/node_modules/psl/dist/psl.umd.cjs +0 -1
  2868. package/dist/node_modules/psl/index.js +0 -247
  2869. package/dist/node_modules/psl/package.json +0 -51
  2870. package/dist/node_modules/psl/types/index.d.ts +0 -52
  2871. package/dist/node_modules/psl/types/test.ts +0 -14
  2872. package/dist/node_modules/psl/types/tsconfig.json +0 -22
  2873. package/dist/node_modules/psl/vite.config.js +0 -20
  2874. package/dist/node_modules/punycode/LICENSE-MIT.txt +0 -20
  2875. package/dist/node_modules/punycode/README.md +0 -148
  2876. package/dist/node_modules/punycode/package.json +0 -58
  2877. package/dist/node_modules/punycode/punycode.es6.js +0 -444
  2878. package/dist/node_modules/punycode/punycode.js +0 -443
  2879. package/dist/node_modules/querystringify/LICENSE +0 -22
  2880. package/dist/node_modules/querystringify/README.md +0 -61
  2881. package/dist/node_modules/querystringify/index.js +0 -118
  2882. package/dist/node_modules/querystringify/package.json +0 -38
  2883. package/dist/node_modules/readable-stream/LICENSE +0 -47
  2884. package/dist/node_modules/readable-stream/README.md +0 -116
  2885. package/dist/node_modules/readable-stream/lib/_stream_duplex.js +0 -4
  2886. package/dist/node_modules/readable-stream/lib/_stream_passthrough.js +0 -4
  2887. package/dist/node_modules/readable-stream/lib/_stream_readable.js +0 -4
  2888. package/dist/node_modules/readable-stream/lib/_stream_transform.js +0 -4
  2889. package/dist/node_modules/readable-stream/lib/_stream_writable.js +0 -4
  2890. package/dist/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js +0 -52
  2891. package/dist/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -157
  2892. package/dist/node_modules/readable-stream/lib/internal/streams/compose.js +0 -194
  2893. package/dist/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -290
  2894. package/dist/node_modules/readable-stream/lib/internal/streams/duplex.js +0 -143
  2895. package/dist/node_modules/readable-stream/lib/internal/streams/duplexify.js +0 -378
  2896. package/dist/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -286
  2897. package/dist/node_modules/readable-stream/lib/internal/streams/from.js +0 -98
  2898. package/dist/node_modules/readable-stream/lib/internal/streams/lazy_transform.js +0 -51
  2899. package/dist/node_modules/readable-stream/lib/internal/streams/legacy.js +0 -89
  2900. package/dist/node_modules/readable-stream/lib/internal/streams/operators.js +0 -457
  2901. package/dist/node_modules/readable-stream/lib/internal/streams/passthrough.js +0 -39
  2902. package/dist/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -471
  2903. package/dist/node_modules/readable-stream/lib/internal/streams/readable.js +0 -1290
  2904. package/dist/node_modules/readable-stream/lib/internal/streams/state.js +0 -39
  2905. package/dist/node_modules/readable-stream/lib/internal/streams/transform.js +0 -180
  2906. package/dist/node_modules/readable-stream/lib/internal/streams/utils.js +0 -327
  2907. package/dist/node_modules/readable-stream/lib/internal/streams/writable.js +0 -819
  2908. package/dist/node_modules/readable-stream/lib/internal/validators.js +0 -530
  2909. package/dist/node_modules/readable-stream/lib/ours/browser.js +0 -35
  2910. package/dist/node_modules/readable-stream/lib/ours/errors.js +0 -343
  2911. package/dist/node_modules/readable-stream/lib/ours/index.js +0 -65
  2912. package/dist/node_modules/readable-stream/lib/ours/primordials.js +0 -124
  2913. package/dist/node_modules/readable-stream/lib/ours/util/inspect.js +0 -55
  2914. package/dist/node_modules/readable-stream/lib/ours/util.js +0 -148
  2915. package/dist/node_modules/readable-stream/lib/stream/promises.js +0 -43
  2916. package/dist/node_modules/readable-stream/lib/stream.js +0 -143
  2917. package/dist/node_modules/readable-stream/package.json +0 -88
  2918. package/dist/node_modules/requires-port/.travis.yml +0 -19
  2919. package/dist/node_modules/requires-port/LICENSE +0 -22
  2920. package/dist/node_modules/requires-port/README.md +0 -47
  2921. package/dist/node_modules/requires-port/index.js +0 -38
  2922. package/dist/node_modules/requires-port/package.json +0 -47
  2923. package/dist/node_modules/requires-port/test.js +0 -98
  2924. package/dist/node_modules/rfdc/.github/workflows/ci.yml +0 -21
  2925. package/dist/node_modules/rfdc/LICENSE +0 -15
  2926. package/dist/node_modules/rfdc/default.js +0 -3
  2927. package/dist/node_modules/rfdc/index.d.ts +0 -13
  2928. package/dist/node_modules/rfdc/index.js +0 -198
  2929. package/dist/node_modules/rfdc/index.test-d.ts +0 -13
  2930. package/dist/node_modules/rfdc/package.json +0 -73
  2931. package/dist/node_modules/rfdc/readme.md +0 -181
  2932. package/dist/node_modules/rfdc/test/index.js +0 -306
  2933. package/dist/node_modules/safe-buffer/LICENSE +0 -21
  2934. package/dist/node_modules/safe-buffer/README.md +0 -584
  2935. package/dist/node_modules/safe-buffer/index.d.ts +0 -187
  2936. package/dist/node_modules/safe-buffer/index.js +0 -65
  2937. package/dist/node_modules/safe-buffer/package.json +0 -51
  2938. package/dist/node_modules/smart-buffer/.prettierrc.yaml +0 -5
  2939. package/dist/node_modules/smart-buffer/.travis.yml +0 -13
  2940. package/dist/node_modules/smart-buffer/LICENSE +0 -20
  2941. package/dist/node_modules/smart-buffer/README.md +0 -633
  2942. package/dist/node_modules/smart-buffer/build/smartbuffer.js +0 -1233
  2943. package/dist/node_modules/smart-buffer/build/smartbuffer.js.map +0 -1
  2944. package/dist/node_modules/smart-buffer/build/utils.js +0 -108
  2945. package/dist/node_modules/smart-buffer/build/utils.js.map +0 -1
  2946. package/dist/node_modules/smart-buffer/docs/CHANGELOG.md +0 -70
  2947. package/dist/node_modules/smart-buffer/docs/README_v3.md +0 -367
  2948. package/dist/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
  2949. package/dist/node_modules/smart-buffer/package.json +0 -79
  2950. package/dist/node_modules/smart-buffer/typings/smartbuffer.d.ts +0 -755
  2951. package/dist/node_modules/smart-buffer/typings/utils.d.ts +0 -66
  2952. package/dist/node_modules/socks/.eslintrc.cjs +0 -11
  2953. package/dist/node_modules/socks/.prettierrc.yaml +0 -7
  2954. package/dist/node_modules/socks/LICENSE +0 -20
  2955. package/dist/node_modules/socks/README.md +0 -686
  2956. package/dist/node_modules/socks/build/client/socksclient.js +0 -793
  2957. package/dist/node_modules/socks/build/client/socksclient.js.map +0 -1
  2958. package/dist/node_modules/socks/build/common/constants.js +0 -108
  2959. package/dist/node_modules/socks/build/common/constants.js.map +0 -1
  2960. package/dist/node_modules/socks/build/common/helpers.js +0 -167
  2961. package/dist/node_modules/socks/build/common/helpers.js.map +0 -1
  2962. package/dist/node_modules/socks/build/common/receivebuffer.js +0 -43
  2963. package/dist/node_modules/socks/build/common/receivebuffer.js.map +0 -1
  2964. package/dist/node_modules/socks/build/common/util.js +0 -25
  2965. package/dist/node_modules/socks/build/common/util.js.map +0 -1
  2966. package/dist/node_modules/socks/build/index.js +0 -18
  2967. package/dist/node_modules/socks/build/index.js.map +0 -1
  2968. package/dist/node_modules/socks/docs/examples/index.md +0 -17
  2969. package/dist/node_modules/socks/docs/examples/javascript/associateExample.md +0 -90
  2970. package/dist/node_modules/socks/docs/examples/javascript/bindExample.md +0 -83
  2971. package/dist/node_modules/socks/docs/examples/javascript/connectExample.md +0 -258
  2972. package/dist/node_modules/socks/docs/examples/typescript/associateExample.md +0 -93
  2973. package/dist/node_modules/socks/docs/examples/typescript/bindExample.md +0 -86
  2974. package/dist/node_modules/socks/docs/examples/typescript/connectExample.md +0 -265
  2975. package/dist/node_modules/socks/docs/index.md +0 -5
  2976. package/dist/node_modules/socks/docs/migratingFromV1.md +0 -86
  2977. package/dist/node_modules/socks/package.json +0 -58
  2978. package/dist/node_modules/socks/typings/client/socksclient.d.ts +0 -162
  2979. package/dist/node_modules/socks/typings/common/constants.d.ts +0 -151
  2980. package/dist/node_modules/socks/typings/common/helpers.d.ts +0 -17
  2981. package/dist/node_modules/socks/typings/common/receivebuffer.d.ts +0 -12
  2982. package/dist/node_modules/socks/typings/common/util.d.ts +0 -14
  2983. package/dist/node_modules/socks/typings/index.d.ts +0 -1
  2984. package/dist/node_modules/split2/LICENSE +0 -13
  2985. package/dist/node_modules/split2/README.md +0 -85
  2986. package/dist/node_modules/split2/bench.js +0 -27
  2987. package/dist/node_modules/split2/index.js +0 -141
  2988. package/dist/node_modules/split2/package.json +0 -39
  2989. package/dist/node_modules/split2/test.js +0 -409
  2990. package/dist/node_modules/string_decoder/LICENSE +0 -48
  2991. package/dist/node_modules/string_decoder/README.md +0 -47
  2992. package/dist/node_modules/string_decoder/lib/string_decoder.js +0 -296
  2993. package/dist/node_modules/string_decoder/package.json +0 -34
  2994. package/dist/node_modules/tough-cookie/LICENSE +0 -12
  2995. package/dist/node_modules/tough-cookie/README.md +0 -596
  2996. package/dist/node_modules/tough-cookie/lib/cookie.js +0 -1758
  2997. package/dist/node_modules/tough-cookie/lib/memstore.js +0 -242
  2998. package/dist/node_modules/tough-cookie/lib/pathMatch.js +0 -61
  2999. package/dist/node_modules/tough-cookie/lib/permuteDomain.js +0 -65
  3000. package/dist/node_modules/tough-cookie/lib/pubsuffix-psl.js +0 -73
  3001. package/dist/node_modules/tough-cookie/lib/store.js +0 -76
  3002. package/dist/node_modules/tough-cookie/lib/utilHelper.js +0 -39
  3003. package/dist/node_modules/tough-cookie/lib/validators.js +0 -110
  3004. package/dist/node_modules/tough-cookie/lib/version.js +0 -2
  3005. package/dist/node_modules/tough-cookie/package.json +0 -110
  3006. package/dist/node_modules/ts-custom-error/CHANGELOG.md +0 -149
  3007. package/dist/node_modules/ts-custom-error/LICENSE +0 -21
  3008. package/dist/node_modules/ts-custom-error/README.md +0 -165
  3009. package/dist/node_modules/ts-custom-error/SECURITY.md +0 -11
  3010. package/dist/node_modules/ts-custom-error/dist/custom-error.d.ts +0 -22
  3011. package/dist/node_modules/ts-custom-error/dist/custom-error.js +0 -110
  3012. package/dist/node_modules/ts-custom-error/dist/custom-error.js.map +0 -1
  3013. package/dist/node_modules/ts-custom-error/dist/custom-error.mjs +0 -109
  3014. package/dist/node_modules/ts-custom-error/dist/custom-error.mjs.map +0 -1
  3015. package/dist/node_modules/ts-custom-error/dist/custom-error.modern.mjs +0 -107
  3016. package/dist/node_modules/ts-custom-error/dist/custom-error.modern.mjs.map +0 -1
  3017. package/dist/node_modules/ts-custom-error/dist/custom-error.umd.d.ts +0 -22
  3018. package/dist/node_modules/ts-custom-error/dist/custom-error.umd.js +0 -1
  3019. package/dist/node_modules/ts-custom-error/dist/custom-error.umd.js.map +0 -1
  3020. package/dist/node_modules/ts-custom-error/dist/dist/src/index.d.ts +0 -2
  3021. package/dist/node_modules/ts-custom-error/package.json +0 -140
  3022. package/dist/node_modules/tslib/CopyrightNotice.txt +0 -15
  3023. package/dist/node_modules/tslib/LICENSE.txt +0 -12
  3024. package/dist/node_modules/tslib/README.md +0 -164
  3025. package/dist/node_modules/tslib/SECURITY.md +0 -41
  3026. package/dist/node_modules/tslib/modules/index.d.ts +0 -38
  3027. package/dist/node_modules/tslib/modules/index.js +0 -70
  3028. package/dist/node_modules/tslib/modules/package.json +0 -3
  3029. package/dist/node_modules/tslib/package.json +0 -47
  3030. package/dist/node_modules/tslib/tslib.d.ts +0 -460
  3031. package/dist/node_modules/tslib/tslib.es6.html +0 -1
  3032. package/dist/node_modules/tslib/tslib.es6.js +0 -402
  3033. package/dist/node_modules/tslib/tslib.es6.mjs +0 -401
  3034. package/dist/node_modules/tslib/tslib.html +0 -1
  3035. package/dist/node_modules/tslib/tslib.js +0 -484
  3036. package/dist/node_modules/typedarray/.travis.yml +0 -4
  3037. package/dist/node_modules/typedarray/LICENSE +0 -35
  3038. package/dist/node_modules/typedarray/example/tarray.js +0 -4
  3039. package/dist/node_modules/typedarray/index.js +0 -630
  3040. package/dist/node_modules/typedarray/package.json +0 -55
  3041. package/dist/node_modules/typedarray/readme.markdown +0 -61
  3042. package/dist/node_modules/typedarray/test/server/undef_globals.js +0 -19
  3043. package/dist/node_modules/typedarray/test/tarray.js +0 -10
  3044. package/dist/node_modules/undici-types/LICENSE +0 -21
  3045. package/dist/node_modules/undici-types/README.md +0 -6
  3046. package/dist/node_modules/undici-types/agent.d.ts +0 -32
  3047. package/dist/node_modules/undici-types/api.d.ts +0 -43
  3048. package/dist/node_modules/undici-types/balanced-pool.d.ts +0 -29
  3049. package/dist/node_modules/undici-types/cache-interceptor.d.ts +0 -172
  3050. package/dist/node_modules/undici-types/cache.d.ts +0 -36
  3051. package/dist/node_modules/undici-types/client-stats.d.ts +0 -15
  3052. package/dist/node_modules/undici-types/client.d.ts +0 -108
  3053. package/dist/node_modules/undici-types/connector.d.ts +0 -34
  3054. package/dist/node_modules/undici-types/content-type.d.ts +0 -21
  3055. package/dist/node_modules/undici-types/cookies.d.ts +0 -30
  3056. package/dist/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  3057. package/dist/node_modules/undici-types/dispatcher.d.ts +0 -276
  3058. package/dist/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  3059. package/dist/node_modules/undici-types/errors.d.ts +0 -161
  3060. package/dist/node_modules/undici-types/eventsource.d.ts +0 -66
  3061. package/dist/node_modules/undici-types/fetch.d.ts +0 -211
  3062. package/dist/node_modules/undici-types/formdata.d.ts +0 -108
  3063. package/dist/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  3064. package/dist/node_modules/undici-types/global-origin.d.ts +0 -7
  3065. package/dist/node_modules/undici-types/h2c-client.d.ts +0 -73
  3066. package/dist/node_modules/undici-types/handlers.d.ts +0 -15
  3067. package/dist/node_modules/undici-types/header.d.ts +0 -160
  3068. package/dist/node_modules/undici-types/index.d.ts +0 -80
  3069. package/dist/node_modules/undici-types/interceptors.d.ts +0 -39
  3070. package/dist/node_modules/undici-types/mock-agent.d.ts +0 -68
  3071. package/dist/node_modules/undici-types/mock-call-history.d.ts +0 -111
  3072. package/dist/node_modules/undici-types/mock-client.d.ts +0 -27
  3073. package/dist/node_modules/undici-types/mock-errors.d.ts +0 -12
  3074. package/dist/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  3075. package/dist/node_modules/undici-types/mock-pool.d.ts +0 -27
  3076. package/dist/node_modules/undici-types/package.json +0 -55
  3077. package/dist/node_modules/undici-types/patch.d.ts +0 -29
  3078. package/dist/node_modules/undici-types/pool-stats.d.ts +0 -19
  3079. package/dist/node_modules/undici-types/pool.d.ts +0 -41
  3080. package/dist/node_modules/undici-types/proxy-agent.d.ts +0 -29
  3081. package/dist/node_modules/undici-types/readable.d.ts +0 -68
  3082. package/dist/node_modules/undici-types/retry-agent.d.ts +0 -8
  3083. package/dist/node_modules/undici-types/retry-handler.d.ts +0 -125
  3084. package/dist/node_modules/undici-types/snapshot-agent.d.ts +0 -109
  3085. package/dist/node_modules/undici-types/util.d.ts +0 -18
  3086. package/dist/node_modules/undici-types/utility.d.ts +0 -7
  3087. package/dist/node_modules/undici-types/webidl.d.ts +0 -341
  3088. package/dist/node_modules/undici-types/websocket.d.ts +0 -186
  3089. package/dist/node_modules/universalify/LICENSE +0 -20
  3090. package/dist/node_modules/universalify/README.md +0 -76
  3091. package/dist/node_modules/universalify/index.js +0 -29
  3092. package/dist/node_modules/universalify/package.json +0 -34
  3093. package/dist/node_modules/url-parse/LICENSE +0 -22
  3094. package/dist/node_modules/url-parse/README.md +0 -153
  3095. package/dist/node_modules/url-parse/dist/url-parse.js +0 -755
  3096. package/dist/node_modules/url-parse/dist/url-parse.min.js +0 -1
  3097. package/dist/node_modules/url-parse/dist/url-parse.min.js.map +0 -1
  3098. package/dist/node_modules/url-parse/index.js +0 -589
  3099. package/dist/node_modules/url-parse/package.json +0 -49
  3100. package/dist/node_modules/util-deprecate/History.md +0 -16
  3101. package/dist/node_modules/util-deprecate/LICENSE +0 -24
  3102. package/dist/node_modules/util-deprecate/README.md +0 -53
  3103. package/dist/node_modules/util-deprecate/browser.js +0 -67
  3104. package/dist/node_modules/util-deprecate/node.js +0 -6
  3105. package/dist/node_modules/util-deprecate/package.json +0 -27
  3106. package/dist/node_modules/uuid/CHANGELOG.md +0 -274
  3107. package/dist/node_modules/uuid/CONTRIBUTING.md +0 -18
  3108. package/dist/node_modules/uuid/LICENSE.md +0 -9
  3109. package/dist/node_modules/uuid/README.md +0 -466
  3110. package/dist/node_modules/uuid/dist/bin/uuid +0 -2
  3111. package/dist/node_modules/uuid/dist/commonjs-browser/index.js +0 -79
  3112. package/dist/node_modules/uuid/dist/commonjs-browser/md5.js +0 -223
  3113. package/dist/node_modules/uuid/dist/commonjs-browser/native.js +0 -11
  3114. package/dist/node_modules/uuid/dist/commonjs-browser/nil.js +0 -8
  3115. package/dist/node_modules/uuid/dist/commonjs-browser/parse.js +0 -45
  3116. package/dist/node_modules/uuid/dist/commonjs-browser/regex.js +0 -8
  3117. package/dist/node_modules/uuid/dist/commonjs-browser/rng.js +0 -25
  3118. package/dist/node_modules/uuid/dist/commonjs-browser/sha1.js +0 -104
  3119. package/dist/node_modules/uuid/dist/commonjs-browser/stringify.js +0 -44
  3120. package/dist/node_modules/uuid/dist/commonjs-browser/v1.js +0 -107
  3121. package/dist/node_modules/uuid/dist/commonjs-browser/v3.js +0 -16
  3122. package/dist/node_modules/uuid/dist/commonjs-browser/v35.js +0 -80
  3123. package/dist/node_modules/uuid/dist/commonjs-browser/v4.js +0 -43
  3124. package/dist/node_modules/uuid/dist/commonjs-browser/v5.js +0 -16
  3125. package/dist/node_modules/uuid/dist/commonjs-browser/validate.js +0 -17
  3126. package/dist/node_modules/uuid/dist/commonjs-browser/version.js +0 -21
  3127. package/dist/node_modules/uuid/dist/esm-browser/index.js +0 -9
  3128. package/dist/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  3129. package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -4
  3130. package/dist/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  3131. package/dist/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  3132. package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  3133. package/dist/node_modules/uuid/dist/esm-browser/rng.js +0 -18
  3134. package/dist/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  3135. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +0 -33
  3136. package/dist/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  3137. package/dist/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  3138. package/dist/node_modules/uuid/dist/esm-browser/v35.js +0 -66
  3139. package/dist/node_modules/uuid/dist/esm-browser/v4.js +0 -29
  3140. package/dist/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  3141. package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  3142. package/dist/node_modules/uuid/dist/esm-browser/version.js +0 -11
  3143. package/dist/node_modules/uuid/dist/esm-node/index.js +0 -9
  3144. package/dist/node_modules/uuid/dist/esm-node/md5.js +0 -13
  3145. package/dist/node_modules/uuid/dist/esm-node/native.js +0 -4
  3146. package/dist/node_modules/uuid/dist/esm-node/nil.js +0 -1
  3147. package/dist/node_modules/uuid/dist/esm-node/parse.js +0 -35
  3148. package/dist/node_modules/uuid/dist/esm-node/regex.js +0 -1
  3149. package/dist/node_modules/uuid/dist/esm-node/rng.js +0 -12
  3150. package/dist/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  3151. package/dist/node_modules/uuid/dist/esm-node/stringify.js +0 -33
  3152. package/dist/node_modules/uuid/dist/esm-node/v1.js +0 -95
  3153. package/dist/node_modules/uuid/dist/esm-node/v3.js +0 -4
  3154. package/dist/node_modules/uuid/dist/esm-node/v35.js +0 -66
  3155. package/dist/node_modules/uuid/dist/esm-node/v4.js +0 -29
  3156. package/dist/node_modules/uuid/dist/esm-node/v5.js +0 -4
  3157. package/dist/node_modules/uuid/dist/esm-node/validate.js +0 -7
  3158. package/dist/node_modules/uuid/dist/esm-node/version.js +0 -11
  3159. package/dist/node_modules/uuid/dist/index.js +0 -79
  3160. package/dist/node_modules/uuid/dist/md5-browser.js +0 -223
  3161. package/dist/node_modules/uuid/dist/md5.js +0 -23
  3162. package/dist/node_modules/uuid/dist/native-browser.js +0 -11
  3163. package/dist/node_modules/uuid/dist/native.js +0 -15
  3164. package/dist/node_modules/uuid/dist/nil.js +0 -8
  3165. package/dist/node_modules/uuid/dist/parse.js +0 -45
  3166. package/dist/node_modules/uuid/dist/regex.js +0 -8
  3167. package/dist/node_modules/uuid/dist/rng-browser.js +0 -25
  3168. package/dist/node_modules/uuid/dist/rng.js +0 -24
  3169. package/dist/node_modules/uuid/dist/sha1-browser.js +0 -104
  3170. package/dist/node_modules/uuid/dist/sha1.js +0 -23
  3171. package/dist/node_modules/uuid/dist/stringify.js +0 -44
  3172. package/dist/node_modules/uuid/dist/uuid-bin.js +0 -85
  3173. package/dist/node_modules/uuid/dist/v1.js +0 -107
  3174. package/dist/node_modules/uuid/dist/v3.js +0 -16
  3175. package/dist/node_modules/uuid/dist/v35.js +0 -80
  3176. package/dist/node_modules/uuid/dist/v4.js +0 -43
  3177. package/dist/node_modules/uuid/dist/v5.js +0 -16
  3178. package/dist/node_modules/uuid/dist/validate.js +0 -17
  3179. package/dist/node_modules/uuid/dist/version.js +0 -21
  3180. package/dist/node_modules/uuid/package.json +0 -135
  3181. package/dist/node_modules/uuid/wrapper.mjs +0 -10
  3182. package/dist/node_modules/web-streams-polyfill/LICENSE +0 -22
  3183. package/dist/node_modules/web-streams-polyfill/README.md +0 -110
  3184. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.js +0 -4765
  3185. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.js.map +0 -1
  3186. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js +0 -9
  3187. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js.map +0 -1
  3188. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs +0 -4745
  3189. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs.map +0 -1
  3190. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.js +0 -4838
  3191. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.js.map +0 -1
  3192. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js +0 -9
  3193. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js.map +0 -1
  3194. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs +0 -4818
  3195. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs.map +0 -1
  3196. package/dist/node_modules/web-streams-polyfill/dist/polyfill.js +0 -5011
  3197. package/dist/node_modules/web-streams-polyfill/dist/polyfill.js.map +0 -1
  3198. package/dist/node_modules/web-streams-polyfill/dist/polyfill.min.js +0 -9
  3199. package/dist/node_modules/web-streams-polyfill/dist/polyfill.min.js.map +0 -1
  3200. package/dist/node_modules/web-streams-polyfill/dist/polyfill.mjs +0 -4991
  3201. package/dist/node_modules/web-streams-polyfill/dist/polyfill.mjs.map +0 -1
  3202. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +0 -4737
  3203. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +0 -1
  3204. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs +0 -4717
  3205. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs.map +0 -1
  3206. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.js +0 -4810
  3207. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.js.map +0 -1
  3208. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs +0 -4790
  3209. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs.map +0 -1
  3210. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.js +0 -4983
  3211. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.js.map +0 -1
  3212. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.mjs +0 -4963
  3213. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.mjs.map +0 -1
  3214. package/dist/node_modules/web-streams-polyfill/dist/types/polyfill.d.ts +0 -24
  3215. package/dist/node_modules/web-streams-polyfill/dist/types/ponyfill.d.ts +0 -780
  3216. package/dist/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts +0 -28
  3217. package/dist/node_modules/web-streams-polyfill/dist/types/ts3.6/ponyfill.d.ts +0 -821
  3218. package/dist/node_modules/web-streams-polyfill/dist/types/tsdoc-metadata.json +0 -11
  3219. package/dist/node_modules/web-streams-polyfill/es2018/package.json +0 -14
  3220. package/dist/node_modules/web-streams-polyfill/es6/package.json +0 -14
  3221. package/dist/node_modules/web-streams-polyfill/package.json +0 -83
  3222. package/dist/node_modules/web-streams-polyfill/ponyfill/es2018/package.json +0 -13
  3223. package/dist/node_modules/web-streams-polyfill/ponyfill/es6/package.json +0 -13
  3224. package/dist/node_modules/web-streams-polyfill/ponyfill/package.json +0 -13
  3225. package/dist/node_modules/worker-factory/LICENSE +0 -21
  3226. package/dist/node_modules/worker-factory/README.md +0 -5
  3227. package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.d.ts +0 -4
  3228. package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.d.ts.map +0 -1
  3229. package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.js +0 -35
  3230. package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.js.map +0 -1
  3231. package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.d.ts +0 -13
  3232. package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.d.ts.map +0 -1
  3233. package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.js +0 -7
  3234. package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.js.map +0 -1
  3235. package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.d.ts +0 -4
  3236. package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.d.ts.map +0 -1
  3237. package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.js +0 -36
  3238. package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.js.map +0 -1
  3239. package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.d.ts +0 -2
  3240. package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.d.ts.map +0 -1
  3241. package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.js +0 -8
  3242. package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.js.map +0 -1
  3243. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.d.ts +0 -6
  3244. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.d.ts.map +0 -1
  3245. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.js +0 -2
  3246. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.js.map +0 -1
  3247. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.d.ts +0 -7
  3248. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.d.ts.map +0 -1
  3249. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.js +0 -2
  3250. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.js.map +0 -1
  3251. package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.d.ts +0 -25
  3252. package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.d.ts.map +0 -1
  3253. package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.js +0 -2
  3254. package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.js.map +0 -1
  3255. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.d.ts +0 -6
  3256. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.d.ts.map +0 -1
  3257. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.js +0 -2
  3258. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.js.map +0 -1
  3259. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.d.ts +0 -6
  3260. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.d.ts.map +0 -1
  3261. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.js +0 -2
  3262. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.js.map +0 -1
  3263. package/dist/node_modules/worker-factory/build/es2019/interfaces/error.d.ts +0 -5
  3264. package/dist/node_modules/worker-factory/build/es2019/interfaces/error.d.ts.map +0 -1
  3265. package/dist/node_modules/worker-factory/build/es2019/interfaces/error.js +0 -2
  3266. package/dist/node_modules/worker-factory/build/es2019/interfaces/error.js.map +0 -1
  3267. package/dist/node_modules/worker-factory/build/es2019/interfaces/index.d.ts +0 -15
  3268. package/dist/node_modules/worker-factory/build/es2019/interfaces/index.d.ts.map +0 -1
  3269. package/dist/node_modules/worker-factory/build/es2019/interfaces/index.js +0 -15
  3270. package/dist/node_modules/worker-factory/build/es2019/interfaces/index.js.map +0 -1
  3271. package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.d.ts +0 -9
  3272. package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.d.ts.map +0 -1
  3273. package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.js +0 -2
  3274. package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.js.map +0 -1
  3275. package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.d.ts +0 -6
  3276. package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.d.ts.map +0 -1
  3277. package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.js +0 -2
  3278. package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.js.map +0 -1
  3279. package/dist/node_modules/worker-factory/build/es2019/interfaces/request.d.ts +0 -12
  3280. package/dist/node_modules/worker-factory/build/es2019/interfaces/request.d.ts.map +0 -1
  3281. package/dist/node_modules/worker-factory/build/es2019/interfaces/request.js +0 -2
  3282. package/dist/node_modules/worker-factory/build/es2019/interfaces/request.js.map +0 -1
  3283. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.d.ts +0 -4
  3284. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.d.ts.map +0 -1
  3285. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.js +0 -2
  3286. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.js.map +0 -1
  3287. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.d.ts +0 -5
  3288. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.d.ts.map +0 -1
  3289. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.js +0 -2
  3290. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.js.map +0 -1
  3291. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.d.ts +0 -5
  3292. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.d.ts.map +0 -1
  3293. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.js +0 -2
  3294. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.js.map +0 -1
  3295. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.d.ts +0 -6
  3296. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.d.ts.map +0 -1
  3297. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.js +0 -2
  3298. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.js.map +0 -1
  3299. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.d.ts +0 -6
  3300. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.d.ts.map +0 -1
  3301. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.js +0 -2
  3302. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.js.map +0 -1
  3303. package/dist/node_modules/worker-factory/build/es2019/module.d.ts +0 -8
  3304. package/dist/node_modules/worker-factory/build/es2019/module.d.ts.map +0 -1
  3305. package/dist/node_modules/worker-factory/build/es2019/module.js +0 -17
  3306. package/dist/node_modules/worker-factory/build/es2019/module.js.map +0 -1
  3307. package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.d.ts +0 -2
  3308. package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.d.ts.map +0 -1
  3309. package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.js +0 -2
  3310. package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.js.map +0 -1
  3311. package/dist/node_modules/worker-factory/build/es2019/types/index.d.ts +0 -12
  3312. package/dist/node_modules/worker-factory/build/es2019/types/index.d.ts.map +0 -1
  3313. package/dist/node_modules/worker-factory/build/es2019/types/index.js +0 -12
  3314. package/dist/node_modules/worker-factory/build/es2019/types/index.js.map +0 -1
  3315. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.d.ts +0 -3
  3316. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.d.ts.map +0 -1
  3317. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.js +0 -2
  3318. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.js.map +0 -1
  3319. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.d.ts +0 -3
  3320. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.d.ts.map +0 -1
  3321. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.js +0 -2
  3322. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.js.map +0 -1
  3323. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.d.ts +0 -5
  3324. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.d.ts.map +0 -1
  3325. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.js +0 -2
  3326. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.js.map +0 -1
  3327. package/dist/node_modules/worker-factory/build/es2019/types/message.d.ts +0 -3
  3328. package/dist/node_modules/worker-factory/build/es2019/types/message.d.ts.map +0 -1
  3329. package/dist/node_modules/worker-factory/build/es2019/types/message.js +0 -2
  3330. package/dist/node_modules/worker-factory/build/es2019/types/message.js.map +0 -1
  3331. package/dist/node_modules/worker-factory/build/es2019/types/typed-array.d.ts +0 -2
  3332. package/dist/node_modules/worker-factory/build/es2019/types/typed-array.d.ts.map +0 -1
  3333. package/dist/node_modules/worker-factory/build/es2019/types/typed-array.js +0 -2
  3334. package/dist/node_modules/worker-factory/build/es2019/types/typed-array.js.map +0 -1
  3335. package/dist/node_modules/worker-factory/build/es2019/types/value-map.d.ts +0 -5
  3336. package/dist/node_modules/worker-factory/build/es2019/types/value-map.d.ts.map +0 -1
  3337. package/dist/node_modules/worker-factory/build/es2019/types/value-map.js +0 -2
  3338. package/dist/node_modules/worker-factory/build/es2019/types/value-map.js.map +0 -1
  3339. package/dist/node_modules/worker-factory/build/es2019/types/value.d.ts +0 -5
  3340. package/dist/node_modules/worker-factory/build/es2019/types/value.d.ts.map +0 -1
  3341. package/dist/node_modules/worker-factory/build/es2019/types/value.js +0 -2
  3342. package/dist/node_modules/worker-factory/build/es2019/types/value.js.map +0 -1
  3343. package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.d.ts +0 -3
  3344. package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.d.ts.map +0 -1
  3345. package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.js +0 -2
  3346. package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.js.map +0 -1
  3347. package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.d.ts +0 -6
  3348. package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.d.ts.map +0 -1
  3349. package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.js +0 -2
  3350. package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.js.map +0 -1
  3351. package/dist/node_modules/worker-factory/build/es2019/types/worker-message.d.ts +0 -3
  3352. package/dist/node_modules/worker-factory/build/es2019/types/worker-message.d.ts.map +0 -1
  3353. package/dist/node_modules/worker-factory/build/es2019/types/worker-message.js +0 -2
  3354. package/dist/node_modules/worker-factory/build/es2019/types/worker-message.js.map +0 -1
  3355. package/dist/node_modules/worker-factory/build/es5/bundle.js +0 -227
  3356. package/dist/node_modules/worker-factory/package.json +0 -73
  3357. package/dist/node_modules/worker-factory/src/helpers/create-message-handler.ts +0 -52
  3358. package/dist/node_modules/worker-factory/src/helpers/error-renderers.ts +0 -24
  3359. package/dist/node_modules/worker-factory/src/helpers/extend-worker-implementation.ts +0 -52
  3360. package/dist/node_modules/worker-factory/src/helpers/is-supporting-transferables.ts +0 -10
  3361. package/dist/node_modules/worker-factory/src/interfaces/broker-event.ts +0 -6
  3362. package/dist/node_modules/worker-factory/src/interfaces/broker-message.ts +0 -9
  3363. package/dist/node_modules/worker-factory/src/interfaces/default-worker-definition.ts +0 -29
  3364. package/dist/node_modules/worker-factory/src/interfaces/error-notification.ts +0 -7
  3365. package/dist/node_modules/worker-factory/src/interfaces/error-response.ts +0 -7
  3366. package/dist/node_modules/worker-factory/src/interfaces/error.ts +0 -5
  3367. package/dist/node_modules/worker-factory/src/interfaces/index.ts +0 -14
  3368. package/dist/node_modules/worker-factory/src/interfaces/notification.ts +0 -11
  3369. package/dist/node_modules/worker-factory/src/interfaces/receiver.ts +0 -7
  3370. package/dist/node_modules/worker-factory/src/interfaces/request.ts +0 -13
  3371. package/dist/node_modules/worker-factory/src/interfaces/value-array.ts +0 -5
  3372. package/dist/node_modules/worker-factory/src/interfaces/value-map.ts +0 -5
  3373. package/dist/node_modules/worker-factory/src/interfaces/worker-definition.ts +0 -5
  3374. package/dist/node_modules/worker-factory/src/interfaces/worker-error-message.ts +0 -7
  3375. package/dist/node_modules/worker-factory/src/interfaces/worker-result-message.ts +0 -7
  3376. package/dist/node_modules/worker-factory/src/module.ts +0 -27
  3377. package/dist/node_modules/worker-factory/src/tsconfig.json +0 -6
  3378. package/dist/node_modules/worker-factory/src/types/destroy-worker-function.ts +0 -1
  3379. package/dist/node_modules/worker-factory/src/types/index.ts +0 -11
  3380. package/dist/node_modules/worker-factory/src/types/message-receiver-with-params.ts +0 -5
  3381. package/dist/node_modules/worker-factory/src/types/message-receiver-without-params.ts +0 -3
  3382. package/dist/node_modules/worker-factory/src/types/message-receiver.ts +0 -7
  3383. package/dist/node_modules/worker-factory/src/types/message.ts +0 -3
  3384. package/dist/node_modules/worker-factory/src/types/typed-array.ts +0 -10
  3385. package/dist/node_modules/worker-factory/src/types/value-map.ts +0 -5
  3386. package/dist/node_modules/worker-factory/src/types/value.ts +0 -5
  3387. package/dist/node_modules/worker-factory/src/types/worker-definition.ts +0 -3
  3388. package/dist/node_modules/worker-factory/src/types/worker-implementation.ts +0 -6
  3389. package/dist/node_modules/worker-factory/src/types/worker-message.ts +0 -3
  3390. package/dist/node_modules/worker-timers/LICENSE +0 -21
  3391. package/dist/node_modules/worker-timers/README.md +0 -71
  3392. package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.d.ts +0 -2
  3393. package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.d.ts.map +0 -1
  3394. package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.js +0 -15
  3395. package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.js.map +0 -1
  3396. package/dist/node_modules/worker-timers/build/es2019/module.d.ts +0 -6
  3397. package/dist/node_modules/worker-timers/build/es2019/module.d.ts.map +0 -1
  3398. package/dist/node_modules/worker-timers/build/es2019/module.js +0 -9
  3399. package/dist/node_modules/worker-timers/build/es2019/module.js.map +0 -1
  3400. package/dist/node_modules/worker-timers/build/es2019/worker/worker.d.ts +0 -2
  3401. package/dist/node_modules/worker-timers/build/es2019/worker/worker.d.ts.map +0 -1
  3402. package/dist/node_modules/worker-timers/build/es2019/worker/worker.js +0 -3
  3403. package/dist/node_modules/worker-timers/build/es2019/worker/worker.js.map +0 -1
  3404. package/dist/node_modules/worker-timers/build/es5/bundle.js +0 -50
  3405. package/dist/node_modules/worker-timers/package.json +0 -93
  3406. package/dist/node_modules/worker-timers/src/factories/load-or-return-broker.ts +0 -19
  3407. package/dist/node_modules/worker-timers/src/module.ts +0 -13
  3408. package/dist/node_modules/worker-timers/src/tsconfig.json +0 -6
  3409. package/dist/node_modules/worker-timers/src/worker/worker.ts +0 -2
  3410. package/dist/node_modules/worker-timers-broker/LICENSE +0 -21
  3411. package/dist/node_modules/worker-timers-broker/README.md +0 -70
  3412. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.d.ts +0 -2
  3413. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.d.ts.map +0 -1
  3414. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.js +0 -9
  3415. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.js.map +0 -1
  3416. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.d.ts +0 -2
  3417. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.d.ts.map +0 -1
  3418. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.js +0 -9
  3419. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.js.map +0 -1
  3420. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.d.ts +0 -3
  3421. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.d.ts.map +0 -1
  3422. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.js +0 -21
  3423. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.js.map +0 -1
  3424. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.d.ts +0 -3
  3425. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.d.ts.map +0 -1
  3426. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.js +0 -18
  3427. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.js.map +0 -1
  3428. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.d.ts +0 -2
  3429. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.d.ts.map +0 -1
  3430. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.js +0 -2
  3431. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.js.map +0 -1
  3432. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.d.ts +0 -8
  3433. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.d.ts.map +0 -1
  3434. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.js +0 -2
  3435. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.js.map +0 -1
  3436. package/dist/node_modules/worker-timers-broker/build/es2019/module.d.ts +0 -6
  3437. package/dist/node_modules/worker-timers-broker/build/es2019/module.d.ts.map +0 -1
  3438. package/dist/node_modules/worker-timers-broker/build/es2019/module.js +0 -30
  3439. package/dist/node_modules/worker-timers-broker/build/es2019/module.js.map +0 -1
  3440. package/dist/node_modules/worker-timers-broker/build/es2019/types/index.d.ts +0 -3
  3441. package/dist/node_modules/worker-timers-broker/build/es2019/types/index.d.ts.map +0 -1
  3442. package/dist/node_modules/worker-timers-broker/build/es2019/types/index.js +0 -3
  3443. package/dist/node_modules/worker-timers-broker/build/es2019/types/index.js.map +0 -1
  3444. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.d.ts +0 -4
  3445. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.d.ts.map +0 -1
  3446. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.js +0 -2
  3447. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.js.map +0 -1
  3448. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.d.ts +0 -4
  3449. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.d.ts.map +0 -1
  3450. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.js +0 -2
  3451. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.js.map +0 -1
  3452. package/dist/node_modules/worker-timers-broker/build/es5/bundle.js +0 -147
  3453. package/dist/node_modules/worker-timers-broker/package.json +0 -73
  3454. package/dist/node_modules/worker-timers-broker/src/factories/clear-interval-factory.ts +0 -10
  3455. package/dist/node_modules/worker-timers-broker/src/factories/clear-timeout-factory.ts +0 -10
  3456. package/dist/node_modules/worker-timers-broker/src/factories/set-interval-factory.ts +0 -33
  3457. package/dist/node_modules/worker-timers-broker/src/factories/set-timeout-factory.ts +0 -28
  3458. package/dist/node_modules/worker-timers-broker/src/interfaces/index.ts +0 -1
  3459. package/dist/node_modules/worker-timers-broker/src/interfaces/worker-timers-broker-definition.ts +0 -11
  3460. package/dist/node_modules/worker-timers-broker/src/module.ts +0 -44
  3461. package/dist/node_modules/worker-timers-broker/src/tsconfig.json +0 -6
  3462. package/dist/node_modules/worker-timers-broker/src/types/index.ts +0 -2
  3463. package/dist/node_modules/worker-timers-broker/src/types/worker-timers-broker-loader.ts +0 -4
  3464. package/dist/node_modules/worker-timers-broker/src/types/worker-timers-broker-wrapper.ts +0 -4
  3465. package/dist/node_modules/worker-timers-worker/LICENSE +0 -21
  3466. package/dist/node_modules/worker-timers-worker/README.md +0 -9
  3467. package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.d.ts +0 -3
  3468. package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.d.ts.map +0 -1
  3469. package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.js +0 -12
  3470. package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.js.map +0 -1
  3471. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.d.ts +0 -3
  3472. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.d.ts.map +0 -1
  3473. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.js +0 -17
  3474. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.js.map +0 -1
  3475. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.d.ts +0 -4
  3476. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.d.ts.map +0 -1
  3477. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.js +0 -11
  3478. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.js.map +0 -1
  3479. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.d.ts +0 -2
  3480. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.d.ts.map +0 -1
  3481. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.js +0 -2
  3482. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.js.map +0 -1
  3483. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.d.ts +0 -25
  3484. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.d.ts.map +0 -1
  3485. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.js +0 -2
  3486. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.js.map +0 -1
  3487. package/dist/node_modules/worker-timers-worker/build/es2019/module.d.ts +0 -3
  3488. package/dist/node_modules/worker-timers-worker/build/es2019/module.d.ts.map +0 -1
  3489. package/dist/node_modules/worker-timers-worker/build/es2019/module.js +0 -26
  3490. package/dist/node_modules/worker-timers-worker/build/es2019/module.js.map +0 -1
  3491. package/dist/node_modules/worker-timers-worker/build/es2019/types/index.d.ts +0 -4
  3492. package/dist/node_modules/worker-timers-worker/build/es2019/types/index.d.ts.map +0 -1
  3493. package/dist/node_modules/worker-timers-worker/build/es2019/types/index.js +0 -4
  3494. package/dist/node_modules/worker-timers-worker/build/es2019/types/index.js.map +0 -1
  3495. package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.d.ts +0 -3
  3496. package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.d.ts.map +0 -1
  3497. package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.js +0 -2
  3498. package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.js.map +0 -1
  3499. package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.d.ts +0 -2
  3500. package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.d.ts.map +0 -1
  3501. package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.js +0 -2
  3502. package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.js.map +0 -1
  3503. package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.d.ts +0 -4
  3504. package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.d.ts.map +0 -1
  3505. package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.js +0 -2
  3506. package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.js.map +0 -1
  3507. package/dist/node_modules/worker-timers-worker/build/es5/bundle.js +0 -106
  3508. package/dist/node_modules/worker-timers-worker/package.json +0 -78
  3509. package/dist/node_modules/worker-timers-worker/src/factories/clear-timer.ts +0 -20
  3510. package/dist/node_modules/worker-timers-worker/src/factories/set-timeout-callback.ts +0 -24
  3511. package/dist/node_modules/worker-timers-worker/src/factories/set-timer.ts +0 -21
  3512. package/dist/node_modules/worker-timers-worker/src/interfaces/index.ts +0 -1
  3513. package/dist/node_modules/worker-timers-worker/src/interfaces/worker-timers-worker-custom-definition.ts +0 -32
  3514. package/dist/node_modules/worker-timers-worker/src/module.ts +0 -30
  3515. package/dist/node_modules/worker-timers-worker/src/tsconfig.json +0 -6
  3516. package/dist/node_modules/worker-timers-worker/src/types/index.ts +0 -3
  3517. package/dist/node_modules/worker-timers-worker/src/types/resolve-set-response-result-promise.ts +0 -5
  3518. package/dist/node_modules/worker-timers-worker/src/types/timer-type.ts +0 -1
  3519. package/dist/node_modules/worker-timers-worker/src/types/worker-timers-worker-definition.ts +0 -4
  3520. package/dist/node_modules/ws/LICENSE +0 -20
  3521. package/dist/node_modules/ws/README.md +0 -548
  3522. package/dist/node_modules/ws/browser.js +0 -8
  3523. package/dist/node_modules/ws/index.js +0 -13
  3524. package/dist/node_modules/ws/lib/buffer-util.js +0 -131
  3525. package/dist/node_modules/ws/lib/constants.js +0 -19
  3526. package/dist/node_modules/ws/lib/event-target.js +0 -292
  3527. package/dist/node_modules/ws/lib/extension.js +0 -203
  3528. package/dist/node_modules/ws/lib/limiter.js +0 -55
  3529. package/dist/node_modules/ws/lib/permessage-deflate.js +0 -528
  3530. package/dist/node_modules/ws/lib/receiver.js +0 -706
  3531. package/dist/node_modules/ws/lib/sender.js +0 -602
  3532. package/dist/node_modules/ws/lib/stream.js +0 -161
  3533. package/dist/node_modules/ws/lib/subprotocol.js +0 -62
  3534. package/dist/node_modules/ws/lib/validation.js +0 -152
  3535. package/dist/node_modules/ws/lib/websocket-server.js +0 -554
  3536. package/dist/node_modules/ws/lib/websocket.js +0 -1393
  3537. package/dist/node_modules/ws/package.json +0 -69
  3538. package/dist/node_modules/ws/wrapper.mjs +0 -8
  3539. package/dist/node_modules/yocto-queue/index.d.ts +0 -56
  3540. package/dist/node_modules/yocto-queue/index.js +0 -68
  3541. package/dist/node_modules/yocto-queue/license +0 -9
  3542. package/dist/node_modules/yocto-queue/package.json +0 -43
  3543. package/dist/node_modules/yocto-queue/readme.md +0 -64
@@ -1,4737 +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 (global, factory) {
9
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
10
- typeof define === 'function' && define.amd ? define(['exports'], factory) :
11
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.WebStreamsPolyfill = {}));
12
- })(this, (function (exports) { 'use strict';
13
-
14
- function noop() {
15
- return undefined;
16
- }
17
-
18
- function typeIsObject(x) {
19
- return (typeof x === 'object' && x !== null) || typeof x === 'function';
20
- }
21
- const rethrowAssertionErrorRejection = noop;
22
- function setFunctionName(fn, name) {
23
- try {
24
- Object.defineProperty(fn, 'name', {
25
- value: name,
26
- configurable: true
27
- });
28
- }
29
- catch (_a) {
30
- // This property is non-configurable in older browsers, so ignore if this throws.
31
- // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name#browser_compatibility
32
- }
33
- }
34
-
35
- const originalPromise = Promise;
36
- const originalPromiseThen = Promise.prototype.then;
37
- const originalPromiseReject = Promise.reject.bind(originalPromise);
38
- // https://webidl.spec.whatwg.org/#a-new-promise
39
- function newPromise(executor) {
40
- return new originalPromise(executor);
41
- }
42
- // https://webidl.spec.whatwg.org/#a-promise-resolved-with
43
- function promiseResolvedWith(value) {
44
- return newPromise(resolve => resolve(value));
45
- }
46
- // https://webidl.spec.whatwg.org/#a-promise-rejected-with
47
- function promiseRejectedWith(reason) {
48
- return originalPromiseReject(reason);
49
- }
50
- function PerformPromiseThen(promise, onFulfilled, onRejected) {
51
- // There doesn't appear to be any way to correctly emulate the behaviour from JavaScript, so this is just an
52
- // approximation.
53
- return originalPromiseThen.call(promise, onFulfilled, onRejected);
54
- }
55
- // Bluebird logs a warning when a promise is created within a fulfillment handler, but then isn't returned
56
- // from that handler. To prevent this, return null instead of void from all handlers.
57
- // http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-created-in-a-handler-but-was-not-returned-from-it
58
- function uponPromise(promise, onFulfilled, onRejected) {
59
- PerformPromiseThen(PerformPromiseThen(promise, onFulfilled, onRejected), undefined, rethrowAssertionErrorRejection);
60
- }
61
- function uponFulfillment(promise, onFulfilled) {
62
- uponPromise(promise, onFulfilled);
63
- }
64
- function uponRejection(promise, onRejected) {
65
- uponPromise(promise, undefined, onRejected);
66
- }
67
- function transformPromiseWith(promise, fulfillmentHandler, rejectionHandler) {
68
- return PerformPromiseThen(promise, fulfillmentHandler, rejectionHandler);
69
- }
70
- function setPromiseIsHandledToTrue(promise) {
71
- PerformPromiseThen(promise, undefined, rethrowAssertionErrorRejection);
72
- }
73
- let _queueMicrotask = callback => {
74
- if (typeof queueMicrotask === 'function') {
75
- _queueMicrotask = queueMicrotask;
76
- }
77
- else {
78
- const resolvedPromise = promiseResolvedWith(undefined);
79
- _queueMicrotask = cb => PerformPromiseThen(resolvedPromise, cb);
80
- }
81
- return _queueMicrotask(callback);
82
- };
83
- function reflectCall(F, V, args) {
84
- if (typeof F !== 'function') {
85
- throw new TypeError('Argument is not a function');
86
- }
87
- return Function.prototype.apply.call(F, V, args);
88
- }
89
- function promiseCall(F, V, args) {
90
- try {
91
- return promiseResolvedWith(reflectCall(F, V, args));
92
- }
93
- catch (value) {
94
- return promiseRejectedWith(value);
95
- }
96
- }
97
-
98
- // Original from Chromium
99
- // https://chromium.googlesource.com/chromium/src/+/0aee4434a4dba42a42abaea9bfbc0cd196a63bc1/third_party/blink/renderer/core/streams/SimpleQueue.js
100
- const QUEUE_MAX_ARRAY_SIZE = 16384;
101
- /**
102
- * Simple queue structure.
103
- *
104
- * Avoids scalability issues with using a packed array directly by using
105
- * multiple arrays in a linked list and keeping the array size bounded.
106
- */
107
- class SimpleQueue {
108
- constructor() {
109
- this._cursor = 0;
110
- this._size = 0;
111
- // _front and _back are always defined.
112
- this._front = {
113
- _elements: [],
114
- _next: undefined
115
- };
116
- this._back = this._front;
117
- // The cursor is used to avoid calling Array.shift().
118
- // It contains the index of the front element of the array inside the
119
- // front-most node. It is always in the range [0, QUEUE_MAX_ARRAY_SIZE).
120
- this._cursor = 0;
121
- // When there is only one node, size === elements.length - cursor.
122
- this._size = 0;
123
- }
124
- get length() {
125
- return this._size;
126
- }
127
- // For exception safety, this method is structured in order:
128
- // 1. Read state
129
- // 2. Calculate required state mutations
130
- // 3. Perform state mutations
131
- push(element) {
132
- const oldBack = this._back;
133
- let newBack = oldBack;
134
- if (oldBack._elements.length === QUEUE_MAX_ARRAY_SIZE - 1) {
135
- newBack = {
136
- _elements: [],
137
- _next: undefined
138
- };
139
- }
140
- // push() is the mutation most likely to throw an exception, so it
141
- // goes first.
142
- oldBack._elements.push(element);
143
- if (newBack !== oldBack) {
144
- this._back = newBack;
145
- oldBack._next = newBack;
146
- }
147
- ++this._size;
148
- }
149
- // Like push(), shift() follows the read -> calculate -> mutate pattern for
150
- // exception safety.
151
- shift() { // must not be called on an empty queue
152
- const oldFront = this._front;
153
- let newFront = oldFront;
154
- const oldCursor = this._cursor;
155
- let newCursor = oldCursor + 1;
156
- const elements = oldFront._elements;
157
- const element = elements[oldCursor];
158
- if (newCursor === QUEUE_MAX_ARRAY_SIZE) {
159
- newFront = oldFront._next;
160
- newCursor = 0;
161
- }
162
- // No mutations before this point.
163
- --this._size;
164
- this._cursor = newCursor;
165
- if (oldFront !== newFront) {
166
- this._front = newFront;
167
- }
168
- // Permit shifted element to be garbage collected.
169
- elements[oldCursor] = undefined;
170
- return element;
171
- }
172
- // The tricky thing about forEach() is that it can be called
173
- // re-entrantly. The queue may be mutated inside the callback. It is easy to
174
- // see that push() within the callback has no negative effects since the end
175
- // of the queue is checked for on every iteration. If shift() is called
176
- // repeatedly within the callback then the next iteration may return an
177
- // element that has been removed. In this case the callback will be called
178
- // with undefined values until we either "catch up" with elements that still
179
- // exist or reach the back of the queue.
180
- forEach(callback) {
181
- let i = this._cursor;
182
- let node = this._front;
183
- let elements = node._elements;
184
- while (i !== elements.length || node._next !== undefined) {
185
- if (i === elements.length) {
186
- node = node._next;
187
- elements = node._elements;
188
- i = 0;
189
- if (elements.length === 0) {
190
- break;
191
- }
192
- }
193
- callback(elements[i]);
194
- ++i;
195
- }
196
- }
197
- // Return the element that would be returned if shift() was called now,
198
- // without modifying the queue.
199
- peek() { // must not be called on an empty queue
200
- const front = this._front;
201
- const cursor = this._cursor;
202
- return front._elements[cursor];
203
- }
204
- }
205
-
206
- const AbortSteps = Symbol('[[AbortSteps]]');
207
- const ErrorSteps = Symbol('[[ErrorSteps]]');
208
- const CancelSteps = Symbol('[[CancelSteps]]');
209
- const PullSteps = Symbol('[[PullSteps]]');
210
- const ReleaseSteps = Symbol('[[ReleaseSteps]]');
211
-
212
- function ReadableStreamReaderGenericInitialize(reader, stream) {
213
- reader._ownerReadableStream = stream;
214
- stream._reader = reader;
215
- if (stream._state === 'readable') {
216
- defaultReaderClosedPromiseInitialize(reader);
217
- }
218
- else if (stream._state === 'closed') {
219
- defaultReaderClosedPromiseInitializeAsResolved(reader);
220
- }
221
- else {
222
- defaultReaderClosedPromiseInitializeAsRejected(reader, stream._storedError);
223
- }
224
- }
225
- // A client of ReadableStreamDefaultReader and ReadableStreamBYOBReader may use these functions directly to bypass state
226
- // check.
227
- function ReadableStreamReaderGenericCancel(reader, reason) {
228
- const stream = reader._ownerReadableStream;
229
- return ReadableStreamCancel(stream, reason);
230
- }
231
- function ReadableStreamReaderGenericRelease(reader) {
232
- const stream = reader._ownerReadableStream;
233
- if (stream._state === 'readable') {
234
- defaultReaderClosedPromiseReject(reader, new TypeError(`Reader was released and can no longer be used to monitor the stream's closedness`));
235
- }
236
- else {
237
- defaultReaderClosedPromiseResetToRejected(reader, new TypeError(`Reader was released and can no longer be used to monitor the stream's closedness`));
238
- }
239
- stream._readableStreamController[ReleaseSteps]();
240
- stream._reader = undefined;
241
- reader._ownerReadableStream = undefined;
242
- }
243
- // Helper functions for the readers.
244
- function readerLockException(name) {
245
- return new TypeError('Cannot ' + name + ' a stream using a released reader');
246
- }
247
- // Helper functions for the ReadableStreamDefaultReader.
248
- function defaultReaderClosedPromiseInitialize(reader) {
249
- reader._closedPromise = newPromise((resolve, reject) => {
250
- reader._closedPromise_resolve = resolve;
251
- reader._closedPromise_reject = reject;
252
- });
253
- }
254
- function defaultReaderClosedPromiseInitializeAsRejected(reader, reason) {
255
- defaultReaderClosedPromiseInitialize(reader);
256
- defaultReaderClosedPromiseReject(reader, reason);
257
- }
258
- function defaultReaderClosedPromiseInitializeAsResolved(reader) {
259
- defaultReaderClosedPromiseInitialize(reader);
260
- defaultReaderClosedPromiseResolve(reader);
261
- }
262
- function defaultReaderClosedPromiseReject(reader, reason) {
263
- if (reader._closedPromise_reject === undefined) {
264
- return;
265
- }
266
- setPromiseIsHandledToTrue(reader._closedPromise);
267
- reader._closedPromise_reject(reason);
268
- reader._closedPromise_resolve = undefined;
269
- reader._closedPromise_reject = undefined;
270
- }
271
- function defaultReaderClosedPromiseResetToRejected(reader, reason) {
272
- defaultReaderClosedPromiseInitializeAsRejected(reader, reason);
273
- }
274
- function defaultReaderClosedPromiseResolve(reader) {
275
- if (reader._closedPromise_resolve === undefined) {
276
- return;
277
- }
278
- reader._closedPromise_resolve(undefined);
279
- reader._closedPromise_resolve = undefined;
280
- reader._closedPromise_reject = undefined;
281
- }
282
-
283
- /// <reference lib="es2015.core" />
284
- // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite#Polyfill
285
- const NumberIsFinite = Number.isFinite || function (x) {
286
- return typeof x === 'number' && isFinite(x);
287
- };
288
-
289
- /// <reference lib="es2015.core" />
290
- // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc#Polyfill
291
- const MathTrunc = Math.trunc || function (v) {
292
- return v < 0 ? Math.ceil(v) : Math.floor(v);
293
- };
294
-
295
- // https://heycam.github.io/webidl/#idl-dictionaries
296
- function isDictionary(x) {
297
- return typeof x === 'object' || typeof x === 'function';
298
- }
299
- function assertDictionary(obj, context) {
300
- if (obj !== undefined && !isDictionary(obj)) {
301
- throw new TypeError(`${context} is not an object.`);
302
- }
303
- }
304
- // https://heycam.github.io/webidl/#idl-callback-functions
305
- function assertFunction(x, context) {
306
- if (typeof x !== 'function') {
307
- throw new TypeError(`${context} is not a function.`);
308
- }
309
- }
310
- // https://heycam.github.io/webidl/#idl-object
311
- function isObject(x) {
312
- return (typeof x === 'object' && x !== null) || typeof x === 'function';
313
- }
314
- function assertObject(x, context) {
315
- if (!isObject(x)) {
316
- throw new TypeError(`${context} is not an object.`);
317
- }
318
- }
319
- function assertRequiredArgument(x, position, context) {
320
- if (x === undefined) {
321
- throw new TypeError(`Parameter ${position} is required in '${context}'.`);
322
- }
323
- }
324
- function assertRequiredField(x, field, context) {
325
- if (x === undefined) {
326
- throw new TypeError(`${field} is required in '${context}'.`);
327
- }
328
- }
329
- // https://heycam.github.io/webidl/#idl-unrestricted-double
330
- function convertUnrestrictedDouble(value) {
331
- return Number(value);
332
- }
333
- function censorNegativeZero(x) {
334
- return x === 0 ? 0 : x;
335
- }
336
- function integerPart(x) {
337
- return censorNegativeZero(MathTrunc(x));
338
- }
339
- // https://heycam.github.io/webidl/#idl-unsigned-long-long
340
- function convertUnsignedLongLongWithEnforceRange(value, context) {
341
- const lowerBound = 0;
342
- const upperBound = Number.MAX_SAFE_INTEGER;
343
- let x = Number(value);
344
- x = censorNegativeZero(x);
345
- if (!NumberIsFinite(x)) {
346
- throw new TypeError(`${context} is not a finite number`);
347
- }
348
- x = integerPart(x);
349
- if (x < lowerBound || x > upperBound) {
350
- throw new TypeError(`${context} is outside the accepted range of ${lowerBound} to ${upperBound}, inclusive`);
351
- }
352
- if (!NumberIsFinite(x) || x === 0) {
353
- return 0;
354
- }
355
- // TODO Use BigInt if supported?
356
- // let xBigInt = BigInt(integerPart(x));
357
- // xBigInt = BigInt.asUintN(64, xBigInt);
358
- // return Number(xBigInt);
359
- return x;
360
- }
361
-
362
- function assertReadableStream(x, context) {
363
- if (!IsReadableStream(x)) {
364
- throw new TypeError(`${context} is not a ReadableStream.`);
365
- }
366
- }
367
-
368
- // Abstract operations for the ReadableStream.
369
- function AcquireReadableStreamDefaultReader(stream) {
370
- return new ReadableStreamDefaultReader(stream);
371
- }
372
- // ReadableStream API exposed for controllers.
373
- function ReadableStreamAddReadRequest(stream, readRequest) {
374
- stream._reader._readRequests.push(readRequest);
375
- }
376
- function ReadableStreamFulfillReadRequest(stream, chunk, done) {
377
- const reader = stream._reader;
378
- const readRequest = reader._readRequests.shift();
379
- if (done) {
380
- readRequest._closeSteps();
381
- }
382
- else {
383
- readRequest._chunkSteps(chunk);
384
- }
385
- }
386
- function ReadableStreamGetNumReadRequests(stream) {
387
- return stream._reader._readRequests.length;
388
- }
389
- function ReadableStreamHasDefaultReader(stream) {
390
- const reader = stream._reader;
391
- if (reader === undefined) {
392
- return false;
393
- }
394
- if (!IsReadableStreamDefaultReader(reader)) {
395
- return false;
396
- }
397
- return true;
398
- }
399
- /**
400
- * A default reader vended by a {@link ReadableStream}.
401
- *
402
- * @public
403
- */
404
- class ReadableStreamDefaultReader {
405
- constructor(stream) {
406
- assertRequiredArgument(stream, 1, 'ReadableStreamDefaultReader');
407
- assertReadableStream(stream, 'First parameter');
408
- if (IsReadableStreamLocked(stream)) {
409
- throw new TypeError('This stream has already been locked for exclusive reading by another reader');
410
- }
411
- ReadableStreamReaderGenericInitialize(this, stream);
412
- this._readRequests = new SimpleQueue();
413
- }
414
- /**
415
- * Returns a promise that will be fulfilled when the stream becomes closed,
416
- * or rejected if the stream ever errors or the reader's lock is released before the stream finishes closing.
417
- */
418
- get closed() {
419
- if (!IsReadableStreamDefaultReader(this)) {
420
- return promiseRejectedWith(defaultReaderBrandCheckException('closed'));
421
- }
422
- return this._closedPromise;
423
- }
424
- /**
425
- * If the reader is active, behaves the same as {@link ReadableStream.cancel | stream.cancel(reason)}.
426
- */
427
- cancel(reason = undefined) {
428
- if (!IsReadableStreamDefaultReader(this)) {
429
- return promiseRejectedWith(defaultReaderBrandCheckException('cancel'));
430
- }
431
- if (this._ownerReadableStream === undefined) {
432
- return promiseRejectedWith(readerLockException('cancel'));
433
- }
434
- return ReadableStreamReaderGenericCancel(this, reason);
435
- }
436
- /**
437
- * Returns a promise that allows access to the next chunk from the stream's internal queue, if available.
438
- *
439
- * If reading a chunk causes the queue to become empty, more data will be pulled from the underlying source.
440
- */
441
- read() {
442
- if (!IsReadableStreamDefaultReader(this)) {
443
- return promiseRejectedWith(defaultReaderBrandCheckException('read'));
444
- }
445
- if (this._ownerReadableStream === undefined) {
446
- return promiseRejectedWith(readerLockException('read from'));
447
- }
448
- let resolvePromise;
449
- let rejectPromise;
450
- const promise = newPromise((resolve, reject) => {
451
- resolvePromise = resolve;
452
- rejectPromise = reject;
453
- });
454
- const readRequest = {
455
- _chunkSteps: chunk => resolvePromise({ value: chunk, done: false }),
456
- _closeSteps: () => resolvePromise({ value: undefined, done: true }),
457
- _errorSteps: e => rejectPromise(e)
458
- };
459
- ReadableStreamDefaultReaderRead(this, readRequest);
460
- return promise;
461
- }
462
- /**
463
- * Releases the reader's lock on the corresponding stream. After the lock is released, the reader is no longer active.
464
- * If the associated stream is errored when the lock is released, the reader will appear errored in the same way
465
- * from now on; otherwise, the reader will appear closed.
466
- *
467
- * A reader's lock cannot be released while it still has a pending read request, i.e., if a promise returned by
468
- * the reader's {@link ReadableStreamDefaultReader.read | read()} method has not yet been settled. Attempting to
469
- * do so will throw a `TypeError` and leave the reader locked to the stream.
470
- */
471
- releaseLock() {
472
- if (!IsReadableStreamDefaultReader(this)) {
473
- throw defaultReaderBrandCheckException('releaseLock');
474
- }
475
- if (this._ownerReadableStream === undefined) {
476
- return;
477
- }
478
- ReadableStreamDefaultReaderRelease(this);
479
- }
480
- }
481
- Object.defineProperties(ReadableStreamDefaultReader.prototype, {
482
- cancel: { enumerable: true },
483
- read: { enumerable: true },
484
- releaseLock: { enumerable: true },
485
- closed: { enumerable: true }
486
- });
487
- setFunctionName(ReadableStreamDefaultReader.prototype.cancel, 'cancel');
488
- setFunctionName(ReadableStreamDefaultReader.prototype.read, 'read');
489
- setFunctionName(ReadableStreamDefaultReader.prototype.releaseLock, 'releaseLock');
490
- if (typeof Symbol.toStringTag === 'symbol') {
491
- Object.defineProperty(ReadableStreamDefaultReader.prototype, Symbol.toStringTag, {
492
- value: 'ReadableStreamDefaultReader',
493
- configurable: true
494
- });
495
- }
496
- // Abstract operations for the readers.
497
- function IsReadableStreamDefaultReader(x) {
498
- if (!typeIsObject(x)) {
499
- return false;
500
- }
501
- if (!Object.prototype.hasOwnProperty.call(x, '_readRequests')) {
502
- return false;
503
- }
504
- return x instanceof ReadableStreamDefaultReader;
505
- }
506
- function ReadableStreamDefaultReaderRead(reader, readRequest) {
507
- const stream = reader._ownerReadableStream;
508
- stream._disturbed = true;
509
- if (stream._state === 'closed') {
510
- readRequest._closeSteps();
511
- }
512
- else if (stream._state === 'errored') {
513
- readRequest._errorSteps(stream._storedError);
514
- }
515
- else {
516
- stream._readableStreamController[PullSteps](readRequest);
517
- }
518
- }
519
- function ReadableStreamDefaultReaderRelease(reader) {
520
- ReadableStreamReaderGenericRelease(reader);
521
- const e = new TypeError('Reader was released');
522
- ReadableStreamDefaultReaderErrorReadRequests(reader, e);
523
- }
524
- function ReadableStreamDefaultReaderErrorReadRequests(reader, e) {
525
- const readRequests = reader._readRequests;
526
- reader._readRequests = new SimpleQueue();
527
- readRequests.forEach(readRequest => {
528
- readRequest._errorSteps(e);
529
- });
530
- }
531
- // Helper functions for the ReadableStreamDefaultReader.
532
- function defaultReaderBrandCheckException(name) {
533
- return new TypeError(`ReadableStreamDefaultReader.prototype.${name} can only be used on a ReadableStreamDefaultReader`);
534
- }
535
-
536
- /// <reference lib="es2018.asynciterable" />
537
- /* eslint-disable @typescript-eslint/no-empty-function */
538
- const AsyncIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf(async function* () { }).prototype);
539
-
540
- /// <reference lib="es2018.asynciterable" />
541
- class ReadableStreamAsyncIteratorImpl {
542
- constructor(reader, preventCancel) {
543
- this._ongoingPromise = undefined;
544
- this._isFinished = false;
545
- this._reader = reader;
546
- this._preventCancel = preventCancel;
547
- }
548
- next() {
549
- const nextSteps = () => this._nextSteps();
550
- this._ongoingPromise = this._ongoingPromise ?
551
- transformPromiseWith(this._ongoingPromise, nextSteps, nextSteps) :
552
- nextSteps();
553
- return this._ongoingPromise;
554
- }
555
- return(value) {
556
- const returnSteps = () => this._returnSteps(value);
557
- return this._ongoingPromise ?
558
- transformPromiseWith(this._ongoingPromise, returnSteps, returnSteps) :
559
- returnSteps();
560
- }
561
- _nextSteps() {
562
- if (this._isFinished) {
563
- return Promise.resolve({ value: undefined, done: true });
564
- }
565
- const reader = this._reader;
566
- let resolvePromise;
567
- let rejectPromise;
568
- const promise = newPromise((resolve, reject) => {
569
- resolvePromise = resolve;
570
- rejectPromise = reject;
571
- });
572
- const readRequest = {
573
- _chunkSteps: chunk => {
574
- this._ongoingPromise = undefined;
575
- // This needs to be delayed by one microtask, otherwise we stop pulling too early which breaks a test.
576
- // FIXME Is this a bug in the specification, or in the test?
577
- _queueMicrotask(() => resolvePromise({ value: chunk, done: false }));
578
- },
579
- _closeSteps: () => {
580
- this._ongoingPromise = undefined;
581
- this._isFinished = true;
582
- ReadableStreamReaderGenericRelease(reader);
583
- resolvePromise({ value: undefined, done: true });
584
- },
585
- _errorSteps: reason => {
586
- this._ongoingPromise = undefined;
587
- this._isFinished = true;
588
- ReadableStreamReaderGenericRelease(reader);
589
- rejectPromise(reason);
590
- }
591
- };
592
- ReadableStreamDefaultReaderRead(reader, readRequest);
593
- return promise;
594
- }
595
- _returnSteps(value) {
596
- if (this._isFinished) {
597
- return Promise.resolve({ value, done: true });
598
- }
599
- this._isFinished = true;
600
- const reader = this._reader;
601
- if (!this._preventCancel) {
602
- const result = ReadableStreamReaderGenericCancel(reader, value);
603
- ReadableStreamReaderGenericRelease(reader);
604
- return transformPromiseWith(result, () => ({ value, done: true }));
605
- }
606
- ReadableStreamReaderGenericRelease(reader);
607
- return promiseResolvedWith({ value, done: true });
608
- }
609
- }
610
- const ReadableStreamAsyncIteratorPrototype = {
611
- next() {
612
- if (!IsReadableStreamAsyncIterator(this)) {
613
- return promiseRejectedWith(streamAsyncIteratorBrandCheckException('next'));
614
- }
615
- return this._asyncIteratorImpl.next();
616
- },
617
- return(value) {
618
- if (!IsReadableStreamAsyncIterator(this)) {
619
- return promiseRejectedWith(streamAsyncIteratorBrandCheckException('return'));
620
- }
621
- return this._asyncIteratorImpl.return(value);
622
- }
623
- };
624
- Object.setPrototypeOf(ReadableStreamAsyncIteratorPrototype, AsyncIteratorPrototype);
625
- // Abstract operations for the ReadableStream.
626
- function AcquireReadableStreamAsyncIterator(stream, preventCancel) {
627
- const reader = AcquireReadableStreamDefaultReader(stream);
628
- const impl = new ReadableStreamAsyncIteratorImpl(reader, preventCancel);
629
- const iterator = Object.create(ReadableStreamAsyncIteratorPrototype);
630
- iterator._asyncIteratorImpl = impl;
631
- return iterator;
632
- }
633
- function IsReadableStreamAsyncIterator(x) {
634
- if (!typeIsObject(x)) {
635
- return false;
636
- }
637
- if (!Object.prototype.hasOwnProperty.call(x, '_asyncIteratorImpl')) {
638
- return false;
639
- }
640
- try {
641
- // noinspection SuspiciousTypeOfGuard
642
- return x._asyncIteratorImpl instanceof
643
- ReadableStreamAsyncIteratorImpl;
644
- }
645
- catch (_a) {
646
- return false;
647
- }
648
- }
649
- // Helper functions for the ReadableStream.
650
- function streamAsyncIteratorBrandCheckException(name) {
651
- return new TypeError(`ReadableStreamAsyncIterator.${name} can only be used on a ReadableSteamAsyncIterator`);
652
- }
653
-
654
- /// <reference lib="es2015.core" />
655
- // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN#Polyfill
656
- const NumberIsNaN = Number.isNaN || function (x) {
657
- // eslint-disable-next-line no-self-compare
658
- return x !== x;
659
- };
660
-
661
- var _a, _b, _c;
662
- function CreateArrayFromList(elements) {
663
- // We use arrays to represent lists, so this is basically a no-op.
664
- // Do a slice though just in case we happen to depend on the unique-ness.
665
- return elements.slice();
666
- }
667
- function CopyDataBlockBytes(dest, destOffset, src, srcOffset, n) {
668
- new Uint8Array(dest).set(new Uint8Array(src, srcOffset, n), destOffset);
669
- }
670
- let TransferArrayBuffer = (O) => {
671
- if (typeof O.transfer === 'function') {
672
- TransferArrayBuffer = buffer => buffer.transfer();
673
- }
674
- else if (typeof structuredClone === 'function') {
675
- TransferArrayBuffer = buffer => structuredClone(buffer, { transfer: [buffer] });
676
- }
677
- else {
678
- // Not implemented correctly
679
- TransferArrayBuffer = buffer => buffer;
680
- }
681
- return TransferArrayBuffer(O);
682
- };
683
- let IsDetachedBuffer = (O) => {
684
- if (typeof O.detached === 'boolean') {
685
- IsDetachedBuffer = buffer => buffer.detached;
686
- }
687
- else {
688
- // Not implemented correctly
689
- IsDetachedBuffer = buffer => buffer.byteLength === 0;
690
- }
691
- return IsDetachedBuffer(O);
692
- };
693
- function ArrayBufferSlice(buffer, begin, end) {
694
- // ArrayBuffer.prototype.slice is not available on IE10
695
- // https://www.caniuse.com/mdn-javascript_builtins_arraybuffer_slice
696
- if (buffer.slice) {
697
- return buffer.slice(begin, end);
698
- }
699
- const length = end - begin;
700
- const slice = new ArrayBuffer(length);
701
- CopyDataBlockBytes(slice, 0, buffer, begin, length);
702
- return slice;
703
- }
704
- function GetMethod(receiver, prop) {
705
- const func = receiver[prop];
706
- if (func === undefined || func === null) {
707
- return undefined;
708
- }
709
- if (typeof func !== 'function') {
710
- throw new TypeError(`${String(prop)} is not a function`);
711
- }
712
- return func;
713
- }
714
- function CreateAsyncFromSyncIterator(syncIteratorRecord) {
715
- // Instead of re-implementing CreateAsyncFromSyncIterator and %AsyncFromSyncIteratorPrototype%,
716
- // we use yield* inside an async generator function to achieve the same result.
717
- // Wrap the sync iterator inside a sync iterable, so we can use it with yield*.
718
- const syncIterable = {
719
- [Symbol.iterator]: () => syncIteratorRecord.iterator
720
- };
721
- // Create an async generator function and immediately invoke it.
722
- const asyncIterator = (async function* () {
723
- return yield* syncIterable;
724
- }());
725
- // Return as an async iterator record.
726
- const nextMethod = asyncIterator.next;
727
- return { iterator: asyncIterator, nextMethod, done: false };
728
- }
729
- // Aligns with core-js/modules/es.symbol.async-iterator.js
730
- 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';
731
- function GetIterator(obj, hint = 'sync', method) {
732
- if (method === undefined) {
733
- if (hint === 'async') {
734
- method = GetMethod(obj, SymbolAsyncIterator);
735
- if (method === undefined) {
736
- const syncMethod = GetMethod(obj, Symbol.iterator);
737
- const syncIteratorRecord = GetIterator(obj, 'sync', syncMethod);
738
- return CreateAsyncFromSyncIterator(syncIteratorRecord);
739
- }
740
- }
741
- else {
742
- method = GetMethod(obj, Symbol.iterator);
743
- }
744
- }
745
- if (method === undefined) {
746
- throw new TypeError('The object is not iterable');
747
- }
748
- const iterator = reflectCall(method, obj, []);
749
- if (!typeIsObject(iterator)) {
750
- throw new TypeError('The iterator method must return an object');
751
- }
752
- const nextMethod = iterator.next;
753
- return { iterator, nextMethod, done: false };
754
- }
755
- function IteratorNext(iteratorRecord) {
756
- const result = reflectCall(iteratorRecord.nextMethod, iteratorRecord.iterator, []);
757
- if (!typeIsObject(result)) {
758
- throw new TypeError('The iterator.next() method must return an object');
759
- }
760
- return result;
761
- }
762
- function IteratorComplete(iterResult) {
763
- return Boolean(iterResult.done);
764
- }
765
- function IteratorValue(iterResult) {
766
- return iterResult.value;
767
- }
768
-
769
- function IsNonNegativeNumber(v) {
770
- if (typeof v !== 'number') {
771
- return false;
772
- }
773
- if (NumberIsNaN(v)) {
774
- return false;
775
- }
776
- if (v < 0) {
777
- return false;
778
- }
779
- return true;
780
- }
781
- function CloneAsUint8Array(O) {
782
- const buffer = ArrayBufferSlice(O.buffer, O.byteOffset, O.byteOffset + O.byteLength);
783
- return new Uint8Array(buffer);
784
- }
785
-
786
- function DequeueValue(container) {
787
- const pair = container._queue.shift();
788
- container._queueTotalSize -= pair.size;
789
- if (container._queueTotalSize < 0) {
790
- container._queueTotalSize = 0;
791
- }
792
- return pair.value;
793
- }
794
- function EnqueueValueWithSize(container, value, size) {
795
- if (!IsNonNegativeNumber(size) || size === Infinity) {
796
- throw new RangeError('Size must be a finite, non-NaN, non-negative number.');
797
- }
798
- container._queue.push({ value, size });
799
- container._queueTotalSize += size;
800
- }
801
- function PeekQueueValue(container) {
802
- const pair = container._queue.peek();
803
- return pair.value;
804
- }
805
- function ResetQueue(container) {
806
- container._queue = new SimpleQueue();
807
- container._queueTotalSize = 0;
808
- }
809
-
810
- function isDataViewConstructor(ctor) {
811
- return ctor === DataView;
812
- }
813
- function isDataView(view) {
814
- return isDataViewConstructor(view.constructor);
815
- }
816
- function arrayBufferViewElementSize(ctor) {
817
- if (isDataViewConstructor(ctor)) {
818
- return 1;
819
- }
820
- return ctor.BYTES_PER_ELEMENT;
821
- }
822
-
823
- /**
824
- * A pull-into request in a {@link ReadableByteStreamController}.
825
- *
826
- * @public
827
- */
828
- class ReadableStreamBYOBRequest {
829
- constructor() {
830
- throw new TypeError('Illegal constructor');
831
- }
832
- /**
833
- * Returns the view for writing in to, or `null` if the BYOB request has already been responded to.
834
- */
835
- get view() {
836
- if (!IsReadableStreamBYOBRequest(this)) {
837
- throw byobRequestBrandCheckException('view');
838
- }
839
- return this._view;
840
- }
841
- respond(bytesWritten) {
842
- if (!IsReadableStreamBYOBRequest(this)) {
843
- throw byobRequestBrandCheckException('respond');
844
- }
845
- assertRequiredArgument(bytesWritten, 1, 'respond');
846
- bytesWritten = convertUnsignedLongLongWithEnforceRange(bytesWritten, 'First parameter');
847
- if (this._associatedReadableByteStreamController === undefined) {
848
- throw new TypeError('This BYOB request has been invalidated');
849
- }
850
- if (IsDetachedBuffer(this._view.buffer)) {
851
- throw new TypeError(`The BYOB request's buffer has been detached and so cannot be used as a response`);
852
- }
853
- ReadableByteStreamControllerRespond(this._associatedReadableByteStreamController, bytesWritten);
854
- }
855
- respondWithNewView(view) {
856
- if (!IsReadableStreamBYOBRequest(this)) {
857
- throw byobRequestBrandCheckException('respondWithNewView');
858
- }
859
- assertRequiredArgument(view, 1, 'respondWithNewView');
860
- if (!ArrayBuffer.isView(view)) {
861
- throw new TypeError('You can only respond with array buffer views');
862
- }
863
- if (this._associatedReadableByteStreamController === undefined) {
864
- throw new TypeError('This BYOB request has been invalidated');
865
- }
866
- if (IsDetachedBuffer(view.buffer)) {
867
- throw new TypeError('The given view\'s buffer has been detached and so cannot be used as a response');
868
- }
869
- ReadableByteStreamControllerRespondWithNewView(this._associatedReadableByteStreamController, view);
870
- }
871
- }
872
- Object.defineProperties(ReadableStreamBYOBRequest.prototype, {
873
- respond: { enumerable: true },
874
- respondWithNewView: { enumerable: true },
875
- view: { enumerable: true }
876
- });
877
- setFunctionName(ReadableStreamBYOBRequest.prototype.respond, 'respond');
878
- setFunctionName(ReadableStreamBYOBRequest.prototype.respondWithNewView, 'respondWithNewView');
879
- if (typeof Symbol.toStringTag === 'symbol') {
880
- Object.defineProperty(ReadableStreamBYOBRequest.prototype, Symbol.toStringTag, {
881
- value: 'ReadableStreamBYOBRequest',
882
- configurable: true
883
- });
884
- }
885
- /**
886
- * Allows control of a {@link ReadableStream | readable byte stream}'s state and internal queue.
887
- *
888
- * @public
889
- */
890
- class ReadableByteStreamController {
891
- constructor() {
892
- throw new TypeError('Illegal constructor');
893
- }
894
- /**
895
- * Returns the current BYOB pull request, or `null` if there isn't one.
896
- */
897
- get byobRequest() {
898
- if (!IsReadableByteStreamController(this)) {
899
- throw byteStreamControllerBrandCheckException('byobRequest');
900
- }
901
- return ReadableByteStreamControllerGetBYOBRequest(this);
902
- }
903
- /**
904
- * Returns the desired size to fill the controlled stream's internal queue. It can be negative, if the queue is
905
- * over-full. An underlying byte source ought to use this information to determine when and how to apply backpressure.
906
- */
907
- get desiredSize() {
908
- if (!IsReadableByteStreamController(this)) {
909
- throw byteStreamControllerBrandCheckException('desiredSize');
910
- }
911
- return ReadableByteStreamControllerGetDesiredSize(this);
912
- }
913
- /**
914
- * Closes the controlled readable stream. Consumers will still be able to read any previously-enqueued chunks from
915
- * the stream, but once those are read, the stream will become closed.
916
- */
917
- close() {
918
- if (!IsReadableByteStreamController(this)) {
919
- throw byteStreamControllerBrandCheckException('close');
920
- }
921
- if (this._closeRequested) {
922
- throw new TypeError('The stream has already been closed; do not close it again!');
923
- }
924
- const state = this._controlledReadableByteStream._state;
925
- if (state !== 'readable') {
926
- throw new TypeError(`The stream (in ${state} state) is not in the readable state and cannot be closed`);
927
- }
928
- ReadableByteStreamControllerClose(this);
929
- }
930
- enqueue(chunk) {
931
- if (!IsReadableByteStreamController(this)) {
932
- throw byteStreamControllerBrandCheckException('enqueue');
933
- }
934
- assertRequiredArgument(chunk, 1, 'enqueue');
935
- if (!ArrayBuffer.isView(chunk)) {
936
- throw new TypeError('chunk must be an array buffer view');
937
- }
938
- if (chunk.byteLength === 0) {
939
- throw new TypeError('chunk must have non-zero byteLength');
940
- }
941
- if (chunk.buffer.byteLength === 0) {
942
- throw new TypeError(`chunk's buffer must have non-zero byteLength`);
943
- }
944
- if (this._closeRequested) {
945
- throw new TypeError('stream is closed or draining');
946
- }
947
- const state = this._controlledReadableByteStream._state;
948
- if (state !== 'readable') {
949
- throw new TypeError(`The stream (in ${state} state) is not in the readable state and cannot be enqueued to`);
950
- }
951
- ReadableByteStreamControllerEnqueue(this, chunk);
952
- }
953
- /**
954
- * Errors the controlled readable stream, making all future interactions with it fail with the given error `e`.
955
- */
956
- error(e = undefined) {
957
- if (!IsReadableByteStreamController(this)) {
958
- throw byteStreamControllerBrandCheckException('error');
959
- }
960
- ReadableByteStreamControllerError(this, e);
961
- }
962
- /** @internal */
963
- [CancelSteps](reason) {
964
- ReadableByteStreamControllerClearPendingPullIntos(this);
965
- ResetQueue(this);
966
- const result = this._cancelAlgorithm(reason);
967
- ReadableByteStreamControllerClearAlgorithms(this);
968
- return result;
969
- }
970
- /** @internal */
971
- [PullSteps](readRequest) {
972
- const stream = this._controlledReadableByteStream;
973
- if (this._queueTotalSize > 0) {
974
- ReadableByteStreamControllerFillReadRequestFromQueue(this, readRequest);
975
- return;
976
- }
977
- const autoAllocateChunkSize = this._autoAllocateChunkSize;
978
- if (autoAllocateChunkSize !== undefined) {
979
- let buffer;
980
- try {
981
- buffer = new ArrayBuffer(autoAllocateChunkSize);
982
- }
983
- catch (bufferE) {
984
- readRequest._errorSteps(bufferE);
985
- return;
986
- }
987
- const pullIntoDescriptor = {
988
- buffer,
989
- bufferByteLength: autoAllocateChunkSize,
990
- byteOffset: 0,
991
- byteLength: autoAllocateChunkSize,
992
- bytesFilled: 0,
993
- minimumFill: 1,
994
- elementSize: 1,
995
- viewConstructor: Uint8Array,
996
- readerType: 'default'
997
- };
998
- this._pendingPullIntos.push(pullIntoDescriptor);
999
- }
1000
- ReadableStreamAddReadRequest(stream, readRequest);
1001
- ReadableByteStreamControllerCallPullIfNeeded(this);
1002
- }
1003
- /** @internal */
1004
- [ReleaseSteps]() {
1005
- if (this._pendingPullIntos.length > 0) {
1006
- const firstPullInto = this._pendingPullIntos.peek();
1007
- firstPullInto.readerType = 'none';
1008
- this._pendingPullIntos = new SimpleQueue();
1009
- this._pendingPullIntos.push(firstPullInto);
1010
- }
1011
- }
1012
- }
1013
- Object.defineProperties(ReadableByteStreamController.prototype, {
1014
- close: { enumerable: true },
1015
- enqueue: { enumerable: true },
1016
- error: { enumerable: true },
1017
- byobRequest: { enumerable: true },
1018
- desiredSize: { enumerable: true }
1019
- });
1020
- setFunctionName(ReadableByteStreamController.prototype.close, 'close');
1021
- setFunctionName(ReadableByteStreamController.prototype.enqueue, 'enqueue');
1022
- setFunctionName(ReadableByteStreamController.prototype.error, 'error');
1023
- if (typeof Symbol.toStringTag === 'symbol') {
1024
- Object.defineProperty(ReadableByteStreamController.prototype, Symbol.toStringTag, {
1025
- value: 'ReadableByteStreamController',
1026
- configurable: true
1027
- });
1028
- }
1029
- // Abstract operations for the ReadableByteStreamController.
1030
- function IsReadableByteStreamController(x) {
1031
- if (!typeIsObject(x)) {
1032
- return false;
1033
- }
1034
- if (!Object.prototype.hasOwnProperty.call(x, '_controlledReadableByteStream')) {
1035
- return false;
1036
- }
1037
- return x instanceof ReadableByteStreamController;
1038
- }
1039
- function IsReadableStreamBYOBRequest(x) {
1040
- if (!typeIsObject(x)) {
1041
- return false;
1042
- }
1043
- if (!Object.prototype.hasOwnProperty.call(x, '_associatedReadableByteStreamController')) {
1044
- return false;
1045
- }
1046
- return x instanceof ReadableStreamBYOBRequest;
1047
- }
1048
- function ReadableByteStreamControllerCallPullIfNeeded(controller) {
1049
- const shouldPull = ReadableByteStreamControllerShouldCallPull(controller);
1050
- if (!shouldPull) {
1051
- return;
1052
- }
1053
- if (controller._pulling) {
1054
- controller._pullAgain = true;
1055
- return;
1056
- }
1057
- controller._pulling = true;
1058
- // TODO: Test controller argument
1059
- const pullPromise = controller._pullAlgorithm();
1060
- uponPromise(pullPromise, () => {
1061
- controller._pulling = false;
1062
- if (controller._pullAgain) {
1063
- controller._pullAgain = false;
1064
- ReadableByteStreamControllerCallPullIfNeeded(controller);
1065
- }
1066
- return null;
1067
- }, e => {
1068
- ReadableByteStreamControllerError(controller, e);
1069
- return null;
1070
- });
1071
- }
1072
- function ReadableByteStreamControllerClearPendingPullIntos(controller) {
1073
- ReadableByteStreamControllerInvalidateBYOBRequest(controller);
1074
- controller._pendingPullIntos = new SimpleQueue();
1075
- }
1076
- function ReadableByteStreamControllerCommitPullIntoDescriptor(stream, pullIntoDescriptor) {
1077
- let done = false;
1078
- if (stream._state === 'closed') {
1079
- done = true;
1080
- }
1081
- const filledView = ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor);
1082
- if (pullIntoDescriptor.readerType === 'default') {
1083
- ReadableStreamFulfillReadRequest(stream, filledView, done);
1084
- }
1085
- else {
1086
- ReadableStreamFulfillReadIntoRequest(stream, filledView, done);
1087
- }
1088
- }
1089
- function ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor) {
1090
- const bytesFilled = pullIntoDescriptor.bytesFilled;
1091
- const elementSize = pullIntoDescriptor.elementSize;
1092
- return new pullIntoDescriptor.viewConstructor(pullIntoDescriptor.buffer, pullIntoDescriptor.byteOffset, bytesFilled / elementSize);
1093
- }
1094
- function ReadableByteStreamControllerEnqueueChunkToQueue(controller, buffer, byteOffset, byteLength) {
1095
- controller._queue.push({ buffer, byteOffset, byteLength });
1096
- controller._queueTotalSize += byteLength;
1097
- }
1098
- function ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, buffer, byteOffset, byteLength) {
1099
- let clonedChunk;
1100
- try {
1101
- clonedChunk = ArrayBufferSlice(buffer, byteOffset, byteOffset + byteLength);
1102
- }
1103
- catch (cloneE) {
1104
- ReadableByteStreamControllerError(controller, cloneE);
1105
- throw cloneE;
1106
- }
1107
- ReadableByteStreamControllerEnqueueChunkToQueue(controller, clonedChunk, 0, byteLength);
1108
- }
1109
- function ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(controller, firstDescriptor) {
1110
- if (firstDescriptor.bytesFilled > 0) {
1111
- ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, firstDescriptor.buffer, firstDescriptor.byteOffset, firstDescriptor.bytesFilled);
1112
- }
1113
- ReadableByteStreamControllerShiftPendingPullInto(controller);
1114
- }
1115
- function ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor) {
1116
- const maxBytesToCopy = Math.min(controller._queueTotalSize, pullIntoDescriptor.byteLength - pullIntoDescriptor.bytesFilled);
1117
- const maxBytesFilled = pullIntoDescriptor.bytesFilled + maxBytesToCopy;
1118
- let totalBytesToCopyRemaining = maxBytesToCopy;
1119
- let ready = false;
1120
- const remainderBytes = maxBytesFilled % pullIntoDescriptor.elementSize;
1121
- const maxAlignedBytes = maxBytesFilled - remainderBytes;
1122
- // A descriptor for a read() request that is not yet filled up to its minimum length will stay at the head
1123
- // of the queue, so the underlying source can keep filling it.
1124
- if (maxAlignedBytes >= pullIntoDescriptor.minimumFill) {
1125
- totalBytesToCopyRemaining = maxAlignedBytes - pullIntoDescriptor.bytesFilled;
1126
- ready = true;
1127
- }
1128
- const queue = controller._queue;
1129
- while (totalBytesToCopyRemaining > 0) {
1130
- const headOfQueue = queue.peek();
1131
- const bytesToCopy = Math.min(totalBytesToCopyRemaining, headOfQueue.byteLength);
1132
- const destStart = pullIntoDescriptor.byteOffset + pullIntoDescriptor.bytesFilled;
1133
- CopyDataBlockBytes(pullIntoDescriptor.buffer, destStart, headOfQueue.buffer, headOfQueue.byteOffset, bytesToCopy);
1134
- if (headOfQueue.byteLength === bytesToCopy) {
1135
- queue.shift();
1136
- }
1137
- else {
1138
- headOfQueue.byteOffset += bytesToCopy;
1139
- headOfQueue.byteLength -= bytesToCopy;
1140
- }
1141
- controller._queueTotalSize -= bytesToCopy;
1142
- ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, bytesToCopy, pullIntoDescriptor);
1143
- totalBytesToCopyRemaining -= bytesToCopy;
1144
- }
1145
- return ready;
1146
- }
1147
- function ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, size, pullIntoDescriptor) {
1148
- pullIntoDescriptor.bytesFilled += size;
1149
- }
1150
- function ReadableByteStreamControllerHandleQueueDrain(controller) {
1151
- if (controller._queueTotalSize === 0 && controller._closeRequested) {
1152
- ReadableByteStreamControllerClearAlgorithms(controller);
1153
- ReadableStreamClose(controller._controlledReadableByteStream);
1154
- }
1155
- else {
1156
- ReadableByteStreamControllerCallPullIfNeeded(controller);
1157
- }
1158
- }
1159
- function ReadableByteStreamControllerInvalidateBYOBRequest(controller) {
1160
- if (controller._byobRequest === null) {
1161
- return;
1162
- }
1163
- controller._byobRequest._associatedReadableByteStreamController = undefined;
1164
- controller._byobRequest._view = null;
1165
- controller._byobRequest = null;
1166
- }
1167
- function ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller) {
1168
- while (controller._pendingPullIntos.length > 0) {
1169
- if (controller._queueTotalSize === 0) {
1170
- return;
1171
- }
1172
- const pullIntoDescriptor = controller._pendingPullIntos.peek();
1173
- if (ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor)) {
1174
- ReadableByteStreamControllerShiftPendingPullInto(controller);
1175
- ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableByteStream, pullIntoDescriptor);
1176
- }
1177
- }
1178
- }
1179
- function ReadableByteStreamControllerProcessReadRequestsUsingQueue(controller) {
1180
- const reader = controller._controlledReadableByteStream._reader;
1181
- while (reader._readRequests.length > 0) {
1182
- if (controller._queueTotalSize === 0) {
1183
- return;
1184
- }
1185
- const readRequest = reader._readRequests.shift();
1186
- ReadableByteStreamControllerFillReadRequestFromQueue(controller, readRequest);
1187
- }
1188
- }
1189
- function ReadableByteStreamControllerPullInto(controller, view, min, readIntoRequest) {
1190
- const stream = controller._controlledReadableByteStream;
1191
- const ctor = view.constructor;
1192
- const elementSize = arrayBufferViewElementSize(ctor);
1193
- const { byteOffset, byteLength } = view;
1194
- const minimumFill = min * elementSize;
1195
- let buffer;
1196
- try {
1197
- buffer = TransferArrayBuffer(view.buffer);
1198
- }
1199
- catch (e) {
1200
- readIntoRequest._errorSteps(e);
1201
- return;
1202
- }
1203
- const pullIntoDescriptor = {
1204
- buffer,
1205
- bufferByteLength: buffer.byteLength,
1206
- byteOffset,
1207
- byteLength,
1208
- bytesFilled: 0,
1209
- minimumFill,
1210
- elementSize,
1211
- viewConstructor: ctor,
1212
- readerType: 'byob'
1213
- };
1214
- if (controller._pendingPullIntos.length > 0) {
1215
- controller._pendingPullIntos.push(pullIntoDescriptor);
1216
- // No ReadableByteStreamControllerCallPullIfNeeded() call since:
1217
- // - No change happens on desiredSize
1218
- // - The source has already been notified of that there's at least 1 pending read(view)
1219
- ReadableStreamAddReadIntoRequest(stream, readIntoRequest);
1220
- return;
1221
- }
1222
- if (stream._state === 'closed') {
1223
- const emptyView = new ctor(pullIntoDescriptor.buffer, pullIntoDescriptor.byteOffset, 0);
1224
- readIntoRequest._closeSteps(emptyView);
1225
- return;
1226
- }
1227
- if (controller._queueTotalSize > 0) {
1228
- if (ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor)) {
1229
- const filledView = ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor);
1230
- ReadableByteStreamControllerHandleQueueDrain(controller);
1231
- readIntoRequest._chunkSteps(filledView);
1232
- return;
1233
- }
1234
- if (controller._closeRequested) {
1235
- const e = new TypeError('Insufficient bytes to fill elements in the given buffer');
1236
- ReadableByteStreamControllerError(controller, e);
1237
- readIntoRequest._errorSteps(e);
1238
- return;
1239
- }
1240
- }
1241
- controller._pendingPullIntos.push(pullIntoDescriptor);
1242
- ReadableStreamAddReadIntoRequest(stream, readIntoRequest);
1243
- ReadableByteStreamControllerCallPullIfNeeded(controller);
1244
- }
1245
- function ReadableByteStreamControllerRespondInClosedState(controller, firstDescriptor) {
1246
- if (firstDescriptor.readerType === 'none') {
1247
- ReadableByteStreamControllerShiftPendingPullInto(controller);
1248
- }
1249
- const stream = controller._controlledReadableByteStream;
1250
- if (ReadableStreamHasBYOBReader(stream)) {
1251
- while (ReadableStreamGetNumReadIntoRequests(stream) > 0) {
1252
- const pullIntoDescriptor = ReadableByteStreamControllerShiftPendingPullInto(controller);
1253
- ReadableByteStreamControllerCommitPullIntoDescriptor(stream, pullIntoDescriptor);
1254
- }
1255
- }
1256
- }
1257
- function ReadableByteStreamControllerRespondInReadableState(controller, bytesWritten, pullIntoDescriptor) {
1258
- ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, bytesWritten, pullIntoDescriptor);
1259
- if (pullIntoDescriptor.readerType === 'none') {
1260
- ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(controller, pullIntoDescriptor);
1261
- ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller);
1262
- return;
1263
- }
1264
- if (pullIntoDescriptor.bytesFilled < pullIntoDescriptor.minimumFill) {
1265
- // A descriptor for a read() request that is not yet filled up to its minimum length will stay at the head
1266
- // of the queue, so the underlying source can keep filling it.
1267
- return;
1268
- }
1269
- ReadableByteStreamControllerShiftPendingPullInto(controller);
1270
- const remainderSize = pullIntoDescriptor.bytesFilled % pullIntoDescriptor.elementSize;
1271
- if (remainderSize > 0) {
1272
- const end = pullIntoDescriptor.byteOffset + pullIntoDescriptor.bytesFilled;
1273
- ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, pullIntoDescriptor.buffer, end - remainderSize, remainderSize);
1274
- }
1275
- pullIntoDescriptor.bytesFilled -= remainderSize;
1276
- ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableByteStream, pullIntoDescriptor);
1277
- ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller);
1278
- }
1279
- function ReadableByteStreamControllerRespondInternal(controller, bytesWritten) {
1280
- const firstDescriptor = controller._pendingPullIntos.peek();
1281
- ReadableByteStreamControllerInvalidateBYOBRequest(controller);
1282
- const state = controller._controlledReadableByteStream._state;
1283
- if (state === 'closed') {
1284
- ReadableByteStreamControllerRespondInClosedState(controller, firstDescriptor);
1285
- }
1286
- else {
1287
- ReadableByteStreamControllerRespondInReadableState(controller, bytesWritten, firstDescriptor);
1288
- }
1289
- ReadableByteStreamControllerCallPullIfNeeded(controller);
1290
- }
1291
- function ReadableByteStreamControllerShiftPendingPullInto(controller) {
1292
- const descriptor = controller._pendingPullIntos.shift();
1293
- return descriptor;
1294
- }
1295
- function ReadableByteStreamControllerShouldCallPull(controller) {
1296
- const stream = controller._controlledReadableByteStream;
1297
- if (stream._state !== 'readable') {
1298
- return false;
1299
- }
1300
- if (controller._closeRequested) {
1301
- return false;
1302
- }
1303
- if (!controller._started) {
1304
- return false;
1305
- }
1306
- if (ReadableStreamHasDefaultReader(stream) && ReadableStreamGetNumReadRequests(stream) > 0) {
1307
- return true;
1308
- }
1309
- if (ReadableStreamHasBYOBReader(stream) && ReadableStreamGetNumReadIntoRequests(stream) > 0) {
1310
- return true;
1311
- }
1312
- const desiredSize = ReadableByteStreamControllerGetDesiredSize(controller);
1313
- if (desiredSize > 0) {
1314
- return true;
1315
- }
1316
- return false;
1317
- }
1318
- function ReadableByteStreamControllerClearAlgorithms(controller) {
1319
- controller._pullAlgorithm = undefined;
1320
- controller._cancelAlgorithm = undefined;
1321
- }
1322
- // A client of ReadableByteStreamController may use these functions directly to bypass state check.
1323
- function ReadableByteStreamControllerClose(controller) {
1324
- const stream = controller._controlledReadableByteStream;
1325
- if (controller._closeRequested || stream._state !== 'readable') {
1326
- return;
1327
- }
1328
- if (controller._queueTotalSize > 0) {
1329
- controller._closeRequested = true;
1330
- return;
1331
- }
1332
- if (controller._pendingPullIntos.length > 0) {
1333
- const firstPendingPullInto = controller._pendingPullIntos.peek();
1334
- if (firstPendingPullInto.bytesFilled % firstPendingPullInto.elementSize !== 0) {
1335
- const e = new TypeError('Insufficient bytes to fill elements in the given buffer');
1336
- ReadableByteStreamControllerError(controller, e);
1337
- throw e;
1338
- }
1339
- }
1340
- ReadableByteStreamControllerClearAlgorithms(controller);
1341
- ReadableStreamClose(stream);
1342
- }
1343
- function ReadableByteStreamControllerEnqueue(controller, chunk) {
1344
- const stream = controller._controlledReadableByteStream;
1345
- if (controller._closeRequested || stream._state !== 'readable') {
1346
- return;
1347
- }
1348
- const { buffer, byteOffset, byteLength } = chunk;
1349
- if (IsDetachedBuffer(buffer)) {
1350
- throw new TypeError('chunk\'s buffer is detached and so cannot be enqueued');
1351
- }
1352
- const transferredBuffer = TransferArrayBuffer(buffer);
1353
- if (controller._pendingPullIntos.length > 0) {
1354
- const firstPendingPullInto = controller._pendingPullIntos.peek();
1355
- if (IsDetachedBuffer(firstPendingPullInto.buffer)) {
1356
- throw new TypeError('The BYOB request\'s buffer has been detached and so cannot be filled with an enqueued chunk');
1357
- }
1358
- ReadableByteStreamControllerInvalidateBYOBRequest(controller);
1359
- firstPendingPullInto.buffer = TransferArrayBuffer(firstPendingPullInto.buffer);
1360
- if (firstPendingPullInto.readerType === 'none') {
1361
- ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(controller, firstPendingPullInto);
1362
- }
1363
- }
1364
- if (ReadableStreamHasDefaultReader(stream)) {
1365
- ReadableByteStreamControllerProcessReadRequestsUsingQueue(controller);
1366
- if (ReadableStreamGetNumReadRequests(stream) === 0) {
1367
- ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength);
1368
- }
1369
- else {
1370
- if (controller._pendingPullIntos.length > 0) {
1371
- ReadableByteStreamControllerShiftPendingPullInto(controller);
1372
- }
1373
- const transferredView = new Uint8Array(transferredBuffer, byteOffset, byteLength);
1374
- ReadableStreamFulfillReadRequest(stream, transferredView, false);
1375
- }
1376
- }
1377
- else if (ReadableStreamHasBYOBReader(stream)) {
1378
- // TODO: Ideally in this branch detaching should happen only if the buffer is not consumed fully.
1379
- ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength);
1380
- ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller);
1381
- }
1382
- else {
1383
- ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength);
1384
- }
1385
- ReadableByteStreamControllerCallPullIfNeeded(controller);
1386
- }
1387
- function ReadableByteStreamControllerError(controller, e) {
1388
- const stream = controller._controlledReadableByteStream;
1389
- if (stream._state !== 'readable') {
1390
- return;
1391
- }
1392
- ReadableByteStreamControllerClearPendingPullIntos(controller);
1393
- ResetQueue(controller);
1394
- ReadableByteStreamControllerClearAlgorithms(controller);
1395
- ReadableStreamError(stream, e);
1396
- }
1397
- function ReadableByteStreamControllerFillReadRequestFromQueue(controller, readRequest) {
1398
- const entry = controller._queue.shift();
1399
- controller._queueTotalSize -= entry.byteLength;
1400
- ReadableByteStreamControllerHandleQueueDrain(controller);
1401
- const view = new Uint8Array(entry.buffer, entry.byteOffset, entry.byteLength);
1402
- readRequest._chunkSteps(view);
1403
- }
1404
- function ReadableByteStreamControllerGetBYOBRequest(controller) {
1405
- if (controller._byobRequest === null && controller._pendingPullIntos.length > 0) {
1406
- const firstDescriptor = controller._pendingPullIntos.peek();
1407
- const view = new Uint8Array(firstDescriptor.buffer, firstDescriptor.byteOffset + firstDescriptor.bytesFilled, firstDescriptor.byteLength - firstDescriptor.bytesFilled);
1408
- const byobRequest = Object.create(ReadableStreamBYOBRequest.prototype);
1409
- SetUpReadableStreamBYOBRequest(byobRequest, controller, view);
1410
- controller._byobRequest = byobRequest;
1411
- }
1412
- return controller._byobRequest;
1413
- }
1414
- function ReadableByteStreamControllerGetDesiredSize(controller) {
1415
- const state = controller._controlledReadableByteStream._state;
1416
- if (state === 'errored') {
1417
- return null;
1418
- }
1419
- if (state === 'closed') {
1420
- return 0;
1421
- }
1422
- return controller._strategyHWM - controller._queueTotalSize;
1423
- }
1424
- function ReadableByteStreamControllerRespond(controller, bytesWritten) {
1425
- const firstDescriptor = controller._pendingPullIntos.peek();
1426
- const state = controller._controlledReadableByteStream._state;
1427
- if (state === 'closed') {
1428
- if (bytesWritten !== 0) {
1429
- throw new TypeError('bytesWritten must be 0 when calling respond() on a closed stream');
1430
- }
1431
- }
1432
- else {
1433
- if (bytesWritten === 0) {
1434
- throw new TypeError('bytesWritten must be greater than 0 when calling respond() on a readable stream');
1435
- }
1436
- if (firstDescriptor.bytesFilled + bytesWritten > firstDescriptor.byteLength) {
1437
- throw new RangeError('bytesWritten out of range');
1438
- }
1439
- }
1440
- firstDescriptor.buffer = TransferArrayBuffer(firstDescriptor.buffer);
1441
- ReadableByteStreamControllerRespondInternal(controller, bytesWritten);
1442
- }
1443
- function ReadableByteStreamControllerRespondWithNewView(controller, view) {
1444
- const firstDescriptor = controller._pendingPullIntos.peek();
1445
- const state = controller._controlledReadableByteStream._state;
1446
- if (state === 'closed') {
1447
- if (view.byteLength !== 0) {
1448
- throw new TypeError('The view\'s length must be 0 when calling respondWithNewView() on a closed stream');
1449
- }
1450
- }
1451
- else {
1452
- if (view.byteLength === 0) {
1453
- throw new TypeError('The view\'s length must be greater than 0 when calling respondWithNewView() on a readable stream');
1454
- }
1455
- }
1456
- if (firstDescriptor.byteOffset + firstDescriptor.bytesFilled !== view.byteOffset) {
1457
- throw new RangeError('The region specified by view does not match byobRequest');
1458
- }
1459
- if (firstDescriptor.bufferByteLength !== view.buffer.byteLength) {
1460
- throw new RangeError('The buffer of view has different capacity than byobRequest');
1461
- }
1462
- if (firstDescriptor.bytesFilled + view.byteLength > firstDescriptor.byteLength) {
1463
- throw new RangeError('The region specified by view is larger than byobRequest');
1464
- }
1465
- const viewByteLength = view.byteLength;
1466
- firstDescriptor.buffer = TransferArrayBuffer(view.buffer);
1467
- ReadableByteStreamControllerRespondInternal(controller, viewByteLength);
1468
- }
1469
- function SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, autoAllocateChunkSize) {
1470
- controller._controlledReadableByteStream = stream;
1471
- controller._pullAgain = false;
1472
- controller._pulling = false;
1473
- controller._byobRequest = null;
1474
- // Need to set the slots so that the assert doesn't fire. In the spec the slots already exist implicitly.
1475
- controller._queue = controller._queueTotalSize = undefined;
1476
- ResetQueue(controller);
1477
- controller._closeRequested = false;
1478
- controller._started = false;
1479
- controller._strategyHWM = highWaterMark;
1480
- controller._pullAlgorithm = pullAlgorithm;
1481
- controller._cancelAlgorithm = cancelAlgorithm;
1482
- controller._autoAllocateChunkSize = autoAllocateChunkSize;
1483
- controller._pendingPullIntos = new SimpleQueue();
1484
- stream._readableStreamController = controller;
1485
- const startResult = startAlgorithm();
1486
- uponPromise(promiseResolvedWith(startResult), () => {
1487
- controller._started = true;
1488
- ReadableByteStreamControllerCallPullIfNeeded(controller);
1489
- return null;
1490
- }, r => {
1491
- ReadableByteStreamControllerError(controller, r);
1492
- return null;
1493
- });
1494
- }
1495
- function SetUpReadableByteStreamControllerFromUnderlyingSource(stream, underlyingByteSource, highWaterMark) {
1496
- const controller = Object.create(ReadableByteStreamController.prototype);
1497
- let startAlgorithm;
1498
- let pullAlgorithm;
1499
- let cancelAlgorithm;
1500
- if (underlyingByteSource.start !== undefined) {
1501
- startAlgorithm = () => underlyingByteSource.start(controller);
1502
- }
1503
- else {
1504
- startAlgorithm = () => undefined;
1505
- }
1506
- if (underlyingByteSource.pull !== undefined) {
1507
- pullAlgorithm = () => underlyingByteSource.pull(controller);
1508
- }
1509
- else {
1510
- pullAlgorithm = () => promiseResolvedWith(undefined);
1511
- }
1512
- if (underlyingByteSource.cancel !== undefined) {
1513
- cancelAlgorithm = reason => underlyingByteSource.cancel(reason);
1514
- }
1515
- else {
1516
- cancelAlgorithm = () => promiseResolvedWith(undefined);
1517
- }
1518
- const autoAllocateChunkSize = underlyingByteSource.autoAllocateChunkSize;
1519
- if (autoAllocateChunkSize === 0) {
1520
- throw new TypeError('autoAllocateChunkSize must be greater than 0');
1521
- }
1522
- SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, autoAllocateChunkSize);
1523
- }
1524
- function SetUpReadableStreamBYOBRequest(request, controller, view) {
1525
- request._associatedReadableByteStreamController = controller;
1526
- request._view = view;
1527
- }
1528
- // Helper functions for the ReadableStreamBYOBRequest.
1529
- function byobRequestBrandCheckException(name) {
1530
- return new TypeError(`ReadableStreamBYOBRequest.prototype.${name} can only be used on a ReadableStreamBYOBRequest`);
1531
- }
1532
- // Helper functions for the ReadableByteStreamController.
1533
- function byteStreamControllerBrandCheckException(name) {
1534
- return new TypeError(`ReadableByteStreamController.prototype.${name} can only be used on a ReadableByteStreamController`);
1535
- }
1536
-
1537
- function convertReaderOptions(options, context) {
1538
- assertDictionary(options, context);
1539
- const mode = options === null || options === void 0 ? void 0 : options.mode;
1540
- return {
1541
- mode: mode === undefined ? undefined : convertReadableStreamReaderMode(mode, `${context} has member 'mode' that`)
1542
- };
1543
- }
1544
- function convertReadableStreamReaderMode(mode, context) {
1545
- mode = `${mode}`;
1546
- if (mode !== 'byob') {
1547
- throw new TypeError(`${context} '${mode}' is not a valid enumeration value for ReadableStreamReaderMode`);
1548
- }
1549
- return mode;
1550
- }
1551
- function convertByobReadOptions(options, context) {
1552
- var _a;
1553
- assertDictionary(options, context);
1554
- const min = (_a = options === null || options === void 0 ? void 0 : options.min) !== null && _a !== void 0 ? _a : 1;
1555
- return {
1556
- min: convertUnsignedLongLongWithEnforceRange(min, `${context} has member 'min' that`)
1557
- };
1558
- }
1559
-
1560
- // Abstract operations for the ReadableStream.
1561
- function AcquireReadableStreamBYOBReader(stream) {
1562
- return new ReadableStreamBYOBReader(stream);
1563
- }
1564
- // ReadableStream API exposed for controllers.
1565
- function ReadableStreamAddReadIntoRequest(stream, readIntoRequest) {
1566
- stream._reader._readIntoRequests.push(readIntoRequest);
1567
- }
1568
- function ReadableStreamFulfillReadIntoRequest(stream, chunk, done) {
1569
- const reader = stream._reader;
1570
- const readIntoRequest = reader._readIntoRequests.shift();
1571
- if (done) {
1572
- readIntoRequest._closeSteps(chunk);
1573
- }
1574
- else {
1575
- readIntoRequest._chunkSteps(chunk);
1576
- }
1577
- }
1578
- function ReadableStreamGetNumReadIntoRequests(stream) {
1579
- return stream._reader._readIntoRequests.length;
1580
- }
1581
- function ReadableStreamHasBYOBReader(stream) {
1582
- const reader = stream._reader;
1583
- if (reader === undefined) {
1584
- return false;
1585
- }
1586
- if (!IsReadableStreamBYOBReader(reader)) {
1587
- return false;
1588
- }
1589
- return true;
1590
- }
1591
- /**
1592
- * A BYOB reader vended by a {@link ReadableStream}.
1593
- *
1594
- * @public
1595
- */
1596
- class ReadableStreamBYOBReader {
1597
- constructor(stream) {
1598
- assertRequiredArgument(stream, 1, 'ReadableStreamBYOBReader');
1599
- assertReadableStream(stream, 'First parameter');
1600
- if (IsReadableStreamLocked(stream)) {
1601
- throw new TypeError('This stream has already been locked for exclusive reading by another reader');
1602
- }
1603
- if (!IsReadableByteStreamController(stream._readableStreamController)) {
1604
- throw new TypeError('Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte ' +
1605
- 'source');
1606
- }
1607
- ReadableStreamReaderGenericInitialize(this, stream);
1608
- this._readIntoRequests = new SimpleQueue();
1609
- }
1610
- /**
1611
- * Returns a promise that will be fulfilled when the stream becomes closed, or rejected if the stream ever errors or
1612
- * the reader's lock is released before the stream finishes closing.
1613
- */
1614
- get closed() {
1615
- if (!IsReadableStreamBYOBReader(this)) {
1616
- return promiseRejectedWith(byobReaderBrandCheckException('closed'));
1617
- }
1618
- return this._closedPromise;
1619
- }
1620
- /**
1621
- * If the reader is active, behaves the same as {@link ReadableStream.cancel | stream.cancel(reason)}.
1622
- */
1623
- cancel(reason = undefined) {
1624
- if (!IsReadableStreamBYOBReader(this)) {
1625
- return promiseRejectedWith(byobReaderBrandCheckException('cancel'));
1626
- }
1627
- if (this._ownerReadableStream === undefined) {
1628
- return promiseRejectedWith(readerLockException('cancel'));
1629
- }
1630
- return ReadableStreamReaderGenericCancel(this, reason);
1631
- }
1632
- read(view, rawOptions = {}) {
1633
- if (!IsReadableStreamBYOBReader(this)) {
1634
- return promiseRejectedWith(byobReaderBrandCheckException('read'));
1635
- }
1636
- if (!ArrayBuffer.isView(view)) {
1637
- return promiseRejectedWith(new TypeError('view must be an array buffer view'));
1638
- }
1639
- if (view.byteLength === 0) {
1640
- return promiseRejectedWith(new TypeError('view must have non-zero byteLength'));
1641
- }
1642
- if (view.buffer.byteLength === 0) {
1643
- return promiseRejectedWith(new TypeError(`view's buffer must have non-zero byteLength`));
1644
- }
1645
- if (IsDetachedBuffer(view.buffer)) {
1646
- return promiseRejectedWith(new TypeError('view\'s buffer has been detached'));
1647
- }
1648
- let options;
1649
- try {
1650
- options = convertByobReadOptions(rawOptions, 'options');
1651
- }
1652
- catch (e) {
1653
- return promiseRejectedWith(e);
1654
- }
1655
- const min = options.min;
1656
- if (min === 0) {
1657
- return promiseRejectedWith(new TypeError('options.min must be greater than 0'));
1658
- }
1659
- if (!isDataView(view)) {
1660
- if (min > view.length) {
1661
- return promiseRejectedWith(new RangeError('options.min must be less than or equal to view\'s length'));
1662
- }
1663
- }
1664
- else if (min > view.byteLength) {
1665
- return promiseRejectedWith(new RangeError('options.min must be less than or equal to view\'s byteLength'));
1666
- }
1667
- if (this._ownerReadableStream === undefined) {
1668
- return promiseRejectedWith(readerLockException('read from'));
1669
- }
1670
- let resolvePromise;
1671
- let rejectPromise;
1672
- const promise = newPromise((resolve, reject) => {
1673
- resolvePromise = resolve;
1674
- rejectPromise = reject;
1675
- });
1676
- const readIntoRequest = {
1677
- _chunkSteps: chunk => resolvePromise({ value: chunk, done: false }),
1678
- _closeSteps: chunk => resolvePromise({ value: chunk, done: true }),
1679
- _errorSteps: e => rejectPromise(e)
1680
- };
1681
- ReadableStreamBYOBReaderRead(this, view, min, readIntoRequest);
1682
- return promise;
1683
- }
1684
- /**
1685
- * Releases the reader's lock on the corresponding stream. After the lock is released, the reader is no longer active.
1686
- * If the associated stream is errored when the lock is released, the reader will appear errored in the same way
1687
- * from now on; otherwise, the reader will appear closed.
1688
- *
1689
- * A reader's lock cannot be released while it still has a pending read request, i.e., if a promise returned by
1690
- * the reader's {@link ReadableStreamBYOBReader.read | read()} method has not yet been settled. Attempting to
1691
- * do so will throw a `TypeError` and leave the reader locked to the stream.
1692
- */
1693
- releaseLock() {
1694
- if (!IsReadableStreamBYOBReader(this)) {
1695
- throw byobReaderBrandCheckException('releaseLock');
1696
- }
1697
- if (this._ownerReadableStream === undefined) {
1698
- return;
1699
- }
1700
- ReadableStreamBYOBReaderRelease(this);
1701
- }
1702
- }
1703
- Object.defineProperties(ReadableStreamBYOBReader.prototype, {
1704
- cancel: { enumerable: true },
1705
- read: { enumerable: true },
1706
- releaseLock: { enumerable: true },
1707
- closed: { enumerable: true }
1708
- });
1709
- setFunctionName(ReadableStreamBYOBReader.prototype.cancel, 'cancel');
1710
- setFunctionName(ReadableStreamBYOBReader.prototype.read, 'read');
1711
- setFunctionName(ReadableStreamBYOBReader.prototype.releaseLock, 'releaseLock');
1712
- if (typeof Symbol.toStringTag === 'symbol') {
1713
- Object.defineProperty(ReadableStreamBYOBReader.prototype, Symbol.toStringTag, {
1714
- value: 'ReadableStreamBYOBReader',
1715
- configurable: true
1716
- });
1717
- }
1718
- // Abstract operations for the readers.
1719
- function IsReadableStreamBYOBReader(x) {
1720
- if (!typeIsObject(x)) {
1721
- return false;
1722
- }
1723
- if (!Object.prototype.hasOwnProperty.call(x, '_readIntoRequests')) {
1724
- return false;
1725
- }
1726
- return x instanceof ReadableStreamBYOBReader;
1727
- }
1728
- function ReadableStreamBYOBReaderRead(reader, view, min, readIntoRequest) {
1729
- const stream = reader._ownerReadableStream;
1730
- stream._disturbed = true;
1731
- if (stream._state === 'errored') {
1732
- readIntoRequest._errorSteps(stream._storedError);
1733
- }
1734
- else {
1735
- ReadableByteStreamControllerPullInto(stream._readableStreamController, view, min, readIntoRequest);
1736
- }
1737
- }
1738
- function ReadableStreamBYOBReaderRelease(reader) {
1739
- ReadableStreamReaderGenericRelease(reader);
1740
- const e = new TypeError('Reader was released');
1741
- ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e);
1742
- }
1743
- function ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e) {
1744
- const readIntoRequests = reader._readIntoRequests;
1745
- reader._readIntoRequests = new SimpleQueue();
1746
- readIntoRequests.forEach(readIntoRequest => {
1747
- readIntoRequest._errorSteps(e);
1748
- });
1749
- }
1750
- // Helper functions for the ReadableStreamBYOBReader.
1751
- function byobReaderBrandCheckException(name) {
1752
- return new TypeError(`ReadableStreamBYOBReader.prototype.${name} can only be used on a ReadableStreamBYOBReader`);
1753
- }
1754
-
1755
- function ExtractHighWaterMark(strategy, defaultHWM) {
1756
- const { highWaterMark } = strategy;
1757
- if (highWaterMark === undefined) {
1758
- return defaultHWM;
1759
- }
1760
- if (NumberIsNaN(highWaterMark) || highWaterMark < 0) {
1761
- throw new RangeError('Invalid highWaterMark');
1762
- }
1763
- return highWaterMark;
1764
- }
1765
- function ExtractSizeAlgorithm(strategy) {
1766
- const { size } = strategy;
1767
- if (!size) {
1768
- return () => 1;
1769
- }
1770
- return size;
1771
- }
1772
-
1773
- function convertQueuingStrategy(init, context) {
1774
- assertDictionary(init, context);
1775
- const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;
1776
- const size = init === null || init === void 0 ? void 0 : init.size;
1777
- return {
1778
- highWaterMark: highWaterMark === undefined ? undefined : convertUnrestrictedDouble(highWaterMark),
1779
- size: size === undefined ? undefined : convertQueuingStrategySize(size, `${context} has member 'size' that`)
1780
- };
1781
- }
1782
- function convertQueuingStrategySize(fn, context) {
1783
- assertFunction(fn, context);
1784
- return chunk => convertUnrestrictedDouble(fn(chunk));
1785
- }
1786
-
1787
- function convertUnderlyingSink(original, context) {
1788
- assertDictionary(original, context);
1789
- const abort = original === null || original === void 0 ? void 0 : original.abort;
1790
- const close = original === null || original === void 0 ? void 0 : original.close;
1791
- const start = original === null || original === void 0 ? void 0 : original.start;
1792
- const type = original === null || original === void 0 ? void 0 : original.type;
1793
- const write = original === null || original === void 0 ? void 0 : original.write;
1794
- return {
1795
- abort: abort === undefined ?
1796
- undefined :
1797
- convertUnderlyingSinkAbortCallback(abort, original, `${context} has member 'abort' that`),
1798
- close: close === undefined ?
1799
- undefined :
1800
- convertUnderlyingSinkCloseCallback(close, original, `${context} has member 'close' that`),
1801
- start: start === undefined ?
1802
- undefined :
1803
- convertUnderlyingSinkStartCallback(start, original, `${context} has member 'start' that`),
1804
- write: write === undefined ?
1805
- undefined :
1806
- convertUnderlyingSinkWriteCallback(write, original, `${context} has member 'write' that`),
1807
- type
1808
- };
1809
- }
1810
- function convertUnderlyingSinkAbortCallback(fn, original, context) {
1811
- assertFunction(fn, context);
1812
- return (reason) => promiseCall(fn, original, [reason]);
1813
- }
1814
- function convertUnderlyingSinkCloseCallback(fn, original, context) {
1815
- assertFunction(fn, context);
1816
- return () => promiseCall(fn, original, []);
1817
- }
1818
- function convertUnderlyingSinkStartCallback(fn, original, context) {
1819
- assertFunction(fn, context);
1820
- return (controller) => reflectCall(fn, original, [controller]);
1821
- }
1822
- function convertUnderlyingSinkWriteCallback(fn, original, context) {
1823
- assertFunction(fn, context);
1824
- return (chunk, controller) => promiseCall(fn, original, [chunk, controller]);
1825
- }
1826
-
1827
- function assertWritableStream(x, context) {
1828
- if (!IsWritableStream(x)) {
1829
- throw new TypeError(`${context} is not a WritableStream.`);
1830
- }
1831
- }
1832
-
1833
- function isAbortSignal(value) {
1834
- if (typeof value !== 'object' || value === null) {
1835
- return false;
1836
- }
1837
- try {
1838
- return typeof value.aborted === 'boolean';
1839
- }
1840
- catch (_a) {
1841
- // AbortSignal.prototype.aborted throws if its brand check fails
1842
- return false;
1843
- }
1844
- }
1845
- const supportsAbortController = typeof AbortController === 'function';
1846
- /**
1847
- * Construct a new AbortController, if supported by the platform.
1848
- *
1849
- * @internal
1850
- */
1851
- function createAbortController() {
1852
- if (supportsAbortController) {
1853
- return new AbortController();
1854
- }
1855
- return undefined;
1856
- }
1857
-
1858
- /**
1859
- * A writable stream represents a destination for data, into which you can write.
1860
- *
1861
- * @public
1862
- */
1863
- class WritableStream {
1864
- constructor(rawUnderlyingSink = {}, rawStrategy = {}) {
1865
- if (rawUnderlyingSink === undefined) {
1866
- rawUnderlyingSink = null;
1867
- }
1868
- else {
1869
- assertObject(rawUnderlyingSink, 'First parameter');
1870
- }
1871
- const strategy = convertQueuingStrategy(rawStrategy, 'Second parameter');
1872
- const underlyingSink = convertUnderlyingSink(rawUnderlyingSink, 'First parameter');
1873
- InitializeWritableStream(this);
1874
- const type = underlyingSink.type;
1875
- if (type !== undefined) {
1876
- throw new RangeError('Invalid type is specified');
1877
- }
1878
- const sizeAlgorithm = ExtractSizeAlgorithm(strategy);
1879
- const highWaterMark = ExtractHighWaterMark(strategy, 1);
1880
- SetUpWritableStreamDefaultControllerFromUnderlyingSink(this, underlyingSink, highWaterMark, sizeAlgorithm);
1881
- }
1882
- /**
1883
- * Returns whether or not the writable stream is locked to a writer.
1884
- */
1885
- get locked() {
1886
- if (!IsWritableStream(this)) {
1887
- throw streamBrandCheckException$2('locked');
1888
- }
1889
- return IsWritableStreamLocked(this);
1890
- }
1891
- /**
1892
- * Aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be
1893
- * immediately moved to an errored state, with any queued-up writes discarded. This will also execute any abort
1894
- * mechanism of the underlying sink.
1895
- *
1896
- * The returned promise will fulfill if the stream shuts down successfully, or reject if the underlying sink signaled
1897
- * that there was an error doing so. Additionally, it will reject with a `TypeError` (without attempting to cancel
1898
- * the stream) if the stream is currently locked.
1899
- */
1900
- abort(reason = undefined) {
1901
- if (!IsWritableStream(this)) {
1902
- return promiseRejectedWith(streamBrandCheckException$2('abort'));
1903
- }
1904
- if (IsWritableStreamLocked(this)) {
1905
- return promiseRejectedWith(new TypeError('Cannot abort a stream that already has a writer'));
1906
- }
1907
- return WritableStreamAbort(this, reason);
1908
- }
1909
- /**
1910
- * Closes the stream. The underlying sink will finish processing any previously-written chunks, before invoking its
1911
- * close behavior. During this time any further attempts to write will fail (without erroring the stream).
1912
- *
1913
- * The method returns a promise that will fulfill if all remaining chunks are successfully written and the stream
1914
- * successfully closes, or rejects if an error is encountered during this process. Additionally, it will reject with
1915
- * a `TypeError` (without attempting to cancel the stream) if the stream is currently locked.
1916
- */
1917
- close() {
1918
- if (!IsWritableStream(this)) {
1919
- return promiseRejectedWith(streamBrandCheckException$2('close'));
1920
- }
1921
- if (IsWritableStreamLocked(this)) {
1922
- return promiseRejectedWith(new TypeError('Cannot close a stream that already has a writer'));
1923
- }
1924
- if (WritableStreamCloseQueuedOrInFlight(this)) {
1925
- return promiseRejectedWith(new TypeError('Cannot close an already-closing stream'));
1926
- }
1927
- return WritableStreamClose(this);
1928
- }
1929
- /**
1930
- * Creates a {@link WritableStreamDefaultWriter | writer} and locks the stream to the new writer. While the stream
1931
- * is locked, no other writer can be acquired until this one is released.
1932
- *
1933
- * This functionality is especially useful for creating abstractions that desire the ability to write to a stream
1934
- * without interruption or interleaving. By getting a writer for the stream, you can ensure nobody else can write at
1935
- * the same time, which would cause the resulting written data to be unpredictable and probably useless.
1936
- */
1937
- getWriter() {
1938
- if (!IsWritableStream(this)) {
1939
- throw streamBrandCheckException$2('getWriter');
1940
- }
1941
- return AcquireWritableStreamDefaultWriter(this);
1942
- }
1943
- }
1944
- Object.defineProperties(WritableStream.prototype, {
1945
- abort: { enumerable: true },
1946
- close: { enumerable: true },
1947
- getWriter: { enumerable: true },
1948
- locked: { enumerable: true }
1949
- });
1950
- setFunctionName(WritableStream.prototype.abort, 'abort');
1951
- setFunctionName(WritableStream.prototype.close, 'close');
1952
- setFunctionName(WritableStream.prototype.getWriter, 'getWriter');
1953
- if (typeof Symbol.toStringTag === 'symbol') {
1954
- Object.defineProperty(WritableStream.prototype, Symbol.toStringTag, {
1955
- value: 'WritableStream',
1956
- configurable: true
1957
- });
1958
- }
1959
- // Abstract operations for the WritableStream.
1960
- function AcquireWritableStreamDefaultWriter(stream) {
1961
- return new WritableStreamDefaultWriter(stream);
1962
- }
1963
- // Throws if and only if startAlgorithm throws.
1964
- function CreateWritableStream(startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark = 1, sizeAlgorithm = () => 1) {
1965
- const stream = Object.create(WritableStream.prototype);
1966
- InitializeWritableStream(stream);
1967
- const controller = Object.create(WritableStreamDefaultController.prototype);
1968
- SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm);
1969
- return stream;
1970
- }
1971
- function InitializeWritableStream(stream) {
1972
- stream._state = 'writable';
1973
- // The error that will be reported by new method calls once the state becomes errored. Only set when [[state]] is
1974
- // 'erroring' or 'errored'. May be set to an undefined value.
1975
- stream._storedError = undefined;
1976
- stream._writer = undefined;
1977
- // Initialize to undefined first because the constructor of the controller checks this
1978
- // variable to validate the caller.
1979
- stream._writableStreamController = undefined;
1980
- // This queue is placed here instead of the writer class in order to allow for passing a writer to the next data
1981
- // producer without waiting for the queued writes to finish.
1982
- stream._writeRequests = new SimpleQueue();
1983
- // Write requests are removed from _writeRequests when write() is called on the underlying sink. This prevents
1984
- // them from being erroneously rejected on error. If a write() call is in-flight, the request is stored here.
1985
- stream._inFlightWriteRequest = undefined;
1986
- // The promise that was returned from writer.close(). Stored here because it may be fulfilled after the writer
1987
- // has been detached.
1988
- stream._closeRequest = undefined;
1989
- // Close request is removed from _closeRequest when close() is called on the underlying sink. This prevents it
1990
- // from being erroneously rejected on error. If a close() call is in-flight, the request is stored here.
1991
- stream._inFlightCloseRequest = undefined;
1992
- // The promise that was returned from writer.abort(). This may also be fulfilled after the writer has detached.
1993
- stream._pendingAbortRequest = undefined;
1994
- // The backpressure signal set by the controller.
1995
- stream._backpressure = false;
1996
- }
1997
- function IsWritableStream(x) {
1998
- if (!typeIsObject(x)) {
1999
- return false;
2000
- }
2001
- if (!Object.prototype.hasOwnProperty.call(x, '_writableStreamController')) {
2002
- return false;
2003
- }
2004
- return x instanceof WritableStream;
2005
- }
2006
- function IsWritableStreamLocked(stream) {
2007
- if (stream._writer === undefined) {
2008
- return false;
2009
- }
2010
- return true;
2011
- }
2012
- function WritableStreamAbort(stream, reason) {
2013
- var _a;
2014
- if (stream._state === 'closed' || stream._state === 'errored') {
2015
- return promiseResolvedWith(undefined);
2016
- }
2017
- stream._writableStreamController._abortReason = reason;
2018
- (_a = stream._writableStreamController._abortController) === null || _a === void 0 ? void 0 : _a.abort(reason);
2019
- // TypeScript narrows the type of `stream._state` down to 'writable' | 'erroring',
2020
- // but it doesn't know that signaling abort runs author code that might have changed the state.
2021
- // Widen the type again by casting to WritableStreamState.
2022
- const state = stream._state;
2023
- if (state === 'closed' || state === 'errored') {
2024
- return promiseResolvedWith(undefined);
2025
- }
2026
- if (stream._pendingAbortRequest !== undefined) {
2027
- return stream._pendingAbortRequest._promise;
2028
- }
2029
- let wasAlreadyErroring = false;
2030
- if (state === 'erroring') {
2031
- wasAlreadyErroring = true;
2032
- // reason will not be used, so don't keep a reference to it.
2033
- reason = undefined;
2034
- }
2035
- const promise = newPromise((resolve, reject) => {
2036
- stream._pendingAbortRequest = {
2037
- _promise: undefined,
2038
- _resolve: resolve,
2039
- _reject: reject,
2040
- _reason: reason,
2041
- _wasAlreadyErroring: wasAlreadyErroring
2042
- };
2043
- });
2044
- stream._pendingAbortRequest._promise = promise;
2045
- if (!wasAlreadyErroring) {
2046
- WritableStreamStartErroring(stream, reason);
2047
- }
2048
- return promise;
2049
- }
2050
- function WritableStreamClose(stream) {
2051
- const state = stream._state;
2052
- if (state === 'closed' || state === 'errored') {
2053
- return promiseRejectedWith(new TypeError(`The stream (in ${state} state) is not in the writable state and cannot be closed`));
2054
- }
2055
- const promise = newPromise((resolve, reject) => {
2056
- const closeRequest = {
2057
- _resolve: resolve,
2058
- _reject: reject
2059
- };
2060
- stream._closeRequest = closeRequest;
2061
- });
2062
- const writer = stream._writer;
2063
- if (writer !== undefined && stream._backpressure && state === 'writable') {
2064
- defaultWriterReadyPromiseResolve(writer);
2065
- }
2066
- WritableStreamDefaultControllerClose(stream._writableStreamController);
2067
- return promise;
2068
- }
2069
- // WritableStream API exposed for controllers.
2070
- function WritableStreamAddWriteRequest(stream) {
2071
- const promise = newPromise((resolve, reject) => {
2072
- const writeRequest = {
2073
- _resolve: resolve,
2074
- _reject: reject
2075
- };
2076
- stream._writeRequests.push(writeRequest);
2077
- });
2078
- return promise;
2079
- }
2080
- function WritableStreamDealWithRejection(stream, error) {
2081
- const state = stream._state;
2082
- if (state === 'writable') {
2083
- WritableStreamStartErroring(stream, error);
2084
- return;
2085
- }
2086
- WritableStreamFinishErroring(stream);
2087
- }
2088
- function WritableStreamStartErroring(stream, reason) {
2089
- const controller = stream._writableStreamController;
2090
- stream._state = 'erroring';
2091
- stream._storedError = reason;
2092
- const writer = stream._writer;
2093
- if (writer !== undefined) {
2094
- WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, reason);
2095
- }
2096
- if (!WritableStreamHasOperationMarkedInFlight(stream) && controller._started) {
2097
- WritableStreamFinishErroring(stream);
2098
- }
2099
- }
2100
- function WritableStreamFinishErroring(stream) {
2101
- stream._state = 'errored';
2102
- stream._writableStreamController[ErrorSteps]();
2103
- const storedError = stream._storedError;
2104
- stream._writeRequests.forEach(writeRequest => {
2105
- writeRequest._reject(storedError);
2106
- });
2107
- stream._writeRequests = new SimpleQueue();
2108
- if (stream._pendingAbortRequest === undefined) {
2109
- WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);
2110
- return;
2111
- }
2112
- const abortRequest = stream._pendingAbortRequest;
2113
- stream._pendingAbortRequest = undefined;
2114
- if (abortRequest._wasAlreadyErroring) {
2115
- abortRequest._reject(storedError);
2116
- WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);
2117
- return;
2118
- }
2119
- const promise = stream._writableStreamController[AbortSteps](abortRequest._reason);
2120
- uponPromise(promise, () => {
2121
- abortRequest._resolve();
2122
- WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);
2123
- return null;
2124
- }, (reason) => {
2125
- abortRequest._reject(reason);
2126
- WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);
2127
- return null;
2128
- });
2129
- }
2130
- function WritableStreamFinishInFlightWrite(stream) {
2131
- stream._inFlightWriteRequest._resolve(undefined);
2132
- stream._inFlightWriteRequest = undefined;
2133
- }
2134
- function WritableStreamFinishInFlightWriteWithError(stream, error) {
2135
- stream._inFlightWriteRequest._reject(error);
2136
- stream._inFlightWriteRequest = undefined;
2137
- WritableStreamDealWithRejection(stream, error);
2138
- }
2139
- function WritableStreamFinishInFlightClose(stream) {
2140
- stream._inFlightCloseRequest._resolve(undefined);
2141
- stream._inFlightCloseRequest = undefined;
2142
- const state = stream._state;
2143
- if (state === 'erroring') {
2144
- // The error was too late to do anything, so it is ignored.
2145
- stream._storedError = undefined;
2146
- if (stream._pendingAbortRequest !== undefined) {
2147
- stream._pendingAbortRequest._resolve();
2148
- stream._pendingAbortRequest = undefined;
2149
- }
2150
- }
2151
- stream._state = 'closed';
2152
- const writer = stream._writer;
2153
- if (writer !== undefined) {
2154
- defaultWriterClosedPromiseResolve(writer);
2155
- }
2156
- }
2157
- function WritableStreamFinishInFlightCloseWithError(stream, error) {
2158
- stream._inFlightCloseRequest._reject(error);
2159
- stream._inFlightCloseRequest = undefined;
2160
- // Never execute sink abort() after sink close().
2161
- if (stream._pendingAbortRequest !== undefined) {
2162
- stream._pendingAbortRequest._reject(error);
2163
- stream._pendingAbortRequest = undefined;
2164
- }
2165
- WritableStreamDealWithRejection(stream, error);
2166
- }
2167
- // TODO(ricea): Fix alphabetical order.
2168
- function WritableStreamCloseQueuedOrInFlight(stream) {
2169
- if (stream._closeRequest === undefined && stream._inFlightCloseRequest === undefined) {
2170
- return false;
2171
- }
2172
- return true;
2173
- }
2174
- function WritableStreamHasOperationMarkedInFlight(stream) {
2175
- if (stream._inFlightWriteRequest === undefined && stream._inFlightCloseRequest === undefined) {
2176
- return false;
2177
- }
2178
- return true;
2179
- }
2180
- function WritableStreamMarkCloseRequestInFlight(stream) {
2181
- stream._inFlightCloseRequest = stream._closeRequest;
2182
- stream._closeRequest = undefined;
2183
- }
2184
- function WritableStreamMarkFirstWriteRequestInFlight(stream) {
2185
- stream._inFlightWriteRequest = stream._writeRequests.shift();
2186
- }
2187
- function WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream) {
2188
- if (stream._closeRequest !== undefined) {
2189
- stream._closeRequest._reject(stream._storedError);
2190
- stream._closeRequest = undefined;
2191
- }
2192
- const writer = stream._writer;
2193
- if (writer !== undefined) {
2194
- defaultWriterClosedPromiseReject(writer, stream._storedError);
2195
- }
2196
- }
2197
- function WritableStreamUpdateBackpressure(stream, backpressure) {
2198
- const writer = stream._writer;
2199
- if (writer !== undefined && backpressure !== stream._backpressure) {
2200
- if (backpressure) {
2201
- defaultWriterReadyPromiseReset(writer);
2202
- }
2203
- else {
2204
- defaultWriterReadyPromiseResolve(writer);
2205
- }
2206
- }
2207
- stream._backpressure = backpressure;
2208
- }
2209
- /**
2210
- * A default writer vended by a {@link WritableStream}.
2211
- *
2212
- * @public
2213
- */
2214
- class WritableStreamDefaultWriter {
2215
- constructor(stream) {
2216
- assertRequiredArgument(stream, 1, 'WritableStreamDefaultWriter');
2217
- assertWritableStream(stream, 'First parameter');
2218
- if (IsWritableStreamLocked(stream)) {
2219
- throw new TypeError('This stream has already been locked for exclusive writing by another writer');
2220
- }
2221
- this._ownerWritableStream = stream;
2222
- stream._writer = this;
2223
- const state = stream._state;
2224
- if (state === 'writable') {
2225
- if (!WritableStreamCloseQueuedOrInFlight(stream) && stream._backpressure) {
2226
- defaultWriterReadyPromiseInitialize(this);
2227
- }
2228
- else {
2229
- defaultWriterReadyPromiseInitializeAsResolved(this);
2230
- }
2231
- defaultWriterClosedPromiseInitialize(this);
2232
- }
2233
- else if (state === 'erroring') {
2234
- defaultWriterReadyPromiseInitializeAsRejected(this, stream._storedError);
2235
- defaultWriterClosedPromiseInitialize(this);
2236
- }
2237
- else if (state === 'closed') {
2238
- defaultWriterReadyPromiseInitializeAsResolved(this);
2239
- defaultWriterClosedPromiseInitializeAsResolved(this);
2240
- }
2241
- else {
2242
- const storedError = stream._storedError;
2243
- defaultWriterReadyPromiseInitializeAsRejected(this, storedError);
2244
- defaultWriterClosedPromiseInitializeAsRejected(this, storedError);
2245
- }
2246
- }
2247
- /**
2248
- * Returns a promise that will be fulfilled when the stream becomes closed, or rejected if the stream ever errors or
2249
- * the writer’s lock is released before the stream finishes closing.
2250
- */
2251
- get closed() {
2252
- if (!IsWritableStreamDefaultWriter(this)) {
2253
- return promiseRejectedWith(defaultWriterBrandCheckException('closed'));
2254
- }
2255
- return this._closedPromise;
2256
- }
2257
- /**
2258
- * Returns the desired size to fill the stream’s internal queue. It can be negative, if the queue is over-full.
2259
- * A producer can use this information to determine the right amount of data to write.
2260
- *
2261
- * It will be `null` if the stream cannot be successfully written to (due to either being errored, or having an abort
2262
- * queued up). It will return zero if the stream is closed. And the getter will throw an exception if invoked when
2263
- * the writer’s lock is released.
2264
- */
2265
- get desiredSize() {
2266
- if (!IsWritableStreamDefaultWriter(this)) {
2267
- throw defaultWriterBrandCheckException('desiredSize');
2268
- }
2269
- if (this._ownerWritableStream === undefined) {
2270
- throw defaultWriterLockException('desiredSize');
2271
- }
2272
- return WritableStreamDefaultWriterGetDesiredSize(this);
2273
- }
2274
- /**
2275
- * Returns a promise that will be fulfilled when the desired size to fill the stream’s internal queue transitions
2276
- * from non-positive to positive, signaling that it is no longer applying backpressure. Once the desired size dips
2277
- * back to zero or below, the getter will return a new promise that stays pending until the next transition.
2278
- *
2279
- * If the stream becomes errored or aborted, or the writer’s lock is released, the returned promise will become
2280
- * rejected.
2281
- */
2282
- get ready() {
2283
- if (!IsWritableStreamDefaultWriter(this)) {
2284
- return promiseRejectedWith(defaultWriterBrandCheckException('ready'));
2285
- }
2286
- return this._readyPromise;
2287
- }
2288
- /**
2289
- * If the reader is active, behaves the same as {@link WritableStream.abort | stream.abort(reason)}.
2290
- */
2291
- abort(reason = undefined) {
2292
- if (!IsWritableStreamDefaultWriter(this)) {
2293
- return promiseRejectedWith(defaultWriterBrandCheckException('abort'));
2294
- }
2295
- if (this._ownerWritableStream === undefined) {
2296
- return promiseRejectedWith(defaultWriterLockException('abort'));
2297
- }
2298
- return WritableStreamDefaultWriterAbort(this, reason);
2299
- }
2300
- /**
2301
- * If the reader is active, behaves the same as {@link WritableStream.close | stream.close()}.
2302
- */
2303
- close() {
2304
- if (!IsWritableStreamDefaultWriter(this)) {
2305
- return promiseRejectedWith(defaultWriterBrandCheckException('close'));
2306
- }
2307
- const stream = this._ownerWritableStream;
2308
- if (stream === undefined) {
2309
- return promiseRejectedWith(defaultWriterLockException('close'));
2310
- }
2311
- if (WritableStreamCloseQueuedOrInFlight(stream)) {
2312
- return promiseRejectedWith(new TypeError('Cannot close an already-closing stream'));
2313
- }
2314
- return WritableStreamDefaultWriterClose(this);
2315
- }
2316
- /**
2317
- * Releases the writer’s lock on the corresponding stream. After the lock is released, the writer is no longer active.
2318
- * If the associated stream is errored when the lock is released, the writer will appear errored in the same way from
2319
- * now on; otherwise, the writer will appear closed.
2320
- *
2321
- * Note that the lock can still be released even if some ongoing writes have not yet finished (i.e. even if the
2322
- * promises returned from previous calls to {@link WritableStreamDefaultWriter.write | write()} have not yet settled).
2323
- * It’s not necessary to hold the lock on the writer for the duration of the write; the lock instead simply prevents
2324
- * other producers from writing in an interleaved manner.
2325
- */
2326
- releaseLock() {
2327
- if (!IsWritableStreamDefaultWriter(this)) {
2328
- throw defaultWriterBrandCheckException('releaseLock');
2329
- }
2330
- const stream = this._ownerWritableStream;
2331
- if (stream === undefined) {
2332
- return;
2333
- }
2334
- WritableStreamDefaultWriterRelease(this);
2335
- }
2336
- write(chunk = undefined) {
2337
- if (!IsWritableStreamDefaultWriter(this)) {
2338
- return promiseRejectedWith(defaultWriterBrandCheckException('write'));
2339
- }
2340
- if (this._ownerWritableStream === undefined) {
2341
- return promiseRejectedWith(defaultWriterLockException('write to'));
2342
- }
2343
- return WritableStreamDefaultWriterWrite(this, chunk);
2344
- }
2345
- }
2346
- Object.defineProperties(WritableStreamDefaultWriter.prototype, {
2347
- abort: { enumerable: true },
2348
- close: { enumerable: true },
2349
- releaseLock: { enumerable: true },
2350
- write: { enumerable: true },
2351
- closed: { enumerable: true },
2352
- desiredSize: { enumerable: true },
2353
- ready: { enumerable: true }
2354
- });
2355
- setFunctionName(WritableStreamDefaultWriter.prototype.abort, 'abort');
2356
- setFunctionName(WritableStreamDefaultWriter.prototype.close, 'close');
2357
- setFunctionName(WritableStreamDefaultWriter.prototype.releaseLock, 'releaseLock');
2358
- setFunctionName(WritableStreamDefaultWriter.prototype.write, 'write');
2359
- if (typeof Symbol.toStringTag === 'symbol') {
2360
- Object.defineProperty(WritableStreamDefaultWriter.prototype, Symbol.toStringTag, {
2361
- value: 'WritableStreamDefaultWriter',
2362
- configurable: true
2363
- });
2364
- }
2365
- // Abstract operations for the WritableStreamDefaultWriter.
2366
- function IsWritableStreamDefaultWriter(x) {
2367
- if (!typeIsObject(x)) {
2368
- return false;
2369
- }
2370
- if (!Object.prototype.hasOwnProperty.call(x, '_ownerWritableStream')) {
2371
- return false;
2372
- }
2373
- return x instanceof WritableStreamDefaultWriter;
2374
- }
2375
- // A client of WritableStreamDefaultWriter may use these functions directly to bypass state check.
2376
- function WritableStreamDefaultWriterAbort(writer, reason) {
2377
- const stream = writer._ownerWritableStream;
2378
- return WritableStreamAbort(stream, reason);
2379
- }
2380
- function WritableStreamDefaultWriterClose(writer) {
2381
- const stream = writer._ownerWritableStream;
2382
- return WritableStreamClose(stream);
2383
- }
2384
- function WritableStreamDefaultWriterCloseWithErrorPropagation(writer) {
2385
- const stream = writer._ownerWritableStream;
2386
- const state = stream._state;
2387
- if (WritableStreamCloseQueuedOrInFlight(stream) || state === 'closed') {
2388
- return promiseResolvedWith(undefined);
2389
- }
2390
- if (state === 'errored') {
2391
- return promiseRejectedWith(stream._storedError);
2392
- }
2393
- return WritableStreamDefaultWriterClose(writer);
2394
- }
2395
- function WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer, error) {
2396
- if (writer._closedPromiseState === 'pending') {
2397
- defaultWriterClosedPromiseReject(writer, error);
2398
- }
2399
- else {
2400
- defaultWriterClosedPromiseResetToRejected(writer, error);
2401
- }
2402
- }
2403
- function WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, error) {
2404
- if (writer._readyPromiseState === 'pending') {
2405
- defaultWriterReadyPromiseReject(writer, error);
2406
- }
2407
- else {
2408
- defaultWriterReadyPromiseResetToRejected(writer, error);
2409
- }
2410
- }
2411
- function WritableStreamDefaultWriterGetDesiredSize(writer) {
2412
- const stream = writer._ownerWritableStream;
2413
- const state = stream._state;
2414
- if (state === 'errored' || state === 'erroring') {
2415
- return null;
2416
- }
2417
- if (state === 'closed') {
2418
- return 0;
2419
- }
2420
- return WritableStreamDefaultControllerGetDesiredSize(stream._writableStreamController);
2421
- }
2422
- function WritableStreamDefaultWriterRelease(writer) {
2423
- const stream = writer._ownerWritableStream;
2424
- const releasedError = new TypeError(`Writer was released and can no longer be used to monitor the stream's closedness`);
2425
- WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, releasedError);
2426
- // The state transitions to "errored" before the sink abort() method runs, but the writer.closed promise is not
2427
- // rejected until afterwards. This means that simply testing state will not work.
2428
- WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer, releasedError);
2429
- stream._writer = undefined;
2430
- writer._ownerWritableStream = undefined;
2431
- }
2432
- function WritableStreamDefaultWriterWrite(writer, chunk) {
2433
- const stream = writer._ownerWritableStream;
2434
- const controller = stream._writableStreamController;
2435
- const chunkSize = WritableStreamDefaultControllerGetChunkSize(controller, chunk);
2436
- if (stream !== writer._ownerWritableStream) {
2437
- return promiseRejectedWith(defaultWriterLockException('write to'));
2438
- }
2439
- const state = stream._state;
2440
- if (state === 'errored') {
2441
- return promiseRejectedWith(stream._storedError);
2442
- }
2443
- if (WritableStreamCloseQueuedOrInFlight(stream) || state === 'closed') {
2444
- return promiseRejectedWith(new TypeError('The stream is closing or closed and cannot be written to'));
2445
- }
2446
- if (state === 'erroring') {
2447
- return promiseRejectedWith(stream._storedError);
2448
- }
2449
- const promise = WritableStreamAddWriteRequest(stream);
2450
- WritableStreamDefaultControllerWrite(controller, chunk, chunkSize);
2451
- return promise;
2452
- }
2453
- const closeSentinel = {};
2454
- /**
2455
- * Allows control of a {@link WritableStream | writable stream}'s state and internal queue.
2456
- *
2457
- * @public
2458
- */
2459
- class WritableStreamDefaultController {
2460
- constructor() {
2461
- throw new TypeError('Illegal constructor');
2462
- }
2463
- /**
2464
- * The reason which was passed to `WritableStream.abort(reason)` when the stream was aborted.
2465
- *
2466
- * @deprecated
2467
- * This property has been removed from the specification, see https://github.com/whatwg/streams/pull/1177.
2468
- * Use {@link WritableStreamDefaultController.signal}'s `reason` instead.
2469
- */
2470
- get abortReason() {
2471
- if (!IsWritableStreamDefaultController(this)) {
2472
- throw defaultControllerBrandCheckException$2('abortReason');
2473
- }
2474
- return this._abortReason;
2475
- }
2476
- /**
2477
- * An `AbortSignal` that can be used to abort the pending write or close operation when the stream is aborted.
2478
- */
2479
- get signal() {
2480
- if (!IsWritableStreamDefaultController(this)) {
2481
- throw defaultControllerBrandCheckException$2('signal');
2482
- }
2483
- if (this._abortController === undefined) {
2484
- // Older browsers or older Node versions may not support `AbortController` or `AbortSignal`.
2485
- // We don't want to bundle and ship an `AbortController` polyfill together with our polyfill,
2486
- // so instead we only implement support for `signal` if we find a global `AbortController` constructor.
2487
- throw new TypeError('WritableStreamDefaultController.prototype.signal is not supported');
2488
- }
2489
- return this._abortController.signal;
2490
- }
2491
- /**
2492
- * Closes the controlled writable stream, making all future interactions with it fail with the given error `e`.
2493
- *
2494
- * This method is rarely used, since usually it suffices to return a rejected promise from one of the underlying
2495
- * sink's methods. However, it can be useful for suddenly shutting down a stream in response to an event outside the
2496
- * normal lifecycle of interactions with the underlying sink.
2497
- */
2498
- error(e = undefined) {
2499
- if (!IsWritableStreamDefaultController(this)) {
2500
- throw defaultControllerBrandCheckException$2('error');
2501
- }
2502
- const state = this._controlledWritableStream._state;
2503
- if (state !== 'writable') {
2504
- // The stream is closed, errored or will be soon. The sink can't do anything useful if it gets an error here, so
2505
- // just treat it as a no-op.
2506
- return;
2507
- }
2508
- WritableStreamDefaultControllerError(this, e);
2509
- }
2510
- /** @internal */
2511
- [AbortSteps](reason) {
2512
- const result = this._abortAlgorithm(reason);
2513
- WritableStreamDefaultControllerClearAlgorithms(this);
2514
- return result;
2515
- }
2516
- /** @internal */
2517
- [ErrorSteps]() {
2518
- ResetQueue(this);
2519
- }
2520
- }
2521
- Object.defineProperties(WritableStreamDefaultController.prototype, {
2522
- abortReason: { enumerable: true },
2523
- signal: { enumerable: true },
2524
- error: { enumerable: true }
2525
- });
2526
- if (typeof Symbol.toStringTag === 'symbol') {
2527
- Object.defineProperty(WritableStreamDefaultController.prototype, Symbol.toStringTag, {
2528
- value: 'WritableStreamDefaultController',
2529
- configurable: true
2530
- });
2531
- }
2532
- // Abstract operations implementing interface required by the WritableStream.
2533
- function IsWritableStreamDefaultController(x) {
2534
- if (!typeIsObject(x)) {
2535
- return false;
2536
- }
2537
- if (!Object.prototype.hasOwnProperty.call(x, '_controlledWritableStream')) {
2538
- return false;
2539
- }
2540
- return x instanceof WritableStreamDefaultController;
2541
- }
2542
- function SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm) {
2543
- controller._controlledWritableStream = stream;
2544
- stream._writableStreamController = controller;
2545
- // Need to set the slots so that the assert doesn't fire. In the spec the slots already exist implicitly.
2546
- controller._queue = undefined;
2547
- controller._queueTotalSize = undefined;
2548
- ResetQueue(controller);
2549
- controller._abortReason = undefined;
2550
- controller._abortController = createAbortController();
2551
- controller._started = false;
2552
- controller._strategySizeAlgorithm = sizeAlgorithm;
2553
- controller._strategyHWM = highWaterMark;
2554
- controller._writeAlgorithm = writeAlgorithm;
2555
- controller._closeAlgorithm = closeAlgorithm;
2556
- controller._abortAlgorithm = abortAlgorithm;
2557
- const backpressure = WritableStreamDefaultControllerGetBackpressure(controller);
2558
- WritableStreamUpdateBackpressure(stream, backpressure);
2559
- const startResult = startAlgorithm();
2560
- const startPromise = promiseResolvedWith(startResult);
2561
- uponPromise(startPromise, () => {
2562
- controller._started = true;
2563
- WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);
2564
- return null;
2565
- }, r => {
2566
- controller._started = true;
2567
- WritableStreamDealWithRejection(stream, r);
2568
- return null;
2569
- });
2570
- }
2571
- function SetUpWritableStreamDefaultControllerFromUnderlyingSink(stream, underlyingSink, highWaterMark, sizeAlgorithm) {
2572
- const controller = Object.create(WritableStreamDefaultController.prototype);
2573
- let startAlgorithm;
2574
- let writeAlgorithm;
2575
- let closeAlgorithm;
2576
- let abortAlgorithm;
2577
- if (underlyingSink.start !== undefined) {
2578
- startAlgorithm = () => underlyingSink.start(controller);
2579
- }
2580
- else {
2581
- startAlgorithm = () => undefined;
2582
- }
2583
- if (underlyingSink.write !== undefined) {
2584
- writeAlgorithm = chunk => underlyingSink.write(chunk, controller);
2585
- }
2586
- else {
2587
- writeAlgorithm = () => promiseResolvedWith(undefined);
2588
- }
2589
- if (underlyingSink.close !== undefined) {
2590
- closeAlgorithm = () => underlyingSink.close();
2591
- }
2592
- else {
2593
- closeAlgorithm = () => promiseResolvedWith(undefined);
2594
- }
2595
- if (underlyingSink.abort !== undefined) {
2596
- abortAlgorithm = reason => underlyingSink.abort(reason);
2597
- }
2598
- else {
2599
- abortAlgorithm = () => promiseResolvedWith(undefined);
2600
- }
2601
- SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm);
2602
- }
2603
- // ClearAlgorithms may be called twice. Erroring the same stream in multiple ways will often result in redundant calls.
2604
- function WritableStreamDefaultControllerClearAlgorithms(controller) {
2605
- controller._writeAlgorithm = undefined;
2606
- controller._closeAlgorithm = undefined;
2607
- controller._abortAlgorithm = undefined;
2608
- controller._strategySizeAlgorithm = undefined;
2609
- }
2610
- function WritableStreamDefaultControllerClose(controller) {
2611
- EnqueueValueWithSize(controller, closeSentinel, 0);
2612
- WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);
2613
- }
2614
- function WritableStreamDefaultControllerGetChunkSize(controller, chunk) {
2615
- try {
2616
- return controller._strategySizeAlgorithm(chunk);
2617
- }
2618
- catch (chunkSizeE) {
2619
- WritableStreamDefaultControllerErrorIfNeeded(controller, chunkSizeE);
2620
- return 1;
2621
- }
2622
- }
2623
- function WritableStreamDefaultControllerGetDesiredSize(controller) {
2624
- return controller._strategyHWM - controller._queueTotalSize;
2625
- }
2626
- function WritableStreamDefaultControllerWrite(controller, chunk, chunkSize) {
2627
- try {
2628
- EnqueueValueWithSize(controller, chunk, chunkSize);
2629
- }
2630
- catch (enqueueE) {
2631
- WritableStreamDefaultControllerErrorIfNeeded(controller, enqueueE);
2632
- return;
2633
- }
2634
- const stream = controller._controlledWritableStream;
2635
- if (!WritableStreamCloseQueuedOrInFlight(stream) && stream._state === 'writable') {
2636
- const backpressure = WritableStreamDefaultControllerGetBackpressure(controller);
2637
- WritableStreamUpdateBackpressure(stream, backpressure);
2638
- }
2639
- WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);
2640
- }
2641
- // Abstract operations for the WritableStreamDefaultController.
2642
- function WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller) {
2643
- const stream = controller._controlledWritableStream;
2644
- if (!controller._started) {
2645
- return;
2646
- }
2647
- if (stream._inFlightWriteRequest !== undefined) {
2648
- return;
2649
- }
2650
- const state = stream._state;
2651
- if (state === 'erroring') {
2652
- WritableStreamFinishErroring(stream);
2653
- return;
2654
- }
2655
- if (controller._queue.length === 0) {
2656
- return;
2657
- }
2658
- const value = PeekQueueValue(controller);
2659
- if (value === closeSentinel) {
2660
- WritableStreamDefaultControllerProcessClose(controller);
2661
- }
2662
- else {
2663
- WritableStreamDefaultControllerProcessWrite(controller, value);
2664
- }
2665
- }
2666
- function WritableStreamDefaultControllerErrorIfNeeded(controller, error) {
2667
- if (controller._controlledWritableStream._state === 'writable') {
2668
- WritableStreamDefaultControllerError(controller, error);
2669
- }
2670
- }
2671
- function WritableStreamDefaultControllerProcessClose(controller) {
2672
- const stream = controller._controlledWritableStream;
2673
- WritableStreamMarkCloseRequestInFlight(stream);
2674
- DequeueValue(controller);
2675
- const sinkClosePromise = controller._closeAlgorithm();
2676
- WritableStreamDefaultControllerClearAlgorithms(controller);
2677
- uponPromise(sinkClosePromise, () => {
2678
- WritableStreamFinishInFlightClose(stream);
2679
- return null;
2680
- }, reason => {
2681
- WritableStreamFinishInFlightCloseWithError(stream, reason);
2682
- return null;
2683
- });
2684
- }
2685
- function WritableStreamDefaultControllerProcessWrite(controller, chunk) {
2686
- const stream = controller._controlledWritableStream;
2687
- WritableStreamMarkFirstWriteRequestInFlight(stream);
2688
- const sinkWritePromise = controller._writeAlgorithm(chunk);
2689
- uponPromise(sinkWritePromise, () => {
2690
- WritableStreamFinishInFlightWrite(stream);
2691
- const state = stream._state;
2692
- DequeueValue(controller);
2693
- if (!WritableStreamCloseQueuedOrInFlight(stream) && state === 'writable') {
2694
- const backpressure = WritableStreamDefaultControllerGetBackpressure(controller);
2695
- WritableStreamUpdateBackpressure(stream, backpressure);
2696
- }
2697
- WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);
2698
- return null;
2699
- }, reason => {
2700
- if (stream._state === 'writable') {
2701
- WritableStreamDefaultControllerClearAlgorithms(controller);
2702
- }
2703
- WritableStreamFinishInFlightWriteWithError(stream, reason);
2704
- return null;
2705
- });
2706
- }
2707
- function WritableStreamDefaultControllerGetBackpressure(controller) {
2708
- const desiredSize = WritableStreamDefaultControllerGetDesiredSize(controller);
2709
- return desiredSize <= 0;
2710
- }
2711
- // A client of WritableStreamDefaultController may use these functions directly to bypass state check.
2712
- function WritableStreamDefaultControllerError(controller, error) {
2713
- const stream = controller._controlledWritableStream;
2714
- WritableStreamDefaultControllerClearAlgorithms(controller);
2715
- WritableStreamStartErroring(stream, error);
2716
- }
2717
- // Helper functions for the WritableStream.
2718
- function streamBrandCheckException$2(name) {
2719
- return new TypeError(`WritableStream.prototype.${name} can only be used on a WritableStream`);
2720
- }
2721
- // Helper functions for the WritableStreamDefaultController.
2722
- function defaultControllerBrandCheckException$2(name) {
2723
- return new TypeError(`WritableStreamDefaultController.prototype.${name} can only be used on a WritableStreamDefaultController`);
2724
- }
2725
- // Helper functions for the WritableStreamDefaultWriter.
2726
- function defaultWriterBrandCheckException(name) {
2727
- return new TypeError(`WritableStreamDefaultWriter.prototype.${name} can only be used on a WritableStreamDefaultWriter`);
2728
- }
2729
- function defaultWriterLockException(name) {
2730
- return new TypeError('Cannot ' + name + ' a stream using a released writer');
2731
- }
2732
- function defaultWriterClosedPromiseInitialize(writer) {
2733
- writer._closedPromise = newPromise((resolve, reject) => {
2734
- writer._closedPromise_resolve = resolve;
2735
- writer._closedPromise_reject = reject;
2736
- writer._closedPromiseState = 'pending';
2737
- });
2738
- }
2739
- function defaultWriterClosedPromiseInitializeAsRejected(writer, reason) {
2740
- defaultWriterClosedPromiseInitialize(writer);
2741
- defaultWriterClosedPromiseReject(writer, reason);
2742
- }
2743
- function defaultWriterClosedPromiseInitializeAsResolved(writer) {
2744
- defaultWriterClosedPromiseInitialize(writer);
2745
- defaultWriterClosedPromiseResolve(writer);
2746
- }
2747
- function defaultWriterClosedPromiseReject(writer, reason) {
2748
- if (writer._closedPromise_reject === undefined) {
2749
- return;
2750
- }
2751
- setPromiseIsHandledToTrue(writer._closedPromise);
2752
- writer._closedPromise_reject(reason);
2753
- writer._closedPromise_resolve = undefined;
2754
- writer._closedPromise_reject = undefined;
2755
- writer._closedPromiseState = 'rejected';
2756
- }
2757
- function defaultWriterClosedPromiseResetToRejected(writer, reason) {
2758
- defaultWriterClosedPromiseInitializeAsRejected(writer, reason);
2759
- }
2760
- function defaultWriterClosedPromiseResolve(writer) {
2761
- if (writer._closedPromise_resolve === undefined) {
2762
- return;
2763
- }
2764
- writer._closedPromise_resolve(undefined);
2765
- writer._closedPromise_resolve = undefined;
2766
- writer._closedPromise_reject = undefined;
2767
- writer._closedPromiseState = 'resolved';
2768
- }
2769
- function defaultWriterReadyPromiseInitialize(writer) {
2770
- writer._readyPromise = newPromise((resolve, reject) => {
2771
- writer._readyPromise_resolve = resolve;
2772
- writer._readyPromise_reject = reject;
2773
- });
2774
- writer._readyPromiseState = 'pending';
2775
- }
2776
- function defaultWriterReadyPromiseInitializeAsRejected(writer, reason) {
2777
- defaultWriterReadyPromiseInitialize(writer);
2778
- defaultWriterReadyPromiseReject(writer, reason);
2779
- }
2780
- function defaultWriterReadyPromiseInitializeAsResolved(writer) {
2781
- defaultWriterReadyPromiseInitialize(writer);
2782
- defaultWriterReadyPromiseResolve(writer);
2783
- }
2784
- function defaultWriterReadyPromiseReject(writer, reason) {
2785
- if (writer._readyPromise_reject === undefined) {
2786
- return;
2787
- }
2788
- setPromiseIsHandledToTrue(writer._readyPromise);
2789
- writer._readyPromise_reject(reason);
2790
- writer._readyPromise_resolve = undefined;
2791
- writer._readyPromise_reject = undefined;
2792
- writer._readyPromiseState = 'rejected';
2793
- }
2794
- function defaultWriterReadyPromiseReset(writer) {
2795
- defaultWriterReadyPromiseInitialize(writer);
2796
- }
2797
- function defaultWriterReadyPromiseResetToRejected(writer, reason) {
2798
- defaultWriterReadyPromiseInitializeAsRejected(writer, reason);
2799
- }
2800
- function defaultWriterReadyPromiseResolve(writer) {
2801
- if (writer._readyPromise_resolve === undefined) {
2802
- return;
2803
- }
2804
- writer._readyPromise_resolve(undefined);
2805
- writer._readyPromise_resolve = undefined;
2806
- writer._readyPromise_reject = undefined;
2807
- writer._readyPromiseState = 'fulfilled';
2808
- }
2809
-
2810
- /// <reference lib="dom" />
2811
- function getGlobals() {
2812
- if (typeof globalThis !== 'undefined') {
2813
- return globalThis;
2814
- }
2815
- else if (typeof self !== 'undefined') {
2816
- return self;
2817
- }
2818
- else if (typeof global !== 'undefined') {
2819
- return global;
2820
- }
2821
- return undefined;
2822
- }
2823
- const globals = getGlobals();
2824
-
2825
- /// <reference types="node" />
2826
- function isDOMExceptionConstructor(ctor) {
2827
- if (!(typeof ctor === 'function' || typeof ctor === 'object')) {
2828
- return false;
2829
- }
2830
- if (ctor.name !== 'DOMException') {
2831
- return false;
2832
- }
2833
- try {
2834
- new ctor();
2835
- return true;
2836
- }
2837
- catch (_a) {
2838
- return false;
2839
- }
2840
- }
2841
- /**
2842
- * Support:
2843
- * - Web browsers
2844
- * - Node 18 and higher (https://github.com/nodejs/node/commit/e4b1fb5e6422c1ff151234bb9de792d45dd88d87)
2845
- */
2846
- function getFromGlobal() {
2847
- const ctor = globals === null || globals === void 0 ? void 0 : globals.DOMException;
2848
- return isDOMExceptionConstructor(ctor) ? ctor : undefined;
2849
- }
2850
- /**
2851
- * Support:
2852
- * - All platforms
2853
- */
2854
- function createPolyfill() {
2855
- // eslint-disable-next-line @typescript-eslint/no-shadow
2856
- const ctor = function DOMException(message, name) {
2857
- this.message = message || '';
2858
- this.name = name || 'Error';
2859
- if (Error.captureStackTrace) {
2860
- Error.captureStackTrace(this, this.constructor);
2861
- }
2862
- };
2863
- setFunctionName(ctor, 'DOMException');
2864
- ctor.prototype = Object.create(Error.prototype);
2865
- Object.defineProperty(ctor.prototype, 'constructor', { value: ctor, writable: true, configurable: true });
2866
- return ctor;
2867
- }
2868
- // eslint-disable-next-line @typescript-eslint/no-redeclare
2869
- const DOMException = getFromGlobal() || createPolyfill();
2870
-
2871
- function ReadableStreamPipeTo(source, dest, preventClose, preventAbort, preventCancel, signal) {
2872
- const reader = AcquireReadableStreamDefaultReader(source);
2873
- const writer = AcquireWritableStreamDefaultWriter(dest);
2874
- source._disturbed = true;
2875
- let shuttingDown = false;
2876
- // This is used to keep track of the spec's requirement that we wait for ongoing writes during shutdown.
2877
- let currentWrite = promiseResolvedWith(undefined);
2878
- return newPromise((resolve, reject) => {
2879
- let abortAlgorithm;
2880
- if (signal !== undefined) {
2881
- abortAlgorithm = () => {
2882
- const error = signal.reason !== undefined ? signal.reason : new DOMException('Aborted', 'AbortError');
2883
- const actions = [];
2884
- if (!preventAbort) {
2885
- actions.push(() => {
2886
- if (dest._state === 'writable') {
2887
- return WritableStreamAbort(dest, error);
2888
- }
2889
- return promiseResolvedWith(undefined);
2890
- });
2891
- }
2892
- if (!preventCancel) {
2893
- actions.push(() => {
2894
- if (source._state === 'readable') {
2895
- return ReadableStreamCancel(source, error);
2896
- }
2897
- return promiseResolvedWith(undefined);
2898
- });
2899
- }
2900
- shutdownWithAction(() => Promise.all(actions.map(action => action())), true, error);
2901
- };
2902
- if (signal.aborted) {
2903
- abortAlgorithm();
2904
- return;
2905
- }
2906
- signal.addEventListener('abort', abortAlgorithm);
2907
- }
2908
- // Using reader and writer, read all chunks from this and write them to dest
2909
- // - Backpressure must be enforced
2910
- // - Shutdown must stop all activity
2911
- function pipeLoop() {
2912
- return newPromise((resolveLoop, rejectLoop) => {
2913
- function next(done) {
2914
- if (done) {
2915
- resolveLoop();
2916
- }
2917
- else {
2918
- // Use `PerformPromiseThen` instead of `uponPromise` to avoid
2919
- // adding unnecessary `.catch(rethrowAssertionErrorRejection)` handlers
2920
- PerformPromiseThen(pipeStep(), next, rejectLoop);
2921
- }
2922
- }
2923
- next(false);
2924
- });
2925
- }
2926
- function pipeStep() {
2927
- if (shuttingDown) {
2928
- return promiseResolvedWith(true);
2929
- }
2930
- return PerformPromiseThen(writer._readyPromise, () => {
2931
- return newPromise((resolveRead, rejectRead) => {
2932
- ReadableStreamDefaultReaderRead(reader, {
2933
- _chunkSteps: chunk => {
2934
- currentWrite = PerformPromiseThen(WritableStreamDefaultWriterWrite(writer, chunk), undefined, noop);
2935
- resolveRead(false);
2936
- },
2937
- _closeSteps: () => resolveRead(true),
2938
- _errorSteps: rejectRead
2939
- });
2940
- });
2941
- });
2942
- }
2943
- // Errors must be propagated forward
2944
- isOrBecomesErrored(source, reader._closedPromise, storedError => {
2945
- if (!preventAbort) {
2946
- shutdownWithAction(() => WritableStreamAbort(dest, storedError), true, storedError);
2947
- }
2948
- else {
2949
- shutdown(true, storedError);
2950
- }
2951
- return null;
2952
- });
2953
- // Errors must be propagated backward
2954
- isOrBecomesErrored(dest, writer._closedPromise, storedError => {
2955
- if (!preventCancel) {
2956
- shutdownWithAction(() => ReadableStreamCancel(source, storedError), true, storedError);
2957
- }
2958
- else {
2959
- shutdown(true, storedError);
2960
- }
2961
- return null;
2962
- });
2963
- // Closing must be propagated forward
2964
- isOrBecomesClosed(source, reader._closedPromise, () => {
2965
- if (!preventClose) {
2966
- shutdownWithAction(() => WritableStreamDefaultWriterCloseWithErrorPropagation(writer));
2967
- }
2968
- else {
2969
- shutdown();
2970
- }
2971
- return null;
2972
- });
2973
- // Closing must be propagated backward
2974
- if (WritableStreamCloseQueuedOrInFlight(dest) || dest._state === 'closed') {
2975
- const destClosed = new TypeError('the destination writable stream closed before all data could be piped to it');
2976
- if (!preventCancel) {
2977
- shutdownWithAction(() => ReadableStreamCancel(source, destClosed), true, destClosed);
2978
- }
2979
- else {
2980
- shutdown(true, destClosed);
2981
- }
2982
- }
2983
- setPromiseIsHandledToTrue(pipeLoop());
2984
- function waitForWritesToFinish() {
2985
- // Another write may have started while we were waiting on this currentWrite, so we have to be sure to wait
2986
- // for that too.
2987
- const oldCurrentWrite = currentWrite;
2988
- return PerformPromiseThen(currentWrite, () => oldCurrentWrite !== currentWrite ? waitForWritesToFinish() : undefined);
2989
- }
2990
- function isOrBecomesErrored(stream, promise, action) {
2991
- if (stream._state === 'errored') {
2992
- action(stream._storedError);
2993
- }
2994
- else {
2995
- uponRejection(promise, action);
2996
- }
2997
- }
2998
- function isOrBecomesClosed(stream, promise, action) {
2999
- if (stream._state === 'closed') {
3000
- action();
3001
- }
3002
- else {
3003
- uponFulfillment(promise, action);
3004
- }
3005
- }
3006
- function shutdownWithAction(action, originalIsError, originalError) {
3007
- if (shuttingDown) {
3008
- return;
3009
- }
3010
- shuttingDown = true;
3011
- if (dest._state === 'writable' && !WritableStreamCloseQueuedOrInFlight(dest)) {
3012
- uponFulfillment(waitForWritesToFinish(), doTheRest);
3013
- }
3014
- else {
3015
- doTheRest();
3016
- }
3017
- function doTheRest() {
3018
- uponPromise(action(), () => finalize(originalIsError, originalError), newError => finalize(true, newError));
3019
- return null;
3020
- }
3021
- }
3022
- function shutdown(isError, error) {
3023
- if (shuttingDown) {
3024
- return;
3025
- }
3026
- shuttingDown = true;
3027
- if (dest._state === 'writable' && !WritableStreamCloseQueuedOrInFlight(dest)) {
3028
- uponFulfillment(waitForWritesToFinish(), () => finalize(isError, error));
3029
- }
3030
- else {
3031
- finalize(isError, error);
3032
- }
3033
- }
3034
- function finalize(isError, error) {
3035
- WritableStreamDefaultWriterRelease(writer);
3036
- ReadableStreamReaderGenericRelease(reader);
3037
- if (signal !== undefined) {
3038
- signal.removeEventListener('abort', abortAlgorithm);
3039
- }
3040
- if (isError) {
3041
- reject(error);
3042
- }
3043
- else {
3044
- resolve(undefined);
3045
- }
3046
- return null;
3047
- }
3048
- });
3049
- }
3050
-
3051
- /**
3052
- * Allows control of a {@link ReadableStream | readable stream}'s state and internal queue.
3053
- *
3054
- * @public
3055
- */
3056
- class ReadableStreamDefaultController {
3057
- constructor() {
3058
- throw new TypeError('Illegal constructor');
3059
- }
3060
- /**
3061
- * Returns the desired size to fill the controlled stream's internal queue. It can be negative, if the queue is
3062
- * over-full. An underlying source ought to use this information to determine when and how to apply backpressure.
3063
- */
3064
- get desiredSize() {
3065
- if (!IsReadableStreamDefaultController(this)) {
3066
- throw defaultControllerBrandCheckException$1('desiredSize');
3067
- }
3068
- return ReadableStreamDefaultControllerGetDesiredSize(this);
3069
- }
3070
- /**
3071
- * Closes the controlled readable stream. Consumers will still be able to read any previously-enqueued chunks from
3072
- * the stream, but once those are read, the stream will become closed.
3073
- */
3074
- close() {
3075
- if (!IsReadableStreamDefaultController(this)) {
3076
- throw defaultControllerBrandCheckException$1('close');
3077
- }
3078
- if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(this)) {
3079
- throw new TypeError('The stream is not in a state that permits close');
3080
- }
3081
- ReadableStreamDefaultControllerClose(this);
3082
- }
3083
- enqueue(chunk = undefined) {
3084
- if (!IsReadableStreamDefaultController(this)) {
3085
- throw defaultControllerBrandCheckException$1('enqueue');
3086
- }
3087
- if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(this)) {
3088
- throw new TypeError('The stream is not in a state that permits enqueue');
3089
- }
3090
- return ReadableStreamDefaultControllerEnqueue(this, chunk);
3091
- }
3092
- /**
3093
- * Errors the controlled readable stream, making all future interactions with it fail with the given error `e`.
3094
- */
3095
- error(e = undefined) {
3096
- if (!IsReadableStreamDefaultController(this)) {
3097
- throw defaultControllerBrandCheckException$1('error');
3098
- }
3099
- ReadableStreamDefaultControllerError(this, e);
3100
- }
3101
- /** @internal */
3102
- [CancelSteps](reason) {
3103
- ResetQueue(this);
3104
- const result = this._cancelAlgorithm(reason);
3105
- ReadableStreamDefaultControllerClearAlgorithms(this);
3106
- return result;
3107
- }
3108
- /** @internal */
3109
- [PullSteps](readRequest) {
3110
- const stream = this._controlledReadableStream;
3111
- if (this._queue.length > 0) {
3112
- const chunk = DequeueValue(this);
3113
- if (this._closeRequested && this._queue.length === 0) {
3114
- ReadableStreamDefaultControllerClearAlgorithms(this);
3115
- ReadableStreamClose(stream);
3116
- }
3117
- else {
3118
- ReadableStreamDefaultControllerCallPullIfNeeded(this);
3119
- }
3120
- readRequest._chunkSteps(chunk);
3121
- }
3122
- else {
3123
- ReadableStreamAddReadRequest(stream, readRequest);
3124
- ReadableStreamDefaultControllerCallPullIfNeeded(this);
3125
- }
3126
- }
3127
- /** @internal */
3128
- [ReleaseSteps]() {
3129
- // Do nothing.
3130
- }
3131
- }
3132
- Object.defineProperties(ReadableStreamDefaultController.prototype, {
3133
- close: { enumerable: true },
3134
- enqueue: { enumerable: true },
3135
- error: { enumerable: true },
3136
- desiredSize: { enumerable: true }
3137
- });
3138
- setFunctionName(ReadableStreamDefaultController.prototype.close, 'close');
3139
- setFunctionName(ReadableStreamDefaultController.prototype.enqueue, 'enqueue');
3140
- setFunctionName(ReadableStreamDefaultController.prototype.error, 'error');
3141
- if (typeof Symbol.toStringTag === 'symbol') {
3142
- Object.defineProperty(ReadableStreamDefaultController.prototype, Symbol.toStringTag, {
3143
- value: 'ReadableStreamDefaultController',
3144
- configurable: true
3145
- });
3146
- }
3147
- // Abstract operations for the ReadableStreamDefaultController.
3148
- function IsReadableStreamDefaultController(x) {
3149
- if (!typeIsObject(x)) {
3150
- return false;
3151
- }
3152
- if (!Object.prototype.hasOwnProperty.call(x, '_controlledReadableStream')) {
3153
- return false;
3154
- }
3155
- return x instanceof ReadableStreamDefaultController;
3156
- }
3157
- function ReadableStreamDefaultControllerCallPullIfNeeded(controller) {
3158
- const shouldPull = ReadableStreamDefaultControllerShouldCallPull(controller);
3159
- if (!shouldPull) {
3160
- return;
3161
- }
3162
- if (controller._pulling) {
3163
- controller._pullAgain = true;
3164
- return;
3165
- }
3166
- controller._pulling = true;
3167
- const pullPromise = controller._pullAlgorithm();
3168
- uponPromise(pullPromise, () => {
3169
- controller._pulling = false;
3170
- if (controller._pullAgain) {
3171
- controller._pullAgain = false;
3172
- ReadableStreamDefaultControllerCallPullIfNeeded(controller);
3173
- }
3174
- return null;
3175
- }, e => {
3176
- ReadableStreamDefaultControllerError(controller, e);
3177
- return null;
3178
- });
3179
- }
3180
- function ReadableStreamDefaultControllerShouldCallPull(controller) {
3181
- const stream = controller._controlledReadableStream;
3182
- if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) {
3183
- return false;
3184
- }
3185
- if (!controller._started) {
3186
- return false;
3187
- }
3188
- if (IsReadableStreamLocked(stream) && ReadableStreamGetNumReadRequests(stream) > 0) {
3189
- return true;
3190
- }
3191
- const desiredSize = ReadableStreamDefaultControllerGetDesiredSize(controller);
3192
- if (desiredSize > 0) {
3193
- return true;
3194
- }
3195
- return false;
3196
- }
3197
- function ReadableStreamDefaultControllerClearAlgorithms(controller) {
3198
- controller._pullAlgorithm = undefined;
3199
- controller._cancelAlgorithm = undefined;
3200
- controller._strategySizeAlgorithm = undefined;
3201
- }
3202
- // A client of ReadableStreamDefaultController may use these functions directly to bypass state check.
3203
- function ReadableStreamDefaultControllerClose(controller) {
3204
- if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) {
3205
- return;
3206
- }
3207
- const stream = controller._controlledReadableStream;
3208
- controller._closeRequested = true;
3209
- if (controller._queue.length === 0) {
3210
- ReadableStreamDefaultControllerClearAlgorithms(controller);
3211
- ReadableStreamClose(stream);
3212
- }
3213
- }
3214
- function ReadableStreamDefaultControllerEnqueue(controller, chunk) {
3215
- if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) {
3216
- return;
3217
- }
3218
- const stream = controller._controlledReadableStream;
3219
- if (IsReadableStreamLocked(stream) && ReadableStreamGetNumReadRequests(stream) > 0) {
3220
- ReadableStreamFulfillReadRequest(stream, chunk, false);
3221
- }
3222
- else {
3223
- let chunkSize;
3224
- try {
3225
- chunkSize = controller._strategySizeAlgorithm(chunk);
3226
- }
3227
- catch (chunkSizeE) {
3228
- ReadableStreamDefaultControllerError(controller, chunkSizeE);
3229
- throw chunkSizeE;
3230
- }
3231
- try {
3232
- EnqueueValueWithSize(controller, chunk, chunkSize);
3233
- }
3234
- catch (enqueueE) {
3235
- ReadableStreamDefaultControllerError(controller, enqueueE);
3236
- throw enqueueE;
3237
- }
3238
- }
3239
- ReadableStreamDefaultControllerCallPullIfNeeded(controller);
3240
- }
3241
- function ReadableStreamDefaultControllerError(controller, e) {
3242
- const stream = controller._controlledReadableStream;
3243
- if (stream._state !== 'readable') {
3244
- return;
3245
- }
3246
- ResetQueue(controller);
3247
- ReadableStreamDefaultControllerClearAlgorithms(controller);
3248
- ReadableStreamError(stream, e);
3249
- }
3250
- function ReadableStreamDefaultControllerGetDesiredSize(controller) {
3251
- const state = controller._controlledReadableStream._state;
3252
- if (state === 'errored') {
3253
- return null;
3254
- }
3255
- if (state === 'closed') {
3256
- return 0;
3257
- }
3258
- return controller._strategyHWM - controller._queueTotalSize;
3259
- }
3260
- // This is used in the implementation of TransformStream.
3261
- function ReadableStreamDefaultControllerHasBackpressure(controller) {
3262
- if (ReadableStreamDefaultControllerShouldCallPull(controller)) {
3263
- return false;
3264
- }
3265
- return true;
3266
- }
3267
- function ReadableStreamDefaultControllerCanCloseOrEnqueue(controller) {
3268
- const state = controller._controlledReadableStream._state;
3269
- if (!controller._closeRequested && state === 'readable') {
3270
- return true;
3271
- }
3272
- return false;
3273
- }
3274
- function SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm) {
3275
- controller._controlledReadableStream = stream;
3276
- controller._queue = undefined;
3277
- controller._queueTotalSize = undefined;
3278
- ResetQueue(controller);
3279
- controller._started = false;
3280
- controller._closeRequested = false;
3281
- controller._pullAgain = false;
3282
- controller._pulling = false;
3283
- controller._strategySizeAlgorithm = sizeAlgorithm;
3284
- controller._strategyHWM = highWaterMark;
3285
- controller._pullAlgorithm = pullAlgorithm;
3286
- controller._cancelAlgorithm = cancelAlgorithm;
3287
- stream._readableStreamController = controller;
3288
- const startResult = startAlgorithm();
3289
- uponPromise(promiseResolvedWith(startResult), () => {
3290
- controller._started = true;
3291
- ReadableStreamDefaultControllerCallPullIfNeeded(controller);
3292
- return null;
3293
- }, r => {
3294
- ReadableStreamDefaultControllerError(controller, r);
3295
- return null;
3296
- });
3297
- }
3298
- function SetUpReadableStreamDefaultControllerFromUnderlyingSource(stream, underlyingSource, highWaterMark, sizeAlgorithm) {
3299
- const controller = Object.create(ReadableStreamDefaultController.prototype);
3300
- let startAlgorithm;
3301
- let pullAlgorithm;
3302
- let cancelAlgorithm;
3303
- if (underlyingSource.start !== undefined) {
3304
- startAlgorithm = () => underlyingSource.start(controller);
3305
- }
3306
- else {
3307
- startAlgorithm = () => undefined;
3308
- }
3309
- if (underlyingSource.pull !== undefined) {
3310
- pullAlgorithm = () => underlyingSource.pull(controller);
3311
- }
3312
- else {
3313
- pullAlgorithm = () => promiseResolvedWith(undefined);
3314
- }
3315
- if (underlyingSource.cancel !== undefined) {
3316
- cancelAlgorithm = reason => underlyingSource.cancel(reason);
3317
- }
3318
- else {
3319
- cancelAlgorithm = () => promiseResolvedWith(undefined);
3320
- }
3321
- SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm);
3322
- }
3323
- // Helper functions for the ReadableStreamDefaultController.
3324
- function defaultControllerBrandCheckException$1(name) {
3325
- return new TypeError(`ReadableStreamDefaultController.prototype.${name} can only be used on a ReadableStreamDefaultController`);
3326
- }
3327
-
3328
- function ReadableStreamTee(stream, cloneForBranch2) {
3329
- if (IsReadableByteStreamController(stream._readableStreamController)) {
3330
- return ReadableByteStreamTee(stream);
3331
- }
3332
- return ReadableStreamDefaultTee(stream);
3333
- }
3334
- function ReadableStreamDefaultTee(stream, cloneForBranch2) {
3335
- const reader = AcquireReadableStreamDefaultReader(stream);
3336
- let reading = false;
3337
- let readAgain = false;
3338
- let canceled1 = false;
3339
- let canceled2 = false;
3340
- let reason1;
3341
- let reason2;
3342
- let branch1;
3343
- let branch2;
3344
- let resolveCancelPromise;
3345
- const cancelPromise = newPromise(resolve => {
3346
- resolveCancelPromise = resolve;
3347
- });
3348
- function pullAlgorithm() {
3349
- if (reading) {
3350
- readAgain = true;
3351
- return promiseResolvedWith(undefined);
3352
- }
3353
- reading = true;
3354
- const readRequest = {
3355
- _chunkSteps: chunk => {
3356
- // This needs to be delayed a microtask because it takes at least a microtask to detect errors (using
3357
- // reader._closedPromise below), and we want errors in stream to error both branches immediately. We cannot let
3358
- // successful synchronously-available reads get ahead of asynchronously-available errors.
3359
- _queueMicrotask(() => {
3360
- readAgain = false;
3361
- const chunk1 = chunk;
3362
- const chunk2 = chunk;
3363
- // There is no way to access the cloning code right now in the reference implementation.
3364
- // If we add one then we'll need an implementation for serializable objects.
3365
- // if (!canceled2 && cloneForBranch2) {
3366
- // chunk2 = StructuredDeserialize(StructuredSerialize(chunk2));
3367
- // }
3368
- if (!canceled1) {
3369
- ReadableStreamDefaultControllerEnqueue(branch1._readableStreamController, chunk1);
3370
- }
3371
- if (!canceled2) {
3372
- ReadableStreamDefaultControllerEnqueue(branch2._readableStreamController, chunk2);
3373
- }
3374
- reading = false;
3375
- if (readAgain) {
3376
- pullAlgorithm();
3377
- }
3378
- });
3379
- },
3380
- _closeSteps: () => {
3381
- reading = false;
3382
- if (!canceled1) {
3383
- ReadableStreamDefaultControllerClose(branch1._readableStreamController);
3384
- }
3385
- if (!canceled2) {
3386
- ReadableStreamDefaultControllerClose(branch2._readableStreamController);
3387
- }
3388
- if (!canceled1 || !canceled2) {
3389
- resolveCancelPromise(undefined);
3390
- }
3391
- },
3392
- _errorSteps: () => {
3393
- reading = false;
3394
- }
3395
- };
3396
- ReadableStreamDefaultReaderRead(reader, readRequest);
3397
- return promiseResolvedWith(undefined);
3398
- }
3399
- function cancel1Algorithm(reason) {
3400
- canceled1 = true;
3401
- reason1 = reason;
3402
- if (canceled2) {
3403
- const compositeReason = CreateArrayFromList([reason1, reason2]);
3404
- const cancelResult = ReadableStreamCancel(stream, compositeReason);
3405
- resolveCancelPromise(cancelResult);
3406
- }
3407
- return cancelPromise;
3408
- }
3409
- function cancel2Algorithm(reason) {
3410
- canceled2 = true;
3411
- reason2 = reason;
3412
- if (canceled1) {
3413
- const compositeReason = CreateArrayFromList([reason1, reason2]);
3414
- const cancelResult = ReadableStreamCancel(stream, compositeReason);
3415
- resolveCancelPromise(cancelResult);
3416
- }
3417
- return cancelPromise;
3418
- }
3419
- function startAlgorithm() {
3420
- // do nothing
3421
- }
3422
- branch1 = CreateReadableStream(startAlgorithm, pullAlgorithm, cancel1Algorithm);
3423
- branch2 = CreateReadableStream(startAlgorithm, pullAlgorithm, cancel2Algorithm);
3424
- uponRejection(reader._closedPromise, (r) => {
3425
- ReadableStreamDefaultControllerError(branch1._readableStreamController, r);
3426
- ReadableStreamDefaultControllerError(branch2._readableStreamController, r);
3427
- if (!canceled1 || !canceled2) {
3428
- resolveCancelPromise(undefined);
3429
- }
3430
- return null;
3431
- });
3432
- return [branch1, branch2];
3433
- }
3434
- function ReadableByteStreamTee(stream) {
3435
- let reader = AcquireReadableStreamDefaultReader(stream);
3436
- let reading = false;
3437
- let readAgainForBranch1 = false;
3438
- let readAgainForBranch2 = false;
3439
- let canceled1 = false;
3440
- let canceled2 = false;
3441
- let reason1;
3442
- let reason2;
3443
- let branch1;
3444
- let branch2;
3445
- let resolveCancelPromise;
3446
- const cancelPromise = newPromise(resolve => {
3447
- resolveCancelPromise = resolve;
3448
- });
3449
- function forwardReaderError(thisReader) {
3450
- uponRejection(thisReader._closedPromise, r => {
3451
- if (thisReader !== reader) {
3452
- return null;
3453
- }
3454
- ReadableByteStreamControllerError(branch1._readableStreamController, r);
3455
- ReadableByteStreamControllerError(branch2._readableStreamController, r);
3456
- if (!canceled1 || !canceled2) {
3457
- resolveCancelPromise(undefined);
3458
- }
3459
- return null;
3460
- });
3461
- }
3462
- function pullWithDefaultReader() {
3463
- if (IsReadableStreamBYOBReader(reader)) {
3464
- ReadableStreamReaderGenericRelease(reader);
3465
- reader = AcquireReadableStreamDefaultReader(stream);
3466
- forwardReaderError(reader);
3467
- }
3468
- const readRequest = {
3469
- _chunkSteps: chunk => {
3470
- // This needs to be delayed a microtask because it takes at least a microtask to detect errors (using
3471
- // reader._closedPromise below), and we want errors in stream to error both branches immediately. We cannot let
3472
- // successful synchronously-available reads get ahead of asynchronously-available errors.
3473
- _queueMicrotask(() => {
3474
- readAgainForBranch1 = false;
3475
- readAgainForBranch2 = false;
3476
- const chunk1 = chunk;
3477
- let chunk2 = chunk;
3478
- if (!canceled1 && !canceled2) {
3479
- try {
3480
- chunk2 = CloneAsUint8Array(chunk);
3481
- }
3482
- catch (cloneE) {
3483
- ReadableByteStreamControllerError(branch1._readableStreamController, cloneE);
3484
- ReadableByteStreamControllerError(branch2._readableStreamController, cloneE);
3485
- resolveCancelPromise(ReadableStreamCancel(stream, cloneE));
3486
- return;
3487
- }
3488
- }
3489
- if (!canceled1) {
3490
- ReadableByteStreamControllerEnqueue(branch1._readableStreamController, chunk1);
3491
- }
3492
- if (!canceled2) {
3493
- ReadableByteStreamControllerEnqueue(branch2._readableStreamController, chunk2);
3494
- }
3495
- reading = false;
3496
- if (readAgainForBranch1) {
3497
- pull1Algorithm();
3498
- }
3499
- else if (readAgainForBranch2) {
3500
- pull2Algorithm();
3501
- }
3502
- });
3503
- },
3504
- _closeSteps: () => {
3505
- reading = false;
3506
- if (!canceled1) {
3507
- ReadableByteStreamControllerClose(branch1._readableStreamController);
3508
- }
3509
- if (!canceled2) {
3510
- ReadableByteStreamControllerClose(branch2._readableStreamController);
3511
- }
3512
- if (branch1._readableStreamController._pendingPullIntos.length > 0) {
3513
- ReadableByteStreamControllerRespond(branch1._readableStreamController, 0);
3514
- }
3515
- if (branch2._readableStreamController._pendingPullIntos.length > 0) {
3516
- ReadableByteStreamControllerRespond(branch2._readableStreamController, 0);
3517
- }
3518
- if (!canceled1 || !canceled2) {
3519
- resolveCancelPromise(undefined);
3520
- }
3521
- },
3522
- _errorSteps: () => {
3523
- reading = false;
3524
- }
3525
- };
3526
- ReadableStreamDefaultReaderRead(reader, readRequest);
3527
- }
3528
- function pullWithBYOBReader(view, forBranch2) {
3529
- if (IsReadableStreamDefaultReader(reader)) {
3530
- ReadableStreamReaderGenericRelease(reader);
3531
- reader = AcquireReadableStreamBYOBReader(stream);
3532
- forwardReaderError(reader);
3533
- }
3534
- const byobBranch = forBranch2 ? branch2 : branch1;
3535
- const otherBranch = forBranch2 ? branch1 : branch2;
3536
- const readIntoRequest = {
3537
- _chunkSteps: chunk => {
3538
- // This needs to be delayed a microtask because it takes at least a microtask to detect errors (using
3539
- // reader._closedPromise below), and we want errors in stream to error both branches immediately. We cannot let
3540
- // successful synchronously-available reads get ahead of asynchronously-available errors.
3541
- _queueMicrotask(() => {
3542
- readAgainForBranch1 = false;
3543
- readAgainForBranch2 = false;
3544
- const byobCanceled = forBranch2 ? canceled2 : canceled1;
3545
- const otherCanceled = forBranch2 ? canceled1 : canceled2;
3546
- if (!otherCanceled) {
3547
- let clonedChunk;
3548
- try {
3549
- clonedChunk = CloneAsUint8Array(chunk);
3550
- }
3551
- catch (cloneE) {
3552
- ReadableByteStreamControllerError(byobBranch._readableStreamController, cloneE);
3553
- ReadableByteStreamControllerError(otherBranch._readableStreamController, cloneE);
3554
- resolveCancelPromise(ReadableStreamCancel(stream, cloneE));
3555
- return;
3556
- }
3557
- if (!byobCanceled) {
3558
- ReadableByteStreamControllerRespondWithNewView(byobBranch._readableStreamController, chunk);
3559
- }
3560
- ReadableByteStreamControllerEnqueue(otherBranch._readableStreamController, clonedChunk);
3561
- }
3562
- else if (!byobCanceled) {
3563
- ReadableByteStreamControllerRespondWithNewView(byobBranch._readableStreamController, chunk);
3564
- }
3565
- reading = false;
3566
- if (readAgainForBranch1) {
3567
- pull1Algorithm();
3568
- }
3569
- else if (readAgainForBranch2) {
3570
- pull2Algorithm();
3571
- }
3572
- });
3573
- },
3574
- _closeSteps: chunk => {
3575
- reading = false;
3576
- const byobCanceled = forBranch2 ? canceled2 : canceled1;
3577
- const otherCanceled = forBranch2 ? canceled1 : canceled2;
3578
- if (!byobCanceled) {
3579
- ReadableByteStreamControllerClose(byobBranch._readableStreamController);
3580
- }
3581
- if (!otherCanceled) {
3582
- ReadableByteStreamControllerClose(otherBranch._readableStreamController);
3583
- }
3584
- if (chunk !== undefined) {
3585
- if (!byobCanceled) {
3586
- ReadableByteStreamControllerRespondWithNewView(byobBranch._readableStreamController, chunk);
3587
- }
3588
- if (!otherCanceled && otherBranch._readableStreamController._pendingPullIntos.length > 0) {
3589
- ReadableByteStreamControllerRespond(otherBranch._readableStreamController, 0);
3590
- }
3591
- }
3592
- if (!byobCanceled || !otherCanceled) {
3593
- resolveCancelPromise(undefined);
3594
- }
3595
- },
3596
- _errorSteps: () => {
3597
- reading = false;
3598
- }
3599
- };
3600
- ReadableStreamBYOBReaderRead(reader, view, 1, readIntoRequest);
3601
- }
3602
- function pull1Algorithm() {
3603
- if (reading) {
3604
- readAgainForBranch1 = true;
3605
- return promiseResolvedWith(undefined);
3606
- }
3607
- reading = true;
3608
- const byobRequest = ReadableByteStreamControllerGetBYOBRequest(branch1._readableStreamController);
3609
- if (byobRequest === null) {
3610
- pullWithDefaultReader();
3611
- }
3612
- else {
3613
- pullWithBYOBReader(byobRequest._view, false);
3614
- }
3615
- return promiseResolvedWith(undefined);
3616
- }
3617
- function pull2Algorithm() {
3618
- if (reading) {
3619
- readAgainForBranch2 = true;
3620
- return promiseResolvedWith(undefined);
3621
- }
3622
- reading = true;
3623
- const byobRequest = ReadableByteStreamControllerGetBYOBRequest(branch2._readableStreamController);
3624
- if (byobRequest === null) {
3625
- pullWithDefaultReader();
3626
- }
3627
- else {
3628
- pullWithBYOBReader(byobRequest._view, true);
3629
- }
3630
- return promiseResolvedWith(undefined);
3631
- }
3632
- function cancel1Algorithm(reason) {
3633
- canceled1 = true;
3634
- reason1 = reason;
3635
- if (canceled2) {
3636
- const compositeReason = CreateArrayFromList([reason1, reason2]);
3637
- const cancelResult = ReadableStreamCancel(stream, compositeReason);
3638
- resolveCancelPromise(cancelResult);
3639
- }
3640
- return cancelPromise;
3641
- }
3642
- function cancel2Algorithm(reason) {
3643
- canceled2 = true;
3644
- reason2 = reason;
3645
- if (canceled1) {
3646
- const compositeReason = CreateArrayFromList([reason1, reason2]);
3647
- const cancelResult = ReadableStreamCancel(stream, compositeReason);
3648
- resolveCancelPromise(cancelResult);
3649
- }
3650
- return cancelPromise;
3651
- }
3652
- function startAlgorithm() {
3653
- return;
3654
- }
3655
- branch1 = CreateReadableByteStream(startAlgorithm, pull1Algorithm, cancel1Algorithm);
3656
- branch2 = CreateReadableByteStream(startAlgorithm, pull2Algorithm, cancel2Algorithm);
3657
- forwardReaderError(reader);
3658
- return [branch1, branch2];
3659
- }
3660
-
3661
- function isReadableStreamLike(stream) {
3662
- return typeIsObject(stream) && typeof stream.getReader !== 'undefined';
3663
- }
3664
-
3665
- function ReadableStreamFrom(source) {
3666
- if (isReadableStreamLike(source)) {
3667
- return ReadableStreamFromDefaultReader(source.getReader());
3668
- }
3669
- return ReadableStreamFromIterable(source);
3670
- }
3671
- function ReadableStreamFromIterable(asyncIterable) {
3672
- let stream;
3673
- const iteratorRecord = GetIterator(asyncIterable, 'async');
3674
- const startAlgorithm = noop;
3675
- function pullAlgorithm() {
3676
- let nextResult;
3677
- try {
3678
- nextResult = IteratorNext(iteratorRecord);
3679
- }
3680
- catch (e) {
3681
- return promiseRejectedWith(e);
3682
- }
3683
- const nextPromise = promiseResolvedWith(nextResult);
3684
- return transformPromiseWith(nextPromise, iterResult => {
3685
- if (!typeIsObject(iterResult)) {
3686
- throw new TypeError('The promise returned by the iterator.next() method must fulfill with an object');
3687
- }
3688
- const done = IteratorComplete(iterResult);
3689
- if (done) {
3690
- ReadableStreamDefaultControllerClose(stream._readableStreamController);
3691
- }
3692
- else {
3693
- const value = IteratorValue(iterResult);
3694
- ReadableStreamDefaultControllerEnqueue(stream._readableStreamController, value);
3695
- }
3696
- });
3697
- }
3698
- function cancelAlgorithm(reason) {
3699
- const iterator = iteratorRecord.iterator;
3700
- let returnMethod;
3701
- try {
3702
- returnMethod = GetMethod(iterator, 'return');
3703
- }
3704
- catch (e) {
3705
- return promiseRejectedWith(e);
3706
- }
3707
- if (returnMethod === undefined) {
3708
- return promiseResolvedWith(undefined);
3709
- }
3710
- let returnResult;
3711
- try {
3712
- returnResult = reflectCall(returnMethod, iterator, [reason]);
3713
- }
3714
- catch (e) {
3715
- return promiseRejectedWith(e);
3716
- }
3717
- const returnPromise = promiseResolvedWith(returnResult);
3718
- return transformPromiseWith(returnPromise, iterResult => {
3719
- if (!typeIsObject(iterResult)) {
3720
- throw new TypeError('The promise returned by the iterator.return() method must fulfill with an object');
3721
- }
3722
- return undefined;
3723
- });
3724
- }
3725
- stream = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, 0);
3726
- return stream;
3727
- }
3728
- function ReadableStreamFromDefaultReader(reader) {
3729
- let stream;
3730
- const startAlgorithm = noop;
3731
- function pullAlgorithm() {
3732
- let readPromise;
3733
- try {
3734
- readPromise = reader.read();
3735
- }
3736
- catch (e) {
3737
- return promiseRejectedWith(e);
3738
- }
3739
- return transformPromiseWith(readPromise, readResult => {
3740
- if (!typeIsObject(readResult)) {
3741
- throw new TypeError('The promise returned by the reader.read() method must fulfill with an object');
3742
- }
3743
- if (readResult.done) {
3744
- ReadableStreamDefaultControllerClose(stream._readableStreamController);
3745
- }
3746
- else {
3747
- const value = readResult.value;
3748
- ReadableStreamDefaultControllerEnqueue(stream._readableStreamController, value);
3749
- }
3750
- });
3751
- }
3752
- function cancelAlgorithm(reason) {
3753
- try {
3754
- return promiseResolvedWith(reader.cancel(reason));
3755
- }
3756
- catch (e) {
3757
- return promiseRejectedWith(e);
3758
- }
3759
- }
3760
- stream = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, 0);
3761
- return stream;
3762
- }
3763
-
3764
- function convertUnderlyingDefaultOrByteSource(source, context) {
3765
- assertDictionary(source, context);
3766
- const original = source;
3767
- const autoAllocateChunkSize = original === null || original === void 0 ? void 0 : original.autoAllocateChunkSize;
3768
- const cancel = original === null || original === void 0 ? void 0 : original.cancel;
3769
- const pull = original === null || original === void 0 ? void 0 : original.pull;
3770
- const start = original === null || original === void 0 ? void 0 : original.start;
3771
- const type = original === null || original === void 0 ? void 0 : original.type;
3772
- return {
3773
- autoAllocateChunkSize: autoAllocateChunkSize === undefined ?
3774
- undefined :
3775
- convertUnsignedLongLongWithEnforceRange(autoAllocateChunkSize, `${context} has member 'autoAllocateChunkSize' that`),
3776
- cancel: cancel === undefined ?
3777
- undefined :
3778
- convertUnderlyingSourceCancelCallback(cancel, original, `${context} has member 'cancel' that`),
3779
- pull: pull === undefined ?
3780
- undefined :
3781
- convertUnderlyingSourcePullCallback(pull, original, `${context} has member 'pull' that`),
3782
- start: start === undefined ?
3783
- undefined :
3784
- convertUnderlyingSourceStartCallback(start, original, `${context} has member 'start' that`),
3785
- type: type === undefined ? undefined : convertReadableStreamType(type, `${context} has member 'type' that`)
3786
- };
3787
- }
3788
- function convertUnderlyingSourceCancelCallback(fn, original, context) {
3789
- assertFunction(fn, context);
3790
- return (reason) => promiseCall(fn, original, [reason]);
3791
- }
3792
- function convertUnderlyingSourcePullCallback(fn, original, context) {
3793
- assertFunction(fn, context);
3794
- return (controller) => promiseCall(fn, original, [controller]);
3795
- }
3796
- function convertUnderlyingSourceStartCallback(fn, original, context) {
3797
- assertFunction(fn, context);
3798
- return (controller) => reflectCall(fn, original, [controller]);
3799
- }
3800
- function convertReadableStreamType(type, context) {
3801
- type = `${type}`;
3802
- if (type !== 'bytes') {
3803
- throw new TypeError(`${context} '${type}' is not a valid enumeration value for ReadableStreamType`);
3804
- }
3805
- return type;
3806
- }
3807
-
3808
- function convertIteratorOptions(options, context) {
3809
- assertDictionary(options, context);
3810
- const preventCancel = options === null || options === void 0 ? void 0 : options.preventCancel;
3811
- return { preventCancel: Boolean(preventCancel) };
3812
- }
3813
-
3814
- function convertPipeOptions(options, context) {
3815
- assertDictionary(options, context);
3816
- const preventAbort = options === null || options === void 0 ? void 0 : options.preventAbort;
3817
- const preventCancel = options === null || options === void 0 ? void 0 : options.preventCancel;
3818
- const preventClose = options === null || options === void 0 ? void 0 : options.preventClose;
3819
- const signal = options === null || options === void 0 ? void 0 : options.signal;
3820
- if (signal !== undefined) {
3821
- assertAbortSignal(signal, `${context} has member 'signal' that`);
3822
- }
3823
- return {
3824
- preventAbort: Boolean(preventAbort),
3825
- preventCancel: Boolean(preventCancel),
3826
- preventClose: Boolean(preventClose),
3827
- signal
3828
- };
3829
- }
3830
- function assertAbortSignal(signal, context) {
3831
- if (!isAbortSignal(signal)) {
3832
- throw new TypeError(`${context} is not an AbortSignal.`);
3833
- }
3834
- }
3835
-
3836
- function convertReadableWritablePair(pair, context) {
3837
- assertDictionary(pair, context);
3838
- const readable = pair === null || pair === void 0 ? void 0 : pair.readable;
3839
- assertRequiredField(readable, 'readable', 'ReadableWritablePair');
3840
- assertReadableStream(readable, `${context} has member 'readable' that`);
3841
- const writable = pair === null || pair === void 0 ? void 0 : pair.writable;
3842
- assertRequiredField(writable, 'writable', 'ReadableWritablePair');
3843
- assertWritableStream(writable, `${context} has member 'writable' that`);
3844
- return { readable, writable };
3845
- }
3846
-
3847
- /**
3848
- * A readable stream represents a source of data, from which you can read.
3849
- *
3850
- * @public
3851
- */
3852
- class ReadableStream {
3853
- constructor(rawUnderlyingSource = {}, rawStrategy = {}) {
3854
- if (rawUnderlyingSource === undefined) {
3855
- rawUnderlyingSource = null;
3856
- }
3857
- else {
3858
- assertObject(rawUnderlyingSource, 'First parameter');
3859
- }
3860
- const strategy = convertQueuingStrategy(rawStrategy, 'Second parameter');
3861
- const underlyingSource = convertUnderlyingDefaultOrByteSource(rawUnderlyingSource, 'First parameter');
3862
- InitializeReadableStream(this);
3863
- if (underlyingSource.type === 'bytes') {
3864
- if (strategy.size !== undefined) {
3865
- throw new RangeError('The strategy for a byte stream cannot have a size function');
3866
- }
3867
- const highWaterMark = ExtractHighWaterMark(strategy, 0);
3868
- SetUpReadableByteStreamControllerFromUnderlyingSource(this, underlyingSource, highWaterMark);
3869
- }
3870
- else {
3871
- const sizeAlgorithm = ExtractSizeAlgorithm(strategy);
3872
- const highWaterMark = ExtractHighWaterMark(strategy, 1);
3873
- SetUpReadableStreamDefaultControllerFromUnderlyingSource(this, underlyingSource, highWaterMark, sizeAlgorithm);
3874
- }
3875
- }
3876
- /**
3877
- * Whether or not the readable stream is locked to a {@link ReadableStreamDefaultReader | reader}.
3878
- */
3879
- get locked() {
3880
- if (!IsReadableStream(this)) {
3881
- throw streamBrandCheckException$1('locked');
3882
- }
3883
- return IsReadableStreamLocked(this);
3884
- }
3885
- /**
3886
- * Cancels the stream, signaling a loss of interest in the stream by a consumer.
3887
- *
3888
- * The supplied `reason` argument will be given to the underlying source's {@link UnderlyingSource.cancel | cancel()}
3889
- * method, which might or might not use it.
3890
- */
3891
- cancel(reason = undefined) {
3892
- if (!IsReadableStream(this)) {
3893
- return promiseRejectedWith(streamBrandCheckException$1('cancel'));
3894
- }
3895
- if (IsReadableStreamLocked(this)) {
3896
- return promiseRejectedWith(new TypeError('Cannot cancel a stream that already has a reader'));
3897
- }
3898
- return ReadableStreamCancel(this, reason);
3899
- }
3900
- getReader(rawOptions = undefined) {
3901
- if (!IsReadableStream(this)) {
3902
- throw streamBrandCheckException$1('getReader');
3903
- }
3904
- const options = convertReaderOptions(rawOptions, 'First parameter');
3905
- if (options.mode === undefined) {
3906
- return AcquireReadableStreamDefaultReader(this);
3907
- }
3908
- return AcquireReadableStreamBYOBReader(this);
3909
- }
3910
- pipeThrough(rawTransform, rawOptions = {}) {
3911
- if (!IsReadableStream(this)) {
3912
- throw streamBrandCheckException$1('pipeThrough');
3913
- }
3914
- assertRequiredArgument(rawTransform, 1, 'pipeThrough');
3915
- const transform = convertReadableWritablePair(rawTransform, 'First parameter');
3916
- const options = convertPipeOptions(rawOptions, 'Second parameter');
3917
- if (IsReadableStreamLocked(this)) {
3918
- throw new TypeError('ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream');
3919
- }
3920
- if (IsWritableStreamLocked(transform.writable)) {
3921
- throw new TypeError('ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream');
3922
- }
3923
- const promise = ReadableStreamPipeTo(this, transform.writable, options.preventClose, options.preventAbort, options.preventCancel, options.signal);
3924
- setPromiseIsHandledToTrue(promise);
3925
- return transform.readable;
3926
- }
3927
- pipeTo(destination, rawOptions = {}) {
3928
- if (!IsReadableStream(this)) {
3929
- return promiseRejectedWith(streamBrandCheckException$1('pipeTo'));
3930
- }
3931
- if (destination === undefined) {
3932
- return promiseRejectedWith(`Parameter 1 is required in 'pipeTo'.`);
3933
- }
3934
- if (!IsWritableStream(destination)) {
3935
- return promiseRejectedWith(new TypeError(`ReadableStream.prototype.pipeTo's first argument must be a WritableStream`));
3936
- }
3937
- let options;
3938
- try {
3939
- options = convertPipeOptions(rawOptions, 'Second parameter');
3940
- }
3941
- catch (e) {
3942
- return promiseRejectedWith(e);
3943
- }
3944
- if (IsReadableStreamLocked(this)) {
3945
- return promiseRejectedWith(new TypeError('ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream'));
3946
- }
3947
- if (IsWritableStreamLocked(destination)) {
3948
- return promiseRejectedWith(new TypeError('ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream'));
3949
- }
3950
- return ReadableStreamPipeTo(this, destination, options.preventClose, options.preventAbort, options.preventCancel, options.signal);
3951
- }
3952
- /**
3953
- * Tees this readable stream, returning a two-element array containing the two resulting branches as
3954
- * new {@link ReadableStream} instances.
3955
- *
3956
- * Teeing a stream will lock it, preventing any other consumer from acquiring a reader.
3957
- * To cancel the stream, cancel both of the resulting branches; a composite cancellation reason will then be
3958
- * propagated to the stream's underlying source.
3959
- *
3960
- * Note that the chunks seen in each branch will be the same object. If the chunks are not immutable,
3961
- * this could allow interference between the two branches.
3962
- */
3963
- tee() {
3964
- if (!IsReadableStream(this)) {
3965
- throw streamBrandCheckException$1('tee');
3966
- }
3967
- const branches = ReadableStreamTee(this);
3968
- return CreateArrayFromList(branches);
3969
- }
3970
- values(rawOptions = undefined) {
3971
- if (!IsReadableStream(this)) {
3972
- throw streamBrandCheckException$1('values');
3973
- }
3974
- const options = convertIteratorOptions(rawOptions, 'First parameter');
3975
- return AcquireReadableStreamAsyncIterator(this, options.preventCancel);
3976
- }
3977
- [SymbolAsyncIterator](options) {
3978
- // Stub implementation, overridden below
3979
- return this.values(options);
3980
- }
3981
- /**
3982
- * Creates a new ReadableStream wrapping the provided iterable or async iterable.
3983
- *
3984
- * This can be used to adapt various kinds of objects into a readable stream,
3985
- * such as an array, an async generator, or a Node.js readable stream.
3986
- */
3987
- static from(asyncIterable) {
3988
- return ReadableStreamFrom(asyncIterable);
3989
- }
3990
- }
3991
- Object.defineProperties(ReadableStream, {
3992
- from: { enumerable: true }
3993
- });
3994
- Object.defineProperties(ReadableStream.prototype, {
3995
- cancel: { enumerable: true },
3996
- getReader: { enumerable: true },
3997
- pipeThrough: { enumerable: true },
3998
- pipeTo: { enumerable: true },
3999
- tee: { enumerable: true },
4000
- values: { enumerable: true },
4001
- locked: { enumerable: true }
4002
- });
4003
- setFunctionName(ReadableStream.from, 'from');
4004
- setFunctionName(ReadableStream.prototype.cancel, 'cancel');
4005
- setFunctionName(ReadableStream.prototype.getReader, 'getReader');
4006
- setFunctionName(ReadableStream.prototype.pipeThrough, 'pipeThrough');
4007
- setFunctionName(ReadableStream.prototype.pipeTo, 'pipeTo');
4008
- setFunctionName(ReadableStream.prototype.tee, 'tee');
4009
- setFunctionName(ReadableStream.prototype.values, 'values');
4010
- if (typeof Symbol.toStringTag === 'symbol') {
4011
- Object.defineProperty(ReadableStream.prototype, Symbol.toStringTag, {
4012
- value: 'ReadableStream',
4013
- configurable: true
4014
- });
4015
- }
4016
- Object.defineProperty(ReadableStream.prototype, SymbolAsyncIterator, {
4017
- value: ReadableStream.prototype.values,
4018
- writable: true,
4019
- configurable: true
4020
- });
4021
- // Abstract operations for the ReadableStream.
4022
- // Throws if and only if startAlgorithm throws.
4023
- function CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark = 1, sizeAlgorithm = () => 1) {
4024
- const stream = Object.create(ReadableStream.prototype);
4025
- InitializeReadableStream(stream);
4026
- const controller = Object.create(ReadableStreamDefaultController.prototype);
4027
- SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm);
4028
- return stream;
4029
- }
4030
- // Throws if and only if startAlgorithm throws.
4031
- function CreateReadableByteStream(startAlgorithm, pullAlgorithm, cancelAlgorithm) {
4032
- const stream = Object.create(ReadableStream.prototype);
4033
- InitializeReadableStream(stream);
4034
- const controller = Object.create(ReadableByteStreamController.prototype);
4035
- SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, 0, undefined);
4036
- return stream;
4037
- }
4038
- function InitializeReadableStream(stream) {
4039
- stream._state = 'readable';
4040
- stream._reader = undefined;
4041
- stream._storedError = undefined;
4042
- stream._disturbed = false;
4043
- }
4044
- function IsReadableStream(x) {
4045
- if (!typeIsObject(x)) {
4046
- return false;
4047
- }
4048
- if (!Object.prototype.hasOwnProperty.call(x, '_readableStreamController')) {
4049
- return false;
4050
- }
4051
- return x instanceof ReadableStream;
4052
- }
4053
- function IsReadableStreamLocked(stream) {
4054
- if (stream._reader === undefined) {
4055
- return false;
4056
- }
4057
- return true;
4058
- }
4059
- // ReadableStream API exposed for controllers.
4060
- function ReadableStreamCancel(stream, reason) {
4061
- stream._disturbed = true;
4062
- if (stream._state === 'closed') {
4063
- return promiseResolvedWith(undefined);
4064
- }
4065
- if (stream._state === 'errored') {
4066
- return promiseRejectedWith(stream._storedError);
4067
- }
4068
- ReadableStreamClose(stream);
4069
- const reader = stream._reader;
4070
- if (reader !== undefined && IsReadableStreamBYOBReader(reader)) {
4071
- const readIntoRequests = reader._readIntoRequests;
4072
- reader._readIntoRequests = new SimpleQueue();
4073
- readIntoRequests.forEach(readIntoRequest => {
4074
- readIntoRequest._closeSteps(undefined);
4075
- });
4076
- }
4077
- const sourceCancelPromise = stream._readableStreamController[CancelSteps](reason);
4078
- return transformPromiseWith(sourceCancelPromise, noop);
4079
- }
4080
- function ReadableStreamClose(stream) {
4081
- stream._state = 'closed';
4082
- const reader = stream._reader;
4083
- if (reader === undefined) {
4084
- return;
4085
- }
4086
- defaultReaderClosedPromiseResolve(reader);
4087
- if (IsReadableStreamDefaultReader(reader)) {
4088
- const readRequests = reader._readRequests;
4089
- reader._readRequests = new SimpleQueue();
4090
- readRequests.forEach(readRequest => {
4091
- readRequest._closeSteps();
4092
- });
4093
- }
4094
- }
4095
- function ReadableStreamError(stream, e) {
4096
- stream._state = 'errored';
4097
- stream._storedError = e;
4098
- const reader = stream._reader;
4099
- if (reader === undefined) {
4100
- return;
4101
- }
4102
- defaultReaderClosedPromiseReject(reader, e);
4103
- if (IsReadableStreamDefaultReader(reader)) {
4104
- ReadableStreamDefaultReaderErrorReadRequests(reader, e);
4105
- }
4106
- else {
4107
- ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e);
4108
- }
4109
- }
4110
- // Helper functions for the ReadableStream.
4111
- function streamBrandCheckException$1(name) {
4112
- return new TypeError(`ReadableStream.prototype.${name} can only be used on a ReadableStream`);
4113
- }
4114
-
4115
- function convertQueuingStrategyInit(init, context) {
4116
- assertDictionary(init, context);
4117
- const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;
4118
- assertRequiredField(highWaterMark, 'highWaterMark', 'QueuingStrategyInit');
4119
- return {
4120
- highWaterMark: convertUnrestrictedDouble(highWaterMark)
4121
- };
4122
- }
4123
-
4124
- // The size function must not have a prototype property nor be a constructor
4125
- const byteLengthSizeFunction = (chunk) => {
4126
- return chunk.byteLength;
4127
- };
4128
- setFunctionName(byteLengthSizeFunction, 'size');
4129
- /**
4130
- * A queuing strategy that counts the number of bytes in each chunk.
4131
- *
4132
- * @public
4133
- */
4134
- class ByteLengthQueuingStrategy {
4135
- constructor(options) {
4136
- assertRequiredArgument(options, 1, 'ByteLengthQueuingStrategy');
4137
- options = convertQueuingStrategyInit(options, 'First parameter');
4138
- this._byteLengthQueuingStrategyHighWaterMark = options.highWaterMark;
4139
- }
4140
- /**
4141
- * Returns the high water mark provided to the constructor.
4142
- */
4143
- get highWaterMark() {
4144
- if (!IsByteLengthQueuingStrategy(this)) {
4145
- throw byteLengthBrandCheckException('highWaterMark');
4146
- }
4147
- return this._byteLengthQueuingStrategyHighWaterMark;
4148
- }
4149
- /**
4150
- * Measures the size of `chunk` by returning the value of its `byteLength` property.
4151
- */
4152
- get size() {
4153
- if (!IsByteLengthQueuingStrategy(this)) {
4154
- throw byteLengthBrandCheckException('size');
4155
- }
4156
- return byteLengthSizeFunction;
4157
- }
4158
- }
4159
- Object.defineProperties(ByteLengthQueuingStrategy.prototype, {
4160
- highWaterMark: { enumerable: true },
4161
- size: { enumerable: true }
4162
- });
4163
- if (typeof Symbol.toStringTag === 'symbol') {
4164
- Object.defineProperty(ByteLengthQueuingStrategy.prototype, Symbol.toStringTag, {
4165
- value: 'ByteLengthQueuingStrategy',
4166
- configurable: true
4167
- });
4168
- }
4169
- // Helper functions for the ByteLengthQueuingStrategy.
4170
- function byteLengthBrandCheckException(name) {
4171
- return new TypeError(`ByteLengthQueuingStrategy.prototype.${name} can only be used on a ByteLengthQueuingStrategy`);
4172
- }
4173
- function IsByteLengthQueuingStrategy(x) {
4174
- if (!typeIsObject(x)) {
4175
- return false;
4176
- }
4177
- if (!Object.prototype.hasOwnProperty.call(x, '_byteLengthQueuingStrategyHighWaterMark')) {
4178
- return false;
4179
- }
4180
- return x instanceof ByteLengthQueuingStrategy;
4181
- }
4182
-
4183
- // The size function must not have a prototype property nor be a constructor
4184
- const countSizeFunction = () => {
4185
- return 1;
4186
- };
4187
- setFunctionName(countSizeFunction, 'size');
4188
- /**
4189
- * A queuing strategy that counts the number of chunks.
4190
- *
4191
- * @public
4192
- */
4193
- class CountQueuingStrategy {
4194
- constructor(options) {
4195
- assertRequiredArgument(options, 1, 'CountQueuingStrategy');
4196
- options = convertQueuingStrategyInit(options, 'First parameter');
4197
- this._countQueuingStrategyHighWaterMark = options.highWaterMark;
4198
- }
4199
- /**
4200
- * Returns the high water mark provided to the constructor.
4201
- */
4202
- get highWaterMark() {
4203
- if (!IsCountQueuingStrategy(this)) {
4204
- throw countBrandCheckException('highWaterMark');
4205
- }
4206
- return this._countQueuingStrategyHighWaterMark;
4207
- }
4208
- /**
4209
- * Measures the size of `chunk` by always returning 1.
4210
- * This ensures that the total queue size is a count of the number of chunks in the queue.
4211
- */
4212
- get size() {
4213
- if (!IsCountQueuingStrategy(this)) {
4214
- throw countBrandCheckException('size');
4215
- }
4216
- return countSizeFunction;
4217
- }
4218
- }
4219
- Object.defineProperties(CountQueuingStrategy.prototype, {
4220
- highWaterMark: { enumerable: true },
4221
- size: { enumerable: true }
4222
- });
4223
- if (typeof Symbol.toStringTag === 'symbol') {
4224
- Object.defineProperty(CountQueuingStrategy.prototype, Symbol.toStringTag, {
4225
- value: 'CountQueuingStrategy',
4226
- configurable: true
4227
- });
4228
- }
4229
- // Helper functions for the CountQueuingStrategy.
4230
- function countBrandCheckException(name) {
4231
- return new TypeError(`CountQueuingStrategy.prototype.${name} can only be used on a CountQueuingStrategy`);
4232
- }
4233
- function IsCountQueuingStrategy(x) {
4234
- if (!typeIsObject(x)) {
4235
- return false;
4236
- }
4237
- if (!Object.prototype.hasOwnProperty.call(x, '_countQueuingStrategyHighWaterMark')) {
4238
- return false;
4239
- }
4240
- return x instanceof CountQueuingStrategy;
4241
- }
4242
-
4243
- function convertTransformer(original, context) {
4244
- assertDictionary(original, context);
4245
- const cancel = original === null || original === void 0 ? void 0 : original.cancel;
4246
- const flush = original === null || original === void 0 ? void 0 : original.flush;
4247
- const readableType = original === null || original === void 0 ? void 0 : original.readableType;
4248
- const start = original === null || original === void 0 ? void 0 : original.start;
4249
- const transform = original === null || original === void 0 ? void 0 : original.transform;
4250
- const writableType = original === null || original === void 0 ? void 0 : original.writableType;
4251
- return {
4252
- cancel: cancel === undefined ?
4253
- undefined :
4254
- convertTransformerCancelCallback(cancel, original, `${context} has member 'cancel' that`),
4255
- flush: flush === undefined ?
4256
- undefined :
4257
- convertTransformerFlushCallback(flush, original, `${context} has member 'flush' that`),
4258
- readableType,
4259
- start: start === undefined ?
4260
- undefined :
4261
- convertTransformerStartCallback(start, original, `${context} has member 'start' that`),
4262
- transform: transform === undefined ?
4263
- undefined :
4264
- convertTransformerTransformCallback(transform, original, `${context} has member 'transform' that`),
4265
- writableType
4266
- };
4267
- }
4268
- function convertTransformerFlushCallback(fn, original, context) {
4269
- assertFunction(fn, context);
4270
- return (controller) => promiseCall(fn, original, [controller]);
4271
- }
4272
- function convertTransformerStartCallback(fn, original, context) {
4273
- assertFunction(fn, context);
4274
- return (controller) => reflectCall(fn, original, [controller]);
4275
- }
4276
- function convertTransformerTransformCallback(fn, original, context) {
4277
- assertFunction(fn, context);
4278
- return (chunk, controller) => promiseCall(fn, original, [chunk, controller]);
4279
- }
4280
- function convertTransformerCancelCallback(fn, original, context) {
4281
- assertFunction(fn, context);
4282
- return (reason) => promiseCall(fn, original, [reason]);
4283
- }
4284
-
4285
- // Class TransformStream
4286
- /**
4287
- * A transform stream consists of a pair of streams: a {@link WritableStream | writable stream},
4288
- * known as its writable side, and a {@link ReadableStream | readable stream}, known as its readable side.
4289
- * In a manner specific to the transform stream in question, writes to the writable side result in new data being
4290
- * made available for reading from the readable side.
4291
- *
4292
- * @public
4293
- */
4294
- class TransformStream {
4295
- constructor(rawTransformer = {}, rawWritableStrategy = {}, rawReadableStrategy = {}) {
4296
- if (rawTransformer === undefined) {
4297
- rawTransformer = null;
4298
- }
4299
- const writableStrategy = convertQueuingStrategy(rawWritableStrategy, 'Second parameter');
4300
- const readableStrategy = convertQueuingStrategy(rawReadableStrategy, 'Third parameter');
4301
- const transformer = convertTransformer(rawTransformer, 'First parameter');
4302
- if (transformer.readableType !== undefined) {
4303
- throw new RangeError('Invalid readableType specified');
4304
- }
4305
- if (transformer.writableType !== undefined) {
4306
- throw new RangeError('Invalid writableType specified');
4307
- }
4308
- const readableHighWaterMark = ExtractHighWaterMark(readableStrategy, 0);
4309
- const readableSizeAlgorithm = ExtractSizeAlgorithm(readableStrategy);
4310
- const writableHighWaterMark = ExtractHighWaterMark(writableStrategy, 1);
4311
- const writableSizeAlgorithm = ExtractSizeAlgorithm(writableStrategy);
4312
- let startPromise_resolve;
4313
- const startPromise = newPromise(resolve => {
4314
- startPromise_resolve = resolve;
4315
- });
4316
- InitializeTransformStream(this, startPromise, writableHighWaterMark, writableSizeAlgorithm, readableHighWaterMark, readableSizeAlgorithm);
4317
- SetUpTransformStreamDefaultControllerFromTransformer(this, transformer);
4318
- if (transformer.start !== undefined) {
4319
- startPromise_resolve(transformer.start(this._transformStreamController));
4320
- }
4321
- else {
4322
- startPromise_resolve(undefined);
4323
- }
4324
- }
4325
- /**
4326
- * The readable side of the transform stream.
4327
- */
4328
- get readable() {
4329
- if (!IsTransformStream(this)) {
4330
- throw streamBrandCheckException('readable');
4331
- }
4332
- return this._readable;
4333
- }
4334
- /**
4335
- * The writable side of the transform stream.
4336
- */
4337
- get writable() {
4338
- if (!IsTransformStream(this)) {
4339
- throw streamBrandCheckException('writable');
4340
- }
4341
- return this._writable;
4342
- }
4343
- }
4344
- Object.defineProperties(TransformStream.prototype, {
4345
- readable: { enumerable: true },
4346
- writable: { enumerable: true }
4347
- });
4348
- if (typeof Symbol.toStringTag === 'symbol') {
4349
- Object.defineProperty(TransformStream.prototype, Symbol.toStringTag, {
4350
- value: 'TransformStream',
4351
- configurable: true
4352
- });
4353
- }
4354
- function InitializeTransformStream(stream, startPromise, writableHighWaterMark, writableSizeAlgorithm, readableHighWaterMark, readableSizeAlgorithm) {
4355
- function startAlgorithm() {
4356
- return startPromise;
4357
- }
4358
- function writeAlgorithm(chunk) {
4359
- return TransformStreamDefaultSinkWriteAlgorithm(stream, chunk);
4360
- }
4361
- function abortAlgorithm(reason) {
4362
- return TransformStreamDefaultSinkAbortAlgorithm(stream, reason);
4363
- }
4364
- function closeAlgorithm() {
4365
- return TransformStreamDefaultSinkCloseAlgorithm(stream);
4366
- }
4367
- stream._writable = CreateWritableStream(startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, writableHighWaterMark, writableSizeAlgorithm);
4368
- function pullAlgorithm() {
4369
- return TransformStreamDefaultSourcePullAlgorithm(stream);
4370
- }
4371
- function cancelAlgorithm(reason) {
4372
- return TransformStreamDefaultSourceCancelAlgorithm(stream, reason);
4373
- }
4374
- stream._readable = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, readableHighWaterMark, readableSizeAlgorithm);
4375
- // The [[backpressure]] slot is set to undefined so that it can be initialised by TransformStreamSetBackpressure.
4376
- stream._backpressure = undefined;
4377
- stream._backpressureChangePromise = undefined;
4378
- stream._backpressureChangePromise_resolve = undefined;
4379
- TransformStreamSetBackpressure(stream, true);
4380
- stream._transformStreamController = undefined;
4381
- }
4382
- function IsTransformStream(x) {
4383
- if (!typeIsObject(x)) {
4384
- return false;
4385
- }
4386
- if (!Object.prototype.hasOwnProperty.call(x, '_transformStreamController')) {
4387
- return false;
4388
- }
4389
- return x instanceof TransformStream;
4390
- }
4391
- // This is a no-op if both sides are already errored.
4392
- function TransformStreamError(stream, e) {
4393
- ReadableStreamDefaultControllerError(stream._readable._readableStreamController, e);
4394
- TransformStreamErrorWritableAndUnblockWrite(stream, e);
4395
- }
4396
- function TransformStreamErrorWritableAndUnblockWrite(stream, e) {
4397
- TransformStreamDefaultControllerClearAlgorithms(stream._transformStreamController);
4398
- WritableStreamDefaultControllerErrorIfNeeded(stream._writable._writableStreamController, e);
4399
- TransformStreamUnblockWrite(stream);
4400
- }
4401
- function TransformStreamUnblockWrite(stream) {
4402
- if (stream._backpressure) {
4403
- // Pretend that pull() was called to permit any pending write() calls to complete. TransformStreamSetBackpressure()
4404
- // cannot be called from enqueue() or pull() once the ReadableStream is errored, so this will will be the final time
4405
- // _backpressure is set.
4406
- TransformStreamSetBackpressure(stream, false);
4407
- }
4408
- }
4409
- function TransformStreamSetBackpressure(stream, backpressure) {
4410
- // Passes also when called during construction.
4411
- if (stream._backpressureChangePromise !== undefined) {
4412
- stream._backpressureChangePromise_resolve();
4413
- }
4414
- stream._backpressureChangePromise = newPromise(resolve => {
4415
- stream._backpressureChangePromise_resolve = resolve;
4416
- });
4417
- stream._backpressure = backpressure;
4418
- }
4419
- // Class TransformStreamDefaultController
4420
- /**
4421
- * Allows control of the {@link ReadableStream} and {@link WritableStream} of the associated {@link TransformStream}.
4422
- *
4423
- * @public
4424
- */
4425
- class TransformStreamDefaultController {
4426
- constructor() {
4427
- throw new TypeError('Illegal constructor');
4428
- }
4429
- /**
4430
- * Returns the desired size to fill the readable side’s internal queue. It can be negative, if the queue is over-full.
4431
- */
4432
- get desiredSize() {
4433
- if (!IsTransformStreamDefaultController(this)) {
4434
- throw defaultControllerBrandCheckException('desiredSize');
4435
- }
4436
- const readableController = this._controlledTransformStream._readable._readableStreamController;
4437
- return ReadableStreamDefaultControllerGetDesiredSize(readableController);
4438
- }
4439
- enqueue(chunk = undefined) {
4440
- if (!IsTransformStreamDefaultController(this)) {
4441
- throw defaultControllerBrandCheckException('enqueue');
4442
- }
4443
- TransformStreamDefaultControllerEnqueue(this, chunk);
4444
- }
4445
- /**
4446
- * Errors both the readable side and the writable side of the controlled transform stream, making all future
4447
- * interactions with it fail with the given error `e`. Any chunks queued for transformation will be discarded.
4448
- */
4449
- error(reason = undefined) {
4450
- if (!IsTransformStreamDefaultController(this)) {
4451
- throw defaultControllerBrandCheckException('error');
4452
- }
4453
- TransformStreamDefaultControllerError(this, reason);
4454
- }
4455
- /**
4456
- * Closes the readable side and errors the writable side of the controlled transform stream. This is useful when the
4457
- * transformer only needs to consume a portion of the chunks written to the writable side.
4458
- */
4459
- terminate() {
4460
- if (!IsTransformStreamDefaultController(this)) {
4461
- throw defaultControllerBrandCheckException('terminate');
4462
- }
4463
- TransformStreamDefaultControllerTerminate(this);
4464
- }
4465
- }
4466
- Object.defineProperties(TransformStreamDefaultController.prototype, {
4467
- enqueue: { enumerable: true },
4468
- error: { enumerable: true },
4469
- terminate: { enumerable: true },
4470
- desiredSize: { enumerable: true }
4471
- });
4472
- setFunctionName(TransformStreamDefaultController.prototype.enqueue, 'enqueue');
4473
- setFunctionName(TransformStreamDefaultController.prototype.error, 'error');
4474
- setFunctionName(TransformStreamDefaultController.prototype.terminate, 'terminate');
4475
- if (typeof Symbol.toStringTag === 'symbol') {
4476
- Object.defineProperty(TransformStreamDefaultController.prototype, Symbol.toStringTag, {
4477
- value: 'TransformStreamDefaultController',
4478
- configurable: true
4479
- });
4480
- }
4481
- // Transform Stream Default Controller Abstract Operations
4482
- function IsTransformStreamDefaultController(x) {
4483
- if (!typeIsObject(x)) {
4484
- return false;
4485
- }
4486
- if (!Object.prototype.hasOwnProperty.call(x, '_controlledTransformStream')) {
4487
- return false;
4488
- }
4489
- return x instanceof TransformStreamDefaultController;
4490
- }
4491
- function SetUpTransformStreamDefaultController(stream, controller, transformAlgorithm, flushAlgorithm, cancelAlgorithm) {
4492
- controller._controlledTransformStream = stream;
4493
- stream._transformStreamController = controller;
4494
- controller._transformAlgorithm = transformAlgorithm;
4495
- controller._flushAlgorithm = flushAlgorithm;
4496
- controller._cancelAlgorithm = cancelAlgorithm;
4497
- controller._finishPromise = undefined;
4498
- controller._finishPromise_resolve = undefined;
4499
- controller._finishPromise_reject = undefined;
4500
- }
4501
- function SetUpTransformStreamDefaultControllerFromTransformer(stream, transformer) {
4502
- const controller = Object.create(TransformStreamDefaultController.prototype);
4503
- let transformAlgorithm;
4504
- let flushAlgorithm;
4505
- let cancelAlgorithm;
4506
- if (transformer.transform !== undefined) {
4507
- transformAlgorithm = chunk => transformer.transform(chunk, controller);
4508
- }
4509
- else {
4510
- transformAlgorithm = chunk => {
4511
- try {
4512
- TransformStreamDefaultControllerEnqueue(controller, chunk);
4513
- return promiseResolvedWith(undefined);
4514
- }
4515
- catch (transformResultE) {
4516
- return promiseRejectedWith(transformResultE);
4517
- }
4518
- };
4519
- }
4520
- if (transformer.flush !== undefined) {
4521
- flushAlgorithm = () => transformer.flush(controller);
4522
- }
4523
- else {
4524
- flushAlgorithm = () => promiseResolvedWith(undefined);
4525
- }
4526
- if (transformer.cancel !== undefined) {
4527
- cancelAlgorithm = reason => transformer.cancel(reason);
4528
- }
4529
- else {
4530
- cancelAlgorithm = () => promiseResolvedWith(undefined);
4531
- }
4532
- SetUpTransformStreamDefaultController(stream, controller, transformAlgorithm, flushAlgorithm, cancelAlgorithm);
4533
- }
4534
- function TransformStreamDefaultControllerClearAlgorithms(controller) {
4535
- controller._transformAlgorithm = undefined;
4536
- controller._flushAlgorithm = undefined;
4537
- controller._cancelAlgorithm = undefined;
4538
- }
4539
- function TransformStreamDefaultControllerEnqueue(controller, chunk) {
4540
- const stream = controller._controlledTransformStream;
4541
- const readableController = stream._readable._readableStreamController;
4542
- if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(readableController)) {
4543
- throw new TypeError('Readable side is not in a state that permits enqueue');
4544
- }
4545
- // We throttle transform invocations based on the backpressure of the ReadableStream, but we still
4546
- // accept TransformStreamDefaultControllerEnqueue() calls.
4547
- try {
4548
- ReadableStreamDefaultControllerEnqueue(readableController, chunk);
4549
- }
4550
- catch (e) {
4551
- // This happens when readableStrategy.size() throws.
4552
- TransformStreamErrorWritableAndUnblockWrite(stream, e);
4553
- throw stream._readable._storedError;
4554
- }
4555
- const backpressure = ReadableStreamDefaultControllerHasBackpressure(readableController);
4556
- if (backpressure !== stream._backpressure) {
4557
- TransformStreamSetBackpressure(stream, true);
4558
- }
4559
- }
4560
- function TransformStreamDefaultControllerError(controller, e) {
4561
- TransformStreamError(controller._controlledTransformStream, e);
4562
- }
4563
- function TransformStreamDefaultControllerPerformTransform(controller, chunk) {
4564
- const transformPromise = controller._transformAlgorithm(chunk);
4565
- return transformPromiseWith(transformPromise, undefined, r => {
4566
- TransformStreamError(controller._controlledTransformStream, r);
4567
- throw r;
4568
- });
4569
- }
4570
- function TransformStreamDefaultControllerTerminate(controller) {
4571
- const stream = controller._controlledTransformStream;
4572
- const readableController = stream._readable._readableStreamController;
4573
- ReadableStreamDefaultControllerClose(readableController);
4574
- const error = new TypeError('TransformStream terminated');
4575
- TransformStreamErrorWritableAndUnblockWrite(stream, error);
4576
- }
4577
- // TransformStreamDefaultSink Algorithms
4578
- function TransformStreamDefaultSinkWriteAlgorithm(stream, chunk) {
4579
- const controller = stream._transformStreamController;
4580
- if (stream._backpressure) {
4581
- const backpressureChangePromise = stream._backpressureChangePromise;
4582
- return transformPromiseWith(backpressureChangePromise, () => {
4583
- const writable = stream._writable;
4584
- const state = writable._state;
4585
- if (state === 'erroring') {
4586
- throw writable._storedError;
4587
- }
4588
- return TransformStreamDefaultControllerPerformTransform(controller, chunk);
4589
- });
4590
- }
4591
- return TransformStreamDefaultControllerPerformTransform(controller, chunk);
4592
- }
4593
- function TransformStreamDefaultSinkAbortAlgorithm(stream, reason) {
4594
- const controller = stream._transformStreamController;
4595
- if (controller._finishPromise !== undefined) {
4596
- return controller._finishPromise;
4597
- }
4598
- // stream._readable cannot change after construction, so caching it across a call to user code is safe.
4599
- const readable = stream._readable;
4600
- // Assign the _finishPromise now so that if _cancelAlgorithm calls readable.cancel() internally,
4601
- // we don't run the _cancelAlgorithm again.
4602
- controller._finishPromise = newPromise((resolve, reject) => {
4603
- controller._finishPromise_resolve = resolve;
4604
- controller._finishPromise_reject = reject;
4605
- });
4606
- const cancelPromise = controller._cancelAlgorithm(reason);
4607
- TransformStreamDefaultControllerClearAlgorithms(controller);
4608
- uponPromise(cancelPromise, () => {
4609
- if (readable._state === 'errored') {
4610
- defaultControllerFinishPromiseReject(controller, readable._storedError);
4611
- }
4612
- else {
4613
- ReadableStreamDefaultControllerError(readable._readableStreamController, reason);
4614
- defaultControllerFinishPromiseResolve(controller);
4615
- }
4616
- return null;
4617
- }, r => {
4618
- ReadableStreamDefaultControllerError(readable._readableStreamController, r);
4619
- defaultControllerFinishPromiseReject(controller, r);
4620
- return null;
4621
- });
4622
- return controller._finishPromise;
4623
- }
4624
- function TransformStreamDefaultSinkCloseAlgorithm(stream) {
4625
- const controller = stream._transformStreamController;
4626
- if (controller._finishPromise !== undefined) {
4627
- return controller._finishPromise;
4628
- }
4629
- // stream._readable cannot change after construction, so caching it across a call to user code is safe.
4630
- const readable = stream._readable;
4631
- // Assign the _finishPromise now so that if _flushAlgorithm calls readable.cancel() internally,
4632
- // we don't also run the _cancelAlgorithm.
4633
- controller._finishPromise = newPromise((resolve, reject) => {
4634
- controller._finishPromise_resolve = resolve;
4635
- controller._finishPromise_reject = reject;
4636
- });
4637
- const flushPromise = controller._flushAlgorithm();
4638
- TransformStreamDefaultControllerClearAlgorithms(controller);
4639
- uponPromise(flushPromise, () => {
4640
- if (readable._state === 'errored') {
4641
- defaultControllerFinishPromiseReject(controller, readable._storedError);
4642
- }
4643
- else {
4644
- ReadableStreamDefaultControllerClose(readable._readableStreamController);
4645
- defaultControllerFinishPromiseResolve(controller);
4646
- }
4647
- return null;
4648
- }, r => {
4649
- ReadableStreamDefaultControllerError(readable._readableStreamController, r);
4650
- defaultControllerFinishPromiseReject(controller, r);
4651
- return null;
4652
- });
4653
- return controller._finishPromise;
4654
- }
4655
- // TransformStreamDefaultSource Algorithms
4656
- function TransformStreamDefaultSourcePullAlgorithm(stream) {
4657
- // Invariant. Enforced by the promises returned by start() and pull().
4658
- TransformStreamSetBackpressure(stream, false);
4659
- // Prevent the next pull() call until there is backpressure.
4660
- return stream._backpressureChangePromise;
4661
- }
4662
- function TransformStreamDefaultSourceCancelAlgorithm(stream, reason) {
4663
- const controller = stream._transformStreamController;
4664
- if (controller._finishPromise !== undefined) {
4665
- return controller._finishPromise;
4666
- }
4667
- // stream._writable cannot change after construction, so caching it across a call to user code is safe.
4668
- const writable = stream._writable;
4669
- // Assign the _finishPromise now so that if _flushAlgorithm calls writable.abort() or
4670
- // writable.cancel() internally, we don't run the _cancelAlgorithm again, or also run the
4671
- // _flushAlgorithm.
4672
- controller._finishPromise = newPromise((resolve, reject) => {
4673
- controller._finishPromise_resolve = resolve;
4674
- controller._finishPromise_reject = reject;
4675
- });
4676
- const cancelPromise = controller._cancelAlgorithm(reason);
4677
- TransformStreamDefaultControllerClearAlgorithms(controller);
4678
- uponPromise(cancelPromise, () => {
4679
- if (writable._state === 'errored') {
4680
- defaultControllerFinishPromiseReject(controller, writable._storedError);
4681
- }
4682
- else {
4683
- WritableStreamDefaultControllerErrorIfNeeded(writable._writableStreamController, reason);
4684
- TransformStreamUnblockWrite(stream);
4685
- defaultControllerFinishPromiseResolve(controller);
4686
- }
4687
- return null;
4688
- }, r => {
4689
- WritableStreamDefaultControllerErrorIfNeeded(writable._writableStreamController, r);
4690
- TransformStreamUnblockWrite(stream);
4691
- defaultControllerFinishPromiseReject(controller, r);
4692
- return null;
4693
- });
4694
- return controller._finishPromise;
4695
- }
4696
- // Helper functions for the TransformStreamDefaultController.
4697
- function defaultControllerBrandCheckException(name) {
4698
- return new TypeError(`TransformStreamDefaultController.prototype.${name} can only be used on a TransformStreamDefaultController`);
4699
- }
4700
- function defaultControllerFinishPromiseResolve(controller) {
4701
- if (controller._finishPromise_resolve === undefined) {
4702
- return;
4703
- }
4704
- controller._finishPromise_resolve();
4705
- controller._finishPromise_resolve = undefined;
4706
- controller._finishPromise_reject = undefined;
4707
- }
4708
- function defaultControllerFinishPromiseReject(controller, reason) {
4709
- if (controller._finishPromise_reject === undefined) {
4710
- return;
4711
- }
4712
- setPromiseIsHandledToTrue(controller._finishPromise);
4713
- controller._finishPromise_reject(reason);
4714
- controller._finishPromise_resolve = undefined;
4715
- controller._finishPromise_reject = undefined;
4716
- }
4717
- // Helper functions for the TransformStream.
4718
- function streamBrandCheckException(name) {
4719
- return new TypeError(`TransformStream.prototype.${name} can only be used on a TransformStream`);
4720
- }
4721
-
4722
- exports.ByteLengthQueuingStrategy = ByteLengthQueuingStrategy;
4723
- exports.CountQueuingStrategy = CountQueuingStrategy;
4724
- exports.ReadableByteStreamController = ReadableByteStreamController;
4725
- exports.ReadableStream = ReadableStream;
4726
- exports.ReadableStreamBYOBReader = ReadableStreamBYOBReader;
4727
- exports.ReadableStreamBYOBRequest = ReadableStreamBYOBRequest;
4728
- exports.ReadableStreamDefaultController = ReadableStreamDefaultController;
4729
- exports.ReadableStreamDefaultReader = ReadableStreamDefaultReader;
4730
- exports.TransformStream = TransformStream;
4731
- exports.TransformStreamDefaultController = TransformStreamDefaultController;
4732
- exports.WritableStream = WritableStream;
4733
- exports.WritableStreamDefaultController = WritableStreamDefaultController;
4734
- exports.WritableStreamDefaultWriter = WritableStreamDefaultWriter;
4735
-
4736
- }));
4737
- //# sourceMappingURL=ponyfill.es2018.js.map