nodejs-insta-private-api-mqtt 1.3.22 → 1.3.23

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 (3546) hide show
  1. package/dist/fbns/fbns.client.js +2 -2
  2. package/dist/mqttot/mqttot.client.js +18 -8
  3. package/dist/node_modules/.package-lock.json +1158 -0
  4. package/dist/node_modules/@babel/runtime/LICENSE +22 -0
  5. package/dist/node_modules/@babel/runtime/README.md +19 -0
  6. package/dist/node_modules/@babel/runtime/helpers/AwaitValue.js +4 -0
  7. package/dist/node_modules/@babel/runtime/helpers/OverloadYield.js +4 -0
  8. package/dist/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +9 -0
  9. package/dist/node_modules/@babel/runtime/helpers/applyDecs.js +236 -0
  10. package/dist/node_modules/@babel/runtime/helpers/applyDecs2203.js +184 -0
  11. package/dist/node_modules/@babel/runtime/helpers/applyDecs2203R.js +191 -0
  12. package/dist/node_modules/@babel/runtime/helpers/applyDecs2301.js +222 -0
  13. package/dist/node_modules/@babel/runtime/helpers/applyDecs2305.js +133 -0
  14. package/dist/node_modules/@babel/runtime/helpers/applyDecs2311.js +124 -0
  15. package/dist/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +6 -0
  16. package/dist/node_modules/@babel/runtime/helpers/arrayWithHoles.js +4 -0
  17. package/dist/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +5 -0
  18. package/dist/node_modules/@babel/runtime/helpers/assertClassBrand.js +5 -0
  19. package/dist/node_modules/@babel/runtime/helpers/assertThisInitialized.js +5 -0
  20. package/dist/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +24 -0
  21. package/dist/node_modules/@babel/runtime/helpers/asyncIterator.js +45 -0
  22. package/dist/node_modules/@babel/runtime/helpers/asyncToGenerator.js +26 -0
  23. package/dist/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +5 -0
  24. package/dist/node_modules/@babel/runtime/helpers/callSuper.js +7 -0
  25. package/dist/node_modules/@babel/runtime/helpers/checkInRHS.js +6 -0
  26. package/dist/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +4 -0
  27. package/dist/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +10 -0
  28. package/dist/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +4 -0
  29. package/dist/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +7 -0
  30. package/dist/node_modules/@babel/runtime/helpers/classCallCheck.js +4 -0
  31. package/dist/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +5 -0
  32. package/dist/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +4 -0
  33. package/dist/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +5 -0
  34. package/dist/node_modules/@babel/runtime/helpers/classNameTDZError.js +4 -0
  35. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +7 -0
  36. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +7 -0
  37. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +5 -0
  38. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +5 -0
  39. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +5 -0
  40. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +5 -0
  41. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +7 -0
  42. package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +5 -0
  43. package/dist/node_modules/@babel/runtime/helpers/classPrivateGetter.js +5 -0
  44. package/dist/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +5 -0
  45. package/dist/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +5 -0
  46. package/dist/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +4 -0
  47. package/dist/node_modules/@babel/runtime/helpers/classPrivateSetter.js +5 -0
  48. package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +7 -0
  49. package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +7 -0
  50. package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +7 -0
  51. package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +5 -0
  52. package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +4 -0
  53. package/dist/node_modules/@babel/runtime/helpers/construct.js +10 -0
  54. package/dist/node_modules/@babel/runtime/helpers/createClass.js +13 -0
  55. package/dist/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +50 -0
  56. package/dist/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +19 -0
  57. package/dist/node_modules/@babel/runtime/helpers/createSuper.js +16 -0
  58. package/dist/node_modules/@babel/runtime/helpers/decorate.js +250 -0
  59. package/dist/node_modules/@babel/runtime/helpers/defaults.js +9 -0
  60. package/dist/node_modules/@babel/runtime/helpers/defineAccessor.js +8 -0
  61. package/dist/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +12 -0
  62. package/dist/node_modules/@babel/runtime/helpers/defineProperty.js +10 -0
  63. package/dist/node_modules/@babel/runtime/helpers/dispose.js +28 -0
  64. package/dist/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +4 -0
  65. package/dist/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +4 -0
  66. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +9 -0
  67. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs.js +236 -0
  68. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +184 -0
  69. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +191 -0
  70. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +222 -0
  71. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +133 -0
  72. package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +124 -0
  73. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +6 -0
  74. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +4 -0
  75. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +5 -0
  76. package/dist/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +5 -0
  77. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +5 -0
  78. package/dist/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +24 -0
  79. package/dist/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +45 -0
  80. package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +26 -0
  81. package/dist/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +5 -0
  82. package/dist/node_modules/@babel/runtime/helpers/esm/callSuper.js +7 -0
  83. package/dist/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +6 -0
  84. package/dist/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +4 -0
  85. package/dist/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +10 -0
  86. package/dist/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +4 -0
  87. package/dist/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +7 -0
  88. package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +4 -0
  89. package/dist/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
  90. package/dist/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +4 -0
  91. package/dist/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +5 -0
  92. package/dist/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +4 -0
  93. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +7 -0
  94. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +7 -0
  95. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +5 -0
  96. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
  97. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +5 -0
  98. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +5 -0
  99. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
  100. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +5 -0
  101. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +5 -0
  102. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +5 -0
  103. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
  104. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +4 -0
  105. package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +5 -0
  106. package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +7 -0
  107. package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +7 -0
  108. package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +7 -0
  109. package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
  110. package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +4 -0
  111. package/dist/node_modules/@babel/runtime/helpers/esm/construct.js +10 -0
  112. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +13 -0
  113. package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +50 -0
  114. package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +19 -0
  115. package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +16 -0
  116. package/dist/node_modules/@babel/runtime/helpers/esm/decorate.js +250 -0
  117. package/dist/node_modules/@babel/runtime/helpers/esm/defaults.js +9 -0
  118. package/dist/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +8 -0
  119. package/dist/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +12 -0
  120. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +10 -0
  121. package/dist/node_modules/@babel/runtime/helpers/esm/dispose.js +28 -0
  122. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +10 -0
  123. package/dist/node_modules/@babel/runtime/helpers/esm/get.js +11 -0
  124. package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
  125. package/dist/node_modules/@babel/runtime/helpers/esm/identity.js +4 -0
  126. package/dist/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +27 -0
  127. package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +14 -0
  128. package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +5 -0
  129. package/dist/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
  130. package/dist/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +4 -0
  131. package/dist/node_modules/@babel/runtime/helpers/esm/instanceof.js +4 -0
  132. package/dist/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +6 -0
  133. package/dist/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +22 -0
  134. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +8 -0
  135. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +9 -0
  136. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +4 -0
  137. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +28 -0
  138. package/dist/node_modules/@babel/runtime/helpers/esm/jsx.js +22 -0
  139. package/dist/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
  140. package/dist/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +4 -0
  141. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +4 -0
  142. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +4 -0
  143. package/dist/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +4 -0
  144. package/dist/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +4 -0
  145. package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread.js +14 -0
  146. package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +23 -0
  147. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
  148. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
  149. package/dist/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
  150. package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +8 -0
  151. package/dist/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +4 -0
  152. package/dist/node_modules/@babel/runtime/helpers/esm/regenerator.js +89 -0
  153. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +8 -0
  154. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +6 -0
  155. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +33 -0
  156. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +22 -0
  157. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +10 -0
  158. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +77 -0
  159. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +19 -0
  160. package/dist/node_modules/@babel/runtime/helpers/esm/set.js +22 -0
  161. package/dist/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +12 -0
  162. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +6 -0
  163. package/dist/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
  164. package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +8 -0
  165. package/dist/node_modules/@babel/runtime/helpers/esm/superPropBase.js +6 -0
  166. package/dist/node_modules/@babel/runtime/helpers/esm/superPropGet.js +9 -0
  167. package/dist/node_modules/@babel/runtime/helpers/esm/superPropSet.js +6 -0
  168. package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +8 -0
  169. package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +4 -0
  170. package/dist/node_modules/@babel/runtime/helpers/esm/tdz.js +4 -0
  171. package/dist/node_modules/@babel/runtime/helpers/esm/temporalRef.js +6 -0
  172. package/dist/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +2 -0
  173. package/dist/node_modules/@babel/runtime/helpers/esm/toArray.js +8 -0
  174. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +8 -0
  175. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +12 -0
  176. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +7 -0
  177. package/dist/node_modules/@babel/runtime/helpers/esm/toSetter.js +10 -0
  178. package/dist/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +6 -0
  179. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +10 -0
  180. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
  181. package/dist/node_modules/@babel/runtime/helpers/esm/using.js +12 -0
  182. package/dist/node_modules/@babel/runtime/helpers/esm/usingCtx.js +59 -0
  183. package/dist/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +69 -0
  184. package/dist/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +27 -0
  185. package/dist/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +52 -0
  186. package/dist/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +4 -0
  187. package/dist/node_modules/@babel/runtime/helpers/extends.js +10 -0
  188. package/dist/node_modules/@babel/runtime/helpers/get.js +11 -0
  189. package/dist/node_modules/@babel/runtime/helpers/getPrototypeOf.js +6 -0
  190. package/dist/node_modules/@babel/runtime/helpers/identity.js +4 -0
  191. package/dist/node_modules/@babel/runtime/helpers/importDeferProxy.js +27 -0
  192. package/dist/node_modules/@babel/runtime/helpers/inherits.js +14 -0
  193. package/dist/node_modules/@babel/runtime/helpers/inheritsLoose.js +5 -0
  194. package/dist/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +9 -0
  195. package/dist/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +4 -0
  196. package/dist/node_modules/@babel/runtime/helpers/instanceof.js +4 -0
  197. package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.js +6 -0
  198. package/dist/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +22 -0
  199. package/dist/node_modules/@babel/runtime/helpers/isNativeFunction.js +8 -0
  200. package/dist/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +9 -0
  201. package/dist/node_modules/@babel/runtime/helpers/iterableToArray.js +4 -0
  202. package/dist/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +28 -0
  203. package/dist/node_modules/@babel/runtime/helpers/jsx.js +22 -0
  204. package/dist/node_modules/@babel/runtime/helpers/maybeArrayLike.js +9 -0
  205. package/dist/node_modules/@babel/runtime/helpers/newArrowCheck.js +4 -0
  206. package/dist/node_modules/@babel/runtime/helpers/nonIterableRest.js +4 -0
  207. package/dist/node_modules/@babel/runtime/helpers/nonIterableSpread.js +4 -0
  208. package/dist/node_modules/@babel/runtime/helpers/nullishReceiverError.js +4 -0
  209. package/dist/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +4 -0
  210. package/dist/node_modules/@babel/runtime/helpers/objectSpread.js +14 -0
  211. package/dist/node_modules/@babel/runtime/helpers/objectSpread2.js +23 -0
  212. package/dist/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +13 -0
  213. package/dist/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +10 -0
  214. package/dist/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +8 -0
  215. package/dist/node_modules/@babel/runtime/helpers/readOnlyError.js +4 -0
  216. package/dist/node_modules/@babel/runtime/helpers/regenerator.js +89 -0
  217. package/dist/node_modules/@babel/runtime/helpers/regeneratorAsync.js +8 -0
  218. package/dist/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +6 -0
  219. package/dist/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +33 -0
  220. package/dist/node_modules/@babel/runtime/helpers/regeneratorDefine.js +22 -0
  221. package/dist/node_modules/@babel/runtime/helpers/regeneratorKeys.js +10 -0
  222. package/dist/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +77 -0
  223. package/dist/node_modules/@babel/runtime/helpers/regeneratorValues.js +19 -0
  224. package/dist/node_modules/@babel/runtime/helpers/set.js +22 -0
  225. package/dist/node_modules/@babel/runtime/helpers/setFunctionName.js +12 -0
  226. package/dist/node_modules/@babel/runtime/helpers/setPrototypeOf.js +6 -0
  227. package/dist/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +7 -0
  228. package/dist/node_modules/@babel/runtime/helpers/slicedToArray.js +8 -0
  229. package/dist/node_modules/@babel/runtime/helpers/superPropBase.js +6 -0
  230. package/dist/node_modules/@babel/runtime/helpers/superPropGet.js +9 -0
  231. package/dist/node_modules/@babel/runtime/helpers/superPropSet.js +6 -0
  232. package/dist/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +8 -0
  233. package/dist/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +4 -0
  234. package/dist/node_modules/@babel/runtime/helpers/tdz.js +4 -0
  235. package/dist/node_modules/@babel/runtime/helpers/temporalRef.js +6 -0
  236. package/dist/node_modules/@babel/runtime/helpers/temporalUndefined.js +2 -0
  237. package/dist/node_modules/@babel/runtime/helpers/toArray.js +8 -0
  238. package/dist/node_modules/@babel/runtime/helpers/toConsumableArray.js +8 -0
  239. package/dist/node_modules/@babel/runtime/helpers/toPrimitive.js +12 -0
  240. package/dist/node_modules/@babel/runtime/helpers/toPropertyKey.js +7 -0
  241. package/dist/node_modules/@babel/runtime/helpers/toSetter.js +10 -0
  242. package/dist/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +6 -0
  243. package/dist/node_modules/@babel/runtime/helpers/typeof.js +10 -0
  244. package/dist/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +9 -0
  245. package/dist/node_modules/@babel/runtime/helpers/using.js +12 -0
  246. package/dist/node_modules/@babel/runtime/helpers/usingCtx.js +59 -0
  247. package/dist/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +69 -0
  248. package/dist/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +27 -0
  249. package/dist/node_modules/@babel/runtime/helpers/wrapRegExp.js +52 -0
  250. package/dist/node_modules/@babel/runtime/helpers/writeOnlyError.js +4 -0
  251. package/dist/node_modules/@babel/runtime/package.json +1107 -0
  252. package/dist/node_modules/@babel/runtime/regenerator/index.js +15 -0
  253. package/dist/node_modules/@protobufjs/aspromise/LICENSE +26 -0
  254. package/dist/node_modules/@protobufjs/aspromise/README.md +13 -0
  255. package/dist/node_modules/@protobufjs/aspromise/index.d.ts +13 -0
  256. package/dist/node_modules/@protobufjs/aspromise/index.js +52 -0
  257. package/dist/node_modules/@protobufjs/aspromise/package.json +21 -0
  258. package/dist/node_modules/@protobufjs/aspromise/tests/index.js +130 -0
  259. package/dist/node_modules/@protobufjs/base64/LICENSE +26 -0
  260. package/dist/node_modules/@protobufjs/base64/README.md +19 -0
  261. package/dist/node_modules/@protobufjs/base64/index.d.ts +32 -0
  262. package/dist/node_modules/@protobufjs/base64/index.js +139 -0
  263. package/dist/node_modules/@protobufjs/base64/package.json +21 -0
  264. package/dist/node_modules/@protobufjs/base64/tests/index.js +46 -0
  265. package/dist/node_modules/@protobufjs/codegen/LICENSE +26 -0
  266. package/dist/node_modules/@protobufjs/codegen/README.md +49 -0
  267. package/dist/node_modules/@protobufjs/codegen/index.d.ts +31 -0
  268. package/dist/node_modules/@protobufjs/codegen/index.js +99 -0
  269. package/dist/node_modules/@protobufjs/codegen/package.json +13 -0
  270. package/dist/node_modules/@protobufjs/codegen/tests/index.js +13 -0
  271. package/dist/node_modules/@protobufjs/eventemitter/LICENSE +26 -0
  272. package/dist/node_modules/@protobufjs/eventemitter/README.md +22 -0
  273. package/dist/node_modules/@protobufjs/eventemitter/index.d.ts +43 -0
  274. package/dist/node_modules/@protobufjs/eventemitter/index.js +76 -0
  275. package/dist/node_modules/@protobufjs/eventemitter/package.json +21 -0
  276. package/dist/node_modules/@protobufjs/eventemitter/tests/index.js +47 -0
  277. package/dist/node_modules/@protobufjs/fetch/LICENSE +26 -0
  278. package/dist/node_modules/@protobufjs/fetch/README.md +13 -0
  279. package/dist/node_modules/@protobufjs/fetch/index.d.ts +56 -0
  280. package/dist/node_modules/@protobufjs/fetch/index.js +115 -0
  281. package/dist/node_modules/@protobufjs/fetch/package.json +25 -0
  282. package/dist/node_modules/@protobufjs/fetch/tests/index.js +16 -0
  283. package/dist/node_modules/@protobufjs/float/LICENSE +26 -0
  284. package/dist/node_modules/@protobufjs/float/README.md +102 -0
  285. package/dist/node_modules/@protobufjs/float/bench/index.js +87 -0
  286. package/dist/node_modules/@protobufjs/float/bench/suite.js +46 -0
  287. package/dist/node_modules/@protobufjs/float/index.d.ts +83 -0
  288. package/dist/node_modules/@protobufjs/float/index.js +335 -0
  289. package/dist/node_modules/@protobufjs/float/package.json +26 -0
  290. package/dist/node_modules/@protobufjs/float/tests/index.js +100 -0
  291. package/dist/node_modules/@protobufjs/inquire/LICENSE +26 -0
  292. package/dist/node_modules/@protobufjs/inquire/README.md +13 -0
  293. package/dist/node_modules/@protobufjs/inquire/index.d.ts +9 -0
  294. package/dist/node_modules/@protobufjs/inquire/index.js +17 -0
  295. package/dist/node_modules/@protobufjs/inquire/package.json +21 -0
  296. package/dist/node_modules/@protobufjs/inquire/tests/data/array.js +1 -0
  297. package/dist/node_modules/@protobufjs/inquire/tests/data/emptyArray.js +1 -0
  298. package/dist/node_modules/@protobufjs/inquire/tests/data/emptyObject.js +1 -0
  299. package/dist/node_modules/@protobufjs/inquire/tests/data/object.js +1 -0
  300. package/dist/node_modules/@protobufjs/inquire/tests/index.js +20 -0
  301. package/dist/node_modules/@protobufjs/path/LICENSE +26 -0
  302. package/dist/node_modules/@protobufjs/path/README.md +19 -0
  303. package/dist/node_modules/@protobufjs/path/index.d.ts +22 -0
  304. package/dist/node_modules/@protobufjs/path/index.js +65 -0
  305. package/dist/node_modules/@protobufjs/path/package.json +21 -0
  306. package/dist/node_modules/@protobufjs/path/tests/index.js +60 -0
  307. package/dist/node_modules/@protobufjs/pool/LICENSE +26 -0
  308. package/dist/node_modules/@protobufjs/pool/README.md +13 -0
  309. package/dist/node_modules/@protobufjs/pool/index.d.ts +32 -0
  310. package/dist/node_modules/@protobufjs/pool/index.js +48 -0
  311. package/dist/node_modules/@protobufjs/pool/package.json +21 -0
  312. package/dist/node_modules/@protobufjs/pool/tests/index.js +33 -0
  313. package/dist/node_modules/@protobufjs/utf8/LICENSE +26 -0
  314. package/dist/node_modules/@protobufjs/utf8/README.md +20 -0
  315. package/dist/node_modules/@protobufjs/utf8/index.d.ts +24 -0
  316. package/dist/node_modules/@protobufjs/utf8/index.js +105 -0
  317. package/dist/node_modules/@protobufjs/utf8/package.json +21 -0
  318. package/dist/node_modules/@protobufjs/utf8/tests/data/utf8.txt +216 -0
  319. package/dist/node_modules/@protobufjs/utf8/tests/index.js +57 -0
  320. package/dist/node_modules/@types/node/LICENSE +21 -0
  321. package/dist/node_modules/@types/node/README.md +15 -0
  322. package/dist/node_modules/@types/node/assert/strict.d.ts +105 -0
  323. package/dist/node_modules/@types/node/assert.d.ts +955 -0
  324. package/dist/node_modules/@types/node/async_hooks.d.ts +623 -0
  325. package/dist/node_modules/@types/node/buffer.buffer.d.ts +466 -0
  326. package/dist/node_modules/@types/node/buffer.d.ts +1810 -0
  327. package/dist/node_modules/@types/node/child_process.d.ts +1428 -0
  328. package/dist/node_modules/@types/node/cluster.d.ts +486 -0
  329. package/dist/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  330. package/dist/node_modules/@types/node/console.d.ts +151 -0
  331. package/dist/node_modules/@types/node/constants.d.ts +20 -0
  332. package/dist/node_modules/@types/node/crypto.d.ts +4065 -0
  333. package/dist/node_modules/@types/node/dgram.d.ts +564 -0
  334. package/dist/node_modules/@types/node/diagnostics_channel.d.ts +576 -0
  335. package/dist/node_modules/@types/node/dns/promises.d.ts +503 -0
  336. package/dist/node_modules/@types/node/dns.d.ts +922 -0
  337. package/dist/node_modules/@types/node/domain.d.ts +166 -0
  338. package/dist/node_modules/@types/node/events.d.ts +1054 -0
  339. package/dist/node_modules/@types/node/fs/promises.d.ts +1329 -0
  340. package/dist/node_modules/@types/node/fs.d.ts +4676 -0
  341. package/dist/node_modules/@types/node/globals.d.ts +150 -0
  342. package/dist/node_modules/@types/node/globals.typedarray.d.ts +101 -0
  343. package/dist/node_modules/@types/node/http.d.ts +2143 -0
  344. package/dist/node_modules/@types/node/http2.d.ts +2480 -0
  345. package/dist/node_modules/@types/node/https.d.ts +399 -0
  346. package/dist/node_modules/@types/node/index.d.ts +115 -0
  347. package/dist/node_modules/@types/node/inspector/promises.d.ts +41 -0
  348. package/dist/node_modules/@types/node/inspector.d.ts +224 -0
  349. package/dist/node_modules/@types/node/inspector.generated.d.ts +4226 -0
  350. package/dist/node_modules/@types/node/module.d.ts +819 -0
  351. package/dist/node_modules/@types/node/net.d.ts +933 -0
  352. package/dist/node_modules/@types/node/os.d.ts +507 -0
  353. package/dist/node_modules/@types/node/package.json +155 -0
  354. package/dist/node_modules/@types/node/path/posix.d.ts +8 -0
  355. package/dist/node_modules/@types/node/path/win32.d.ts +8 -0
  356. package/dist/node_modules/@types/node/path.d.ts +187 -0
  357. package/dist/node_modules/@types/node/perf_hooks.d.ts +621 -0
  358. package/dist/node_modules/@types/node/process.d.ts +2111 -0
  359. package/dist/node_modules/@types/node/punycode.d.ts +117 -0
  360. package/dist/node_modules/@types/node/querystring.d.ts +152 -0
  361. package/dist/node_modules/@types/node/quic.d.ts +910 -0
  362. package/dist/node_modules/@types/node/readline/promises.d.ts +161 -0
  363. package/dist/node_modules/@types/node/readline.d.ts +541 -0
  364. package/dist/node_modules/@types/node/repl.d.ts +415 -0
  365. package/dist/node_modules/@types/node/sea.d.ts +162 -0
  366. package/dist/node_modules/@types/node/sqlite.d.ts +937 -0
  367. package/dist/node_modules/@types/node/stream/consumers.d.ts +38 -0
  368. package/dist/node_modules/@types/node/stream/promises.d.ts +211 -0
  369. package/dist/node_modules/@types/node/stream/web.d.ts +296 -0
  370. package/dist/node_modules/@types/node/stream.d.ts +1760 -0
  371. package/dist/node_modules/@types/node/string_decoder.d.ts +67 -0
  372. package/dist/node_modules/@types/node/test/reporters.d.ts +96 -0
  373. package/dist/node_modules/@types/node/test.d.ts +2239 -0
  374. package/dist/node_modules/@types/node/timers/promises.d.ts +108 -0
  375. package/dist/node_modules/@types/node/timers.d.ts +159 -0
  376. package/dist/node_modules/@types/node/tls.d.ts +1198 -0
  377. package/dist/node_modules/@types/node/trace_events.d.ts +197 -0
  378. package/dist/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +462 -0
  379. package/dist/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  380. package/dist/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
  381. package/dist/node_modules/@types/node/ts5.6/index.d.ts +117 -0
  382. package/dist/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  383. package/dist/node_modules/@types/node/ts5.7/index.d.ts +117 -0
  384. package/dist/node_modules/@types/node/tty.d.ts +250 -0
  385. package/dist/node_modules/@types/node/url.d.ts +519 -0
  386. package/dist/node_modules/@types/node/util/types.d.ts +558 -0
  387. package/dist/node_modules/@types/node/util.d.ts +1653 -0
  388. package/dist/node_modules/@types/node/v8.d.ts +979 -0
  389. package/dist/node_modules/@types/node/vm.d.ts +1180 -0
  390. package/dist/node_modules/@types/node/wasi.d.ts +202 -0
  391. package/dist/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
  392. package/dist/node_modules/@types/node/web-globals/blob.d.ts +23 -0
  393. package/dist/node_modules/@types/node/web-globals/console.d.ts +9 -0
  394. package/dist/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
  395. package/dist/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  396. package/dist/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
  397. package/dist/node_modules/@types/node/web-globals/events.d.ts +106 -0
  398. package/dist/node_modules/@types/node/web-globals/fetch.d.ts +54 -0
  399. package/dist/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
  400. package/dist/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
  401. package/dist/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
  402. package/dist/node_modules/@types/node/web-globals/performance.d.ts +45 -0
  403. package/dist/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  404. package/dist/node_modules/@types/node/web-globals/streams.d.ts +115 -0
  405. package/dist/node_modules/@types/node/web-globals/timers.d.ts +44 -0
  406. package/dist/node_modules/@types/node/web-globals/url.d.ts +24 -0
  407. package/dist/node_modules/@types/node/worker_threads.d.ts +717 -0
  408. package/dist/node_modules/@types/node/zlib.d.ts +618 -0
  409. package/dist/node_modules/@types/readable-stream/LICENSE +21 -0
  410. package/dist/node_modules/@types/readable-stream/README.md +15 -0
  411. package/dist/node_modules/@types/readable-stream/index.d.ts +686 -0
  412. package/dist/node_modules/@types/readable-stream/package.json +38 -0
  413. package/dist/node_modules/@types/ws/LICENSE +21 -0
  414. package/dist/node_modules/@types/ws/README.md +15 -0
  415. package/dist/node_modules/@types/ws/index.d.mts +451 -0
  416. package/dist/node_modules/@types/ws/index.d.ts +445 -0
  417. package/dist/node_modules/@types/ws/package.json +72 -0
  418. package/dist/node_modules/abort-controller/LICENSE +21 -0
  419. package/dist/node_modules/abort-controller/README.md +98 -0
  420. package/dist/node_modules/abort-controller/browser.js +13 -0
  421. package/dist/node_modules/abort-controller/browser.mjs +11 -0
  422. package/dist/node_modules/abort-controller/dist/abort-controller.d.ts +43 -0
  423. package/dist/node_modules/abort-controller/dist/abort-controller.js +127 -0
  424. package/dist/node_modules/abort-controller/dist/abort-controller.js.map +1 -0
  425. package/dist/node_modules/abort-controller/dist/abort-controller.mjs +118 -0
  426. package/dist/node_modules/abort-controller/dist/abort-controller.mjs.map +1 -0
  427. package/dist/node_modules/abort-controller/dist/abort-controller.umd.js +5 -0
  428. package/dist/node_modules/abort-controller/dist/abort-controller.umd.js.map +1 -0
  429. package/dist/node_modules/abort-controller/package.json +97 -0
  430. package/dist/node_modules/abort-controller/polyfill.js +21 -0
  431. package/dist/node_modules/abort-controller/polyfill.mjs +19 -0
  432. package/dist/node_modules/asynckit/LICENSE +21 -0
  433. package/dist/node_modules/asynckit/README.md +233 -0
  434. package/dist/node_modules/asynckit/bench.js +76 -0
  435. package/dist/node_modules/asynckit/index.js +6 -0
  436. package/dist/node_modules/asynckit/lib/abort.js +29 -0
  437. package/dist/node_modules/asynckit/lib/async.js +34 -0
  438. package/dist/node_modules/asynckit/lib/defer.js +26 -0
  439. package/dist/node_modules/asynckit/lib/iterate.js +75 -0
  440. package/dist/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  441. package/dist/node_modules/asynckit/lib/readable_parallel.js +25 -0
  442. package/dist/node_modules/asynckit/lib/readable_serial.js +25 -0
  443. package/dist/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  444. package/dist/node_modules/asynckit/lib/state.js +37 -0
  445. package/dist/node_modules/asynckit/lib/streamify.js +141 -0
  446. package/dist/node_modules/asynckit/lib/terminator.js +29 -0
  447. package/dist/node_modules/asynckit/package.json +63 -0
  448. package/dist/node_modules/asynckit/parallel.js +43 -0
  449. package/dist/node_modules/asynckit/serial.js +17 -0
  450. package/dist/node_modules/asynckit/serialOrdered.js +75 -0
  451. package/dist/node_modules/asynckit/stream.js +21 -0
  452. package/dist/node_modules/axios/CHANGELOG.md +1359 -0
  453. package/dist/node_modules/axios/LICENSE +7 -0
  454. package/dist/node_modules/axios/MIGRATION_GUIDE.md +3 -0
  455. package/dist/node_modules/axios/README.md +1784 -0
  456. package/dist/node_modules/axios/dist/axios.js +4471 -0
  457. package/dist/node_modules/axios/dist/axios.js.map +1 -0
  458. package/dist/node_modules/axios/dist/axios.min.js +3 -0
  459. package/dist/node_modules/axios/dist/axios.min.js.map +1 -0
  460. package/dist/node_modules/axios/dist/browser/axios.cjs +3909 -0
  461. package/dist/node_modules/axios/dist/browser/axios.cjs.map +1 -0
  462. package/dist/node_modules/axios/dist/esm/axios.js +3932 -0
  463. package/dist/node_modules/axios/dist/esm/axios.js.map +1 -0
  464. package/dist/node_modules/axios/dist/esm/axios.min.js +3 -0
  465. package/dist/node_modules/axios/dist/esm/axios.min.js.map +1 -0
  466. package/dist/node_modules/axios/dist/node/axios.cjs +5242 -0
  467. package/dist/node_modules/axios/dist/node/axios.cjs.map +1 -0
  468. package/dist/node_modules/axios/index.d.cts +572 -0
  469. package/dist/node_modules/axios/index.d.ts +585 -0
  470. package/dist/node_modules/axios/index.js +43 -0
  471. package/dist/node_modules/axios/lib/adapters/README.md +37 -0
  472. package/dist/node_modules/axios/lib/adapters/adapters.js +126 -0
  473. package/dist/node_modules/axios/lib/adapters/fetch.js +288 -0
  474. package/dist/node_modules/axios/lib/adapters/http.js +895 -0
  475. package/dist/node_modules/axios/lib/adapters/xhr.js +200 -0
  476. package/dist/node_modules/axios/lib/axios.js +89 -0
  477. package/dist/node_modules/axios/lib/cancel/CancelToken.js +135 -0
  478. package/dist/node_modules/axios/lib/cancel/CanceledError.js +25 -0
  479. package/dist/node_modules/axios/lib/cancel/isCancel.js +5 -0
  480. package/dist/node_modules/axios/lib/core/Axios.js +240 -0
  481. package/dist/node_modules/axios/lib/core/AxiosError.js +110 -0
  482. package/dist/node_modules/axios/lib/core/AxiosHeaders.js +314 -0
  483. package/dist/node_modules/axios/lib/core/InterceptorManager.js +71 -0
  484. package/dist/node_modules/axios/lib/core/README.md +8 -0
  485. package/dist/node_modules/axios/lib/core/buildFullPath.js +22 -0
  486. package/dist/node_modules/axios/lib/core/dispatchRequest.js +81 -0
  487. package/dist/node_modules/axios/lib/core/mergeConfig.js +106 -0
  488. package/dist/node_modules/axios/lib/core/settle.js +27 -0
  489. package/dist/node_modules/axios/lib/core/transformData.js +28 -0
  490. package/dist/node_modules/axios/lib/defaults/index.js +161 -0
  491. package/dist/node_modules/axios/lib/defaults/transitional.js +7 -0
  492. package/dist/node_modules/axios/lib/env/README.md +3 -0
  493. package/dist/node_modules/axios/lib/env/classes/FormData.js +2 -0
  494. package/dist/node_modules/axios/lib/env/data.js +1 -0
  495. package/dist/node_modules/axios/lib/helpers/AxiosTransformStream.js +143 -0
  496. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +58 -0
  497. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +77 -0
  498. package/dist/node_modules/axios/lib/helpers/README.md +7 -0
  499. package/dist/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +28 -0
  500. package/dist/node_modules/axios/lib/helpers/bind.js +14 -0
  501. package/dist/node_modules/axios/lib/helpers/buildURL.js +67 -0
  502. package/dist/node_modules/axios/lib/helpers/callbackify.js +16 -0
  503. package/dist/node_modules/axios/lib/helpers/combineURLs.js +15 -0
  504. package/dist/node_modules/axios/lib/helpers/composeSignals.js +48 -0
  505. package/dist/node_modules/axios/lib/helpers/cookies.js +53 -0
  506. package/dist/node_modules/axios/lib/helpers/deprecatedMethod.js +26 -0
  507. package/dist/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +73 -0
  508. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +95 -0
  509. package/dist/node_modules/axios/lib/helpers/formDataToStream.js +112 -0
  510. package/dist/node_modules/axios/lib/helpers/fromDataURI.js +53 -0
  511. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +15 -0
  512. package/dist/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
  513. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +14 -0
  514. package/dist/node_modules/axios/lib/helpers/null.js +2 -0
  515. package/dist/node_modules/axios/lib/helpers/parseHeaders.js +55 -0
  516. package/dist/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
  517. package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +44 -0
  518. package/dist/node_modules/axios/lib/helpers/readBlob.js +15 -0
  519. package/dist/node_modules/axios/lib/helpers/resolveConfig.js +61 -0
  520. package/dist/node_modules/axios/lib/helpers/speedometer.js +55 -0
  521. package/dist/node_modules/axios/lib/helpers/spread.js +28 -0
  522. package/dist/node_modules/axios/lib/helpers/throttle.js +44 -0
  523. package/dist/node_modules/axios/lib/helpers/toFormData.js +223 -0
  524. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
  525. package/dist/node_modules/axios/lib/helpers/trackStream.js +87 -0
  526. package/dist/node_modules/axios/lib/helpers/validator.js +99 -0
  527. package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
  528. package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
  529. package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
  530. package/dist/node_modules/axios/lib/platform/browser/index.js +13 -0
  531. package/dist/node_modules/axios/lib/platform/common/utils.js +51 -0
  532. package/dist/node_modules/axios/lib/platform/index.js +7 -0
  533. package/dist/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
  534. package/dist/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
  535. package/dist/node_modules/axios/lib/platform/node/index.js +38 -0
  536. package/dist/node_modules/axios/lib/utils.js +782 -0
  537. package/dist/node_modules/axios/package.json +239 -0
  538. package/dist/node_modules/base64-js/LICENSE +21 -0
  539. package/dist/node_modules/base64-js/README.md +34 -0
  540. package/dist/node_modules/base64-js/base64js.min.js +1 -0
  541. package/dist/node_modules/base64-js/index.d.ts +3 -0
  542. package/dist/node_modules/base64-js/index.js +150 -0
  543. package/dist/node_modules/base64-js/package.json +47 -0
  544. package/dist/node_modules/bl/.github/dependabot.yml +16 -0
  545. package/dist/node_modules/bl/.github/workflows/test-and-release.yml +61 -0
  546. package/dist/node_modules/bl/BufferList.d.ts +431 -0
  547. package/dist/node_modules/bl/BufferList.js +421 -0
  548. package/dist/node_modules/bl/CHANGELOG.md +221 -0
  549. package/dist/node_modules/bl/LICENSE.md +13 -0
  550. package/dist/node_modules/bl/README.md +259 -0
  551. package/dist/node_modules/bl/bl.js +84 -0
  552. package/dist/node_modules/bl/index.d.ts +88 -0
  553. package/dist/node_modules/bl/package.json +123 -0
  554. package/dist/node_modules/bl/test/convert.js +21 -0
  555. package/dist/node_modules/bl/test/indexOf.js +492 -0
  556. package/dist/node_modules/bl/test/isBufferList.js +32 -0
  557. package/dist/node_modules/bl/test/test.js +1032 -0
  558. package/dist/node_modules/broker-factory/LICENSE +21 -0
  559. package/dist/node_modules/broker-factory/README.md +5 -0
  560. package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.d.ts +9 -0
  561. package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.d.ts.map +1 -0
  562. package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.js +43 -0
  563. package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.js.map +1 -0
  564. package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.d.ts +8 -0
  565. package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.d.ts.map +1 -0
  566. package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.js +10 -0
  567. package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.js.map +1 -0
  568. package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.d.ts +5 -0
  569. package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.d.ts.map +1 -0
  570. package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.js +24 -0
  571. package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.js.map +1 -0
  572. package/dist/node_modules/broker-factory/build/es2019/guards/message-port.d.ts +2 -0
  573. package/dist/node_modules/broker-factory/build/es2019/guards/message-port.d.ts.map +1 -0
  574. package/dist/node_modules/broker-factory/build/es2019/guards/message-port.js +4 -0
  575. package/dist/node_modules/broker-factory/build/es2019/guards/message-port.js.map +1 -0
  576. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.d.ts +6 -0
  577. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.d.ts.map +1 -0
  578. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.js +2 -0
  579. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.js.map +1 -0
  580. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.d.ts +4 -0
  581. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.d.ts.map +1 -0
  582. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.js +2 -0
  583. package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.js.map +1 -0
  584. package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.d.ts +7 -0
  585. package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.d.ts.map +1 -0
  586. package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.js +2 -0
  587. package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.js.map +1 -0
  588. package/dist/node_modules/broker-factory/build/es2019/interfaces/index.d.ts +5 -0
  589. package/dist/node_modules/broker-factory/build/es2019/interfaces/index.d.ts.map +1 -0
  590. package/dist/node_modules/broker-factory/build/es2019/interfaces/index.js +5 -0
  591. package/dist/node_modules/broker-factory/build/es2019/interfaces/index.js.map +1 -0
  592. package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.d.ts +5 -0
  593. package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.d.ts.map +1 -0
  594. package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.js +2 -0
  595. package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.js.map +1 -0
  596. package/dist/node_modules/broker-factory/build/es2019/module.d.ts +4 -0
  597. package/dist/node_modules/broker-factory/build/es2019/module.d.ts.map +1 -0
  598. package/dist/node_modules/broker-factory/build/es2019/module.js +13 -0
  599. package/dist/node_modules/broker-factory/build/es2019/module.js.map +1 -0
  600. package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.d.ts +6 -0
  601. package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.d.ts.map +1 -0
  602. package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.js +2 -0
  603. package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.js.map +1 -0
  604. package/dist/node_modules/broker-factory/build/es2019/types/index.d.ts +2 -0
  605. package/dist/node_modules/broker-factory/build/es2019/types/index.d.ts.map +1 -0
  606. package/dist/node_modules/broker-factory/build/es2019/types/index.js +2 -0
  607. package/dist/node_modules/broker-factory/build/es2019/types/index.js.map +1 -0
  608. package/dist/node_modules/broker-factory/build/es5/bundle.js +166 -0
  609. package/dist/node_modules/broker-factory/package.json +69 -0
  610. package/dist/node_modules/broker-factory/src/factories/create-broker.ts +69 -0
  611. package/dist/node_modules/broker-factory/src/factories/create-or-get-ongoing-requests.ts +14 -0
  612. package/dist/node_modules/broker-factory/src/factories/extend-broker-implementation.ts +37 -0
  613. package/dist/node_modules/broker-factory/src/guards/message-port.ts +3 -0
  614. package/dist/node_modules/broker-factory/src/interfaces/broker-actions.ts +7 -0
  615. package/dist/node_modules/broker-factory/src/interfaces/broker-definition.ts +3 -0
  616. package/dist/node_modules/broker-factory/src/interfaces/default-broker-definition.ts +9 -0
  617. package/dist/node_modules/broker-factory/src/interfaces/index.ts +4 -0
  618. package/dist/node_modules/broker-factory/src/interfaces/worker-event.ts +5 -0
  619. package/dist/node_modules/broker-factory/src/module.ts +19 -0
  620. package/dist/node_modules/broker-factory/src/tsconfig.json +6 -0
  621. package/dist/node_modules/broker-factory/src/types/broker-implementation.ts +6 -0
  622. package/dist/node_modules/broker-factory/src/types/index.ts +1 -0
  623. package/dist/node_modules/buffer/AUTHORS.md +73 -0
  624. package/dist/node_modules/buffer/LICENSE +21 -0
  625. package/dist/node_modules/buffer/README.md +410 -0
  626. package/dist/node_modules/buffer/index.d.ts +194 -0
  627. package/dist/node_modules/buffer/index.js +2106 -0
  628. package/dist/node_modules/buffer/package.json +93 -0
  629. package/dist/node_modules/buffer-from/LICENSE +21 -0
  630. package/dist/node_modules/buffer-from/index.js +72 -0
  631. package/dist/node_modules/buffer-from/package.json +19 -0
  632. package/dist/node_modules/buffer-from/readme.md +69 -0
  633. package/dist/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  634. package/dist/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  635. package/dist/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  636. package/dist/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  637. package/dist/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  638. package/dist/node_modules/call-bind-apply-helpers/README.md +62 -0
  639. package/dist/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  640. package/dist/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  641. package/dist/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  642. package/dist/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  643. package/dist/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  644. package/dist/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  645. package/dist/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  646. package/dist/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  647. package/dist/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  648. package/dist/node_modules/call-bind-apply-helpers/index.js +15 -0
  649. package/dist/node_modules/call-bind-apply-helpers/package.json +85 -0
  650. package/dist/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  651. package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  652. package/dist/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  653. package/dist/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  654. package/dist/node_modules/chance/.eslintignore +4 -0
  655. package/dist/node_modules/chance/.eslintrc.js +280 -0
  656. package/dist/node_modules/chance/.github/pull_request_template.md +24 -0
  657. package/dist/node_modules/chance/.github/workflows/coverage.yml +24 -0
  658. package/dist/node_modules/chance/.github/workflows/docs.yml +34 -0
  659. package/dist/node_modules/chance/.github/workflows/lint.yml +18 -0
  660. package/dist/node_modules/chance/.github/workflows/publish.yml +53 -0
  661. package/dist/node_modules/chance/.github/workflows/tests.yml +23 -0
  662. package/dist/node_modules/chance/LICENSE +21 -0
  663. package/dist/node_modules/chance/README.md +61 -0
  664. package/dist/node_modules/chance/chance.js +11698 -0
  665. package/dist/node_modules/chance/dist/chance.min.js +2 -0
  666. package/dist/node_modules/chance/dist/chance.min.js.map +1 -0
  667. package/dist/node_modules/chance/docs/CNAME +1 -0
  668. package/dist/node_modules/chance/docs/README.md +127 -0
  669. package/dist/node_modules/chance/docs/analytics.js +3 -0
  670. package/dist/node_modules/chance/docs/basics/bool.md +24 -0
  671. package/dist/node_modules/chance/docs/basics/character.md +65 -0
  672. package/dist/node_modules/chance/docs/basics/falsy.md +22 -0
  673. package/dist/node_modules/chance/docs/basics/floating.md +44 -0
  674. package/dist/node_modules/chance/docs/basics/integer.md +42 -0
  675. package/dist/node_modules/chance/docs/basics/letter.md +25 -0
  676. package/dist/node_modules/chance/docs/basics/natural.md +47 -0
  677. package/dist/node_modules/chance/docs/basics/prime.md +41 -0
  678. package/dist/node_modules/chance/docs/basics/string.md +77 -0
  679. package/dist/node_modules/chance/docs/basics/template.md +27 -0
  680. package/dist/node_modules/chance/docs/chance.css +108 -0
  681. package/dist/node_modules/chance/docs/chance.js +7493 -0
  682. package/dist/node_modules/chance/docs/chance.min.js +5 -0
  683. package/dist/node_modules/chance/docs/chance.min.js.map +1 -0
  684. package/dist/node_modules/chance/docs/finance/cc.md +37 -0
  685. package/dist/node_modules/chance/docs/finance/cc_type.md +42 -0
  686. package/dist/node_modules/chance/docs/finance/currency.md +13 -0
  687. package/dist/node_modules/chance/docs/finance/currency_pair.md +13 -0
  688. package/dist/node_modules/chance/docs/finance/dollar.md +30 -0
  689. package/dist/node_modules/chance/docs/finance/euro.md +28 -0
  690. package/dist/node_modules/chance/docs/finance/exp.md +21 -0
  691. package/dist/node_modules/chance/docs/finance/exp_month.md +28 -0
  692. package/dist/node_modules/chance/docs/finance/exp_year.md +15 -0
  693. package/dist/node_modules/chance/docs/helpers/capitalize.md +13 -0
  694. package/dist/node_modules/chance/docs/helpers/mixin.md +90 -0
  695. package/dist/node_modules/chance/docs/helpers/pad.md +40 -0
  696. package/dist/node_modules/chance/docs/helpers/pick.md +9 -0
  697. package/dist/node_modules/chance/docs/helpers/pickone.md +13 -0
  698. package/dist/node_modules/chance/docs/helpers/pickset.md +20 -0
  699. package/dist/node_modules/chance/docs/helpers/set.md +23 -0
  700. package/dist/node_modules/chance/docs/helpers/shuffle.md +13 -0
  701. package/dist/node_modules/chance/docs/inspector.png +0 -0
  702. package/dist/node_modules/chance/docs/intro.md +56 -0
  703. package/dist/node_modules/chance/docs/location/address.md +21 -0
  704. package/dist/node_modules/chance/docs/location/altitude.md +29 -0
  705. package/dist/node_modules/chance/docs/location/areacode.md +16 -0
  706. package/dist/node_modules/chance/docs/location/city.md +13 -0
  707. package/dist/node_modules/chance/docs/location/coordinates.md +34 -0
  708. package/dist/node_modules/chance/docs/location/country.md +23 -0
  709. package/dist/node_modules/chance/docs/location/depth.md +29 -0
  710. package/dist/node_modules/chance/docs/location/geohash.md +21 -0
  711. package/dist/node_modules/chance/docs/location/latitude.md +43 -0
  712. package/dist/node_modules/chance/docs/location/locale.md +25 -0
  713. package/dist/node_modules/chance/docs/location/longitude.md +43 -0
  714. package/dist/node_modules/chance/docs/location/phone.md +48 -0
  715. package/dist/node_modules/chance/docs/location/postal.md +13 -0
  716. package/dist/node_modules/chance/docs/location/postcode.md +13 -0
  717. package/dist/node_modules/chance/docs/location/province.md +33 -0
  718. package/dist/node_modules/chance/docs/location/state.md +62 -0
  719. package/dist/node_modules/chance/docs/location/street.md +37 -0
  720. package/dist/node_modules/chance/docs/location/zip.md +23 -0
  721. package/dist/node_modules/chance/docs/logo.png +0 -0
  722. package/dist/node_modules/chance/docs/miscellaneous/coin.md +16 -0
  723. package/dist/node_modules/chance/docs/miscellaneous/dice.md +29 -0
  724. package/dist/node_modules/chance/docs/miscellaneous/fileWithContent.md +36 -0
  725. package/dist/node_modules/chance/docs/miscellaneous/guid.md +16 -0
  726. package/dist/node_modules/chance/docs/miscellaneous/hash.md +35 -0
  727. package/dist/node_modules/chance/docs/miscellaneous/hidden.md +59 -0
  728. package/dist/node_modules/chance/docs/miscellaneous/n.md +35 -0
  729. package/dist/node_modules/chance/docs/miscellaneous/normal.md +35 -0
  730. package/dist/node_modules/chance/docs/miscellaneous/radio.md +27 -0
  731. package/dist/node_modules/chance/docs/miscellaneous/rpg.md +25 -0
  732. package/dist/node_modules/chance/docs/miscellaneous/tv.md +25 -0
  733. package/dist/node_modules/chance/docs/miscellaneous/unique.md +47 -0
  734. package/dist/node_modules/chance/docs/miscellaneous/weighted.md +55 -0
  735. package/dist/node_modules/chance/docs/mobile/android_id.md +13 -0
  736. package/dist/node_modules/chance/docs/mobile/apple_token.md +13 -0
  737. package/dist/node_modules/chance/docs/mobile/bb_pin.md +13 -0
  738. package/dist/node_modules/chance/docs/mobile/wp7_anid.md +13 -0
  739. package/dist/node_modules/chance/docs/mobile/wp8_anid2.md +13 -0
  740. package/dist/node_modules/chance/docs/music/music_genre.md +43 -0
  741. package/dist/node_modules/chance/docs/music/note.md +33 -0
  742. package/dist/node_modules/chance/docs/music/tempo.md +24 -0
  743. package/dist/node_modules/chance/docs/person/aadhar.md +31 -0
  744. package/dist/node_modules/chance/docs/person/age.md +25 -0
  745. package/dist/node_modules/chance/docs/person/birthday.md +63 -0
  746. package/dist/node_modules/chance/docs/person/cf.md +23 -0
  747. package/dist/node_modules/chance/docs/person/cpf.md +20 -0
  748. package/dist/node_modules/chance/docs/person/first.md +31 -0
  749. package/dist/node_modules/chance/docs/person/gender.md +21 -0
  750. package/dist/node_modules/chance/docs/person/last.md +23 -0
  751. package/dist/node_modules/chance/docs/person/name.md +63 -0
  752. package/dist/node_modules/chance/docs/person/prefix.md +35 -0
  753. package/dist/node_modules/chance/docs/person/ssn.md +29 -0
  754. package/dist/node_modules/chance/docs/person/suffix.md +25 -0
  755. package/dist/node_modules/chance/docs/person/zodiac.md +12 -0
  756. package/dist/node_modules/chance/docs/text/emoji.md +39 -0
  757. package/dist/node_modules/chance/docs/text/paragraph.md +39 -0
  758. package/dist/node_modules/chance/docs/text/sentence.md +28 -0
  759. package/dist/node_modules/chance/docs/text/syllable.md +18 -0
  760. package/dist/node_modules/chance/docs/text/word.md +54 -0
  761. package/dist/node_modules/chance/docs/thing/animal.md +25 -0
  762. package/dist/node_modules/chance/docs/time/ampm.md +13 -0
  763. package/dist/node_modules/chance/docs/time/date.md +66 -0
  764. package/dist/node_modules/chance/docs/time/hammertime.md +25 -0
  765. package/dist/node_modules/chance/docs/time/hour.md +27 -0
  766. package/dist/node_modules/chance/docs/time/millisecond.md +15 -0
  767. package/dist/node_modules/chance/docs/time/minute.md +15 -0
  768. package/dist/node_modules/chance/docs/time/month.md +23 -0
  769. package/dist/node_modules/chance/docs/time/second.md +15 -0
  770. package/dist/node_modules/chance/docs/time/timestamp.md +14 -0
  771. package/dist/node_modules/chance/docs/time/timezone.md +20 -0
  772. package/dist/node_modules/chance/docs/time/weekday.md +16 -0
  773. package/dist/node_modules/chance/docs/time/year.md +31 -0
  774. package/dist/node_modules/chance/docs/usage/bower.md +19 -0
  775. package/dist/node_modules/chance/docs/usage/browser.md +58 -0
  776. package/dist/node_modules/chance/docs/usage/cli.md +19 -0
  777. package/dist/node_modules/chance/docs/usage/function.md +22 -0
  778. package/dist/node_modules/chance/docs/usage/node.md +50 -0
  779. package/dist/node_modules/chance/docs/usage/requirejs.md +13 -0
  780. package/dist/node_modules/chance/docs/usage/seed.md +49 -0
  781. package/dist/node_modules/chance/docs/web/avatar.md +42 -0
  782. package/dist/node_modules/chance/docs/web/color.md +54 -0
  783. package/dist/node_modules/chance/docs/web/company.md +13 -0
  784. package/dist/node_modules/chance/docs/web/domain.md +22 -0
  785. package/dist/node_modules/chance/docs/web/email.md +21 -0
  786. package/dist/node_modules/chance/docs/web/fbid.md +13 -0
  787. package/dist/node_modules/chance/docs/web/google_analytics.md +13 -0
  788. package/dist/node_modules/chance/docs/web/hashtag.md +13 -0
  789. package/dist/node_modules/chance/docs/web/ip.md +14 -0
  790. package/dist/node_modules/chance/docs/web/ipv6.md +14 -0
  791. package/dist/node_modules/chance/docs/web/klout.md +13 -0
  792. package/dist/node_modules/chance/docs/web/mac.md +22 -0
  793. package/dist/node_modules/chance/docs/web/profession.md +21 -0
  794. package/dist/node_modules/chance/docs/web/tld.md +16 -0
  795. package/dist/node_modules/chance/docs/web/twitter.md +13 -0
  796. package/dist/node_modules/chance/docs/web/url.md +53 -0
  797. package/dist/node_modules/chance/gulpfile.js +49 -0
  798. package/dist/node_modules/chance/package.json +69 -0
  799. package/dist/node_modules/chance/test/helpers/phoneNumber.min.js +6 -0
  800. package/dist/node_modules/chance/test/test.address.js +756 -0
  801. package/dist/node_modules/chance/test/test.animal.js +40 -0
  802. package/dist/node_modules/chance/test/test.basic.js +574 -0
  803. package/dist/node_modules/chance/test/test.buffer.js +31 -0
  804. package/dist/node_modules/chance/test/test.company.js +15 -0
  805. package/dist/node_modules/chance/test/test.file.js +116 -0
  806. package/dist/node_modules/chance/test/test.fileWithContent.js +54 -0
  807. package/dist/node_modules/chance/test/test.finance.js +220 -0
  808. package/dist/node_modules/chance/test/test.helpers.js +433 -0
  809. package/dist/node_modules/chance/test/test.misc.js +298 -0
  810. package/dist/node_modules/chance/test/test.mobile.js +29 -0
  811. package/dist/node_modules/chance/test/test.music.js +98 -0
  812. package/dist/node_modules/chance/test/test.normal.js +114 -0
  813. package/dist/node_modules/chance/test/test.person.js +507 -0
  814. package/dist/node_modules/chance/test/test.regional.js +116 -0
  815. package/dist/node_modules/chance/test/test.text.js +160 -0
  816. package/dist/node_modules/chance/test/test.time.js +300 -0
  817. package/dist/node_modules/chance/test/test.web.js +618 -0
  818. package/dist/node_modules/combined-stream/License +19 -0
  819. package/dist/node_modules/combined-stream/Readme.md +138 -0
  820. package/dist/node_modules/combined-stream/lib/combined_stream.js +208 -0
  821. package/dist/node_modules/combined-stream/package.json +25 -0
  822. package/dist/node_modules/combined-stream/yarn.lock +17 -0
  823. package/dist/node_modules/commist/.github/workflows/ci.yml +27 -0
  824. package/dist/node_modules/commist/LICENSE +21 -0
  825. package/dist/node_modules/commist/README.md +113 -0
  826. package/dist/node_modules/commist/example.js +26 -0
  827. package/dist/node_modules/commist/index.js +155 -0
  828. package/dist/node_modules/commist/leven.js +91 -0
  829. package/dist/node_modules/commist/package.json +28 -0
  830. package/dist/node_modules/commist/test.js +368 -0
  831. package/dist/node_modules/concat-stream/LICENSE +24 -0
  832. package/dist/node_modules/concat-stream/index.js +144 -0
  833. package/dist/node_modules/concat-stream/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  834. package/dist/node_modules/concat-stream/node_modules/readable-stream/GOVERNANCE.md +136 -0
  835. package/dist/node_modules/concat-stream/node_modules/readable-stream/LICENSE +47 -0
  836. package/dist/node_modules/concat-stream/node_modules/readable-stream/README.md +106 -0
  837. package/dist/node_modules/concat-stream/node_modules/readable-stream/errors-browser.js +127 -0
  838. package/dist/node_modules/concat-stream/node_modules/readable-stream/errors.js +116 -0
  839. package/dist/node_modules/concat-stream/node_modules/readable-stream/experimentalWarning.js +17 -0
  840. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
  841. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
  842. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_readable.js +1027 -0
  843. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_transform.js +190 -0
  844. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js +641 -0
  845. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/async_iterator.js +180 -0
  846. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js +183 -0
  847. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/destroy.js +96 -0
  848. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
  849. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
  850. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
  851. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
  852. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
  853. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  854. package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  855. package/dist/node_modules/concat-stream/node_modules/readable-stream/package.json +68 -0
  856. package/dist/node_modules/concat-stream/node_modules/readable-stream/readable-browser.js +9 -0
  857. package/dist/node_modules/concat-stream/node_modules/readable-stream/readable.js +16 -0
  858. package/dist/node_modules/concat-stream/package.json +55 -0
  859. package/dist/node_modules/concat-stream/readme.md +102 -0
  860. package/dist/node_modules/crypto/README.md +7 -0
  861. package/dist/node_modules/crypto/package.json +19 -0
  862. package/dist/node_modules/data-uri-to-buffer/README.md +88 -0
  863. package/dist/node_modules/data-uri-to-buffer/dist/index.d.ts +15 -0
  864. package/dist/node_modules/data-uri-to-buffer/dist/index.js +53 -0
  865. package/dist/node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
  866. package/dist/node_modules/data-uri-to-buffer/package.json +62 -0
  867. package/dist/node_modules/data-uri-to-buffer/src/index.ts +68 -0
  868. package/dist/node_modules/debug/LICENSE +20 -0
  869. package/dist/node_modules/debug/README.md +481 -0
  870. package/dist/node_modules/debug/package.json +64 -0
  871. package/dist/node_modules/debug/src/browser.js +272 -0
  872. package/dist/node_modules/debug/src/common.js +292 -0
  873. package/dist/node_modules/debug/src/index.js +10 -0
  874. package/dist/node_modules/debug/src/node.js +263 -0
  875. package/dist/node_modules/delayed-stream/License +19 -0
  876. package/dist/node_modules/delayed-stream/Makefile +7 -0
  877. package/dist/node_modules/delayed-stream/Readme.md +141 -0
  878. package/dist/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  879. package/dist/node_modules/delayed-stream/package.json +27 -0
  880. package/dist/node_modules/dunder-proto/.eslintrc +5 -0
  881. package/dist/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  882. package/dist/node_modules/dunder-proto/.nycrc +13 -0
  883. package/dist/node_modules/dunder-proto/CHANGELOG.md +24 -0
  884. package/dist/node_modules/dunder-proto/LICENSE +21 -0
  885. package/dist/node_modules/dunder-proto/README.md +54 -0
  886. package/dist/node_modules/dunder-proto/get.d.ts +5 -0
  887. package/dist/node_modules/dunder-proto/get.js +30 -0
  888. package/dist/node_modules/dunder-proto/package.json +76 -0
  889. package/dist/node_modules/dunder-proto/set.d.ts +5 -0
  890. package/dist/node_modules/dunder-proto/set.js +35 -0
  891. package/dist/node_modules/dunder-proto/test/get.js +34 -0
  892. package/dist/node_modules/dunder-proto/test/index.js +4 -0
  893. package/dist/node_modules/dunder-proto/test/set.js +50 -0
  894. package/dist/node_modules/dunder-proto/tsconfig.json +9 -0
  895. package/dist/node_modules/es-define-property/.eslintrc +13 -0
  896. package/dist/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  897. package/dist/node_modules/es-define-property/.nycrc +9 -0
  898. package/dist/node_modules/es-define-property/CHANGELOG.md +29 -0
  899. package/dist/node_modules/es-define-property/LICENSE +21 -0
  900. package/dist/node_modules/es-define-property/README.md +49 -0
  901. package/dist/node_modules/es-define-property/index.d.ts +3 -0
  902. package/dist/node_modules/es-define-property/index.js +14 -0
  903. package/dist/node_modules/es-define-property/package.json +81 -0
  904. package/dist/node_modules/es-define-property/test/index.js +56 -0
  905. package/dist/node_modules/es-define-property/tsconfig.json +10 -0
  906. package/dist/node_modules/es-errors/.eslintrc +5 -0
  907. package/dist/node_modules/es-errors/.github/FUNDING.yml +12 -0
  908. package/dist/node_modules/es-errors/CHANGELOG.md +40 -0
  909. package/dist/node_modules/es-errors/LICENSE +21 -0
  910. package/dist/node_modules/es-errors/README.md +55 -0
  911. package/dist/node_modules/es-errors/eval.d.ts +3 -0
  912. package/dist/node_modules/es-errors/eval.js +4 -0
  913. package/dist/node_modules/es-errors/index.d.ts +3 -0
  914. package/dist/node_modules/es-errors/index.js +4 -0
  915. package/dist/node_modules/es-errors/package.json +80 -0
  916. package/dist/node_modules/es-errors/range.d.ts +3 -0
  917. package/dist/node_modules/es-errors/range.js +4 -0
  918. package/dist/node_modules/es-errors/ref.d.ts +3 -0
  919. package/dist/node_modules/es-errors/ref.js +4 -0
  920. package/dist/node_modules/es-errors/syntax.d.ts +3 -0
  921. package/dist/node_modules/es-errors/syntax.js +4 -0
  922. package/dist/node_modules/es-errors/test/index.js +19 -0
  923. package/dist/node_modules/es-errors/tsconfig.json +49 -0
  924. package/dist/node_modules/es-errors/type.d.ts +3 -0
  925. package/dist/node_modules/es-errors/type.js +4 -0
  926. package/dist/node_modules/es-errors/uri.d.ts +3 -0
  927. package/dist/node_modules/es-errors/uri.js +4 -0
  928. package/dist/node_modules/es-object-atoms/.eslintrc +16 -0
  929. package/dist/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  930. package/dist/node_modules/es-object-atoms/CHANGELOG.md +37 -0
  931. package/dist/node_modules/es-object-atoms/LICENSE +21 -0
  932. package/dist/node_modules/es-object-atoms/README.md +63 -0
  933. package/dist/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  934. package/dist/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  935. package/dist/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  936. package/dist/node_modules/es-object-atoms/ToObject.js +10 -0
  937. package/dist/node_modules/es-object-atoms/index.d.ts +3 -0
  938. package/dist/node_modules/es-object-atoms/index.js +4 -0
  939. package/dist/node_modules/es-object-atoms/isObject.d.ts +3 -0
  940. package/dist/node_modules/es-object-atoms/isObject.js +6 -0
  941. package/dist/node_modules/es-object-atoms/package.json +80 -0
  942. package/dist/node_modules/es-object-atoms/test/index.js +38 -0
  943. package/dist/node_modules/es-object-atoms/tsconfig.json +6 -0
  944. package/dist/node_modules/es-set-tostringtag/.eslintrc +13 -0
  945. package/dist/node_modules/es-set-tostringtag/.nycrc +9 -0
  946. package/dist/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
  947. package/dist/node_modules/es-set-tostringtag/LICENSE +21 -0
  948. package/dist/node_modules/es-set-tostringtag/README.md +53 -0
  949. package/dist/node_modules/es-set-tostringtag/index.d.ts +10 -0
  950. package/dist/node_modules/es-set-tostringtag/index.js +35 -0
  951. package/dist/node_modules/es-set-tostringtag/package.json +78 -0
  952. package/dist/node_modules/es-set-tostringtag/test/index.js +85 -0
  953. package/dist/node_modules/es-set-tostringtag/tsconfig.json +9 -0
  954. package/dist/node_modules/event-target-shim/LICENSE +22 -0
  955. package/dist/node_modules/event-target-shim/README.md +293 -0
  956. package/dist/node_modules/event-target-shim/dist/event-target-shim.js +871 -0
  957. package/dist/node_modules/event-target-shim/dist/event-target-shim.js.map +1 -0
  958. package/dist/node_modules/event-target-shim/dist/event-target-shim.mjs +862 -0
  959. package/dist/node_modules/event-target-shim/dist/event-target-shim.mjs.map +1 -0
  960. package/dist/node_modules/event-target-shim/dist/event-target-shim.umd.js +6 -0
  961. package/dist/node_modules/event-target-shim/dist/event-target-shim.umd.js.map +1 -0
  962. package/dist/node_modules/event-target-shim/index.d.ts +399 -0
  963. package/dist/node_modules/event-target-shim/package.json +82 -0
  964. package/dist/node_modules/eventemitter3/LICENSE +21 -0
  965. package/dist/node_modules/eventemitter3/README.md +94 -0
  966. package/dist/node_modules/eventemitter3/dist/eventemitter3.esm.js +347 -0
  967. package/dist/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +1 -0
  968. package/dist/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +1 -0
  969. package/dist/node_modules/eventemitter3/dist/eventemitter3.umd.js +355 -0
  970. package/dist/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +1 -0
  971. package/dist/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +1 -0
  972. package/dist/node_modules/eventemitter3/index.d.ts +135 -0
  973. package/dist/node_modules/eventemitter3/index.js +336 -0
  974. package/dist/node_modules/eventemitter3/index.mjs +4 -0
  975. package/dist/node_modules/eventemitter3/package.json +67 -0
  976. package/dist/node_modules/events/.airtap.yml +15 -0
  977. package/dist/node_modules/events/.github/FUNDING.yml +12 -0
  978. package/dist/node_modules/events/.travis.yml +18 -0
  979. package/dist/node_modules/events/History.md +118 -0
  980. package/dist/node_modules/events/LICENSE +22 -0
  981. package/dist/node_modules/events/Readme.md +50 -0
  982. package/dist/node_modules/events/events.js +497 -0
  983. package/dist/node_modules/events/package.json +37 -0
  984. package/dist/node_modules/events/security.md +10 -0
  985. package/dist/node_modules/events/tests/add-listeners.js +111 -0
  986. package/dist/node_modules/events/tests/check-listener-leaks.js +101 -0
  987. package/dist/node_modules/events/tests/common.js +104 -0
  988. package/dist/node_modules/events/tests/errors.js +13 -0
  989. package/dist/node_modules/events/tests/events-list.js +28 -0
  990. package/dist/node_modules/events/tests/events-once.js +234 -0
  991. package/dist/node_modules/events/tests/index.js +64 -0
  992. package/dist/node_modules/events/tests/legacy-compat.js +16 -0
  993. package/dist/node_modules/events/tests/listener-count.js +37 -0
  994. package/dist/node_modules/events/tests/listeners-side-effects.js +56 -0
  995. package/dist/node_modules/events/tests/listeners.js +168 -0
  996. package/dist/node_modules/events/tests/max-listeners.js +47 -0
  997. package/dist/node_modules/events/tests/method-names.js +35 -0
  998. package/dist/node_modules/events/tests/modify-in-emit.js +90 -0
  999. package/dist/node_modules/events/tests/num-args.js +60 -0
  1000. package/dist/node_modules/events/tests/once.js +83 -0
  1001. package/dist/node_modules/events/tests/prepend.js +31 -0
  1002. package/dist/node_modules/events/tests/remove-all-listeners.js +133 -0
  1003. package/dist/node_modules/events/tests/remove-listeners.js +212 -0
  1004. package/dist/node_modules/events/tests/set-max-listeners-side-effects.js +31 -0
  1005. package/dist/node_modules/events/tests/special-event-names.js +45 -0
  1006. package/dist/node_modules/events/tests/subclass.js +66 -0
  1007. package/dist/node_modules/events/tests/symbols.js +25 -0
  1008. package/dist/node_modules/fast-unique-numbers/LICENSE +21 -0
  1009. package/dist/node_modules/fast-unique-numbers/README.md +55 -0
  1010. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.d.ts +3 -0
  1011. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.d.ts.map +1 -0
  1012. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.js +8 -0
  1013. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.js.map +1 -0
  1014. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.d.ts +2 -0
  1015. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.d.ts.map +1 -0
  1016. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.js +7 -0
  1017. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.js.map +1 -0
  1018. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.d.ts +3 -0
  1019. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.d.ts.map +1 -0
  1020. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.js +46 -0
  1021. package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.js.map +1 -0
  1022. package/dist/node_modules/fast-unique-numbers/build/es2019/module.d.ts +4 -0
  1023. package/dist/node_modules/fast-unique-numbers/build/es2019/module.d.ts.map +1 -0
  1024. package/dist/node_modules/fast-unique-numbers/build/es2019/module.js +9 -0
  1025. package/dist/node_modules/fast-unique-numbers/build/es2019/module.js.map +1 -0
  1026. package/dist/node_modules/fast-unique-numbers/build/es5/bundle.js +76 -0
  1027. package/dist/node_modules/fast-unique-numbers/build/node/factories/add-unique-number.js +14 -0
  1028. package/dist/node_modules/fast-unique-numbers/build/node/factories/cache.js +13 -0
  1029. package/dist/node_modules/fast-unique-numbers/build/node/factories/generate-unique-number.js +52 -0
  1030. package/dist/node_modules/fast-unique-numbers/build/node/module.js +13 -0
  1031. package/dist/node_modules/fast-unique-numbers/package.json +95 -0
  1032. package/dist/node_modules/fast-unique-numbers/src/factories/add-unique-number.ts +11 -0
  1033. package/dist/node_modules/fast-unique-numbers/src/factories/cache.ts +7 -0
  1034. package/dist/node_modules/fast-unique-numbers/src/factories/generate-unique-number.ts +58 -0
  1035. package/dist/node_modules/fast-unique-numbers/src/module.ts +11 -0
  1036. package/dist/node_modules/fast-unique-numbers/src/tsconfig.json +6 -0
  1037. package/dist/node_modules/fetch-blob/LICENSE +21 -0
  1038. package/dist/node_modules/fetch-blob/README.md +106 -0
  1039. package/dist/node_modules/fetch-blob/file.d.ts +2 -0
  1040. package/dist/node_modules/fetch-blob/file.js +49 -0
  1041. package/dist/node_modules/fetch-blob/from.d.ts +26 -0
  1042. package/dist/node_modules/fetch-blob/from.js +100 -0
  1043. package/dist/node_modules/fetch-blob/index.d.ts +3 -0
  1044. package/dist/node_modules/fetch-blob/index.js +250 -0
  1045. package/dist/node_modules/fetch-blob/package.json +56 -0
  1046. package/dist/node_modules/fetch-blob/streams.cjs +51 -0
  1047. package/dist/node_modules/follow-redirects/LICENSE +18 -0
  1048. package/dist/node_modules/follow-redirects/README.md +155 -0
  1049. package/dist/node_modules/follow-redirects/debug.js +15 -0
  1050. package/dist/node_modules/follow-redirects/http.js +1 -0
  1051. package/dist/node_modules/follow-redirects/https.js +1 -0
  1052. package/dist/node_modules/follow-redirects/index.js +686 -0
  1053. package/dist/node_modules/follow-redirects/package.json +58 -0
  1054. package/dist/node_modules/form-data/CHANGELOG.md +659 -0
  1055. package/dist/node_modules/form-data/License +19 -0
  1056. package/dist/node_modules/form-data/README.md +355 -0
  1057. package/dist/node_modules/form-data/index.d.ts +62 -0
  1058. package/dist/node_modules/form-data/lib/browser.js +4 -0
  1059. package/dist/node_modules/form-data/lib/form_data.js +494 -0
  1060. package/dist/node_modules/form-data/lib/populate.js +10 -0
  1061. package/dist/node_modules/form-data/package.json +82 -0
  1062. package/dist/node_modules/formdata-polyfill/FormData.js +441 -0
  1063. package/dist/node_modules/formdata-polyfill/LICENSE +21 -0
  1064. package/dist/node_modules/formdata-polyfill/README.md +145 -0
  1065. package/dist/node_modules/formdata-polyfill/esm.min.d.ts +5 -0
  1066. package/dist/node_modules/formdata-polyfill/esm.min.js +40 -0
  1067. package/dist/node_modules/formdata-polyfill/formdata-to-blob.js +39 -0
  1068. package/dist/node_modules/formdata-polyfill/formdata.min.js +21 -0
  1069. package/dist/node_modules/formdata-polyfill/package.json +50 -0
  1070. package/dist/node_modules/function-bind/.eslintrc +21 -0
  1071. package/dist/node_modules/function-bind/.github/FUNDING.yml +12 -0
  1072. package/dist/node_modules/function-bind/.github/SECURITY.md +3 -0
  1073. package/dist/node_modules/function-bind/.nycrc +13 -0
  1074. package/dist/node_modules/function-bind/CHANGELOG.md +136 -0
  1075. package/dist/node_modules/function-bind/LICENSE +20 -0
  1076. package/dist/node_modules/function-bind/README.md +46 -0
  1077. package/dist/node_modules/function-bind/implementation.js +84 -0
  1078. package/dist/node_modules/function-bind/index.js +5 -0
  1079. package/dist/node_modules/function-bind/package.json +87 -0
  1080. package/dist/node_modules/function-bind/test/.eslintrc +9 -0
  1081. package/dist/node_modules/function-bind/test/index.js +252 -0
  1082. package/dist/node_modules/get-intrinsic/.eslintrc +42 -0
  1083. package/dist/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  1084. package/dist/node_modules/get-intrinsic/.nycrc +9 -0
  1085. package/dist/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  1086. package/dist/node_modules/get-intrinsic/LICENSE +21 -0
  1087. package/dist/node_modules/get-intrinsic/README.md +71 -0
  1088. package/dist/node_modules/get-intrinsic/index.js +378 -0
  1089. package/dist/node_modules/get-intrinsic/package.json +97 -0
  1090. package/dist/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  1091. package/dist/node_modules/get-proto/.eslintrc +10 -0
  1092. package/dist/node_modules/get-proto/.github/FUNDING.yml +12 -0
  1093. package/dist/node_modules/get-proto/.nycrc +9 -0
  1094. package/dist/node_modules/get-proto/CHANGELOG.md +21 -0
  1095. package/dist/node_modules/get-proto/LICENSE +21 -0
  1096. package/dist/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  1097. package/dist/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  1098. package/dist/node_modules/get-proto/README.md +50 -0
  1099. package/dist/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  1100. package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  1101. package/dist/node_modules/get-proto/index.d.ts +5 -0
  1102. package/dist/node_modules/get-proto/index.js +27 -0
  1103. package/dist/node_modules/get-proto/package.json +81 -0
  1104. package/dist/node_modules/get-proto/test/index.js +68 -0
  1105. package/dist/node_modules/get-proto/tsconfig.json +9 -0
  1106. package/dist/node_modules/gopd/.eslintrc +16 -0
  1107. package/dist/node_modules/gopd/.github/FUNDING.yml +12 -0
  1108. package/dist/node_modules/gopd/CHANGELOG.md +45 -0
  1109. package/dist/node_modules/gopd/LICENSE +21 -0
  1110. package/dist/node_modules/gopd/README.md +40 -0
  1111. package/dist/node_modules/gopd/gOPD.d.ts +1 -0
  1112. package/dist/node_modules/gopd/gOPD.js +4 -0
  1113. package/dist/node_modules/gopd/index.d.ts +5 -0
  1114. package/dist/node_modules/gopd/index.js +15 -0
  1115. package/dist/node_modules/gopd/package.json +77 -0
  1116. package/dist/node_modules/gopd/test/index.js +36 -0
  1117. package/dist/node_modules/gopd/tsconfig.json +9 -0
  1118. package/dist/node_modules/has-symbols/.eslintrc +11 -0
  1119. package/dist/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  1120. package/dist/node_modules/has-symbols/.nycrc +9 -0
  1121. package/dist/node_modules/has-symbols/CHANGELOG.md +91 -0
  1122. package/dist/node_modules/has-symbols/LICENSE +21 -0
  1123. package/dist/node_modules/has-symbols/README.md +46 -0
  1124. package/dist/node_modules/has-symbols/index.d.ts +3 -0
  1125. package/dist/node_modules/has-symbols/index.js +14 -0
  1126. package/dist/node_modules/has-symbols/package.json +111 -0
  1127. package/dist/node_modules/has-symbols/shams.d.ts +3 -0
  1128. package/dist/node_modules/has-symbols/shams.js +45 -0
  1129. package/dist/node_modules/has-symbols/test/index.js +22 -0
  1130. package/dist/node_modules/has-symbols/test/shams/core-js.js +29 -0
  1131. package/dist/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  1132. package/dist/node_modules/has-symbols/test/tests.js +58 -0
  1133. package/dist/node_modules/has-symbols/tsconfig.json +10 -0
  1134. package/dist/node_modules/has-tostringtag/.eslintrc +5 -0
  1135. package/dist/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
  1136. package/dist/node_modules/has-tostringtag/.nycrc +13 -0
  1137. package/dist/node_modules/has-tostringtag/CHANGELOG.md +42 -0
  1138. package/dist/node_modules/has-tostringtag/LICENSE +21 -0
  1139. package/dist/node_modules/has-tostringtag/README.md +46 -0
  1140. package/dist/node_modules/has-tostringtag/index.d.ts +3 -0
  1141. package/dist/node_modules/has-tostringtag/index.js +8 -0
  1142. package/dist/node_modules/has-tostringtag/package.json +108 -0
  1143. package/dist/node_modules/has-tostringtag/shams.d.ts +3 -0
  1144. package/dist/node_modules/has-tostringtag/shams.js +8 -0
  1145. package/dist/node_modules/has-tostringtag/test/index.js +21 -0
  1146. package/dist/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
  1147. package/dist/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
  1148. package/dist/node_modules/has-tostringtag/test/tests.js +15 -0
  1149. package/dist/node_modules/has-tostringtag/tsconfig.json +49 -0
  1150. package/dist/node_modules/hasown/.eslintrc +5 -0
  1151. package/dist/node_modules/hasown/.github/FUNDING.yml +12 -0
  1152. package/dist/node_modules/hasown/.nycrc +13 -0
  1153. package/dist/node_modules/hasown/CHANGELOG.md +40 -0
  1154. package/dist/node_modules/hasown/LICENSE +21 -0
  1155. package/dist/node_modules/hasown/README.md +40 -0
  1156. package/dist/node_modules/hasown/index.d.ts +3 -0
  1157. package/dist/node_modules/hasown/index.js +8 -0
  1158. package/dist/node_modules/hasown/package.json +92 -0
  1159. package/dist/node_modules/hasown/tsconfig.json +6 -0
  1160. package/dist/node_modules/help-me/.github/workflows/ci.yml +28 -0
  1161. package/dist/node_modules/help-me/LICENSE +22 -0
  1162. package/dist/node_modules/help-me/README.md +66 -0
  1163. package/dist/node_modules/help-me/doc/hello.txt +1 -0
  1164. package/dist/node_modules/help-me/doc/help.txt +5 -0
  1165. package/dist/node_modules/help-me/example.js +18 -0
  1166. package/dist/node_modules/help-me/fixture/basic/hello.txt +1 -0
  1167. package/dist/node_modules/help-me/fixture/basic/help.txt +1 -0
  1168. package/dist/node_modules/help-me/fixture/dir/a/b.txt +0 -0
  1169. package/dist/node_modules/help-me/fixture/no-ext/hello +1 -0
  1170. package/dist/node_modules/help-me/fixture/sameprefix/hello world.txt +1 -0
  1171. package/dist/node_modules/help-me/fixture/sameprefix/hello.txt +1 -0
  1172. package/dist/node_modules/help-me/fixture/shortnames/abcde fghi lmno.txt +1 -0
  1173. package/dist/node_modules/help-me/fixture/shortnames/abcde hello.txt +1 -0
  1174. package/dist/node_modules/help-me/fixture/shortnames/hello world.txt +1 -0
  1175. package/dist/node_modules/help-me/help-me.js +134 -0
  1176. package/dist/node_modules/help-me/package.json +36 -0
  1177. package/dist/node_modules/help-me/test.js +316 -0
  1178. package/dist/node_modules/ieee754/LICENSE +11 -0
  1179. package/dist/node_modules/ieee754/README.md +51 -0
  1180. package/dist/node_modules/ieee754/index.d.ts +10 -0
  1181. package/dist/node_modules/ieee754/index.js +85 -0
  1182. package/dist/node_modules/ieee754/package.json +52 -0
  1183. package/dist/node_modules/inherits/LICENSE +16 -0
  1184. package/dist/node_modules/inherits/README.md +42 -0
  1185. package/dist/node_modules/inherits/inherits.js +9 -0
  1186. package/dist/node_modules/inherits/inherits_browser.js +27 -0
  1187. package/dist/node_modules/inherits/package.json +29 -0
  1188. package/dist/node_modules/ip-address/LICENSE +19 -0
  1189. package/dist/node_modules/ip-address/README.md +105 -0
  1190. package/dist/node_modules/ip-address/dist/address-error.d.ts +5 -0
  1191. package/dist/node_modules/ip-address/dist/address-error.d.ts.map +1 -0
  1192. package/dist/node_modules/ip-address/dist/address-error.js +12 -0
  1193. package/dist/node_modules/ip-address/dist/address-error.js.map +1 -0
  1194. package/dist/node_modules/ip-address/dist/common.d.ts +15 -0
  1195. package/dist/node_modules/ip-address/dist/common.d.ts.map +1 -0
  1196. package/dist/node_modules/ip-address/dist/common.js +46 -0
  1197. package/dist/node_modules/ip-address/dist/common.js.map +1 -0
  1198. package/dist/node_modules/ip-address/dist/ip-address.d.ts +8 -0
  1199. package/dist/node_modules/ip-address/dist/ip-address.d.ts.map +1 -0
  1200. package/dist/node_modules/ip-address/dist/ip-address.js +35 -0
  1201. package/dist/node_modules/ip-address/dist/ip-address.js.map +1 -0
  1202. package/dist/node_modules/ip-address/dist/ipv4.d.ts +209 -0
  1203. package/dist/node_modules/ip-address/dist/ipv4.d.ts.map +1 -0
  1204. package/dist/node_modules/ip-address/dist/ipv4.js +360 -0
  1205. package/dist/node_modules/ip-address/dist/ipv4.js.map +1 -0
  1206. package/dist/node_modules/ip-address/dist/ipv6.d.ts +428 -0
  1207. package/dist/node_modules/ip-address/dist/ipv6.d.ts.map +1 -0
  1208. package/dist/node_modules/ip-address/dist/ipv6.js +1003 -0
  1209. package/dist/node_modules/ip-address/dist/ipv6.js.map +1 -0
  1210. package/dist/node_modules/ip-address/dist/v4/constants.d.ts +5 -0
  1211. package/dist/node_modules/ip-address/dist/v4/constants.d.ts.map +1 -0
  1212. package/dist/node_modules/ip-address/dist/v4/constants.js +8 -0
  1213. package/dist/node_modules/ip-address/dist/v4/constants.js.map +1 -0
  1214. package/dist/node_modules/ip-address/dist/v6/constants.d.ts +45 -0
  1215. package/dist/node_modules/ip-address/dist/v6/constants.d.ts.map +1 -0
  1216. package/dist/node_modules/ip-address/dist/v6/constants.js +76 -0
  1217. package/dist/node_modules/ip-address/dist/v6/constants.js.map +1 -0
  1218. package/dist/node_modules/ip-address/dist/v6/helpers.d.ts +18 -0
  1219. package/dist/node_modules/ip-address/dist/v6/helpers.d.ts.map +1 -0
  1220. package/dist/node_modules/ip-address/dist/v6/helpers.js +45 -0
  1221. package/dist/node_modules/ip-address/dist/v6/helpers.js.map +1 -0
  1222. package/dist/node_modules/ip-address/dist/v6/regular-expressions.d.ts +6 -0
  1223. package/dist/node_modules/ip-address/dist/v6/regular-expressions.d.ts.map +1 -0
  1224. package/dist/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
  1225. package/dist/node_modules/ip-address/dist/v6/regular-expressions.js.map +1 -0
  1226. package/dist/node_modules/ip-address/package.json +78 -0
  1227. package/dist/node_modules/ip-address/src/address-error.ts +11 -0
  1228. package/dist/node_modules/ip-address/src/common.ts +55 -0
  1229. package/dist/node_modules/ip-address/src/ip-address.ts +7 -0
  1230. package/dist/node_modules/ip-address/src/ipv4.ts +394 -0
  1231. package/dist/node_modules/ip-address/src/ipv6.ts +1212 -0
  1232. package/dist/node_modules/ip-address/src/v4/constants.ts +7 -0
  1233. package/dist/node_modules/ip-address/src/v6/constants.ts +79 -0
  1234. package/dist/node_modules/ip-address/src/v6/helpers.ts +48 -0
  1235. package/dist/node_modules/ip-address/src/v6/regular-expressions.ts +94 -0
  1236. package/dist/node_modules/js-sdsl/CHANGELOG.md +211 -0
  1237. package/dist/node_modules/js-sdsl/LICENSE +21 -0
  1238. package/dist/node_modules/js-sdsl/README.md +296 -0
  1239. package/dist/node_modules/js-sdsl/README.zh-CN.md +298 -0
  1240. package/dist/node_modules/js-sdsl/dist/cjs/container/ContainerBase/index.d.ts +206 -0
  1241. package/dist/node_modules/js-sdsl/dist/cjs/container/ContainerBase/index.js +40 -0
  1242. package/dist/node_modules/js-sdsl/dist/cjs/container/ContainerBase/index.js.map +1 -0
  1243. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/Base/index.d.ts +29 -0
  1244. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/Base/index.js +188 -0
  1245. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/Base/index.js.map +1 -0
  1246. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashMap.d.ts +49 -0
  1247. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashMap.js +125 -0
  1248. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashMap.js.map +1 -0
  1249. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashSet.d.ts +39 -0
  1250. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashSet.js +94 -0
  1251. package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashSet.js.map +1 -0
  1252. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/PriorityQueue.d.ts +79 -0
  1253. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/PriorityQueue.js +118 -0
  1254. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/PriorityQueue.js.map +1 -0
  1255. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Queue.d.ts +22 -0
  1256. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Queue.js +52 -0
  1257. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Queue.js.map +1 -0
  1258. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Stack.d.ts +22 -0
  1259. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Stack.js +42 -0
  1260. package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Stack.js.map +1 -0
  1261. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/RandomIterator.d.ts +9 -0
  1262. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/RandomIterator.js +58 -0
  1263. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/RandomIterator.js.map +1 -0
  1264. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/index.d.ts +67 -0
  1265. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/index.js +16 -0
  1266. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/index.js.map +1 -0
  1267. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Deque.d.ts +58 -0
  1268. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Deque.js +338 -0
  1269. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Deque.js.map +1 -0
  1270. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/LinkList.d.ts +58 -0
  1271. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/LinkList.js +330 -0
  1272. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/LinkList.js.map +1 -0
  1273. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Vector.d.ts +40 -0
  1274. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Vector.js +158 -0
  1275. package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Vector.js.map +1 -0
  1276. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeIterator.d.ts +18 -0
  1277. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeIterator.js +80 -0
  1278. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeIterator.js.map +1 -0
  1279. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeNode.d.ts +47 -0
  1280. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeNode.js +115 -0
  1281. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeNode.js.map +1 -0
  1282. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/index.d.ts +58 -0
  1283. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/index.js +514 -0
  1284. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/index.js.map +1 -0
  1285. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedMap.d.ts +62 -0
  1286. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedMap.js +127 -0
  1287. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedMap.js.map +1 -0
  1288. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedSet.d.ts +54 -0
  1289. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedSet.js +107 -0
  1290. package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedSet.js.map +1 -0
  1291. package/dist/node_modules/js-sdsl/dist/cjs/index.d.ts +21 -0
  1292. package/dist/node_modules/js-sdsl/dist/cjs/index.js +102 -0
  1293. package/dist/node_modules/js-sdsl/dist/cjs/index.js.map +1 -0
  1294. package/dist/node_modules/js-sdsl/dist/cjs/utils/checkObject.d.ts +1 -0
  1295. package/dist/node_modules/js-sdsl/dist/cjs/utils/checkObject.js +13 -0
  1296. package/dist/node_modules/js-sdsl/dist/cjs/utils/checkObject.js.map +1 -0
  1297. package/dist/node_modules/js-sdsl/dist/cjs/utils/throwError.d.ts +1 -0
  1298. package/dist/node_modules/js-sdsl/dist/cjs/utils/throwError.js +12 -0
  1299. package/dist/node_modules/js-sdsl/dist/cjs/utils/throwError.js.map +1 -0
  1300. package/dist/node_modules/js-sdsl/dist/esm/container/ContainerBase/index.d.ts +206 -0
  1301. package/dist/node_modules/js-sdsl/dist/esm/container/ContainerBase/index.js +68 -0
  1302. package/dist/node_modules/js-sdsl/dist/esm/container/ContainerBase/index.js.map +1 -0
  1303. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/Base/index.d.ts +29 -0
  1304. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/Base/index.js +201 -0
  1305. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/Base/index.js.map +1 -0
  1306. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashMap.d.ts +49 -0
  1307. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashMap.js +248 -0
  1308. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashMap.js.map +1 -0
  1309. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashSet.d.ts +39 -0
  1310. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashSet.js +223 -0
  1311. package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashSet.js.map +1 -0
  1312. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/PriorityQueue.d.ts +79 -0
  1313. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/PriorityQueue.js +171 -0
  1314. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/PriorityQueue.js.map +1 -0
  1315. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Queue.d.ts +22 -0
  1316. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Queue.js +69 -0
  1317. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Queue.js.map +1 -0
  1318. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Stack.d.ts +22 -0
  1319. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Stack.js +59 -0
  1320. package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Stack.js.map +1 -0
  1321. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/RandomIterator.d.ts +9 -0
  1322. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/RandomIterator.js +78 -0
  1323. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/RandomIterator.js.map +1 -0
  1324. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/index.d.ts +67 -0
  1325. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/index.js +33 -0
  1326. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/index.js.map +1 -0
  1327. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Deque.d.ts +58 -0
  1328. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Deque.js +498 -0
  1329. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Deque.js.map +1 -0
  1330. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/LinkList.d.ts +58 -0
  1331. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/LinkList.js +456 -0
  1332. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/LinkList.js.map +1 -0
  1333. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Vector.d.ts +40 -0
  1334. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Vector.js +323 -0
  1335. package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Vector.js.map +1 -0
  1336. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeIterator.d.ts +18 -0
  1337. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeIterator.js +98 -0
  1338. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeIterator.js.map +1 -0
  1339. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeNode.d.ts +47 -0
  1340. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeNode.js +132 -0
  1341. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeNode.js.map +1 -0
  1342. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/index.d.ts +58 -0
  1343. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/index.js +600 -0
  1344. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/index.js.map +1 -0
  1345. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedMap.d.ts +62 -0
  1346. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedMap.js +265 -0
  1347. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedMap.js.map +1 -0
  1348. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedSet.d.ts +54 -0
  1349. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedSet.js +245 -0
  1350. package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedSet.js.map +1 -0
  1351. package/dist/node_modules/js-sdsl/dist/esm/index.d.ts +21 -0
  1352. package/dist/node_modules/js-sdsl/dist/esm/index.js +20 -0
  1353. package/dist/node_modules/js-sdsl/dist/esm/index.js.map +1 -0
  1354. package/dist/node_modules/js-sdsl/dist/esm/utils/checkObject.d.ts +1 -0
  1355. package/dist/node_modules/js-sdsl/dist/esm/utils/checkObject.js +5 -0
  1356. package/dist/node_modules/js-sdsl/dist/esm/utils/checkObject.js.map +1 -0
  1357. package/dist/node_modules/js-sdsl/dist/esm/utils/throwError.d.ts +1 -0
  1358. package/dist/node_modules/js-sdsl/dist/esm/utils/throwError.js +4 -0
  1359. package/dist/node_modules/js-sdsl/dist/esm/utils/throwError.js.map +1 -0
  1360. package/dist/node_modules/js-sdsl/dist/umd/js-sdsl.js +3154 -0
  1361. package/dist/node_modules/js-sdsl/dist/umd/js-sdsl.min.js +8 -0
  1362. package/dist/node_modules/js-sdsl/dist/umd/js-sdsl.min.js.map +1 -0
  1363. package/dist/node_modules/js-sdsl/package.json +166 -0
  1364. package/dist/node_modules/lodash/LICENSE +47 -0
  1365. package/dist/node_modules/lodash/README.md +39 -0
  1366. package/dist/node_modules/lodash/_DataView.js +7 -0
  1367. package/dist/node_modules/lodash/_Hash.js +32 -0
  1368. package/dist/node_modules/lodash/_LazyWrapper.js +28 -0
  1369. package/dist/node_modules/lodash/_ListCache.js +32 -0
  1370. package/dist/node_modules/lodash/_LodashWrapper.js +22 -0
  1371. package/dist/node_modules/lodash/_Map.js +7 -0
  1372. package/dist/node_modules/lodash/_MapCache.js +32 -0
  1373. package/dist/node_modules/lodash/_Promise.js +7 -0
  1374. package/dist/node_modules/lodash/_Set.js +7 -0
  1375. package/dist/node_modules/lodash/_SetCache.js +27 -0
  1376. package/dist/node_modules/lodash/_Stack.js +27 -0
  1377. package/dist/node_modules/lodash/_Symbol.js +6 -0
  1378. package/dist/node_modules/lodash/_Uint8Array.js +6 -0
  1379. package/dist/node_modules/lodash/_WeakMap.js +7 -0
  1380. package/dist/node_modules/lodash/_apply.js +21 -0
  1381. package/dist/node_modules/lodash/_arrayAggregator.js +22 -0
  1382. package/dist/node_modules/lodash/_arrayEach.js +22 -0
  1383. package/dist/node_modules/lodash/_arrayEachRight.js +21 -0
  1384. package/dist/node_modules/lodash/_arrayEvery.js +23 -0
  1385. package/dist/node_modules/lodash/_arrayFilter.js +25 -0
  1386. package/dist/node_modules/lodash/_arrayIncludes.js +17 -0
  1387. package/dist/node_modules/lodash/_arrayIncludesWith.js +22 -0
  1388. package/dist/node_modules/lodash/_arrayLikeKeys.js +49 -0
  1389. package/dist/node_modules/lodash/_arrayMap.js +21 -0
  1390. package/dist/node_modules/lodash/_arrayPush.js +20 -0
  1391. package/dist/node_modules/lodash/_arrayReduce.js +26 -0
  1392. package/dist/node_modules/lodash/_arrayReduceRight.js +24 -0
  1393. package/dist/node_modules/lodash/_arraySample.js +15 -0
  1394. package/dist/node_modules/lodash/_arraySampleSize.js +17 -0
  1395. package/dist/node_modules/lodash/_arrayShuffle.js +15 -0
  1396. package/dist/node_modules/lodash/_arraySome.js +23 -0
  1397. package/dist/node_modules/lodash/_asciiSize.js +12 -0
  1398. package/dist/node_modules/lodash/_asciiToArray.js +12 -0
  1399. package/dist/node_modules/lodash/_asciiWords.js +15 -0
  1400. package/dist/node_modules/lodash/_assignMergeValue.js +20 -0
  1401. package/dist/node_modules/lodash/_assignValue.js +28 -0
  1402. package/dist/node_modules/lodash/_assocIndexOf.js +21 -0
  1403. package/dist/node_modules/lodash/_baseAggregator.js +21 -0
  1404. package/dist/node_modules/lodash/_baseAssign.js +17 -0
  1405. package/dist/node_modules/lodash/_baseAssignIn.js +17 -0
  1406. package/dist/node_modules/lodash/_baseAssignValue.js +25 -0
  1407. package/dist/node_modules/lodash/_baseAt.js +23 -0
  1408. package/dist/node_modules/lodash/_baseClamp.js +22 -0
  1409. package/dist/node_modules/lodash/_baseClone.js +166 -0
  1410. package/dist/node_modules/lodash/_baseConforms.js +18 -0
  1411. package/dist/node_modules/lodash/_baseConformsTo.js +27 -0
  1412. package/dist/node_modules/lodash/_baseCreate.js +30 -0
  1413. package/dist/node_modules/lodash/_baseDelay.js +21 -0
  1414. package/dist/node_modules/lodash/_baseDifference.js +67 -0
  1415. package/dist/node_modules/lodash/_baseEach.js +14 -0
  1416. package/dist/node_modules/lodash/_baseEachRight.js +14 -0
  1417. package/dist/node_modules/lodash/_baseEvery.js +21 -0
  1418. package/dist/node_modules/lodash/_baseExtremum.js +32 -0
  1419. package/dist/node_modules/lodash/_baseFill.js +32 -0
  1420. package/dist/node_modules/lodash/_baseFilter.js +21 -0
  1421. package/dist/node_modules/lodash/_baseFindIndex.js +24 -0
  1422. package/dist/node_modules/lodash/_baseFindKey.js +23 -0
  1423. package/dist/node_modules/lodash/_baseFlatten.js +38 -0
  1424. package/dist/node_modules/lodash/_baseFor.js +16 -0
  1425. package/dist/node_modules/lodash/_baseForOwn.js +16 -0
  1426. package/dist/node_modules/lodash/_baseForOwnRight.js +16 -0
  1427. package/dist/node_modules/lodash/_baseForRight.js +15 -0
  1428. package/dist/node_modules/lodash/_baseFunctions.js +19 -0
  1429. package/dist/node_modules/lodash/_baseGet.js +24 -0
  1430. package/dist/node_modules/lodash/_baseGetAllKeys.js +20 -0
  1431. package/dist/node_modules/lodash/_baseGetTag.js +28 -0
  1432. package/dist/node_modules/lodash/_baseGt.js +14 -0
  1433. package/dist/node_modules/lodash/_baseHas.js +19 -0
  1434. package/dist/node_modules/lodash/_baseHasIn.js +13 -0
  1435. package/dist/node_modules/lodash/_baseInRange.js +18 -0
  1436. package/dist/node_modules/lodash/_baseIndexOf.js +20 -0
  1437. package/dist/node_modules/lodash/_baseIndexOfWith.js +23 -0
  1438. package/dist/node_modules/lodash/_baseIntersection.js +74 -0
  1439. package/dist/node_modules/lodash/_baseInverter.js +21 -0
  1440. package/dist/node_modules/lodash/_baseInvoke.js +24 -0
  1441. package/dist/node_modules/lodash/_baseIsArguments.js +18 -0
  1442. package/dist/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
  1443. package/dist/node_modules/lodash/_baseIsDate.js +18 -0
  1444. package/dist/node_modules/lodash/_baseIsEqual.js +28 -0
  1445. package/dist/node_modules/lodash/_baseIsEqualDeep.js +83 -0
  1446. package/dist/node_modules/lodash/_baseIsMap.js +18 -0
  1447. package/dist/node_modules/lodash/_baseIsMatch.js +62 -0
  1448. package/dist/node_modules/lodash/_baseIsNaN.js +12 -0
  1449. package/dist/node_modules/lodash/_baseIsNative.js +47 -0
  1450. package/dist/node_modules/lodash/_baseIsRegExp.js +18 -0
  1451. package/dist/node_modules/lodash/_baseIsSet.js +18 -0
  1452. package/dist/node_modules/lodash/_baseIsTypedArray.js +60 -0
  1453. package/dist/node_modules/lodash/_baseIteratee.js +31 -0
  1454. package/dist/node_modules/lodash/_baseKeys.js +30 -0
  1455. package/dist/node_modules/lodash/_baseKeysIn.js +33 -0
  1456. package/dist/node_modules/lodash/_baseLodash.js +10 -0
  1457. package/dist/node_modules/lodash/_baseLt.js +14 -0
  1458. package/dist/node_modules/lodash/_baseMap.js +22 -0
  1459. package/dist/node_modules/lodash/_baseMatches.js +22 -0
  1460. package/dist/node_modules/lodash/_baseMatchesProperty.js +33 -0
  1461. package/dist/node_modules/lodash/_baseMean.js +20 -0
  1462. package/dist/node_modules/lodash/_baseMerge.js +42 -0
  1463. package/dist/node_modules/lodash/_baseMergeDeep.js +94 -0
  1464. package/dist/node_modules/lodash/_baseNth.js +20 -0
  1465. package/dist/node_modules/lodash/_baseOrderBy.js +49 -0
  1466. package/dist/node_modules/lodash/_basePick.js +19 -0
  1467. package/dist/node_modules/lodash/_basePickBy.js +30 -0
  1468. package/dist/node_modules/lodash/_baseProperty.js +14 -0
  1469. package/dist/node_modules/lodash/_basePropertyDeep.js +16 -0
  1470. package/dist/node_modules/lodash/_basePropertyOf.js +14 -0
  1471. package/dist/node_modules/lodash/_basePullAll.js +51 -0
  1472. package/dist/node_modules/lodash/_basePullAt.js +37 -0
  1473. package/dist/node_modules/lodash/_baseRandom.js +18 -0
  1474. package/dist/node_modules/lodash/_baseRange.js +28 -0
  1475. package/dist/node_modules/lodash/_baseReduce.js +23 -0
  1476. package/dist/node_modules/lodash/_baseRepeat.js +35 -0
  1477. package/dist/node_modules/lodash/_baseRest.js +17 -0
  1478. package/dist/node_modules/lodash/_baseSample.js +15 -0
  1479. package/dist/node_modules/lodash/_baseSampleSize.js +18 -0
  1480. package/dist/node_modules/lodash/_baseSet.js +51 -0
  1481. package/dist/node_modules/lodash/_baseSetData.js +17 -0
  1482. package/dist/node_modules/lodash/_baseSetToString.js +22 -0
  1483. package/dist/node_modules/lodash/_baseShuffle.js +15 -0
  1484. package/dist/node_modules/lodash/_baseSlice.js +31 -0
  1485. package/dist/node_modules/lodash/_baseSome.js +22 -0
  1486. package/dist/node_modules/lodash/_baseSortBy.js +21 -0
  1487. package/dist/node_modules/lodash/_baseSortedIndex.js +42 -0
  1488. package/dist/node_modules/lodash/_baseSortedIndexBy.js +67 -0
  1489. package/dist/node_modules/lodash/_baseSortedUniq.js +30 -0
  1490. package/dist/node_modules/lodash/_baseSum.js +24 -0
  1491. package/dist/node_modules/lodash/_baseTimes.js +20 -0
  1492. package/dist/node_modules/lodash/_baseToNumber.js +24 -0
  1493. package/dist/node_modules/lodash/_baseToPairs.js +18 -0
  1494. package/dist/node_modules/lodash/_baseToString.js +37 -0
  1495. package/dist/node_modules/lodash/_baseTrim.js +19 -0
  1496. package/dist/node_modules/lodash/_baseUnary.js +14 -0
  1497. package/dist/node_modules/lodash/_baseUniq.js +72 -0
  1498. package/dist/node_modules/lodash/_baseUnset.js +20 -0
  1499. package/dist/node_modules/lodash/_baseUpdate.js +18 -0
  1500. package/dist/node_modules/lodash/_baseValues.js +19 -0
  1501. package/dist/node_modules/lodash/_baseWhile.js +26 -0
  1502. package/dist/node_modules/lodash/_baseWrapperValue.js +25 -0
  1503. package/dist/node_modules/lodash/_baseXor.js +36 -0
  1504. package/dist/node_modules/lodash/_baseZipObject.js +23 -0
  1505. package/dist/node_modules/lodash/_cacheHas.js +13 -0
  1506. package/dist/node_modules/lodash/_castArrayLikeObject.js +14 -0
  1507. package/dist/node_modules/lodash/_castFunction.js +14 -0
  1508. package/dist/node_modules/lodash/_castPath.js +21 -0
  1509. package/dist/node_modules/lodash/_castRest.js +14 -0
  1510. package/dist/node_modules/lodash/_castSlice.js +18 -0
  1511. package/dist/node_modules/lodash/_charsEndIndex.js +19 -0
  1512. package/dist/node_modules/lodash/_charsStartIndex.js +20 -0
  1513. package/dist/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  1514. package/dist/node_modules/lodash/_cloneBuffer.js +35 -0
  1515. package/dist/node_modules/lodash/_cloneDataView.js +16 -0
  1516. package/dist/node_modules/lodash/_cloneRegExp.js +17 -0
  1517. package/dist/node_modules/lodash/_cloneSymbol.js +18 -0
  1518. package/dist/node_modules/lodash/_cloneTypedArray.js +16 -0
  1519. package/dist/node_modules/lodash/_compareAscending.js +41 -0
  1520. package/dist/node_modules/lodash/_compareMultiple.js +44 -0
  1521. package/dist/node_modules/lodash/_composeArgs.js +39 -0
  1522. package/dist/node_modules/lodash/_composeArgsRight.js +41 -0
  1523. package/dist/node_modules/lodash/_copyArray.js +20 -0
  1524. package/dist/node_modules/lodash/_copyObject.js +40 -0
  1525. package/dist/node_modules/lodash/_copySymbols.js +16 -0
  1526. package/dist/node_modules/lodash/_copySymbolsIn.js +16 -0
  1527. package/dist/node_modules/lodash/_coreJsData.js +6 -0
  1528. package/dist/node_modules/lodash/_countHolders.js +21 -0
  1529. package/dist/node_modules/lodash/_createAggregator.js +23 -0
  1530. package/dist/node_modules/lodash/_createAssigner.js +37 -0
  1531. package/dist/node_modules/lodash/_createBaseEach.js +32 -0
  1532. package/dist/node_modules/lodash/_createBaseFor.js +25 -0
  1533. package/dist/node_modules/lodash/_createBind.js +28 -0
  1534. package/dist/node_modules/lodash/_createCaseFirst.js +33 -0
  1535. package/dist/node_modules/lodash/_createCompounder.js +24 -0
  1536. package/dist/node_modules/lodash/_createCtor.js +37 -0
  1537. package/dist/node_modules/lodash/_createCurry.js +46 -0
  1538. package/dist/node_modules/lodash/_createFind.js +25 -0
  1539. package/dist/node_modules/lodash/_createFlow.js +78 -0
  1540. package/dist/node_modules/lodash/_createHybrid.js +92 -0
  1541. package/dist/node_modules/lodash/_createInverter.js +17 -0
  1542. package/dist/node_modules/lodash/_createMathOperation.js +38 -0
  1543. package/dist/node_modules/lodash/_createOver.js +27 -0
  1544. package/dist/node_modules/lodash/_createPadding.js +33 -0
  1545. package/dist/node_modules/lodash/_createPartial.js +43 -0
  1546. package/dist/node_modules/lodash/_createRange.js +30 -0
  1547. package/dist/node_modules/lodash/_createRecurry.js +56 -0
  1548. package/dist/node_modules/lodash/_createRelationalOperation.js +20 -0
  1549. package/dist/node_modules/lodash/_createRound.js +35 -0
  1550. package/dist/node_modules/lodash/_createSet.js +19 -0
  1551. package/dist/node_modules/lodash/_createToPairs.js +30 -0
  1552. package/dist/node_modules/lodash/_createWrap.js +106 -0
  1553. package/dist/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
  1554. package/dist/node_modules/lodash/_customDefaultsMerge.js +28 -0
  1555. package/dist/node_modules/lodash/_customOmitClone.js +16 -0
  1556. package/dist/node_modules/lodash/_deburrLetter.js +71 -0
  1557. package/dist/node_modules/lodash/_defineProperty.js +11 -0
  1558. package/dist/node_modules/lodash/_equalArrays.js +84 -0
  1559. package/dist/node_modules/lodash/_equalByTag.js +112 -0
  1560. package/dist/node_modules/lodash/_equalObjects.js +90 -0
  1561. package/dist/node_modules/lodash/_escapeHtmlChar.js +21 -0
  1562. package/dist/node_modules/lodash/_escapeStringChar.js +22 -0
  1563. package/dist/node_modules/lodash/_flatRest.js +16 -0
  1564. package/dist/node_modules/lodash/_freeGlobal.js +4 -0
  1565. package/dist/node_modules/lodash/_getAllKeys.js +16 -0
  1566. package/dist/node_modules/lodash/_getAllKeysIn.js +17 -0
  1567. package/dist/node_modules/lodash/_getData.js +15 -0
  1568. package/dist/node_modules/lodash/_getFuncName.js +31 -0
  1569. package/dist/node_modules/lodash/_getHolder.js +13 -0
  1570. package/dist/node_modules/lodash/_getMapData.js +18 -0
  1571. package/dist/node_modules/lodash/_getMatchData.js +24 -0
  1572. package/dist/node_modules/lodash/_getNative.js +17 -0
  1573. package/dist/node_modules/lodash/_getPrototype.js +6 -0
  1574. package/dist/node_modules/lodash/_getRawTag.js +46 -0
  1575. package/dist/node_modules/lodash/_getSymbols.js +30 -0
  1576. package/dist/node_modules/lodash/_getSymbolsIn.js +25 -0
  1577. package/dist/node_modules/lodash/_getTag.js +58 -0
  1578. package/dist/node_modules/lodash/_getValue.js +13 -0
  1579. package/dist/node_modules/lodash/_getView.js +33 -0
  1580. package/dist/node_modules/lodash/_getWrapDetails.js +17 -0
  1581. package/dist/node_modules/lodash/_hasPath.js +39 -0
  1582. package/dist/node_modules/lodash/_hasUnicode.js +26 -0
  1583. package/dist/node_modules/lodash/_hasUnicodeWord.js +15 -0
  1584. package/dist/node_modules/lodash/_hashClear.js +15 -0
  1585. package/dist/node_modules/lodash/_hashDelete.js +17 -0
  1586. package/dist/node_modules/lodash/_hashGet.js +30 -0
  1587. package/dist/node_modules/lodash/_hashHas.js +23 -0
  1588. package/dist/node_modules/lodash/_hashSet.js +23 -0
  1589. package/dist/node_modules/lodash/_initCloneArray.js +26 -0
  1590. package/dist/node_modules/lodash/_initCloneByTag.js +77 -0
  1591. package/dist/node_modules/lodash/_initCloneObject.js +18 -0
  1592. package/dist/node_modules/lodash/_insertWrapDetails.js +23 -0
  1593. package/dist/node_modules/lodash/_isFlattenable.js +20 -0
  1594. package/dist/node_modules/lodash/_isIndex.js +25 -0
  1595. package/dist/node_modules/lodash/_isIterateeCall.js +30 -0
  1596. package/dist/node_modules/lodash/_isKey.js +29 -0
  1597. package/dist/node_modules/lodash/_isKeyable.js +15 -0
  1598. package/dist/node_modules/lodash/_isLaziable.js +28 -0
  1599. package/dist/node_modules/lodash/_isMaskable.js +14 -0
  1600. package/dist/node_modules/lodash/_isMasked.js +20 -0
  1601. package/dist/node_modules/lodash/_isPrototype.js +18 -0
  1602. package/dist/node_modules/lodash/_isStrictComparable.js +15 -0
  1603. package/dist/node_modules/lodash/_iteratorToArray.js +18 -0
  1604. package/dist/node_modules/lodash/_lazyClone.js +23 -0
  1605. package/dist/node_modules/lodash/_lazyReverse.js +23 -0
  1606. package/dist/node_modules/lodash/_lazyValue.js +69 -0
  1607. package/dist/node_modules/lodash/_listCacheClear.js +13 -0
  1608. package/dist/node_modules/lodash/_listCacheDelete.js +35 -0
  1609. package/dist/node_modules/lodash/_listCacheGet.js +19 -0
  1610. package/dist/node_modules/lodash/_listCacheHas.js +16 -0
  1611. package/dist/node_modules/lodash/_listCacheSet.js +26 -0
  1612. package/dist/node_modules/lodash/_mapCacheClear.js +21 -0
  1613. package/dist/node_modules/lodash/_mapCacheDelete.js +18 -0
  1614. package/dist/node_modules/lodash/_mapCacheGet.js +16 -0
  1615. package/dist/node_modules/lodash/_mapCacheHas.js +16 -0
  1616. package/dist/node_modules/lodash/_mapCacheSet.js +22 -0
  1617. package/dist/node_modules/lodash/_mapToArray.js +18 -0
  1618. package/dist/node_modules/lodash/_matchesStrictComparable.js +20 -0
  1619. package/dist/node_modules/lodash/_memoizeCapped.js +26 -0
  1620. package/dist/node_modules/lodash/_mergeData.js +90 -0
  1621. package/dist/node_modules/lodash/_metaMap.js +6 -0
  1622. package/dist/node_modules/lodash/_nativeCreate.js +6 -0
  1623. package/dist/node_modules/lodash/_nativeKeys.js +6 -0
  1624. package/dist/node_modules/lodash/_nativeKeysIn.js +20 -0
  1625. package/dist/node_modules/lodash/_nodeUtil.js +30 -0
  1626. package/dist/node_modules/lodash/_objectToString.js +22 -0
  1627. package/dist/node_modules/lodash/_overArg.js +15 -0
  1628. package/dist/node_modules/lodash/_overRest.js +36 -0
  1629. package/dist/node_modules/lodash/_parent.js +16 -0
  1630. package/dist/node_modules/lodash/_reEscape.js +4 -0
  1631. package/dist/node_modules/lodash/_reEvaluate.js +4 -0
  1632. package/dist/node_modules/lodash/_reInterpolate.js +4 -0
  1633. package/dist/node_modules/lodash/_realNames.js +4 -0
  1634. package/dist/node_modules/lodash/_reorder.js +29 -0
  1635. package/dist/node_modules/lodash/_replaceHolders.js +29 -0
  1636. package/dist/node_modules/lodash/_root.js +9 -0
  1637. package/dist/node_modules/lodash/_safeGet.js +21 -0
  1638. package/dist/node_modules/lodash/_setCacheAdd.js +19 -0
  1639. package/dist/node_modules/lodash/_setCacheHas.js +14 -0
  1640. package/dist/node_modules/lodash/_setData.js +20 -0
  1641. package/dist/node_modules/lodash/_setToArray.js +18 -0
  1642. package/dist/node_modules/lodash/_setToPairs.js +18 -0
  1643. package/dist/node_modules/lodash/_setToString.js +14 -0
  1644. package/dist/node_modules/lodash/_setWrapToString.js +21 -0
  1645. package/dist/node_modules/lodash/_shortOut.js +37 -0
  1646. package/dist/node_modules/lodash/_shuffleSelf.js +28 -0
  1647. package/dist/node_modules/lodash/_stackClear.js +15 -0
  1648. package/dist/node_modules/lodash/_stackDelete.js +18 -0
  1649. package/dist/node_modules/lodash/_stackGet.js +14 -0
  1650. package/dist/node_modules/lodash/_stackHas.js +14 -0
  1651. package/dist/node_modules/lodash/_stackSet.js +34 -0
  1652. package/dist/node_modules/lodash/_strictIndexOf.js +23 -0
  1653. package/dist/node_modules/lodash/_strictLastIndexOf.js +21 -0
  1654. package/dist/node_modules/lodash/_stringSize.js +18 -0
  1655. package/dist/node_modules/lodash/_stringToArray.js +18 -0
  1656. package/dist/node_modules/lodash/_stringToPath.js +27 -0
  1657. package/dist/node_modules/lodash/_toKey.js +21 -0
  1658. package/dist/node_modules/lodash/_toSource.js +26 -0
  1659. package/dist/node_modules/lodash/_trimmedEndIndex.js +19 -0
  1660. package/dist/node_modules/lodash/_unescapeHtmlChar.js +21 -0
  1661. package/dist/node_modules/lodash/_unicodeSize.js +44 -0
  1662. package/dist/node_modules/lodash/_unicodeToArray.js +40 -0
  1663. package/dist/node_modules/lodash/_unicodeWords.js +69 -0
  1664. package/dist/node_modules/lodash/_updateWrapDetails.js +46 -0
  1665. package/dist/node_modules/lodash/_wrapperClone.js +23 -0
  1666. package/dist/node_modules/lodash/add.js +22 -0
  1667. package/dist/node_modules/lodash/after.js +42 -0
  1668. package/dist/node_modules/lodash/array.js +67 -0
  1669. package/dist/node_modules/lodash/ary.js +29 -0
  1670. package/dist/node_modules/lodash/assign.js +58 -0
  1671. package/dist/node_modules/lodash/assignIn.js +40 -0
  1672. package/dist/node_modules/lodash/assignInWith.js +38 -0
  1673. package/dist/node_modules/lodash/assignWith.js +37 -0
  1674. package/dist/node_modules/lodash/at.js +23 -0
  1675. package/dist/node_modules/lodash/attempt.js +35 -0
  1676. package/dist/node_modules/lodash/before.js +40 -0
  1677. package/dist/node_modules/lodash/bind.js +57 -0
  1678. package/dist/node_modules/lodash/bindAll.js +41 -0
  1679. package/dist/node_modules/lodash/bindKey.js +68 -0
  1680. package/dist/node_modules/lodash/camelCase.js +29 -0
  1681. package/dist/node_modules/lodash/capitalize.js +23 -0
  1682. package/dist/node_modules/lodash/castArray.js +44 -0
  1683. package/dist/node_modules/lodash/ceil.js +26 -0
  1684. package/dist/node_modules/lodash/chain.js +38 -0
  1685. package/dist/node_modules/lodash/chunk.js +50 -0
  1686. package/dist/node_modules/lodash/clamp.js +39 -0
  1687. package/dist/node_modules/lodash/clone.js +36 -0
  1688. package/dist/node_modules/lodash/cloneDeep.js +29 -0
  1689. package/dist/node_modules/lodash/cloneDeepWith.js +40 -0
  1690. package/dist/node_modules/lodash/cloneWith.js +42 -0
  1691. package/dist/node_modules/lodash/collection.js +30 -0
  1692. package/dist/node_modules/lodash/commit.js +33 -0
  1693. package/dist/node_modules/lodash/compact.js +31 -0
  1694. package/dist/node_modules/lodash/concat.js +43 -0
  1695. package/dist/node_modules/lodash/cond.js +60 -0
  1696. package/dist/node_modules/lodash/conforms.js +35 -0
  1697. package/dist/node_modules/lodash/conformsTo.js +32 -0
  1698. package/dist/node_modules/lodash/constant.js +26 -0
  1699. package/dist/node_modules/lodash/core.js +3877 -0
  1700. package/dist/node_modules/lodash/core.min.js +29 -0
  1701. package/dist/node_modules/lodash/countBy.js +40 -0
  1702. package/dist/node_modules/lodash/create.js +43 -0
  1703. package/dist/node_modules/lodash/curry.js +57 -0
  1704. package/dist/node_modules/lodash/curryRight.js +54 -0
  1705. package/dist/node_modules/lodash/date.js +3 -0
  1706. package/dist/node_modules/lodash/debounce.js +191 -0
  1707. package/dist/node_modules/lodash/deburr.js +45 -0
  1708. package/dist/node_modules/lodash/defaultTo.js +25 -0
  1709. package/dist/node_modules/lodash/defaults.js +64 -0
  1710. package/dist/node_modules/lodash/defaultsDeep.js +30 -0
  1711. package/dist/node_modules/lodash/defer.js +26 -0
  1712. package/dist/node_modules/lodash/delay.js +28 -0
  1713. package/dist/node_modules/lodash/difference.js +33 -0
  1714. package/dist/node_modules/lodash/differenceBy.js +44 -0
  1715. package/dist/node_modules/lodash/differenceWith.js +40 -0
  1716. package/dist/node_modules/lodash/divide.js +22 -0
  1717. package/dist/node_modules/lodash/drop.js +38 -0
  1718. package/dist/node_modules/lodash/dropRight.js +39 -0
  1719. package/dist/node_modules/lodash/dropRightWhile.js +45 -0
  1720. package/dist/node_modules/lodash/dropWhile.js +45 -0
  1721. package/dist/node_modules/lodash/each.js +1 -0
  1722. package/dist/node_modules/lodash/eachRight.js +1 -0
  1723. package/dist/node_modules/lodash/endsWith.js +43 -0
  1724. package/dist/node_modules/lodash/entries.js +1 -0
  1725. package/dist/node_modules/lodash/entriesIn.js +1 -0
  1726. package/dist/node_modules/lodash/eq.js +37 -0
  1727. package/dist/node_modules/lodash/escape.js +43 -0
  1728. package/dist/node_modules/lodash/escapeRegExp.js +32 -0
  1729. package/dist/node_modules/lodash/every.js +56 -0
  1730. package/dist/node_modules/lodash/extend.js +1 -0
  1731. package/dist/node_modules/lodash/extendWith.js +1 -0
  1732. package/dist/node_modules/lodash/fill.js +45 -0
  1733. package/dist/node_modules/lodash/filter.js +52 -0
  1734. package/dist/node_modules/lodash/find.js +42 -0
  1735. package/dist/node_modules/lodash/findIndex.js +55 -0
  1736. package/dist/node_modules/lodash/findKey.js +44 -0
  1737. package/dist/node_modules/lodash/findLast.js +25 -0
  1738. package/dist/node_modules/lodash/findLastIndex.js +59 -0
  1739. package/dist/node_modules/lodash/findLastKey.js +44 -0
  1740. package/dist/node_modules/lodash/first.js +1 -0
  1741. package/dist/node_modules/lodash/flake.lock +40 -0
  1742. package/dist/node_modules/lodash/flake.nix +20 -0
  1743. package/dist/node_modules/lodash/flatMap.js +29 -0
  1744. package/dist/node_modules/lodash/flatMapDeep.js +31 -0
  1745. package/dist/node_modules/lodash/flatMapDepth.js +31 -0
  1746. package/dist/node_modules/lodash/flatten.js +22 -0
  1747. package/dist/node_modules/lodash/flattenDeep.js +25 -0
  1748. package/dist/node_modules/lodash/flattenDepth.js +33 -0
  1749. package/dist/node_modules/lodash/flip.js +28 -0
  1750. package/dist/node_modules/lodash/floor.js +26 -0
  1751. package/dist/node_modules/lodash/flow.js +27 -0
  1752. package/dist/node_modules/lodash/flowRight.js +26 -0
  1753. package/dist/node_modules/lodash/forEach.js +41 -0
  1754. package/dist/node_modules/lodash/forEachRight.js +31 -0
  1755. package/dist/node_modules/lodash/forIn.js +39 -0
  1756. package/dist/node_modules/lodash/forInRight.js +37 -0
  1757. package/dist/node_modules/lodash/forOwn.js +36 -0
  1758. package/dist/node_modules/lodash/forOwnRight.js +34 -0
  1759. package/dist/node_modules/lodash/fp/F.js +1 -0
  1760. package/dist/node_modules/lodash/fp/T.js +1 -0
  1761. package/dist/node_modules/lodash/fp/__.js +1 -0
  1762. package/dist/node_modules/lodash/fp/_baseConvert.js +569 -0
  1763. package/dist/node_modules/lodash/fp/_convertBrowser.js +18 -0
  1764. package/dist/node_modules/lodash/fp/_falseOptions.js +7 -0
  1765. package/dist/node_modules/lodash/fp/_mapping.js +358 -0
  1766. package/dist/node_modules/lodash/fp/_util.js +16 -0
  1767. package/dist/node_modules/lodash/fp/add.js +5 -0
  1768. package/dist/node_modules/lodash/fp/after.js +5 -0
  1769. package/dist/node_modules/lodash/fp/all.js +1 -0
  1770. package/dist/node_modules/lodash/fp/allPass.js +1 -0
  1771. package/dist/node_modules/lodash/fp/always.js +1 -0
  1772. package/dist/node_modules/lodash/fp/any.js +1 -0
  1773. package/dist/node_modules/lodash/fp/anyPass.js +1 -0
  1774. package/dist/node_modules/lodash/fp/apply.js +1 -0
  1775. package/dist/node_modules/lodash/fp/array.js +2 -0
  1776. package/dist/node_modules/lodash/fp/ary.js +5 -0
  1777. package/dist/node_modules/lodash/fp/assign.js +5 -0
  1778. package/dist/node_modules/lodash/fp/assignAll.js +5 -0
  1779. package/dist/node_modules/lodash/fp/assignAllWith.js +5 -0
  1780. package/dist/node_modules/lodash/fp/assignIn.js +5 -0
  1781. package/dist/node_modules/lodash/fp/assignInAll.js +5 -0
  1782. package/dist/node_modules/lodash/fp/assignInAllWith.js +5 -0
  1783. package/dist/node_modules/lodash/fp/assignInWith.js +5 -0
  1784. package/dist/node_modules/lodash/fp/assignWith.js +5 -0
  1785. package/dist/node_modules/lodash/fp/assoc.js +1 -0
  1786. package/dist/node_modules/lodash/fp/assocPath.js +1 -0
  1787. package/dist/node_modules/lodash/fp/at.js +5 -0
  1788. package/dist/node_modules/lodash/fp/attempt.js +5 -0
  1789. package/dist/node_modules/lodash/fp/before.js +5 -0
  1790. package/dist/node_modules/lodash/fp/bind.js +5 -0
  1791. package/dist/node_modules/lodash/fp/bindAll.js +5 -0
  1792. package/dist/node_modules/lodash/fp/bindKey.js +5 -0
  1793. package/dist/node_modules/lodash/fp/camelCase.js +5 -0
  1794. package/dist/node_modules/lodash/fp/capitalize.js +5 -0
  1795. package/dist/node_modules/lodash/fp/castArray.js +5 -0
  1796. package/dist/node_modules/lodash/fp/ceil.js +5 -0
  1797. package/dist/node_modules/lodash/fp/chain.js +5 -0
  1798. package/dist/node_modules/lodash/fp/chunk.js +5 -0
  1799. package/dist/node_modules/lodash/fp/clamp.js +5 -0
  1800. package/dist/node_modules/lodash/fp/clone.js +5 -0
  1801. package/dist/node_modules/lodash/fp/cloneDeep.js +5 -0
  1802. package/dist/node_modules/lodash/fp/cloneDeepWith.js +5 -0
  1803. package/dist/node_modules/lodash/fp/cloneWith.js +5 -0
  1804. package/dist/node_modules/lodash/fp/collection.js +2 -0
  1805. package/dist/node_modules/lodash/fp/commit.js +5 -0
  1806. package/dist/node_modules/lodash/fp/compact.js +5 -0
  1807. package/dist/node_modules/lodash/fp/complement.js +1 -0
  1808. package/dist/node_modules/lodash/fp/compose.js +1 -0
  1809. package/dist/node_modules/lodash/fp/concat.js +5 -0
  1810. package/dist/node_modules/lodash/fp/cond.js +5 -0
  1811. package/dist/node_modules/lodash/fp/conforms.js +1 -0
  1812. package/dist/node_modules/lodash/fp/conformsTo.js +5 -0
  1813. package/dist/node_modules/lodash/fp/constant.js +5 -0
  1814. package/dist/node_modules/lodash/fp/contains.js +1 -0
  1815. package/dist/node_modules/lodash/fp/convert.js +18 -0
  1816. package/dist/node_modules/lodash/fp/countBy.js +5 -0
  1817. package/dist/node_modules/lodash/fp/create.js +5 -0
  1818. package/dist/node_modules/lodash/fp/curry.js +5 -0
  1819. package/dist/node_modules/lodash/fp/curryN.js +5 -0
  1820. package/dist/node_modules/lodash/fp/curryRight.js +5 -0
  1821. package/dist/node_modules/lodash/fp/curryRightN.js +5 -0
  1822. package/dist/node_modules/lodash/fp/date.js +2 -0
  1823. package/dist/node_modules/lodash/fp/debounce.js +5 -0
  1824. package/dist/node_modules/lodash/fp/deburr.js +5 -0
  1825. package/dist/node_modules/lodash/fp/defaultTo.js +5 -0
  1826. package/dist/node_modules/lodash/fp/defaults.js +5 -0
  1827. package/dist/node_modules/lodash/fp/defaultsAll.js +5 -0
  1828. package/dist/node_modules/lodash/fp/defaultsDeep.js +5 -0
  1829. package/dist/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
  1830. package/dist/node_modules/lodash/fp/defer.js +5 -0
  1831. package/dist/node_modules/lodash/fp/delay.js +5 -0
  1832. package/dist/node_modules/lodash/fp/difference.js +5 -0
  1833. package/dist/node_modules/lodash/fp/differenceBy.js +5 -0
  1834. package/dist/node_modules/lodash/fp/differenceWith.js +5 -0
  1835. package/dist/node_modules/lodash/fp/dissoc.js +1 -0
  1836. package/dist/node_modules/lodash/fp/dissocPath.js +1 -0
  1837. package/dist/node_modules/lodash/fp/divide.js +5 -0
  1838. package/dist/node_modules/lodash/fp/drop.js +5 -0
  1839. package/dist/node_modules/lodash/fp/dropLast.js +1 -0
  1840. package/dist/node_modules/lodash/fp/dropLastWhile.js +1 -0
  1841. package/dist/node_modules/lodash/fp/dropRight.js +5 -0
  1842. package/dist/node_modules/lodash/fp/dropRightWhile.js +5 -0
  1843. package/dist/node_modules/lodash/fp/dropWhile.js +5 -0
  1844. package/dist/node_modules/lodash/fp/each.js +1 -0
  1845. package/dist/node_modules/lodash/fp/eachRight.js +1 -0
  1846. package/dist/node_modules/lodash/fp/endsWith.js +5 -0
  1847. package/dist/node_modules/lodash/fp/entries.js +1 -0
  1848. package/dist/node_modules/lodash/fp/entriesIn.js +1 -0
  1849. package/dist/node_modules/lodash/fp/eq.js +5 -0
  1850. package/dist/node_modules/lodash/fp/equals.js +1 -0
  1851. package/dist/node_modules/lodash/fp/escape.js +5 -0
  1852. package/dist/node_modules/lodash/fp/escapeRegExp.js +5 -0
  1853. package/dist/node_modules/lodash/fp/every.js +5 -0
  1854. package/dist/node_modules/lodash/fp/extend.js +1 -0
  1855. package/dist/node_modules/lodash/fp/extendAll.js +1 -0
  1856. package/dist/node_modules/lodash/fp/extendAllWith.js +1 -0
  1857. package/dist/node_modules/lodash/fp/extendWith.js +1 -0
  1858. package/dist/node_modules/lodash/fp/fill.js +5 -0
  1859. package/dist/node_modules/lodash/fp/filter.js +5 -0
  1860. package/dist/node_modules/lodash/fp/find.js +5 -0
  1861. package/dist/node_modules/lodash/fp/findFrom.js +5 -0
  1862. package/dist/node_modules/lodash/fp/findIndex.js +5 -0
  1863. package/dist/node_modules/lodash/fp/findIndexFrom.js +5 -0
  1864. package/dist/node_modules/lodash/fp/findKey.js +5 -0
  1865. package/dist/node_modules/lodash/fp/findLast.js +5 -0
  1866. package/dist/node_modules/lodash/fp/findLastFrom.js +5 -0
  1867. package/dist/node_modules/lodash/fp/findLastIndex.js +5 -0
  1868. package/dist/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
  1869. package/dist/node_modules/lodash/fp/findLastKey.js +5 -0
  1870. package/dist/node_modules/lodash/fp/first.js +1 -0
  1871. package/dist/node_modules/lodash/fp/flatMap.js +5 -0
  1872. package/dist/node_modules/lodash/fp/flatMapDeep.js +5 -0
  1873. package/dist/node_modules/lodash/fp/flatMapDepth.js +5 -0
  1874. package/dist/node_modules/lodash/fp/flatten.js +5 -0
  1875. package/dist/node_modules/lodash/fp/flattenDeep.js +5 -0
  1876. package/dist/node_modules/lodash/fp/flattenDepth.js +5 -0
  1877. package/dist/node_modules/lodash/fp/flip.js +5 -0
  1878. package/dist/node_modules/lodash/fp/floor.js +5 -0
  1879. package/dist/node_modules/lodash/fp/flow.js +5 -0
  1880. package/dist/node_modules/lodash/fp/flowRight.js +5 -0
  1881. package/dist/node_modules/lodash/fp/forEach.js +5 -0
  1882. package/dist/node_modules/lodash/fp/forEachRight.js +5 -0
  1883. package/dist/node_modules/lodash/fp/forIn.js +5 -0
  1884. package/dist/node_modules/lodash/fp/forInRight.js +5 -0
  1885. package/dist/node_modules/lodash/fp/forOwn.js +5 -0
  1886. package/dist/node_modules/lodash/fp/forOwnRight.js +5 -0
  1887. package/dist/node_modules/lodash/fp/fromPairs.js +5 -0
  1888. package/dist/node_modules/lodash/fp/function.js +2 -0
  1889. package/dist/node_modules/lodash/fp/functions.js +5 -0
  1890. package/dist/node_modules/lodash/fp/functionsIn.js +5 -0
  1891. package/dist/node_modules/lodash/fp/get.js +5 -0
  1892. package/dist/node_modules/lodash/fp/getOr.js +5 -0
  1893. package/dist/node_modules/lodash/fp/groupBy.js +5 -0
  1894. package/dist/node_modules/lodash/fp/gt.js +5 -0
  1895. package/dist/node_modules/lodash/fp/gte.js +5 -0
  1896. package/dist/node_modules/lodash/fp/has.js +5 -0
  1897. package/dist/node_modules/lodash/fp/hasIn.js +5 -0
  1898. package/dist/node_modules/lodash/fp/head.js +5 -0
  1899. package/dist/node_modules/lodash/fp/identical.js +1 -0
  1900. package/dist/node_modules/lodash/fp/identity.js +5 -0
  1901. package/dist/node_modules/lodash/fp/inRange.js +5 -0
  1902. package/dist/node_modules/lodash/fp/includes.js +5 -0
  1903. package/dist/node_modules/lodash/fp/includesFrom.js +5 -0
  1904. package/dist/node_modules/lodash/fp/indexBy.js +1 -0
  1905. package/dist/node_modules/lodash/fp/indexOf.js +5 -0
  1906. package/dist/node_modules/lodash/fp/indexOfFrom.js +5 -0
  1907. package/dist/node_modules/lodash/fp/init.js +1 -0
  1908. package/dist/node_modules/lodash/fp/initial.js +5 -0
  1909. package/dist/node_modules/lodash/fp/intersection.js +5 -0
  1910. package/dist/node_modules/lodash/fp/intersectionBy.js +5 -0
  1911. package/dist/node_modules/lodash/fp/intersectionWith.js +5 -0
  1912. package/dist/node_modules/lodash/fp/invert.js +5 -0
  1913. package/dist/node_modules/lodash/fp/invertBy.js +5 -0
  1914. package/dist/node_modules/lodash/fp/invertObj.js +1 -0
  1915. package/dist/node_modules/lodash/fp/invoke.js +5 -0
  1916. package/dist/node_modules/lodash/fp/invokeArgs.js +5 -0
  1917. package/dist/node_modules/lodash/fp/invokeArgsMap.js +5 -0
  1918. package/dist/node_modules/lodash/fp/invokeMap.js +5 -0
  1919. package/dist/node_modules/lodash/fp/isArguments.js +5 -0
  1920. package/dist/node_modules/lodash/fp/isArray.js +5 -0
  1921. package/dist/node_modules/lodash/fp/isArrayBuffer.js +5 -0
  1922. package/dist/node_modules/lodash/fp/isArrayLike.js +5 -0
  1923. package/dist/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
  1924. package/dist/node_modules/lodash/fp/isBoolean.js +5 -0
  1925. package/dist/node_modules/lodash/fp/isBuffer.js +5 -0
  1926. package/dist/node_modules/lodash/fp/isDate.js +5 -0
  1927. package/dist/node_modules/lodash/fp/isElement.js +5 -0
  1928. package/dist/node_modules/lodash/fp/isEmpty.js +5 -0
  1929. package/dist/node_modules/lodash/fp/isEqual.js +5 -0
  1930. package/dist/node_modules/lodash/fp/isEqualWith.js +5 -0
  1931. package/dist/node_modules/lodash/fp/isError.js +5 -0
  1932. package/dist/node_modules/lodash/fp/isFinite.js +5 -0
  1933. package/dist/node_modules/lodash/fp/isFunction.js +5 -0
  1934. package/dist/node_modules/lodash/fp/isInteger.js +5 -0
  1935. package/dist/node_modules/lodash/fp/isLength.js +5 -0
  1936. package/dist/node_modules/lodash/fp/isMap.js +5 -0
  1937. package/dist/node_modules/lodash/fp/isMatch.js +5 -0
  1938. package/dist/node_modules/lodash/fp/isMatchWith.js +5 -0
  1939. package/dist/node_modules/lodash/fp/isNaN.js +5 -0
  1940. package/dist/node_modules/lodash/fp/isNative.js +5 -0
  1941. package/dist/node_modules/lodash/fp/isNil.js +5 -0
  1942. package/dist/node_modules/lodash/fp/isNull.js +5 -0
  1943. package/dist/node_modules/lodash/fp/isNumber.js +5 -0
  1944. package/dist/node_modules/lodash/fp/isObject.js +5 -0
  1945. package/dist/node_modules/lodash/fp/isObjectLike.js +5 -0
  1946. package/dist/node_modules/lodash/fp/isPlainObject.js +5 -0
  1947. package/dist/node_modules/lodash/fp/isRegExp.js +5 -0
  1948. package/dist/node_modules/lodash/fp/isSafeInteger.js +5 -0
  1949. package/dist/node_modules/lodash/fp/isSet.js +5 -0
  1950. package/dist/node_modules/lodash/fp/isString.js +5 -0
  1951. package/dist/node_modules/lodash/fp/isSymbol.js +5 -0
  1952. package/dist/node_modules/lodash/fp/isTypedArray.js +5 -0
  1953. package/dist/node_modules/lodash/fp/isUndefined.js +5 -0
  1954. package/dist/node_modules/lodash/fp/isWeakMap.js +5 -0
  1955. package/dist/node_modules/lodash/fp/isWeakSet.js +5 -0
  1956. package/dist/node_modules/lodash/fp/iteratee.js +5 -0
  1957. package/dist/node_modules/lodash/fp/join.js +5 -0
  1958. package/dist/node_modules/lodash/fp/juxt.js +1 -0
  1959. package/dist/node_modules/lodash/fp/kebabCase.js +5 -0
  1960. package/dist/node_modules/lodash/fp/keyBy.js +5 -0
  1961. package/dist/node_modules/lodash/fp/keys.js +5 -0
  1962. package/dist/node_modules/lodash/fp/keysIn.js +5 -0
  1963. package/dist/node_modules/lodash/fp/lang.js +2 -0
  1964. package/dist/node_modules/lodash/fp/last.js +5 -0
  1965. package/dist/node_modules/lodash/fp/lastIndexOf.js +5 -0
  1966. package/dist/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
  1967. package/dist/node_modules/lodash/fp/lowerCase.js +5 -0
  1968. package/dist/node_modules/lodash/fp/lowerFirst.js +5 -0
  1969. package/dist/node_modules/lodash/fp/lt.js +5 -0
  1970. package/dist/node_modules/lodash/fp/lte.js +5 -0
  1971. package/dist/node_modules/lodash/fp/map.js +5 -0
  1972. package/dist/node_modules/lodash/fp/mapKeys.js +5 -0
  1973. package/dist/node_modules/lodash/fp/mapValues.js +5 -0
  1974. package/dist/node_modules/lodash/fp/matches.js +1 -0
  1975. package/dist/node_modules/lodash/fp/matchesProperty.js +5 -0
  1976. package/dist/node_modules/lodash/fp/math.js +2 -0
  1977. package/dist/node_modules/lodash/fp/max.js +5 -0
  1978. package/dist/node_modules/lodash/fp/maxBy.js +5 -0
  1979. package/dist/node_modules/lodash/fp/mean.js +5 -0
  1980. package/dist/node_modules/lodash/fp/meanBy.js +5 -0
  1981. package/dist/node_modules/lodash/fp/memoize.js +5 -0
  1982. package/dist/node_modules/lodash/fp/merge.js +5 -0
  1983. package/dist/node_modules/lodash/fp/mergeAll.js +5 -0
  1984. package/dist/node_modules/lodash/fp/mergeAllWith.js +5 -0
  1985. package/dist/node_modules/lodash/fp/mergeWith.js +5 -0
  1986. package/dist/node_modules/lodash/fp/method.js +5 -0
  1987. package/dist/node_modules/lodash/fp/methodOf.js +5 -0
  1988. package/dist/node_modules/lodash/fp/min.js +5 -0
  1989. package/dist/node_modules/lodash/fp/minBy.js +5 -0
  1990. package/dist/node_modules/lodash/fp/mixin.js +5 -0
  1991. package/dist/node_modules/lodash/fp/multiply.js +5 -0
  1992. package/dist/node_modules/lodash/fp/nAry.js +1 -0
  1993. package/dist/node_modules/lodash/fp/negate.js +5 -0
  1994. package/dist/node_modules/lodash/fp/next.js +5 -0
  1995. package/dist/node_modules/lodash/fp/noop.js +5 -0
  1996. package/dist/node_modules/lodash/fp/now.js +5 -0
  1997. package/dist/node_modules/lodash/fp/nth.js +5 -0
  1998. package/dist/node_modules/lodash/fp/nthArg.js +5 -0
  1999. package/dist/node_modules/lodash/fp/number.js +2 -0
  2000. package/dist/node_modules/lodash/fp/object.js +2 -0
  2001. package/dist/node_modules/lodash/fp/omit.js +5 -0
  2002. package/dist/node_modules/lodash/fp/omitAll.js +1 -0
  2003. package/dist/node_modules/lodash/fp/omitBy.js +5 -0
  2004. package/dist/node_modules/lodash/fp/once.js +5 -0
  2005. package/dist/node_modules/lodash/fp/orderBy.js +5 -0
  2006. package/dist/node_modules/lodash/fp/over.js +5 -0
  2007. package/dist/node_modules/lodash/fp/overArgs.js +5 -0
  2008. package/dist/node_modules/lodash/fp/overEvery.js +5 -0
  2009. package/dist/node_modules/lodash/fp/overSome.js +5 -0
  2010. package/dist/node_modules/lodash/fp/pad.js +5 -0
  2011. package/dist/node_modules/lodash/fp/padChars.js +5 -0
  2012. package/dist/node_modules/lodash/fp/padCharsEnd.js +5 -0
  2013. package/dist/node_modules/lodash/fp/padCharsStart.js +5 -0
  2014. package/dist/node_modules/lodash/fp/padEnd.js +5 -0
  2015. package/dist/node_modules/lodash/fp/padStart.js +5 -0
  2016. package/dist/node_modules/lodash/fp/parseInt.js +5 -0
  2017. package/dist/node_modules/lodash/fp/partial.js +5 -0
  2018. package/dist/node_modules/lodash/fp/partialRight.js +5 -0
  2019. package/dist/node_modules/lodash/fp/partition.js +5 -0
  2020. package/dist/node_modules/lodash/fp/path.js +1 -0
  2021. package/dist/node_modules/lodash/fp/pathEq.js +1 -0
  2022. package/dist/node_modules/lodash/fp/pathOr.js +1 -0
  2023. package/dist/node_modules/lodash/fp/paths.js +1 -0
  2024. package/dist/node_modules/lodash/fp/pick.js +5 -0
  2025. package/dist/node_modules/lodash/fp/pickAll.js +1 -0
  2026. package/dist/node_modules/lodash/fp/pickBy.js +5 -0
  2027. package/dist/node_modules/lodash/fp/pipe.js +1 -0
  2028. package/dist/node_modules/lodash/fp/placeholder.js +6 -0
  2029. package/dist/node_modules/lodash/fp/plant.js +5 -0
  2030. package/dist/node_modules/lodash/fp/pluck.js +1 -0
  2031. package/dist/node_modules/lodash/fp/prop.js +1 -0
  2032. package/dist/node_modules/lodash/fp/propEq.js +1 -0
  2033. package/dist/node_modules/lodash/fp/propOr.js +1 -0
  2034. package/dist/node_modules/lodash/fp/property.js +1 -0
  2035. package/dist/node_modules/lodash/fp/propertyOf.js +5 -0
  2036. package/dist/node_modules/lodash/fp/props.js +1 -0
  2037. package/dist/node_modules/lodash/fp/pull.js +5 -0
  2038. package/dist/node_modules/lodash/fp/pullAll.js +5 -0
  2039. package/dist/node_modules/lodash/fp/pullAllBy.js +5 -0
  2040. package/dist/node_modules/lodash/fp/pullAllWith.js +5 -0
  2041. package/dist/node_modules/lodash/fp/pullAt.js +5 -0
  2042. package/dist/node_modules/lodash/fp/random.js +5 -0
  2043. package/dist/node_modules/lodash/fp/range.js +5 -0
  2044. package/dist/node_modules/lodash/fp/rangeRight.js +5 -0
  2045. package/dist/node_modules/lodash/fp/rangeStep.js +5 -0
  2046. package/dist/node_modules/lodash/fp/rangeStepRight.js +5 -0
  2047. package/dist/node_modules/lodash/fp/rearg.js +5 -0
  2048. package/dist/node_modules/lodash/fp/reduce.js +5 -0
  2049. package/dist/node_modules/lodash/fp/reduceRight.js +5 -0
  2050. package/dist/node_modules/lodash/fp/reject.js +5 -0
  2051. package/dist/node_modules/lodash/fp/remove.js +5 -0
  2052. package/dist/node_modules/lodash/fp/repeat.js +5 -0
  2053. package/dist/node_modules/lodash/fp/replace.js +5 -0
  2054. package/dist/node_modules/lodash/fp/rest.js +5 -0
  2055. package/dist/node_modules/lodash/fp/restFrom.js +5 -0
  2056. package/dist/node_modules/lodash/fp/result.js +5 -0
  2057. package/dist/node_modules/lodash/fp/reverse.js +5 -0
  2058. package/dist/node_modules/lodash/fp/round.js +5 -0
  2059. package/dist/node_modules/lodash/fp/sample.js +5 -0
  2060. package/dist/node_modules/lodash/fp/sampleSize.js +5 -0
  2061. package/dist/node_modules/lodash/fp/seq.js +2 -0
  2062. package/dist/node_modules/lodash/fp/set.js +5 -0
  2063. package/dist/node_modules/lodash/fp/setWith.js +5 -0
  2064. package/dist/node_modules/lodash/fp/shuffle.js +5 -0
  2065. package/dist/node_modules/lodash/fp/size.js +5 -0
  2066. package/dist/node_modules/lodash/fp/slice.js +5 -0
  2067. package/dist/node_modules/lodash/fp/snakeCase.js +5 -0
  2068. package/dist/node_modules/lodash/fp/some.js +5 -0
  2069. package/dist/node_modules/lodash/fp/sortBy.js +5 -0
  2070. package/dist/node_modules/lodash/fp/sortedIndex.js +5 -0
  2071. package/dist/node_modules/lodash/fp/sortedIndexBy.js +5 -0
  2072. package/dist/node_modules/lodash/fp/sortedIndexOf.js +5 -0
  2073. package/dist/node_modules/lodash/fp/sortedLastIndex.js +5 -0
  2074. package/dist/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
  2075. package/dist/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
  2076. package/dist/node_modules/lodash/fp/sortedUniq.js +5 -0
  2077. package/dist/node_modules/lodash/fp/sortedUniqBy.js +5 -0
  2078. package/dist/node_modules/lodash/fp/split.js +5 -0
  2079. package/dist/node_modules/lodash/fp/spread.js +5 -0
  2080. package/dist/node_modules/lodash/fp/spreadFrom.js +5 -0
  2081. package/dist/node_modules/lodash/fp/startCase.js +5 -0
  2082. package/dist/node_modules/lodash/fp/startsWith.js +5 -0
  2083. package/dist/node_modules/lodash/fp/string.js +2 -0
  2084. package/dist/node_modules/lodash/fp/stubArray.js +5 -0
  2085. package/dist/node_modules/lodash/fp/stubFalse.js +5 -0
  2086. package/dist/node_modules/lodash/fp/stubObject.js +5 -0
  2087. package/dist/node_modules/lodash/fp/stubString.js +5 -0
  2088. package/dist/node_modules/lodash/fp/stubTrue.js +5 -0
  2089. package/dist/node_modules/lodash/fp/subtract.js +5 -0
  2090. package/dist/node_modules/lodash/fp/sum.js +5 -0
  2091. package/dist/node_modules/lodash/fp/sumBy.js +5 -0
  2092. package/dist/node_modules/lodash/fp/symmetricDifference.js +1 -0
  2093. package/dist/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
  2094. package/dist/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
  2095. package/dist/node_modules/lodash/fp/tail.js +5 -0
  2096. package/dist/node_modules/lodash/fp/take.js +5 -0
  2097. package/dist/node_modules/lodash/fp/takeLast.js +1 -0
  2098. package/dist/node_modules/lodash/fp/takeLastWhile.js +1 -0
  2099. package/dist/node_modules/lodash/fp/takeRight.js +5 -0
  2100. package/dist/node_modules/lodash/fp/takeRightWhile.js +5 -0
  2101. package/dist/node_modules/lodash/fp/takeWhile.js +5 -0
  2102. package/dist/node_modules/lodash/fp/tap.js +5 -0
  2103. package/dist/node_modules/lodash/fp/template.js +5 -0
  2104. package/dist/node_modules/lodash/fp/templateSettings.js +5 -0
  2105. package/dist/node_modules/lodash/fp/throttle.js +5 -0
  2106. package/dist/node_modules/lodash/fp/thru.js +5 -0
  2107. package/dist/node_modules/lodash/fp/times.js +5 -0
  2108. package/dist/node_modules/lodash/fp/toArray.js +5 -0
  2109. package/dist/node_modules/lodash/fp/toFinite.js +5 -0
  2110. package/dist/node_modules/lodash/fp/toInteger.js +5 -0
  2111. package/dist/node_modules/lodash/fp/toIterator.js +5 -0
  2112. package/dist/node_modules/lodash/fp/toJSON.js +5 -0
  2113. package/dist/node_modules/lodash/fp/toLength.js +5 -0
  2114. package/dist/node_modules/lodash/fp/toLower.js +5 -0
  2115. package/dist/node_modules/lodash/fp/toNumber.js +5 -0
  2116. package/dist/node_modules/lodash/fp/toPairs.js +5 -0
  2117. package/dist/node_modules/lodash/fp/toPairsIn.js +5 -0
  2118. package/dist/node_modules/lodash/fp/toPath.js +5 -0
  2119. package/dist/node_modules/lodash/fp/toPlainObject.js +5 -0
  2120. package/dist/node_modules/lodash/fp/toSafeInteger.js +5 -0
  2121. package/dist/node_modules/lodash/fp/toString.js +5 -0
  2122. package/dist/node_modules/lodash/fp/toUpper.js +5 -0
  2123. package/dist/node_modules/lodash/fp/transform.js +5 -0
  2124. package/dist/node_modules/lodash/fp/trim.js +5 -0
  2125. package/dist/node_modules/lodash/fp/trimChars.js +5 -0
  2126. package/dist/node_modules/lodash/fp/trimCharsEnd.js +5 -0
  2127. package/dist/node_modules/lodash/fp/trimCharsStart.js +5 -0
  2128. package/dist/node_modules/lodash/fp/trimEnd.js +5 -0
  2129. package/dist/node_modules/lodash/fp/trimStart.js +5 -0
  2130. package/dist/node_modules/lodash/fp/truncate.js +5 -0
  2131. package/dist/node_modules/lodash/fp/unapply.js +1 -0
  2132. package/dist/node_modules/lodash/fp/unary.js +5 -0
  2133. package/dist/node_modules/lodash/fp/unescape.js +5 -0
  2134. package/dist/node_modules/lodash/fp/union.js +5 -0
  2135. package/dist/node_modules/lodash/fp/unionBy.js +5 -0
  2136. package/dist/node_modules/lodash/fp/unionWith.js +5 -0
  2137. package/dist/node_modules/lodash/fp/uniq.js +5 -0
  2138. package/dist/node_modules/lodash/fp/uniqBy.js +5 -0
  2139. package/dist/node_modules/lodash/fp/uniqWith.js +5 -0
  2140. package/dist/node_modules/lodash/fp/uniqueId.js +5 -0
  2141. package/dist/node_modules/lodash/fp/unnest.js +1 -0
  2142. package/dist/node_modules/lodash/fp/unset.js +5 -0
  2143. package/dist/node_modules/lodash/fp/unzip.js +5 -0
  2144. package/dist/node_modules/lodash/fp/unzipWith.js +5 -0
  2145. package/dist/node_modules/lodash/fp/update.js +5 -0
  2146. package/dist/node_modules/lodash/fp/updateWith.js +5 -0
  2147. package/dist/node_modules/lodash/fp/upperCase.js +5 -0
  2148. package/dist/node_modules/lodash/fp/upperFirst.js +5 -0
  2149. package/dist/node_modules/lodash/fp/useWith.js +1 -0
  2150. package/dist/node_modules/lodash/fp/util.js +2 -0
  2151. package/dist/node_modules/lodash/fp/value.js +5 -0
  2152. package/dist/node_modules/lodash/fp/valueOf.js +5 -0
  2153. package/dist/node_modules/lodash/fp/values.js +5 -0
  2154. package/dist/node_modules/lodash/fp/valuesIn.js +5 -0
  2155. package/dist/node_modules/lodash/fp/where.js +1 -0
  2156. package/dist/node_modules/lodash/fp/whereEq.js +1 -0
  2157. package/dist/node_modules/lodash/fp/without.js +5 -0
  2158. package/dist/node_modules/lodash/fp/words.js +5 -0
  2159. package/dist/node_modules/lodash/fp/wrap.js +5 -0
  2160. package/dist/node_modules/lodash/fp/wrapperAt.js +5 -0
  2161. package/dist/node_modules/lodash/fp/wrapperChain.js +5 -0
  2162. package/dist/node_modules/lodash/fp/wrapperLodash.js +5 -0
  2163. package/dist/node_modules/lodash/fp/wrapperReverse.js +5 -0
  2164. package/dist/node_modules/lodash/fp/wrapperValue.js +5 -0
  2165. package/dist/node_modules/lodash/fp/xor.js +5 -0
  2166. package/dist/node_modules/lodash/fp/xorBy.js +5 -0
  2167. package/dist/node_modules/lodash/fp/xorWith.js +5 -0
  2168. package/dist/node_modules/lodash/fp/zip.js +5 -0
  2169. package/dist/node_modules/lodash/fp/zipAll.js +5 -0
  2170. package/dist/node_modules/lodash/fp/zipObj.js +1 -0
  2171. package/dist/node_modules/lodash/fp/zipObject.js +5 -0
  2172. package/dist/node_modules/lodash/fp/zipObjectDeep.js +5 -0
  2173. package/dist/node_modules/lodash/fp/zipWith.js +5 -0
  2174. package/dist/node_modules/lodash/fp.js +2 -0
  2175. package/dist/node_modules/lodash/fromPairs.js +28 -0
  2176. package/dist/node_modules/lodash/function.js +25 -0
  2177. package/dist/node_modules/lodash/functions.js +31 -0
  2178. package/dist/node_modules/lodash/functionsIn.js +31 -0
  2179. package/dist/node_modules/lodash/get.js +33 -0
  2180. package/dist/node_modules/lodash/groupBy.js +41 -0
  2181. package/dist/node_modules/lodash/gt.js +29 -0
  2182. package/dist/node_modules/lodash/gte.js +30 -0
  2183. package/dist/node_modules/lodash/has.js +35 -0
  2184. package/dist/node_modules/lodash/hasIn.js +34 -0
  2185. package/dist/node_modules/lodash/head.js +23 -0
  2186. package/dist/node_modules/lodash/identity.js +21 -0
  2187. package/dist/node_modules/lodash/inRange.js +55 -0
  2188. package/dist/node_modules/lodash/includes.js +53 -0
  2189. package/dist/node_modules/lodash/index.js +1 -0
  2190. package/dist/node_modules/lodash/indexOf.js +42 -0
  2191. package/dist/node_modules/lodash/initial.js +22 -0
  2192. package/dist/node_modules/lodash/intersection.js +30 -0
  2193. package/dist/node_modules/lodash/intersectionBy.js +45 -0
  2194. package/dist/node_modules/lodash/intersectionWith.js +41 -0
  2195. package/dist/node_modules/lodash/invert.js +42 -0
  2196. package/dist/node_modules/lodash/invertBy.js +56 -0
  2197. package/dist/node_modules/lodash/invoke.js +24 -0
  2198. package/dist/node_modules/lodash/invokeMap.js +41 -0
  2199. package/dist/node_modules/lodash/isArguments.js +36 -0
  2200. package/dist/node_modules/lodash/isArray.js +26 -0
  2201. package/dist/node_modules/lodash/isArrayBuffer.js +27 -0
  2202. package/dist/node_modules/lodash/isArrayLike.js +33 -0
  2203. package/dist/node_modules/lodash/isArrayLikeObject.js +33 -0
  2204. package/dist/node_modules/lodash/isBoolean.js +29 -0
  2205. package/dist/node_modules/lodash/isBuffer.js +38 -0
  2206. package/dist/node_modules/lodash/isDate.js +27 -0
  2207. package/dist/node_modules/lodash/isElement.js +25 -0
  2208. package/dist/node_modules/lodash/isEmpty.js +77 -0
  2209. package/dist/node_modules/lodash/isEqual.js +35 -0
  2210. package/dist/node_modules/lodash/isEqualWith.js +41 -0
  2211. package/dist/node_modules/lodash/isError.js +36 -0
  2212. package/dist/node_modules/lodash/isFinite.js +36 -0
  2213. package/dist/node_modules/lodash/isFunction.js +37 -0
  2214. package/dist/node_modules/lodash/isInteger.js +33 -0
  2215. package/dist/node_modules/lodash/isLength.js +35 -0
  2216. package/dist/node_modules/lodash/isMap.js +27 -0
  2217. package/dist/node_modules/lodash/isMatch.js +36 -0
  2218. package/dist/node_modules/lodash/isMatchWith.js +41 -0
  2219. package/dist/node_modules/lodash/isNaN.js +38 -0
  2220. package/dist/node_modules/lodash/isNative.js +40 -0
  2221. package/dist/node_modules/lodash/isNil.js +25 -0
  2222. package/dist/node_modules/lodash/isNull.js +22 -0
  2223. package/dist/node_modules/lodash/isNumber.js +38 -0
  2224. package/dist/node_modules/lodash/isObject.js +31 -0
  2225. package/dist/node_modules/lodash/isObjectLike.js +29 -0
  2226. package/dist/node_modules/lodash/isPlainObject.js +62 -0
  2227. package/dist/node_modules/lodash/isRegExp.js +27 -0
  2228. package/dist/node_modules/lodash/isSafeInteger.js +37 -0
  2229. package/dist/node_modules/lodash/isSet.js +27 -0
  2230. package/dist/node_modules/lodash/isString.js +30 -0
  2231. package/dist/node_modules/lodash/isSymbol.js +29 -0
  2232. package/dist/node_modules/lodash/isTypedArray.js +27 -0
  2233. package/dist/node_modules/lodash/isUndefined.js +22 -0
  2234. package/dist/node_modules/lodash/isWeakMap.js +28 -0
  2235. package/dist/node_modules/lodash/isWeakSet.js +28 -0
  2236. package/dist/node_modules/lodash/iteratee.js +53 -0
  2237. package/dist/node_modules/lodash/join.js +26 -0
  2238. package/dist/node_modules/lodash/kebabCase.js +28 -0
  2239. package/dist/node_modules/lodash/keyBy.js +36 -0
  2240. package/dist/node_modules/lodash/keys.js +37 -0
  2241. package/dist/node_modules/lodash/keysIn.js +32 -0
  2242. package/dist/node_modules/lodash/lang.js +58 -0
  2243. package/dist/node_modules/lodash/last.js +20 -0
  2244. package/dist/node_modules/lodash/lastIndexOf.js +46 -0
  2245. package/dist/node_modules/lodash/lodash.js +17209 -0
  2246. package/dist/node_modules/lodash/lodash.min.js +140 -0
  2247. package/dist/node_modules/lodash/lowerCase.js +27 -0
  2248. package/dist/node_modules/lodash/lowerFirst.js +22 -0
  2249. package/dist/node_modules/lodash/lt.js +29 -0
  2250. package/dist/node_modules/lodash/lte.js +30 -0
  2251. package/dist/node_modules/lodash/map.js +53 -0
  2252. package/dist/node_modules/lodash/mapKeys.js +36 -0
  2253. package/dist/node_modules/lodash/mapValues.js +43 -0
  2254. package/dist/node_modules/lodash/matches.js +46 -0
  2255. package/dist/node_modules/lodash/matchesProperty.js +44 -0
  2256. package/dist/node_modules/lodash/math.js +17 -0
  2257. package/dist/node_modules/lodash/max.js +29 -0
  2258. package/dist/node_modules/lodash/maxBy.js +34 -0
  2259. package/dist/node_modules/lodash/mean.js +22 -0
  2260. package/dist/node_modules/lodash/meanBy.js +31 -0
  2261. package/dist/node_modules/lodash/memoize.js +73 -0
  2262. package/dist/node_modules/lodash/merge.js +39 -0
  2263. package/dist/node_modules/lodash/mergeWith.js +39 -0
  2264. package/dist/node_modules/lodash/method.js +34 -0
  2265. package/dist/node_modules/lodash/methodOf.js +33 -0
  2266. package/dist/node_modules/lodash/min.js +29 -0
  2267. package/dist/node_modules/lodash/minBy.js +34 -0
  2268. package/dist/node_modules/lodash/mixin.js +74 -0
  2269. package/dist/node_modules/lodash/multiply.js +22 -0
  2270. package/dist/node_modules/lodash/negate.js +40 -0
  2271. package/dist/node_modules/lodash/next.js +35 -0
  2272. package/dist/node_modules/lodash/noop.js +17 -0
  2273. package/dist/node_modules/lodash/now.js +23 -0
  2274. package/dist/node_modules/lodash/nth.js +29 -0
  2275. package/dist/node_modules/lodash/nthArg.js +32 -0
  2276. package/dist/node_modules/lodash/number.js +5 -0
  2277. package/dist/node_modules/lodash/object.js +49 -0
  2278. package/dist/node_modules/lodash/omit.js +57 -0
  2279. package/dist/node_modules/lodash/omitBy.js +29 -0
  2280. package/dist/node_modules/lodash/once.js +25 -0
  2281. package/dist/node_modules/lodash/orderBy.js +47 -0
  2282. package/dist/node_modules/lodash/over.js +24 -0
  2283. package/dist/node_modules/lodash/overArgs.js +61 -0
  2284. package/dist/node_modules/lodash/overEvery.js +34 -0
  2285. package/dist/node_modules/lodash/overSome.js +37 -0
  2286. package/dist/node_modules/lodash/package.json +17 -0
  2287. package/dist/node_modules/lodash/pad.js +49 -0
  2288. package/dist/node_modules/lodash/padEnd.js +39 -0
  2289. package/dist/node_modules/lodash/padStart.js +39 -0
  2290. package/dist/node_modules/lodash/parseInt.js +43 -0
  2291. package/dist/node_modules/lodash/partial.js +50 -0
  2292. package/dist/node_modules/lodash/partialRight.js +49 -0
  2293. package/dist/node_modules/lodash/partition.js +43 -0
  2294. package/dist/node_modules/lodash/pick.js +25 -0
  2295. package/dist/node_modules/lodash/pickBy.js +37 -0
  2296. package/dist/node_modules/lodash/plant.js +48 -0
  2297. package/dist/node_modules/lodash/property.js +32 -0
  2298. package/dist/node_modules/lodash/propertyOf.js +30 -0
  2299. package/dist/node_modules/lodash/pull.js +29 -0
  2300. package/dist/node_modules/lodash/pullAll.js +29 -0
  2301. package/dist/node_modules/lodash/pullAllBy.js +33 -0
  2302. package/dist/node_modules/lodash/pullAllWith.js +32 -0
  2303. package/dist/node_modules/lodash/pullAt.js +43 -0
  2304. package/dist/node_modules/lodash/random.js +82 -0
  2305. package/dist/node_modules/lodash/range.js +46 -0
  2306. package/dist/node_modules/lodash/rangeRight.js +41 -0
  2307. package/dist/node_modules/lodash/rearg.js +33 -0
  2308. package/dist/node_modules/lodash/reduce.js +51 -0
  2309. package/dist/node_modules/lodash/reduceRight.js +36 -0
  2310. package/dist/node_modules/lodash/reject.js +46 -0
  2311. package/dist/node_modules/lodash/release.md +48 -0
  2312. package/dist/node_modules/lodash/remove.js +53 -0
  2313. package/dist/node_modules/lodash/repeat.js +37 -0
  2314. package/dist/node_modules/lodash/replace.js +29 -0
  2315. package/dist/node_modules/lodash/rest.js +40 -0
  2316. package/dist/node_modules/lodash/result.js +56 -0
  2317. package/dist/node_modules/lodash/reverse.js +34 -0
  2318. package/dist/node_modules/lodash/round.js +26 -0
  2319. package/dist/node_modules/lodash/sample.js +24 -0
  2320. package/dist/node_modules/lodash/sampleSize.js +37 -0
  2321. package/dist/node_modules/lodash/seq.js +16 -0
  2322. package/dist/node_modules/lodash/set.js +35 -0
  2323. package/dist/node_modules/lodash/setWith.js +32 -0
  2324. package/dist/node_modules/lodash/shuffle.js +25 -0
  2325. package/dist/node_modules/lodash/size.js +46 -0
  2326. package/dist/node_modules/lodash/slice.js +37 -0
  2327. package/dist/node_modules/lodash/snakeCase.js +28 -0
  2328. package/dist/node_modules/lodash/some.js +51 -0
  2329. package/dist/node_modules/lodash/sortBy.js +48 -0
  2330. package/dist/node_modules/lodash/sortedIndex.js +24 -0
  2331. package/dist/node_modules/lodash/sortedIndexBy.js +33 -0
  2332. package/dist/node_modules/lodash/sortedIndexOf.js +31 -0
  2333. package/dist/node_modules/lodash/sortedLastIndex.js +25 -0
  2334. package/dist/node_modules/lodash/sortedLastIndexBy.js +33 -0
  2335. package/dist/node_modules/lodash/sortedLastIndexOf.js +31 -0
  2336. package/dist/node_modules/lodash/sortedUniq.js +24 -0
  2337. package/dist/node_modules/lodash/sortedUniqBy.js +26 -0
  2338. package/dist/node_modules/lodash/split.js +52 -0
  2339. package/dist/node_modules/lodash/spread.js +63 -0
  2340. package/dist/node_modules/lodash/startCase.js +29 -0
  2341. package/dist/node_modules/lodash/startsWith.js +39 -0
  2342. package/dist/node_modules/lodash/string.js +33 -0
  2343. package/dist/node_modules/lodash/stubArray.js +23 -0
  2344. package/dist/node_modules/lodash/stubFalse.js +18 -0
  2345. package/dist/node_modules/lodash/stubObject.js +23 -0
  2346. package/dist/node_modules/lodash/stubString.js +18 -0
  2347. package/dist/node_modules/lodash/stubTrue.js +18 -0
  2348. package/dist/node_modules/lodash/subtract.js +22 -0
  2349. package/dist/node_modules/lodash/sum.js +24 -0
  2350. package/dist/node_modules/lodash/sumBy.js +33 -0
  2351. package/dist/node_modules/lodash/tail.js +22 -0
  2352. package/dist/node_modules/lodash/take.js +37 -0
  2353. package/dist/node_modules/lodash/takeRight.js +39 -0
  2354. package/dist/node_modules/lodash/takeRightWhile.js +45 -0
  2355. package/dist/node_modules/lodash/takeWhile.js +45 -0
  2356. package/dist/node_modules/lodash/tap.js +29 -0
  2357. package/dist/node_modules/lodash/template.js +272 -0
  2358. package/dist/node_modules/lodash/templateSettings.js +67 -0
  2359. package/dist/node_modules/lodash/throttle.js +69 -0
  2360. package/dist/node_modules/lodash/thru.js +28 -0
  2361. package/dist/node_modules/lodash/times.js +51 -0
  2362. package/dist/node_modules/lodash/toArray.js +58 -0
  2363. package/dist/node_modules/lodash/toFinite.js +42 -0
  2364. package/dist/node_modules/lodash/toInteger.js +36 -0
  2365. package/dist/node_modules/lodash/toIterator.js +23 -0
  2366. package/dist/node_modules/lodash/toJSON.js +1 -0
  2367. package/dist/node_modules/lodash/toLength.js +38 -0
  2368. package/dist/node_modules/lodash/toLower.js +28 -0
  2369. package/dist/node_modules/lodash/toNumber.js +64 -0
  2370. package/dist/node_modules/lodash/toPairs.js +30 -0
  2371. package/dist/node_modules/lodash/toPairsIn.js +30 -0
  2372. package/dist/node_modules/lodash/toPath.js +33 -0
  2373. package/dist/node_modules/lodash/toPlainObject.js +32 -0
  2374. package/dist/node_modules/lodash/toSafeInteger.js +37 -0
  2375. package/dist/node_modules/lodash/toString.js +28 -0
  2376. package/dist/node_modules/lodash/toUpper.js +28 -0
  2377. package/dist/node_modules/lodash/transform.js +65 -0
  2378. package/dist/node_modules/lodash/trim.js +47 -0
  2379. package/dist/node_modules/lodash/trimEnd.js +41 -0
  2380. package/dist/node_modules/lodash/trimStart.js +43 -0
  2381. package/dist/node_modules/lodash/truncate.js +111 -0
  2382. package/dist/node_modules/lodash/unary.js +22 -0
  2383. package/dist/node_modules/lodash/unescape.js +34 -0
  2384. package/dist/node_modules/lodash/union.js +26 -0
  2385. package/dist/node_modules/lodash/unionBy.js +39 -0
  2386. package/dist/node_modules/lodash/unionWith.js +34 -0
  2387. package/dist/node_modules/lodash/uniq.js +25 -0
  2388. package/dist/node_modules/lodash/uniqBy.js +31 -0
  2389. package/dist/node_modules/lodash/uniqWith.js +28 -0
  2390. package/dist/node_modules/lodash/uniqueId.js +28 -0
  2391. package/dist/node_modules/lodash/unset.js +34 -0
  2392. package/dist/node_modules/lodash/unzip.js +45 -0
  2393. package/dist/node_modules/lodash/unzipWith.js +39 -0
  2394. package/dist/node_modules/lodash/update.js +35 -0
  2395. package/dist/node_modules/lodash/updateWith.js +33 -0
  2396. package/dist/node_modules/lodash/upperCase.js +27 -0
  2397. package/dist/node_modules/lodash/upperFirst.js +22 -0
  2398. package/dist/node_modules/lodash/util.js +34 -0
  2399. package/dist/node_modules/lodash/value.js +1 -0
  2400. package/dist/node_modules/lodash/valueOf.js +1 -0
  2401. package/dist/node_modules/lodash/values.js +34 -0
  2402. package/dist/node_modules/lodash/valuesIn.js +32 -0
  2403. package/dist/node_modules/lodash/without.js +31 -0
  2404. package/dist/node_modules/lodash/words.js +35 -0
  2405. package/dist/node_modules/lodash/wrap.js +30 -0
  2406. package/dist/node_modules/lodash/wrapperAt.js +48 -0
  2407. package/dist/node_modules/lodash/wrapperChain.js +34 -0
  2408. package/dist/node_modules/lodash/wrapperLodash.js +147 -0
  2409. package/dist/node_modules/lodash/wrapperReverse.js +44 -0
  2410. package/dist/node_modules/lodash/wrapperValue.js +21 -0
  2411. package/dist/node_modules/lodash/xor.js +28 -0
  2412. package/dist/node_modules/lodash/xorBy.js +39 -0
  2413. package/dist/node_modules/lodash/xorWith.js +34 -0
  2414. package/dist/node_modules/lodash/zip.js +22 -0
  2415. package/dist/node_modules/lodash/zipObject.js +24 -0
  2416. package/dist/node_modules/lodash/zipObjectDeep.js +23 -0
  2417. package/dist/node_modules/lodash/zipWith.js +32 -0
  2418. package/dist/node_modules/long/LICENSE +202 -0
  2419. package/dist/node_modules/long/README.md +286 -0
  2420. package/dist/node_modules/long/index.d.ts +2 -0
  2421. package/dist/node_modules/long/index.js +1581 -0
  2422. package/dist/node_modules/long/package.json +58 -0
  2423. package/dist/node_modules/long/types.d.ts +474 -0
  2424. package/dist/node_modules/long/umd/index.d.ts +3 -0
  2425. package/dist/node_modules/long/umd/index.js +1622 -0
  2426. package/dist/node_modules/long/umd/package.json +3 -0
  2427. package/dist/node_modules/long/umd/types.d.ts +474 -0
  2428. package/dist/node_modules/lru-cache/LICENSE +15 -0
  2429. package/dist/node_modules/lru-cache/README.md +331 -0
  2430. package/dist/node_modules/lru-cache/dist/commonjs/index.d.ts +1277 -0
  2431. package/dist/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
  2432. package/dist/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
  2433. package/dist/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
  2434. package/dist/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  2435. package/dist/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
  2436. package/dist/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  2437. package/dist/node_modules/lru-cache/dist/esm/index.d.ts +1277 -0
  2438. package/dist/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
  2439. package/dist/node_modules/lru-cache/dist/esm/index.js +1542 -0
  2440. package/dist/node_modules/lru-cache/dist/esm/index.js.map +1 -0
  2441. package/dist/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  2442. package/dist/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
  2443. package/dist/node_modules/lru-cache/dist/esm/package.json +3 -0
  2444. package/dist/node_modules/lru-cache/package.json +116 -0
  2445. package/dist/node_modules/math-intrinsics/.eslintrc +16 -0
  2446. package/dist/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  2447. package/dist/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  2448. package/dist/node_modules/math-intrinsics/LICENSE +21 -0
  2449. package/dist/node_modules/math-intrinsics/README.md +50 -0
  2450. package/dist/node_modules/math-intrinsics/abs.d.ts +1 -0
  2451. package/dist/node_modules/math-intrinsics/abs.js +4 -0
  2452. package/dist/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  2453. package/dist/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  2454. package/dist/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  2455. package/dist/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  2456. package/dist/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  2457. package/dist/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  2458. package/dist/node_modules/math-intrinsics/floor.d.ts +1 -0
  2459. package/dist/node_modules/math-intrinsics/floor.js +4 -0
  2460. package/dist/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  2461. package/dist/node_modules/math-intrinsics/isFinite.js +12 -0
  2462. package/dist/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  2463. package/dist/node_modules/math-intrinsics/isInteger.js +16 -0
  2464. package/dist/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  2465. package/dist/node_modules/math-intrinsics/isNaN.js +6 -0
  2466. package/dist/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  2467. package/dist/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  2468. package/dist/node_modules/math-intrinsics/max.d.ts +1 -0
  2469. package/dist/node_modules/math-intrinsics/max.js +4 -0
  2470. package/dist/node_modules/math-intrinsics/min.d.ts +1 -0
  2471. package/dist/node_modules/math-intrinsics/min.js +4 -0
  2472. package/dist/node_modules/math-intrinsics/mod.d.ts +3 -0
  2473. package/dist/node_modules/math-intrinsics/mod.js +9 -0
  2474. package/dist/node_modules/math-intrinsics/package.json +86 -0
  2475. package/dist/node_modules/math-intrinsics/pow.d.ts +1 -0
  2476. package/dist/node_modules/math-intrinsics/pow.js +4 -0
  2477. package/dist/node_modules/math-intrinsics/round.d.ts +1 -0
  2478. package/dist/node_modules/math-intrinsics/round.js +4 -0
  2479. package/dist/node_modules/math-intrinsics/sign.d.ts +3 -0
  2480. package/dist/node_modules/math-intrinsics/sign.js +11 -0
  2481. package/dist/node_modules/math-intrinsics/test/index.js +192 -0
  2482. package/dist/node_modules/math-intrinsics/tsconfig.json +3 -0
  2483. package/dist/node_modules/mime-db/HISTORY.md +507 -0
  2484. package/dist/node_modules/mime-db/LICENSE +23 -0
  2485. package/dist/node_modules/mime-db/README.md +100 -0
  2486. package/dist/node_modules/mime-db/db.json +8519 -0
  2487. package/dist/node_modules/mime-db/index.js +12 -0
  2488. package/dist/node_modules/mime-db/package.json +60 -0
  2489. package/dist/node_modules/mime-types/HISTORY.md +397 -0
  2490. package/dist/node_modules/mime-types/LICENSE +23 -0
  2491. package/dist/node_modules/mime-types/README.md +113 -0
  2492. package/dist/node_modules/mime-types/index.js +188 -0
  2493. package/dist/node_modules/mime-types/package.json +44 -0
  2494. package/dist/node_modules/minimist/.eslintrc +29 -0
  2495. package/dist/node_modules/minimist/.github/FUNDING.yml +12 -0
  2496. package/dist/node_modules/minimist/.nycrc +14 -0
  2497. package/dist/node_modules/minimist/CHANGELOG.md +298 -0
  2498. package/dist/node_modules/minimist/LICENSE +18 -0
  2499. package/dist/node_modules/minimist/README.md +121 -0
  2500. package/dist/node_modules/minimist/example/parse.js +4 -0
  2501. package/dist/node_modules/minimist/index.js +263 -0
  2502. package/dist/node_modules/minimist/package.json +75 -0
  2503. package/dist/node_modules/minimist/test/all_bool.js +34 -0
  2504. package/dist/node_modules/minimist/test/bool.js +177 -0
  2505. package/dist/node_modules/minimist/test/dash.js +43 -0
  2506. package/dist/node_modules/minimist/test/default_bool.js +37 -0
  2507. package/dist/node_modules/minimist/test/dotted.js +24 -0
  2508. package/dist/node_modules/minimist/test/kv_short.js +32 -0
  2509. package/dist/node_modules/minimist/test/long.js +33 -0
  2510. package/dist/node_modules/minimist/test/num.js +38 -0
  2511. package/dist/node_modules/minimist/test/parse.js +209 -0
  2512. package/dist/node_modules/minimist/test/parse_modified.js +11 -0
  2513. package/dist/node_modules/minimist/test/proto.js +64 -0
  2514. package/dist/node_modules/minimist/test/short.js +69 -0
  2515. package/dist/node_modules/minimist/test/stop_early.js +17 -0
  2516. package/dist/node_modules/minimist/test/unknown.js +104 -0
  2517. package/dist/node_modules/minimist/test/whitespace.js +10 -0
  2518. package/dist/node_modules/mqtt/CONTRIBUTING.md +27 -0
  2519. package/dist/node_modules/mqtt/LICENSE.md +15 -0
  2520. package/dist/node_modules/mqtt/README.md +977 -0
  2521. package/dist/node_modules/mqtt/build/bin/mqtt.d.ts +2 -0
  2522. package/dist/node_modules/mqtt/build/bin/mqtt.js +30 -0
  2523. package/dist/node_modules/mqtt/build/bin/mqtt.js.map +1 -0
  2524. package/dist/node_modules/mqtt/build/bin/pub.d.ts +2 -0
  2525. package/dist/node_modules/mqtt/build/bin/pub.js +146 -0
  2526. package/dist/node_modules/mqtt/build/bin/pub.js.map +1 -0
  2527. package/dist/node_modules/mqtt/build/bin/sub.d.ts +2 -0
  2528. package/dist/node_modules/mqtt/build/bin/sub.js +121 -0
  2529. package/dist/node_modules/mqtt/build/bin/sub.js.map +1 -0
  2530. package/dist/node_modules/mqtt/build/index.d.ts +3 -0
  2531. package/dist/node_modules/mqtt/build/index.js +42 -0
  2532. package/dist/node_modules/mqtt/build/index.js.map +1 -0
  2533. package/dist/node_modules/mqtt/build/lib/BufferedDuplex.d.ts +20 -0
  2534. package/dist/node_modules/mqtt/build/lib/BufferedDuplex.js +82 -0
  2535. package/dist/node_modules/mqtt/build/lib/BufferedDuplex.js.map +1 -0
  2536. package/dist/node_modules/mqtt/build/lib/KeepaliveManager.d.ts +21 -0
  2537. package/dist/node_modules/mqtt/build/lib/KeepaliveManager.js +78 -0
  2538. package/dist/node_modules/mqtt/build/lib/KeepaliveManager.js.map +1 -0
  2539. package/dist/node_modules/mqtt/build/lib/TypedEmitter.d.ts +19 -0
  2540. package/dist/node_modules/mqtt/build/lib/TypedEmitter.js +13 -0
  2541. package/dist/node_modules/mqtt/build/lib/TypedEmitter.js.map +1 -0
  2542. package/dist/node_modules/mqtt/build/lib/client.d.ts +237 -0
  2543. package/dist/node_modules/mqtt/build/lib/client.js +1289 -0
  2544. package/dist/node_modules/mqtt/build/lib/client.js.map +1 -0
  2545. package/dist/node_modules/mqtt/build/lib/connect/ali.d.ts +3 -0
  2546. package/dist/node_modules/mqtt/build/lib/connect/ali.js +107 -0
  2547. package/dist/node_modules/mqtt/build/lib/connect/ali.js.map +1 -0
  2548. package/dist/node_modules/mqtt/build/lib/connect/index.d.ts +10 -0
  2549. package/dist/node_modules/mqtt/build/lib/connect/index.js +198 -0
  2550. package/dist/node_modules/mqtt/build/lib/connect/index.js.map +1 -0
  2551. package/dist/node_modules/mqtt/build/lib/connect/socks.d.ts +8 -0
  2552. package/dist/node_modules/mqtt/build/lib/connect/socks.js +181 -0
  2553. package/dist/node_modules/mqtt/build/lib/connect/socks.js.map +1 -0
  2554. package/dist/node_modules/mqtt/build/lib/connect/tcp.d.ts +3 -0
  2555. package/dist/node_modules/mqtt/build/lib/connect/tcp.js +24 -0
  2556. package/dist/node_modules/mqtt/build/lib/connect/tcp.js.map +1 -0
  2557. package/dist/node_modules/mqtt/build/lib/connect/tls.d.ts +3 -0
  2558. package/dist/node_modules/mqtt/build/lib/connect/tls.js +52 -0
  2559. package/dist/node_modules/mqtt/build/lib/connect/tls.js.map +1 -0
  2560. package/dist/node_modules/mqtt/build/lib/connect/ws.d.ts +4 -0
  2561. package/dist/node_modules/mqtt/build/lib/connect/ws.js +220 -0
  2562. package/dist/node_modules/mqtt/build/lib/connect/ws.js.map +1 -0
  2563. package/dist/node_modules/mqtt/build/lib/connect/wx.d.ts +6 -0
  2564. package/dist/node_modules/mqtt/build/lib/connect/wx.js +115 -0
  2565. package/dist/node_modules/mqtt/build/lib/connect/wx.js.map +1 -0
  2566. package/dist/node_modules/mqtt/build/lib/default-message-id-provider.d.ts +16 -0
  2567. package/dist/node_modules/mqtt/build/lib/default-message-id-provider.js +25 -0
  2568. package/dist/node_modules/mqtt/build/lib/default-message-id-provider.js.map +1 -0
  2569. package/dist/node_modules/mqtt/build/lib/get-timer.d.ts +8 -0
  2570. package/dist/node_modules/mqtt/build/lib/get-timer.js +63 -0
  2571. package/dist/node_modules/mqtt/build/lib/get-timer.js.map +1 -0
  2572. package/dist/node_modules/mqtt/build/lib/handlers/ack.d.ts +48 -0
  2573. package/dist/node_modules/mqtt/build/lib/handlers/ack.js +131 -0
  2574. package/dist/node_modules/mqtt/build/lib/handlers/ack.js.map +1 -0
  2575. package/dist/node_modules/mqtt/build/lib/handlers/auth.d.ts +3 -0
  2576. package/dist/node_modules/mqtt/build/lib/handlers/auth.js +30 -0
  2577. package/dist/node_modules/mqtt/build/lib/handlers/auth.js.map +1 -0
  2578. package/dist/node_modules/mqtt/build/lib/handlers/connack.d.ts +3 -0
  2579. package/dist/node_modules/mqtt/build/lib/handlers/connack.js +50 -0
  2580. package/dist/node_modules/mqtt/build/lib/handlers/connack.js.map +1 -0
  2581. package/dist/node_modules/mqtt/build/lib/handlers/index.d.ts +3 -0
  2582. package/dist/node_modules/mqtt/build/lib/handlers/index.js +68 -0
  2583. package/dist/node_modules/mqtt/build/lib/handlers/index.js.map +1 -0
  2584. package/dist/node_modules/mqtt/build/lib/handlers/publish.d.ts +3 -0
  2585. package/dist/node_modules/mqtt/build/lib/handlers/publish.js +106 -0
  2586. package/dist/node_modules/mqtt/build/lib/handlers/publish.js.map +1 -0
  2587. package/dist/node_modules/mqtt/build/lib/handlers/pubrel.d.ts +3 -0
  2588. package/dist/node_modules/mqtt/build/lib/handlers/pubrel.js +25 -0
  2589. package/dist/node_modules/mqtt/build/lib/handlers/pubrel.js.map +1 -0
  2590. package/dist/node_modules/mqtt/build/lib/is-browser.d.ts +7 -0
  2591. package/dist/node_modules/mqtt/build/lib/is-browser.js +24 -0
  2592. package/dist/node_modules/mqtt/build/lib/is-browser.js.map +1 -0
  2593. package/dist/node_modules/mqtt/build/lib/shared.d.ts +27 -0
  2594. package/dist/node_modules/mqtt/build/lib/shared.js +52 -0
  2595. package/dist/node_modules/mqtt/build/lib/shared.js.map +1 -0
  2596. package/dist/node_modules/mqtt/build/lib/store.d.ts +24 -0
  2597. package/dist/node_modules/mqtt/build/lib/store.js +82 -0
  2598. package/dist/node_modules/mqtt/build/lib/store.js.map +1 -0
  2599. package/dist/node_modules/mqtt/build/lib/topic-alias-recv.d.ts +9 -0
  2600. package/dist/node_modules/mqtt/build/lib/topic-alias-recv.js +27 -0
  2601. package/dist/node_modules/mqtt/build/lib/topic-alias-recv.js.map +1 -0
  2602. package/dist/node_modules/mqtt/build/lib/topic-alias-send.d.ts +13 -0
  2603. package/dist/node_modules/mqtt/build/lib/topic-alias-send.js +58 -0
  2604. package/dist/node_modules/mqtt/build/lib/topic-alias-send.js.map +1 -0
  2605. package/dist/node_modules/mqtt/build/lib/unique-message-id-provider.d.ts +11 -0
  2606. package/dist/node_modules/mqtt/build/lib/unique-message-id-provider.js +28 -0
  2607. package/dist/node_modules/mqtt/build/lib/unique-message-id-provider.js.map +1 -0
  2608. package/dist/node_modules/mqtt/build/lib/validations.d.ts +2 -0
  2609. package/dist/node_modules/mqtt/build/lib/validations.js +31 -0
  2610. package/dist/node_modules/mqtt/build/lib/validations.js.map +1 -0
  2611. package/dist/node_modules/mqtt/build/mqtt.d.ts +12 -0
  2612. package/dist/node_modules/mqtt/build/mqtt.js +61 -0
  2613. package/dist/node_modules/mqtt/build/mqtt.js.map +1 -0
  2614. package/dist/node_modules/mqtt/build/tsconfig.build.tsbuildinfo +1 -0
  2615. package/dist/node_modules/mqtt/dist/mqtt.esm.js +19 -0
  2616. package/dist/node_modules/mqtt/dist/mqtt.js +23895 -0
  2617. package/dist/node_modules/mqtt/dist/mqtt.min.js +19 -0
  2618. package/dist/node_modules/mqtt/help/help.txt +8 -0
  2619. package/dist/node_modules/mqtt/help/publish.txt +26 -0
  2620. package/dist/node_modules/mqtt/help/subscribe.txt +26 -0
  2621. package/dist/node_modules/mqtt/package.json +175 -0
  2622. package/dist/node_modules/mqtt-packet/.github/workflows/ci.yml +27 -0
  2623. package/dist/node_modules/mqtt-packet/CONTRIBUTING.md +27 -0
  2624. package/dist/node_modules/mqtt-packet/LICENSE.md +13 -0
  2625. package/dist/node_modules/mqtt-packet/README.md +491 -0
  2626. package/dist/node_modules/mqtt-packet/benchmarks/generate.js +26 -0
  2627. package/dist/node_modules/mqtt-packet/benchmarks/generateNet.js +50 -0
  2628. package/dist/node_modules/mqtt-packet/benchmarks/parse.js +19 -0
  2629. package/dist/node_modules/mqtt-packet/benchmarks/writeToStream.js +48 -0
  2630. package/dist/node_modules/mqtt-packet/constants.js +291 -0
  2631. package/dist/node_modules/mqtt-packet/generate.js +57 -0
  2632. package/dist/node_modules/mqtt-packet/mqtt.js +3 -0
  2633. package/dist/node_modules/mqtt-packet/numbers.js +59 -0
  2634. package/dist/node_modules/mqtt-packet/package.json +48 -0
  2635. package/dist/node_modules/mqtt-packet/packet.js +13 -0
  2636. package/dist/node_modules/mqtt-packet/parser.js +809 -0
  2637. package/dist/node_modules/mqtt-packet/test.js +3234 -0
  2638. package/dist/node_modules/mqtt-packet/testRandom.js +86 -0
  2639. package/dist/node_modules/mqtt-packet/types/index.d.ts +257 -0
  2640. package/dist/node_modules/mqtt-packet/writeToStream.js +1129 -0
  2641. package/dist/node_modules/ms/index.js +162 -0
  2642. package/dist/node_modules/ms/license.md +21 -0
  2643. package/dist/node_modules/ms/package.json +38 -0
  2644. package/dist/node_modules/ms/readme.md +59 -0
  2645. package/dist/node_modules/node-domexception/.history/README_20210527203617.md +2 -0
  2646. package/dist/node_modules/node-domexception/.history/README_20210527212714.md +41 -0
  2647. package/dist/node_modules/node-domexception/.history/README_20210527213345.md +36 -0
  2648. package/dist/node_modules/node-domexception/.history/README_20210527213411.md +36 -0
  2649. package/dist/node_modules/node-domexception/.history/README_20210527213803.md +36 -0
  2650. package/dist/node_modules/node-domexception/.history/README_20210527214323.md +38 -0
  2651. package/dist/node_modules/node-domexception/.history/README_20210527214408.md +38 -0
  2652. package/dist/node_modules/node-domexception/.history/index_20210527203842.js +0 -0
  2653. package/dist/node_modules/node-domexception/.history/index_20210527203947.js +8 -0
  2654. package/dist/node_modules/node-domexception/.history/index_20210527204259.js +9 -0
  2655. package/dist/node_modules/node-domexception/.history/index_20210527204418.js +9 -0
  2656. package/dist/node_modules/node-domexception/.history/index_20210527204756.js +11 -0
  2657. package/dist/node_modules/node-domexception/.history/index_20210527204833.js +11 -0
  2658. package/dist/node_modules/node-domexception/.history/index_20210527211208.js +15 -0
  2659. package/dist/node_modules/node-domexception/.history/index_20210527211248.js +15 -0
  2660. package/dist/node_modules/node-domexception/.history/index_20210527212722.js +23 -0
  2661. package/dist/node_modules/node-domexception/.history/index_20210527212731.js +23 -0
  2662. package/dist/node_modules/node-domexception/.history/index_20210527212746.js +15 -0
  2663. package/dist/node_modules/node-domexception/.history/index_20210527212900.js +16 -0
  2664. package/dist/node_modules/node-domexception/.history/index_20210527213022.js +16 -0
  2665. package/dist/node_modules/node-domexception/.history/index_20210527213822.js +16 -0
  2666. package/dist/node_modules/node-domexception/.history/index_20210527213843.js +17 -0
  2667. package/dist/node_modules/node-domexception/.history/index_20210527213852.js +17 -0
  2668. package/dist/node_modules/node-domexception/.history/index_20210527213910.js +16 -0
  2669. package/dist/node_modules/node-domexception/.history/index_20210527214034.js +16 -0
  2670. package/dist/node_modules/node-domexception/.history/index_20210527214643.js +41 -0
  2671. package/dist/node_modules/node-domexception/.history/index_20210527214654.js +41 -0
  2672. package/dist/node_modules/node-domexception/.history/index_20210527214700.js +16 -0
  2673. package/dist/node_modules/node-domexception/.history/package_20210527203733.json +19 -0
  2674. package/dist/node_modules/node-domexception/.history/package_20210527203825.json +16 -0
  2675. package/dist/node_modules/node-domexception/.history/package_20210527204621.json +19 -0
  2676. package/dist/node_modules/node-domexception/.history/package_20210527204913.json +25 -0
  2677. package/dist/node_modules/node-domexception/.history/package_20210527204925.json +25 -0
  2678. package/dist/node_modules/node-domexception/.history/package_20210527205145.json +29 -0
  2679. package/dist/node_modules/node-domexception/.history/package_20210527205156.json +29 -0
  2680. package/dist/node_modules/node-domexception/.history/test_20210527205603.js +0 -0
  2681. package/dist/node_modules/node-domexception/.history/test_20210527205957.js +3 -0
  2682. package/dist/node_modules/node-domexception/.history/test_20210527210021.js +3 -0
  2683. package/dist/node_modules/node-domexception/LICENSE +21 -0
  2684. package/dist/node_modules/node-domexception/README.md +46 -0
  2685. package/dist/node_modules/node-domexception/index.js +16 -0
  2686. package/dist/node_modules/node-domexception/package.json +29 -0
  2687. package/dist/node_modules/node-fetch/@types/index.d.ts +219 -0
  2688. package/dist/node_modules/node-fetch/LICENSE.md +22 -0
  2689. package/dist/node_modules/node-fetch/README.md +872 -0
  2690. package/dist/node_modules/node-fetch/package.json +131 -0
  2691. package/dist/node_modules/node-fetch/src/body.js +397 -0
  2692. package/dist/node_modules/node-fetch/src/errors/abort-error.js +10 -0
  2693. package/dist/node_modules/node-fetch/src/errors/base.js +17 -0
  2694. package/dist/node_modules/node-fetch/src/errors/fetch-error.js +26 -0
  2695. package/dist/node_modules/node-fetch/src/headers.js +267 -0
  2696. package/dist/node_modules/node-fetch/src/index.js +417 -0
  2697. package/dist/node_modules/node-fetch/src/request.js +313 -0
  2698. package/dist/node_modules/node-fetch/src/response.js +160 -0
  2699. package/dist/node_modules/node-fetch/src/utils/get-search.js +9 -0
  2700. package/dist/node_modules/node-fetch/src/utils/is-redirect.js +11 -0
  2701. package/dist/node_modules/node-fetch/src/utils/is.js +87 -0
  2702. package/dist/node_modules/node-fetch/src/utils/multipart-parser.js +432 -0
  2703. package/dist/node_modules/node-fetch/src/utils/referrer.js +340 -0
  2704. package/dist/node_modules/node-persist/LICENSE +21 -0
  2705. package/dist/node_modules/node-persist/README.md +246 -0
  2706. package/dist/node_modules/node-persist/examples/counter/counter.js +89 -0
  2707. package/dist/node_modules/node-persist/package.json +49 -0
  2708. package/dist/node_modules/node-persist/src/local-storage.js +521 -0
  2709. package/dist/node_modules/node-persist/src/node-persist.js +53 -0
  2710. package/dist/node_modules/node-persist/tests/index.js +400 -0
  2711. package/dist/node_modules/number-allocator/.github/workflows/nodejs.yml +33 -0
  2712. package/dist/node_modules/number-allocator/CHANGELOG.md +47 -0
  2713. package/dist/node_modules/number-allocator/LICENSE +21 -0
  2714. package/dist/node_modules/number-allocator/README.md +203 -0
  2715. package/dist/node_modules/number-allocator/index.js +7 -0
  2716. package/dist/node_modules/number-allocator/karma.conf.js +63 -0
  2717. package/dist/node_modules/number-allocator/lib/number-allocator.js +249 -0
  2718. package/dist/node_modules/number-allocator/package.json +69 -0
  2719. package/dist/node_modules/number-allocator/test/test.js +337 -0
  2720. package/dist/node_modules/number-allocator/test/typescript/test.ts +24 -0
  2721. package/dist/node_modules/number-allocator/test/typescript/tsconfig.json +14 -0
  2722. package/dist/node_modules/number-allocator/types/index.d.ts +1 -0
  2723. package/dist/node_modules/number-allocator/types/lib/number-allocator.d.ts +65 -0
  2724. package/dist/node_modules/p-limit/index.d.ts +42 -0
  2725. package/dist/node_modules/p-limit/index.js +71 -0
  2726. package/dist/node_modules/p-limit/license +9 -0
  2727. package/dist/node_modules/p-limit/package.json +52 -0
  2728. package/dist/node_modules/p-limit/readme.md +101 -0
  2729. package/dist/node_modules/pako/LICENSE +21 -0
  2730. package/dist/node_modules/pako/README.md +177 -0
  2731. package/dist/node_modules/pako/dist/pako.es5.js +6688 -0
  2732. package/dist/node_modules/pako/dist/pako.es5.min.js +2 -0
  2733. package/dist/node_modules/pako/dist/pako.esm.mjs +6877 -0
  2734. package/dist/node_modules/pako/dist/pako.js +6896 -0
  2735. package/dist/node_modules/pako/dist/pako.min.js +2 -0
  2736. package/dist/node_modules/pako/dist/pako_deflate.es5.js +3924 -0
  2737. package/dist/node_modules/pako/dist/pako_deflate.es5.min.js +2 -0
  2738. package/dist/node_modules/pako/dist/pako_deflate.js +4126 -0
  2739. package/dist/node_modules/pako/dist/pako_deflate.min.js +2 -0
  2740. package/dist/node_modules/pako/dist/pako_inflate.es5.js +3229 -0
  2741. package/dist/node_modules/pako/dist/pako_inflate.es5.min.js +2 -0
  2742. package/dist/node_modules/pako/dist/pako_inflate.js +3239 -0
  2743. package/dist/node_modules/pako/dist/pako_inflate.min.js +2 -0
  2744. package/dist/node_modules/pako/index.js +18 -0
  2745. package/dist/node_modules/pako/lib/deflate.js +380 -0
  2746. package/dist/node_modules/pako/lib/inflate.js +419 -0
  2747. package/dist/node_modules/pako/lib/utils/common.js +48 -0
  2748. package/dist/node_modules/pako/lib/utils/strings.js +174 -0
  2749. package/dist/node_modules/pako/lib/zlib/README +59 -0
  2750. package/dist/node_modules/pako/lib/zlib/adler32.js +51 -0
  2751. package/dist/node_modules/pako/lib/zlib/constants.js +68 -0
  2752. package/dist/node_modules/pako/lib/zlib/crc32.js +59 -0
  2753. package/dist/node_modules/pako/lib/zlib/deflate.js +2048 -0
  2754. package/dist/node_modules/pako/lib/zlib/gzheader.js +58 -0
  2755. package/dist/node_modules/pako/lib/zlib/inffast.js +344 -0
  2756. package/dist/node_modules/pako/lib/zlib/inflate.js +1572 -0
  2757. package/dist/node_modules/pako/lib/zlib/inftrees.js +340 -0
  2758. package/dist/node_modules/pako/lib/zlib/messages.js +32 -0
  2759. package/dist/node_modules/pako/lib/zlib/trees.js +1179 -0
  2760. package/dist/node_modules/pako/lib/zlib/zstream.js +47 -0
  2761. package/dist/node_modules/pako/package.json +64 -0
  2762. package/dist/node_modules/process/.eslintrc +21 -0
  2763. package/dist/node_modules/process/LICENSE +22 -0
  2764. package/dist/node_modules/process/README.md +26 -0
  2765. package/dist/node_modules/process/browser.js +184 -0
  2766. package/dist/node_modules/process/index.js +2 -0
  2767. package/dist/node_modules/process/package.json +27 -0
  2768. package/dist/node_modules/process/test.js +199 -0
  2769. package/dist/node_modules/process-nextick-args/index.js +45 -0
  2770. package/dist/node_modules/process-nextick-args/license.md +19 -0
  2771. package/dist/node_modules/process-nextick-args/package.json +25 -0
  2772. package/dist/node_modules/process-nextick-args/readme.md +18 -0
  2773. package/dist/node_modules/protobufjs/LICENSE +39 -0
  2774. package/dist/node_modules/protobufjs/README.md +727 -0
  2775. package/dist/node_modules/protobufjs/dist/light/protobuf.js +7833 -0
  2776. package/dist/node_modules/protobufjs/dist/light/protobuf.js.map +1 -0
  2777. package/dist/node_modules/protobufjs/dist/light/protobuf.min.js +8 -0
  2778. package/dist/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -0
  2779. package/dist/node_modules/protobufjs/dist/minimal/protobuf.js +2736 -0
  2780. package/dist/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -0
  2781. package/dist/node_modules/protobufjs/dist/minimal/protobuf.min.js +8 -0
  2782. package/dist/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -0
  2783. package/dist/node_modules/protobufjs/dist/protobuf.js +9637 -0
  2784. package/dist/node_modules/protobufjs/dist/protobuf.js.map +1 -0
  2785. package/dist/node_modules/protobufjs/dist/protobuf.min.js +8 -0
  2786. package/dist/node_modules/protobufjs/dist/protobuf.min.js.map +1 -0
  2787. package/dist/node_modules/protobufjs/ext/debug/README.md +4 -0
  2788. package/dist/node_modules/protobufjs/ext/debug/index.js +71 -0
  2789. package/dist/node_modules/protobufjs/ext/descriptor/README.md +72 -0
  2790. package/dist/node_modules/protobufjs/ext/descriptor/index.d.ts +191 -0
  2791. package/dist/node_modules/protobufjs/ext/descriptor/index.js +1162 -0
  2792. package/dist/node_modules/protobufjs/ext/descriptor/test.js +54 -0
  2793. package/dist/node_modules/protobufjs/google/LICENSE +27 -0
  2794. package/dist/node_modules/protobufjs/google/README.md +1 -0
  2795. package/dist/node_modules/protobufjs/google/api/annotations.json +83 -0
  2796. package/dist/node_modules/protobufjs/google/api/annotations.proto +11 -0
  2797. package/dist/node_modules/protobufjs/google/api/http.json +86 -0
  2798. package/dist/node_modules/protobufjs/google/api/http.proto +31 -0
  2799. package/dist/node_modules/protobufjs/google/protobuf/api.json +118 -0
  2800. package/dist/node_modules/protobufjs/google/protobuf/api.proto +34 -0
  2801. package/dist/node_modules/protobufjs/google/protobuf/descriptor.json +1382 -0
  2802. package/dist/node_modules/protobufjs/google/protobuf/descriptor.proto +535 -0
  2803. package/dist/node_modules/protobufjs/google/protobuf/source_context.json +20 -0
  2804. package/dist/node_modules/protobufjs/google/protobuf/source_context.proto +7 -0
  2805. package/dist/node_modules/protobufjs/google/protobuf/type.json +202 -0
  2806. package/dist/node_modules/protobufjs/google/protobuf/type.proto +89 -0
  2807. package/dist/node_modules/protobufjs/index.d.ts +2799 -0
  2808. package/dist/node_modules/protobufjs/index.js +4 -0
  2809. package/dist/node_modules/protobufjs/light.d.ts +2 -0
  2810. package/dist/node_modules/protobufjs/light.js +4 -0
  2811. package/dist/node_modules/protobufjs/minimal.d.ts +2 -0
  2812. package/dist/node_modules/protobufjs/minimal.js +4 -0
  2813. package/dist/node_modules/protobufjs/package.json +114 -0
  2814. package/dist/node_modules/protobufjs/scripts/postinstall.js +32 -0
  2815. package/dist/node_modules/protobufjs/src/common.js +399 -0
  2816. package/dist/node_modules/protobufjs/src/converter.js +301 -0
  2817. package/dist/node_modules/protobufjs/src/decoder.js +127 -0
  2818. package/dist/node_modules/protobufjs/src/encoder.js +100 -0
  2819. package/dist/node_modules/protobufjs/src/enum.js +223 -0
  2820. package/dist/node_modules/protobufjs/src/field.js +453 -0
  2821. package/dist/node_modules/protobufjs/src/index-light.js +104 -0
  2822. package/dist/node_modules/protobufjs/src/index-minimal.js +36 -0
  2823. package/dist/node_modules/protobufjs/src/index.js +12 -0
  2824. package/dist/node_modules/protobufjs/src/mapfield.js +126 -0
  2825. package/dist/node_modules/protobufjs/src/message.js +139 -0
  2826. package/dist/node_modules/protobufjs/src/method.js +160 -0
  2827. package/dist/node_modules/protobufjs/src/namespace.js +546 -0
  2828. package/dist/node_modules/protobufjs/src/object.js +378 -0
  2829. package/dist/node_modules/protobufjs/src/oneof.js +222 -0
  2830. package/dist/node_modules/protobufjs/src/parse.js +969 -0
  2831. package/dist/node_modules/protobufjs/src/reader.js +416 -0
  2832. package/dist/node_modules/protobufjs/src/reader_buffer.js +51 -0
  2833. package/dist/node_modules/protobufjs/src/root.js +404 -0
  2834. package/dist/node_modules/protobufjs/src/roots.js +18 -0
  2835. package/dist/node_modules/protobufjs/src/rpc/service.js +142 -0
  2836. package/dist/node_modules/protobufjs/src/rpc.js +36 -0
  2837. package/dist/node_modules/protobufjs/src/service.js +189 -0
  2838. package/dist/node_modules/protobufjs/src/tokenize.js +416 -0
  2839. package/dist/node_modules/protobufjs/src/type.js +614 -0
  2840. package/dist/node_modules/protobufjs/src/types.js +196 -0
  2841. package/dist/node_modules/protobufjs/src/typescript.jsdoc +15 -0
  2842. package/dist/node_modules/protobufjs/src/util/longbits.js +200 -0
  2843. package/dist/node_modules/protobufjs/src/util/minimal.js +438 -0
  2844. package/dist/node_modules/protobufjs/src/util.js +215 -0
  2845. package/dist/node_modules/protobufjs/src/verifier.js +177 -0
  2846. package/dist/node_modules/protobufjs/src/wrappers.js +102 -0
  2847. package/dist/node_modules/protobufjs/src/writer.js +465 -0
  2848. package/dist/node_modules/protobufjs/src/writer_buffer.js +85 -0
  2849. package/dist/node_modules/protobufjs/tsconfig.json +8 -0
  2850. package/dist/node_modules/proxy-from-env/.eslintrc +29 -0
  2851. package/dist/node_modules/proxy-from-env/.travis.yml +10 -0
  2852. package/dist/node_modules/proxy-from-env/LICENSE +20 -0
  2853. package/dist/node_modules/proxy-from-env/README.md +131 -0
  2854. package/dist/node_modules/proxy-from-env/index.js +108 -0
  2855. package/dist/node_modules/proxy-from-env/package.json +34 -0
  2856. package/dist/node_modules/proxy-from-env/test.js +483 -0
  2857. package/dist/node_modules/psl/LICENSE +9 -0
  2858. package/dist/node_modules/psl/README.md +260 -0
  2859. package/dist/node_modules/psl/SECURITY.md +13 -0
  2860. package/dist/node_modules/psl/browserstack-logo.svg +90 -0
  2861. package/dist/node_modules/psl/data/rules.js +9778 -0
  2862. package/dist/node_modules/psl/dist/psl.cjs +1 -0
  2863. package/dist/node_modules/psl/dist/psl.mjs +10008 -0
  2864. package/dist/node_modules/psl/dist/psl.umd.cjs +1 -0
  2865. package/dist/node_modules/psl/index.js +247 -0
  2866. package/dist/node_modules/psl/package.json +51 -0
  2867. package/dist/node_modules/psl/types/index.d.ts +52 -0
  2868. package/dist/node_modules/psl/types/test.ts +14 -0
  2869. package/dist/node_modules/psl/types/tsconfig.json +22 -0
  2870. package/dist/node_modules/psl/vite.config.js +20 -0
  2871. package/dist/node_modules/punycode/LICENSE-MIT.txt +20 -0
  2872. package/dist/node_modules/punycode/README.md +148 -0
  2873. package/dist/node_modules/punycode/package.json +58 -0
  2874. package/dist/node_modules/punycode/punycode.es6.js +444 -0
  2875. package/dist/node_modules/punycode/punycode.js +443 -0
  2876. package/dist/node_modules/querystringify/LICENSE +22 -0
  2877. package/dist/node_modules/querystringify/README.md +61 -0
  2878. package/dist/node_modules/querystringify/index.js +118 -0
  2879. package/dist/node_modules/querystringify/package.json +38 -0
  2880. package/dist/node_modules/readable-stream/LICENSE +47 -0
  2881. package/dist/node_modules/readable-stream/README.md +116 -0
  2882. package/dist/node_modules/readable-stream/lib/_stream_duplex.js +4 -0
  2883. package/dist/node_modules/readable-stream/lib/_stream_passthrough.js +4 -0
  2884. package/dist/node_modules/readable-stream/lib/_stream_readable.js +4 -0
  2885. package/dist/node_modules/readable-stream/lib/_stream_transform.js +4 -0
  2886. package/dist/node_modules/readable-stream/lib/_stream_writable.js +4 -0
  2887. package/dist/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js +52 -0
  2888. package/dist/node_modules/readable-stream/lib/internal/streams/buffer_list.js +157 -0
  2889. package/dist/node_modules/readable-stream/lib/internal/streams/compose.js +194 -0
  2890. package/dist/node_modules/readable-stream/lib/internal/streams/destroy.js +290 -0
  2891. package/dist/node_modules/readable-stream/lib/internal/streams/duplex.js +143 -0
  2892. package/dist/node_modules/readable-stream/lib/internal/streams/duplexify.js +378 -0
  2893. package/dist/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +286 -0
  2894. package/dist/node_modules/readable-stream/lib/internal/streams/from.js +98 -0
  2895. package/dist/node_modules/readable-stream/lib/internal/streams/lazy_transform.js +51 -0
  2896. package/dist/node_modules/readable-stream/lib/internal/streams/legacy.js +89 -0
  2897. package/dist/node_modules/readable-stream/lib/internal/streams/operators.js +457 -0
  2898. package/dist/node_modules/readable-stream/lib/internal/streams/passthrough.js +39 -0
  2899. package/dist/node_modules/readable-stream/lib/internal/streams/pipeline.js +471 -0
  2900. package/dist/node_modules/readable-stream/lib/internal/streams/readable.js +1290 -0
  2901. package/dist/node_modules/readable-stream/lib/internal/streams/state.js +39 -0
  2902. package/dist/node_modules/readable-stream/lib/internal/streams/transform.js +180 -0
  2903. package/dist/node_modules/readable-stream/lib/internal/streams/utils.js +327 -0
  2904. package/dist/node_modules/readable-stream/lib/internal/streams/writable.js +819 -0
  2905. package/dist/node_modules/readable-stream/lib/internal/validators.js +530 -0
  2906. package/dist/node_modules/readable-stream/lib/ours/browser.js +35 -0
  2907. package/dist/node_modules/readable-stream/lib/ours/errors.js +343 -0
  2908. package/dist/node_modules/readable-stream/lib/ours/index.js +65 -0
  2909. package/dist/node_modules/readable-stream/lib/ours/primordials.js +124 -0
  2910. package/dist/node_modules/readable-stream/lib/ours/util/inspect.js +55 -0
  2911. package/dist/node_modules/readable-stream/lib/ours/util.js +148 -0
  2912. package/dist/node_modules/readable-stream/lib/stream/promises.js +43 -0
  2913. package/dist/node_modules/readable-stream/lib/stream.js +143 -0
  2914. package/dist/node_modules/readable-stream/package.json +88 -0
  2915. package/dist/node_modules/requires-port/.travis.yml +19 -0
  2916. package/dist/node_modules/requires-port/LICENSE +22 -0
  2917. package/dist/node_modules/requires-port/README.md +47 -0
  2918. package/dist/node_modules/requires-port/index.js +38 -0
  2919. package/dist/node_modules/requires-port/package.json +47 -0
  2920. package/dist/node_modules/requires-port/test.js +98 -0
  2921. package/dist/node_modules/rfdc/.github/workflows/ci.yml +21 -0
  2922. package/dist/node_modules/rfdc/LICENSE +15 -0
  2923. package/dist/node_modules/rfdc/default.js +3 -0
  2924. package/dist/node_modules/rfdc/index.d.ts +13 -0
  2925. package/dist/node_modules/rfdc/index.js +198 -0
  2926. package/dist/node_modules/rfdc/index.test-d.ts +13 -0
  2927. package/dist/node_modules/rfdc/package.json +73 -0
  2928. package/dist/node_modules/rfdc/readme.md +181 -0
  2929. package/dist/node_modules/rfdc/test/index.js +306 -0
  2930. package/dist/node_modules/safe-buffer/LICENSE +21 -0
  2931. package/dist/node_modules/safe-buffer/README.md +584 -0
  2932. package/dist/node_modules/safe-buffer/index.d.ts +187 -0
  2933. package/dist/node_modules/safe-buffer/index.js +65 -0
  2934. package/dist/node_modules/safe-buffer/package.json +51 -0
  2935. package/dist/node_modules/smart-buffer/.prettierrc.yaml +5 -0
  2936. package/dist/node_modules/smart-buffer/.travis.yml +13 -0
  2937. package/dist/node_modules/smart-buffer/LICENSE +20 -0
  2938. package/dist/node_modules/smart-buffer/README.md +633 -0
  2939. package/dist/node_modules/smart-buffer/build/smartbuffer.js +1233 -0
  2940. package/dist/node_modules/smart-buffer/build/smartbuffer.js.map +1 -0
  2941. package/dist/node_modules/smart-buffer/build/utils.js +108 -0
  2942. package/dist/node_modules/smart-buffer/build/utils.js.map +1 -0
  2943. package/dist/node_modules/smart-buffer/docs/CHANGELOG.md +70 -0
  2944. package/dist/node_modules/smart-buffer/docs/README_v3.md +367 -0
  2945. package/dist/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
  2946. package/dist/node_modules/smart-buffer/package.json +79 -0
  2947. package/dist/node_modules/smart-buffer/typings/smartbuffer.d.ts +755 -0
  2948. package/dist/node_modules/smart-buffer/typings/utils.d.ts +66 -0
  2949. package/dist/node_modules/socks/.eslintrc.cjs +11 -0
  2950. package/dist/node_modules/socks/.prettierrc.yaml +7 -0
  2951. package/dist/node_modules/socks/LICENSE +20 -0
  2952. package/dist/node_modules/socks/README.md +686 -0
  2953. package/dist/node_modules/socks/build/client/socksclient.js +793 -0
  2954. package/dist/node_modules/socks/build/client/socksclient.js.map +1 -0
  2955. package/dist/node_modules/socks/build/common/constants.js +108 -0
  2956. package/dist/node_modules/socks/build/common/constants.js.map +1 -0
  2957. package/dist/node_modules/socks/build/common/helpers.js +167 -0
  2958. package/dist/node_modules/socks/build/common/helpers.js.map +1 -0
  2959. package/dist/node_modules/socks/build/common/receivebuffer.js +43 -0
  2960. package/dist/node_modules/socks/build/common/receivebuffer.js.map +1 -0
  2961. package/dist/node_modules/socks/build/common/util.js +25 -0
  2962. package/dist/node_modules/socks/build/common/util.js.map +1 -0
  2963. package/dist/node_modules/socks/build/index.js +18 -0
  2964. package/dist/node_modules/socks/build/index.js.map +1 -0
  2965. package/dist/node_modules/socks/docs/examples/index.md +17 -0
  2966. package/dist/node_modules/socks/docs/examples/javascript/associateExample.md +90 -0
  2967. package/dist/node_modules/socks/docs/examples/javascript/bindExample.md +83 -0
  2968. package/dist/node_modules/socks/docs/examples/javascript/connectExample.md +258 -0
  2969. package/dist/node_modules/socks/docs/examples/typescript/associateExample.md +93 -0
  2970. package/dist/node_modules/socks/docs/examples/typescript/bindExample.md +86 -0
  2971. package/dist/node_modules/socks/docs/examples/typescript/connectExample.md +265 -0
  2972. package/dist/node_modules/socks/docs/index.md +5 -0
  2973. package/dist/node_modules/socks/docs/migratingFromV1.md +86 -0
  2974. package/dist/node_modules/socks/package.json +58 -0
  2975. package/dist/node_modules/socks/typings/client/socksclient.d.ts +162 -0
  2976. package/dist/node_modules/socks/typings/common/constants.d.ts +151 -0
  2977. package/dist/node_modules/socks/typings/common/helpers.d.ts +17 -0
  2978. package/dist/node_modules/socks/typings/common/receivebuffer.d.ts +12 -0
  2979. package/dist/node_modules/socks/typings/common/util.d.ts +14 -0
  2980. package/dist/node_modules/socks/typings/index.d.ts +1 -0
  2981. package/dist/node_modules/split2/LICENSE +13 -0
  2982. package/dist/node_modules/split2/README.md +85 -0
  2983. package/dist/node_modules/split2/bench.js +27 -0
  2984. package/dist/node_modules/split2/index.js +141 -0
  2985. package/dist/node_modules/split2/package.json +39 -0
  2986. package/dist/node_modules/split2/test.js +409 -0
  2987. package/dist/node_modules/string_decoder/LICENSE +48 -0
  2988. package/dist/node_modules/string_decoder/README.md +47 -0
  2989. package/dist/node_modules/string_decoder/lib/string_decoder.js +296 -0
  2990. package/dist/node_modules/string_decoder/package.json +34 -0
  2991. package/dist/node_modules/tough-cookie/LICENSE +12 -0
  2992. package/dist/node_modules/tough-cookie/README.md +596 -0
  2993. package/dist/node_modules/tough-cookie/lib/cookie.js +1758 -0
  2994. package/dist/node_modules/tough-cookie/lib/memstore.js +242 -0
  2995. package/dist/node_modules/tough-cookie/lib/pathMatch.js +61 -0
  2996. package/dist/node_modules/tough-cookie/lib/permuteDomain.js +65 -0
  2997. package/dist/node_modules/tough-cookie/lib/pubsuffix-psl.js +73 -0
  2998. package/dist/node_modules/tough-cookie/lib/store.js +76 -0
  2999. package/dist/node_modules/tough-cookie/lib/utilHelper.js +39 -0
  3000. package/dist/node_modules/tough-cookie/lib/validators.js +110 -0
  3001. package/dist/node_modules/tough-cookie/lib/version.js +2 -0
  3002. package/dist/node_modules/tough-cookie/package.json +110 -0
  3003. package/dist/node_modules/ts-custom-error/CHANGELOG.md +149 -0
  3004. package/dist/node_modules/ts-custom-error/LICENSE +21 -0
  3005. package/dist/node_modules/ts-custom-error/README.md +165 -0
  3006. package/dist/node_modules/ts-custom-error/SECURITY.md +11 -0
  3007. package/dist/node_modules/ts-custom-error/dist/custom-error.d.ts +22 -0
  3008. package/dist/node_modules/ts-custom-error/dist/custom-error.js +110 -0
  3009. package/dist/node_modules/ts-custom-error/dist/custom-error.js.map +1 -0
  3010. package/dist/node_modules/ts-custom-error/dist/custom-error.mjs +109 -0
  3011. package/dist/node_modules/ts-custom-error/dist/custom-error.mjs.map +1 -0
  3012. package/dist/node_modules/ts-custom-error/dist/custom-error.modern.mjs +107 -0
  3013. package/dist/node_modules/ts-custom-error/dist/custom-error.modern.mjs.map +1 -0
  3014. package/dist/node_modules/ts-custom-error/dist/custom-error.umd.d.ts +22 -0
  3015. package/dist/node_modules/ts-custom-error/dist/custom-error.umd.js +1 -0
  3016. package/dist/node_modules/ts-custom-error/dist/custom-error.umd.js.map +1 -0
  3017. package/dist/node_modules/ts-custom-error/dist/dist/src/index.d.ts +2 -0
  3018. package/dist/node_modules/ts-custom-error/package.json +140 -0
  3019. package/dist/node_modules/tslib/CopyrightNotice.txt +15 -0
  3020. package/dist/node_modules/tslib/LICENSE.txt +12 -0
  3021. package/dist/node_modules/tslib/README.md +164 -0
  3022. package/dist/node_modules/tslib/SECURITY.md +41 -0
  3023. package/dist/node_modules/tslib/modules/index.d.ts +38 -0
  3024. package/dist/node_modules/tslib/modules/index.js +70 -0
  3025. package/dist/node_modules/tslib/modules/package.json +3 -0
  3026. package/dist/node_modules/tslib/package.json +47 -0
  3027. package/dist/node_modules/tslib/tslib.d.ts +460 -0
  3028. package/dist/node_modules/tslib/tslib.es6.html +1 -0
  3029. package/dist/node_modules/tslib/tslib.es6.js +402 -0
  3030. package/dist/node_modules/tslib/tslib.es6.mjs +401 -0
  3031. package/dist/node_modules/tslib/tslib.html +1 -0
  3032. package/dist/node_modules/tslib/tslib.js +484 -0
  3033. package/dist/node_modules/typedarray/.travis.yml +4 -0
  3034. package/dist/node_modules/typedarray/LICENSE +35 -0
  3035. package/dist/node_modules/typedarray/example/tarray.js +4 -0
  3036. package/dist/node_modules/typedarray/index.js +630 -0
  3037. package/dist/node_modules/typedarray/package.json +55 -0
  3038. package/dist/node_modules/typedarray/readme.markdown +61 -0
  3039. package/dist/node_modules/typedarray/test/server/undef_globals.js +19 -0
  3040. package/dist/node_modules/typedarray/test/tarray.js +10 -0
  3041. package/dist/node_modules/undici-types/LICENSE +21 -0
  3042. package/dist/node_modules/undici-types/README.md +6 -0
  3043. package/dist/node_modules/undici-types/agent.d.ts +32 -0
  3044. package/dist/node_modules/undici-types/api.d.ts +43 -0
  3045. package/dist/node_modules/undici-types/balanced-pool.d.ts +29 -0
  3046. package/dist/node_modules/undici-types/cache-interceptor.d.ts +172 -0
  3047. package/dist/node_modules/undici-types/cache.d.ts +36 -0
  3048. package/dist/node_modules/undici-types/client-stats.d.ts +15 -0
  3049. package/dist/node_modules/undici-types/client.d.ts +108 -0
  3050. package/dist/node_modules/undici-types/connector.d.ts +34 -0
  3051. package/dist/node_modules/undici-types/content-type.d.ts +21 -0
  3052. package/dist/node_modules/undici-types/cookies.d.ts +30 -0
  3053. package/dist/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
  3054. package/dist/node_modules/undici-types/dispatcher.d.ts +276 -0
  3055. package/dist/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
  3056. package/dist/node_modules/undici-types/errors.d.ts +161 -0
  3057. package/dist/node_modules/undici-types/eventsource.d.ts +66 -0
  3058. package/dist/node_modules/undici-types/fetch.d.ts +211 -0
  3059. package/dist/node_modules/undici-types/formdata.d.ts +108 -0
  3060. package/dist/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  3061. package/dist/node_modules/undici-types/global-origin.d.ts +7 -0
  3062. package/dist/node_modules/undici-types/h2c-client.d.ts +73 -0
  3063. package/dist/node_modules/undici-types/handlers.d.ts +15 -0
  3064. package/dist/node_modules/undici-types/header.d.ts +160 -0
  3065. package/dist/node_modules/undici-types/index.d.ts +80 -0
  3066. package/dist/node_modules/undici-types/interceptors.d.ts +39 -0
  3067. package/dist/node_modules/undici-types/mock-agent.d.ts +68 -0
  3068. package/dist/node_modules/undici-types/mock-call-history.d.ts +111 -0
  3069. package/dist/node_modules/undici-types/mock-client.d.ts +27 -0
  3070. package/dist/node_modules/undici-types/mock-errors.d.ts +12 -0
  3071. package/dist/node_modules/undici-types/mock-interceptor.d.ts +94 -0
  3072. package/dist/node_modules/undici-types/mock-pool.d.ts +27 -0
  3073. package/dist/node_modules/undici-types/package.json +55 -0
  3074. package/dist/node_modules/undici-types/patch.d.ts +29 -0
  3075. package/dist/node_modules/undici-types/pool-stats.d.ts +19 -0
  3076. package/dist/node_modules/undici-types/pool.d.ts +41 -0
  3077. package/dist/node_modules/undici-types/proxy-agent.d.ts +29 -0
  3078. package/dist/node_modules/undici-types/readable.d.ts +68 -0
  3079. package/dist/node_modules/undici-types/retry-agent.d.ts +8 -0
  3080. package/dist/node_modules/undici-types/retry-handler.d.ts +125 -0
  3081. package/dist/node_modules/undici-types/snapshot-agent.d.ts +109 -0
  3082. package/dist/node_modules/undici-types/util.d.ts +18 -0
  3083. package/dist/node_modules/undici-types/utility.d.ts +7 -0
  3084. package/dist/node_modules/undici-types/webidl.d.ts +341 -0
  3085. package/dist/node_modules/undici-types/websocket.d.ts +186 -0
  3086. package/dist/node_modules/universalify/LICENSE +20 -0
  3087. package/dist/node_modules/universalify/README.md +76 -0
  3088. package/dist/node_modules/universalify/index.js +29 -0
  3089. package/dist/node_modules/universalify/package.json +34 -0
  3090. package/dist/node_modules/url-parse/LICENSE +22 -0
  3091. package/dist/node_modules/url-parse/README.md +153 -0
  3092. package/dist/node_modules/url-parse/dist/url-parse.js +755 -0
  3093. package/dist/node_modules/url-parse/dist/url-parse.min.js +1 -0
  3094. package/dist/node_modules/url-parse/dist/url-parse.min.js.map +1 -0
  3095. package/dist/node_modules/url-parse/index.js +589 -0
  3096. package/dist/node_modules/url-parse/package.json +49 -0
  3097. package/dist/node_modules/util-deprecate/History.md +16 -0
  3098. package/dist/node_modules/util-deprecate/LICENSE +24 -0
  3099. package/dist/node_modules/util-deprecate/README.md +53 -0
  3100. package/dist/node_modules/util-deprecate/browser.js +67 -0
  3101. package/dist/node_modules/util-deprecate/node.js +6 -0
  3102. package/dist/node_modules/util-deprecate/package.json +27 -0
  3103. package/dist/node_modules/uuid/CHANGELOG.md +274 -0
  3104. package/dist/node_modules/uuid/CONTRIBUTING.md +18 -0
  3105. package/dist/node_modules/uuid/LICENSE.md +9 -0
  3106. package/dist/node_modules/uuid/README.md +466 -0
  3107. package/dist/node_modules/uuid/dist/bin/uuid +2 -0
  3108. package/dist/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
  3109. package/dist/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
  3110. package/dist/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
  3111. package/dist/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
  3112. package/dist/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
  3113. package/dist/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
  3114. package/dist/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
  3115. package/dist/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
  3116. package/dist/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
  3117. package/dist/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
  3118. package/dist/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
  3119. package/dist/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
  3120. package/dist/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
  3121. package/dist/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
  3122. package/dist/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
  3123. package/dist/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
  3124. package/dist/node_modules/uuid/dist/esm-browser/index.js +9 -0
  3125. package/dist/node_modules/uuid/dist/esm-browser/md5.js +215 -0
  3126. package/dist/node_modules/uuid/dist/esm-browser/native.js +4 -0
  3127. package/dist/node_modules/uuid/dist/esm-browser/nil.js +1 -0
  3128. package/dist/node_modules/uuid/dist/esm-browser/parse.js +35 -0
  3129. package/dist/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  3130. package/dist/node_modules/uuid/dist/esm-browser/rng.js +18 -0
  3131. package/dist/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
  3132. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +33 -0
  3133. package/dist/node_modules/uuid/dist/esm-browser/v1.js +95 -0
  3134. package/dist/node_modules/uuid/dist/esm-browser/v3.js +4 -0
  3135. package/dist/node_modules/uuid/dist/esm-browser/v35.js +66 -0
  3136. package/dist/node_modules/uuid/dist/esm-browser/v4.js +29 -0
  3137. package/dist/node_modules/uuid/dist/esm-browser/v5.js +4 -0
  3138. package/dist/node_modules/uuid/dist/esm-browser/validate.js +7 -0
  3139. package/dist/node_modules/uuid/dist/esm-browser/version.js +11 -0
  3140. package/dist/node_modules/uuid/dist/esm-node/index.js +9 -0
  3141. package/dist/node_modules/uuid/dist/esm-node/md5.js +13 -0
  3142. package/dist/node_modules/uuid/dist/esm-node/native.js +4 -0
  3143. package/dist/node_modules/uuid/dist/esm-node/nil.js +1 -0
  3144. package/dist/node_modules/uuid/dist/esm-node/parse.js +35 -0
  3145. package/dist/node_modules/uuid/dist/esm-node/regex.js +1 -0
  3146. package/dist/node_modules/uuid/dist/esm-node/rng.js +12 -0
  3147. package/dist/node_modules/uuid/dist/esm-node/sha1.js +13 -0
  3148. package/dist/node_modules/uuid/dist/esm-node/stringify.js +33 -0
  3149. package/dist/node_modules/uuid/dist/esm-node/v1.js +95 -0
  3150. package/dist/node_modules/uuid/dist/esm-node/v3.js +4 -0
  3151. package/dist/node_modules/uuid/dist/esm-node/v35.js +66 -0
  3152. package/dist/node_modules/uuid/dist/esm-node/v4.js +29 -0
  3153. package/dist/node_modules/uuid/dist/esm-node/v5.js +4 -0
  3154. package/dist/node_modules/uuid/dist/esm-node/validate.js +7 -0
  3155. package/dist/node_modules/uuid/dist/esm-node/version.js +11 -0
  3156. package/dist/node_modules/uuid/dist/index.js +79 -0
  3157. package/dist/node_modules/uuid/dist/md5-browser.js +223 -0
  3158. package/dist/node_modules/uuid/dist/md5.js +23 -0
  3159. package/dist/node_modules/uuid/dist/native-browser.js +11 -0
  3160. package/dist/node_modules/uuid/dist/native.js +15 -0
  3161. package/dist/node_modules/uuid/dist/nil.js +8 -0
  3162. package/dist/node_modules/uuid/dist/parse.js +45 -0
  3163. package/dist/node_modules/uuid/dist/regex.js +8 -0
  3164. package/dist/node_modules/uuid/dist/rng-browser.js +25 -0
  3165. package/dist/node_modules/uuid/dist/rng.js +24 -0
  3166. package/dist/node_modules/uuid/dist/sha1-browser.js +104 -0
  3167. package/dist/node_modules/uuid/dist/sha1.js +23 -0
  3168. package/dist/node_modules/uuid/dist/stringify.js +44 -0
  3169. package/dist/node_modules/uuid/dist/uuid-bin.js +85 -0
  3170. package/dist/node_modules/uuid/dist/v1.js +107 -0
  3171. package/dist/node_modules/uuid/dist/v3.js +16 -0
  3172. package/dist/node_modules/uuid/dist/v35.js +80 -0
  3173. package/dist/node_modules/uuid/dist/v4.js +43 -0
  3174. package/dist/node_modules/uuid/dist/v5.js +16 -0
  3175. package/dist/node_modules/uuid/dist/validate.js +17 -0
  3176. package/dist/node_modules/uuid/dist/version.js +21 -0
  3177. package/dist/node_modules/uuid/package.json +135 -0
  3178. package/dist/node_modules/uuid/wrapper.mjs +10 -0
  3179. package/dist/node_modules/web-streams-polyfill/LICENSE +22 -0
  3180. package/dist/node_modules/web-streams-polyfill/README.md +110 -0
  3181. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.js +4765 -0
  3182. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.js.map +1 -0
  3183. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js +9 -0
  3184. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js.map +1 -0
  3185. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs +4745 -0
  3186. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs.map +1 -0
  3187. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.js +4838 -0
  3188. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.js.map +1 -0
  3189. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js +9 -0
  3190. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js.map +1 -0
  3191. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs +4818 -0
  3192. package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs.map +1 -0
  3193. package/dist/node_modules/web-streams-polyfill/dist/polyfill.js +5011 -0
  3194. package/dist/node_modules/web-streams-polyfill/dist/polyfill.js.map +1 -0
  3195. package/dist/node_modules/web-streams-polyfill/dist/polyfill.min.js +9 -0
  3196. package/dist/node_modules/web-streams-polyfill/dist/polyfill.min.js.map +1 -0
  3197. package/dist/node_modules/web-streams-polyfill/dist/polyfill.mjs +4991 -0
  3198. package/dist/node_modules/web-streams-polyfill/dist/polyfill.mjs.map +1 -0
  3199. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +4737 -0
  3200. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
  3201. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs +4717 -0
  3202. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs.map +1 -0
  3203. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.js +4810 -0
  3204. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.js.map +1 -0
  3205. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs +4790 -0
  3206. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs.map +1 -0
  3207. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.js +4983 -0
  3208. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.js.map +1 -0
  3209. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.mjs +4963 -0
  3210. package/dist/node_modules/web-streams-polyfill/dist/ponyfill.mjs.map +1 -0
  3211. package/dist/node_modules/web-streams-polyfill/dist/types/polyfill.d.ts +24 -0
  3212. package/dist/node_modules/web-streams-polyfill/dist/types/ponyfill.d.ts +780 -0
  3213. package/dist/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts +28 -0
  3214. package/dist/node_modules/web-streams-polyfill/dist/types/ts3.6/ponyfill.d.ts +821 -0
  3215. package/dist/node_modules/web-streams-polyfill/dist/types/tsdoc-metadata.json +11 -0
  3216. package/dist/node_modules/web-streams-polyfill/es2018/package.json +14 -0
  3217. package/dist/node_modules/web-streams-polyfill/es6/package.json +14 -0
  3218. package/dist/node_modules/web-streams-polyfill/package.json +83 -0
  3219. package/dist/node_modules/web-streams-polyfill/ponyfill/es2018/package.json +13 -0
  3220. package/dist/node_modules/web-streams-polyfill/ponyfill/es6/package.json +13 -0
  3221. package/dist/node_modules/web-streams-polyfill/ponyfill/package.json +13 -0
  3222. package/dist/node_modules/worker-factory/LICENSE +21 -0
  3223. package/dist/node_modules/worker-factory/README.md +5 -0
  3224. package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.d.ts +4 -0
  3225. package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.d.ts.map +1 -0
  3226. package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.js +35 -0
  3227. package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.js.map +1 -0
  3228. package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.d.ts +13 -0
  3229. package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.d.ts.map +1 -0
  3230. package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.js +7 -0
  3231. package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.js.map +1 -0
  3232. package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.d.ts +4 -0
  3233. package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.d.ts.map +1 -0
  3234. package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.js +36 -0
  3235. package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.js.map +1 -0
  3236. package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.d.ts +2 -0
  3237. package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.d.ts.map +1 -0
  3238. package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.js +8 -0
  3239. package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.js.map +1 -0
  3240. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.d.ts +6 -0
  3241. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.d.ts.map +1 -0
  3242. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.js +2 -0
  3243. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.js.map +1 -0
  3244. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.d.ts +7 -0
  3245. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.d.ts.map +1 -0
  3246. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.js +2 -0
  3247. package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.js.map +1 -0
  3248. package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.d.ts +25 -0
  3249. package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.d.ts.map +1 -0
  3250. package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.js +2 -0
  3251. package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.js.map +1 -0
  3252. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.d.ts +6 -0
  3253. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.d.ts.map +1 -0
  3254. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.js +2 -0
  3255. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.js.map +1 -0
  3256. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.d.ts +6 -0
  3257. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.d.ts.map +1 -0
  3258. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.js +2 -0
  3259. package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.js.map +1 -0
  3260. package/dist/node_modules/worker-factory/build/es2019/interfaces/error.d.ts +5 -0
  3261. package/dist/node_modules/worker-factory/build/es2019/interfaces/error.d.ts.map +1 -0
  3262. package/dist/node_modules/worker-factory/build/es2019/interfaces/error.js +2 -0
  3263. package/dist/node_modules/worker-factory/build/es2019/interfaces/error.js.map +1 -0
  3264. package/dist/node_modules/worker-factory/build/es2019/interfaces/index.d.ts +15 -0
  3265. package/dist/node_modules/worker-factory/build/es2019/interfaces/index.d.ts.map +1 -0
  3266. package/dist/node_modules/worker-factory/build/es2019/interfaces/index.js +15 -0
  3267. package/dist/node_modules/worker-factory/build/es2019/interfaces/index.js.map +1 -0
  3268. package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.d.ts +9 -0
  3269. package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.d.ts.map +1 -0
  3270. package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.js +2 -0
  3271. package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.js.map +1 -0
  3272. package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.d.ts +6 -0
  3273. package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.d.ts.map +1 -0
  3274. package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.js +2 -0
  3275. package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.js.map +1 -0
  3276. package/dist/node_modules/worker-factory/build/es2019/interfaces/request.d.ts +12 -0
  3277. package/dist/node_modules/worker-factory/build/es2019/interfaces/request.d.ts.map +1 -0
  3278. package/dist/node_modules/worker-factory/build/es2019/interfaces/request.js +2 -0
  3279. package/dist/node_modules/worker-factory/build/es2019/interfaces/request.js.map +1 -0
  3280. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.d.ts +4 -0
  3281. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.d.ts.map +1 -0
  3282. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.js +2 -0
  3283. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.js.map +1 -0
  3284. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.d.ts +5 -0
  3285. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.d.ts.map +1 -0
  3286. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.js +2 -0
  3287. package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.js.map +1 -0
  3288. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.d.ts +5 -0
  3289. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.d.ts.map +1 -0
  3290. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.js +2 -0
  3291. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.js.map +1 -0
  3292. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.d.ts +6 -0
  3293. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.d.ts.map +1 -0
  3294. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.js +2 -0
  3295. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.js.map +1 -0
  3296. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.d.ts +6 -0
  3297. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.d.ts.map +1 -0
  3298. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.js +2 -0
  3299. package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.js.map +1 -0
  3300. package/dist/node_modules/worker-factory/build/es2019/module.d.ts +8 -0
  3301. package/dist/node_modules/worker-factory/build/es2019/module.d.ts.map +1 -0
  3302. package/dist/node_modules/worker-factory/build/es2019/module.js +17 -0
  3303. package/dist/node_modules/worker-factory/build/es2019/module.js.map +1 -0
  3304. package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.d.ts +2 -0
  3305. package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.d.ts.map +1 -0
  3306. package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.js +2 -0
  3307. package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.js.map +1 -0
  3308. package/dist/node_modules/worker-factory/build/es2019/types/index.d.ts +12 -0
  3309. package/dist/node_modules/worker-factory/build/es2019/types/index.d.ts.map +1 -0
  3310. package/dist/node_modules/worker-factory/build/es2019/types/index.js +12 -0
  3311. package/dist/node_modules/worker-factory/build/es2019/types/index.js.map +1 -0
  3312. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.d.ts +3 -0
  3313. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.d.ts.map +1 -0
  3314. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.js +2 -0
  3315. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.js.map +1 -0
  3316. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.d.ts +3 -0
  3317. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.d.ts.map +1 -0
  3318. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.js +2 -0
  3319. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.js.map +1 -0
  3320. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.d.ts +5 -0
  3321. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.d.ts.map +1 -0
  3322. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.js +2 -0
  3323. package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.js.map +1 -0
  3324. package/dist/node_modules/worker-factory/build/es2019/types/message.d.ts +3 -0
  3325. package/dist/node_modules/worker-factory/build/es2019/types/message.d.ts.map +1 -0
  3326. package/dist/node_modules/worker-factory/build/es2019/types/message.js +2 -0
  3327. package/dist/node_modules/worker-factory/build/es2019/types/message.js.map +1 -0
  3328. package/dist/node_modules/worker-factory/build/es2019/types/typed-array.d.ts +2 -0
  3329. package/dist/node_modules/worker-factory/build/es2019/types/typed-array.d.ts.map +1 -0
  3330. package/dist/node_modules/worker-factory/build/es2019/types/typed-array.js +2 -0
  3331. package/dist/node_modules/worker-factory/build/es2019/types/typed-array.js.map +1 -0
  3332. package/dist/node_modules/worker-factory/build/es2019/types/value-map.d.ts +5 -0
  3333. package/dist/node_modules/worker-factory/build/es2019/types/value-map.d.ts.map +1 -0
  3334. package/dist/node_modules/worker-factory/build/es2019/types/value-map.js +2 -0
  3335. package/dist/node_modules/worker-factory/build/es2019/types/value-map.js.map +1 -0
  3336. package/dist/node_modules/worker-factory/build/es2019/types/value.d.ts +5 -0
  3337. package/dist/node_modules/worker-factory/build/es2019/types/value.d.ts.map +1 -0
  3338. package/dist/node_modules/worker-factory/build/es2019/types/value.js +2 -0
  3339. package/dist/node_modules/worker-factory/build/es2019/types/value.js.map +1 -0
  3340. package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.d.ts +3 -0
  3341. package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.d.ts.map +1 -0
  3342. package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.js +2 -0
  3343. package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.js.map +1 -0
  3344. package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.d.ts +6 -0
  3345. package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.d.ts.map +1 -0
  3346. package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.js +2 -0
  3347. package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.js.map +1 -0
  3348. package/dist/node_modules/worker-factory/build/es2019/types/worker-message.d.ts +3 -0
  3349. package/dist/node_modules/worker-factory/build/es2019/types/worker-message.d.ts.map +1 -0
  3350. package/dist/node_modules/worker-factory/build/es2019/types/worker-message.js +2 -0
  3351. package/dist/node_modules/worker-factory/build/es2019/types/worker-message.js.map +1 -0
  3352. package/dist/node_modules/worker-factory/build/es5/bundle.js +227 -0
  3353. package/dist/node_modules/worker-factory/package.json +73 -0
  3354. package/dist/node_modules/worker-factory/src/helpers/create-message-handler.ts +52 -0
  3355. package/dist/node_modules/worker-factory/src/helpers/error-renderers.ts +24 -0
  3356. package/dist/node_modules/worker-factory/src/helpers/extend-worker-implementation.ts +52 -0
  3357. package/dist/node_modules/worker-factory/src/helpers/is-supporting-transferables.ts +10 -0
  3358. package/dist/node_modules/worker-factory/src/interfaces/broker-event.ts +6 -0
  3359. package/dist/node_modules/worker-factory/src/interfaces/broker-message.ts +9 -0
  3360. package/dist/node_modules/worker-factory/src/interfaces/default-worker-definition.ts +29 -0
  3361. package/dist/node_modules/worker-factory/src/interfaces/error-notification.ts +7 -0
  3362. package/dist/node_modules/worker-factory/src/interfaces/error-response.ts +7 -0
  3363. package/dist/node_modules/worker-factory/src/interfaces/error.ts +5 -0
  3364. package/dist/node_modules/worker-factory/src/interfaces/index.ts +14 -0
  3365. package/dist/node_modules/worker-factory/src/interfaces/notification.ts +11 -0
  3366. package/dist/node_modules/worker-factory/src/interfaces/receiver.ts +7 -0
  3367. package/dist/node_modules/worker-factory/src/interfaces/request.ts +13 -0
  3368. package/dist/node_modules/worker-factory/src/interfaces/value-array.ts +5 -0
  3369. package/dist/node_modules/worker-factory/src/interfaces/value-map.ts +5 -0
  3370. package/dist/node_modules/worker-factory/src/interfaces/worker-definition.ts +5 -0
  3371. package/dist/node_modules/worker-factory/src/interfaces/worker-error-message.ts +7 -0
  3372. package/dist/node_modules/worker-factory/src/interfaces/worker-result-message.ts +7 -0
  3373. package/dist/node_modules/worker-factory/src/module.ts +27 -0
  3374. package/dist/node_modules/worker-factory/src/tsconfig.json +6 -0
  3375. package/dist/node_modules/worker-factory/src/types/destroy-worker-function.ts +1 -0
  3376. package/dist/node_modules/worker-factory/src/types/index.ts +11 -0
  3377. package/dist/node_modules/worker-factory/src/types/message-receiver-with-params.ts +5 -0
  3378. package/dist/node_modules/worker-factory/src/types/message-receiver-without-params.ts +3 -0
  3379. package/dist/node_modules/worker-factory/src/types/message-receiver.ts +7 -0
  3380. package/dist/node_modules/worker-factory/src/types/message.ts +3 -0
  3381. package/dist/node_modules/worker-factory/src/types/typed-array.ts +10 -0
  3382. package/dist/node_modules/worker-factory/src/types/value-map.ts +5 -0
  3383. package/dist/node_modules/worker-factory/src/types/value.ts +5 -0
  3384. package/dist/node_modules/worker-factory/src/types/worker-definition.ts +3 -0
  3385. package/dist/node_modules/worker-factory/src/types/worker-implementation.ts +6 -0
  3386. package/dist/node_modules/worker-factory/src/types/worker-message.ts +3 -0
  3387. package/dist/node_modules/worker-timers/LICENSE +21 -0
  3388. package/dist/node_modules/worker-timers/README.md +71 -0
  3389. package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.d.ts +2 -0
  3390. package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.d.ts.map +1 -0
  3391. package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.js +15 -0
  3392. package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.js.map +1 -0
  3393. package/dist/node_modules/worker-timers/build/es2019/module.d.ts +6 -0
  3394. package/dist/node_modules/worker-timers/build/es2019/module.d.ts.map +1 -0
  3395. package/dist/node_modules/worker-timers/build/es2019/module.js +9 -0
  3396. package/dist/node_modules/worker-timers/build/es2019/module.js.map +1 -0
  3397. package/dist/node_modules/worker-timers/build/es2019/worker/worker.d.ts +2 -0
  3398. package/dist/node_modules/worker-timers/build/es2019/worker/worker.d.ts.map +1 -0
  3399. package/dist/node_modules/worker-timers/build/es2019/worker/worker.js +3 -0
  3400. package/dist/node_modules/worker-timers/build/es2019/worker/worker.js.map +1 -0
  3401. package/dist/node_modules/worker-timers/build/es5/bundle.js +50 -0
  3402. package/dist/node_modules/worker-timers/package.json +93 -0
  3403. package/dist/node_modules/worker-timers/src/factories/load-or-return-broker.ts +19 -0
  3404. package/dist/node_modules/worker-timers/src/module.ts +13 -0
  3405. package/dist/node_modules/worker-timers/src/tsconfig.json +6 -0
  3406. package/dist/node_modules/worker-timers/src/worker/worker.ts +2 -0
  3407. package/dist/node_modules/worker-timers-broker/LICENSE +21 -0
  3408. package/dist/node_modules/worker-timers-broker/README.md +70 -0
  3409. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.d.ts +2 -0
  3410. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.d.ts.map +1 -0
  3411. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.js +9 -0
  3412. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.js.map +1 -0
  3413. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.d.ts +2 -0
  3414. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.d.ts.map +1 -0
  3415. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.js +9 -0
  3416. package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.js.map +1 -0
  3417. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.d.ts +3 -0
  3418. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.d.ts.map +1 -0
  3419. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.js +21 -0
  3420. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.js.map +1 -0
  3421. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.d.ts +3 -0
  3422. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.d.ts.map +1 -0
  3423. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.js +18 -0
  3424. package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.js.map +1 -0
  3425. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.d.ts +2 -0
  3426. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.d.ts.map +1 -0
  3427. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.js +2 -0
  3428. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.js.map +1 -0
  3429. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.d.ts +8 -0
  3430. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.d.ts.map +1 -0
  3431. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.js +2 -0
  3432. package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.js.map +1 -0
  3433. package/dist/node_modules/worker-timers-broker/build/es2019/module.d.ts +6 -0
  3434. package/dist/node_modules/worker-timers-broker/build/es2019/module.d.ts.map +1 -0
  3435. package/dist/node_modules/worker-timers-broker/build/es2019/module.js +30 -0
  3436. package/dist/node_modules/worker-timers-broker/build/es2019/module.js.map +1 -0
  3437. package/dist/node_modules/worker-timers-broker/build/es2019/types/index.d.ts +3 -0
  3438. package/dist/node_modules/worker-timers-broker/build/es2019/types/index.d.ts.map +1 -0
  3439. package/dist/node_modules/worker-timers-broker/build/es2019/types/index.js +3 -0
  3440. package/dist/node_modules/worker-timers-broker/build/es2019/types/index.js.map +1 -0
  3441. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.d.ts +4 -0
  3442. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.d.ts.map +1 -0
  3443. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.js +2 -0
  3444. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.js.map +1 -0
  3445. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.d.ts +4 -0
  3446. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.d.ts.map +1 -0
  3447. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.js +2 -0
  3448. package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.js.map +1 -0
  3449. package/dist/node_modules/worker-timers-broker/build/es5/bundle.js +147 -0
  3450. package/dist/node_modules/worker-timers-broker/package.json +73 -0
  3451. package/dist/node_modules/worker-timers-broker/src/factories/clear-interval-factory.ts +10 -0
  3452. package/dist/node_modules/worker-timers-broker/src/factories/clear-timeout-factory.ts +10 -0
  3453. package/dist/node_modules/worker-timers-broker/src/factories/set-interval-factory.ts +33 -0
  3454. package/dist/node_modules/worker-timers-broker/src/factories/set-timeout-factory.ts +28 -0
  3455. package/dist/node_modules/worker-timers-broker/src/interfaces/index.ts +1 -0
  3456. package/dist/node_modules/worker-timers-broker/src/interfaces/worker-timers-broker-definition.ts +11 -0
  3457. package/dist/node_modules/worker-timers-broker/src/module.ts +44 -0
  3458. package/dist/node_modules/worker-timers-broker/src/tsconfig.json +6 -0
  3459. package/dist/node_modules/worker-timers-broker/src/types/index.ts +2 -0
  3460. package/dist/node_modules/worker-timers-broker/src/types/worker-timers-broker-loader.ts +4 -0
  3461. package/dist/node_modules/worker-timers-broker/src/types/worker-timers-broker-wrapper.ts +4 -0
  3462. package/dist/node_modules/worker-timers-worker/LICENSE +21 -0
  3463. package/dist/node_modules/worker-timers-worker/README.md +9 -0
  3464. package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.d.ts +3 -0
  3465. package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.d.ts.map +1 -0
  3466. package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.js +12 -0
  3467. package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.js.map +1 -0
  3468. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.d.ts +3 -0
  3469. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.d.ts.map +1 -0
  3470. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.js +17 -0
  3471. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.js.map +1 -0
  3472. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.d.ts +4 -0
  3473. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.d.ts.map +1 -0
  3474. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.js +11 -0
  3475. package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.js.map +1 -0
  3476. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.d.ts +2 -0
  3477. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.d.ts.map +1 -0
  3478. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.js +2 -0
  3479. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.js.map +1 -0
  3480. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.d.ts +25 -0
  3481. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.d.ts.map +1 -0
  3482. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.js +2 -0
  3483. package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.js.map +1 -0
  3484. package/dist/node_modules/worker-timers-worker/build/es2019/module.d.ts +3 -0
  3485. package/dist/node_modules/worker-timers-worker/build/es2019/module.d.ts.map +1 -0
  3486. package/dist/node_modules/worker-timers-worker/build/es2019/module.js +26 -0
  3487. package/dist/node_modules/worker-timers-worker/build/es2019/module.js.map +1 -0
  3488. package/dist/node_modules/worker-timers-worker/build/es2019/types/index.d.ts +4 -0
  3489. package/dist/node_modules/worker-timers-worker/build/es2019/types/index.d.ts.map +1 -0
  3490. package/dist/node_modules/worker-timers-worker/build/es2019/types/index.js +4 -0
  3491. package/dist/node_modules/worker-timers-worker/build/es2019/types/index.js.map +1 -0
  3492. package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.d.ts +3 -0
  3493. package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.d.ts.map +1 -0
  3494. package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.js +2 -0
  3495. package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.js.map +1 -0
  3496. package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.d.ts +2 -0
  3497. package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.d.ts.map +1 -0
  3498. package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.js +2 -0
  3499. package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.js.map +1 -0
  3500. package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.d.ts +4 -0
  3501. package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.d.ts.map +1 -0
  3502. package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.js +2 -0
  3503. package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.js.map +1 -0
  3504. package/dist/node_modules/worker-timers-worker/build/es5/bundle.js +106 -0
  3505. package/dist/node_modules/worker-timers-worker/package.json +78 -0
  3506. package/dist/node_modules/worker-timers-worker/src/factories/clear-timer.ts +20 -0
  3507. package/dist/node_modules/worker-timers-worker/src/factories/set-timeout-callback.ts +24 -0
  3508. package/dist/node_modules/worker-timers-worker/src/factories/set-timer.ts +21 -0
  3509. package/dist/node_modules/worker-timers-worker/src/interfaces/index.ts +1 -0
  3510. package/dist/node_modules/worker-timers-worker/src/interfaces/worker-timers-worker-custom-definition.ts +32 -0
  3511. package/dist/node_modules/worker-timers-worker/src/module.ts +30 -0
  3512. package/dist/node_modules/worker-timers-worker/src/tsconfig.json +6 -0
  3513. package/dist/node_modules/worker-timers-worker/src/types/index.ts +3 -0
  3514. package/dist/node_modules/worker-timers-worker/src/types/resolve-set-response-result-promise.ts +5 -0
  3515. package/dist/node_modules/worker-timers-worker/src/types/timer-type.ts +1 -0
  3516. package/dist/node_modules/worker-timers-worker/src/types/worker-timers-worker-definition.ts +4 -0
  3517. package/dist/node_modules/ws/LICENSE +20 -0
  3518. package/dist/node_modules/ws/README.md +548 -0
  3519. package/dist/node_modules/ws/browser.js +8 -0
  3520. package/dist/node_modules/ws/index.js +13 -0
  3521. package/dist/node_modules/ws/lib/buffer-util.js +131 -0
  3522. package/dist/node_modules/ws/lib/constants.js +19 -0
  3523. package/dist/node_modules/ws/lib/event-target.js +292 -0
  3524. package/dist/node_modules/ws/lib/extension.js +203 -0
  3525. package/dist/node_modules/ws/lib/limiter.js +55 -0
  3526. package/dist/node_modules/ws/lib/permessage-deflate.js +528 -0
  3527. package/dist/node_modules/ws/lib/receiver.js +706 -0
  3528. package/dist/node_modules/ws/lib/sender.js +602 -0
  3529. package/dist/node_modules/ws/lib/stream.js +161 -0
  3530. package/dist/node_modules/ws/lib/subprotocol.js +62 -0
  3531. package/dist/node_modules/ws/lib/validation.js +152 -0
  3532. package/dist/node_modules/ws/lib/websocket-server.js +554 -0
  3533. package/dist/node_modules/ws/lib/websocket.js +1393 -0
  3534. package/dist/node_modules/ws/package.json +69 -0
  3535. package/dist/node_modules/ws/wrapper.mjs +8 -0
  3536. package/dist/node_modules/yocto-queue/index.d.ts +56 -0
  3537. package/dist/node_modules/yocto-queue/index.js +68 -0
  3538. package/dist/node_modules/yocto-queue/license +9 -0
  3539. package/dist/node_modules/yocto-queue/package.json +43 -0
  3540. package/dist/node_modules/yocto-queue/readme.md +64 -0
  3541. package/dist/package-lock.json +1186 -0
  3542. package/dist/realtime/commands/commands.js +57 -8
  3543. package/dist/realtime/commands/enhanced.direct.commands.js +308 -297
  3544. package/dist/realtime/realtime.client.js +176 -167
  3545. package/package.json +2 -2
  3546. package/dist/mqtt-shim.js +0 -486
@@ -0,0 +1,3234 @@
1
+ const util = require('util')
2
+
3
+ const test = require('tape')
4
+ const mqtt = require('./')
5
+ const WS = require('readable-stream').Writable
6
+
7
+ function normalExpectedObject (object) {
8
+ if (object.username != null) object.username = object.username.toString()
9
+ if (object.password != null) object.password = Buffer.from(object.password)
10
+ return object
11
+ }
12
+
13
+ function testParseGenerate (name, object, buffer, opts) {
14
+ test(`${name} parse`, t => {
15
+ t.plan(2)
16
+
17
+ const parser = mqtt.parser(opts)
18
+ const expected = object
19
+ const fixture = buffer
20
+
21
+ parser.on('packet', packet => {
22
+ if (packet.cmd !== 'publish') {
23
+ delete packet.topic
24
+ delete packet.payload
25
+ }
26
+ t.deepLooseEqual(packet, normalExpectedObject(expected), 'expected packet')
27
+ })
28
+
29
+ parser.on('error', err => {
30
+ t.fail(err)
31
+ })
32
+
33
+ t.equal(parser.parse(fixture), 0, 'remaining bytes')
34
+ })
35
+
36
+ test(`${name} generate`, t => {
37
+ // For really large buffers, the expanded hex string can be so long as to
38
+ // generate an error in nodejs 14.x, so only do the test with extra output
39
+ // for relatively small buffers.
40
+ const bigLength = 10000
41
+ const generatedBuffer = mqtt.generate(object, opts)
42
+ if (generatedBuffer.length < bigLength && buffer.length < bigLength) {
43
+ t.equal(generatedBuffer.toString('hex'), buffer.toString('hex'))
44
+ } else {
45
+ const bufferOkay = generatedBuffer.equals(buffer)
46
+ if (bufferOkay) {
47
+ t.pass()
48
+ } else {
49
+ // Output abbreviated representations of the buffers.
50
+ t.comment('Expected:\n' + util.inspect(buffer))
51
+ t.comment('Got:\n' + util.inspect(generatedBuffer))
52
+ t.fail('Large buffers not equal')
53
+ }
54
+ }
55
+ t.end()
56
+ })
57
+
58
+ test(`${name} mirror`, t => {
59
+ t.plan(2)
60
+
61
+ const parser = mqtt.parser(opts)
62
+ const expected = object
63
+ const fixture = mqtt.generate(object, opts)
64
+
65
+ parser.on('packet', packet => {
66
+ if (packet.cmd !== 'publish') {
67
+ delete packet.topic
68
+ delete packet.payload
69
+ }
70
+ t.deepLooseEqual(packet, normalExpectedObject(expected), 'expected packet')
71
+ })
72
+
73
+ parser.on('error', err => {
74
+ t.fail(err)
75
+ })
76
+
77
+ t.equal(parser.parse(fixture), 0, 'remaining bytes')
78
+ })
79
+
80
+ test(`${name} writeToStream`, t => {
81
+ const stream = WS()
82
+ stream.write = () => true
83
+ stream.on('error', (err) => t.fail(err))
84
+
85
+ const result = mqtt.writeToStream(object, stream, opts)
86
+ t.equal(result, true, 'should return true')
87
+ t.end()
88
+ })
89
+ }
90
+
91
+ // the API allows to pass strings as buffers to writeToStream and generate
92
+ // parsing them back will result in a string so only generate and compare to buffer
93
+ function testGenerateOnly (name, object, buffer, opts) {
94
+ test(name, t => {
95
+ t.equal(mqtt.generate(object, opts).toString('hex'), buffer.toString('hex'))
96
+ t.end()
97
+ })
98
+ }
99
+
100
+ function testParseOnly (name, object, buffer, opts) {
101
+ test(name, t => {
102
+ const parser = mqtt.parser(opts)
103
+ // const expected = object
104
+ // const fixture = buffer
105
+
106
+ t.plan(2 + Object.keys(object).length)
107
+
108
+ parser.on('packet', packet => {
109
+ t.equal(Object.keys(object).length, Object.keys(packet).length, 'key count')
110
+ Object.keys(object).forEach(key => {
111
+ t.deepEqual(packet[key], object[key], `expected packet property ${key}`)
112
+ })
113
+ })
114
+
115
+ t.equal(parser.parse(buffer), 0, 'remaining bytes')
116
+ t.end()
117
+ })
118
+ }
119
+
120
+ function testParseError (expected, fixture, opts) {
121
+ test(expected, t => {
122
+ t.plan(1)
123
+
124
+ const parser = mqtt.parser(opts)
125
+
126
+ parser.on('error', err => {
127
+ t.equal(err.message, expected, 'expected error message')
128
+ })
129
+
130
+ parser.on('packet', () => {
131
+ t.fail('parse errors should not be followed by packet events')
132
+ })
133
+
134
+ parser.parse(fixture)
135
+ t.end()
136
+ })
137
+ }
138
+
139
+ function testGenerateError (expected, fixture, opts, name) {
140
+ test(name || expected, t => {
141
+ t.plan(1)
142
+
143
+ try {
144
+ mqtt.generate(fixture, opts)
145
+ } catch (err) {
146
+ t.equal(expected, err.message)
147
+ }
148
+ t.end()
149
+ })
150
+ }
151
+
152
+ function testGenerateErrorMultipleCmds (cmds, expected, fixture, opts) {
153
+ cmds.forEach(cmd => {
154
+ const obj = Object.assign({}, fixture)
155
+ obj.cmd = cmd
156
+ testGenerateError(expected, obj, opts, `${expected} on ${cmd}`)
157
+ }
158
+ )
159
+ }
160
+
161
+ function testParseGenerateDefaults (name, object, buffer, generated, opts) {
162
+ testParseOnly(`${name} parse`, generated, buffer, opts)
163
+ testGenerateOnly(`${name} generate`, object, buffer, opts)
164
+ }
165
+
166
+ function testParseAndGenerate (name, object, buffer, opts) {
167
+ testParseOnly(`${name} parse`, object, buffer, opts)
168
+ testGenerateOnly(`${name} generate`, object, buffer, opts)
169
+ }
170
+
171
+ function testWriteToStreamError (expected, fixture) {
172
+ test(`writeToStream ${expected} error`, t => {
173
+ t.plan(2)
174
+
175
+ const stream = WS()
176
+
177
+ stream.write = () => t.fail('should not have called write')
178
+ stream.on('error', () => t.pass('error emitted'))
179
+
180
+ const result = mqtt.writeToStream(fixture, stream)
181
+
182
+ t.false(result, 'result should be false')
183
+ })
184
+ }
185
+
186
+ test('cacheNumbers get/set/unset', t => {
187
+ t.true(mqtt.writeToStream.cacheNumbers, 'initial state of cacheNumbers is enabled')
188
+ mqtt.writeToStream.cacheNumbers = false
189
+ t.false(mqtt.writeToStream.cacheNumbers, 'cacheNumbers can be disabled')
190
+ mqtt.writeToStream.cacheNumbers = true
191
+ t.true(mqtt.writeToStream.cacheNumbers, 'cacheNumbers can be enabled')
192
+ t.end()
193
+ })
194
+
195
+ test('disabled numbers cache', t => {
196
+ const stream = WS()
197
+ const message = {
198
+ cmd: 'publish',
199
+ retain: false,
200
+ qos: 0,
201
+ dup: false,
202
+ length: 10,
203
+ topic: Buffer.from('test'),
204
+ payload: Buffer.from('test')
205
+ }
206
+ const expected = Buffer.from([
207
+ 48, 10, // Header
208
+ 0, 4, // Topic length
209
+ 116, 101, 115, 116, // Topic (test)
210
+ 116, 101, 115, 116 // Payload (test)
211
+ ])
212
+ let written = Buffer.alloc(0)
213
+
214
+ stream.write = (chunk) => {
215
+ written = Buffer.concat([written, chunk])
216
+ }
217
+ mqtt.writeToStream.cacheNumbers = false
218
+
219
+ mqtt.writeToStream(message, stream)
220
+
221
+ t.deepEqual(written, expected, 'written buffer is expected')
222
+
223
+ mqtt.writeToStream.cacheNumbers = true
224
+
225
+ stream.end()
226
+ t.end()
227
+ })
228
+
229
+ testGenerateError('Unknown command', {})
230
+
231
+ testParseError('Not supported', Buffer.from([0, 1, 0]), {})
232
+
233
+ // Length header field
234
+ testParseError('Invalid variable byte integer', Buffer.from(
235
+ [16, 255, 255, 255, 255]
236
+ ), {})
237
+ testParseError('Invalid variable byte integer', Buffer.from(
238
+ [16, 255, 255, 255, 128]
239
+ ), {})
240
+ testParseError('Invalid variable byte integer', Buffer.from(
241
+ [16, 255, 255, 255, 255, 1]
242
+ ), {})
243
+ testParseError('Invalid variable byte integer', Buffer.from(
244
+ [16, 255, 255, 255, 255, 127]
245
+ ), {})
246
+ testParseError('Invalid variable byte integer', Buffer.from(
247
+ [16, 255, 255, 255, 255, 128]
248
+ ), {})
249
+ testParseError('Invalid variable byte integer', Buffer.from(
250
+ [16, 255, 255, 255, 255, 255, 1]
251
+ ), {})
252
+
253
+ testParseGenerate('minimal connect', {
254
+ cmd: 'connect',
255
+ retain: false,
256
+ qos: 0,
257
+ dup: false,
258
+ length: 18,
259
+ protocolId: 'MQIsdp',
260
+ protocolVersion: 3,
261
+ clean: false,
262
+ keepalive: 30,
263
+ clientId: 'test'
264
+ }, Buffer.from([
265
+ 16, 18, // Header
266
+ 0, 6, // Protocol ID length
267
+ 77, 81, 73, 115, 100, 112, // Protocol ID
268
+ 3, // Protocol version
269
+ 0, // Connect flags
270
+ 0, 30, // Keepalive
271
+ 0, 4, // Client ID length
272
+ 116, 101, 115, 116 // Client ID
273
+ ]))
274
+
275
+ testGenerateOnly('minimal connect with clientId as Buffer', {
276
+ cmd: 'connect',
277
+ retain: false,
278
+ qos: 0,
279
+ dup: false,
280
+ length: 18,
281
+ protocolId: 'MQIsdp',
282
+ protocolVersion: 3,
283
+ clean: false,
284
+ keepalive: 30,
285
+ clientId: Buffer.from('test')
286
+ }, Buffer.from([
287
+ 16, 18, // Header
288
+ 0, 6, // Protocol ID length
289
+ 77, 81, 73, 115, 100, 112, // Protocol ID
290
+ 3, // Protocol version
291
+ 0, // Connect flags
292
+ 0, 30, // Keepalive
293
+ 0, 4, // Client ID length
294
+ 116, 101, 115, 116 // Client ID
295
+ ]))
296
+
297
+ testParseGenerate('connect MQTT bridge 131', {
298
+ cmd: 'connect',
299
+ retain: false,
300
+ qos: 0,
301
+ dup: false,
302
+ length: 18,
303
+ protocolId: 'MQIsdp',
304
+ protocolVersion: 3,
305
+ bridgeMode: true,
306
+ clean: false,
307
+ keepalive: 30,
308
+ clientId: 'test'
309
+ }, Buffer.from([
310
+ 16, 18, // Header
311
+ 0, 6, // Protocol ID length
312
+ 77, 81, 73, 115, 100, 112, // Protocol ID
313
+ 131, // Protocol version
314
+ 0, // Connect flags
315
+ 0, 30, // Keepalive
316
+ 0, 4, // Client ID length
317
+ 116, 101, 115, 116 // Client ID
318
+ ]))
319
+
320
+ testParseGenerate('connect MQTT bridge 132', {
321
+ cmd: 'connect',
322
+ retain: false,
323
+ qos: 0,
324
+ dup: false,
325
+ length: 18,
326
+ protocolId: 'MQIsdp',
327
+ protocolVersion: 4,
328
+ bridgeMode: true,
329
+ clean: false,
330
+ keepalive: 30,
331
+ clientId: 'test'
332
+ }, Buffer.from([
333
+ 16, 18, // Header
334
+ 0, 6, // Protocol ID length
335
+ 77, 81, 73, 115, 100, 112, // Protocol ID
336
+ 132, // Protocol version
337
+ 0, // Connect flags
338
+ 0, 30, // Keepalive
339
+ 0, 4, // Client ID length
340
+ 116, 101, 115, 116 // Client ID
341
+ ]))
342
+
343
+ testParseGenerate('connect MQTT 5', {
344
+ cmd: 'connect',
345
+ retain: false,
346
+ qos: 0,
347
+ dup: false,
348
+ length: 125,
349
+ protocolId: 'MQTT',
350
+ protocolVersion: 5,
351
+ will: {
352
+ retain: true,
353
+ qos: 2,
354
+ properties: {
355
+ willDelayInterval: 1234,
356
+ payloadFormatIndicator: false,
357
+ messageExpiryInterval: 4321,
358
+ contentType: 'test',
359
+ responseTopic: 'topic',
360
+ correlationData: Buffer.from([1, 2, 3, 4]),
361
+ userProperties: {
362
+ test: 'test'
363
+ }
364
+ },
365
+ topic: 'topic',
366
+ payload: Buffer.from([4, 3, 2, 1])
367
+ },
368
+ clean: true,
369
+ keepalive: 30,
370
+ properties: {
371
+ sessionExpiryInterval: 1234,
372
+ receiveMaximum: 432,
373
+ maximumPacketSize: 100,
374
+ topicAliasMaximum: 456,
375
+ requestResponseInformation: true,
376
+ requestProblemInformation: true,
377
+ userProperties: {
378
+ test: 'test'
379
+ },
380
+ authenticationMethod: 'test',
381
+ authenticationData: Buffer.from([1, 2, 3, 4])
382
+ },
383
+ clientId: 'test'
384
+ }, Buffer.from([
385
+ 16, 125, // Header
386
+ 0, 4, // Protocol ID length
387
+ 77, 81, 84, 84, // Protocol ID
388
+ 5, // Protocol version
389
+ 54, // Connect flags
390
+ 0, 30, // Keepalive
391
+ 47, // properties length
392
+ 17, 0, 0, 4, 210, // sessionExpiryInterval
393
+ 33, 1, 176, // receiveMaximum
394
+ 39, 0, 0, 0, 100, // maximumPacketSize
395
+ 34, 1, 200, // topicAliasMaximum
396
+ 25, 1, // requestResponseInformation
397
+ 23, 1, // requestProblemInformation,
398
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties,
399
+ 21, 0, 4, 116, 101, 115, 116, // authenticationMethod
400
+ 22, 0, 4, 1, 2, 3, 4, // authenticationData
401
+ 0, 4, // Client ID length
402
+ 116, 101, 115, 116, // Client ID
403
+ 47, // will properties
404
+ 24, 0, 0, 4, 210, // will delay interval
405
+ 1, 0, // payload format indicator
406
+ 2, 0, 0, 16, 225, // message expiry interval
407
+ 3, 0, 4, 116, 101, 115, 116, // content type
408
+ 8, 0, 5, 116, 111, 112, 105, 99, // response topic
409
+ 9, 0, 4, 1, 2, 3, 4, // corelation data
410
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // user properties
411
+ 0, 5, // Will topic length
412
+ 116, 111, 112, 105, 99, // Will topic
413
+ 0, 4, // Will payload length
414
+ 4, 3, 2, 1// Will payload
415
+ ]))
416
+
417
+ testParseGenerate('connect MQTT 5 with will properties but with empty will payload', {
418
+ cmd: 'connect',
419
+ retain: false,
420
+ qos: 0,
421
+ dup: false,
422
+ length: 121,
423
+ protocolId: 'MQTT',
424
+ protocolVersion: 5,
425
+ will: {
426
+ retain: true,
427
+ qos: 2,
428
+ properties: {
429
+ willDelayInterval: 1234,
430
+ payloadFormatIndicator: false,
431
+ messageExpiryInterval: 4321,
432
+ contentType: 'test',
433
+ responseTopic: 'topic',
434
+ correlationData: Buffer.from([1, 2, 3, 4]),
435
+ userProperties: {
436
+ test: 'test'
437
+ }
438
+ },
439
+ topic: 'topic',
440
+ payload: Buffer.from([])
441
+ },
442
+ clean: true,
443
+ keepalive: 30,
444
+ properties: {
445
+ sessionExpiryInterval: 1234,
446
+ receiveMaximum: 432,
447
+ maximumPacketSize: 100,
448
+ topicAliasMaximum: 456,
449
+ requestResponseInformation: true,
450
+ requestProblemInformation: true,
451
+ userProperties: {
452
+ test: 'test'
453
+ },
454
+ authenticationMethod: 'test',
455
+ authenticationData: Buffer.from([1, 2, 3, 4])
456
+ },
457
+ clientId: 'test'
458
+ }, Buffer.from([
459
+ 16, 121, // Header
460
+ 0, 4, // Protocol ID length
461
+ 77, 81, 84, 84, // Protocol ID
462
+ 5, // Protocol version
463
+ 54, // Connect flags
464
+ 0, 30, // Keepalive
465
+ 47, // properties length
466
+ 17, 0, 0, 4, 210, // sessionExpiryInterval
467
+ 33, 1, 176, // receiveMaximum
468
+ 39, 0, 0, 0, 100, // maximumPacketSize
469
+ 34, 1, 200, // topicAliasMaximum
470
+ 25, 1, // requestResponseInformation
471
+ 23, 1, // requestProblemInformation,
472
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties,
473
+ 21, 0, 4, 116, 101, 115, 116, // authenticationMethod
474
+ 22, 0, 4, 1, 2, 3, 4, // authenticationData
475
+ 0, 4, // Client ID length
476
+ 116, 101, 115, 116, // Client ID
477
+ 47, // will properties
478
+ 24, 0, 0, 4, 210, // will delay interval
479
+ 1, 0, // payload format indicator
480
+ 2, 0, 0, 16, 225, // message expiry interval
481
+ 3, 0, 4, 116, 101, 115, 116, // content type
482
+ 8, 0, 5, 116, 111, 112, 105, 99, // response topic
483
+ 9, 0, 4, 1, 2, 3, 4, // corelation data
484
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // user properties
485
+ 0, 5, // Will topic length
486
+ 116, 111, 112, 105, 99, // Will topic
487
+ 0, 0 // Will payload length
488
+ ]))
489
+
490
+ testParseGenerate('connect MQTT 5 w/o will properties', {
491
+ cmd: 'connect',
492
+ retain: false,
493
+ qos: 0,
494
+ dup: false,
495
+ length: 78,
496
+ protocolId: 'MQTT',
497
+ protocolVersion: 5,
498
+ will: {
499
+ retain: true,
500
+ qos: 2,
501
+ topic: 'topic',
502
+ payload: Buffer.from([4, 3, 2, 1])
503
+ },
504
+ clean: true,
505
+ keepalive: 30,
506
+ properties: {
507
+ sessionExpiryInterval: 1234,
508
+ receiveMaximum: 432,
509
+ maximumPacketSize: 100,
510
+ topicAliasMaximum: 456,
511
+ requestResponseInformation: true,
512
+ requestProblemInformation: true,
513
+ userProperties: {
514
+ test: 'test'
515
+ },
516
+ authenticationMethod: 'test',
517
+ authenticationData: Buffer.from([1, 2, 3, 4])
518
+ },
519
+ clientId: 'test'
520
+ }, Buffer.from([
521
+ 16, 78, // Header
522
+ 0, 4, // Protocol ID length
523
+ 77, 81, 84, 84, // Protocol ID
524
+ 5, // Protocol version
525
+ 54, // Connect flags
526
+ 0, 30, // Keepalive
527
+ 47, // properties length
528
+ 17, 0, 0, 4, 210, // sessionExpiryInterval
529
+ 33, 1, 176, // receiveMaximum
530
+ 39, 0, 0, 0, 100, // maximumPacketSize
531
+ 34, 1, 200, // topicAliasMaximum
532
+ 25, 1, // requestResponseInformation
533
+ 23, 1, // requestProblemInformation,
534
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties,
535
+ 21, 0, 4, 116, 101, 115, 116, // authenticationMethod
536
+ 22, 0, 4, 1, 2, 3, 4, // authenticationData
537
+ 0, 4, // Client ID length
538
+ 116, 101, 115, 116, // Client ID
539
+ 0, // will properties
540
+ 0, 5, // Will topic length
541
+ 116, 111, 112, 105, 99, // Will topic
542
+ 0, 4, // Will payload length
543
+ 4, 3, 2, 1// Will payload
544
+ ]))
545
+
546
+ testParseGenerate('no clientId with 3.1.1', {
547
+ cmd: 'connect',
548
+ retain: false,
549
+ qos: 0,
550
+ dup: false,
551
+ length: 12,
552
+ protocolId: 'MQTT',
553
+ protocolVersion: 4,
554
+ clean: true,
555
+ keepalive: 30,
556
+ clientId: ''
557
+ }, Buffer.from([
558
+ 16, 12, // Header
559
+ 0, 4, // Protocol ID length
560
+ 77, 81, 84, 84, // Protocol ID
561
+ 4, // Protocol version
562
+ 2, // Connect flags
563
+ 0, 30, // Keepalive
564
+ 0, 0 // Client ID length
565
+ ]))
566
+
567
+ testParseGenerateDefaults('no clientId with 5.0', {
568
+ cmd: 'connect',
569
+ protocolId: 'MQTT',
570
+ protocolVersion: 5,
571
+ clean: true,
572
+ keepalive: 60,
573
+ properties:
574
+ {
575
+ receiveMaximum: 20
576
+ },
577
+ clientId: ''
578
+ }, Buffer.from(
579
+ [16, 16, 0, 4, 77, 81, 84, 84, 5, 2, 0, 60, 3, 33, 0, 20, 0, 0]
580
+ ), {
581
+ cmd: 'connect',
582
+ retain: false,
583
+ qos: 0,
584
+ dup: false,
585
+ length: 16,
586
+ topic: null,
587
+ payload: null,
588
+ protocolId: 'MQTT',
589
+ protocolVersion: 5,
590
+ clean: true,
591
+ keepalive: 60,
592
+ properties: {
593
+ receiveMaximum: 20
594
+ },
595
+ clientId: ''
596
+ }, { protocolVersion: 5 })
597
+
598
+ testParseGenerateDefaults('utf-8 clientId with 5.0', {
599
+ cmd: 'connect',
600
+ retain: false,
601
+ qos: 0,
602
+ dup: false,
603
+ length: 23,
604
+ protocolId: 'MQTT',
605
+ protocolVersion: 4,
606
+ clean: true,
607
+ keepalive: 30,
608
+ clientId: 'Ŧėśt🜄'
609
+ }, Buffer.from([
610
+ 16, 23, // Header
611
+ 0, 4, // Protocol ID length
612
+ 77, 81, 84, 84, // Protocol ID
613
+ 4, // Protocol version
614
+ 2, // Connect flags
615
+ 0, 30, // Keepalive
616
+ 0, 11, // Client ID length
617
+ 197, 166, // Ŧ (UTF-8: 0xc5a6)
618
+ 196, 151, // ė (UTF-8: 0xc497)
619
+ 197, 155, // ś (utf-8: 0xc59b)
620
+ 116, // t (utf-8: 0x74)
621
+ 240, 159, 156, 132 // 🜄 (utf-8: 0xf09f9c84)
622
+ ]), {
623
+ cmd: 'connect',
624
+ retain: false,
625
+ qos: 0,
626
+ dup: false,
627
+ length: 23,
628
+ topic: null,
629
+ payload: null,
630
+ protocolId: 'MQTT',
631
+ protocolVersion: 4,
632
+ clean: true,
633
+ keepalive: 30,
634
+ clientId: 'Ŧėśt🜄'
635
+ }, { protocol: 5 })
636
+
637
+ testParseGenerateDefaults('default connect', {
638
+ cmd: 'connect',
639
+ clientId: 'test'
640
+ }, Buffer.from([
641
+ 16, 16, 0, 4, 77, 81, 84,
642
+ 84, 4, 2, 0, 0,
643
+ 0, 4, 116, 101, 115, 116
644
+ ]), {
645
+ cmd: 'connect',
646
+ retain: false,
647
+ qos: 0,
648
+ dup: false,
649
+ length: 16,
650
+ topic: null,
651
+ payload: null,
652
+ protocolId: 'MQTT',
653
+ protocolVersion: 4,
654
+ clean: true,
655
+ keepalive: 0,
656
+ clientId: 'test'
657
+ })
658
+
659
+ testParseAndGenerate('Version 4 CONACK', {
660
+ cmd: 'connack',
661
+ retain: false,
662
+ qos: 0,
663
+ dup: false,
664
+ length: 2,
665
+ topic: null,
666
+ payload: null,
667
+ sessionPresent: false,
668
+ returnCode: 1
669
+ }, Buffer.from([
670
+ 32, 2, // Fixed Header (CONNACK, Remaining Length)
671
+ 0, 1 // Variable Header (Session not present, Connection Refused - unacceptable protocol version)
672
+ ]), {}) // Default protocolVersion (4)
673
+
674
+ testParseAndGenerate('Version 5 CONACK', {
675
+ cmd: 'connack',
676
+ retain: false,
677
+ qos: 0,
678
+ dup: false,
679
+ length: 3,
680
+ topic: null,
681
+ payload: null,
682
+ sessionPresent: false,
683
+ reasonCode: 140
684
+ }, Buffer.from([
685
+ 32, 3, // Fixed Header (CONNACK, Remaining Length)
686
+ 0, 140, // Variable Header (Session not present, Bad authentication method)
687
+ 0 // Property Length Zero
688
+ ]), { protocolVersion: 5 })
689
+
690
+ testParseOnly('Version 4 CONACK in Version 5 mode', {
691
+ cmd: 'connack',
692
+ retain: false,
693
+ qos: 0,
694
+ dup: false,
695
+ length: 2,
696
+ topic: null,
697
+ payload: null,
698
+ sessionPresent: false,
699
+ reasonCode: 1 // a version 4 return code stored in the version 5 reasonCode because this client is in version 5
700
+ }, Buffer.from([
701
+ 32, 2, // Fixed Header (CONNACK, Remaining Length)
702
+ 0, 1 // Variable Header (Session not present, Connection Refused - unacceptable protocol version)
703
+ ]), { protocolVersion: 5 }) // message is in version 4 format, but this client is in version 5 mode
704
+
705
+ testParseOnly('Version 5 PUBACK test 1', {
706
+ cmd: 'puback',
707
+ messageId: 42,
708
+ retain: false,
709
+ qos: 0,
710
+ dup: false,
711
+ length: 2,
712
+ topic: null,
713
+ payload: null,
714
+ reasonCode: 0
715
+ }, Buffer.from([
716
+ 64, 2, // Fixed Header (PUBACK, Remaining Length)
717
+ 0, 42 // Variable Header (2 Bytes: Packet Identifier 42, Implied Reason code: Success, Implied no properties)
718
+ ]), { protocolVersion: 5 }
719
+ )
720
+
721
+ testParseAndGenerate('Version 5 PUBACK test 2', {
722
+ cmd: 'puback',
723
+ messageId: 42,
724
+ retain: false,
725
+ qos: 0,
726
+ dup: false,
727
+ length: 2,
728
+ topic: null,
729
+ payload: null,
730
+ reasonCode: 0
731
+ }, Buffer.from([
732
+ 64, 2, // Fixed Header (PUBACK, Remaining Length)
733
+ 0, 42 // Variable Header (2 Bytes: Packet Identifier 42, Implied reason code: 0 Success, Implied no properties)
734
+ ]), { protocolVersion: 5 }
735
+ )
736
+
737
+ testParseOnly('Version 5 PUBACK test 2.1', {
738
+ cmd: 'puback',
739
+ messageId: 42,
740
+ retain: false,
741
+ qos: 0,
742
+ dup: false,
743
+ length: 3,
744
+ topic: null,
745
+ payload: null,
746
+ reasonCode: 0
747
+ }, Buffer.from([
748
+ 64, 3, // Fixed Header (PUBACK, Remaining Length)
749
+ 0, 42, 0 // Variable Header (2 Bytes: Packet Identifier 42, Reason code: 0 Success, Implied no properties)
750
+ ]), { protocolVersion: 5 }
751
+ )
752
+
753
+ testParseOnly('Version 5 PUBACK test 3', {
754
+ cmd: 'puback',
755
+ messageId: 42,
756
+ retain: false,
757
+ qos: 0,
758
+ dup: false,
759
+ length: 4,
760
+ topic: null,
761
+ payload: null,
762
+ reasonCode: 0
763
+ }, Buffer.from([
764
+ 64, 4, // Fixed Header (PUBACK, Remaining Length)
765
+ 0, 42, 0, // Variable Header (2 Bytes: Packet Identifier 42, Reason code: 0 Success)
766
+ 0 // no properties
767
+ ]), { protocolVersion: 5 }
768
+ )
769
+
770
+ testParseOnly('Version 5 CONNACK test 1', {
771
+ cmd: 'connack',
772
+ retain: false,
773
+ qos: 0,
774
+ dup: false,
775
+ length: 1,
776
+ topic: null,
777
+ payload: null,
778
+ sessionPresent: true,
779
+ reasonCode: 0
780
+ }, Buffer.from([
781
+ 32, 1, // Fixed Header (CONNACK, Remaining Length)
782
+ 1 // Variable Header (Session Present: 1 => true, Implied Reason code: Success, Implied no properties)
783
+ ]), { protocolVersion: 5 }
784
+ )
785
+
786
+ testParseOnly('Version 5 CONNACK test 2', {
787
+ cmd: 'connack',
788
+ retain: false,
789
+ qos: 0,
790
+ dup: false,
791
+ length: 2,
792
+ topic: null,
793
+ payload: null,
794
+ sessionPresent: true,
795
+ reasonCode: 0
796
+ }, Buffer.from([
797
+ 32, 2, // Fixed Header (CONNACK, Remaining Length)
798
+ 1, 0 // Variable Header (Session Present: 1 => true, Connect Reason code: Success, Implied no properties)
799
+ ]), { protocolVersion: 5 }
800
+ )
801
+
802
+ testParseAndGenerate('Version 5 CONNACK test 3', {
803
+ cmd: 'connack',
804
+ retain: false,
805
+ qos: 0,
806
+ dup: false,
807
+ length: 3,
808
+ topic: null,
809
+ payload: null,
810
+ sessionPresent: true,
811
+ reasonCode: 0
812
+ }, Buffer.from([
813
+ 32, 3, // Fixed Header (CONNACK, Remaining Length)
814
+ 1, 0, // Variable Header (Session Present: 1 => true, Connect Reason code: Success)
815
+ 0 // no properties
816
+ ]), { protocolVersion: 5 }
817
+ )
818
+
819
+ testParseOnly('Version 5 DISCONNECT test 1', {
820
+ cmd: 'disconnect',
821
+ retain: false,
822
+ qos: 0,
823
+ dup: false,
824
+ length: 0,
825
+ topic: null,
826
+ payload: null,
827
+ reasonCode: 0
828
+ }, Buffer.from([
829
+ 224, 0 // Fixed Header (DISCONNECT, Remaining Length), Implied Reason code: Normal Disconnection
830
+ ]), { protocolVersion: 5 }
831
+ )
832
+
833
+ testParseOnly('Version 5 DISCONNECT test 2', {
834
+ cmd: 'disconnect',
835
+ retain: false,
836
+ qos: 0,
837
+ dup: false,
838
+ length: 1,
839
+ topic: null,
840
+ payload: null,
841
+ reasonCode: 0
842
+ }, Buffer.from([
843
+ 224, 1, // Fixed Header (DISCONNECT, Remaining Length)
844
+ 0 // reason Code (Normal disconnection)
845
+ ]), { protocolVersion: 5 }
846
+ )
847
+
848
+ testParseAndGenerate('Version 5 DISCONNECT test 3', {
849
+ cmd: 'disconnect',
850
+ retain: false,
851
+ qos: 0,
852
+ dup: false,
853
+ length: 2,
854
+ topic: null,
855
+ payload: null,
856
+ reasonCode: 0
857
+ }, Buffer.from([
858
+ 224, 2, // Fixed Header (DISCONNECT, Remaining Length)
859
+ 0, // reason Code (Normal disconnection)
860
+ 0 // no properties
861
+ ]), { protocolVersion: 5 }
862
+ )
863
+
864
+ testParseGenerate('empty will payload', {
865
+ cmd: 'connect',
866
+ retain: false,
867
+ qos: 0,
868
+ dup: false,
869
+ length: 47,
870
+ protocolId: 'MQIsdp',
871
+ protocolVersion: 3,
872
+ will: {
873
+ retain: true,
874
+ qos: 2,
875
+ topic: 'topic',
876
+ payload: Buffer.alloc(0)
877
+ },
878
+ clean: true,
879
+ keepalive: 30,
880
+ clientId: 'test',
881
+ username: 'username',
882
+ password: Buffer.from('password')
883
+ }, Buffer.from([
884
+ 16, 47, // Header
885
+ 0, 6, // Protocol ID length
886
+ 77, 81, 73, 115, 100, 112, // Protocol ID
887
+ 3, // Protocol version
888
+ 246, // Connect flags
889
+ 0, 30, // Keepalive
890
+ 0, 4, // Client ID length
891
+ 116, 101, 115, 116, // Client ID
892
+ 0, 5, // Will topic length
893
+ 116, 111, 112, 105, 99, // Will topic
894
+ 0, 0, // Will payload length
895
+ // Will payload
896
+ 0, 8, // Username length
897
+ 117, 115, 101, 114, 110, 97, 109, 101, // Username
898
+ 0, 8, // Password length
899
+ 112, 97, 115, 115, 119, 111, 114, 100 // Password
900
+ ]))
901
+
902
+ testParseGenerate('empty buffer username payload', {
903
+ cmd: 'connect',
904
+ retain: false,
905
+ qos: 0,
906
+ dup: false,
907
+ length: 20,
908
+ protocolId: 'MQIsdp',
909
+ protocolVersion: 3,
910
+ clean: true,
911
+ keepalive: 30,
912
+ clientId: 'test',
913
+ username: Buffer.from('')
914
+ }, Buffer.from([
915
+ 16, 20, // Header
916
+ 0, 6, // Protocol ID length
917
+ 77, 81, 73, 115, 100, 112, // Protocol ID
918
+ 3, // Protocol version
919
+ 130, // Connect flags
920
+ 0, 30, // Keepalive
921
+ 0, 4, // Client ID length
922
+ 116, 101, 115, 116, // Client ID
923
+ 0, 0 // Username length
924
+ // Empty Username payload
925
+ ]))
926
+
927
+ testParseGenerate('empty string username payload', {
928
+ cmd: 'connect',
929
+ retain: false,
930
+ qos: 0,
931
+ dup: false,
932
+ length: 20,
933
+ protocolId: 'MQIsdp',
934
+ protocolVersion: 3,
935
+ clean: true,
936
+ keepalive: 30,
937
+ clientId: 'test',
938
+ username: ''
939
+ }, Buffer.from([
940
+ 16, 20, // Header
941
+ 0, 6, // Protocol ID length
942
+ 77, 81, 73, 115, 100, 112, // Protocol ID
943
+ 3, // Protocol version
944
+ 130, // Connect flags
945
+ 0, 30, // Keepalive
946
+ 0, 4, // Client ID length
947
+ 116, 101, 115, 116, // Client ID
948
+ 0, 0 // Username length
949
+ // Empty Username payload
950
+ ]))
951
+
952
+ testParseGenerate('empty buffer password payload', {
953
+ cmd: 'connect',
954
+ retain: false,
955
+ qos: 0,
956
+ dup: false,
957
+ length: 30,
958
+ protocolId: 'MQIsdp',
959
+ protocolVersion: 3,
960
+ clean: true,
961
+ keepalive: 30,
962
+ clientId: 'test',
963
+ username: 'username',
964
+ password: Buffer.from('')
965
+ }, Buffer.from([
966
+ 16, 30, // Header
967
+ 0, 6, // Protocol ID length
968
+ 77, 81, 73, 115, 100, 112, // Protocol ID
969
+ 3, // Protocol version
970
+ 194, // Connect flags
971
+ 0, 30, // Keepalive
972
+ 0, 4, // Client ID length
973
+ 116, 101, 115, 116, // Client ID
974
+ 0, 8, // Username length
975
+ 117, 115, 101, 114, 110, 97, 109, 101, // Username payload
976
+ 0, 0 // Password length
977
+ // Empty password payload
978
+ ]))
979
+
980
+ testParseGenerate('empty string password payload', {
981
+ cmd: 'connect',
982
+ retain: false,
983
+ qos: 0,
984
+ dup: false,
985
+ length: 30,
986
+ protocolId: 'MQIsdp',
987
+ protocolVersion: 3,
988
+ clean: true,
989
+ keepalive: 30,
990
+ clientId: 'test',
991
+ username: 'username',
992
+ password: ''
993
+ }, Buffer.from([
994
+ 16, 30, // Header
995
+ 0, 6, // Protocol ID length
996
+ 77, 81, 73, 115, 100, 112, // Protocol ID
997
+ 3, // Protocol version
998
+ 194, // Connect flags
999
+ 0, 30, // Keepalive
1000
+ 0, 4, // Client ID length
1001
+ 116, 101, 115, 116, // Client ID
1002
+ 0, 8, // Username length
1003
+ 117, 115, 101, 114, 110, 97, 109, 101, // Username payload
1004
+ 0, 0 // Password length
1005
+ // Empty password payload
1006
+ ]))
1007
+
1008
+ testParseGenerate('empty string username and password payload', {
1009
+ cmd: 'connect',
1010
+ retain: false,
1011
+ qos: 0,
1012
+ dup: false,
1013
+ length: 22,
1014
+ protocolId: 'MQIsdp',
1015
+ protocolVersion: 3,
1016
+ clean: true,
1017
+ keepalive: 30,
1018
+ clientId: 'test',
1019
+ username: '',
1020
+ password: Buffer.from('')
1021
+ }, Buffer.from([
1022
+ 16, 22, // Header
1023
+ 0, 6, // Protocol ID length
1024
+ 77, 81, 73, 115, 100, 112, // Protocol ID
1025
+ 3, // Protocol version
1026
+ 194, // Connect flags
1027
+ 0, 30, // Keepalive
1028
+ 0, 4, // Client ID length
1029
+ 116, 101, 115, 116, // Client ID
1030
+ 0, 0, // Username length
1031
+ // Empty Username payload
1032
+ 0, 0 // Password length
1033
+ // Empty password payload
1034
+ ]))
1035
+
1036
+ testParseGenerate('maximal connect', {
1037
+ cmd: 'connect',
1038
+ retain: false,
1039
+ qos: 0,
1040
+ dup: false,
1041
+ length: 54,
1042
+ protocolId: 'MQIsdp',
1043
+ protocolVersion: 3,
1044
+ will: {
1045
+ retain: true,
1046
+ qos: 2,
1047
+ topic: 'topic',
1048
+ payload: Buffer.from('payload')
1049
+ },
1050
+ clean: true,
1051
+ keepalive: 30,
1052
+ clientId: 'test',
1053
+ username: 'username',
1054
+ password: Buffer.from('password')
1055
+ }, Buffer.from([
1056
+ 16, 54, // Header
1057
+ 0, 6, // Protocol ID length
1058
+ 77, 81, 73, 115, 100, 112, // Protocol ID
1059
+ 3, // Protocol version
1060
+ 246, // Connect flags
1061
+ 0, 30, // Keepalive
1062
+ 0, 4, // Client ID length
1063
+ 116, 101, 115, 116, // Client ID
1064
+ 0, 5, // Will topic length
1065
+ 116, 111, 112, 105, 99, // Will topic
1066
+ 0, 7, // Will payload length
1067
+ 112, 97, 121, 108, 111, 97, 100, // Will payload
1068
+ 0, 8, // Username length
1069
+ 117, 115, 101, 114, 110, 97, 109, 101, // Username
1070
+ 0, 8, // Password length
1071
+ 112, 97, 115, 115, 119, 111, 114, 100 // Password
1072
+ ]))
1073
+
1074
+ testParseGenerate('max connect with special chars', {
1075
+ cmd: 'connect',
1076
+ retain: false,
1077
+ qos: 0,
1078
+ dup: false,
1079
+ length: 57,
1080
+ protocolId: 'MQIsdp',
1081
+ protocolVersion: 3,
1082
+ will: {
1083
+ retain: true,
1084
+ qos: 2,
1085
+ topic: 'tòpic',
1086
+ payload: Buffer.from('pay£oad')
1087
+ },
1088
+ clean: true,
1089
+ keepalive: 30,
1090
+ clientId: 'te$t',
1091
+ username: 'u$ern4me',
1092
+ password: Buffer.from('p4$$w0£d')
1093
+ }, Buffer.from([
1094
+ 16, 57, // Header
1095
+ 0, 6, // Protocol ID length
1096
+ 77, 81, 73, 115, 100, 112, // Protocol ID
1097
+ 3, // Protocol version
1098
+ 246, // Connect flags
1099
+ 0, 30, // Keepalive
1100
+ 0, 4, // Client ID length
1101
+ 116, 101, 36, 116, // Client ID
1102
+ 0, 6, // Will topic length
1103
+ 116, 195, 178, 112, 105, 99, // Will topic
1104
+ 0, 8, // Will payload length
1105
+ 112, 97, 121, 194, 163, 111, 97, 100, // Will payload
1106
+ 0, 8, // Username length
1107
+ 117, 36, 101, 114, 110, 52, 109, 101, // Username
1108
+ 0, 9, // Password length
1109
+ 112, 52, 36, 36, 119, 48, 194, 163, 100 // Password
1110
+ ]))
1111
+
1112
+ testGenerateOnly('connect all strings generate', {
1113
+ cmd: 'connect',
1114
+ retain: false,
1115
+ qos: 0,
1116
+ dup: false,
1117
+ length: 54,
1118
+ protocolId: 'MQIsdp',
1119
+ protocolVersion: 3,
1120
+ will: {
1121
+ retain: true,
1122
+ qos: 2,
1123
+ topic: 'topic',
1124
+ payload: 'payload'
1125
+ },
1126
+ clean: true,
1127
+ keepalive: 30,
1128
+ clientId: 'test',
1129
+ username: 'username',
1130
+ password: 'password'
1131
+ }, Buffer.from([
1132
+ 16, 54, // Header
1133
+ 0, 6, // Protocol ID length
1134
+ 77, 81, 73, 115, 100, 112, // Protocol ID
1135
+ 3, // Protocol version
1136
+ 246, // Connect flags
1137
+ 0, 30, // Keepalive
1138
+ 0, 4, // Client ID length
1139
+ 116, 101, 115, 116, // Client ID
1140
+ 0, 5, // Will topic length
1141
+ 116, 111, 112, 105, 99, // Will topic
1142
+ 0, 7, // Will payload length
1143
+ 112, 97, 121, 108, 111, 97, 100, // Will payload
1144
+ 0, 8, // Username length
1145
+ 117, 115, 101, 114, 110, 97, 109, 101, // Username
1146
+ 0, 8, // Password length
1147
+ 112, 97, 115, 115, 119, 111, 114, 100 // Password
1148
+ ]))
1149
+
1150
+ testParseError('Cannot parse protocolId', Buffer.from([
1151
+ 16, 4,
1152
+ 0, 6,
1153
+ 77, 81
1154
+ ]))
1155
+
1156
+ // missing protocol version on connect
1157
+ testParseError('Packet too short', Buffer.from([
1158
+ 16, 8, // Header
1159
+ 0, 6, // Protocol ID length
1160
+ 77, 81, 73, 115, 100, 112 // Protocol ID
1161
+ ]))
1162
+
1163
+ // missing keepalive on connect
1164
+ testParseError('Packet too short', Buffer.from([
1165
+ 16, 10, // Header
1166
+ 0, 6, // Protocol ID length
1167
+ 77, 81, 73, 115, 100, 112, // Protocol ID
1168
+ 3, // Protocol version
1169
+ 246 // Connect flags
1170
+ ]))
1171
+
1172
+ // missing clientid on connect
1173
+ testParseError('Packet too short', Buffer.from([
1174
+ 16, 10, // Header
1175
+ 0, 6, // Protocol ID length
1176
+ 77, 81, 73, 115, 100, 112, // Protocol ID
1177
+ 3, // Protocol version
1178
+ 246, // Connect flags
1179
+ 0, 30 // Keepalive
1180
+ ]))
1181
+
1182
+ // missing will topic on connect
1183
+ testParseError('Cannot parse will topic', Buffer.from([
1184
+ 16, 16, // Header
1185
+ 0, 6, // Protocol ID length
1186
+ 77, 81, 73, 115, 100, 112, // Protocol ID
1187
+ 3, // Protocol version
1188
+ 246, // Connect flags
1189
+ 0, 30, // Keepalive
1190
+ 0, 2, // Will topic length
1191
+ 0, 0 // Will topic
1192
+ ]))
1193
+
1194
+ // missing will payload on connect
1195
+ testParseError('Cannot parse will payload', Buffer.from([
1196
+ 16, 23, // Header
1197
+ 0, 6, // Protocol ID length
1198
+ 77, 81, 73, 115, 100, 112, // Protocol ID
1199
+ 3, // Protocol version
1200
+ 246, // Connect flags
1201
+ 0, 30, // Keepalive
1202
+ 0, 5, // Will topic length
1203
+ 116, 111, 112, 105, 99, // Will topic
1204
+ 0, 2, // Will payload length
1205
+ 0, 0 // Will payload
1206
+ ]))
1207
+
1208
+ // missing username on connect
1209
+ testParseError('Cannot parse username', Buffer.from([
1210
+ 16, 32, // Header
1211
+ 0, 6, // Protocol ID length
1212
+ 77, 81, 73, 115, 100, 112, // Protocol ID
1213
+ 3, // Protocol version
1214
+ 246, // Connect flags
1215
+ 0, 30, // Keepalive
1216
+ 0, 5, // Will topic length
1217
+ 116, 111, 112, 105, 99, // Will topic
1218
+ 0, 7, // Will payload length
1219
+ 112, 97, 121, 108, 111, 97, 100, // Will payload
1220
+ 0, 2, // Username length
1221
+ 0, 0 // Username
1222
+ ]))
1223
+
1224
+ // missing password on connect
1225
+ testParseError('Cannot parse password', Buffer.from([
1226
+ 16, 42, // Header
1227
+ 0, 6, // Protocol ID length
1228
+ 77, 81, 73, 115, 100, 112, // Protocol ID
1229
+ 3, // Protocol version
1230
+ 246, // Connect flags
1231
+ 0, 30, // Keepalive
1232
+ 0, 5, // Will topic length
1233
+ 116, 111, 112, 105, 99, // Will topic
1234
+ 0, 7, // Will payload length
1235
+ 112, 97, 121, 108, 111, 97, 100, // Will payload
1236
+ 0, 8, // Username length
1237
+ 117, 115, 101, 114, 110, 97, 109, 101, // Username
1238
+ 0, 2, // Password length
1239
+ 0, 0 // Password
1240
+ ]))
1241
+
1242
+ // Where a flag bit is marked as “Reserved” in Table 2.2 - Flag Bits, it is reserved for future use and MUST be set to the value listed in that table [MQTT-2.2.2-1]. If invalid flags are received, the receiver MUST close the Network Connection [MQTT-2.2.2-2]
1243
+ testParseError('Invalid header flag bits, must be 0x0 for connect packet', Buffer.from([
1244
+ 18, 10, // Header
1245
+ 0, 4, // Protocol ID length
1246
+ 0x4d, 0x51, 0x54, 0x54, // Protocol ID
1247
+ 3, // Protocol version
1248
+ 2, // Connect flags
1249
+ 0, 30 // Keepalive
1250
+ ]))
1251
+
1252
+ // The Server MUST validate that the reserved flag in the CONNECT Control Packet is set to zero and disconnect the Client if it is not zero [MQTT-3.1.2-3]
1253
+ testParseError('Connect flag bit 0 must be 0, but got 1', Buffer.from([
1254
+ 16, 10, // Header
1255
+ 0, 4, // Protocol ID length
1256
+ 0x4d, 0x51, 0x54, 0x54, // Protocol ID
1257
+ 3, // Protocol version
1258
+ 3, // Connect flags
1259
+ 0, 30 // Keepalive
1260
+ ]))
1261
+
1262
+ // If the Will Flag is set to 0 the Will QoS and Will Retain fields in the Connect Flags MUST be set to zero and the Will Topic and Will Message fields MUST NOT be present in the payload [MQTT-3.1.2-11].
1263
+ testParseError('Will Retain Flag must be set to zero when Will Flag is set to 0', Buffer.from([
1264
+ 16, 10, // Header
1265
+ 0, 4, // Protocol ID length
1266
+ 0x4d, 0x51, 0x54, 0x54, // Protocol ID
1267
+ 3, // Protocol version
1268
+ 0x22, // Connect flags
1269
+ 0, 30 // Keepalive
1270
+ ]))
1271
+
1272
+ // If the Will Flag is set to 0 the Will QoS and Will Retain fields in the Connect Flags MUST be set to zero and the Will Topic and Will Message fields MUST NOT be present in the payload [MQTT-3.1.2-11].
1273
+ testParseError('Will QoS must be set to zero when Will Flag is set to 0', Buffer.from([
1274
+ 16, 10, // Header
1275
+ 0, 4, // Protocol ID length
1276
+ 0x4d, 0x51, 0x54, 0x54, // Protocol ID
1277
+ 3, // Protocol version
1278
+ 0x12, // Connect flags
1279
+ 0, 30 // Keepalive
1280
+ ]))
1281
+
1282
+ // If the Will Flag is set to 0 the Will QoS and Will Retain fields in the Connect Flags MUST be set to zero and the Will Topic and Will Message fields MUST NOT be present in the payload [MQTT-3.1.2-11].
1283
+ testParseError('Will QoS must be set to zero when Will Flag is set to 0', Buffer.from([
1284
+ 16, 10, // Header
1285
+ 0, 4, // Protocol ID length
1286
+ 0x4d, 0x51, 0x54, 0x54, // Protocol ID
1287
+ 3, // Protocol version
1288
+ 0xa, // Connect flags
1289
+ 0, 30 // Keepalive
1290
+ ]))
1291
+
1292
+ // CONNECT, SUBSCRIBE, SUBACK, UNSUBSCRIBE, UNSUBACK (v.5) packets must have payload
1293
+ // CONNECT
1294
+ testParseError('Packet too short', Buffer.from([
1295
+ 16, // Header
1296
+ 8, // Packet length
1297
+ 0, 4, // Protocol ID length
1298
+ 77, 81, 84, 84, // MQTT
1299
+ 5, // Version
1300
+ 2, // Clean Start enabled
1301
+ 0, 0, // Keep-Alive
1302
+ 0, // Property Length
1303
+ 0, 0 // Properties
1304
+ // No payload
1305
+ ]), { protocolVersion: 5 })
1306
+ // SUBSCRIBE
1307
+ testParseError('Malformed subscribe, no payload specified', Buffer.from([
1308
+ 130, // Header
1309
+ 0 // Packet length
1310
+ ]), { protocolVersion: 5 })
1311
+ // SUBACK
1312
+ testParseError('Malformed suback, no payload specified', Buffer.from([
1313
+ 144, // Header
1314
+ 0 // Packet length
1315
+ ]), { protocolVersion: 5 })
1316
+ // UNSUBSCRIBE
1317
+ testParseError('Malformed unsubscribe, no payload specified', Buffer.from([
1318
+ 162, // Header
1319
+ 0 // Packet length
1320
+ ]), { protocolVersion: 5 })
1321
+ // UNSUBACK (v.5)
1322
+ testParseError('Malformed unsuback, no payload specified', Buffer.from([
1323
+ 176, // Header
1324
+ 0 // Packet length
1325
+ ]), { protocolVersion: 5 })
1326
+ // UNSUBACK (v.4)
1327
+ testParseError('Malformed unsuback, payload length must be 2', Buffer.from([
1328
+ 176, // Header
1329
+ 1, // Packet length
1330
+ 1
1331
+ ]), { protocolVersion: 4 })
1332
+ // UNSUBACK (v.3)
1333
+ testParseError('Malformed unsuback, payload length must be 2', Buffer.from([
1334
+ 176, // Header
1335
+ 1, // Packet length
1336
+ 1
1337
+ ]), { protocolVersion: 3 })
1338
+
1339
+ testParseGenerate('connack with return code 0', {
1340
+ cmd: 'connack',
1341
+ retain: false,
1342
+ qos: 0,
1343
+ dup: false,
1344
+ length: 2,
1345
+ sessionPresent: false,
1346
+ returnCode: 0
1347
+ }, Buffer.from([
1348
+ 32, 2, 0, 0
1349
+ ]))
1350
+
1351
+ testParseGenerate('connack MQTT 5 with properties', {
1352
+ cmd: 'connack',
1353
+ retain: false,
1354
+ qos: 0,
1355
+ dup: false,
1356
+ length: 87,
1357
+ sessionPresent: false,
1358
+ reasonCode: 0,
1359
+ properties: {
1360
+ sessionExpiryInterval: 1234,
1361
+ receiveMaximum: 432,
1362
+ maximumQoS: 2,
1363
+ retainAvailable: true,
1364
+ maximumPacketSize: 100,
1365
+ assignedClientIdentifier: 'test',
1366
+ topicAliasMaximum: 456,
1367
+ reasonString: 'test',
1368
+ userProperties: {
1369
+ test: 'test'
1370
+ },
1371
+ wildcardSubscriptionAvailable: true,
1372
+ subscriptionIdentifiersAvailable: true,
1373
+ sharedSubscriptionAvailable: false,
1374
+ serverKeepAlive: 1234,
1375
+ responseInformation: 'test',
1376
+ serverReference: 'test',
1377
+ authenticationMethod: 'test',
1378
+ authenticationData: Buffer.from([1, 2, 3, 4])
1379
+ }
1380
+ }, Buffer.from([
1381
+ 32, 87, 0, 0,
1382
+ 84, // properties length
1383
+ 17, 0, 0, 4, 210, // sessionExpiryInterval
1384
+ 33, 1, 176, // receiveMaximum
1385
+ 36, 2, // Maximum qos
1386
+ 37, 1, // retainAvailable
1387
+ 39, 0, 0, 0, 100, // maximumPacketSize
1388
+ 18, 0, 4, 116, 101, 115, 116, // assignedClientIdentifier
1389
+ 34, 1, 200, // topicAliasMaximum
1390
+ 31, 0, 4, 116, 101, 115, 116, // reasonString
1391
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties
1392
+ 40, 1, // wildcardSubscriptionAvailable
1393
+ 41, 1, // subscriptionIdentifiersAvailable
1394
+ 42, 0, // sharedSubscriptionAvailable
1395
+ 19, 4, 210, // serverKeepAlive
1396
+ 26, 0, 4, 116, 101, 115, 116, // responseInformation
1397
+ 28, 0, 4, 116, 101, 115, 116, // serverReference
1398
+ 21, 0, 4, 116, 101, 115, 116, // authenticationMethod
1399
+ 22, 0, 4, 1, 2, 3, 4 // authenticationData
1400
+ ]), { protocolVersion: 5 })
1401
+
1402
+ testParseGenerate('connack MQTT 5 with properties and doubled user properties', {
1403
+ cmd: 'connack',
1404
+ retain: false,
1405
+ qos: 0,
1406
+ dup: false,
1407
+ length: 100,
1408
+ sessionPresent: false,
1409
+ reasonCode: 0,
1410
+ properties: {
1411
+ sessionExpiryInterval: 1234,
1412
+ receiveMaximum: 432,
1413
+ maximumQoS: 2,
1414
+ retainAvailable: true,
1415
+ maximumPacketSize: 100,
1416
+ assignedClientIdentifier: 'test',
1417
+ topicAliasMaximum: 456,
1418
+ reasonString: 'test',
1419
+ userProperties: {
1420
+ test: ['test', 'test']
1421
+ },
1422
+ wildcardSubscriptionAvailable: true,
1423
+ subscriptionIdentifiersAvailable: true,
1424
+ sharedSubscriptionAvailable: false,
1425
+ serverKeepAlive: 1234,
1426
+ responseInformation: 'test',
1427
+ serverReference: 'test',
1428
+ authenticationMethod: 'test',
1429
+ authenticationData: Buffer.from([1, 2, 3, 4])
1430
+ }
1431
+ }, Buffer.from([
1432
+ 32, 100, 0, 0,
1433
+ 97, // properties length
1434
+ 17, 0, 0, 4, 210, // sessionExpiryInterval
1435
+ 33, 1, 176, // receiveMaximum
1436
+ 36, 2, // Maximum qos
1437
+ 37, 1, // retainAvailable
1438
+ 39, 0, 0, 0, 100, // maximumPacketSize
1439
+ 18, 0, 4, 116, 101, 115, 116, // assignedClientIdentifier
1440
+ 34, 1, 200, // topicAliasMaximum
1441
+ 31, 0, 4, 116, 101, 115, 116, // reasonString
1442
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116,
1443
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties
1444
+ 40, 1, // wildcardSubscriptionAvailable
1445
+ 41, 1, // subscriptionIdentifiersAvailable
1446
+ 42, 0, // sharedSubscriptionAvailable
1447
+ 19, 4, 210, // serverKeepAlive
1448
+ 26, 0, 4, 116, 101, 115, 116, // responseInformation
1449
+ 28, 0, 4, 116, 101, 115, 116, // serverReference
1450
+ 21, 0, 4, 116, 101, 115, 116, // authenticationMethod
1451
+ 22, 0, 4, 1, 2, 3, 4 // authenticationData
1452
+ ]), { protocolVersion: 5 })
1453
+
1454
+ testParseGenerate('connack with return code 0 session present bit set', {
1455
+ cmd: 'connack',
1456
+ retain: false,
1457
+ qos: 0,
1458
+ dup: false,
1459
+ length: 2,
1460
+ sessionPresent: true,
1461
+ returnCode: 0
1462
+ }, Buffer.from([
1463
+ 32, 2, 1, 0
1464
+ ]))
1465
+
1466
+ testParseGenerate('connack with return code 5', {
1467
+ cmd: 'connack',
1468
+ retain: false,
1469
+ qos: 0,
1470
+ dup: false,
1471
+ length: 2,
1472
+ sessionPresent: false,
1473
+ returnCode: 5
1474
+ }, Buffer.from([
1475
+ 32, 2, 0, 5
1476
+ ]))
1477
+
1478
+ // Where a flag bit is marked as “Reserved” in Table 2.2 - Flag Bits, it is reserved for future use and MUST be set to the value listed in that table [MQTT-2.2.2-1]. If invalid flags are received, the receiver MUST close the Network Connection [MQTT-2.2.2-2]
1479
+ testParseError('Invalid header flag bits, must be 0x0 for connack packet', Buffer.from([
1480
+ 33, 2, // header
1481
+ 0, // flags
1482
+ 5 // return code
1483
+ ]))
1484
+
1485
+ // Byte 1 is the "Connect Acknowledge Flags". Bits 7-1 are reserved and MUST be set to 0 [MQTT-3.2.2-1].
1486
+ testParseError('Invalid connack flags, bits 7-1 must be set to 0', Buffer.from([
1487
+ 32, 2, // header
1488
+ 2, // flags
1489
+ 5 // return code
1490
+ ]))
1491
+
1492
+ testGenerateError('Invalid return code', {
1493
+ cmd: 'connack',
1494
+ retain: false,
1495
+ qos: 0,
1496
+ dup: false,
1497
+ length: 2,
1498
+ sessionPresent: false,
1499
+ returnCode: '5' // returncode must be a number
1500
+ })
1501
+
1502
+ testParseGenerate('minimal publish', {
1503
+ cmd: 'publish',
1504
+ retain: false,
1505
+ qos: 0,
1506
+ dup: false,
1507
+ length: 10,
1508
+ topic: 'test',
1509
+ payload: Buffer.from('test')
1510
+ }, Buffer.from([
1511
+ 48, 10, // Header
1512
+ 0, 4, // Topic length
1513
+ 116, 101, 115, 116, // Topic (test)
1514
+ 116, 101, 115, 116 // Payload (test)
1515
+ ]))
1516
+
1517
+ testParseGenerate('publish MQTT 5 properties', {
1518
+ cmd: 'publish',
1519
+ retain: true,
1520
+ qos: 2,
1521
+ dup: true,
1522
+ length: 86,
1523
+ topic: 'test',
1524
+ payload: Buffer.from('test'),
1525
+ messageId: 10,
1526
+ properties: {
1527
+ payloadFormatIndicator: true,
1528
+ messageExpiryInterval: 4321,
1529
+ topicAlias: 100,
1530
+ responseTopic: 'topic',
1531
+ correlationData: Buffer.from([1, 2, 3, 4]),
1532
+ userProperties: {
1533
+ test: ['test', 'test', 'test']
1534
+ },
1535
+ subscriptionIdentifier: 120,
1536
+ contentType: 'test'
1537
+ }
1538
+ }, Buffer.from([
1539
+ 61, 86, // Header
1540
+ 0, 4, // Topic length
1541
+ 116, 101, 115, 116, // Topic (test)
1542
+ 0, 10, // Message ID
1543
+ 73, // properties length
1544
+ 1, 1, // payloadFormatIndicator
1545
+ 2, 0, 0, 16, 225, // message expiry interval
1546
+ 35, 0, 100, // topicAlias
1547
+ 8, 0, 5, 116, 111, 112, 105, 99, // response topic
1548
+ 9, 0, 4, 1, 2, 3, 4, // correlationData
1549
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties
1550
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties
1551
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties
1552
+ 11, 120, // subscriptionIdentifier
1553
+ 3, 0, 4, 116, 101, 115, 116, // content type
1554
+ 116, 101, 115, 116 // Payload (test)
1555
+ ]), { protocolVersion: 5 })
1556
+
1557
+ testParseGenerate('publish MQTT 5 with multiple same properties', {
1558
+ cmd: 'publish',
1559
+ retain: true,
1560
+ qos: 2,
1561
+ dup: true,
1562
+ length: 64,
1563
+ topic: 'test',
1564
+ payload: Buffer.from('test'),
1565
+ messageId: 10,
1566
+ properties: {
1567
+ payloadFormatIndicator: true,
1568
+ messageExpiryInterval: 4321,
1569
+ topicAlias: 100,
1570
+ responseTopic: 'topic',
1571
+ correlationData: Buffer.from([1, 2, 3, 4]),
1572
+ userProperties: {
1573
+ test: 'test'
1574
+ },
1575
+ subscriptionIdentifier: [120, 121, 122],
1576
+ contentType: 'test'
1577
+ }
1578
+ }, Buffer.from([
1579
+ 61, 64, // Header
1580
+ 0, 4, // Topic length
1581
+ 116, 101, 115, 116, // Topic (test)
1582
+ 0, 10, // Message ID
1583
+ 51, // properties length
1584
+ 1, 1, // payloadFormatIndicator
1585
+ 2, 0, 0, 16, 225, // message expiry interval
1586
+ 35, 0, 100, // topicAlias
1587
+ 8, 0, 5, 116, 111, 112, 105, 99, // response topic
1588
+ 9, 0, 4, 1, 2, 3, 4, // correlationData
1589
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties
1590
+ 11, 120, // subscriptionIdentifier
1591
+ 11, 121, // subscriptionIdentifier
1592
+ 11, 122, // subscriptionIdentifier
1593
+ 3, 0, 4, 116, 101, 115, 116, // content type
1594
+ 116, 101, 115, 116 // Payload (test)
1595
+ ]), { protocolVersion: 5 })
1596
+
1597
+ testParseGenerate('publish MQTT 5 properties with 0-4 byte varbyte', {
1598
+ cmd: 'publish',
1599
+ retain: true,
1600
+ qos: 2,
1601
+ dup: true,
1602
+ length: 27,
1603
+ topic: 'test',
1604
+ payload: Buffer.from('test'),
1605
+ messageId: 10,
1606
+ properties: {
1607
+ payloadFormatIndicator: false,
1608
+ subscriptionIdentifier: [128, 16384, 2097152] // this tests the varbyte handling
1609
+ }
1610
+ }, Buffer.from([
1611
+ 61, 27, // Header
1612
+ 0, 4, // Topic length
1613
+ 116, 101, 115, 116, // Topic (test)
1614
+ 0, 10, // Message ID
1615
+ 14, // properties length
1616
+ 1, 0, // payloadFormatIndicator
1617
+ 11, 128, 1, // subscriptionIdentifier
1618
+ 11, 128, 128, 1, // subscriptionIdentifier
1619
+ 11, 128, 128, 128, 1, // subscriptionIdentifier
1620
+ 116, 101, 115, 116 // Payload (test)
1621
+ ]), { protocolVersion: 5 })
1622
+
1623
+ testParseGenerate('publish MQTT 5 properties with max value varbyte', {
1624
+ cmd: 'publish',
1625
+ retain: true,
1626
+ qos: 2,
1627
+ dup: true,
1628
+ length: 22,
1629
+ topic: 'test',
1630
+ payload: Buffer.from('test'),
1631
+ messageId: 10,
1632
+ properties: {
1633
+ payloadFormatIndicator: false,
1634
+ subscriptionIdentifier: [1, 268435455]
1635
+ }
1636
+ }, Buffer.from([
1637
+ 61, 22, // Header
1638
+ 0, 4, // Topic length
1639
+ 116, 101, 115, 116, // Topic (test)
1640
+ 0, 10, // Message ID
1641
+ 9, // properties length
1642
+ 1, 0, // payloadFormatIndicator
1643
+ 11, 1, // subscriptionIdentifier
1644
+ 11, 255, 255, 255, 127, // subscriptionIdentifier (max value)
1645
+ 116, 101, 115, 116 // Payload (test)
1646
+ ]), { protocolVersion: 5 })
1647
+
1648
+ ; (() => {
1649
+ const buffer = Buffer.alloc(2048)
1650
+ testParseGenerate('2KB publish packet', {
1651
+ cmd: 'publish',
1652
+ retain: false,
1653
+ qos: 0,
1654
+ dup: false,
1655
+ length: 2054,
1656
+ topic: 'test',
1657
+ payload: buffer
1658
+ }, Buffer.concat([Buffer.from([
1659
+ 48, 134, 16, // Header
1660
+ 0, 4, // Topic length
1661
+ 116, 101, 115, 116 // Topic (test)
1662
+ ]), buffer]))
1663
+ })()
1664
+
1665
+ ; (() => {
1666
+ const maxLength = 268435455
1667
+ const buffer = Buffer.alloc(maxLength - 6)
1668
+ testParseGenerate('Max payload publish packet', {
1669
+ cmd: 'publish',
1670
+ retain: false,
1671
+ qos: 0,
1672
+ dup: false,
1673
+ length: maxLength,
1674
+ topic: 'test',
1675
+ payload: buffer
1676
+ }, Buffer.concat([Buffer.from([
1677
+ 48, 255, 255, 255, 127, // Header
1678
+ 0, 4, // Topic length
1679
+ 116, 101, 115, 116 // Topic (test)
1680
+ ]), buffer]))
1681
+ })()
1682
+
1683
+ testParseGenerate('maximal publish', {
1684
+ cmd: 'publish',
1685
+ retain: true,
1686
+ qos: 2,
1687
+ length: 12,
1688
+ dup: true,
1689
+ topic: 'test',
1690
+ messageId: 10,
1691
+ payload: Buffer.from('test')
1692
+ }, Buffer.from([
1693
+ 61, 12, // Header
1694
+ 0, 4, // Topic length
1695
+ 116, 101, 115, 116, // Topic
1696
+ 0, 10, // Message ID
1697
+ 116, 101, 115, 116 // Payload
1698
+ ]))
1699
+
1700
+ test('publish all strings generate', t => {
1701
+ const message = {
1702
+ cmd: 'publish',
1703
+ retain: true,
1704
+ qos: 2,
1705
+ length: 12,
1706
+ dup: true,
1707
+ topic: 'test',
1708
+ messageId: 10,
1709
+ payload: Buffer.from('test')
1710
+ }
1711
+ const expected = Buffer.from([
1712
+ 61, 12, // Header
1713
+ 0, 4, // Topic length
1714
+ 116, 101, 115, 116, // Topic
1715
+ 0, 10, // Message ID
1716
+ 116, 101, 115, 116 // Payload
1717
+ ])
1718
+
1719
+ t.equal(mqtt.generate(message).toString('hex'), expected.toString('hex'))
1720
+ t.end()
1721
+ })
1722
+
1723
+ testParseGenerate('empty publish', {
1724
+ cmd: 'publish',
1725
+ retain: false,
1726
+ qos: 0,
1727
+ dup: false,
1728
+ length: 6,
1729
+ topic: 'test',
1730
+ payload: Buffer.alloc(0)
1731
+ }, Buffer.from([
1732
+ 48, 6, // Header
1733
+ 0, 4, // Topic length
1734
+ 116, 101, 115, 116 // Topic
1735
+ // Empty payload
1736
+ ]))
1737
+
1738
+ // A PUBLISH Packet MUST NOT have both QoS bits set to 1. If a Server or Client receives a PUBLISH Packet which has both QoS bits set to 1 it MUST close the Network Connection [MQTT-3.3.1-4].
1739
+ testParseError('Packet must not have both QoS bits set to 1', Buffer.from([
1740
+ 0x36, 6, // Header
1741
+ 0, 4, // Topic length
1742
+ 116, 101, 115, 116 // Topic
1743
+ // Empty payload
1744
+ ]))
1745
+
1746
+ test('splitted publish parse', t => {
1747
+ t.plan(3)
1748
+
1749
+ const parser = mqtt.parser()
1750
+ const expected = {
1751
+ cmd: 'publish',
1752
+ retain: false,
1753
+ qos: 0,
1754
+ dup: false,
1755
+ length: 10,
1756
+ topic: 'test',
1757
+ payload: Buffer.from('test')
1758
+ }
1759
+
1760
+ parser.on('packet', packet => {
1761
+ t.deepLooseEqual(packet, expected, 'expected packet')
1762
+ })
1763
+
1764
+ t.equal(parser.parse(Buffer.from([
1765
+ 48, 10, // Header
1766
+ 0, 4, // Topic length
1767
+ 116, 101, 115, 116 // Topic (test)
1768
+ ])), 6, 'remaining bytes')
1769
+
1770
+ t.equal(parser.parse(Buffer.from([
1771
+ 116, 101, 115, 116 // Payload (test)
1772
+ ])), 0, 'remaining bytes')
1773
+ })
1774
+
1775
+ test('split publish longer', t => {
1776
+ t.plan(3)
1777
+
1778
+ const length = 255
1779
+ const topic = 'test'
1780
+ // Minus two bytes for the topic length specifier
1781
+ const payloadLength = length - topic.length - 2
1782
+
1783
+ const parser = mqtt.parser()
1784
+ const expected = {
1785
+ cmd: 'publish',
1786
+ retain: false,
1787
+ qos: 0,
1788
+ dup: false,
1789
+ length,
1790
+ topic,
1791
+ payload: Buffer.from('a'.repeat(payloadLength))
1792
+ }
1793
+
1794
+ parser.on('packet', packet => {
1795
+ t.deepLooseEqual(packet, expected, 'expected packet')
1796
+ })
1797
+
1798
+ t.equal(parser.parse(Buffer.from([
1799
+ 48, 255, 1, // Header
1800
+ 0, topic.length, // Topic length
1801
+ 116, 101, 115, 116 // Topic (test)
1802
+ ])), 6, 'remaining bytes')
1803
+
1804
+ t.equal(parser.parse(Buffer.from(Array(payloadLength).fill(97))),
1805
+ 0, 'remaining bytes')
1806
+ })
1807
+
1808
+ test('split length parse', t => {
1809
+ t.plan(4)
1810
+
1811
+ const length = 255
1812
+ const topic = 'test'
1813
+ const payloadLength = length - topic.length - 2
1814
+
1815
+ const parser = mqtt.parser()
1816
+ const expected = {
1817
+ cmd: 'publish',
1818
+ retain: false,
1819
+ qos: 0,
1820
+ dup: false,
1821
+ length,
1822
+ topic,
1823
+ payload: Buffer.from('a'.repeat(payloadLength))
1824
+ }
1825
+
1826
+ parser.on('packet', packet => {
1827
+ t.deepLooseEqual(packet, expected, 'expected packet')
1828
+ })
1829
+
1830
+ t.equal(parser.parse(Buffer.from([
1831
+ 48, 255 // Header (partial length)
1832
+ ])), 1, 'remaining bytes')
1833
+
1834
+ t.equal(parser.parse(Buffer.from([
1835
+ 1, // Rest of header length
1836
+ 0, topic.length, // Topic length
1837
+ 116, 101, 115, 116 // Topic (test)
1838
+ ])), 6, 'remaining bytes')
1839
+
1840
+ t.equal(parser.parse(Buffer.from(Array(payloadLength).fill(97))),
1841
+ 0, 'remaining bytes')
1842
+ })
1843
+
1844
+ testGenerateError('Invalid variable byte integer: 268435456', {
1845
+ cmd: 'publish',
1846
+ retain: false,
1847
+ qos: 0,
1848
+ dup: false,
1849
+ length: (268435455 + 1),
1850
+ topic: 'test',
1851
+ payload: Buffer.alloc(268435455 + 1 - 6)
1852
+ }, {}, 'Length var byte integer over max allowed value throws error')
1853
+
1854
+ testGenerateError('Invalid subscriptionIdentifier: 268435456', {
1855
+ cmd: 'publish',
1856
+ retain: true,
1857
+ qos: 2,
1858
+ dup: true,
1859
+ length: 27,
1860
+ topic: 'test',
1861
+ payload: Buffer.from('test'),
1862
+ messageId: 10,
1863
+ properties: {
1864
+ payloadFormatIndicator: false,
1865
+ subscriptionIdentifier: 268435456
1866
+ }
1867
+ }, { protocolVersion: 5 }, 'MQTT 5.0 var byte integer >24 bits throws error')
1868
+
1869
+ testParseGenerate('puback', {
1870
+ cmd: 'puback',
1871
+ retain: false,
1872
+ qos: 0,
1873
+ dup: false,
1874
+ length: 2,
1875
+ messageId: 2
1876
+ }, Buffer.from([
1877
+ 64, 2, // Header
1878
+ 0, 2 // Message ID
1879
+ ]))
1880
+
1881
+ // Where a flag bit is marked as “Reserved” in Table 2.2 - Flag Bits, it is reserved for future use and MUST be set to the value listed in that table [MQTT-2.2.2-1]. If invalid flags are received, the receiver MUST close the Network Connection [MQTT-2.2.2-2]
1882
+ testParseError('Invalid header flag bits, must be 0x0 for puback packet', Buffer.from([
1883
+ 65, 2, // Header
1884
+ 0, 2 // Message ID
1885
+ ]))
1886
+
1887
+ testParseGenerate('puback without reason and no MQTT 5 properties', {
1888
+ cmd: 'puback',
1889
+ retain: false,
1890
+ qos: 0,
1891
+ dup: false,
1892
+ length: 2,
1893
+ messageId: 2,
1894
+ reasonCode: 0
1895
+ }, Buffer.from([
1896
+ 64, 2, // Header
1897
+ 0, 2 // Message ID
1898
+ ]), { protocolVersion: 5 })
1899
+
1900
+ testParseGenerate('puback with reason and no MQTT 5 properties', {
1901
+ cmd: 'puback',
1902
+ retain: false,
1903
+ qos: 0,
1904
+ dup: false,
1905
+ length: 4,
1906
+ messageId: 2,
1907
+ reasonCode: 16
1908
+ }, Buffer.from([
1909
+ 64, 4, // Header
1910
+ 0, 2, // Message ID
1911
+ 16, // reason code
1912
+ 0 // no user properties
1913
+ ]), { protocolVersion: 5 })
1914
+
1915
+ testParseGenerate('puback MQTT 5 properties', {
1916
+ cmd: 'puback',
1917
+ retain: false,
1918
+ qos: 0,
1919
+ dup: false,
1920
+ length: 24,
1921
+ messageId: 2,
1922
+ reasonCode: 16,
1923
+ properties: {
1924
+ reasonString: 'test',
1925
+ userProperties: {
1926
+ test: 'test'
1927
+ }
1928
+ }
1929
+ }, Buffer.from([
1930
+ 64, 24, // Header
1931
+ 0, 2, // Message ID
1932
+ 16, // reason code
1933
+ 20, // properties length
1934
+ 31, 0, 4, 116, 101, 115, 116, // reasonString
1935
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116 // userProperties
1936
+ ]), { protocolVersion: 5 })
1937
+
1938
+ testParseError('Invalid puback reason code', Buffer.from([
1939
+ 64, 4, // Header
1940
+ 0, 2, // Message ID
1941
+ 0x11, // reason code
1942
+ 0 // properties length
1943
+ ]), { protocolVersion: 5 })
1944
+
1945
+ testParseGenerate('pubrec', {
1946
+ cmd: 'pubrec',
1947
+ retain: false,
1948
+ qos: 0,
1949
+ dup: false,
1950
+ length: 2,
1951
+ messageId: 2
1952
+ }, Buffer.from([
1953
+ 80, 2, // Header
1954
+ 0, 2 // Message ID
1955
+ ]))
1956
+
1957
+ // Where a flag bit is marked as “Reserved” in Table 2.2 - Flag Bits, it is reserved for future use and MUST be set to the value listed in that table [MQTT-2.2.2-1]. If invalid flags are received, the receiver MUST close the Network Connection [MQTT-2.2.2-2]
1958
+ testParseError('Invalid header flag bits, must be 0x0 for pubrec packet', Buffer.from([
1959
+ 81, 2, // Header
1960
+ 0, 2 // Message ID
1961
+ ]))
1962
+
1963
+ testParseGenerate('pubrec MQTT 5 properties', {
1964
+ cmd: 'pubrec',
1965
+ retain: false,
1966
+ qos: 0,
1967
+ dup: false,
1968
+ length: 24,
1969
+ messageId: 2,
1970
+ reasonCode: 16,
1971
+ properties: {
1972
+ reasonString: 'test',
1973
+ userProperties: {
1974
+ test: 'test'
1975
+ }
1976
+ }
1977
+ }, Buffer.from([
1978
+ 80, 24, // Header
1979
+ 0, 2, // Message ID
1980
+ 16, // reason code
1981
+ 20, // properties length
1982
+ 31, 0, 4, 116, 101, 115, 116, // reasonString
1983
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116 // userProperties
1984
+ ]), { protocolVersion: 5 })
1985
+
1986
+ testParseGenerate('pubrel', {
1987
+ cmd: 'pubrel',
1988
+ retain: false,
1989
+ qos: 1,
1990
+ dup: false,
1991
+ length: 2,
1992
+ messageId: 2
1993
+ }, Buffer.from([
1994
+ 98, 2, // Header
1995
+ 0, 2 // Message ID
1996
+ ]))
1997
+
1998
+ testParseError('Invalid pubrel reason code', Buffer.from([
1999
+ 98, 4, // Header
2000
+ 0, 2, // Message ID
2001
+ 0x11, // Reason code
2002
+ 0 // Properties length
2003
+ ]), { protocolVersion: 5 })
2004
+
2005
+ // Where a flag bit is marked as “Reserved” in Table 2.2 - Flag Bits, it is reserved for future use and MUST be set to the value listed in that table [MQTT-2.2.2-1]. If invalid flags are received, the receiver MUST close the Network Connection [MQTT-2.2.2-2]
2006
+ testParseError('Invalid header flag bits, must be 0x2 for pubrel packet', Buffer.from([
2007
+ 96, 2, // Header
2008
+ 0, 2 // Message ID
2009
+ ]))
2010
+
2011
+ testParseGenerate('pubrel MQTT5 properties', {
2012
+ cmd: 'pubrel',
2013
+ retain: false,
2014
+ qos: 1,
2015
+ dup: false,
2016
+ length: 24,
2017
+ messageId: 2,
2018
+ reasonCode: 0x92,
2019
+ properties: {
2020
+ reasonString: 'test',
2021
+ userProperties: {
2022
+ test: 'test'
2023
+ }
2024
+ }
2025
+ }, Buffer.from([
2026
+ 98, 24, // Header
2027
+ 0, 2, // Message ID
2028
+ 0x92, // reason code
2029
+ 20, // properties length
2030
+ 31, 0, 4, 116, 101, 115, 116, // reasonString
2031
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116 // userProperties
2032
+ ]), { protocolVersion: 5 })
2033
+
2034
+ testParseError('Invalid pubrel reason code', Buffer.from([
2035
+ 98, 4, // Header
2036
+ 0, 2, // Message ID
2037
+ 16, // reason code
2038
+ 0 // properties length
2039
+ ]), { protocolVersion: 5 })
2040
+
2041
+ testParseGenerate('pubcomp', {
2042
+ cmd: 'pubcomp',
2043
+ retain: false,
2044
+ qos: 0,
2045
+ dup: false,
2046
+ length: 2,
2047
+ messageId: 2
2048
+ }, Buffer.from([
2049
+ 112, 2, // Header
2050
+ 0, 2 // Message ID
2051
+ ]))
2052
+
2053
+ // Where a flag bit is marked as “Reserved” in Table 2.2 - Flag Bits, it is reserved for future use and MUST be set to the value listed in that table [MQTT-2.2.2-1]. If invalid flags are received, the receiver MUST close the Network Connection [MQTT-2.2.2-2]
2054
+ testParseError('Invalid header flag bits, must be 0x0 for pubcomp packet', Buffer.from([
2055
+ 113, 2, // Header
2056
+ 0, 2 // Message ID
2057
+ ]))
2058
+
2059
+ testParseGenerate('pubcomp MQTT 5 properties', {
2060
+ cmd: 'pubcomp',
2061
+ retain: false,
2062
+ qos: 0,
2063
+ dup: false,
2064
+ length: 24,
2065
+ messageId: 2,
2066
+ reasonCode: 0x92,
2067
+ properties: {
2068
+ reasonString: 'test',
2069
+ userProperties: {
2070
+ test: 'test'
2071
+ }
2072
+ }
2073
+ }, Buffer.from([
2074
+ 112, 24, // Header
2075
+ 0, 2, // Message ID
2076
+ 0x92, // reason code
2077
+ 20, // properties length
2078
+ 31, 0, 4, 116, 101, 115, 116, // reasonString
2079
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116 // userProperties
2080
+ ]), { protocolVersion: 5 })
2081
+
2082
+ testParseError('Invalid pubcomp reason code', Buffer.from([
2083
+ 112, 4, // Header
2084
+ 0, 2, // Message ID
2085
+ 16, // reason code
2086
+ 0 // properties length
2087
+ ]), { protocolVersion: 5 })
2088
+
2089
+ testParseError('Invalid header flag bits, must be 0x2 for subscribe packet', Buffer.from([
2090
+ 128, 9, // Header (subscribeqos=0length=9)
2091
+ 0, 6, // Message ID (6)
2092
+ 0, 4, // Topic length,
2093
+ 116, 101, 115, 116, // Topic (test)
2094
+ 0 // Qos (0)
2095
+ ]))
2096
+
2097
+ testParseGenerate('subscribe to one topic', {
2098
+ cmd: 'subscribe',
2099
+ retain: false,
2100
+ qos: 1,
2101
+ dup: false,
2102
+ length: 9,
2103
+ subscriptions: [
2104
+ {
2105
+ topic: 'test',
2106
+ qos: 0
2107
+ }
2108
+ ],
2109
+ messageId: 6
2110
+ }, Buffer.from([
2111
+ 130, 9, // Header (subscribeqos=1length=9)
2112
+ 0, 6, // Message ID (6)
2113
+ 0, 4, // Topic length,
2114
+ 116, 101, 115, 116, // Topic (test)
2115
+ 0 // Qos (0)
2116
+ ]))
2117
+
2118
+ testParseError('Invalid subscribe QoS, must be <= 2', Buffer.from([
2119
+ 130, 9, // Header (subscribeqos=0length=9)
2120
+ 0, 6, // Message ID (6)
2121
+ 0, 4, // Topic length,
2122
+ 116, 101, 115, 116, // Topic (test)
2123
+ 3 // Qos
2124
+ ]))
2125
+
2126
+ testParseError('Invalid subscribe topic flag bits, bits 7-6 must be 0', Buffer.from([
2127
+ 130, 10, // Header (subscribeqos=0length=9)
2128
+ 0, 6, // Message ID (6)
2129
+ 0, // Property length (0)
2130
+ 0, 4, // Topic length,
2131
+ 116, 101, 115, 116, // Topic (test)
2132
+ 0x80 // Flags
2133
+ ]), { protocolVersion: 5 })
2134
+
2135
+ testParseError('Invalid retain handling, must be <= 2', Buffer.from([
2136
+ 130, 10, // Header (subscribeqos=0length=9)
2137
+ 0, 6, // Message ID (6)
2138
+ 0, // Property length (0)
2139
+ 0, 4, // Topic length,
2140
+ 116, 101, 115, 116, // Topic (test)
2141
+ 0x30 // Flags
2142
+ ]), { protocolVersion: 5 })
2143
+
2144
+ testParseError('Invalid subscribe topic flag bits, bits 7-2 must be 0', Buffer.from([
2145
+ 130, 9, // Header (subscribeqos=0length=9)
2146
+ 0, 6, // Message ID (6)
2147
+ 0, 4, // Topic length,
2148
+ 116, 101, 115, 116, // Topic (test)
2149
+ 0x08 // Flags
2150
+ ]))
2151
+
2152
+ testParseGenerate('subscribe to one topic by MQTT 5', {
2153
+ cmd: 'subscribe',
2154
+ retain: false,
2155
+ qos: 1,
2156
+ dup: false,
2157
+ length: 26,
2158
+ subscriptions: [
2159
+ {
2160
+ topic: 'test',
2161
+ qos: 0,
2162
+ nl: false,
2163
+ rap: true,
2164
+ rh: 1
2165
+ }
2166
+ ],
2167
+ messageId: 6,
2168
+ properties: {
2169
+ subscriptionIdentifier: 145,
2170
+ userProperties: {
2171
+ test: 'test'
2172
+ }
2173
+ }
2174
+ }, Buffer.from([
2175
+ 130, 26, // Header (subscribeqos=1length=9)
2176
+ 0, 6, // Message ID (6)
2177
+ 16, // properties length
2178
+ 11, 145, 1, // subscriptionIdentifier
2179
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties
2180
+ 0, 4, // Topic length,
2181
+ 116, 101, 115, 116, // Topic (test)
2182
+ 24 // settings(qos: 0, noLocal: false, Retain as Published: true, retain handling: 1)
2183
+ ]), { protocolVersion: 5 })
2184
+
2185
+ testParseGenerate('subscribe to three topics', {
2186
+ cmd: 'subscribe',
2187
+ retain: false,
2188
+ qos: 1,
2189
+ dup: false,
2190
+ length: 23,
2191
+ subscriptions: [
2192
+ {
2193
+ topic: 'test',
2194
+ qos: 0
2195
+ }, {
2196
+ topic: 'uest',
2197
+ qos: 1
2198
+ }, {
2199
+ topic: 'tfst',
2200
+ qos: 2
2201
+ }
2202
+ ],
2203
+ messageId: 6
2204
+ }, Buffer.from([
2205
+ 130, 23, // Header (publishqos=1length=9)
2206
+ 0, 6, // Message ID (6)
2207
+ 0, 4, // Topic length,
2208
+ 116, 101, 115, 116, // Topic (test)
2209
+ 0, // Qos (0)
2210
+ 0, 4, // Topic length
2211
+ 117, 101, 115, 116, // Topic (uest)
2212
+ 1, // Qos (1)
2213
+ 0, 4, // Topic length
2214
+ 116, 102, 115, 116, // Topic (tfst)
2215
+ 2 // Qos (2)
2216
+ ]))
2217
+
2218
+ testParseGenerate('subscribe to 3 topics by MQTT 5', {
2219
+ cmd: 'subscribe',
2220
+ retain: false,
2221
+ qos: 1,
2222
+ dup: false,
2223
+ length: 40,
2224
+ subscriptions: [
2225
+ {
2226
+ topic: 'test',
2227
+ qos: 0,
2228
+ nl: false,
2229
+ rap: true,
2230
+ rh: 1
2231
+ },
2232
+ {
2233
+ topic: 'uest',
2234
+ qos: 1,
2235
+ nl: false,
2236
+ rap: false,
2237
+ rh: 0
2238
+ }, {
2239
+ topic: 'tfst',
2240
+ qos: 2,
2241
+ nl: true,
2242
+ rap: false,
2243
+ rh: 0
2244
+ }
2245
+ ],
2246
+ messageId: 6,
2247
+ properties: {
2248
+ subscriptionIdentifier: 145,
2249
+ userProperties: {
2250
+ test: 'test'
2251
+ }
2252
+ }
2253
+ }, Buffer.from([
2254
+ 130, 40, // Header (subscribeqos=1length=9)
2255
+ 0, 6, // Message ID (6)
2256
+ 16, // properties length
2257
+ 11, 145, 1, // subscriptionIdentifier
2258
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties
2259
+ 0, 4, // Topic length,
2260
+ 116, 101, 115, 116, // Topic (test)
2261
+ 24, // settings(qos: 0, noLocal: false, Retain as Published: true, retain handling: 1)
2262
+ 0, 4, // Topic length
2263
+ 117, 101, 115, 116, // Topic (uest)
2264
+ 1, // Qos (1)
2265
+ 0, 4, // Topic length
2266
+ 116, 102, 115, 116, // Topic (tfst)
2267
+ 6 // Qos (2), No Local: true
2268
+ ]), { protocolVersion: 5 })
2269
+
2270
+ testParseGenerate('suback', {
2271
+ cmd: 'suback',
2272
+ retain: false,
2273
+ qos: 0,
2274
+ dup: false,
2275
+ length: 5,
2276
+ granted: [0, 1, 2],
2277
+ messageId: 6
2278
+ }, Buffer.from([
2279
+ 144, 5, // Header
2280
+ 0, 6, // Message ID
2281
+ 0, 1, 2
2282
+ ]))
2283
+
2284
+ testParseGenerate('suback', {
2285
+ cmd: 'suback',
2286
+ retain: false,
2287
+ qos: 0,
2288
+ dup: false,
2289
+ length: 7,
2290
+ granted: [0, 1, 2, 128],
2291
+ messageId: 6
2292
+ }, Buffer.from([
2293
+ 144, 7, // Header
2294
+ 0, 6, // Message ID
2295
+ 0, // Property length
2296
+ 0, 1, 2, 128 // Granted qos (0, 1, 2) and a rejected being 0x80
2297
+ ]), { protocolVersion: 5 })
2298
+
2299
+ testParseError('Invalid suback QoS, must be 0, 1, 2 or 128', Buffer.from([
2300
+ 144, 6, // Header
2301
+ 0, 6, // Message ID
2302
+ 0, 1, 2, 3 // Granted qos (0, 1, 2)
2303
+ ]))
2304
+
2305
+ testParseError('Invalid suback code', Buffer.from([
2306
+ 144, 6, // Header
2307
+ 0, 6, // Message ID
2308
+ 0, 1, 2, 0x79 // Granted qos (0, 1, 2) and an invalid code
2309
+ ]), { protocolVersion: 5 })
2310
+
2311
+ testParseGenerate('suback MQTT 5', {
2312
+ cmd: 'suback',
2313
+ retain: false,
2314
+ qos: 0,
2315
+ dup: false,
2316
+ length: 27,
2317
+ granted: [0, 1, 2, 128],
2318
+ messageId: 6,
2319
+ properties: {
2320
+ reasonString: 'test',
2321
+ userProperties: {
2322
+ test: 'test'
2323
+ }
2324
+ }
2325
+ }, Buffer.from([
2326
+ 144, 27, // Header
2327
+ 0, 6, // Message ID
2328
+ 20, // properties length
2329
+ 31, 0, 4, 116, 101, 115, 116, // reasonString
2330
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties
2331
+ 0, 1, 2, 128 // Granted qos (0, 1, 2) and a rejected being 0x80
2332
+ ]), { protocolVersion: 5 })
2333
+
2334
+ testParseGenerate('unsubscribe', {
2335
+ cmd: 'unsubscribe',
2336
+ retain: false,
2337
+ qos: 1,
2338
+ dup: false,
2339
+ length: 14,
2340
+ unsubscriptions: [
2341
+ 'tfst',
2342
+ 'test'
2343
+ ],
2344
+ messageId: 7
2345
+ }, Buffer.from([
2346
+ 162, 14,
2347
+ 0, 7, // Message ID (7)
2348
+ 0, 4, // Topic length
2349
+ 116, 102, 115, 116, // Topic (tfst)
2350
+ 0, 4, // Topic length,
2351
+ 116, 101, 115, 116 // Topic (test)
2352
+ ]))
2353
+
2354
+ // Where a flag bit is marked as “Reserved” in Table 2.2 - Flag Bits, it is reserved for future use and MUST be set to the value listed in that table [MQTT-2.2.2-1]. If invalid flags are received, the receiver MUST close the Network Connection [MQTT-2.2.2-2]
2355
+ testParseError('Invalid header flag bits, must be 0x2 for unsubscribe packet', Buffer.from([
2356
+ 160, 14,
2357
+ 0, 7, // Message ID (7)
2358
+ 0, 4, // Topic length
2359
+ 116, 102, 115, 116, // Topic (tfst)
2360
+ 0, 4, // Topic length,
2361
+ 116, 101, 115, 116 // Topic (test)
2362
+ ]))
2363
+
2364
+ testGenerateError('Invalid unsubscriptions', {
2365
+ cmd: 'unsubscribe',
2366
+ retain: false,
2367
+ qos: 1,
2368
+ dup: true,
2369
+ length: 5,
2370
+ unsubscriptions: 5,
2371
+ messageId: 7
2372
+ }, {}, 'unsubscribe with unsubscriptions not an array')
2373
+
2374
+ testGenerateError('Invalid unsubscriptions', {
2375
+ cmd: 'unsubscribe',
2376
+ retain: false,
2377
+ qos: 1,
2378
+ dup: true,
2379
+ length: 5,
2380
+ unsubscriptions: [1, 2],
2381
+ messageId: 7
2382
+ }, {}, 'unsubscribe with unsubscriptions as an object')
2383
+
2384
+ testParseGenerate('unsubscribe MQTT 5', {
2385
+ cmd: 'unsubscribe',
2386
+ retain: false,
2387
+ qos: 1,
2388
+ dup: false,
2389
+ length: 28,
2390
+ unsubscriptions: [
2391
+ 'tfst',
2392
+ 'test'
2393
+ ],
2394
+ messageId: 7,
2395
+ properties: {
2396
+ userProperties: {
2397
+ test: 'test'
2398
+ }
2399
+ }
2400
+ }, Buffer.from([
2401
+ 162, 28,
2402
+ 0, 7, // Message ID (7)
2403
+ 13, // properties length
2404
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties
2405
+ 0, 4, // Topic length
2406
+ 116, 102, 115, 116, // Topic (tfst)
2407
+ 0, 4, // Topic length,
2408
+ 116, 101, 115, 116 // Topic (test)
2409
+ ]), { protocolVersion: 5 })
2410
+
2411
+ testParseGenerate('unsuback', {
2412
+ cmd: 'unsuback',
2413
+ retain: false,
2414
+ qos: 0,
2415
+ dup: false,
2416
+ length: 2,
2417
+ messageId: 8
2418
+ }, Buffer.from([
2419
+ 176, 2, // Header
2420
+ 0, 8 // Message ID
2421
+ ]))
2422
+
2423
+ // Where a flag bit is marked as “Reserved” in Table 2.2 - Flag Bits, it is reserved for future use and MUST be set to the value listed in that table [MQTT-2.2.2-1]. If invalid flags are received, the receiver MUST close the Network Connection [MQTT-2.2.2-2]
2424
+ testParseError('Invalid header flag bits, must be 0x0 for unsuback packet', Buffer.from([
2425
+ 177, 2, // Header
2426
+ 0, 8 // Message ID
2427
+ ]))
2428
+
2429
+ testParseGenerate('unsuback MQTT 5', {
2430
+ cmd: 'unsuback',
2431
+ retain: false,
2432
+ qos: 0,
2433
+ dup: false,
2434
+ length: 25,
2435
+ messageId: 8,
2436
+ properties: {
2437
+ reasonString: 'test',
2438
+ userProperties: {
2439
+ test: 'test'
2440
+ }
2441
+ },
2442
+ granted: [0, 128]
2443
+ }, Buffer.from([
2444
+ 176, 25, // Header
2445
+ 0, 8, // Message ID
2446
+ 20, // properties length
2447
+ 31, 0, 4, 116, 101, 115, 116, // reasonString
2448
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties
2449
+ 0, 128 // success and error
2450
+ ]), { protocolVersion: 5 })
2451
+
2452
+ testParseError('Invalid unsuback code', Buffer.from([
2453
+ 176, 4, // Header
2454
+ 0, 8, // Message ID
2455
+ 0, // properties length
2456
+ 0x84 // reason codes
2457
+ ]), { protocolVersion: 5 })
2458
+
2459
+ testParseGenerate('pingreq', {
2460
+ cmd: 'pingreq',
2461
+ retain: false,
2462
+ qos: 0,
2463
+ dup: false,
2464
+ length: 0
2465
+ }, Buffer.from([
2466
+ 192, 0 // Header
2467
+ ]))
2468
+
2469
+ // Where a flag bit is marked as “Reserved” in Table 2.2 - Flag Bits, it is reserved for future use and MUST be set to the value listed in that table [MQTT-2.2.2-1]. If invalid flags are received, the receiver MUST close the Network Connection [MQTT-2.2.2-2]
2470
+ testParseError('Invalid header flag bits, must be 0x0 for pingreq packet', Buffer.from([
2471
+ 193, 0 // Header
2472
+ ]))
2473
+
2474
+ testParseGenerate('pingresp', {
2475
+ cmd: 'pingresp',
2476
+ retain: false,
2477
+ qos: 0,
2478
+ dup: false,
2479
+ length: 0
2480
+ }, Buffer.from([
2481
+ 208, 0 // Header
2482
+ ]))
2483
+
2484
+ // Where a flag bit is marked as “Reserved” in Table 2.2 - Flag Bits, it is reserved for future use and MUST be set to the value listed in that table [MQTT-2.2.2-1]. If invalid flags are received, the receiver MUST close the Network Connection [MQTT-2.2.2-2]
2485
+ testParseError('Invalid header flag bits, must be 0x0 for pingresp packet', Buffer.from([
2486
+ 209, 0 // Header
2487
+ ]))
2488
+
2489
+ testParseGenerate('disconnect', {
2490
+ cmd: 'disconnect',
2491
+ retain: false,
2492
+ qos: 0,
2493
+ dup: false,
2494
+ length: 0
2495
+ }, Buffer.from([
2496
+ 224, 0 // Header
2497
+ ]))
2498
+
2499
+ // Where a flag bit is marked as “Reserved” in Table 2.2 - Flag Bits, it is reserved for future use and MUST be set to the value listed in that table [MQTT-2.2.2-1]. If invalid flags are received, the receiver MUST close the Network Connection [MQTT-2.2.2-2]
2500
+ testParseError('Invalid header flag bits, must be 0x0 for disconnect packet', Buffer.from([
2501
+ 225, 0 // Header
2502
+ ]))
2503
+
2504
+ testParseGenerate('disconnect MQTT 5', {
2505
+ cmd: 'disconnect',
2506
+ retain: false,
2507
+ qos: 0,
2508
+ dup: false,
2509
+ length: 34,
2510
+ reasonCode: 0,
2511
+ properties: {
2512
+ sessionExpiryInterval: 145,
2513
+ reasonString: 'test',
2514
+ userProperties: {
2515
+ test: 'test'
2516
+ },
2517
+ serverReference: 'test'
2518
+ }
2519
+ }, Buffer.from([
2520
+ 224, 34, // Header
2521
+ 0, // reason code
2522
+ 32, // properties length
2523
+ 17, 0, 0, 0, 145, // sessionExpiryInterval
2524
+ 31, 0, 4, 116, 101, 115, 116, // reasonString
2525
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties
2526
+ 28, 0, 4, 116, 101, 115, 116// serverReference
2527
+ ]), { protocolVersion: 5 })
2528
+
2529
+ testParseGenerate('disconnect MQTT 5 with no properties', {
2530
+ cmd: 'disconnect',
2531
+ retain: false,
2532
+ qos: 0,
2533
+ dup: false,
2534
+ length: 2,
2535
+ reasonCode: 0
2536
+ }, Buffer.from([
2537
+ 224, 2, // Fixed Header (DISCONNECT, Remaining Length)
2538
+ 0, // Reason Code (Normal Disconnection)
2539
+ 0 // Property Length (0 => No Properties)
2540
+ ]), { protocolVersion: 5 })
2541
+
2542
+ testParseError('Invalid disconnect reason code', Buffer.from([
2543
+ 224, 2, // Fixed Header (DISCONNECT, Remaining Length)
2544
+ 0x05, // Reason Code (Normal Disconnection)
2545
+ 0 // Property Length (0 => No Properties)
2546
+ ]), { protocolVersion: 5 })
2547
+
2548
+ testParseGenerate('auth MQTT 5', {
2549
+ cmd: 'auth',
2550
+ retain: false,
2551
+ qos: 0,
2552
+ dup: false,
2553
+ length: 36,
2554
+ reasonCode: 0,
2555
+ properties: {
2556
+ authenticationMethod: 'test',
2557
+ authenticationData: Buffer.from([0, 1, 2, 3]),
2558
+ reasonString: 'test',
2559
+ userProperties: {
2560
+ test: 'test'
2561
+ }
2562
+ }
2563
+ }, Buffer.from([
2564
+ 240, 36, // Header
2565
+ 0, // reason code
2566
+ 34, // properties length
2567
+ 21, 0, 4, 116, 101, 115, 116, // auth method
2568
+ 22, 0, 4, 0, 1, 2, 3, // auth data
2569
+ 31, 0, 4, 116, 101, 115, 116, // reasonString
2570
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116 // userProperties
2571
+ ]), { protocolVersion: 5 })
2572
+
2573
+ testParseError('Invalid auth reason code', Buffer.from([
2574
+ 240, 2, // Fixed Header (DISCONNECT, Remaining Length)
2575
+ 0x17, // Reason Code
2576
+ 0 // Property Length (0 => No Properties)
2577
+ ]), { protocolVersion: 5 })
2578
+
2579
+ testGenerateError('Invalid protocolId', {
2580
+ cmd: 'connect',
2581
+ retain: false,
2582
+ qos: 0,
2583
+ dup: false,
2584
+ length: 54,
2585
+ protocolId: 42,
2586
+ protocolVersion: 3,
2587
+ will: {
2588
+ retain: true,
2589
+ qos: 2,
2590
+ topic: 'topic',
2591
+ payload: 'payload'
2592
+ },
2593
+ clean: true,
2594
+ keepalive: 30,
2595
+ clientId: 'test',
2596
+ username: 'username',
2597
+ password: 'password'
2598
+ })
2599
+
2600
+ testGenerateError('Invalid protocol version', {
2601
+ cmd: 'connect',
2602
+ retain: false,
2603
+ qos: 0,
2604
+ dup: false,
2605
+ length: 54,
2606
+ protocolId: 'MQIsdp',
2607
+ protocolVersion: 1,
2608
+ will: {
2609
+ retain: true,
2610
+ qos: 2,
2611
+ topic: 'topic',
2612
+ payload: 'payload'
2613
+ },
2614
+ clean: true,
2615
+ keepalive: 30,
2616
+ clientId: 'test',
2617
+ username: 'username',
2618
+ password: 'password'
2619
+ })
2620
+
2621
+ testGenerateError('clientId must be supplied before 3.1.1', {
2622
+ cmd: 'connect',
2623
+ retain: false,
2624
+ qos: 0,
2625
+ dup: false,
2626
+ length: 54,
2627
+ protocolId: 'MQIsdp',
2628
+ protocolVersion: 3,
2629
+ will: {
2630
+ retain: true,
2631
+ qos: 2,
2632
+ topic: 'topic',
2633
+ payload: 'payload'
2634
+ },
2635
+ clean: true,
2636
+ keepalive: 30,
2637
+ username: 'username',
2638
+ password: 'password'
2639
+ })
2640
+
2641
+ testGenerateError('clientId must be given if cleanSession set to 0', {
2642
+ cmd: 'connect',
2643
+ retain: false,
2644
+ qos: 0,
2645
+ dup: false,
2646
+ length: 54,
2647
+ protocolId: 'MQTT',
2648
+ protocolVersion: 4,
2649
+ will: {
2650
+ retain: true,
2651
+ qos: 2,
2652
+ topic: 'topic',
2653
+ payload: 'payload'
2654
+ },
2655
+ clean: false,
2656
+ keepalive: 30,
2657
+ username: 'username',
2658
+ password: 'password'
2659
+ })
2660
+
2661
+ testGenerateError('Invalid keepalive', {
2662
+ cmd: 'connect',
2663
+ retain: false,
2664
+ qos: 0,
2665
+ dup: false,
2666
+ length: 54,
2667
+ protocolId: 'MQIsdp',
2668
+ protocolVersion: 3,
2669
+ will: {
2670
+ retain: true,
2671
+ qos: 2,
2672
+ topic: 'topic',
2673
+ payload: 'payload'
2674
+ },
2675
+ clean: true,
2676
+ keepalive: 'hello',
2677
+ clientId: 'test',
2678
+ username: 'username',
2679
+ password: 'password'
2680
+ })
2681
+
2682
+ testGenerateError('Invalid keepalive', {
2683
+ cmd: 'connect',
2684
+ keepalive: 3.1416
2685
+ })
2686
+
2687
+ testGenerateError('Invalid will', {
2688
+ cmd: 'connect',
2689
+ retain: false,
2690
+ qos: 0,
2691
+ dup: false,
2692
+ length: 54,
2693
+ protocolId: 'MQIsdp',
2694
+ protocolVersion: 3,
2695
+ will: 42,
2696
+ clean: true,
2697
+ keepalive: 30,
2698
+ clientId: 'test',
2699
+ username: 'username',
2700
+ password: 'password'
2701
+ })
2702
+
2703
+ testGenerateError('Invalid will topic', {
2704
+ cmd: 'connect',
2705
+ retain: false,
2706
+ qos: 0,
2707
+ dup: false,
2708
+ length: 54,
2709
+ protocolId: 'MQIsdp',
2710
+ protocolVersion: 3,
2711
+ will: {
2712
+ retain: true,
2713
+ qos: 2,
2714
+ payload: 'payload'
2715
+ },
2716
+ clean: true,
2717
+ keepalive: 30,
2718
+ clientId: 'test',
2719
+ username: 'username',
2720
+ password: 'password'
2721
+ })
2722
+
2723
+ testGenerateError('Invalid will payload', {
2724
+ cmd: 'connect',
2725
+ retain: false,
2726
+ qos: 0,
2727
+ dup: false,
2728
+ length: 54,
2729
+ protocolId: 'MQIsdp',
2730
+ protocolVersion: 3,
2731
+ will: {
2732
+ retain: true,
2733
+ qos: 2,
2734
+ topic: 'topic',
2735
+ payload: 42
2736
+ },
2737
+ clean: true,
2738
+ keepalive: 30,
2739
+ clientId: 'test',
2740
+ username: 'username',
2741
+ password: 'password'
2742
+ })
2743
+
2744
+ testGenerateError('Invalid username', {
2745
+ cmd: 'connect',
2746
+ retain: false,
2747
+ qos: 0,
2748
+ dup: false,
2749
+ length: 54,
2750
+ protocolId: 'MQIsdp',
2751
+ protocolVersion: 3,
2752
+ will: {
2753
+ retain: true,
2754
+ qos: 2,
2755
+ topic: 'topic',
2756
+ payload: 'payload'
2757
+ },
2758
+ clean: true,
2759
+ keepalive: 30,
2760
+ clientId: 'test',
2761
+ username: 42,
2762
+ password: 'password'
2763
+ })
2764
+
2765
+ testGenerateError('Invalid password', {
2766
+ cmd: 'connect',
2767
+ retain: false,
2768
+ qos: 0,
2769
+ dup: false,
2770
+ length: 54,
2771
+ protocolId: 'MQIsdp',
2772
+ protocolVersion: 3,
2773
+ will: {
2774
+ retain: true,
2775
+ qos: 2,
2776
+ topic: 'topic',
2777
+ payload: 'payload'
2778
+ },
2779
+ clean: true,
2780
+ keepalive: 30,
2781
+ clientId: 'test',
2782
+ username: 'username',
2783
+ password: 42
2784
+ })
2785
+
2786
+ testGenerateError('Username is required to use password', {
2787
+ cmd: 'connect',
2788
+ retain: false,
2789
+ qos: 0,
2790
+ dup: false,
2791
+ length: 54,
2792
+ protocolId: 'MQIsdp',
2793
+ protocolVersion: 3,
2794
+ will: {
2795
+ retain: true,
2796
+ qos: 2,
2797
+ topic: 'topic',
2798
+ payload: 'payload'
2799
+ },
2800
+ clean: true,
2801
+ keepalive: 30,
2802
+ clientId: 'test',
2803
+ password: 'password'
2804
+ })
2805
+
2806
+ testGenerateError('Invalid messageExpiryInterval: -4321', {
2807
+ cmd: 'publish',
2808
+ retain: true,
2809
+ qos: 2,
2810
+ dup: true,
2811
+ length: 60,
2812
+ topic: 'test',
2813
+ payload: Buffer.from('test'),
2814
+ messageId: 10,
2815
+ properties: {
2816
+ payloadFormatIndicator: true,
2817
+ messageExpiryInterval: -4321,
2818
+ topicAlias: 100,
2819
+ responseTopic: 'topic',
2820
+ correlationData: Buffer.from([1, 2, 3, 4]),
2821
+ userProperties: {
2822
+ test: 'test'
2823
+ },
2824
+ subscriptionIdentifier: 120,
2825
+ contentType: 'test'
2826
+ }
2827
+ }, { protocolVersion: 5 })
2828
+
2829
+ testGenerateError('Invalid topicAlias: -100', {
2830
+ cmd: 'publish',
2831
+ retain: true,
2832
+ qos: 2,
2833
+ dup: true,
2834
+ length: 60,
2835
+ topic: 'test',
2836
+ payload: Buffer.from('test'),
2837
+ messageId: 10,
2838
+ properties: {
2839
+ payloadFormatIndicator: true,
2840
+ messageExpiryInterval: 4321,
2841
+ topicAlias: -100,
2842
+ responseTopic: 'topic',
2843
+ correlationData: Buffer.from([1, 2, 3, 4]),
2844
+ userProperties: {
2845
+ test: 'test'
2846
+ },
2847
+ subscriptionIdentifier: 120,
2848
+ contentType: 'test'
2849
+ }
2850
+ }, { protocolVersion: 5 })
2851
+
2852
+ testGenerateError('Invalid subscriptionIdentifier: -120', {
2853
+ cmd: 'publish',
2854
+ retain: true,
2855
+ qos: 2,
2856
+ dup: true,
2857
+ length: 60,
2858
+ topic: 'test',
2859
+ payload: Buffer.from('test'),
2860
+ messageId: 10,
2861
+ properties: {
2862
+ payloadFormatIndicator: true,
2863
+ messageExpiryInterval: 4321,
2864
+ topicAlias: 100,
2865
+ responseTopic: 'topic',
2866
+ correlationData: Buffer.from([1, 2, 3, 4]),
2867
+ userProperties: {
2868
+ test: 'test'
2869
+ },
2870
+ subscriptionIdentifier: -120,
2871
+ contentType: 'test'
2872
+ }
2873
+ }, { protocolVersion: 5 })
2874
+
2875
+ test('support cork', t => {
2876
+ t.plan(9)
2877
+
2878
+ const dest = WS()
2879
+
2880
+ dest._write = (chunk, enc, cb) => {
2881
+ t.pass('_write called')
2882
+ cb()
2883
+ }
2884
+
2885
+ mqtt.writeToStream({
2886
+ cmd: 'connect',
2887
+ retain: false,
2888
+ qos: 0,
2889
+ dup: false,
2890
+ length: 18,
2891
+ protocolId: 'MQIsdp',
2892
+ protocolVersion: 3,
2893
+ clean: false,
2894
+ keepalive: 30,
2895
+ clientId: 'test'
2896
+ }, dest)
2897
+
2898
+ dest.end()
2899
+ })
2900
+
2901
+ // The following test case was designed after experiencing errors
2902
+ // when trying to connect with tls on a non tls mqtt port
2903
+ // the specific behaviour is:
2904
+ // - first byte suggests this is a connect message
2905
+ // - second byte suggests message length to be smaller than buffer length
2906
+ // thus payload processing starts
2907
+ // - the first two bytes suggest a protocol identifier string length
2908
+ // that leads the parser pointer close to the end of the buffer
2909
+ // - when trying to read further connect flags the buffer produces
2910
+ // a "out of range" Error
2911
+ //
2912
+ testParseError('Packet too short', Buffer.from([
2913
+ 16, 9,
2914
+ 0, 6,
2915
+ 77, 81, 73, 115, 100, 112,
2916
+ 3
2917
+ ]))
2918
+
2919
+ // CONNECT Packets that show other protocol IDs than
2920
+ // the valid values MQTT and MQIsdp should cause an error
2921
+ // those packets are a hint that this is not a mqtt connection
2922
+ testParseError('Invalid protocolId', Buffer.from([
2923
+ 16, 18,
2924
+ 0, 6,
2925
+ 65, 65, 65, 65, 65, 65, // AAAAAA
2926
+ 3, // Protocol version
2927
+ 0, // Connect flags
2928
+ 0, 10, // Keepalive
2929
+ 0, 4, // Client ID length
2930
+ 116, 101, 115, 116 // Client ID
2931
+ ]))
2932
+
2933
+ // CONNECT Packets that contain an unsupported protocol version
2934
+ // Flag (i.e. not `3` or `4` or '5') should cause an error
2935
+ testParseError('Invalid protocol version', Buffer.from([
2936
+ 16, 18,
2937
+ 0, 6,
2938
+ 77, 81, 73, 115, 100, 112, // Protocol ID
2939
+ 1, // Protocol version
2940
+ 0, // Connect flags
2941
+ 0, 10, // Keepalive
2942
+ 0, 4, // Client ID length
2943
+ 116, 101, 115, 116 // Client ID
2944
+ ]))
2945
+
2946
+ // When a packet contains a string in the variable header and the
2947
+ // given string length of this exceeds the overall length of the packet that
2948
+ // was specified in the fixed header, parsing must fail.
2949
+ // this case simulates this behavior with the protocol ID string of the
2950
+ // CONNECT packet. The fixed header suggests a remaining length of 8 bytes
2951
+ // which would be exceeded by the string length of 15
2952
+ // in this case, a protocol ID parse error is expected
2953
+ testParseError('Cannot parse protocolId', Buffer.from([
2954
+ 16, 8, // Fixed header
2955
+ 0, 15, // string length 15 --> 15 > 8 --> error!
2956
+ 77, 81, 73, 115, 100, 112,
2957
+ 77, 81, 73, 115, 100, 112,
2958
+ 77, 81, 73, 115, 100, 112,
2959
+ 77, 81, 73, 115, 100, 112,
2960
+ 77, 81, 73, 115, 100, 112,
2961
+ 77, 81, 73, 115, 100, 112,
2962
+ 77, 81, 73, 115, 100, 112,
2963
+ 77, 81, 73, 115, 100, 112
2964
+ ]))
2965
+
2966
+ testParseError('Unknown property', Buffer.from([
2967
+ 61, 60, // Header
2968
+ 0, 4, // Topic length
2969
+ 116, 101, 115, 116, // Topic (test)
2970
+ 0, 10, // Message ID
2971
+ 47, // properties length
2972
+ 126, 1, // unknown property
2973
+ 2, 0, 0, 16, 225, // message expiry interval
2974
+ 35, 0, 100, // topicAlias
2975
+ 8, 0, 5, 116, 111, 112, 105, 99, // response topic
2976
+ 9, 0, 4, 1, 2, 3, 4, // correlationData
2977
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116, // userProperties
2978
+ 11, 120, // subscriptionIdentifier
2979
+ 3, 0, 4, 116, 101, 115, 116, // content type
2980
+ 116, 101, 115, 116 // Payload (test)
2981
+ ]), { protocolVersion: 5 })
2982
+
2983
+ testParseError('Not supported auth packet for this version MQTT', Buffer.from([
2984
+ 240, 36, // Header
2985
+ 0, // reason code
2986
+ 34, // properties length
2987
+ 21, 0, 4, 116, 101, 115, 116, // auth method
2988
+ 22, 0, 4, 0, 1, 2, 3, // auth data
2989
+ 31, 0, 4, 116, 101, 115, 116, // reasonString
2990
+ 38, 0, 4, 116, 101, 115, 116, 0, 4, 116, 101, 115, 116 // userProperties
2991
+ ]))
2992
+
2993
+ // When a Subscribe packet contains a topic_filter and the given
2994
+ // length is topic_filter.length + 1 then the last byte (requested QoS) is interpreted as topic_filter
2995
+ // reading the requested_qos at the end causes 'Index out of range' read
2996
+ testParseError('Malformed Subscribe Payload', Buffer.from([
2997
+ 130, 14, // subscribe header and remaining length
2998
+ 0, 123, // packet ID
2999
+ 0, 10, // topic filter length
3000
+ 104, 105, 106, 107, 108, 47, 109, 110, 111, // topic filter with length of 9 bytes
3001
+ 0 // requested QoS
3002
+ ]))
3003
+
3004
+ test('Cannot parse property code type', t => {
3005
+ const packets = Buffer.from([
3006
+ 16, 16, 0, 4, 77, 81, 84, 84, 5, 2, 0, 60, 3, 33, 0, 20, 0, 0, 98, 2, 211, 1, 224, 2, 0, 32
3007
+ ])
3008
+
3009
+ t.plan(3)
3010
+
3011
+ const parser = mqtt.parser()
3012
+
3013
+ parser.on('error', err => {
3014
+ t.equal(err.message, 'Cannot parse property code type', 'expected error message')
3015
+ t.end()
3016
+ })
3017
+
3018
+ parser.on('packet', (packet) => {
3019
+ t.pass('Packet parsed')
3020
+ })
3021
+
3022
+ parser.parse(packets)
3023
+ })
3024
+
3025
+ testWriteToStreamError('Invalid command', {
3026
+ cmd: 'invalid'
3027
+ })
3028
+
3029
+ testWriteToStreamError('Invalid protocolId', {
3030
+ cmd: 'connect',
3031
+ protocolId: {}
3032
+ })
3033
+
3034
+ test('userProperties null prototype', t => {
3035
+ t.plan(3)
3036
+
3037
+ const packet = mqtt.generate({
3038
+ cmd: 'connect',
3039
+ retain: false,
3040
+ qos: 0,
3041
+ dup: false,
3042
+ length: 125,
3043
+ protocolId: 'MQTT',
3044
+ protocolVersion: 5,
3045
+ will: {
3046
+ retain: true,
3047
+ qos: 2,
3048
+ properties: {
3049
+ willDelayInterval: 1234,
3050
+ payloadFormatIndicator: false,
3051
+ messageExpiryInterval: 4321,
3052
+ contentType: 'test',
3053
+ responseTopic: 'topic',
3054
+ correlationData: Buffer.from([1, 2, 3, 4]),
3055
+ userProperties: {
3056
+ test: 'test'
3057
+ }
3058
+ },
3059
+ topic: 'topic',
3060
+ payload: Buffer.from([4, 3, 2, 1])
3061
+ },
3062
+ clean: true,
3063
+ keepalive: 30,
3064
+ properties: {
3065
+ sessionExpiryInterval: 1234,
3066
+ receiveMaximum: 432,
3067
+ maximumPacketSize: 100,
3068
+ topicAliasMaximum: 456,
3069
+ requestResponseInformation: true,
3070
+ requestProblemInformation: true,
3071
+ userProperties: {
3072
+ test: 'test'
3073
+ },
3074
+ authenticationMethod: 'test',
3075
+ authenticationData: Buffer.from([1, 2, 3, 4])
3076
+ },
3077
+ clientId: 'test'
3078
+ })
3079
+
3080
+ const parser = mqtt.parser()
3081
+
3082
+ parser.on('packet', packet => {
3083
+ t.equal(packet.cmd, 'connect')
3084
+ t.equal(Object.getPrototypeOf(packet.properties.userProperties), null)
3085
+ t.equal(Object.getPrototypeOf(packet.will.properties.userProperties), null)
3086
+ })
3087
+
3088
+ parser.parse(packet)
3089
+ })
3090
+
3091
+ test('stops parsing after first error', t => {
3092
+ t.plan(4)
3093
+
3094
+ const parser = mqtt.parser()
3095
+
3096
+ let packetCount = 0
3097
+ let errorCount = 0
3098
+ let expectedPackets = 1
3099
+ let expectedErrors = 1
3100
+
3101
+ parser.on('packet', packet => {
3102
+ t.ok(++packetCount <= expectedPackets, `expected <= ${expectedPackets} packets`)
3103
+ })
3104
+
3105
+ parser.on('error', erroneous => {
3106
+ t.ok(++errorCount <= expectedErrors, `expected <= ${expectedErrors} errors`)
3107
+ })
3108
+
3109
+ parser.parse(Buffer.from([
3110
+ // First, a valid connect packet:
3111
+
3112
+ 16, 12, // Header
3113
+ 0, 4, // Protocol ID length
3114
+ 77, 81, 84, 84, // Protocol ID
3115
+ 4, // Protocol version
3116
+ 2, // Connect flags
3117
+ 0, 30, // Keepalive
3118
+ 0, 0, // Client ID length
3119
+
3120
+ // Then an invalid subscribe packet:
3121
+
3122
+ 128, 9, // Header (subscribeqos=0length=9)
3123
+ 0, 6, // Message ID (6)
3124
+ 0, 4, // Topic length,
3125
+ 116, 101, 115, 116, // Topic (test)
3126
+ 0, // Qos (0)
3127
+
3128
+ // And another invalid subscribe packet:
3129
+
3130
+ 128, 9, // Header (subscribeqos=0length=9)
3131
+ 0, 6, // Message ID (6)
3132
+ 0, 4, // Topic length,
3133
+ 116, 101, 115, 116, // Topic (test)
3134
+ 0, // Qos (0)
3135
+
3136
+ // Finally, a valid disconnect packet:
3137
+
3138
+ 224, 0 // Header
3139
+ ]))
3140
+
3141
+ // Calling parse again clears the error and continues parsing
3142
+ packetCount = 0
3143
+ errorCount = 0
3144
+ expectedPackets = 2
3145
+ expectedErrors = 0
3146
+
3147
+ parser.parse(Buffer.from([
3148
+ // Connect:
3149
+
3150
+ 16, 12, // Header
3151
+ 0, 4, // Protocol ID length
3152
+ 77, 81, 84, 84, // Protocol ID
3153
+ 4, // Protocol version
3154
+ 2, // Connect flags
3155
+ 0, 30, // Keepalive
3156
+ 0, 0, // Client ID length
3157
+
3158
+ // Disconnect:
3159
+
3160
+ 224, 0 // Header
3161
+ ]))
3162
+ })
3163
+
3164
+ test('undefined properties', t => {
3165
+ t.plan(2)
3166
+
3167
+ const packet = mqtt.generate({
3168
+ cmd: 'connect',
3169
+ retain: false,
3170
+ qos: 0,
3171
+ dup: false,
3172
+ length: 125,
3173
+ protocolId: 'MQTT',
3174
+ protocolVersion: 5,
3175
+ will: {
3176
+ retain: true,
3177
+ qos: 2,
3178
+ properties: {
3179
+ willDelayInterval: 1234,
3180
+ payloadFormatIndicator: false,
3181
+ messageExpiryInterval: 4321,
3182
+ contentType: 'test',
3183
+ responseTopic: 'topic',
3184
+ correlationData: Buffer.from([1, 2, 3, 4]),
3185
+ userProperties: {
3186
+ test: 'test'
3187
+ }
3188
+ },
3189
+ topic: 'topic',
3190
+ payload: Buffer.from([4, 3, 2, 1])
3191
+ },
3192
+ clean: true,
3193
+ keepalive: 30,
3194
+ properties: {
3195
+ sessionExpiryInterval: 1234,
3196
+ receiveMaximum: 432,
3197
+ maximumPacketSize: 100,
3198
+ topicAliasMaximum: 456,
3199
+ requestResponseInformation: true,
3200
+ requestProblemInformation: true,
3201
+ correlationData: undefined,
3202
+ userProperties: {
3203
+ test: 'test'
3204
+ },
3205
+ authenticationMethod: 'test',
3206
+ authenticationData: Buffer.from([1, 2, 3, 4])
3207
+ },
3208
+ clientId: 'test'
3209
+ })
3210
+
3211
+ const parser = mqtt.parser()
3212
+
3213
+ parser.on('packet', packet => {
3214
+ t.equal(packet.cmd, 'connect')
3215
+ t.equal(Object.hasOwn(packet.properties, 'correlationData'), false)
3216
+ })
3217
+
3218
+ parser.parse(packet)
3219
+ })
3220
+
3221
+ testGenerateErrorMultipleCmds([
3222
+ 'publish',
3223
+ 'puback',
3224
+ 'pubrec',
3225
+ 'pubrel',
3226
+ 'subscribe',
3227
+ 'suback',
3228
+ 'unsubscribe',
3229
+ 'unsuback'
3230
+ ], 'Invalid messageId', {
3231
+ qos: 1, // required for publish
3232
+ topic: 'test', // required for publish
3233
+ messageId: 'a'
3234
+ }, {})