wiki-plugin-allyabase 0.0.2 → 0.0.3

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 (2357) hide show
  1. package/README.md +98 -120
  2. package/allyabase_setup.sh +169 -0
  3. package/client/allyabase.js +539 -43
  4. package/client/emoji-favicon.js +118 -0
  5. package/client/federation.js +242 -0
  6. package/factory.json +1 -1
  7. package/package.json +8 -9
  8. package/server/federation-resolver.js +346 -0
  9. package/server/server.js +819 -8
  10. package/server/contracts.js +0 -261
  11. package/server/feeds.js +0 -30
  12. package/server/inventory.js +0 -88
  13. package/test/node_modules/.bin/_mocha +0 -10
  14. package/test/node_modules/.bin/flat +0 -42
  15. package/test/node_modules/.bin/glob +0 -270
  16. package/test/node_modules/.bin/he +0 -148
  17. package/test/node_modules/.bin/js-yaml +0 -126
  18. package/test/node_modules/.bin/mime +0 -46
  19. package/test/node_modules/.bin/mocha +0 -142
  20. package/test/node_modules/.bin/node-which +0 -52
  21. package/test/node_modules/.bin/uuid +0 -2
  22. package/test/node_modules/.package-lock.json +0 -1984
  23. package/test/node_modules/@isaacs/cliui/LICENSE.txt +0 -14
  24. package/test/node_modules/@isaacs/cliui/README.md +0 -143
  25. package/test/node_modules/@isaacs/cliui/build/index.cjs +0 -317
  26. package/test/node_modules/@isaacs/cliui/build/index.d.cts +0 -43
  27. package/test/node_modules/@isaacs/cliui/build/lib/index.js +0 -302
  28. package/test/node_modules/@isaacs/cliui/index.mjs +0 -14
  29. package/test/node_modules/@isaacs/cliui/package.json +0 -86
  30. package/test/node_modules/@noble/curves/LICENSE +0 -21
  31. package/test/node_modules/@noble/curves/README.md +0 -1031
  32. package/test/node_modules/@noble/curves/_shortw_utils.d.ts +0 -62
  33. package/test/node_modules/@noble/curves/_shortw_utils.d.ts.map +0 -1
  34. package/test/node_modules/@noble/curves/_shortw_utils.js +0 -21
  35. package/test/node_modules/@noble/curves/_shortw_utils.js.map +0 -1
  36. package/test/node_modules/@noble/curves/abstract/bls.d.ts +0 -122
  37. package/test/node_modules/@noble/curves/abstract/bls.d.ts.map +0 -1
  38. package/test/node_modules/@noble/curves/abstract/bls.js +0 -288
  39. package/test/node_modules/@noble/curves/abstract/bls.js.map +0 -1
  40. package/test/node_modules/@noble/curves/abstract/curve.d.ts +0 -70
  41. package/test/node_modules/@noble/curves/abstract/curve.d.ts.map +0 -1
  42. package/test/node_modules/@noble/curves/abstract/curve.js +0 -160
  43. package/test/node_modules/@noble/curves/abstract/curve.js.map +0 -1
  44. package/test/node_modules/@noble/curves/abstract/edwards.d.ts +0 -89
  45. package/test/node_modules/@noble/curves/abstract/edwards.d.ts.map +0 -1
  46. package/test/node_modules/@noble/curves/abstract/edwards.js +0 -428
  47. package/test/node_modules/@noble/curves/abstract/edwards.js.map +0 -1
  48. package/test/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +0 -58
  49. package/test/node_modules/@noble/curves/abstract/hash-to-curve.d.ts.map +0 -1
  50. package/test/node_modules/@noble/curves/abstract/hash-to-curve.js +0 -180
  51. package/test/node_modules/@noble/curves/abstract/hash-to-curve.js.map +0 -1
  52. package/test/node_modules/@noble/curves/abstract/modular.d.ts +0 -123
  53. package/test/node_modules/@noble/curves/abstract/modular.d.ts.map +0 -1
  54. package/test/node_modules/@noble/curves/abstract/modular.js +0 -439
  55. package/test/node_modules/@noble/curves/abstract/modular.js.map +0 -1
  56. package/test/node_modules/@noble/curves/abstract/montgomery.d.ts +0 -26
  57. package/test/node_modules/@noble/curves/abstract/montgomery.d.ts.map +0 -1
  58. package/test/node_modules/@noble/curves/abstract/montgomery.js +0 -158
  59. package/test/node_modules/@noble/curves/abstract/montgomery.js.map +0 -1
  60. package/test/node_modules/@noble/curves/abstract/poseidon.d.ts +0 -30
  61. package/test/node_modules/@noble/curves/abstract/poseidon.d.ts.map +0 -1
  62. package/test/node_modules/@noble/curves/abstract/poseidon.js +0 -113
  63. package/test/node_modules/@noble/curves/abstract/poseidon.js.map +0 -1
  64. package/test/node_modules/@noble/curves/abstract/utils.d.ts +0 -94
  65. package/test/node_modules/@noble/curves/abstract/utils.d.ts.map +0 -1
  66. package/test/node_modules/@noble/curves/abstract/utils.js +0 -313
  67. package/test/node_modules/@noble/curves/abstract/utils.js.map +0 -1
  68. package/test/node_modules/@noble/curves/abstract/weierstrass.d.ts +0 -236
  69. package/test/node_modules/@noble/curves/abstract/weierstrass.d.ts.map +0 -1
  70. package/test/node_modules/@noble/curves/abstract/weierstrass.js +0 -1069
  71. package/test/node_modules/@noble/curves/abstract/weierstrass.js.map +0 -1
  72. package/test/node_modules/@noble/curves/bls12-381.d.ts +0 -67
  73. package/test/node_modules/@noble/curves/bls12-381.d.ts.map +0 -1
  74. package/test/node_modules/@noble/curves/bls12-381.js +0 -1232
  75. package/test/node_modules/@noble/curves/bls12-381.js.map +0 -1
  76. package/test/node_modules/@noble/curves/bn254.d.ts +0 -9
  77. package/test/node_modules/@noble/curves/bn254.d.ts.map +0 -1
  78. package/test/node_modules/@noble/curves/bn254.js +0 -26
  79. package/test/node_modules/@noble/curves/bn254.js.map +0 -1
  80. package/test/node_modules/@noble/curves/ed25519.d.ts +0 -78
  81. package/test/node_modules/@noble/curves/ed25519.d.ts.map +0 -1
  82. package/test/node_modules/@noble/curves/ed25519.js +0 -446
  83. package/test/node_modules/@noble/curves/ed25519.js.map +0 -1
  84. package/test/node_modules/@noble/curves/ed448.d.ts +0 -67
  85. package/test/node_modules/@noble/curves/ed448.d.ts.map +0 -1
  86. package/test/node_modules/@noble/curves/ed448.js +0 -406
  87. package/test/node_modules/@noble/curves/ed448.js.map +0 -1
  88. package/test/node_modules/@noble/curves/esm/_shortw_utils.d.ts +0 -62
  89. package/test/node_modules/@noble/curves/esm/_shortw_utils.d.ts.map +0 -1
  90. package/test/node_modules/@noble/curves/esm/_shortw_utils.js +0 -17
  91. package/test/node_modules/@noble/curves/esm/_shortw_utils.js.map +0 -1
  92. package/test/node_modules/@noble/curves/esm/abstract/bls.d.ts +0 -122
  93. package/test/node_modules/@noble/curves/esm/abstract/bls.d.ts.map +0 -1
  94. package/test/node_modules/@noble/curves/esm/abstract/bls.js +0 -285
  95. package/test/node_modules/@noble/curves/esm/abstract/bls.js.map +0 -1
  96. package/test/node_modules/@noble/curves/esm/abstract/curve.d.ts +0 -70
  97. package/test/node_modules/@noble/curves/esm/abstract/curve.d.ts.map +0 -1
  98. package/test/node_modules/@noble/curves/esm/abstract/curve.js +0 -156
  99. package/test/node_modules/@noble/curves/esm/abstract/curve.js.map +0 -1
  100. package/test/node_modules/@noble/curves/esm/abstract/edwards.d.ts +0 -89
  101. package/test/node_modules/@noble/curves/esm/abstract/edwards.d.ts.map +0 -1
  102. package/test/node_modules/@noble/curves/esm/abstract/edwards.js +0 -425
  103. package/test/node_modules/@noble/curves/esm/abstract/edwards.js.map +0 -1
  104. package/test/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts +0 -58
  105. package/test/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts.map +0 -1
  106. package/test/node_modules/@noble/curves/esm/abstract/hash-to-curve.js +0 -173
  107. package/test/node_modules/@noble/curves/esm/abstract/hash-to-curve.js.map +0 -1
  108. package/test/node_modules/@noble/curves/esm/abstract/modular.d.ts +0 -123
  109. package/test/node_modules/@noble/curves/esm/abstract/modular.d.ts.map +0 -1
  110. package/test/node_modules/@noble/curves/esm/abstract/modular.js +0 -416
  111. package/test/node_modules/@noble/curves/esm/abstract/modular.js.map +0 -1
  112. package/test/node_modules/@noble/curves/esm/abstract/montgomery.d.ts +0 -26
  113. package/test/node_modules/@noble/curves/esm/abstract/montgomery.d.ts.map +0 -1
  114. package/test/node_modules/@noble/curves/esm/abstract/montgomery.js +0 -155
  115. package/test/node_modules/@noble/curves/esm/abstract/montgomery.js.map +0 -1
  116. package/test/node_modules/@noble/curves/esm/abstract/poseidon.d.ts +0 -30
  117. package/test/node_modules/@noble/curves/esm/abstract/poseidon.d.ts.map +0 -1
  118. package/test/node_modules/@noble/curves/esm/abstract/poseidon.js +0 -108
  119. package/test/node_modules/@noble/curves/esm/abstract/poseidon.js.map +0 -1
  120. package/test/node_modules/@noble/curves/esm/abstract/utils.d.ts +0 -94
  121. package/test/node_modules/@noble/curves/esm/abstract/utils.d.ts.map +0 -1
  122. package/test/node_modules/@noble/curves/esm/abstract/utils.js +0 -289
  123. package/test/node_modules/@noble/curves/esm/abstract/utils.js.map +0 -1
  124. package/test/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts +0 -236
  125. package/test/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts.map +0 -1
  126. package/test/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -1062
  127. package/test/node_modules/@noble/curves/esm/abstract/weierstrass.js.map +0 -1
  128. package/test/node_modules/@noble/curves/esm/bls12-381.d.ts +0 -67
  129. package/test/node_modules/@noble/curves/esm/bls12-381.d.ts.map +0 -1
  130. package/test/node_modules/@noble/curves/esm/bls12-381.js +0 -1229
  131. package/test/node_modules/@noble/curves/esm/bls12-381.js.map +0 -1
  132. package/test/node_modules/@noble/curves/esm/bn254.d.ts +0 -9
  133. package/test/node_modules/@noble/curves/esm/bn254.d.ts.map +0 -1
  134. package/test/node_modules/@noble/curves/esm/bn254.js +0 -23
  135. package/test/node_modules/@noble/curves/esm/bn254.js.map +0 -1
  136. package/test/node_modules/@noble/curves/esm/ed25519.d.ts +0 -78
  137. package/test/node_modules/@noble/curves/esm/ed25519.d.ts.map +0 -1
  138. package/test/node_modules/@noble/curves/esm/ed25519.js +0 -440
  139. package/test/node_modules/@noble/curves/esm/ed25519.js.map +0 -1
  140. package/test/node_modules/@noble/curves/esm/ed448.d.ts +0 -67
  141. package/test/node_modules/@noble/curves/esm/ed448.d.ts.map +0 -1
  142. package/test/node_modules/@noble/curves/esm/ed448.js +0 -401
  143. package/test/node_modules/@noble/curves/esm/ed448.js.map +0 -1
  144. package/test/node_modules/@noble/curves/esm/index.d.ts +0 -2
  145. package/test/node_modules/@noble/curves/esm/index.d.ts.map +0 -1
  146. package/test/node_modules/@noble/curves/esm/index.js +0 -3
  147. package/test/node_modules/@noble/curves/esm/index.js.map +0 -1
  148. package/test/node_modules/@noble/curves/esm/jubjub.d.ts +0 -9
  149. package/test/node_modules/@noble/curves/esm/jubjub.d.ts.map +0 -1
  150. package/test/node_modules/@noble/curves/esm/jubjub.js +0 -54
  151. package/test/node_modules/@noble/curves/esm/jubjub.js.map +0 -1
  152. package/test/node_modules/@noble/curves/esm/p256.d.ts +0 -105
  153. package/test/node_modules/@noble/curves/esm/p256.d.ts.map +0 -1
  154. package/test/node_modules/@noble/curves/esm/p256.js +0 -42
  155. package/test/node_modules/@noble/curves/esm/p256.js.map +0 -1
  156. package/test/node_modules/@noble/curves/esm/p384.d.ts +0 -105
  157. package/test/node_modules/@noble/curves/esm/p384.d.ts.map +0 -1
  158. package/test/node_modules/@noble/curves/esm/p384.js +0 -46
  159. package/test/node_modules/@noble/curves/esm/p384.js.map +0 -1
  160. package/test/node_modules/@noble/curves/esm/p521.d.ts +0 -105
  161. package/test/node_modules/@noble/curves/esm/p521.d.ts.map +0 -1
  162. package/test/node_modules/@noble/curves/esm/p521.js +0 -53
  163. package/test/node_modules/@noble/curves/esm/p521.js.map +0 -1
  164. package/test/node_modules/@noble/curves/esm/package.json +0 -4
  165. package/test/node_modules/@noble/curves/esm/pasta.d.ts +0 -5
  166. package/test/node_modules/@noble/curves/esm/pasta.d.ts.map +0 -1
  167. package/test/node_modules/@noble/curves/esm/pasta.js +0 -30
  168. package/test/node_modules/@noble/curves/esm/pasta.js.map +0 -1
  169. package/test/node_modules/@noble/curves/esm/secp256k1.d.ts +0 -93
  170. package/test/node_modules/@noble/curves/esm/secp256k1.d.ts.map +0 -1
  171. package/test/node_modules/@noble/curves/esm/secp256k1.js +0 -254
  172. package/test/node_modules/@noble/curves/esm/secp256k1.js.map +0 -1
  173. package/test/node_modules/@noble/curves/index.d.ts +0 -1
  174. package/test/node_modules/@noble/curves/index.d.ts.map +0 -1
  175. package/test/node_modules/@noble/curves/index.js +0 -3
  176. package/test/node_modules/@noble/curves/index.js.map +0 -1
  177. package/test/node_modules/@noble/curves/jubjub.d.ts +0 -9
  178. package/test/node_modules/@noble/curves/jubjub.d.ts.map +0 -1
  179. package/test/node_modules/@noble/curves/jubjub.js +0 -59
  180. package/test/node_modules/@noble/curves/jubjub.js.map +0 -1
  181. package/test/node_modules/@noble/curves/p256.d.ts +0 -105
  182. package/test/node_modules/@noble/curves/p256.d.ts.map +0 -1
  183. package/test/node_modules/@noble/curves/p256.js +0 -45
  184. package/test/node_modules/@noble/curves/p256.js.map +0 -1
  185. package/test/node_modules/@noble/curves/p384.d.ts +0 -105
  186. package/test/node_modules/@noble/curves/p384.d.ts.map +0 -1
  187. package/test/node_modules/@noble/curves/p384.js +0 -49
  188. package/test/node_modules/@noble/curves/p384.js.map +0 -1
  189. package/test/node_modules/@noble/curves/p521.d.ts +0 -105
  190. package/test/node_modules/@noble/curves/p521.d.ts.map +0 -1
  191. package/test/node_modules/@noble/curves/p521.js +0 -56
  192. package/test/node_modules/@noble/curves/p521.js.map +0 -1
  193. package/test/node_modules/@noble/curves/package.json +0 -159
  194. package/test/node_modules/@noble/curves/pasta.d.ts +0 -5
  195. package/test/node_modules/@noble/curves/pasta.d.ts.map +0 -1
  196. package/test/node_modules/@noble/curves/pasta.js +0 -33
  197. package/test/node_modules/@noble/curves/pasta.js.map +0 -1
  198. package/test/node_modules/@noble/curves/secp256k1.d.ts +0 -93
  199. package/test/node_modules/@noble/curves/secp256k1.d.ts.map +0 -1
  200. package/test/node_modules/@noble/curves/secp256k1.js +0 -257
  201. package/test/node_modules/@noble/curves/secp256k1.js.map +0 -1
  202. package/test/node_modules/@noble/curves/src/_shortw_utils.ts +0 -20
  203. package/test/node_modules/@noble/curves/src/abstract/bls.ts +0 -502
  204. package/test/node_modules/@noble/curves/src/abstract/curve.ts +0 -203
  205. package/test/node_modules/@noble/curves/src/abstract/edwards.ts +0 -514
  206. package/test/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +0 -231
  207. package/test/node_modules/@noble/curves/src/abstract/modular.ts +0 -484
  208. package/test/node_modules/@noble/curves/src/abstract/montgomery.ts +0 -187
  209. package/test/node_modules/@noble/curves/src/abstract/poseidon.ts +0 -118
  210. package/test/node_modules/@noble/curves/src/abstract/utils.ts +0 -319
  211. package/test/node_modules/@noble/curves/src/abstract/weierstrass.ts +0 -1237
  212. package/test/node_modules/@noble/curves/src/bls12-381.ts +0 -1410
  213. package/test/node_modules/@noble/curves/src/bn254.ts +0 -22
  214. package/test/node_modules/@noble/curves/src/ed25519.ts +0 -505
  215. package/test/node_modules/@noble/curves/src/ed448.ts +0 -480
  216. package/test/node_modules/@noble/curves/src/index.ts +0 -1
  217. package/test/node_modules/@noble/curves/src/jubjub.ts +0 -58
  218. package/test/node_modules/@noble/curves/src/p256.ts +0 -48
  219. package/test/node_modules/@noble/curves/src/p384.ts +0 -52
  220. package/test/node_modules/@noble/curves/src/p521.ts +0 -68
  221. package/test/node_modules/@noble/curves/src/package.json +0 -3
  222. package/test/node_modules/@noble/curves/src/pasta.ts +0 -31
  223. package/test/node_modules/@noble/curves/src/secp256k1.ts +0 -274
  224. package/test/node_modules/@noble/hashes/LICENSE +0 -21
  225. package/test/node_modules/@noble/hashes/README.md +0 -558
  226. package/test/node_modules/@noble/hashes/_assert.d.ts +0 -24
  227. package/test/node_modules/@noble/hashes/_assert.js +0 -51
  228. package/test/node_modules/@noble/hashes/_assert.js.map +0 -1
  229. package/test/node_modules/@noble/hashes/_blake.d.ts +0 -28
  230. package/test/node_modules/@noble/hashes/_blake.js +0 -124
  231. package/test/node_modules/@noble/hashes/_blake.js.map +0 -1
  232. package/test/node_modules/@noble/hashes/_md.d.ts +0 -30
  233. package/test/node_modules/@noble/hashes/_md.js +0 -128
  234. package/test/node_modules/@noble/hashes/_md.js.map +0 -1
  235. package/test/node_modules/@noble/hashes/_u64.d.ts +0 -55
  236. package/test/node_modules/@noble/hashes/_u64.js +0 -85
  237. package/test/node_modules/@noble/hashes/_u64.js.map +0 -1
  238. package/test/node_modules/@noble/hashes/argon2.d.ts +0 -17
  239. package/test/node_modules/@noble/hashes/argon2.js +0 -303
  240. package/test/node_modules/@noble/hashes/argon2.js.map +0 -1
  241. package/test/node_modules/@noble/hashes/blake2b.d.ts +0 -54
  242. package/test/node_modules/@noble/hashes/blake2b.js +0 -192
  243. package/test/node_modules/@noble/hashes/blake2b.js.map +0 -1
  244. package/test/node_modules/@noble/hashes/blake2s.d.ts +0 -48
  245. package/test/node_modules/@noble/hashes/blake2s.js +0 -123
  246. package/test/node_modules/@noble/hashes/blake2s.js.map +0 -1
  247. package/test/node_modules/@noble/hashes/blake3.d.ts +0 -47
  248. package/test/node_modules/@noble/hashes/blake3.js +0 -243
  249. package/test/node_modules/@noble/hashes/blake3.js.map +0 -1
  250. package/test/node_modules/@noble/hashes/crypto.d.ts +0 -2
  251. package/test/node_modules/@noble/hashes/crypto.js +0 -5
  252. package/test/node_modules/@noble/hashes/crypto.js.map +0 -1
  253. package/test/node_modules/@noble/hashes/cryptoNode.d.ts +0 -2
  254. package/test/node_modules/@noble/hashes/cryptoNode.js +0 -10
  255. package/test/node_modules/@noble/hashes/cryptoNode.js.map +0 -1
  256. package/test/node_modules/@noble/hashes/eskdf.d.ts +0 -47
  257. package/test/node_modules/@noble/hashes/eskdf.js +0 -162
  258. package/test/node_modules/@noble/hashes/eskdf.js.map +0 -1
  259. package/test/node_modules/@noble/hashes/esm/_assert.js +0 -42
  260. package/test/node_modules/@noble/hashes/esm/_assert.js.map +0 -1
  261. package/test/node_modules/@noble/hashes/esm/_blake.js +0 -120
  262. package/test/node_modules/@noble/hashes/esm/_blake.js.map +0 -1
  263. package/test/node_modules/@noble/hashes/esm/_md.js +0 -122
  264. package/test/node_modules/@noble/hashes/esm/_md.js.map +0 -1
  265. package/test/node_modules/@noble/hashes/esm/_u64.js +0 -62
  266. package/test/node_modules/@noble/hashes/esm/_u64.js.map +0 -1
  267. package/test/node_modules/@noble/hashes/esm/argon2.js +0 -297
  268. package/test/node_modules/@noble/hashes/esm/argon2.js.map +0 -1
  269. package/test/node_modules/@noble/hashes/esm/blake2b.js +0 -189
  270. package/test/node_modules/@noble/hashes/esm/blake2b.js.map +0 -1
  271. package/test/node_modules/@noble/hashes/esm/blake2s.js +0 -119
  272. package/test/node_modules/@noble/hashes/esm/blake2s.js.map +0 -1
  273. package/test/node_modules/@noble/hashes/esm/blake3.js +0 -240
  274. package/test/node_modules/@noble/hashes/esm/blake3.js.map +0 -1
  275. package/test/node_modules/@noble/hashes/esm/crypto.js +0 -2
  276. package/test/node_modules/@noble/hashes/esm/crypto.js.map +0 -1
  277. package/test/node_modules/@noble/hashes/esm/cryptoNode.js +0 -7
  278. package/test/node_modules/@noble/hashes/esm/cryptoNode.js.map +0 -1
  279. package/test/node_modules/@noble/hashes/esm/eskdf.js +0 -155
  280. package/test/node_modules/@noble/hashes/esm/eskdf.js.map +0 -1
  281. package/test/node_modules/@noble/hashes/esm/hkdf.js +0 -72
  282. package/test/node_modules/@noble/hashes/esm/hkdf.js.map +0 -1
  283. package/test/node_modules/@noble/hashes/esm/hmac.js +0 -77
  284. package/test/node_modules/@noble/hashes/esm/hmac.js.map +0 -1
  285. package/test/node_modules/@noble/hashes/esm/index.js +0 -3
  286. package/test/node_modules/@noble/hashes/esm/index.js.map +0 -1
  287. package/test/node_modules/@noble/hashes/esm/package.json +0 -10
  288. package/test/node_modules/@noble/hashes/esm/pbkdf2.js +0 -86
  289. package/test/node_modules/@noble/hashes/esm/pbkdf2.js.map +0 -1
  290. package/test/node_modules/@noble/hashes/esm/ripemd160.js +0 -102
  291. package/test/node_modules/@noble/hashes/esm/ripemd160.js.map +0 -1
  292. package/test/node_modules/@noble/hashes/esm/scrypt.js +0 -224
  293. package/test/node_modules/@noble/hashes/esm/scrypt.js.map +0 -1
  294. package/test/node_modules/@noble/hashes/esm/sha1.js +0 -80
  295. package/test/node_modules/@noble/hashes/esm/sha1.js.map +0 -1
  296. package/test/node_modules/@noble/hashes/esm/sha2.js +0 -4
  297. package/test/node_modules/@noble/hashes/esm/sha2.js.map +0 -1
  298. package/test/node_modules/@noble/hashes/esm/sha256.js +0 -123
  299. package/test/node_modules/@noble/hashes/esm/sha256.js.map +0 -1
  300. package/test/node_modules/@noble/hashes/esm/sha3-addons.js +0 -356
  301. package/test/node_modules/@noble/hashes/esm/sha3-addons.js.map +0 -1
  302. package/test/node_modules/@noble/hashes/esm/sha3.js +0 -214
  303. package/test/node_modules/@noble/hashes/esm/sha3.js.map +0 -1
  304. package/test/node_modules/@noble/hashes/esm/sha512.js +0 -231
  305. package/test/node_modules/@noble/hashes/esm/sha512.js.map +0 -1
  306. package/test/node_modules/@noble/hashes/esm/utils.js +0 -187
  307. package/test/node_modules/@noble/hashes/esm/utils.js.map +0 -1
  308. package/test/node_modules/@noble/hashes/hkdf.d.ts +0 -27
  309. package/test/node_modules/@noble/hashes/hkdf.js +0 -78
  310. package/test/node_modules/@noble/hashes/hkdf.js.map +0 -1
  311. package/test/node_modules/@noble/hashes/hmac.d.ts +0 -26
  312. package/test/node_modules/@noble/hashes/hmac.js +0 -82
  313. package/test/node_modules/@noble/hashes/hmac.js.map +0 -1
  314. package/test/node_modules/@noble/hashes/index.d.ts +0 -1
  315. package/test/node_modules/@noble/hashes/index.js +0 -3
  316. package/test/node_modules/@noble/hashes/index.js.map +0 -1
  317. package/test/node_modules/@noble/hashes/package.json +0 -179
  318. package/test/node_modules/@noble/hashes/pbkdf2.d.ts +0 -16
  319. package/test/node_modules/@noble/hashes/pbkdf2.js +0 -91
  320. package/test/node_modules/@noble/hashes/pbkdf2.js.map +0 -1
  321. package/test/node_modules/@noble/hashes/ripemd160.d.ts +0 -25
  322. package/test/node_modules/@noble/hashes/ripemd160.js +0 -106
  323. package/test/node_modules/@noble/hashes/ripemd160.js.map +0 -1
  324. package/test/node_modules/@noble/hashes/scrypt.d.ts +0 -30
  325. package/test/node_modules/@noble/hashes/scrypt.js +0 -229
  326. package/test/node_modules/@noble/hashes/scrypt.js.map +0 -1
  327. package/test/node_modules/@noble/hashes/sha1.d.ts +0 -22
  328. package/test/node_modules/@noble/hashes/sha1.js +0 -83
  329. package/test/node_modules/@noble/hashes/sha1.js.map +0 -1
  330. package/test/node_modules/@noble/hashes/sha2.d.ts +0 -3
  331. package/test/node_modules/@noble/hashes/sha2.js +0 -13
  332. package/test/node_modules/@noble/hashes/sha2.js.map +0 -1
  333. package/test/node_modules/@noble/hashes/sha256.d.ts +0 -35
  334. package/test/node_modules/@noble/hashes/sha256.js +0 -126
  335. package/test/node_modules/@noble/hashes/sha256.js.map +0 -1
  336. package/test/node_modules/@noble/hashes/sha3-addons.d.ts +0 -154
  337. package/test/node_modules/@noble/hashes/sha3-addons.js +0 -360
  338. package/test/node_modules/@noble/hashes/sha3-addons.js.map +0 -1
  339. package/test/node_modules/@noble/hashes/sha3.d.ts +0 -98
  340. package/test/node_modules/@noble/hashes/sha3.js +0 -219
  341. package/test/node_modules/@noble/hashes/sha3.js.map +0 -1
  342. package/test/node_modules/@noble/hashes/sha512.d.ts +0 -67
  343. package/test/node_modules/@noble/hashes/sha512.js +0 -235
  344. package/test/node_modules/@noble/hashes/sha512.js.map +0 -1
  345. package/test/node_modules/@noble/hashes/src/_assert.ts +0 -51
  346. package/test/node_modules/@noble/hashes/src/_blake.ts +0 -134
  347. package/test/node_modules/@noble/hashes/src/_md.ts +0 -127
  348. package/test/node_modules/@noble/hashes/src/_u64.ts +0 -77
  349. package/test/node_modules/@noble/hashes/src/argon2.ts +0 -374
  350. package/test/node_modules/@noble/hashes/src/blake2b.ts +0 -205
  351. package/test/node_modules/@noble/hashes/src/blake2s.ts +0 -138
  352. package/test/node_modules/@noble/hashes/src/blake3.ts +0 -268
  353. package/test/node_modules/@noble/hashes/src/crypto.ts +0 -5
  354. package/test/node_modules/@noble/hashes/src/cryptoNode.ts +0 -7
  355. package/test/node_modules/@noble/hashes/src/eskdf.ts +0 -183
  356. package/test/node_modules/@noble/hashes/src/hkdf.ts +0 -79
  357. package/test/node_modules/@noble/hashes/src/hmac.ts +0 -81
  358. package/test/node_modules/@noble/hashes/src/index.ts +0 -1
  359. package/test/node_modules/@noble/hashes/src/pbkdf2.ts +0 -97
  360. package/test/node_modules/@noble/hashes/src/ripemd160.ts +0 -108
  361. package/test/node_modules/@noble/hashes/src/scrypt.ts +0 -241
  362. package/test/node_modules/@noble/hashes/src/sha1.ts +0 -80
  363. package/test/node_modules/@noble/hashes/src/sha2.ts +0 -3
  364. package/test/node_modules/@noble/hashes/src/sha256.ts +0 -129
  365. package/test/node_modules/@noble/hashes/src/sha3-addons.ts +0 -423
  366. package/test/node_modules/@noble/hashes/src/sha3.ts +0 -229
  367. package/test/node_modules/@noble/hashes/src/sha512.ts +0 -246
  368. package/test/node_modules/@noble/hashes/src/utils.ts +0 -256
  369. package/test/node_modules/@noble/hashes/utils.d.ts +0 -96
  370. package/test/node_modules/@noble/hashes/utils.js +0 -211
  371. package/test/node_modules/@noble/hashes/utils.js.map +0 -1
  372. package/test/node_modules/@pkgjs/parseargs/.editorconfig +0 -14
  373. package/test/node_modules/@pkgjs/parseargs/CHANGELOG.md +0 -147
  374. package/test/node_modules/@pkgjs/parseargs/LICENSE +0 -201
  375. package/test/node_modules/@pkgjs/parseargs/README.md +0 -413
  376. package/test/node_modules/@pkgjs/parseargs/examples/is-default-value.js +0 -25
  377. package/test/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +0 -35
  378. package/test/node_modules/@pkgjs/parseargs/examples/negate.js +0 -43
  379. package/test/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +0 -31
  380. package/test/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +0 -41
  381. package/test/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +0 -26
  382. package/test/node_modules/@pkgjs/parseargs/index.js +0 -396
  383. package/test/node_modules/@pkgjs/parseargs/internal/errors.js +0 -47
  384. package/test/node_modules/@pkgjs/parseargs/internal/primordials.js +0 -393
  385. package/test/node_modules/@pkgjs/parseargs/internal/util.js +0 -14
  386. package/test/node_modules/@pkgjs/parseargs/internal/validators.js +0 -89
  387. package/test/node_modules/@pkgjs/parseargs/package.json +0 -36
  388. package/test/node_modules/@pkgjs/parseargs/utils.js +0 -198
  389. package/test/node_modules/@scure/base/LICENSE +0 -21
  390. package/test/node_modules/@scure/base/README.md +0 -214
  391. package/test/node_modules/@scure/base/index.ts +0 -616
  392. package/test/node_modules/@scure/base/lib/esm/index.d.ts +0 -132
  393. package/test/node_modules/@scure/base/lib/esm/index.d.ts.map +0 -1
  394. package/test/node_modules/@scure/base/lib/esm/index.js +0 -489
  395. package/test/node_modules/@scure/base/lib/esm/index.js.map +0 -1
  396. package/test/node_modules/@scure/base/lib/esm/package.json +0 -1
  397. package/test/node_modules/@scure/base/lib/index.d.ts +0 -132
  398. package/test/node_modules/@scure/base/lib/index.d.ts.map +0 -1
  399. package/test/node_modules/@scure/base/lib/index.js +0 -496
  400. package/test/node_modules/@scure/base/lib/index.js.map +0 -1
  401. package/test/node_modules/@scure/base/package.json +0 -64
  402. package/test/node_modules/@scure/bip32/LICENSE +0 -21
  403. package/test/node_modules/@scure/bip32/README.md +0 -113
  404. package/test/node_modules/@scure/bip32/index.ts +0 -308
  405. package/test/node_modules/@scure/bip32/lib/esm/index.js +0 -269
  406. package/test/node_modules/@scure/bip32/lib/esm/index.js.map +0 -1
  407. package/test/node_modules/@scure/bip32/lib/esm/package.json +0 -4
  408. package/test/node_modules/@scure/bip32/lib/index.d.ts +0 -50
  409. package/test/node_modules/@scure/bip32/lib/index.js +0 -273
  410. package/test/node_modules/@scure/bip32/lib/index.js.map +0 -1
  411. package/test/node_modules/@scure/bip32/package.json +0 -75
  412. package/test/node_modules/@scure/bip39/LICENSE +0 -21
  413. package/test/node_modules/@scure/bip39/README.md +0 -101
  414. package/test/node_modules/@scure/bip39/esm/index.js +0 -134
  415. package/test/node_modules/@scure/bip39/esm/package.json +0 -3
  416. package/test/node_modules/@scure/bip39/esm/wordlists/czech.js +0 -2048
  417. package/test/node_modules/@scure/bip39/esm/wordlists/english.js +0 -2048
  418. package/test/node_modules/@scure/bip39/esm/wordlists/french.js +0 -2048
  419. package/test/node_modules/@scure/bip39/esm/wordlists/italian.js +0 -2048
  420. package/test/node_modules/@scure/bip39/esm/wordlists/japanese.js +0 -2048
  421. package/test/node_modules/@scure/bip39/esm/wordlists/korean.js +0 -2048
  422. package/test/node_modules/@scure/bip39/esm/wordlists/portuguese.js +0 -2048
  423. package/test/node_modules/@scure/bip39/esm/wordlists/simplified-chinese.js +0 -2048
  424. package/test/node_modules/@scure/bip39/esm/wordlists/spanish.js +0 -2048
  425. package/test/node_modules/@scure/bip39/esm/wordlists/traditional-chinese.js +0 -2048
  426. package/test/node_modules/@scure/bip39/index.d.ts +0 -64
  427. package/test/node_modules/@scure/bip39/index.js +0 -143
  428. package/test/node_modules/@scure/bip39/package.json +0 -123
  429. package/test/node_modules/@scure/bip39/src/index.ts +0 -146
  430. package/test/node_modules/@scure/bip39/wordlists/czech.d.ts +0 -2
  431. package/test/node_modules/@scure/bip39/wordlists/czech.js +0 -2051
  432. package/test/node_modules/@scure/bip39/wordlists/english.d.ts +0 -2
  433. package/test/node_modules/@scure/bip39/wordlists/english.js +0 -2051
  434. package/test/node_modules/@scure/bip39/wordlists/french.d.ts +0 -2
  435. package/test/node_modules/@scure/bip39/wordlists/french.js +0 -2051
  436. package/test/node_modules/@scure/bip39/wordlists/italian.d.ts +0 -2
  437. package/test/node_modules/@scure/bip39/wordlists/italian.js +0 -2051
  438. package/test/node_modules/@scure/bip39/wordlists/japanese.d.ts +0 -2
  439. package/test/node_modules/@scure/bip39/wordlists/japanese.js +0 -2051
  440. package/test/node_modules/@scure/bip39/wordlists/korean.d.ts +0 -2
  441. package/test/node_modules/@scure/bip39/wordlists/korean.js +0 -2051
  442. package/test/node_modules/@scure/bip39/wordlists/portuguese.d.ts +0 -2
  443. package/test/node_modules/@scure/bip39/wordlists/portuguese.js +0 -2051
  444. package/test/node_modules/@scure/bip39/wordlists/simplified-chinese.d.ts +0 -2
  445. package/test/node_modules/@scure/bip39/wordlists/simplified-chinese.js +0 -2051
  446. package/test/node_modules/@scure/bip39/wordlists/spanish.d.ts +0 -2
  447. package/test/node_modules/@scure/bip39/wordlists/spanish.js +0 -2051
  448. package/test/node_modules/@scure/bip39/wordlists/traditional-chinese.d.ts +0 -2
  449. package/test/node_modules/@scure/bip39/wordlists/traditional-chinese.js +0 -2051
  450. package/test/node_modules/ansi-colors/LICENSE +0 -21
  451. package/test/node_modules/ansi-colors/README.md +0 -315
  452. package/test/node_modules/ansi-colors/index.js +0 -184
  453. package/test/node_modules/ansi-colors/package.json +0 -129
  454. package/test/node_modules/ansi-colors/symbols.js +0 -69
  455. package/test/node_modules/ansi-colors/types/index.d.ts +0 -235
  456. package/test/node_modules/ansi-regex/index.d.ts +0 -33
  457. package/test/node_modules/ansi-regex/index.js +0 -10
  458. package/test/node_modules/ansi-regex/license +0 -9
  459. package/test/node_modules/ansi-regex/package.json +0 -61
  460. package/test/node_modules/ansi-regex/readme.md +0 -60
  461. package/test/node_modules/ansi-styles/index.d.ts +0 -345
  462. package/test/node_modules/ansi-styles/index.js +0 -163
  463. package/test/node_modules/ansi-styles/license +0 -9
  464. package/test/node_modules/ansi-styles/package.json +0 -56
  465. package/test/node_modules/ansi-styles/readme.md +0 -152
  466. package/test/node_modules/anymatch/LICENSE +0 -15
  467. package/test/node_modules/anymatch/README.md +0 -87
  468. package/test/node_modules/anymatch/index.d.ts +0 -20
  469. package/test/node_modules/anymatch/index.js +0 -104
  470. package/test/node_modules/anymatch/package.json +0 -48
  471. package/test/node_modules/argparse/CHANGELOG.md +0 -216
  472. package/test/node_modules/argparse/LICENSE +0 -254
  473. package/test/node_modules/argparse/README.md +0 -84
  474. package/test/node_modules/argparse/argparse.js +0 -3707
  475. package/test/node_modules/argparse/lib/sub.js +0 -67
  476. package/test/node_modules/argparse/lib/textwrap.js +0 -440
  477. package/test/node_modules/argparse/package.json +0 -31
  478. package/test/node_modules/asap/CHANGES.md +0 -70
  479. package/test/node_modules/asap/LICENSE.md +0 -21
  480. package/test/node_modules/asap/README.md +0 -237
  481. package/test/node_modules/asap/asap.js +0 -65
  482. package/test/node_modules/asap/browser-asap.js +0 -66
  483. package/test/node_modules/asap/browser-raw.js +0 -223
  484. package/test/node_modules/asap/package.json +0 -58
  485. package/test/node_modules/asap/raw.js +0 -101
  486. package/test/node_modules/assertion-error/LICENSE +0 -21
  487. package/test/node_modules/assertion-error/README.md +0 -68
  488. package/test/node_modules/assertion-error/index.d.ts +0 -27
  489. package/test/node_modules/assertion-error/index.js +0 -60
  490. package/test/node_modules/assertion-error/package.json +0 -32
  491. package/test/node_modules/asynckit/LICENSE +0 -21
  492. package/test/node_modules/asynckit/README.md +0 -233
  493. package/test/node_modules/asynckit/bench.js +0 -76
  494. package/test/node_modules/asynckit/index.js +0 -6
  495. package/test/node_modules/asynckit/lib/abort.js +0 -29
  496. package/test/node_modules/asynckit/lib/async.js +0 -34
  497. package/test/node_modules/asynckit/lib/defer.js +0 -26
  498. package/test/node_modules/asynckit/lib/iterate.js +0 -75
  499. package/test/node_modules/asynckit/lib/readable_asynckit.js +0 -91
  500. package/test/node_modules/asynckit/lib/readable_parallel.js +0 -25
  501. package/test/node_modules/asynckit/lib/readable_serial.js +0 -25
  502. package/test/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
  503. package/test/node_modules/asynckit/lib/state.js +0 -37
  504. package/test/node_modules/asynckit/lib/streamify.js +0 -141
  505. package/test/node_modules/asynckit/lib/terminator.js +0 -29
  506. package/test/node_modules/asynckit/package.json +0 -63
  507. package/test/node_modules/asynckit/parallel.js +0 -43
  508. package/test/node_modules/asynckit/serial.js +0 -17
  509. package/test/node_modules/asynckit/serialOrdered.js +0 -75
  510. package/test/node_modules/asynckit/stream.js +0 -21
  511. package/test/node_modules/balanced-match/.github/FUNDING.yml +0 -2
  512. package/test/node_modules/balanced-match/LICENSE.md +0 -21
  513. package/test/node_modules/balanced-match/README.md +0 -97
  514. package/test/node_modules/balanced-match/index.js +0 -62
  515. package/test/node_modules/balanced-match/package.json +0 -48
  516. package/test/node_modules/bdo-js/README.md +0 -35
  517. package/test/node_modules/bdo-js/bdo.cjs +0 -165
  518. package/test/node_modules/bdo-js/bdo.js +0 -171
  519. package/test/node_modules/bdo-js/package.json +0 -24
  520. package/test/node_modules/binary-extensions/binary-extensions.json +0 -263
  521. package/test/node_modules/binary-extensions/binary-extensions.json.d.ts +0 -3
  522. package/test/node_modules/binary-extensions/index.d.ts +0 -14
  523. package/test/node_modules/binary-extensions/index.js +0 -1
  524. package/test/node_modules/binary-extensions/license +0 -10
  525. package/test/node_modules/binary-extensions/package.json +0 -40
  526. package/test/node_modules/binary-extensions/readme.md +0 -25
  527. package/test/node_modules/brace-expansion/.github/FUNDING.yml +0 -2
  528. package/test/node_modules/brace-expansion/LICENSE +0 -21
  529. package/test/node_modules/brace-expansion/README.md +0 -135
  530. package/test/node_modules/brace-expansion/index.js +0 -203
  531. package/test/node_modules/brace-expansion/package.json +0 -46
  532. package/test/node_modules/braces/LICENSE +0 -21
  533. package/test/node_modules/braces/README.md +0 -586
  534. package/test/node_modules/braces/index.js +0 -170
  535. package/test/node_modules/braces/lib/compile.js +0 -60
  536. package/test/node_modules/braces/lib/constants.js +0 -57
  537. package/test/node_modules/braces/lib/expand.js +0 -113
  538. package/test/node_modules/braces/lib/parse.js +0 -331
  539. package/test/node_modules/braces/lib/stringify.js +0 -32
  540. package/test/node_modules/braces/lib/utils.js +0 -122
  541. package/test/node_modules/braces/package.json +0 -77
  542. package/test/node_modules/browser-stdout/LICENSE +0 -5
  543. package/test/node_modules/browser-stdout/README.md +0 -40
  544. package/test/node_modules/browser-stdout/index.js +0 -25
  545. package/test/node_modules/browser-stdout/package.json +0 -15
  546. package/test/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
  547. package/test/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
  548. package/test/node_modules/call-bind-apply-helpers/.nycrc +0 -9
  549. package/test/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
  550. package/test/node_modules/call-bind-apply-helpers/LICENSE +0 -21
  551. package/test/node_modules/call-bind-apply-helpers/README.md +0 -62
  552. package/test/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
  553. package/test/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
  554. package/test/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
  555. package/test/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
  556. package/test/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
  557. package/test/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
  558. package/test/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
  559. package/test/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
  560. package/test/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
  561. package/test/node_modules/call-bind-apply-helpers/index.js +0 -15
  562. package/test/node_modules/call-bind-apply-helpers/package.json +0 -85
  563. package/test/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
  564. package/test/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
  565. package/test/node_modules/call-bind-apply-helpers/test/index.js +0 -63
  566. package/test/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
  567. package/test/node_modules/call-bound/.eslintrc +0 -13
  568. package/test/node_modules/call-bound/.github/FUNDING.yml +0 -12
  569. package/test/node_modules/call-bound/.nycrc +0 -9
  570. package/test/node_modules/call-bound/CHANGELOG.md +0 -42
  571. package/test/node_modules/call-bound/LICENSE +0 -21
  572. package/test/node_modules/call-bound/README.md +0 -53
  573. package/test/node_modules/call-bound/index.d.ts +0 -94
  574. package/test/node_modules/call-bound/index.js +0 -19
  575. package/test/node_modules/call-bound/package.json +0 -99
  576. package/test/node_modules/call-bound/test/index.js +0 -61
  577. package/test/node_modules/call-bound/tsconfig.json +0 -10
  578. package/test/node_modules/camelcase/index.d.ts +0 -103
  579. package/test/node_modules/camelcase/index.js +0 -113
  580. package/test/node_modules/camelcase/license +0 -9
  581. package/test/node_modules/camelcase/package.json +0 -44
  582. package/test/node_modules/camelcase/readme.md +0 -144
  583. package/test/node_modules/chai/.prettierrc.json +0 -10
  584. package/test/node_modules/chai/CODEOWNERS +0 -1
  585. package/test/node_modules/chai/CODE_OF_CONDUCT.md +0 -58
  586. package/test/node_modules/chai/CONTRIBUTING.md +0 -218
  587. package/test/node_modules/chai/History.md +0 -1059
  588. package/test/node_modules/chai/LICENSE +0 -21
  589. package/test/node_modules/chai/README.md +0 -154
  590. package/test/node_modules/chai/ReleaseNotes.md +0 -737
  591. package/test/node_modules/chai/chai.js +0 -4351
  592. package/test/node_modules/chai/eslint.config.js +0 -26
  593. package/test/node_modules/chai/index.js +0 -1
  594. package/test/node_modules/chai/lib/chai/assertion.js +0 -180
  595. package/test/node_modules/chai/lib/chai/config.js +0 -112
  596. package/test/node_modules/chai/lib/chai/core/assertions.js +0 -4157
  597. package/test/node_modules/chai/lib/chai/interface/assert.js +0 -3228
  598. package/test/node_modules/chai/lib/chai/interface/expect.js +0 -59
  599. package/test/node_modules/chai/lib/chai/interface/should.js +0 -227
  600. package/test/node_modules/chai/lib/chai/utils/addChainableMethod.js +0 -146
  601. package/test/node_modules/chai/lib/chai/utils/addLengthGuard.js +0 -73
  602. package/test/node_modules/chai/lib/chai/utils/addMethod.js +0 -66
  603. package/test/node_modules/chai/lib/chai/utils/addProperty.js +0 -70
  604. package/test/node_modules/chai/lib/chai/utils/compareByInspect.js +0 -26
  605. package/test/node_modules/chai/lib/chai/utils/expectTypes.js +0 -58
  606. package/test/node_modules/chai/lib/chai/utils/flag.js +0 -33
  607. package/test/node_modules/chai/lib/chai/utils/getActual.js +0 -20
  608. package/test/node_modules/chai/lib/chai/utils/getMessage.js +0 -52
  609. package/test/node_modules/chai/lib/chai/utils/getOperator.js +0 -58
  610. package/test/node_modules/chai/lib/chai/utils/getOwnEnumerableProperties.js +0 -24
  611. package/test/node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js +0 -26
  612. package/test/node_modules/chai/lib/chai/utils/getProperties.js +0 -38
  613. package/test/node_modules/chai/lib/chai/utils/index.js +0 -118
  614. package/test/node_modules/chai/lib/chai/utils/inspect.js +0 -31
  615. package/test/node_modules/chai/lib/chai/utils/isNaN.js +0 -7
  616. package/test/node_modules/chai/lib/chai/utils/isProxyEnabled.js +0 -26
  617. package/test/node_modules/chai/lib/chai/utils/objDisplay.js +0 -47
  618. package/test/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js +0 -69
  619. package/test/node_modules/chai/lib/chai/utils/overwriteMethod.js +0 -90
  620. package/test/node_modules/chai/lib/chai/utils/overwriteProperty.js +0 -89
  621. package/test/node_modules/chai/lib/chai/utils/proxify.js +0 -157
  622. package/test/node_modules/chai/lib/chai/utils/test.js +0 -24
  623. package/test/node_modules/chai/lib/chai/utils/transferFlags.js +0 -48
  624. package/test/node_modules/chai/lib/chai/utils/type-detect.js +0 -20
  625. package/test/node_modules/chai/lib/chai.js +0 -66
  626. package/test/node_modules/chai/package.json +0 -67
  627. package/test/node_modules/chai/register-assert.js +0 -3
  628. package/test/node_modules/chai/register-expect.js +0 -3
  629. package/test/node_modules/chai/register-should.js +0 -3
  630. package/test/node_modules/chai/web-test-runner.config.js +0 -20
  631. package/test/node_modules/chalk/index.d.ts +0 -415
  632. package/test/node_modules/chalk/license +0 -9
  633. package/test/node_modules/chalk/node_modules/supports-color/browser.js +0 -5
  634. package/test/node_modules/chalk/node_modules/supports-color/index.js +0 -135
  635. package/test/node_modules/chalk/node_modules/supports-color/license +0 -9
  636. package/test/node_modules/chalk/node_modules/supports-color/package.json +0 -53
  637. package/test/node_modules/chalk/node_modules/supports-color/readme.md +0 -76
  638. package/test/node_modules/chalk/package.json +0 -68
  639. package/test/node_modules/chalk/readme.md +0 -341
  640. package/test/node_modules/chalk/source/index.js +0 -229
  641. package/test/node_modules/chalk/source/templates.js +0 -134
  642. package/test/node_modules/chalk/source/util.js +0 -39
  643. package/test/node_modules/check-error/LICENSE +0 -19
  644. package/test/node_modules/check-error/README.md +0 -144
  645. package/test/node_modules/check-error/index.js +0 -135
  646. package/test/node_modules/check-error/package.json +0 -66
  647. package/test/node_modules/chokidar/LICENSE +0 -21
  648. package/test/node_modules/chokidar/README.md +0 -308
  649. package/test/node_modules/chokidar/index.js +0 -973
  650. package/test/node_modules/chokidar/lib/constants.js +0 -66
  651. package/test/node_modules/chokidar/lib/fsevents-handler.js +0 -526
  652. package/test/node_modules/chokidar/lib/nodefs-handler.js +0 -654
  653. package/test/node_modules/chokidar/package.json +0 -70
  654. package/test/node_modules/chokidar/types/index.d.ts +0 -192
  655. package/test/node_modules/cliui/CHANGELOG.md +0 -139
  656. package/test/node_modules/cliui/LICENSE.txt +0 -14
  657. package/test/node_modules/cliui/README.md +0 -141
  658. package/test/node_modules/cliui/build/index.cjs +0 -302
  659. package/test/node_modules/cliui/build/index.d.cts +0 -43
  660. package/test/node_modules/cliui/build/lib/index.js +0 -287
  661. package/test/node_modules/cliui/build/lib/string-utils.js +0 -27
  662. package/test/node_modules/cliui/index.mjs +0 -13
  663. package/test/node_modules/cliui/node_modules/ansi-regex/index.d.ts +0 -37
  664. package/test/node_modules/cliui/node_modules/ansi-regex/index.js +0 -10
  665. package/test/node_modules/cliui/node_modules/ansi-regex/license +0 -9
  666. package/test/node_modules/cliui/node_modules/ansi-regex/package.json +0 -55
  667. package/test/node_modules/cliui/node_modules/ansi-regex/readme.md +0 -78
  668. package/test/node_modules/cliui/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  669. package/test/node_modules/cliui/node_modules/emoji-regex/README.md +0 -73
  670. package/test/node_modules/cliui/node_modules/emoji-regex/es2015/index.js +0 -6
  671. package/test/node_modules/cliui/node_modules/emoji-regex/es2015/text.js +0 -6
  672. package/test/node_modules/cliui/node_modules/emoji-regex/index.d.ts +0 -23
  673. package/test/node_modules/cliui/node_modules/emoji-regex/index.js +0 -6
  674. package/test/node_modules/cliui/node_modules/emoji-regex/package.json +0 -50
  675. package/test/node_modules/cliui/node_modules/emoji-regex/text.js +0 -6
  676. package/test/node_modules/cliui/node_modules/string-width/index.d.ts +0 -29
  677. package/test/node_modules/cliui/node_modules/string-width/index.js +0 -47
  678. package/test/node_modules/cliui/node_modules/string-width/license +0 -9
  679. package/test/node_modules/cliui/node_modules/string-width/package.json +0 -56
  680. package/test/node_modules/cliui/node_modules/string-width/readme.md +0 -50
  681. package/test/node_modules/cliui/node_modules/strip-ansi/index.d.ts +0 -17
  682. package/test/node_modules/cliui/node_modules/strip-ansi/index.js +0 -4
  683. package/test/node_modules/cliui/node_modules/strip-ansi/license +0 -9
  684. package/test/node_modules/cliui/node_modules/strip-ansi/package.json +0 -54
  685. package/test/node_modules/cliui/node_modules/strip-ansi/readme.md +0 -46
  686. package/test/node_modules/cliui/node_modules/wrap-ansi/index.js +0 -216
  687. package/test/node_modules/cliui/node_modules/wrap-ansi/license +0 -9
  688. package/test/node_modules/cliui/node_modules/wrap-ansi/package.json +0 -62
  689. package/test/node_modules/cliui/node_modules/wrap-ansi/readme.md +0 -91
  690. package/test/node_modules/cliui/package.json +0 -83
  691. package/test/node_modules/color-convert/CHANGELOG.md +0 -54
  692. package/test/node_modules/color-convert/LICENSE +0 -21
  693. package/test/node_modules/color-convert/README.md +0 -68
  694. package/test/node_modules/color-convert/conversions.js +0 -839
  695. package/test/node_modules/color-convert/index.js +0 -81
  696. package/test/node_modules/color-convert/package.json +0 -48
  697. package/test/node_modules/color-convert/route.js +0 -97
  698. package/test/node_modules/color-name/LICENSE +0 -8
  699. package/test/node_modules/color-name/README.md +0 -11
  700. package/test/node_modules/color-name/index.js +0 -152
  701. package/test/node_modules/color-name/package.json +0 -28
  702. package/test/node_modules/combined-stream/License +0 -19
  703. package/test/node_modules/combined-stream/Readme.md +0 -138
  704. package/test/node_modules/combined-stream/lib/combined_stream.js +0 -208
  705. package/test/node_modules/combined-stream/package.json +0 -25
  706. package/test/node_modules/combined-stream/yarn.lock +0 -17
  707. package/test/node_modules/component-emitter/LICENSE +0 -24
  708. package/test/node_modules/component-emitter/Readme.md +0 -74
  709. package/test/node_modules/component-emitter/index.js +0 -175
  710. package/test/node_modules/component-emitter/package.json +0 -28
  711. package/test/node_modules/cookiejar/LICENSE +0 -9
  712. package/test/node_modules/cookiejar/cookiejar.js +0 -281
  713. package/test/node_modules/cookiejar/package.json +0 -26
  714. package/test/node_modules/cookiejar/readme.md +0 -60
  715. package/test/node_modules/cross-spawn/LICENSE +0 -21
  716. package/test/node_modules/cross-spawn/README.md +0 -89
  717. package/test/node_modules/cross-spawn/index.js +0 -39
  718. package/test/node_modules/cross-spawn/lib/enoent.js +0 -59
  719. package/test/node_modules/cross-spawn/lib/parse.js +0 -91
  720. package/test/node_modules/cross-spawn/lib/util/escape.js +0 -47
  721. package/test/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
  722. package/test/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
  723. package/test/node_modules/cross-spawn/package.json +0 -73
  724. package/test/node_modules/data-uri-to-buffer/README.md +0 -88
  725. package/test/node_modules/data-uri-to-buffer/dist/index.d.ts +0 -15
  726. package/test/node_modules/data-uri-to-buffer/dist/index.js +0 -53
  727. package/test/node_modules/data-uri-to-buffer/dist/index.js.map +0 -1
  728. package/test/node_modules/data-uri-to-buffer/package.json +0 -62
  729. package/test/node_modules/data-uri-to-buffer/src/index.ts +0 -68
  730. package/test/node_modules/debug/LICENSE +0 -20
  731. package/test/node_modules/debug/README.md +0 -481
  732. package/test/node_modules/debug/package.json +0 -65
  733. package/test/node_modules/debug/src/browser.js +0 -272
  734. package/test/node_modules/debug/src/common.js +0 -292
  735. package/test/node_modules/debug/src/index.js +0 -10
  736. package/test/node_modules/debug/src/node.js +0 -263
  737. package/test/node_modules/decamelize/index.d.ts +0 -20
  738. package/test/node_modules/decamelize/index.js +0 -12
  739. package/test/node_modules/decamelize/license +0 -9
  740. package/test/node_modules/decamelize/package.json +0 -40
  741. package/test/node_modules/decamelize/readme.md +0 -51
  742. package/test/node_modules/deep-eql/LICENSE +0 -19
  743. package/test/node_modules/deep-eql/README.md +0 -93
  744. package/test/node_modules/deep-eql/index.js +0 -513
  745. package/test/node_modules/deep-eql/package.json +0 -73
  746. package/test/node_modules/delayed-stream/License +0 -19
  747. package/test/node_modules/delayed-stream/Makefile +0 -7
  748. package/test/node_modules/delayed-stream/Readme.md +0 -141
  749. package/test/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
  750. package/test/node_modules/delayed-stream/package.json +0 -27
  751. package/test/node_modules/dezalgo/LICENSE +0 -15
  752. package/test/node_modules/dezalgo/README.md +0 -29
  753. package/test/node_modules/dezalgo/dezalgo.js +0 -22
  754. package/test/node_modules/dezalgo/package.json +0 -46
  755. package/test/node_modules/diff/CONTRIBUTING.md +0 -36
  756. package/test/node_modules/diff/LICENSE +0 -29
  757. package/test/node_modules/diff/README.md +0 -339
  758. package/test/node_modules/diff/dist/diff.js +0 -1730
  759. package/test/node_modules/diff/dist/diff.min.js +0 -1
  760. package/test/node_modules/diff/lib/convert/dmp.js +0 -32
  761. package/test/node_modules/diff/lib/convert/xml.js +0 -42
  762. package/test/node_modules/diff/lib/diff/array.js +0 -45
  763. package/test/node_modules/diff/lib/diff/base.js +0 -358
  764. package/test/node_modules/diff/lib/diff/character.js +0 -37
  765. package/test/node_modules/diff/lib/diff/css.js +0 -41
  766. package/test/node_modules/diff/lib/diff/json.js +0 -163
  767. package/test/node_modules/diff/lib/diff/line.js +0 -94
  768. package/test/node_modules/diff/lib/diff/sentence.js +0 -41
  769. package/test/node_modules/diff/lib/diff/word.js +0 -108
  770. package/test/node_modules/diff/lib/index.es6.js +0 -1699
  771. package/test/node_modules/diff/lib/index.js +0 -234
  772. package/test/node_modules/diff/lib/index.mjs +0 -1699
  773. package/test/node_modules/diff/lib/patch/apply.js +0 -238
  774. package/test/node_modules/diff/lib/patch/create.js +0 -276
  775. package/test/node_modules/diff/lib/patch/merge.js +0 -613
  776. package/test/node_modules/diff/lib/patch/parse.js +0 -167
  777. package/test/node_modules/diff/lib/patch/reverse.js +0 -63
  778. package/test/node_modules/diff/lib/util/array.js +0 -32
  779. package/test/node_modules/diff/lib/util/distance-iterator.js +0 -57
  780. package/test/node_modules/diff/lib/util/params.js +0 -24
  781. package/test/node_modules/diff/package.json +0 -89
  782. package/test/node_modules/diff/release-notes.md +0 -317
  783. package/test/node_modules/diff/runtime.js +0 -3
  784. package/test/node_modules/dunder-proto/.eslintrc +0 -5
  785. package/test/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
  786. package/test/node_modules/dunder-proto/.nycrc +0 -13
  787. package/test/node_modules/dunder-proto/CHANGELOG.md +0 -24
  788. package/test/node_modules/dunder-proto/LICENSE +0 -21
  789. package/test/node_modules/dunder-proto/README.md +0 -54
  790. package/test/node_modules/dunder-proto/get.d.ts +0 -5
  791. package/test/node_modules/dunder-proto/get.js +0 -30
  792. package/test/node_modules/dunder-proto/package.json +0 -76
  793. package/test/node_modules/dunder-proto/set.d.ts +0 -5
  794. package/test/node_modules/dunder-proto/set.js +0 -35
  795. package/test/node_modules/dunder-proto/test/get.js +0 -34
  796. package/test/node_modules/dunder-proto/test/index.js +0 -4
  797. package/test/node_modules/dunder-proto/test/set.js +0 -50
  798. package/test/node_modules/dunder-proto/tsconfig.json +0 -9
  799. package/test/node_modules/eastasianwidth/README.md +0 -32
  800. package/test/node_modules/eastasianwidth/eastasianwidth.js +0 -311
  801. package/test/node_modules/eastasianwidth/package.json +0 -18
  802. package/test/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  803. package/test/node_modules/emoji-regex/README.md +0 -137
  804. package/test/node_modules/emoji-regex/RGI_Emoji.d.ts +0 -5
  805. package/test/node_modules/emoji-regex/RGI_Emoji.js +0 -6
  806. package/test/node_modules/emoji-regex/es2015/RGI_Emoji.d.ts +0 -5
  807. package/test/node_modules/emoji-regex/es2015/RGI_Emoji.js +0 -6
  808. package/test/node_modules/emoji-regex/es2015/index.d.ts +0 -5
  809. package/test/node_modules/emoji-regex/es2015/index.js +0 -6
  810. package/test/node_modules/emoji-regex/es2015/text.d.ts +0 -5
  811. package/test/node_modules/emoji-regex/es2015/text.js +0 -6
  812. package/test/node_modules/emoji-regex/index.d.ts +0 -5
  813. package/test/node_modules/emoji-regex/index.js +0 -6
  814. package/test/node_modules/emoji-regex/package.json +0 -52
  815. package/test/node_modules/emoji-regex/text.d.ts +0 -5
  816. package/test/node_modules/emoji-regex/text.js +0 -6
  817. package/test/node_modules/es-define-property/.eslintrc +0 -13
  818. package/test/node_modules/es-define-property/.github/FUNDING.yml +0 -12
  819. package/test/node_modules/es-define-property/.nycrc +0 -9
  820. package/test/node_modules/es-define-property/CHANGELOG.md +0 -29
  821. package/test/node_modules/es-define-property/LICENSE +0 -21
  822. package/test/node_modules/es-define-property/README.md +0 -49
  823. package/test/node_modules/es-define-property/index.d.ts +0 -3
  824. package/test/node_modules/es-define-property/index.js +0 -14
  825. package/test/node_modules/es-define-property/package.json +0 -81
  826. package/test/node_modules/es-define-property/test/index.js +0 -56
  827. package/test/node_modules/es-define-property/tsconfig.json +0 -10
  828. package/test/node_modules/es-errors/.eslintrc +0 -5
  829. package/test/node_modules/es-errors/.github/FUNDING.yml +0 -12
  830. package/test/node_modules/es-errors/CHANGELOG.md +0 -40
  831. package/test/node_modules/es-errors/LICENSE +0 -21
  832. package/test/node_modules/es-errors/README.md +0 -55
  833. package/test/node_modules/es-errors/eval.d.ts +0 -3
  834. package/test/node_modules/es-errors/eval.js +0 -4
  835. package/test/node_modules/es-errors/index.d.ts +0 -3
  836. package/test/node_modules/es-errors/index.js +0 -4
  837. package/test/node_modules/es-errors/package.json +0 -80
  838. package/test/node_modules/es-errors/range.d.ts +0 -3
  839. package/test/node_modules/es-errors/range.js +0 -4
  840. package/test/node_modules/es-errors/ref.d.ts +0 -3
  841. package/test/node_modules/es-errors/ref.js +0 -4
  842. package/test/node_modules/es-errors/syntax.d.ts +0 -3
  843. package/test/node_modules/es-errors/syntax.js +0 -4
  844. package/test/node_modules/es-errors/test/index.js +0 -19
  845. package/test/node_modules/es-errors/tsconfig.json +0 -49
  846. package/test/node_modules/es-errors/type.d.ts +0 -3
  847. package/test/node_modules/es-errors/type.js +0 -4
  848. package/test/node_modules/es-errors/uri.d.ts +0 -3
  849. package/test/node_modules/es-errors/uri.js +0 -4
  850. package/test/node_modules/es-object-atoms/.eslintrc +0 -16
  851. package/test/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
  852. package/test/node_modules/es-object-atoms/CHANGELOG.md +0 -37
  853. package/test/node_modules/es-object-atoms/LICENSE +0 -21
  854. package/test/node_modules/es-object-atoms/README.md +0 -63
  855. package/test/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
  856. package/test/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
  857. package/test/node_modules/es-object-atoms/ToObject.d.ts +0 -7
  858. package/test/node_modules/es-object-atoms/ToObject.js +0 -10
  859. package/test/node_modules/es-object-atoms/index.d.ts +0 -3
  860. package/test/node_modules/es-object-atoms/index.js +0 -4
  861. package/test/node_modules/es-object-atoms/isObject.d.ts +0 -3
  862. package/test/node_modules/es-object-atoms/isObject.js +0 -6
  863. package/test/node_modules/es-object-atoms/package.json +0 -80
  864. package/test/node_modules/es-object-atoms/test/index.js +0 -38
  865. package/test/node_modules/es-object-atoms/tsconfig.json +0 -6
  866. package/test/node_modules/es-set-tostringtag/.eslintrc +0 -13
  867. package/test/node_modules/es-set-tostringtag/.nycrc +0 -9
  868. package/test/node_modules/es-set-tostringtag/CHANGELOG.md +0 -67
  869. package/test/node_modules/es-set-tostringtag/LICENSE +0 -21
  870. package/test/node_modules/es-set-tostringtag/README.md +0 -53
  871. package/test/node_modules/es-set-tostringtag/index.d.ts +0 -10
  872. package/test/node_modules/es-set-tostringtag/index.js +0 -35
  873. package/test/node_modules/es-set-tostringtag/package.json +0 -78
  874. package/test/node_modules/es-set-tostringtag/test/index.js +0 -85
  875. package/test/node_modules/es-set-tostringtag/tsconfig.json +0 -9
  876. package/test/node_modules/escalade/dist/index.js +0 -22
  877. package/test/node_modules/escalade/dist/index.mjs +0 -22
  878. package/test/node_modules/escalade/index.d.mts +0 -11
  879. package/test/node_modules/escalade/index.d.ts +0 -15
  880. package/test/node_modules/escalade/license +0 -9
  881. package/test/node_modules/escalade/package.json +0 -74
  882. package/test/node_modules/escalade/readme.md +0 -211
  883. package/test/node_modules/escalade/sync/index.d.mts +0 -9
  884. package/test/node_modules/escalade/sync/index.d.ts +0 -13
  885. package/test/node_modules/escalade/sync/index.js +0 -18
  886. package/test/node_modules/escalade/sync/index.mjs +0 -18
  887. package/test/node_modules/escape-string-regexp/index.d.ts +0 -18
  888. package/test/node_modules/escape-string-regexp/index.js +0 -13
  889. package/test/node_modules/escape-string-regexp/license +0 -9
  890. package/test/node_modules/escape-string-regexp/package.json +0 -38
  891. package/test/node_modules/escape-string-regexp/readme.md +0 -34
  892. package/test/node_modules/ethereum-cryptography/LICENSE +0 -21
  893. package/test/node_modules/ethereum-cryptography/README.md +0 -509
  894. package/test/node_modules/ethereum-cryptography/aes.d.ts +0 -2
  895. package/test/node_modules/ethereum-cryptography/aes.js +0 -97
  896. package/test/node_modules/ethereum-cryptography/bip39/index.d.ts +0 -1
  897. package/test/node_modules/ethereum-cryptography/bip39/index.js +0 -10
  898. package/test/node_modules/ethereum-cryptography/bip39/wordlists/czech.d.ts +0 -1
  899. package/test/node_modules/ethereum-cryptography/bip39/wordlists/czech.js +0 -5
  900. package/test/node_modules/ethereum-cryptography/bip39/wordlists/english.d.ts +0 -1
  901. package/test/node_modules/ethereum-cryptography/bip39/wordlists/english.js +0 -5
  902. package/test/node_modules/ethereum-cryptography/bip39/wordlists/french.d.ts +0 -1
  903. package/test/node_modules/ethereum-cryptography/bip39/wordlists/french.js +0 -5
  904. package/test/node_modules/ethereum-cryptography/bip39/wordlists/italian.d.ts +0 -1
  905. package/test/node_modules/ethereum-cryptography/bip39/wordlists/italian.js +0 -5
  906. package/test/node_modules/ethereum-cryptography/bip39/wordlists/japanese.d.ts +0 -1
  907. package/test/node_modules/ethereum-cryptography/bip39/wordlists/japanese.js +0 -5
  908. package/test/node_modules/ethereum-cryptography/bip39/wordlists/korean.d.ts +0 -1
  909. package/test/node_modules/ethereum-cryptography/bip39/wordlists/korean.js +0 -5
  910. package/test/node_modules/ethereum-cryptography/bip39/wordlists/simplified-chinese.d.ts +0 -1
  911. package/test/node_modules/ethereum-cryptography/bip39/wordlists/simplified-chinese.js +0 -5
  912. package/test/node_modules/ethereum-cryptography/bip39/wordlists/spanish.d.ts +0 -1
  913. package/test/node_modules/ethereum-cryptography/bip39/wordlists/spanish.js +0 -5
  914. package/test/node_modules/ethereum-cryptography/bip39/wordlists/traditional-chinese.d.ts +0 -1
  915. package/test/node_modules/ethereum-cryptography/bip39/wordlists/traditional-chinese.js +0 -5
  916. package/test/node_modules/ethereum-cryptography/blake2b.d.ts +0 -1
  917. package/test/node_modules/ethereum-cryptography/blake2b.js +0 -13
  918. package/test/node_modules/ethereum-cryptography/esm/aes.js +0 -93
  919. package/test/node_modules/ethereum-cryptography/esm/bip39/index.js +0 -1
  920. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/czech.js +0 -1
  921. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/english.js +0 -1
  922. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/french.js +0 -1
  923. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/italian.js +0 -1
  924. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/japanese.js +0 -1
  925. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/korean.js +0 -1
  926. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/simplified-chinese.js +0 -1
  927. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/spanish.js +0 -1
  928. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/traditional-chinese.js +0 -1
  929. package/test/node_modules/ethereum-cryptography/esm/blake2b.js +0 -9
  930. package/test/node_modules/ethereum-cryptography/esm/hdkey.js +0 -1
  931. package/test/node_modules/ethereum-cryptography/esm/index.js +0 -2
  932. package/test/node_modules/ethereum-cryptography/esm/keccak.js +0 -10
  933. package/test/node_modules/ethereum-cryptography/esm/package.json +0 -3
  934. package/test/node_modules/ethereum-cryptography/esm/pbkdf2.js +0 -26
  935. package/test/node_modules/ethereum-cryptography/esm/random.js +0 -7
  936. package/test/node_modules/ethereum-cryptography/esm/ripemd160.js +0 -3
  937. package/test/node_modules/ethereum-cryptography/esm/scrypt.js +0 -12
  938. package/test/node_modules/ethereum-cryptography/esm/secp256k1-compat.js +0 -254
  939. package/test/node_modules/ethereum-cryptography/esm/secp256k1.js +0 -1
  940. package/test/node_modules/ethereum-cryptography/esm/sha256.js +0 -3
  941. package/test/node_modules/ethereum-cryptography/esm/sha512.js +0 -3
  942. package/test/node_modules/ethereum-cryptography/esm/utils.js +0 -47
  943. package/test/node_modules/ethereum-cryptography/hdkey.d.ts +0 -1
  944. package/test/node_modules/ethereum-cryptography/hdkey.js +0 -6
  945. package/test/node_modules/ethereum-cryptography/index.d.ts +0 -0
  946. package/test/node_modules/ethereum-cryptography/index.js +0 -2
  947. package/test/node_modules/ethereum-cryptography/keccak.d.ts +0 -11
  948. package/test/node_modules/ethereum-cryptography/keccak.js +0 -13
  949. package/test/node_modules/ethereum-cryptography/package.json +0 -369
  950. package/test/node_modules/ethereum-cryptography/pbkdf2.d.ts +0 -2
  951. package/test/node_modules/ethereum-cryptography/pbkdf2.js +0 -30
  952. package/test/node_modules/ethereum-cryptography/random.d.ts +0 -2
  953. package/test/node_modules/ethereum-cryptography/random.js +0 -11
  954. package/test/node_modules/ethereum-cryptography/ripemd160.d.ts +0 -1
  955. package/test/node_modules/ethereum-cryptography/ripemd160.js +0 -6
  956. package/test/node_modules/ethereum-cryptography/scrypt.d.ts +0 -4
  957. package/test/node_modules/ethereum-cryptography/scrypt.js +0 -16
  958. package/test/node_modules/ethereum-cryptography/secp256k1-compat.d.ts +0 -35
  959. package/test/node_modules/ethereum-cryptography/secp256k1-compat.js +0 -277
  960. package/test/node_modules/ethereum-cryptography/secp256k1.d.ts +0 -1
  961. package/test/node_modules/ethereum-cryptography/secp256k1.js +0 -5
  962. package/test/node_modules/ethereum-cryptography/sha256.d.ts +0 -1
  963. package/test/node_modules/ethereum-cryptography/sha256.js +0 -6
  964. package/test/node_modules/ethereum-cryptography/sha512.d.ts +0 -1
  965. package/test/node_modules/ethereum-cryptography/sha512.js +0 -6
  966. package/test/node_modules/ethereum-cryptography/utils.d.ts +0 -12
  967. package/test/node_modules/ethereum-cryptography/utils.js +0 -63
  968. package/test/node_modules/fast-safe-stringify/.travis.yml +0 -8
  969. package/test/node_modules/fast-safe-stringify/CHANGELOG.md +0 -17
  970. package/test/node_modules/fast-safe-stringify/LICENSE +0 -23
  971. package/test/node_modules/fast-safe-stringify/benchmark.js +0 -137
  972. package/test/node_modules/fast-safe-stringify/index.d.ts +0 -23
  973. package/test/node_modules/fast-safe-stringify/index.js +0 -229
  974. package/test/node_modules/fast-safe-stringify/package.json +0 -46
  975. package/test/node_modules/fast-safe-stringify/readme.md +0 -170
  976. package/test/node_modules/fast-safe-stringify/test-stable.js +0 -404
  977. package/test/node_modules/fast-safe-stringify/test.js +0 -397
  978. package/test/node_modules/fetch-blob/LICENSE +0 -21
  979. package/test/node_modules/fetch-blob/README.md +0 -106
  980. package/test/node_modules/fetch-blob/file.d.ts +0 -2
  981. package/test/node_modules/fetch-blob/file.js +0 -49
  982. package/test/node_modules/fetch-blob/from.d.ts +0 -26
  983. package/test/node_modules/fetch-blob/from.js +0 -100
  984. package/test/node_modules/fetch-blob/index.d.ts +0 -3
  985. package/test/node_modules/fetch-blob/index.js +0 -250
  986. package/test/node_modules/fetch-blob/package.json +0 -56
  987. package/test/node_modules/fetch-blob/streams.cjs +0 -51
  988. package/test/node_modules/fill-range/LICENSE +0 -21
  989. package/test/node_modules/fill-range/README.md +0 -237
  990. package/test/node_modules/fill-range/index.js +0 -248
  991. package/test/node_modules/fill-range/package.json +0 -74
  992. package/test/node_modules/find-up/index.d.ts +0 -138
  993. package/test/node_modules/find-up/index.js +0 -89
  994. package/test/node_modules/find-up/license +0 -9
  995. package/test/node_modules/find-up/package.json +0 -54
  996. package/test/node_modules/find-up/readme.md +0 -151
  997. package/test/node_modules/flat/.travis.yml +0 -8
  998. package/test/node_modules/flat/LICENSE +0 -12
  999. package/test/node_modules/flat/README.md +0 -236
  1000. package/test/node_modules/flat/cli.js +0 -42
  1001. package/test/node_modules/flat/index.js +0 -158
  1002. package/test/node_modules/flat/package.json +0 -37
  1003. package/test/node_modules/flat/test/test.js +0 -643
  1004. package/test/node_modules/foreground-child/LICENSE +0 -15
  1005. package/test/node_modules/foreground-child/README.md +0 -128
  1006. package/test/node_modules/foreground-child/dist/commonjs/all-signals.d.ts +0 -2
  1007. package/test/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +0 -1
  1008. package/test/node_modules/foreground-child/dist/commonjs/all-signals.js +0 -58
  1009. package/test/node_modules/foreground-child/dist/commonjs/all-signals.js.map +0 -1
  1010. package/test/node_modules/foreground-child/dist/commonjs/index.d.ts +0 -58
  1011. package/test/node_modules/foreground-child/dist/commonjs/index.d.ts.map +0 -1
  1012. package/test/node_modules/foreground-child/dist/commonjs/index.js +0 -123
  1013. package/test/node_modules/foreground-child/dist/commonjs/index.js.map +0 -1
  1014. package/test/node_modules/foreground-child/dist/commonjs/package.json +0 -3
  1015. package/test/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts +0 -6
  1016. package/test/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +0 -1
  1017. package/test/node_modules/foreground-child/dist/commonjs/proxy-signals.js +0 -38
  1018. package/test/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +0 -1
  1019. package/test/node_modules/foreground-child/dist/commonjs/watchdog.d.ts +0 -10
  1020. package/test/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +0 -1
  1021. package/test/node_modules/foreground-child/dist/commonjs/watchdog.js +0 -50
  1022. package/test/node_modules/foreground-child/dist/commonjs/watchdog.js.map +0 -1
  1023. package/test/node_modules/foreground-child/dist/esm/all-signals.d.ts +0 -2
  1024. package/test/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +0 -1
  1025. package/test/node_modules/foreground-child/dist/esm/all-signals.js +0 -52
  1026. package/test/node_modules/foreground-child/dist/esm/all-signals.js.map +0 -1
  1027. package/test/node_modules/foreground-child/dist/esm/index.d.ts +0 -58
  1028. package/test/node_modules/foreground-child/dist/esm/index.d.ts.map +0 -1
  1029. package/test/node_modules/foreground-child/dist/esm/index.js +0 -115
  1030. package/test/node_modules/foreground-child/dist/esm/index.js.map +0 -1
  1031. package/test/node_modules/foreground-child/dist/esm/package.json +0 -3
  1032. package/test/node_modules/foreground-child/dist/esm/proxy-signals.d.ts +0 -6
  1033. package/test/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +0 -1
  1034. package/test/node_modules/foreground-child/dist/esm/proxy-signals.js +0 -34
  1035. package/test/node_modules/foreground-child/dist/esm/proxy-signals.js.map +0 -1
  1036. package/test/node_modules/foreground-child/dist/esm/watchdog.d.ts +0 -10
  1037. package/test/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +0 -1
  1038. package/test/node_modules/foreground-child/dist/esm/watchdog.js +0 -46
  1039. package/test/node_modules/foreground-child/dist/esm/watchdog.js.map +0 -1
  1040. package/test/node_modules/foreground-child/package.json +0 -106
  1041. package/test/node_modules/form-data/License +0 -19
  1042. package/test/node_modules/form-data/Readme.md +0 -358
  1043. package/test/node_modules/form-data/index.d.ts +0 -62
  1044. package/test/node_modules/form-data/lib/browser.js +0 -2
  1045. package/test/node_modules/form-data/lib/form_data.js +0 -503
  1046. package/test/node_modules/form-data/lib/populate.js +0 -10
  1047. package/test/node_modules/form-data/package.json +0 -74
  1048. package/test/node_modules/formdata-polyfill/FormData.js +0 -441
  1049. package/test/node_modules/formdata-polyfill/LICENSE +0 -21
  1050. package/test/node_modules/formdata-polyfill/README.md +0 -145
  1051. package/test/node_modules/formdata-polyfill/esm.min.d.ts +0 -5
  1052. package/test/node_modules/formdata-polyfill/esm.min.js +0 -40
  1053. package/test/node_modules/formdata-polyfill/formdata-to-blob.js +0 -39
  1054. package/test/node_modules/formdata-polyfill/formdata.min.js +0 -21
  1055. package/test/node_modules/formdata-polyfill/package.json +0 -50
  1056. package/test/node_modules/formidable/LICENSE +0 -21
  1057. package/test/node_modules/formidable/README.md +0 -884
  1058. package/test/node_modules/formidable/README_pt_BR.md +0 -841
  1059. package/test/node_modules/formidable/dist/helpers/firstValues.cjs +0 -394
  1060. package/test/node_modules/formidable/dist/helpers/readBooleans.cjs +0 -12
  1061. package/test/node_modules/formidable/dist/index.cjs +0 -1690
  1062. package/test/node_modules/formidable/dist/parsers/JSON.cjs +0 -35
  1063. package/test/node_modules/formidable/dist/parsers/Multipart.cjs +0 -372
  1064. package/test/node_modules/formidable/dist/parsers/OctetStream.cjs +0 -14
  1065. package/test/node_modules/formidable/dist/parsers/Querystring.cjs +0 -38
  1066. package/test/node_modules/formidable/dist/parsers/StreamingQuerystring.cjs +0 -131
  1067. package/test/node_modules/formidable/package.json +0 -140
  1068. package/test/node_modules/formidable/src/Formidable.js +0 -684
  1069. package/test/node_modules/formidable/src/FormidableError.js +0 -51
  1070. package/test/node_modules/formidable/src/PersistentFile.js +0 -88
  1071. package/test/node_modules/formidable/src/VolatileFile.js +0 -80
  1072. package/test/node_modules/formidable/src/helpers/firstValues.js +0 -19
  1073. package/test/node_modules/formidable/src/helpers/readBooleans.js +0 -10
  1074. package/test/node_modules/formidable/src/index.js +0 -32
  1075. package/test/node_modules/formidable/src/parsers/Dummy.js +0 -19
  1076. package/test/node_modules/formidable/src/parsers/JSON.js +0 -30
  1077. package/test/node_modules/formidable/src/parsers/Multipart.js +0 -356
  1078. package/test/node_modules/formidable/src/parsers/OctetStream.js +0 -10
  1079. package/test/node_modules/formidable/src/parsers/Querystring.js +0 -33
  1080. package/test/node_modules/formidable/src/parsers/StreamingQuerystring.js +0 -117
  1081. package/test/node_modules/formidable/src/parsers/index.js +0 -15
  1082. package/test/node_modules/formidable/src/plugins/index.js +0 -6
  1083. package/test/node_modules/formidable/src/plugins/json.js +0 -39
  1084. package/test/node_modules/formidable/src/plugins/multipart.js +0 -173
  1085. package/test/node_modules/formidable/src/plugins/octetstream.js +0 -84
  1086. package/test/node_modules/formidable/src/plugins/querystring.js +0 -41
  1087. package/test/node_modules/fount-js/README.md +0 -35
  1088. package/test/node_modules/fount-js/fount.cjs +0 -145
  1089. package/test/node_modules/fount-js/fount.js +0 -202
  1090. package/test/node_modules/fount-js/package.json +0 -23
  1091. package/test/node_modules/fsevents/LICENSE +0 -22
  1092. package/test/node_modules/fsevents/README.md +0 -89
  1093. package/test/node_modules/fsevents/fsevents.d.ts +0 -46
  1094. package/test/node_modules/fsevents/fsevents.js +0 -83
  1095. package/test/node_modules/fsevents/fsevents.node +0 -0
  1096. package/test/node_modules/fsevents/package.json +0 -62
  1097. package/test/node_modules/function-bind/.eslintrc +0 -21
  1098. package/test/node_modules/function-bind/.github/FUNDING.yml +0 -12
  1099. package/test/node_modules/function-bind/.github/SECURITY.md +0 -3
  1100. package/test/node_modules/function-bind/.nycrc +0 -13
  1101. package/test/node_modules/function-bind/CHANGELOG.md +0 -136
  1102. package/test/node_modules/function-bind/LICENSE +0 -20
  1103. package/test/node_modules/function-bind/README.md +0 -46
  1104. package/test/node_modules/function-bind/implementation.js +0 -84
  1105. package/test/node_modules/function-bind/index.js +0 -5
  1106. package/test/node_modules/function-bind/package.json +0 -87
  1107. package/test/node_modules/function-bind/test/.eslintrc +0 -9
  1108. package/test/node_modules/function-bind/test/index.js +0 -252
  1109. package/test/node_modules/get-caller-file/LICENSE.md +0 -6
  1110. package/test/node_modules/get-caller-file/README.md +0 -41
  1111. package/test/node_modules/get-caller-file/index.d.ts +0 -2
  1112. package/test/node_modules/get-caller-file/index.js +0 -22
  1113. package/test/node_modules/get-caller-file/index.js.map +0 -1
  1114. package/test/node_modules/get-caller-file/package.json +0 -42
  1115. package/test/node_modules/get-intrinsic/.eslintrc +0 -42
  1116. package/test/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  1117. package/test/node_modules/get-intrinsic/.nycrc +0 -9
  1118. package/test/node_modules/get-intrinsic/CHANGELOG.md +0 -186
  1119. package/test/node_modules/get-intrinsic/LICENSE +0 -21
  1120. package/test/node_modules/get-intrinsic/README.md +0 -71
  1121. package/test/node_modules/get-intrinsic/index.js +0 -378
  1122. package/test/node_modules/get-intrinsic/package.json +0 -97
  1123. package/test/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  1124. package/test/node_modules/get-proto/.eslintrc +0 -10
  1125. package/test/node_modules/get-proto/.github/FUNDING.yml +0 -12
  1126. package/test/node_modules/get-proto/.nycrc +0 -9
  1127. package/test/node_modules/get-proto/CHANGELOG.md +0 -21
  1128. package/test/node_modules/get-proto/LICENSE +0 -21
  1129. package/test/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
  1130. package/test/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
  1131. package/test/node_modules/get-proto/README.md +0 -50
  1132. package/test/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
  1133. package/test/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
  1134. package/test/node_modules/get-proto/index.d.ts +0 -5
  1135. package/test/node_modules/get-proto/index.js +0 -27
  1136. package/test/node_modules/get-proto/package.json +0 -81
  1137. package/test/node_modules/get-proto/test/index.js +0 -68
  1138. package/test/node_modules/get-proto/tsconfig.json +0 -9
  1139. package/test/node_modules/glob/LICENSE +0 -15
  1140. package/test/node_modules/glob/README.md +0 -1265
  1141. package/test/node_modules/glob/dist/commonjs/glob.d.ts +0 -388
  1142. package/test/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
  1143. package/test/node_modules/glob/dist/commonjs/glob.js +0 -247
  1144. package/test/node_modules/glob/dist/commonjs/glob.js.map +0 -1
  1145. package/test/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  1146. package/test/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
  1147. package/test/node_modules/glob/dist/commonjs/has-magic.js +0 -27
  1148. package/test/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
  1149. package/test/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
  1150. package/test/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
  1151. package/test/node_modules/glob/dist/commonjs/ignore.js +0 -119
  1152. package/test/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
  1153. package/test/node_modules/glob/dist/commonjs/index.d.ts +0 -97
  1154. package/test/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
  1155. package/test/node_modules/glob/dist/commonjs/index.js +0 -68
  1156. package/test/node_modules/glob/dist/commonjs/index.js.map +0 -1
  1157. package/test/node_modules/glob/dist/commonjs/package.json +0 -3
  1158. package/test/node_modules/glob/dist/commonjs/pattern.d.ts +0 -76
  1159. package/test/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
  1160. package/test/node_modules/glob/dist/commonjs/pattern.js +0 -219
  1161. package/test/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
  1162. package/test/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  1163. package/test/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
  1164. package/test/node_modules/glob/dist/commonjs/processor.js +0 -301
  1165. package/test/node_modules/glob/dist/commonjs/processor.js.map +0 -1
  1166. package/test/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
  1167. package/test/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
  1168. package/test/node_modules/glob/dist/commonjs/walker.js +0 -387
  1169. package/test/node_modules/glob/dist/commonjs/walker.js.map +0 -1
  1170. package/test/node_modules/glob/dist/esm/bin.d.mts +0 -3
  1171. package/test/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
  1172. package/test/node_modules/glob/dist/esm/bin.mjs +0 -270
  1173. package/test/node_modules/glob/dist/esm/bin.mjs.map +0 -1
  1174. package/test/node_modules/glob/dist/esm/glob.d.ts +0 -388
  1175. package/test/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
  1176. package/test/node_modules/glob/dist/esm/glob.js +0 -243
  1177. package/test/node_modules/glob/dist/esm/glob.js.map +0 -1
  1178. package/test/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  1179. package/test/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
  1180. package/test/node_modules/glob/dist/esm/has-magic.js +0 -23
  1181. package/test/node_modules/glob/dist/esm/has-magic.js.map +0 -1
  1182. package/test/node_modules/glob/dist/esm/ignore.d.ts +0 -24
  1183. package/test/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
  1184. package/test/node_modules/glob/dist/esm/ignore.js +0 -115
  1185. package/test/node_modules/glob/dist/esm/ignore.js.map +0 -1
  1186. package/test/node_modules/glob/dist/esm/index.d.ts +0 -97
  1187. package/test/node_modules/glob/dist/esm/index.d.ts.map +0 -1
  1188. package/test/node_modules/glob/dist/esm/index.js +0 -55
  1189. package/test/node_modules/glob/dist/esm/index.js.map +0 -1
  1190. package/test/node_modules/glob/dist/esm/package.json +0 -3
  1191. package/test/node_modules/glob/dist/esm/pattern.d.ts +0 -76
  1192. package/test/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
  1193. package/test/node_modules/glob/dist/esm/pattern.js +0 -215
  1194. package/test/node_modules/glob/dist/esm/pattern.js.map +0 -1
  1195. package/test/node_modules/glob/dist/esm/processor.d.ts +0 -59
  1196. package/test/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
  1197. package/test/node_modules/glob/dist/esm/processor.js +0 -294
  1198. package/test/node_modules/glob/dist/esm/processor.js.map +0 -1
  1199. package/test/node_modules/glob/dist/esm/walker.d.ts +0 -97
  1200. package/test/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
  1201. package/test/node_modules/glob/dist/esm/walker.js +0 -381
  1202. package/test/node_modules/glob/dist/esm/walker.js.map +0 -1
  1203. package/test/node_modules/glob/node_modules/minimatch/LICENSE +0 -15
  1204. package/test/node_modules/glob/node_modules/minimatch/README.md +0 -454
  1205. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +0 -2
  1206. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +0 -1
  1207. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
  1208. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +0 -1
  1209. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/ast.d.ts +0 -20
  1210. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/ast.d.ts.map +0 -1
  1211. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/ast.js +0 -592
  1212. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/ast.js.map +0 -1
  1213. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +0 -8
  1214. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +0 -1
  1215. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -152
  1216. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +0 -1
  1217. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/escape.d.ts +0 -12
  1218. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/escape.d.ts.map +0 -1
  1219. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/escape.js +0 -22
  1220. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/escape.js.map +0 -1
  1221. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/index.d.ts +0 -94
  1222. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/index.d.ts.map +0 -1
  1223. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/index.js +0 -1017
  1224. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/index.js.map +0 -1
  1225. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/package.json +0 -3
  1226. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/unescape.d.ts +0 -17
  1227. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +0 -1
  1228. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/unescape.js +0 -24
  1229. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/unescape.js.map +0 -1
  1230. package/test/node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +0 -2
  1231. package/test/node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +0 -1
  1232. package/test/node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
  1233. package/test/node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +0 -1
  1234. package/test/node_modules/glob/node_modules/minimatch/dist/esm/ast.d.ts +0 -20
  1235. package/test/node_modules/glob/node_modules/minimatch/dist/esm/ast.d.ts.map +0 -1
  1236. package/test/node_modules/glob/node_modules/minimatch/dist/esm/ast.js +0 -588
  1237. package/test/node_modules/glob/node_modules/minimatch/dist/esm/ast.js.map +0 -1
  1238. package/test/node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.d.ts +0 -8
  1239. package/test/node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +0 -1
  1240. package/test/node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.js +0 -148
  1241. package/test/node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.js.map +0 -1
  1242. package/test/node_modules/glob/node_modules/minimatch/dist/esm/escape.d.ts +0 -12
  1243. package/test/node_modules/glob/node_modules/minimatch/dist/esm/escape.d.ts.map +0 -1
  1244. package/test/node_modules/glob/node_modules/minimatch/dist/esm/escape.js +0 -18
  1245. package/test/node_modules/glob/node_modules/minimatch/dist/esm/escape.js.map +0 -1
  1246. package/test/node_modules/glob/node_modules/minimatch/dist/esm/index.d.ts +0 -94
  1247. package/test/node_modules/glob/node_modules/minimatch/dist/esm/index.d.ts.map +0 -1
  1248. package/test/node_modules/glob/node_modules/minimatch/dist/esm/index.js +0 -1001
  1249. package/test/node_modules/glob/node_modules/minimatch/dist/esm/index.js.map +0 -1
  1250. package/test/node_modules/glob/node_modules/minimatch/dist/esm/package.json +0 -3
  1251. package/test/node_modules/glob/node_modules/minimatch/dist/esm/unescape.d.ts +0 -17
  1252. package/test/node_modules/glob/node_modules/minimatch/dist/esm/unescape.d.ts.map +0 -1
  1253. package/test/node_modules/glob/node_modules/minimatch/dist/esm/unescape.js +0 -20
  1254. package/test/node_modules/glob/node_modules/minimatch/dist/esm/unescape.js.map +0 -1
  1255. package/test/node_modules/glob/node_modules/minimatch/package.json +0 -82
  1256. package/test/node_modules/glob/package.json +0 -99
  1257. package/test/node_modules/glob-parent/CHANGELOG.md +0 -110
  1258. package/test/node_modules/glob-parent/LICENSE +0 -15
  1259. package/test/node_modules/glob-parent/README.md +0 -137
  1260. package/test/node_modules/glob-parent/index.js +0 -42
  1261. package/test/node_modules/glob-parent/package.json +0 -48
  1262. package/test/node_modules/gopd/.eslintrc +0 -16
  1263. package/test/node_modules/gopd/.github/FUNDING.yml +0 -12
  1264. package/test/node_modules/gopd/CHANGELOG.md +0 -45
  1265. package/test/node_modules/gopd/LICENSE +0 -21
  1266. package/test/node_modules/gopd/README.md +0 -40
  1267. package/test/node_modules/gopd/gOPD.d.ts +0 -1
  1268. package/test/node_modules/gopd/gOPD.js +0 -4
  1269. package/test/node_modules/gopd/index.d.ts +0 -5
  1270. package/test/node_modules/gopd/index.js +0 -15
  1271. package/test/node_modules/gopd/package.json +0 -77
  1272. package/test/node_modules/gopd/test/index.js +0 -36
  1273. package/test/node_modules/gopd/tsconfig.json +0 -9
  1274. package/test/node_modules/has-flag/index.d.ts +0 -39
  1275. package/test/node_modules/has-flag/index.js +0 -8
  1276. package/test/node_modules/has-flag/license +0 -9
  1277. package/test/node_modules/has-flag/package.json +0 -46
  1278. package/test/node_modules/has-flag/readme.md +0 -89
  1279. package/test/node_modules/has-symbols/.eslintrc +0 -11
  1280. package/test/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  1281. package/test/node_modules/has-symbols/.nycrc +0 -9
  1282. package/test/node_modules/has-symbols/CHANGELOG.md +0 -91
  1283. package/test/node_modules/has-symbols/LICENSE +0 -21
  1284. package/test/node_modules/has-symbols/README.md +0 -46
  1285. package/test/node_modules/has-symbols/index.d.ts +0 -3
  1286. package/test/node_modules/has-symbols/index.js +0 -14
  1287. package/test/node_modules/has-symbols/package.json +0 -111
  1288. package/test/node_modules/has-symbols/shams.d.ts +0 -3
  1289. package/test/node_modules/has-symbols/shams.js +0 -45
  1290. package/test/node_modules/has-symbols/test/index.js +0 -22
  1291. package/test/node_modules/has-symbols/test/shams/core-js.js +0 -29
  1292. package/test/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
  1293. package/test/node_modules/has-symbols/test/tests.js +0 -58
  1294. package/test/node_modules/has-symbols/tsconfig.json +0 -10
  1295. package/test/node_modules/has-tostringtag/.eslintrc +0 -5
  1296. package/test/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
  1297. package/test/node_modules/has-tostringtag/.nycrc +0 -13
  1298. package/test/node_modules/has-tostringtag/CHANGELOG.md +0 -42
  1299. package/test/node_modules/has-tostringtag/LICENSE +0 -21
  1300. package/test/node_modules/has-tostringtag/README.md +0 -46
  1301. package/test/node_modules/has-tostringtag/index.d.ts +0 -3
  1302. package/test/node_modules/has-tostringtag/index.js +0 -8
  1303. package/test/node_modules/has-tostringtag/package.json +0 -108
  1304. package/test/node_modules/has-tostringtag/shams.d.ts +0 -3
  1305. package/test/node_modules/has-tostringtag/shams.js +0 -8
  1306. package/test/node_modules/has-tostringtag/test/index.js +0 -21
  1307. package/test/node_modules/has-tostringtag/test/shams/core-js.js +0 -31
  1308. package/test/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -30
  1309. package/test/node_modules/has-tostringtag/test/tests.js +0 -15
  1310. package/test/node_modules/has-tostringtag/tsconfig.json +0 -49
  1311. package/test/node_modules/hasown/.eslintrc +0 -5
  1312. package/test/node_modules/hasown/.github/FUNDING.yml +0 -12
  1313. package/test/node_modules/hasown/.nycrc +0 -13
  1314. package/test/node_modules/hasown/CHANGELOG.md +0 -40
  1315. package/test/node_modules/hasown/LICENSE +0 -21
  1316. package/test/node_modules/hasown/README.md +0 -40
  1317. package/test/node_modules/hasown/index.d.ts +0 -3
  1318. package/test/node_modules/hasown/index.js +0 -8
  1319. package/test/node_modules/hasown/package.json +0 -92
  1320. package/test/node_modules/hasown/tsconfig.json +0 -6
  1321. package/test/node_modules/he/LICENSE-MIT.txt +0 -20
  1322. package/test/node_modules/he/README.md +0 -379
  1323. package/test/node_modules/he/bin/he +0 -148
  1324. package/test/node_modules/he/he.js +0 -345
  1325. package/test/node_modules/he/man/he.1 +0 -78
  1326. package/test/node_modules/he/package.json +0 -58
  1327. package/test/node_modules/hexoid/dist/index.d.ts +0 -1
  1328. package/test/node_modules/hexoid/dist/index.js +0 -1
  1329. package/test/node_modules/hexoid/dist/index.mjs +0 -1
  1330. package/test/node_modules/hexoid/license +0 -9
  1331. package/test/node_modules/hexoid/package.json +0 -45
  1332. package/test/node_modules/hexoid/readme.md +0 -118
  1333. package/test/node_modules/is-binary-path/index.d.ts +0 -17
  1334. package/test/node_modules/is-binary-path/index.js +0 -7
  1335. package/test/node_modules/is-binary-path/license +0 -9
  1336. package/test/node_modules/is-binary-path/package.json +0 -40
  1337. package/test/node_modules/is-binary-path/readme.md +0 -34
  1338. package/test/node_modules/is-extglob/LICENSE +0 -21
  1339. package/test/node_modules/is-extglob/README.md +0 -107
  1340. package/test/node_modules/is-extglob/index.js +0 -20
  1341. package/test/node_modules/is-extglob/package.json +0 -69
  1342. package/test/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  1343. package/test/node_modules/is-fullwidth-code-point/index.js +0 -50
  1344. package/test/node_modules/is-fullwidth-code-point/license +0 -9
  1345. package/test/node_modules/is-fullwidth-code-point/package.json +0 -42
  1346. package/test/node_modules/is-fullwidth-code-point/readme.md +0 -39
  1347. package/test/node_modules/is-glob/LICENSE +0 -21
  1348. package/test/node_modules/is-glob/README.md +0 -206
  1349. package/test/node_modules/is-glob/index.js +0 -150
  1350. package/test/node_modules/is-glob/package.json +0 -81
  1351. package/test/node_modules/is-number/LICENSE +0 -21
  1352. package/test/node_modules/is-number/README.md +0 -187
  1353. package/test/node_modules/is-number/index.js +0 -18
  1354. package/test/node_modules/is-number/package.json +0 -82
  1355. package/test/node_modules/is-plain-obj/index.d.ts +0 -29
  1356. package/test/node_modules/is-plain-obj/index.js +0 -10
  1357. package/test/node_modules/is-plain-obj/license +0 -9
  1358. package/test/node_modules/is-plain-obj/package.json +0 -38
  1359. package/test/node_modules/is-plain-obj/readme.md +0 -54
  1360. package/test/node_modules/is-unicode-supported/index.d.ts +0 -14
  1361. package/test/node_modules/is-unicode-supported/index.js +0 -13
  1362. package/test/node_modules/is-unicode-supported/license +0 -9
  1363. package/test/node_modules/is-unicode-supported/package.json +0 -41
  1364. package/test/node_modules/is-unicode-supported/readme.md +0 -35
  1365. package/test/node_modules/isexe/LICENSE +0 -15
  1366. package/test/node_modules/isexe/README.md +0 -51
  1367. package/test/node_modules/isexe/index.js +0 -57
  1368. package/test/node_modules/isexe/mode.js +0 -41
  1369. package/test/node_modules/isexe/package.json +0 -31
  1370. package/test/node_modules/isexe/test/basic.js +0 -221
  1371. package/test/node_modules/isexe/windows.js +0 -42
  1372. package/test/node_modules/jackspeak/LICENSE.md +0 -55
  1373. package/test/node_modules/jackspeak/README.md +0 -357
  1374. package/test/node_modules/jackspeak/dist/commonjs/index.d.ts +0 -315
  1375. package/test/node_modules/jackspeak/dist/commonjs/index.d.ts.map +0 -1
  1376. package/test/node_modules/jackspeak/dist/commonjs/index.js +0 -1010
  1377. package/test/node_modules/jackspeak/dist/commonjs/index.js.map +0 -1
  1378. package/test/node_modules/jackspeak/dist/commonjs/package.json +0 -3
  1379. package/test/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +0 -1
  1380. package/test/node_modules/jackspeak/dist/commonjs/parse-args-cjs.d.cts.map +0 -1
  1381. package/test/node_modules/jackspeak/dist/commonjs/parse-args.d.ts +0 -4
  1382. package/test/node_modules/jackspeak/dist/commonjs/parse-args.js +0 -50
  1383. package/test/node_modules/jackspeak/dist/esm/index.d.ts +0 -315
  1384. package/test/node_modules/jackspeak/dist/esm/index.d.ts.map +0 -1
  1385. package/test/node_modules/jackspeak/dist/esm/index.js +0 -1000
  1386. package/test/node_modules/jackspeak/dist/esm/index.js.map +0 -1
  1387. package/test/node_modules/jackspeak/dist/esm/package.json +0 -3
  1388. package/test/node_modules/jackspeak/dist/esm/parse-args.d.ts +0 -4
  1389. package/test/node_modules/jackspeak/dist/esm/parse-args.d.ts.map +0 -1
  1390. package/test/node_modules/jackspeak/dist/esm/parse-args.js +0 -26
  1391. package/test/node_modules/jackspeak/dist/esm/parse-args.js.map +0 -1
  1392. package/test/node_modules/jackspeak/package.json +0 -95
  1393. package/test/node_modules/js-yaml/CHANGELOG.md +0 -616
  1394. package/test/node_modules/js-yaml/LICENSE +0 -21
  1395. package/test/node_modules/js-yaml/README.md +0 -246
  1396. package/test/node_modules/js-yaml/bin/js-yaml.js +0 -126
  1397. package/test/node_modules/js-yaml/dist/js-yaml.js +0 -3874
  1398. package/test/node_modules/js-yaml/dist/js-yaml.min.js +0 -2
  1399. package/test/node_modules/js-yaml/dist/js-yaml.mjs +0 -3851
  1400. package/test/node_modules/js-yaml/index.js +0 -47
  1401. package/test/node_modules/js-yaml/lib/common.js +0 -59
  1402. package/test/node_modules/js-yaml/lib/dumper.js +0 -965
  1403. package/test/node_modules/js-yaml/lib/exception.js +0 -55
  1404. package/test/node_modules/js-yaml/lib/loader.js +0 -1727
  1405. package/test/node_modules/js-yaml/lib/schema/core.js +0 -11
  1406. package/test/node_modules/js-yaml/lib/schema/default.js +0 -22
  1407. package/test/node_modules/js-yaml/lib/schema/failsafe.js +0 -17
  1408. package/test/node_modules/js-yaml/lib/schema/json.js +0 -19
  1409. package/test/node_modules/js-yaml/lib/schema.js +0 -121
  1410. package/test/node_modules/js-yaml/lib/snippet.js +0 -101
  1411. package/test/node_modules/js-yaml/lib/type/binary.js +0 -125
  1412. package/test/node_modules/js-yaml/lib/type/bool.js +0 -35
  1413. package/test/node_modules/js-yaml/lib/type/float.js +0 -97
  1414. package/test/node_modules/js-yaml/lib/type/int.js +0 -156
  1415. package/test/node_modules/js-yaml/lib/type/map.js +0 -8
  1416. package/test/node_modules/js-yaml/lib/type/merge.js +0 -12
  1417. package/test/node_modules/js-yaml/lib/type/null.js +0 -35
  1418. package/test/node_modules/js-yaml/lib/type/omap.js +0 -44
  1419. package/test/node_modules/js-yaml/lib/type/pairs.js +0 -53
  1420. package/test/node_modules/js-yaml/lib/type/seq.js +0 -8
  1421. package/test/node_modules/js-yaml/lib/type/set.js +0 -29
  1422. package/test/node_modules/js-yaml/lib/type/str.js +0 -8
  1423. package/test/node_modules/js-yaml/lib/type/timestamp.js +0 -88
  1424. package/test/node_modules/js-yaml/lib/type.js +0 -66
  1425. package/test/node_modules/js-yaml/package.json +0 -66
  1426. package/test/node_modules/locate-path/index.d.ts +0 -83
  1427. package/test/node_modules/locate-path/index.js +0 -68
  1428. package/test/node_modules/locate-path/license +0 -9
  1429. package/test/node_modules/locate-path/package.json +0 -46
  1430. package/test/node_modules/locate-path/readme.md +0 -125
  1431. package/test/node_modules/log-symbols/browser.js +0 -8
  1432. package/test/node_modules/log-symbols/index.d.ts +0 -25
  1433. package/test/node_modules/log-symbols/index.js +0 -19
  1434. package/test/node_modules/log-symbols/license +0 -9
  1435. package/test/node_modules/log-symbols/package.json +0 -52
  1436. package/test/node_modules/log-symbols/readme.md +0 -51
  1437. package/test/node_modules/loupe/LICENSE +0 -9
  1438. package/test/node_modules/loupe/README.md +0 -63
  1439. package/test/node_modules/loupe/lib/arguments.d.ts +0 -3
  1440. package/test/node_modules/loupe/lib/arguments.d.ts.map +0 -1
  1441. package/test/node_modules/loupe/lib/arguments.js +0 -7
  1442. package/test/node_modules/loupe/lib/array.d.ts +0 -3
  1443. package/test/node_modules/loupe/lib/array.d.ts.map +0 -1
  1444. package/test/node_modules/loupe/lib/array.js +0 -16
  1445. package/test/node_modules/loupe/lib/bigint.d.ts +0 -3
  1446. package/test/node_modules/loupe/lib/bigint.d.ts.map +0 -1
  1447. package/test/node_modules/loupe/lib/bigint.js +0 -7
  1448. package/test/node_modules/loupe/lib/class.d.ts +0 -5
  1449. package/test/node_modules/loupe/lib/class.d.ts.map +0 -1
  1450. package/test/node_modules/loupe/lib/class.js +0 -15
  1451. package/test/node_modules/loupe/lib/date.d.ts +0 -3
  1452. package/test/node_modules/loupe/lib/date.d.ts.map +0 -1
  1453. package/test/node_modules/loupe/lib/date.js +0 -11
  1454. package/test/node_modules/loupe/lib/error.d.ts +0 -3
  1455. package/test/node_modules/loupe/lib/error.d.ts.map +0 -1
  1456. package/test/node_modules/loupe/lib/error.js +0 -35
  1457. package/test/node_modules/loupe/lib/function.d.ts +0 -7
  1458. package/test/node_modules/loupe/lib/function.d.ts.map +0 -1
  1459. package/test/node_modules/loupe/lib/function.js +0 -9
  1460. package/test/node_modules/loupe/lib/helpers.d.ts +0 -7
  1461. package/test/node_modules/loupe/lib/helpers.d.ts.map +0 -1
  1462. package/test/node_modules/loupe/lib/helpers.js +0 -159
  1463. package/test/node_modules/loupe/lib/html.d.ts +0 -5
  1464. package/test/node_modules/loupe/lib/html.d.ts.map +0 -1
  1465. package/test/node_modules/loupe/lib/html.js +0 -34
  1466. package/test/node_modules/loupe/lib/index.d.ts +0 -7
  1467. package/test/node_modules/loupe/lib/index.d.ts.map +0 -1
  1468. package/test/node_modules/loupe/lib/index.js +0 -161
  1469. package/test/node_modules/loupe/lib/map.d.ts +0 -3
  1470. package/test/node_modules/loupe/lib/map.d.ts.map +0 -1
  1471. package/test/node_modules/loupe/lib/map.js +0 -22
  1472. package/test/node_modules/loupe/lib/number.d.ts +0 -3
  1473. package/test/node_modules/loupe/lib/number.d.ts.map +0 -1
  1474. package/test/node_modules/loupe/lib/number.js +0 -17
  1475. package/test/node_modules/loupe/lib/object.d.ts +0 -3
  1476. package/test/node_modules/loupe/lib/object.d.ts.map +0 -1
  1477. package/test/node_modules/loupe/lib/object.js +0 -22
  1478. package/test/node_modules/loupe/lib/promise.d.ts +0 -5
  1479. package/test/node_modules/loupe/lib/promise.d.ts.map +0 -1
  1480. package/test/node_modules/loupe/lib/promise.js +0 -18
  1481. package/test/node_modules/loupe/lib/regexp.d.ts +0 -3
  1482. package/test/node_modules/loupe/lib/regexp.d.ts.map +0 -1
  1483. package/test/node_modules/loupe/lib/regexp.js +0 -7
  1484. package/test/node_modules/loupe/lib/set.d.ts +0 -3
  1485. package/test/node_modules/loupe/lib/set.d.ts.map +0 -1
  1486. package/test/node_modules/loupe/lib/set.js +0 -15
  1487. package/test/node_modules/loupe/lib/string.d.ts +0 -3
  1488. package/test/node_modules/loupe/lib/string.d.ts.map +0 -1
  1489. package/test/node_modules/loupe/lib/string.js +0 -24
  1490. package/test/node_modules/loupe/lib/symbol.d.ts +0 -2
  1491. package/test/node_modules/loupe/lib/symbol.d.ts.map +0 -1
  1492. package/test/node_modules/loupe/lib/symbol.js +0 -6
  1493. package/test/node_modules/loupe/lib/typedarray.d.ts +0 -5
  1494. package/test/node_modules/loupe/lib/typedarray.d.ts.map +0 -1
  1495. package/test/node_modules/loupe/lib/typedarray.js +0 -38
  1496. package/test/node_modules/loupe/lib/types.d.ts +0 -15
  1497. package/test/node_modules/loupe/lib/types.d.ts.map +0 -1
  1498. package/test/node_modules/loupe/lib/types.js +0 -1
  1499. package/test/node_modules/loupe/loupe.js +0 -640
  1500. package/test/node_modules/loupe/package.json +0 -73
  1501. package/test/node_modules/lru-cache/LICENSE +0 -15
  1502. package/test/node_modules/lru-cache/README.md +0 -331
  1503. package/test/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -1277
  1504. package/test/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
  1505. package/test/node_modules/lru-cache/dist/commonjs/index.js +0 -1546
  1506. package/test/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
  1507. package/test/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
  1508. package/test/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
  1509. package/test/node_modules/lru-cache/dist/commonjs/package.json +0 -3
  1510. package/test/node_modules/lru-cache/dist/esm/index.d.ts +0 -1277
  1511. package/test/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
  1512. package/test/node_modules/lru-cache/dist/esm/index.js +0 -1542
  1513. package/test/node_modules/lru-cache/dist/esm/index.js.map +0 -1
  1514. package/test/node_modules/lru-cache/dist/esm/index.min.js +0 -2
  1515. package/test/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
  1516. package/test/node_modules/lru-cache/dist/esm/package.json +0 -3
  1517. package/test/node_modules/lru-cache/package.json +0 -116
  1518. package/test/node_modules/math-intrinsics/.eslintrc +0 -16
  1519. package/test/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
  1520. package/test/node_modules/math-intrinsics/CHANGELOG.md +0 -24
  1521. package/test/node_modules/math-intrinsics/LICENSE +0 -21
  1522. package/test/node_modules/math-intrinsics/README.md +0 -50
  1523. package/test/node_modules/math-intrinsics/abs.d.ts +0 -1
  1524. package/test/node_modules/math-intrinsics/abs.js +0 -4
  1525. package/test/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
  1526. package/test/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
  1527. package/test/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
  1528. package/test/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
  1529. package/test/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
  1530. package/test/node_modules/math-intrinsics/constants/maxValue.js +0 -5
  1531. package/test/node_modules/math-intrinsics/floor.d.ts +0 -1
  1532. package/test/node_modules/math-intrinsics/floor.js +0 -4
  1533. package/test/node_modules/math-intrinsics/isFinite.d.ts +0 -3
  1534. package/test/node_modules/math-intrinsics/isFinite.js +0 -12
  1535. package/test/node_modules/math-intrinsics/isInteger.d.ts +0 -3
  1536. package/test/node_modules/math-intrinsics/isInteger.js +0 -16
  1537. package/test/node_modules/math-intrinsics/isNaN.d.ts +0 -1
  1538. package/test/node_modules/math-intrinsics/isNaN.js +0 -6
  1539. package/test/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
  1540. package/test/node_modules/math-intrinsics/isNegativeZero.js +0 -6
  1541. package/test/node_modules/math-intrinsics/max.d.ts +0 -1
  1542. package/test/node_modules/math-intrinsics/max.js +0 -4
  1543. package/test/node_modules/math-intrinsics/min.d.ts +0 -1
  1544. package/test/node_modules/math-intrinsics/min.js +0 -4
  1545. package/test/node_modules/math-intrinsics/mod.d.ts +0 -3
  1546. package/test/node_modules/math-intrinsics/mod.js +0 -9
  1547. package/test/node_modules/math-intrinsics/package.json +0 -86
  1548. package/test/node_modules/math-intrinsics/pow.d.ts +0 -1
  1549. package/test/node_modules/math-intrinsics/pow.js +0 -4
  1550. package/test/node_modules/math-intrinsics/round.d.ts +0 -1
  1551. package/test/node_modules/math-intrinsics/round.js +0 -4
  1552. package/test/node_modules/math-intrinsics/sign.d.ts +0 -3
  1553. package/test/node_modules/math-intrinsics/sign.js +0 -11
  1554. package/test/node_modules/math-intrinsics/test/index.js +0 -192
  1555. package/test/node_modules/math-intrinsics/tsconfig.json +0 -3
  1556. package/test/node_modules/methods/HISTORY.md +0 -29
  1557. package/test/node_modules/methods/LICENSE +0 -24
  1558. package/test/node_modules/methods/README.md +0 -51
  1559. package/test/node_modules/methods/index.js +0 -69
  1560. package/test/node_modules/methods/package.json +0 -36
  1561. package/test/node_modules/mime/CHANGELOG.md +0 -296
  1562. package/test/node_modules/mime/LICENSE +0 -21
  1563. package/test/node_modules/mime/Mime.js +0 -97
  1564. package/test/node_modules/mime/README.md +0 -187
  1565. package/test/node_modules/mime/cli.js +0 -46
  1566. package/test/node_modules/mime/index.js +0 -4
  1567. package/test/node_modules/mime/lite.js +0 -4
  1568. package/test/node_modules/mime/package.json +0 -52
  1569. package/test/node_modules/mime/types/other.js +0 -1
  1570. package/test/node_modules/mime/types/standard.js +0 -1
  1571. package/test/node_modules/mime-db/HISTORY.md +0 -507
  1572. package/test/node_modules/mime-db/LICENSE +0 -23
  1573. package/test/node_modules/mime-db/README.md +0 -100
  1574. package/test/node_modules/mime-db/db.json +0 -8519
  1575. package/test/node_modules/mime-db/index.js +0 -12
  1576. package/test/node_modules/mime-db/package.json +0 -60
  1577. package/test/node_modules/mime-types/HISTORY.md +0 -397
  1578. package/test/node_modules/mime-types/LICENSE +0 -23
  1579. package/test/node_modules/mime-types/README.md +0 -113
  1580. package/test/node_modules/mime-types/index.js +0 -188
  1581. package/test/node_modules/mime-types/package.json +0 -44
  1582. package/test/node_modules/minimatch/LICENSE +0 -15
  1583. package/test/node_modules/minimatch/README.md +0 -259
  1584. package/test/node_modules/minimatch/lib/path.js +0 -4
  1585. package/test/node_modules/minimatch/minimatch.js +0 -944
  1586. package/test/node_modules/minimatch/package.json +0 -35
  1587. package/test/node_modules/minipass/LICENSE +0 -15
  1588. package/test/node_modules/minipass/README.md +0 -825
  1589. package/test/node_modules/minipass/dist/commonjs/index.d.ts +0 -549
  1590. package/test/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  1591. package/test/node_modules/minipass/dist/commonjs/index.js +0 -1028
  1592. package/test/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  1593. package/test/node_modules/minipass/dist/commonjs/package.json +0 -3
  1594. package/test/node_modules/minipass/dist/esm/index.d.ts +0 -549
  1595. package/test/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  1596. package/test/node_modules/minipass/dist/esm/index.js +0 -1018
  1597. package/test/node_modules/minipass/dist/esm/index.js.map +0 -1
  1598. package/test/node_modules/minipass/dist/esm/package.json +0 -3
  1599. package/test/node_modules/minipass/package.json +0 -82
  1600. package/test/node_modules/mocha/LICENSE +0 -22
  1601. package/test/node_modules/mocha/README.md +0 -74
  1602. package/test/node_modules/mocha/bin/_mocha +0 -10
  1603. package/test/node_modules/mocha/bin/mocha.js +0 -142
  1604. package/test/node_modules/mocha/browser-entry.js +0 -226
  1605. package/test/node_modules/mocha/index.js +0 -3
  1606. package/test/node_modules/mocha/lib/browser/highlight-tags.js +0 -39
  1607. package/test/node_modules/mocha/lib/browser/parse-query.js +0 -24
  1608. package/test/node_modules/mocha/lib/browser/template.html +0 -20
  1609. package/test/node_modules/mocha/lib/cli/cli.js +0 -93
  1610. package/test/node_modules/mocha/lib/cli/collect-files.js +0 -137
  1611. package/test/node_modules/mocha/lib/cli/commands.js +0 -14
  1612. package/test/node_modules/mocha/lib/cli/config.js +0 -100
  1613. package/test/node_modules/mocha/lib/cli/index.js +0 -3
  1614. package/test/node_modules/mocha/lib/cli/init.js +0 -36
  1615. package/test/node_modules/mocha/lib/cli/lookup-files.js +0 -155
  1616. package/test/node_modules/mocha/lib/cli/node-flags.js +0 -85
  1617. package/test/node_modules/mocha/lib/cli/one-and-dones.js +0 -69
  1618. package/test/node_modules/mocha/lib/cli/options.js +0 -337
  1619. package/test/node_modules/mocha/lib/cli/run-helpers.js +0 -304
  1620. package/test/node_modules/mocha/lib/cli/run-option-metadata.js +0 -137
  1621. package/test/node_modules/mocha/lib/cli/run.js +0 -380
  1622. package/test/node_modules/mocha/lib/cli/watch-run.js +0 -377
  1623. package/test/node_modules/mocha/lib/context.js +0 -86
  1624. package/test/node_modules/mocha/lib/errors.js +0 -563
  1625. package/test/node_modules/mocha/lib/hook.js +0 -89
  1626. package/test/node_modules/mocha/lib/interfaces/bdd.js +0 -114
  1627. package/test/node_modules/mocha/lib/interfaces/common.js +0 -193
  1628. package/test/node_modules/mocha/lib/interfaces/exports.js +0 -60
  1629. package/test/node_modules/mocha/lib/interfaces/index.js +0 -6
  1630. package/test/node_modules/mocha/lib/interfaces/qunit.js +0 -98
  1631. package/test/node_modules/mocha/lib/interfaces/tdd.js +0 -106
  1632. package/test/node_modules/mocha/lib/mocha.js +0 -1334
  1633. package/test/node_modules/mocha/lib/mocharc.json +0 -10
  1634. package/test/node_modules/mocha/lib/nodejs/buffered-worker-pool.js +0 -188
  1635. package/test/node_modules/mocha/lib/nodejs/esm-utils.js +0 -106
  1636. package/test/node_modules/mocha/lib/nodejs/file-unloader.js +0 -15
  1637. package/test/node_modules/mocha/lib/nodejs/parallel-buffered-runner.js +0 -433
  1638. package/test/node_modules/mocha/lib/nodejs/reporters/parallel-buffered.js +0 -165
  1639. package/test/node_modules/mocha/lib/nodejs/serializer.js +0 -414
  1640. package/test/node_modules/mocha/lib/nodejs/worker.js +0 -151
  1641. package/test/node_modules/mocha/lib/pending.js +0 -16
  1642. package/test/node_modules/mocha/lib/plugin-loader.js +0 -286
  1643. package/test/node_modules/mocha/lib/reporters/base.js +0 -591
  1644. package/test/node_modules/mocha/lib/reporters/doc.js +0 -95
  1645. package/test/node_modules/mocha/lib/reporters/dot.js +0 -81
  1646. package/test/node_modules/mocha/lib/reporters/html.js +0 -420
  1647. package/test/node_modules/mocha/lib/reporters/index.js +0 -19
  1648. package/test/node_modules/mocha/lib/reporters/json-stream.js +0 -92
  1649. package/test/node_modules/mocha/lib/reporters/json.js +0 -162
  1650. package/test/node_modules/mocha/lib/reporters/landing.js +0 -116
  1651. package/test/node_modules/mocha/lib/reporters/list.js +0 -78
  1652. package/test/node_modules/mocha/lib/reporters/markdown.js +0 -112
  1653. package/test/node_modules/mocha/lib/reporters/min.js +0 -52
  1654. package/test/node_modules/mocha/lib/reporters/nyan.js +0 -267
  1655. package/test/node_modules/mocha/lib/reporters/progress.js +0 -104
  1656. package/test/node_modules/mocha/lib/reporters/spec.js +0 -99
  1657. package/test/node_modules/mocha/lib/reporters/tap.js +0 -293
  1658. package/test/node_modules/mocha/lib/reporters/xunit.js +0 -218
  1659. package/test/node_modules/mocha/lib/runnable.js +0 -474
  1660. package/test/node_modules/mocha/lib/runner.js +0 -1267
  1661. package/test/node_modules/mocha/lib/stats-collector.js +0 -83
  1662. package/test/node_modules/mocha/lib/suite.js +0 -666
  1663. package/test/node_modules/mocha/lib/test.js +0 -113
  1664. package/test/node_modules/mocha/lib/utils.js +0 -698
  1665. package/test/node_modules/mocha/mocha.css +0 -455
  1666. package/test/node_modules/mocha/mocha.js +0 -20785
  1667. package/test/node_modules/mocha/mocha.js.map +0 -1
  1668. package/test/node_modules/mocha/package.json +0 -207
  1669. package/test/node_modules/ms/index.js +0 -162
  1670. package/test/node_modules/ms/license.md +0 -21
  1671. package/test/node_modules/ms/package.json +0 -38
  1672. package/test/node_modules/ms/readme.md +0 -59
  1673. package/test/node_modules/node-domexception/.history/README_20210527203617.md +0 -2
  1674. package/test/node_modules/node-domexception/.history/README_20210527212714.md +0 -41
  1675. package/test/node_modules/node-domexception/.history/README_20210527213345.md +0 -36
  1676. package/test/node_modules/node-domexception/.history/README_20210527213411.md +0 -36
  1677. package/test/node_modules/node-domexception/.history/README_20210527213803.md +0 -36
  1678. package/test/node_modules/node-domexception/.history/README_20210527214323.md +0 -38
  1679. package/test/node_modules/node-domexception/.history/README_20210527214408.md +0 -38
  1680. package/test/node_modules/node-domexception/.history/index_20210527203842.js +0 -0
  1681. package/test/node_modules/node-domexception/.history/index_20210527203947.js +0 -8
  1682. package/test/node_modules/node-domexception/.history/index_20210527204259.js +0 -9
  1683. package/test/node_modules/node-domexception/.history/index_20210527204418.js +0 -9
  1684. package/test/node_modules/node-domexception/.history/index_20210527204756.js +0 -11
  1685. package/test/node_modules/node-domexception/.history/index_20210527204833.js +0 -11
  1686. package/test/node_modules/node-domexception/.history/index_20210527211208.js +0 -15
  1687. package/test/node_modules/node-domexception/.history/index_20210527211248.js +0 -15
  1688. package/test/node_modules/node-domexception/.history/index_20210527212722.js +0 -23
  1689. package/test/node_modules/node-domexception/.history/index_20210527212731.js +0 -23
  1690. package/test/node_modules/node-domexception/.history/index_20210527212746.js +0 -15
  1691. package/test/node_modules/node-domexception/.history/index_20210527212900.js +0 -16
  1692. package/test/node_modules/node-domexception/.history/index_20210527213022.js +0 -16
  1693. package/test/node_modules/node-domexception/.history/index_20210527213822.js +0 -16
  1694. package/test/node_modules/node-domexception/.history/index_20210527213843.js +0 -17
  1695. package/test/node_modules/node-domexception/.history/index_20210527213852.js +0 -17
  1696. package/test/node_modules/node-domexception/.history/index_20210527213910.js +0 -16
  1697. package/test/node_modules/node-domexception/.history/index_20210527214034.js +0 -16
  1698. package/test/node_modules/node-domexception/.history/index_20210527214643.js +0 -41
  1699. package/test/node_modules/node-domexception/.history/index_20210527214654.js +0 -41
  1700. package/test/node_modules/node-domexception/.history/index_20210527214700.js +0 -16
  1701. package/test/node_modules/node-domexception/.history/package_20210527203733.json +0 -19
  1702. package/test/node_modules/node-domexception/.history/package_20210527203825.json +0 -16
  1703. package/test/node_modules/node-domexception/.history/package_20210527204621.json +0 -19
  1704. package/test/node_modules/node-domexception/.history/package_20210527204913.json +0 -25
  1705. package/test/node_modules/node-domexception/.history/package_20210527204925.json +0 -25
  1706. package/test/node_modules/node-domexception/.history/package_20210527205145.json +0 -29
  1707. package/test/node_modules/node-domexception/.history/package_20210527205156.json +0 -29
  1708. package/test/node_modules/node-domexception/.history/test_20210527205603.js +0 -0
  1709. package/test/node_modules/node-domexception/.history/test_20210527205957.js +0 -3
  1710. package/test/node_modules/node-domexception/.history/test_20210527210021.js +0 -3
  1711. package/test/node_modules/node-domexception/LICENSE +0 -21
  1712. package/test/node_modules/node-domexception/README.md +0 -46
  1713. package/test/node_modules/node-domexception/index.js +0 -16
  1714. package/test/node_modules/node-domexception/package.json +0 -29
  1715. package/test/node_modules/node-fetch/@types/index.d.ts +0 -219
  1716. package/test/node_modules/node-fetch/LICENSE.md +0 -22
  1717. package/test/node_modules/node-fetch/README.md +0 -872
  1718. package/test/node_modules/node-fetch/package.json +0 -131
  1719. package/test/node_modules/node-fetch/src/body.js +0 -397
  1720. package/test/node_modules/node-fetch/src/errors/abort-error.js +0 -10
  1721. package/test/node_modules/node-fetch/src/errors/base.js +0 -17
  1722. package/test/node_modules/node-fetch/src/errors/fetch-error.js +0 -26
  1723. package/test/node_modules/node-fetch/src/headers.js +0 -267
  1724. package/test/node_modules/node-fetch/src/index.js +0 -417
  1725. package/test/node_modules/node-fetch/src/request.js +0 -313
  1726. package/test/node_modules/node-fetch/src/response.js +0 -160
  1727. package/test/node_modules/node-fetch/src/utils/get-search.js +0 -9
  1728. package/test/node_modules/node-fetch/src/utils/is-redirect.js +0 -11
  1729. package/test/node_modules/node-fetch/src/utils/is.js +0 -87
  1730. package/test/node_modules/node-fetch/src/utils/multipart-parser.js +0 -432
  1731. package/test/node_modules/node-fetch/src/utils/referrer.js +0 -340
  1732. package/test/node_modules/normalize-path/LICENSE +0 -21
  1733. package/test/node_modules/normalize-path/README.md +0 -127
  1734. package/test/node_modules/normalize-path/index.js +0 -35
  1735. package/test/node_modules/normalize-path/package.json +0 -77
  1736. package/test/node_modules/object-inspect/.eslintrc +0 -53
  1737. package/test/node_modules/object-inspect/.github/FUNDING.yml +0 -12
  1738. package/test/node_modules/object-inspect/.nycrc +0 -13
  1739. package/test/node_modules/object-inspect/CHANGELOG.md +0 -424
  1740. package/test/node_modules/object-inspect/LICENSE +0 -21
  1741. package/test/node_modules/object-inspect/example/all.js +0 -23
  1742. package/test/node_modules/object-inspect/example/circular.js +0 -6
  1743. package/test/node_modules/object-inspect/example/fn.js +0 -5
  1744. package/test/node_modules/object-inspect/example/inspect.js +0 -10
  1745. package/test/node_modules/object-inspect/index.js +0 -544
  1746. package/test/node_modules/object-inspect/package-support.json +0 -20
  1747. package/test/node_modules/object-inspect/package.json +0 -105
  1748. package/test/node_modules/object-inspect/readme.markdown +0 -84
  1749. package/test/node_modules/object-inspect/test/bigint.js +0 -58
  1750. package/test/node_modules/object-inspect/test/browser/dom.js +0 -15
  1751. package/test/node_modules/object-inspect/test/circular.js +0 -16
  1752. package/test/node_modules/object-inspect/test/deep.js +0 -12
  1753. package/test/node_modules/object-inspect/test/element.js +0 -53
  1754. package/test/node_modules/object-inspect/test/err.js +0 -48
  1755. package/test/node_modules/object-inspect/test/fakes.js +0 -29
  1756. package/test/node_modules/object-inspect/test/fn.js +0 -76
  1757. package/test/node_modules/object-inspect/test/global.js +0 -17
  1758. package/test/node_modules/object-inspect/test/has.js +0 -15
  1759. package/test/node_modules/object-inspect/test/holes.js +0 -15
  1760. package/test/node_modules/object-inspect/test/indent-option.js +0 -271
  1761. package/test/node_modules/object-inspect/test/inspect.js +0 -139
  1762. package/test/node_modules/object-inspect/test/lowbyte.js +0 -12
  1763. package/test/node_modules/object-inspect/test/number.js +0 -58
  1764. package/test/node_modules/object-inspect/test/quoteStyle.js +0 -26
  1765. package/test/node_modules/object-inspect/test/toStringTag.js +0 -40
  1766. package/test/node_modules/object-inspect/test/undef.js +0 -12
  1767. package/test/node_modules/object-inspect/test/values.js +0 -261
  1768. package/test/node_modules/object-inspect/test-core-js.js +0 -26
  1769. package/test/node_modules/object-inspect/util.inspect.js +0 -1
  1770. package/test/node_modules/once/LICENSE +0 -15
  1771. package/test/node_modules/once/README.md +0 -79
  1772. package/test/node_modules/once/once.js +0 -42
  1773. package/test/node_modules/once/package.json +0 -33
  1774. package/test/node_modules/p-limit/index.d.ts +0 -42
  1775. package/test/node_modules/p-limit/index.js +0 -71
  1776. package/test/node_modules/p-limit/license +0 -9
  1777. package/test/node_modules/p-limit/package.json +0 -52
  1778. package/test/node_modules/p-limit/readme.md +0 -101
  1779. package/test/node_modules/p-locate/index.d.ts +0 -53
  1780. package/test/node_modules/p-locate/index.js +0 -50
  1781. package/test/node_modules/p-locate/license +0 -9
  1782. package/test/node_modules/p-locate/package.json +0 -54
  1783. package/test/node_modules/p-locate/readme.md +0 -93
  1784. package/test/node_modules/package-json-from-dist/LICENSE.md +0 -63
  1785. package/test/node_modules/package-json-from-dist/README.md +0 -110
  1786. package/test/node_modules/package-json-from-dist/dist/commonjs/index.d.ts +0 -89
  1787. package/test/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +0 -1
  1788. package/test/node_modules/package-json-from-dist/dist/commonjs/index.js +0 -134
  1789. package/test/node_modules/package-json-from-dist/dist/commonjs/index.js.map +0 -1
  1790. package/test/node_modules/package-json-from-dist/dist/commonjs/package.json +0 -3
  1791. package/test/node_modules/package-json-from-dist/dist/esm/index.d.ts +0 -89
  1792. package/test/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +0 -1
  1793. package/test/node_modules/package-json-from-dist/dist/esm/index.js +0 -129
  1794. package/test/node_modules/package-json-from-dist/dist/esm/index.js.map +0 -1
  1795. package/test/node_modules/package-json-from-dist/dist/esm/package.json +0 -3
  1796. package/test/node_modules/package-json-from-dist/package.json +0 -68
  1797. package/test/node_modules/path-exists/index.d.ts +0 -28
  1798. package/test/node_modules/path-exists/index.js +0 -23
  1799. package/test/node_modules/path-exists/license +0 -9
  1800. package/test/node_modules/path-exists/package.json +0 -39
  1801. package/test/node_modules/path-exists/readme.md +0 -52
  1802. package/test/node_modules/path-key/index.d.ts +0 -40
  1803. package/test/node_modules/path-key/index.js +0 -16
  1804. package/test/node_modules/path-key/license +0 -9
  1805. package/test/node_modules/path-key/package.json +0 -39
  1806. package/test/node_modules/path-key/readme.md +0 -61
  1807. package/test/node_modules/path-scurry/LICENSE.md +0 -55
  1808. package/test/node_modules/path-scurry/README.md +0 -636
  1809. package/test/node_modules/path-scurry/dist/commonjs/index.d.ts +0 -1116
  1810. package/test/node_modules/path-scurry/dist/commonjs/index.d.ts.map +0 -1
  1811. package/test/node_modules/path-scurry/dist/commonjs/index.js +0 -2014
  1812. package/test/node_modules/path-scurry/dist/commonjs/index.js.map +0 -1
  1813. package/test/node_modules/path-scurry/dist/commonjs/package.json +0 -3
  1814. package/test/node_modules/path-scurry/dist/esm/index.d.ts +0 -1116
  1815. package/test/node_modules/path-scurry/dist/esm/index.d.ts.map +0 -1
  1816. package/test/node_modules/path-scurry/dist/esm/index.js +0 -1979
  1817. package/test/node_modules/path-scurry/dist/esm/index.js.map +0 -1
  1818. package/test/node_modules/path-scurry/dist/esm/package.json +0 -3
  1819. package/test/node_modules/path-scurry/package.json +0 -89
  1820. package/test/node_modules/pathval/LICENSE +0 -16
  1821. package/test/node_modules/pathval/README.md +0 -147
  1822. package/test/node_modules/pathval/index.js +0 -292
  1823. package/test/node_modules/pathval/package.json +0 -73
  1824. package/test/node_modules/pathval/pathval.js +0 -1
  1825. package/test/node_modules/picomatch/CHANGELOG.md +0 -136
  1826. package/test/node_modules/picomatch/LICENSE +0 -21
  1827. package/test/node_modules/picomatch/README.md +0 -708
  1828. package/test/node_modules/picomatch/index.js +0 -3
  1829. package/test/node_modules/picomatch/lib/constants.js +0 -179
  1830. package/test/node_modules/picomatch/lib/parse.js +0 -1091
  1831. package/test/node_modules/picomatch/lib/picomatch.js +0 -342
  1832. package/test/node_modules/picomatch/lib/scan.js +0 -391
  1833. package/test/node_modules/picomatch/lib/utils.js +0 -64
  1834. package/test/node_modules/picomatch/package.json +0 -81
  1835. package/test/node_modules/qs/.editorconfig +0 -46
  1836. package/test/node_modules/qs/.eslintrc +0 -39
  1837. package/test/node_modules/qs/.github/FUNDING.yml +0 -12
  1838. package/test/node_modules/qs/.nycrc +0 -13
  1839. package/test/node_modules/qs/CHANGELOG.md +0 -622
  1840. package/test/node_modules/qs/LICENSE.md +0 -29
  1841. package/test/node_modules/qs/README.md +0 -733
  1842. package/test/node_modules/qs/dist/qs.js +0 -141
  1843. package/test/node_modules/qs/lib/formats.js +0 -23
  1844. package/test/node_modules/qs/lib/index.js +0 -11
  1845. package/test/node_modules/qs/lib/parse.js +0 -328
  1846. package/test/node_modules/qs/lib/stringify.js +0 -356
  1847. package/test/node_modules/qs/lib/utils.js +0 -268
  1848. package/test/node_modules/qs/package.json +0 -93
  1849. package/test/node_modules/qs/test/empty-keys-cases.js +0 -267
  1850. package/test/node_modules/qs/test/parse.js +0 -1276
  1851. package/test/node_modules/qs/test/stringify.js +0 -1306
  1852. package/test/node_modules/qs/test/utils.js +0 -262
  1853. package/test/node_modules/randombytes/.travis.yml +0 -15
  1854. package/test/node_modules/randombytes/.zuul.yml +0 -1
  1855. package/test/node_modules/randombytes/LICENSE +0 -21
  1856. package/test/node_modules/randombytes/README.md +0 -14
  1857. package/test/node_modules/randombytes/browser.js +0 -50
  1858. package/test/node_modules/randombytes/index.js +0 -1
  1859. package/test/node_modules/randombytes/package.json +0 -36
  1860. package/test/node_modules/randombytes/test.js +0 -81
  1861. package/test/node_modules/readdirp/LICENSE +0 -21
  1862. package/test/node_modules/readdirp/README.md +0 -122
  1863. package/test/node_modules/readdirp/index.d.ts +0 -43
  1864. package/test/node_modules/readdirp/index.js +0 -287
  1865. package/test/node_modules/readdirp/package.json +0 -122
  1866. package/test/node_modules/require-directory/.jshintrc +0 -67
  1867. package/test/node_modules/require-directory/.travis.yml +0 -3
  1868. package/test/node_modules/require-directory/LICENSE +0 -22
  1869. package/test/node_modules/require-directory/README.markdown +0 -184
  1870. package/test/node_modules/require-directory/index.js +0 -86
  1871. package/test/node_modules/require-directory/package.json +0 -40
  1872. package/test/node_modules/safe-buffer/LICENSE +0 -21
  1873. package/test/node_modules/safe-buffer/README.md +0 -584
  1874. package/test/node_modules/safe-buffer/index.d.ts +0 -187
  1875. package/test/node_modules/safe-buffer/index.js +0 -65
  1876. package/test/node_modules/safe-buffer/package.json +0 -51
  1877. package/test/node_modules/serialize-javascript/LICENSE +0 -27
  1878. package/test/node_modules/serialize-javascript/README.md +0 -143
  1879. package/test/node_modules/serialize-javascript/index.js +0 -268
  1880. package/test/node_modules/serialize-javascript/package.json +0 -36
  1881. package/test/node_modules/sessionless-node/README.md +0 -44
  1882. package/test/node_modules/sessionless-node/package.json +0 -26
  1883. package/test/node_modules/sessionless-node/sessionless.cjs +0 -96
  1884. package/test/node_modules/sessionless-node/sessionless.js +0 -95
  1885. package/test/node_modules/sessionless-node/test/sessionless.js +0 -78
  1886. package/test/node_modules/shebang-command/index.js +0 -19
  1887. package/test/node_modules/shebang-command/license +0 -9
  1888. package/test/node_modules/shebang-command/package.json +0 -34
  1889. package/test/node_modules/shebang-command/readme.md +0 -34
  1890. package/test/node_modules/shebang-regex/index.d.ts +0 -22
  1891. package/test/node_modules/shebang-regex/index.js +0 -2
  1892. package/test/node_modules/shebang-regex/license +0 -9
  1893. package/test/node_modules/shebang-regex/package.json +0 -35
  1894. package/test/node_modules/shebang-regex/readme.md +0 -33
  1895. package/test/node_modules/side-channel/.editorconfig +0 -9
  1896. package/test/node_modules/side-channel/.eslintrc +0 -12
  1897. package/test/node_modules/side-channel/.github/FUNDING.yml +0 -12
  1898. package/test/node_modules/side-channel/.nycrc +0 -13
  1899. package/test/node_modules/side-channel/CHANGELOG.md +0 -110
  1900. package/test/node_modules/side-channel/LICENSE +0 -21
  1901. package/test/node_modules/side-channel/README.md +0 -61
  1902. package/test/node_modules/side-channel/index.d.ts +0 -14
  1903. package/test/node_modules/side-channel/index.js +0 -43
  1904. package/test/node_modules/side-channel/package.json +0 -85
  1905. package/test/node_modules/side-channel/test/index.js +0 -104
  1906. package/test/node_modules/side-channel/tsconfig.json +0 -9
  1907. package/test/node_modules/side-channel-list/.editorconfig +0 -9
  1908. package/test/node_modules/side-channel-list/.eslintrc +0 -11
  1909. package/test/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
  1910. package/test/node_modules/side-channel-list/.nycrc +0 -13
  1911. package/test/node_modules/side-channel-list/CHANGELOG.md +0 -15
  1912. package/test/node_modules/side-channel-list/LICENSE +0 -21
  1913. package/test/node_modules/side-channel-list/README.md +0 -62
  1914. package/test/node_modules/side-channel-list/index.d.ts +0 -13
  1915. package/test/node_modules/side-channel-list/index.js +0 -113
  1916. package/test/node_modules/side-channel-list/list.d.ts +0 -14
  1917. package/test/node_modules/side-channel-list/package.json +0 -77
  1918. package/test/node_modules/side-channel-list/test/index.js +0 -104
  1919. package/test/node_modules/side-channel-list/tsconfig.json +0 -9
  1920. package/test/node_modules/side-channel-map/.editorconfig +0 -9
  1921. package/test/node_modules/side-channel-map/.eslintrc +0 -11
  1922. package/test/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
  1923. package/test/node_modules/side-channel-map/.nycrc +0 -13
  1924. package/test/node_modules/side-channel-map/CHANGELOG.md +0 -22
  1925. package/test/node_modules/side-channel-map/LICENSE +0 -21
  1926. package/test/node_modules/side-channel-map/README.md +0 -62
  1927. package/test/node_modules/side-channel-map/index.d.ts +0 -15
  1928. package/test/node_modules/side-channel-map/index.js +0 -68
  1929. package/test/node_modules/side-channel-map/package.json +0 -80
  1930. package/test/node_modules/side-channel-map/test/index.js +0 -114
  1931. package/test/node_modules/side-channel-map/tsconfig.json +0 -9
  1932. package/test/node_modules/side-channel-weakmap/.editorconfig +0 -9
  1933. package/test/node_modules/side-channel-weakmap/.eslintrc +0 -12
  1934. package/test/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
  1935. package/test/node_modules/side-channel-weakmap/.nycrc +0 -13
  1936. package/test/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
  1937. package/test/node_modules/side-channel-weakmap/LICENSE +0 -21
  1938. package/test/node_modules/side-channel-weakmap/README.md +0 -62
  1939. package/test/node_modules/side-channel-weakmap/index.d.ts +0 -15
  1940. package/test/node_modules/side-channel-weakmap/index.js +0 -84
  1941. package/test/node_modules/side-channel-weakmap/package.json +0 -87
  1942. package/test/node_modules/side-channel-weakmap/test/index.js +0 -114
  1943. package/test/node_modules/side-channel-weakmap/tsconfig.json +0 -9
  1944. package/test/node_modules/signal-exit/LICENSE.txt +0 -16
  1945. package/test/node_modules/signal-exit/README.md +0 -74
  1946. package/test/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
  1947. package/test/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
  1948. package/test/node_modules/signal-exit/dist/cjs/browser.js +0 -10
  1949. package/test/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
  1950. package/test/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
  1951. package/test/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
  1952. package/test/node_modules/signal-exit/dist/cjs/index.js +0 -279
  1953. package/test/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
  1954. package/test/node_modules/signal-exit/dist/cjs/package.json +0 -3
  1955. package/test/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
  1956. package/test/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
  1957. package/test/node_modules/signal-exit/dist/cjs/signals.js +0 -42
  1958. package/test/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
  1959. package/test/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
  1960. package/test/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
  1961. package/test/node_modules/signal-exit/dist/mjs/browser.js +0 -4
  1962. package/test/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
  1963. package/test/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
  1964. package/test/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
  1965. package/test/node_modules/signal-exit/dist/mjs/index.js +0 -275
  1966. package/test/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
  1967. package/test/node_modules/signal-exit/dist/mjs/package.json +0 -3
  1968. package/test/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
  1969. package/test/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
  1970. package/test/node_modules/signal-exit/dist/mjs/signals.js +0 -39
  1971. package/test/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
  1972. package/test/node_modules/signal-exit/package.json +0 -106
  1973. package/test/node_modules/string-width/index.d.ts +0 -29
  1974. package/test/node_modules/string-width/index.js +0 -54
  1975. package/test/node_modules/string-width/license +0 -9
  1976. package/test/node_modules/string-width/package.json +0 -59
  1977. package/test/node_modules/string-width/readme.md +0 -67
  1978. package/test/node_modules/string-width-cjs/index.d.ts +0 -29
  1979. package/test/node_modules/string-width-cjs/index.js +0 -47
  1980. package/test/node_modules/string-width-cjs/license +0 -9
  1981. package/test/node_modules/string-width-cjs/node_modules/ansi-regex/index.d.ts +0 -37
  1982. package/test/node_modules/string-width-cjs/node_modules/ansi-regex/index.js +0 -10
  1983. package/test/node_modules/string-width-cjs/node_modules/ansi-regex/license +0 -9
  1984. package/test/node_modules/string-width-cjs/node_modules/ansi-regex/package.json +0 -55
  1985. package/test/node_modules/string-width-cjs/node_modules/ansi-regex/readme.md +0 -78
  1986. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  1987. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/README.md +0 -73
  1988. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/index.js +0 -6
  1989. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/text.js +0 -6
  1990. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/index.d.ts +0 -23
  1991. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/index.js +0 -6
  1992. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/package.json +0 -50
  1993. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/text.js +0 -6
  1994. package/test/node_modules/string-width-cjs/node_modules/strip-ansi/index.d.ts +0 -17
  1995. package/test/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +0 -4
  1996. package/test/node_modules/string-width-cjs/node_modules/strip-ansi/license +0 -9
  1997. package/test/node_modules/string-width-cjs/node_modules/strip-ansi/package.json +0 -54
  1998. package/test/node_modules/string-width-cjs/node_modules/strip-ansi/readme.md +0 -46
  1999. package/test/node_modules/string-width-cjs/package.json +0 -56
  2000. package/test/node_modules/string-width-cjs/readme.md +0 -50
  2001. package/test/node_modules/strip-ansi/index.d.ts +0 -15
  2002. package/test/node_modules/strip-ansi/index.js +0 -14
  2003. package/test/node_modules/strip-ansi/license +0 -9
  2004. package/test/node_modules/strip-ansi/package.json +0 -57
  2005. package/test/node_modules/strip-ansi/readme.md +0 -41
  2006. package/test/node_modules/strip-ansi-cjs/index.d.ts +0 -17
  2007. package/test/node_modules/strip-ansi-cjs/index.js +0 -4
  2008. package/test/node_modules/strip-ansi-cjs/license +0 -9
  2009. package/test/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.d.ts +0 -37
  2010. package/test/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +0 -10
  2011. package/test/node_modules/strip-ansi-cjs/node_modules/ansi-regex/license +0 -9
  2012. package/test/node_modules/strip-ansi-cjs/node_modules/ansi-regex/package.json +0 -55
  2013. package/test/node_modules/strip-ansi-cjs/node_modules/ansi-regex/readme.md +0 -78
  2014. package/test/node_modules/strip-ansi-cjs/package.json +0 -54
  2015. package/test/node_modules/strip-ansi-cjs/readme.md +0 -46
  2016. package/test/node_modules/strip-json-comments/index.d.ts +0 -36
  2017. package/test/node_modules/strip-json-comments/index.js +0 -77
  2018. package/test/node_modules/strip-json-comments/license +0 -9
  2019. package/test/node_modules/strip-json-comments/package.json +0 -47
  2020. package/test/node_modules/strip-json-comments/readme.md +0 -78
  2021. package/test/node_modules/superagent/LICENSE +0 -22
  2022. package/test/node_modules/superagent/README.md +0 -273
  2023. package/test/node_modules/superagent/dist/superagent.js +0 -3399
  2024. package/test/node_modules/superagent/dist/superagent.min.js +0 -1
  2025. package/test/node_modules/superagent/lib/agent-base.js +0 -28
  2026. package/test/node_modules/superagent/lib/client.js +0 -949
  2027. package/test/node_modules/superagent/lib/node/agent.js +0 -100
  2028. package/test/node_modules/superagent/lib/node/decompress.js +0 -20
  2029. package/test/node_modules/superagent/lib/node/http2wrapper.js +0 -158
  2030. package/test/node_modules/superagent/lib/node/index.js +0 -1318
  2031. package/test/node_modules/superagent/lib/node/parsers/image.js +0 -13
  2032. package/test/node_modules/superagent/lib/node/parsers/index.js +0 -11
  2033. package/test/node_modules/superagent/lib/node/parsers/json.js +0 -25
  2034. package/test/node_modules/superagent/lib/node/parsers/text.js +0 -11
  2035. package/test/node_modules/superagent/lib/node/parsers/urlencoded.js +0 -22
  2036. package/test/node_modules/superagent/lib/node/response.js +0 -143
  2037. package/test/node_modules/superagent/lib/node/unzip.js +0 -74
  2038. package/test/node_modules/superagent/lib/request-base.js +0 -720
  2039. package/test/node_modules/superagent/lib/response-base.js +0 -120
  2040. package/test/node_modules/superagent/lib/utils.js +0 -126
  2041. package/test/node_modules/superagent/package.json +0 -131
  2042. package/test/node_modules/supports-color/browser.js +0 -24
  2043. package/test/node_modules/supports-color/index.js +0 -152
  2044. package/test/node_modules/supports-color/license +0 -9
  2045. package/test/node_modules/supports-color/package.json +0 -58
  2046. package/test/node_modules/supports-color/readme.md +0 -77
  2047. package/test/node_modules/to-regex-range/LICENSE +0 -21
  2048. package/test/node_modules/to-regex-range/README.md +0 -305
  2049. package/test/node_modules/to-regex-range/index.js +0 -288
  2050. package/test/node_modules/to-regex-range/package.json +0 -88
  2051. package/test/node_modules/uuid/CHANGELOG.md +0 -274
  2052. package/test/node_modules/uuid/CONTRIBUTING.md +0 -18
  2053. package/test/node_modules/uuid/LICENSE.md +0 -9
  2054. package/test/node_modules/uuid/README.md +0 -466
  2055. package/test/node_modules/uuid/dist/bin/uuid +0 -2
  2056. package/test/node_modules/uuid/dist/commonjs-browser/index.js +0 -79
  2057. package/test/node_modules/uuid/dist/commonjs-browser/md5.js +0 -223
  2058. package/test/node_modules/uuid/dist/commonjs-browser/native.js +0 -11
  2059. package/test/node_modules/uuid/dist/commonjs-browser/nil.js +0 -8
  2060. package/test/node_modules/uuid/dist/commonjs-browser/parse.js +0 -45
  2061. package/test/node_modules/uuid/dist/commonjs-browser/regex.js +0 -8
  2062. package/test/node_modules/uuid/dist/commonjs-browser/rng.js +0 -25
  2063. package/test/node_modules/uuid/dist/commonjs-browser/sha1.js +0 -104
  2064. package/test/node_modules/uuid/dist/commonjs-browser/stringify.js +0 -44
  2065. package/test/node_modules/uuid/dist/commonjs-browser/v1.js +0 -107
  2066. package/test/node_modules/uuid/dist/commonjs-browser/v3.js +0 -16
  2067. package/test/node_modules/uuid/dist/commonjs-browser/v35.js +0 -80
  2068. package/test/node_modules/uuid/dist/commonjs-browser/v4.js +0 -43
  2069. package/test/node_modules/uuid/dist/commonjs-browser/v5.js +0 -16
  2070. package/test/node_modules/uuid/dist/commonjs-browser/validate.js +0 -17
  2071. package/test/node_modules/uuid/dist/commonjs-browser/version.js +0 -21
  2072. package/test/node_modules/uuid/dist/esm-browser/index.js +0 -9
  2073. package/test/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  2074. package/test/node_modules/uuid/dist/esm-browser/native.js +0 -4
  2075. package/test/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  2076. package/test/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  2077. package/test/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  2078. package/test/node_modules/uuid/dist/esm-browser/rng.js +0 -18
  2079. package/test/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  2080. package/test/node_modules/uuid/dist/esm-browser/stringify.js +0 -33
  2081. package/test/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  2082. package/test/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  2083. package/test/node_modules/uuid/dist/esm-browser/v35.js +0 -66
  2084. package/test/node_modules/uuid/dist/esm-browser/v4.js +0 -29
  2085. package/test/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  2086. package/test/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  2087. package/test/node_modules/uuid/dist/esm-browser/version.js +0 -11
  2088. package/test/node_modules/uuid/dist/esm-node/index.js +0 -9
  2089. package/test/node_modules/uuid/dist/esm-node/md5.js +0 -13
  2090. package/test/node_modules/uuid/dist/esm-node/native.js +0 -4
  2091. package/test/node_modules/uuid/dist/esm-node/nil.js +0 -1
  2092. package/test/node_modules/uuid/dist/esm-node/parse.js +0 -35
  2093. package/test/node_modules/uuid/dist/esm-node/regex.js +0 -1
  2094. package/test/node_modules/uuid/dist/esm-node/rng.js +0 -12
  2095. package/test/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  2096. package/test/node_modules/uuid/dist/esm-node/stringify.js +0 -33
  2097. package/test/node_modules/uuid/dist/esm-node/v1.js +0 -95
  2098. package/test/node_modules/uuid/dist/esm-node/v3.js +0 -4
  2099. package/test/node_modules/uuid/dist/esm-node/v35.js +0 -66
  2100. package/test/node_modules/uuid/dist/esm-node/v4.js +0 -29
  2101. package/test/node_modules/uuid/dist/esm-node/v5.js +0 -4
  2102. package/test/node_modules/uuid/dist/esm-node/validate.js +0 -7
  2103. package/test/node_modules/uuid/dist/esm-node/version.js +0 -11
  2104. package/test/node_modules/uuid/dist/index.js +0 -79
  2105. package/test/node_modules/uuid/dist/md5-browser.js +0 -223
  2106. package/test/node_modules/uuid/dist/md5.js +0 -23
  2107. package/test/node_modules/uuid/dist/native-browser.js +0 -11
  2108. package/test/node_modules/uuid/dist/native.js +0 -15
  2109. package/test/node_modules/uuid/dist/nil.js +0 -8
  2110. package/test/node_modules/uuid/dist/parse.js +0 -45
  2111. package/test/node_modules/uuid/dist/regex.js +0 -8
  2112. package/test/node_modules/uuid/dist/rng-browser.js +0 -25
  2113. package/test/node_modules/uuid/dist/rng.js +0 -24
  2114. package/test/node_modules/uuid/dist/sha1-browser.js +0 -104
  2115. package/test/node_modules/uuid/dist/sha1.js +0 -23
  2116. package/test/node_modules/uuid/dist/stringify.js +0 -44
  2117. package/test/node_modules/uuid/dist/uuid-bin.js +0 -85
  2118. package/test/node_modules/uuid/dist/v1.js +0 -107
  2119. package/test/node_modules/uuid/dist/v3.js +0 -16
  2120. package/test/node_modules/uuid/dist/v35.js +0 -80
  2121. package/test/node_modules/uuid/dist/v4.js +0 -43
  2122. package/test/node_modules/uuid/dist/v5.js +0 -16
  2123. package/test/node_modules/uuid/dist/validate.js +0 -17
  2124. package/test/node_modules/uuid/dist/version.js +0 -21
  2125. package/test/node_modules/uuid/package.json +0 -135
  2126. package/test/node_modules/uuid/wrapper.mjs +0 -10
  2127. package/test/node_modules/web-streams-polyfill/LICENSE +0 -22
  2128. package/test/node_modules/web-streams-polyfill/README.md +0 -110
  2129. package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.js +0 -4765
  2130. package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.js.map +0 -1
  2131. package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js +0 -9
  2132. package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js.map +0 -1
  2133. package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs +0 -4745
  2134. package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs.map +0 -1
  2135. package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.js +0 -4838
  2136. package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.js.map +0 -1
  2137. package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js +0 -9
  2138. package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js.map +0 -1
  2139. package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs +0 -4818
  2140. package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs.map +0 -1
  2141. package/test/node_modules/web-streams-polyfill/dist/polyfill.js +0 -5011
  2142. package/test/node_modules/web-streams-polyfill/dist/polyfill.js.map +0 -1
  2143. package/test/node_modules/web-streams-polyfill/dist/polyfill.min.js +0 -9
  2144. package/test/node_modules/web-streams-polyfill/dist/polyfill.min.js.map +0 -1
  2145. package/test/node_modules/web-streams-polyfill/dist/polyfill.mjs +0 -4991
  2146. package/test/node_modules/web-streams-polyfill/dist/polyfill.mjs.map +0 -1
  2147. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +0 -4737
  2148. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +0 -1
  2149. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs +0 -4717
  2150. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs.map +0 -1
  2151. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es6.js +0 -4810
  2152. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es6.js.map +0 -1
  2153. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs +0 -4790
  2154. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs.map +0 -1
  2155. package/test/node_modules/web-streams-polyfill/dist/ponyfill.js +0 -4983
  2156. package/test/node_modules/web-streams-polyfill/dist/ponyfill.js.map +0 -1
  2157. package/test/node_modules/web-streams-polyfill/dist/ponyfill.mjs +0 -4963
  2158. package/test/node_modules/web-streams-polyfill/dist/ponyfill.mjs.map +0 -1
  2159. package/test/node_modules/web-streams-polyfill/dist/types/polyfill.d.ts +0 -24
  2160. package/test/node_modules/web-streams-polyfill/dist/types/ponyfill.d.ts +0 -780
  2161. package/test/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts +0 -28
  2162. package/test/node_modules/web-streams-polyfill/dist/types/ts3.6/ponyfill.d.ts +0 -821
  2163. package/test/node_modules/web-streams-polyfill/dist/types/tsdoc-metadata.json +0 -11
  2164. package/test/node_modules/web-streams-polyfill/es2018/package.json +0 -14
  2165. package/test/node_modules/web-streams-polyfill/es6/package.json +0 -14
  2166. package/test/node_modules/web-streams-polyfill/package.json +0 -83
  2167. package/test/node_modules/web-streams-polyfill/ponyfill/es2018/package.json +0 -13
  2168. package/test/node_modules/web-streams-polyfill/ponyfill/es6/package.json +0 -13
  2169. package/test/node_modules/web-streams-polyfill/ponyfill/package.json +0 -13
  2170. package/test/node_modules/which/CHANGELOG.md +0 -166
  2171. package/test/node_modules/which/LICENSE +0 -15
  2172. package/test/node_modules/which/README.md +0 -54
  2173. package/test/node_modules/which/bin/node-which +0 -52
  2174. package/test/node_modules/which/package.json +0 -43
  2175. package/test/node_modules/which/which.js +0 -125
  2176. package/test/node_modules/workerpool/HISTORY.md +0 -330
  2177. package/test/node_modules/workerpool/LICENSE +0 -201
  2178. package/test/node_modules/workerpool/README.md +0 -529
  2179. package/test/node_modules/workerpool/dist/worker.js +0 -318
  2180. package/test/node_modules/workerpool/dist/worker.js.map +0 -1
  2181. package/test/node_modules/workerpool/dist/workerpool.js +0 -1645
  2182. package/test/node_modules/workerpool/dist/workerpool.js.map +0 -1
  2183. package/test/node_modules/workerpool/dist/workerpool.min.js +0 -3
  2184. package/test/node_modules/workerpool/dist/workerpool.min.js.LICENSE.txt +0 -24
  2185. package/test/node_modules/workerpool/dist/workerpool.min.js.map +0 -1
  2186. package/test/node_modules/workerpool/package.json +0 -51
  2187. package/test/node_modules/workerpool/src/Pool.js +0 -452
  2188. package/test/node_modules/workerpool/src/Promise.js +0 -279
  2189. package/test/node_modules/workerpool/src/WorkerHandler.js +0 -508
  2190. package/test/node_modules/workerpool/src/debug-port-allocator.js +0 -28
  2191. package/test/node_modules/workerpool/src/environment.js +0 -36
  2192. package/test/node_modules/workerpool/src/generated/embeddedWorker.js +0 -6
  2193. package/test/node_modules/workerpool/src/header.js +0 -24
  2194. package/test/node_modules/workerpool/src/index.js +0 -48
  2195. package/test/node_modules/workerpool/src/requireFoolWebpack.js +0 -8
  2196. package/test/node_modules/workerpool/src/transfer.js +0 -12
  2197. package/test/node_modules/workerpool/src/types.js +0 -31
  2198. package/test/node_modules/workerpool/src/worker.js +0 -263
  2199. package/test/node_modules/wrap-ansi/index.d.ts +0 -41
  2200. package/test/node_modules/wrap-ansi/index.js +0 -214
  2201. package/test/node_modules/wrap-ansi/license +0 -9
  2202. package/test/node_modules/wrap-ansi/node_modules/ansi-styles/index.d.ts +0 -236
  2203. package/test/node_modules/wrap-ansi/node_modules/ansi-styles/index.js +0 -223
  2204. package/test/node_modules/wrap-ansi/node_modules/ansi-styles/license +0 -9
  2205. package/test/node_modules/wrap-ansi/node_modules/ansi-styles/package.json +0 -54
  2206. package/test/node_modules/wrap-ansi/node_modules/ansi-styles/readme.md +0 -173
  2207. package/test/node_modules/wrap-ansi/package.json +0 -69
  2208. package/test/node_modules/wrap-ansi/readme.md +0 -91
  2209. package/test/node_modules/wrap-ansi-cjs/index.js +0 -216
  2210. package/test/node_modules/wrap-ansi-cjs/license +0 -9
  2211. package/test/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.d.ts +0 -37
  2212. package/test/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.js +0 -10
  2213. package/test/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/license +0 -9
  2214. package/test/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/package.json +0 -55
  2215. package/test/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/readme.md +0 -78
  2216. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  2217. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/README.md +0 -73
  2218. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/index.js +0 -6
  2219. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/text.js +0 -6
  2220. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.d.ts +0 -23
  2221. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.js +0 -6
  2222. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/package.json +0 -50
  2223. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/text.js +0 -6
  2224. package/test/node_modules/wrap-ansi-cjs/node_modules/string-width/index.d.ts +0 -29
  2225. package/test/node_modules/wrap-ansi-cjs/node_modules/string-width/index.js +0 -47
  2226. package/test/node_modules/wrap-ansi-cjs/node_modules/string-width/license +0 -9
  2227. package/test/node_modules/wrap-ansi-cjs/node_modules/string-width/package.json +0 -56
  2228. package/test/node_modules/wrap-ansi-cjs/node_modules/string-width/readme.md +0 -50
  2229. package/test/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.d.ts +0 -17
  2230. package/test/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +0 -4
  2231. package/test/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/license +0 -9
  2232. package/test/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/package.json +0 -54
  2233. package/test/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/readme.md +0 -46
  2234. package/test/node_modules/wrap-ansi-cjs/package.json +0 -62
  2235. package/test/node_modules/wrap-ansi-cjs/readme.md +0 -91
  2236. package/test/node_modules/wrappy/LICENSE +0 -15
  2237. package/test/node_modules/wrappy/README.md +0 -36
  2238. package/test/node_modules/wrappy/package.json +0 -29
  2239. package/test/node_modules/wrappy/wrappy.js +0 -33
  2240. package/test/node_modules/y18n/CHANGELOG.md +0 -100
  2241. package/test/node_modules/y18n/LICENSE +0 -13
  2242. package/test/node_modules/y18n/README.md +0 -127
  2243. package/test/node_modules/y18n/build/index.cjs +0 -203
  2244. package/test/node_modules/y18n/build/lib/cjs.js +0 -6
  2245. package/test/node_modules/y18n/build/lib/index.js +0 -174
  2246. package/test/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
  2247. package/test/node_modules/y18n/index.mjs +0 -8
  2248. package/test/node_modules/y18n/package.json +0 -70
  2249. package/test/node_modules/yargs/LICENSE +0 -21
  2250. package/test/node_modules/yargs/README.md +0 -204
  2251. package/test/node_modules/yargs/browser.d.ts +0 -5
  2252. package/test/node_modules/yargs/browser.mjs +0 -7
  2253. package/test/node_modules/yargs/build/index.cjs +0 -1
  2254. package/test/node_modules/yargs/build/lib/argsert.js +0 -62
  2255. package/test/node_modules/yargs/build/lib/command.js +0 -449
  2256. package/test/node_modules/yargs/build/lib/completion-templates.js +0 -48
  2257. package/test/node_modules/yargs/build/lib/completion.js +0 -243
  2258. package/test/node_modules/yargs/build/lib/middleware.js +0 -88
  2259. package/test/node_modules/yargs/build/lib/parse-command.js +0 -32
  2260. package/test/node_modules/yargs/build/lib/typings/common-types.js +0 -9
  2261. package/test/node_modules/yargs/build/lib/typings/yargs-parser-types.js +0 -1
  2262. package/test/node_modules/yargs/build/lib/usage.js +0 -584
  2263. package/test/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
  2264. package/test/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
  2265. package/test/node_modules/yargs/build/lib/utils/levenshtein.js +0 -34
  2266. package/test/node_modules/yargs/build/lib/utils/maybe-async-result.js +0 -17
  2267. package/test/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
  2268. package/test/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
  2269. package/test/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
  2270. package/test/node_modules/yargs/build/lib/utils/which-module.js +0 -10
  2271. package/test/node_modules/yargs/build/lib/validation.js +0 -305
  2272. package/test/node_modules/yargs/build/lib/yargs-factory.js +0 -1512
  2273. package/test/node_modules/yargs/build/lib/yerror.js +0 -9
  2274. package/test/node_modules/yargs/helpers/helpers.mjs +0 -10
  2275. package/test/node_modules/yargs/helpers/index.js +0 -14
  2276. package/test/node_modules/yargs/helpers/package.json +0 -3
  2277. package/test/node_modules/yargs/index.cjs +0 -53
  2278. package/test/node_modules/yargs/index.mjs +0 -8
  2279. package/test/node_modules/yargs/lib/platform-shims/browser.mjs +0 -95
  2280. package/test/node_modules/yargs/lib/platform-shims/esm.mjs +0 -73
  2281. package/test/node_modules/yargs/locales/be.json +0 -46
  2282. package/test/node_modules/yargs/locales/cs.json +0 -51
  2283. package/test/node_modules/yargs/locales/de.json +0 -46
  2284. package/test/node_modules/yargs/locales/en.json +0 -55
  2285. package/test/node_modules/yargs/locales/es.json +0 -46
  2286. package/test/node_modules/yargs/locales/fi.json +0 -49
  2287. package/test/node_modules/yargs/locales/fr.json +0 -53
  2288. package/test/node_modules/yargs/locales/hi.json +0 -49
  2289. package/test/node_modules/yargs/locales/hu.json +0 -46
  2290. package/test/node_modules/yargs/locales/id.json +0 -50
  2291. package/test/node_modules/yargs/locales/it.json +0 -46
  2292. package/test/node_modules/yargs/locales/ja.json +0 -51
  2293. package/test/node_modules/yargs/locales/ko.json +0 -49
  2294. package/test/node_modules/yargs/locales/nb.json +0 -44
  2295. package/test/node_modules/yargs/locales/nl.json +0 -49
  2296. package/test/node_modules/yargs/locales/nn.json +0 -44
  2297. package/test/node_modules/yargs/locales/pirate.json +0 -13
  2298. package/test/node_modules/yargs/locales/pl.json +0 -49
  2299. package/test/node_modules/yargs/locales/pt.json +0 -45
  2300. package/test/node_modules/yargs/locales/pt_BR.json +0 -48
  2301. package/test/node_modules/yargs/locales/ru.json +0 -51
  2302. package/test/node_modules/yargs/locales/th.json +0 -46
  2303. package/test/node_modules/yargs/locales/tr.json +0 -48
  2304. package/test/node_modules/yargs/locales/uk_UA.json +0 -51
  2305. package/test/node_modules/yargs/locales/uz.json +0 -52
  2306. package/test/node_modules/yargs/locales/zh_CN.json +0 -48
  2307. package/test/node_modules/yargs/locales/zh_TW.json +0 -51
  2308. package/test/node_modules/yargs/node_modules/ansi-regex/index.d.ts +0 -37
  2309. package/test/node_modules/yargs/node_modules/ansi-regex/index.js +0 -10
  2310. package/test/node_modules/yargs/node_modules/ansi-regex/license +0 -9
  2311. package/test/node_modules/yargs/node_modules/ansi-regex/package.json +0 -55
  2312. package/test/node_modules/yargs/node_modules/ansi-regex/readme.md +0 -78
  2313. package/test/node_modules/yargs/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  2314. package/test/node_modules/yargs/node_modules/emoji-regex/README.md +0 -73
  2315. package/test/node_modules/yargs/node_modules/emoji-regex/es2015/index.js +0 -6
  2316. package/test/node_modules/yargs/node_modules/emoji-regex/es2015/text.js +0 -6
  2317. package/test/node_modules/yargs/node_modules/emoji-regex/index.d.ts +0 -23
  2318. package/test/node_modules/yargs/node_modules/emoji-regex/index.js +0 -6
  2319. package/test/node_modules/yargs/node_modules/emoji-regex/package.json +0 -50
  2320. package/test/node_modules/yargs/node_modules/emoji-regex/text.js +0 -6
  2321. package/test/node_modules/yargs/node_modules/string-width/index.d.ts +0 -29
  2322. package/test/node_modules/yargs/node_modules/string-width/index.js +0 -47
  2323. package/test/node_modules/yargs/node_modules/string-width/license +0 -9
  2324. package/test/node_modules/yargs/node_modules/string-width/package.json +0 -56
  2325. package/test/node_modules/yargs/node_modules/string-width/readme.md +0 -50
  2326. package/test/node_modules/yargs/node_modules/strip-ansi/index.d.ts +0 -17
  2327. package/test/node_modules/yargs/node_modules/strip-ansi/index.js +0 -4
  2328. package/test/node_modules/yargs/node_modules/strip-ansi/license +0 -9
  2329. package/test/node_modules/yargs/node_modules/strip-ansi/package.json +0 -54
  2330. package/test/node_modules/yargs/node_modules/strip-ansi/readme.md +0 -46
  2331. package/test/node_modules/yargs/package.json +0 -123
  2332. package/test/node_modules/yargs/yargs +0 -9
  2333. package/test/node_modules/yargs/yargs.mjs +0 -10
  2334. package/test/node_modules/yargs-parser/CHANGELOG.md +0 -308
  2335. package/test/node_modules/yargs-parser/LICENSE.txt +0 -14
  2336. package/test/node_modules/yargs-parser/README.md +0 -518
  2337. package/test/node_modules/yargs-parser/browser.js +0 -29
  2338. package/test/node_modules/yargs-parser/build/index.cjs +0 -1050
  2339. package/test/node_modules/yargs-parser/build/lib/index.js +0 -62
  2340. package/test/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
  2341. package/test/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
  2342. package/test/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
  2343. package/test/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1045
  2344. package/test/node_modules/yargs-parser/package.json +0 -92
  2345. package/test/node_modules/yargs-unparser/CHANGELOG.md +0 -82
  2346. package/test/node_modules/yargs-unparser/LICENSE +0 -21
  2347. package/test/node_modules/yargs-unparser/README.md +0 -86
  2348. package/test/node_modules/yargs-unparser/index.js +0 -166
  2349. package/test/node_modules/yargs-unparser/package.json +0 -49
  2350. package/test/node_modules/yocto-queue/index.d.ts +0 -56
  2351. package/test/node_modules/yocto-queue/index.js +0 -68
  2352. package/test/node_modules/yocto-queue/license +0 -9
  2353. package/test/node_modules/yocto-queue/package.json +0 -43
  2354. package/test/node_modules/yocto-queue/readme.md +0 -64
  2355. package/test/package-lock.json +0 -1997
  2356. package/test/package.json +0 -20
  2357. package/test/test.js +0 -87
@@ -1 +0,0 @@
1
- {"version":3,"file":"workerpool.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;ACVA,IAAIA,OAAO,GAAGC,mBAAO,CAAC,GAAW,CAAC;AAClC,IAAIC,aAAa,GAAGD,mBAAO,CAAC,GAAiB,CAAC;AAC9C,IAAIE,WAAW,GAAGF,mBAAO,CAAC,GAAe,CAAC;AAC1C,IAAIG,kBAAkB,GAAGH,mBAAO,CAAC,GAAwB,CAAC;AAC1D,IAAII,oBAAoB,GAAG,IAAID,kBAAkB,CAAC,CAAC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA,SAASE,IAAIA,CAACC,MAAM,EAAEC,OAAO,EAAE;EAC7B,IAAI,OAAOD,MAAM,KAAK,QAAQ,EAAE;IAC9B,IAAI,CAACA,MAAM,GAAGA,MAAM,IAAI,IAAI;EAC9B,CAAC,MACI;IACH,IAAI,CAACA,MAAM,GAAG,IAAI;IAClBC,OAAO,GAAGD,MAAM;EAClB;EAEA,IAAI,CAACE,OAAO,GAAG,EAAE,CAAC,CAAE;EACpB,IAAI,CAACC,KAAK,GAAG,EAAE,CAAC,CAAI;;EAEpBF,OAAO,GAAGA,OAAO,IAAI,CAAC,CAAC;EAEvB,IAAI,CAACG,QAAQ,GAAGC,MAAM,CAACC,MAAM,CAACL,OAAO,CAACG,QAAQ,IAAI,EAAE,CAAC;EACrD,IAAI,CAACG,QAAQ,GAAGF,MAAM,CAACC,MAAM,CAACL,OAAO,CAACM,QAAQ,IAAI,CAAC,CAAC,CAAC;EACrD,I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ition","webpack://workerpool/./src/Pool.js","webpack://workerpool/./src/Promise.js","webpack://workerpool/./src/WorkerHandler.js","webpack://workerpool/./src/debug-port-allocator.js","webpack://workerpool/./src/environment.js","webpack://workerpool/./src/generated/embeddedWorker.js","webpack://workerpool/./src/requireFoolWebpack.js","webpack://workerpool/./src/transfer.js","webpack://workerpool/./src/worker.js","webpack://workerpool/webpack/bootstrap","webpack://workerpool/./src/index.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"workerpool\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"workerpool\"] = factory();\n\telse\n\t\troot[\"workerpool\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn ","var Promise = require('./Promise');\nvar WorkerHandler = require('./WorkerHandler');\nvar environment = require('./environment');\nvar DebugPortAllocator = require('./debug-port-allocator');\nvar DEBUG_PORT_ALLOCATOR = new DebugPortAllocator();\n/**\n * A pool to manage workers\n * @param {String} [script] Optional worker script\n * @param {WorkerPoolOptions} [options] See docs\n * @constructor\n */\nfunction Pool(script, options) {\n if (typeof script === 'string') {\n this.script = script || null;\n }\n else {\n this.script = null;\n options = script;\n }\n\n this.workers = []; // queue with all workers\n this.tasks = []; // queue with tasks awaiting execution\n\n options = options || {};\n\n this.forkArgs = Object.freeze(options.forkArgs || []);\n this.forkOpts = Object.freeze(options.forkOpts || {});\n this.workerOpts = Object.freeze(options.workerOpts || {});\n this.workerThreadOpts = Object.freeze(options.workerThreadOpts || {})\n this.debugPortStart = (options.debugPortStart || 43210);\n this.nodeWorker = options.nodeWorker;\n this.workerType = options.workerType || options.nodeWorker || 'auto'\n this.maxQueueSize = options.maxQueueSize || Infinity;\n this.workerTerminateTimeout = options.workerTerminateTimeout || 1000;\n\n this.onCreateWorker = options.onCreateWorker || (() => null);\n this.onTerminateWorker = options.onTerminateWorker || (() => null);\n\n // configuration\n if (options && 'maxWorkers' in options) {\n validateMaxWorkers(options.maxWorkers);\n this.maxWorkers = options.maxWorkers;\n }\n else {\n this.maxWorkers = Math.max((environment.cpus || 4) - 1, 1);\n }\n\n if (options && 'minWorkers' in options) {\n if(options.minWorkers === 'max') {\n this.minWorkers = this.maxWorkers;\n } else {\n validateMinWorkers(options.minWorkers);\n this.minWorkers = options.minWorkers;\n this.maxWorkers = Math.max(this.minWorkers, this.maxWorkers); // in case minWorkers is higher than maxWorkers\n }\n this._ensureMinWorkers();\n }\n\n this._boundNext = this._next.bind(this);\n\n\n if (this.workerType === 'thread') {\n WorkerHandler.ensureWorkerThreads();\n }\n}\n\n\n/**\n * Execute a function on a worker.\n *\n * Example usage:\n *\n * var pool = new Pool()\n *\n * // call a function available on the worker\n * pool.exec('fibonacci', [6])\n *\n * // offload a function\n * function add(a, b) {\n * return a + b\n * };\n * pool.exec(add, [2, 4])\n * .then(function (result) {\n * console.log(result); // outputs 6\n * })\n * .catch(function(error) {\n * console.log(error);\n * });\n *\n * @param {String | Function} method Function name or function.\n * If `method` is a string, the corresponding\n * method on the worker will be executed\n * If `method` is a Function, the function\n * will be stringified and executed via the\n * workers built-in function `run(fn, args)`.\n * @param {Array} [params] Function arguments applied when calling the function\n * @param {ExecOptions} [options] Options object\n * @return {Promise.<*, Error>} result\n */\nPool.prototype.exec = function (method, params, options) {\n // validate type of arguments\n if (params && !Array.isArray(params)) {\n throw new TypeError('Array expected as argument \"params\"');\n }\n\n if (typeof method === 'string') {\n var resolver = Promise.defer();\n\n if (this.tasks.length >= this.maxQueueSize) {\n throw new Error('Max queue size of ' + this.maxQueueSize + ' reached');\n }\n\n // add a new task to the queue\n var tasks = this.tasks;\n var task = {\n method: method,\n params: params,\n resolver: resolver,\n timeout: null,\n options: options\n };\n tasks.push(task);\n\n // replace the timeout method of the Promise with our own,\n // which starts the timer as soon as the task is actually started\n var originalTimeout = resolver.promise.timeout;\n resolver.promise.timeout = function timeout (delay) {\n if (tasks.indexOf(task) !== -1) {\n // task is still queued -> start the timer later on\n task.timeout = delay;\n return resolver.promise;\n }\n else {\n // task is already being executed -> start timer immediately\n return originalTimeout.call(resolver.promise, delay);\n }\n };\n\n // trigger task execution\n this._next();\n\n return resolver.promise;\n }\n else if (typeof method === 'function') {\n // send stringified function and function arguments to worker\n return this.exec('run', [String(method), params]);\n }\n else {\n throw new TypeError('Function or string expected as argument \"method\"');\n }\n};\n\n/**\n * Create a proxy for current worker. Returns an object containing all\n * methods available on the worker. The methods always return a promise.\n *\n * @return {Promise.<Object, Error>} proxy\n */\nPool.prototype.proxy = function () {\n if (arguments.length > 0) {\n throw new Error('No arguments expected');\n }\n\n var pool = this;\n return this.exec('methods')\n .then(function (methods) {\n var proxy = {};\n\n methods.forEach(function (method) {\n proxy[method] = function () {\n return pool.exec(method, Array.prototype.slice.call(arguments));\n }\n });\n\n return proxy;\n });\n};\n\n/**\n * Creates new array with the results of calling a provided callback function\n * on every element in this array.\n * @param {Array} array\n * @param {function} callback Function taking two arguments:\n * `callback(currentValue, index)`\n * @return {Promise.<Array>} Returns a promise which resolves with an Array\n * containing the results of the callback function\n * executed for each of the array elements.\n */\n/* TODO: implement map\nPool.prototype.map = function (array, callback) {\n};\n*/\n\n/**\n * Grab the first task from the queue, find a free worker, and assign the\n * worker to the task.\n * @protected\n */\nPool.prototype._next = function () {\n if (this.tasks.length > 0) {\n // there are tasks in the queue\n\n // find an available worker\n var worker = this._getWorker();\n if (worker) {\n // get the first task from the queue\n var me = this;\n var task = this.tasks.shift();\n\n // check if the task is still pending (and not cancelled -> promise rejected)\n if (task.resolver.promise.pending) {\n // send the request to the worker\n var promise = worker.exec(task.method, task.params, task.resolver, task.options)\n .then(me._boundNext)\n .catch(function () {\n // if the worker crashed and terminated, remove it from the pool\n if (worker.terminated) {\n return me._removeWorker(worker);\n }\n }).then(function() {\n me._next(); // trigger next task in the queue\n });\n\n // start queued timer now\n if (typeof task.timeout === 'number') {\n promise.timeout(task.timeout);\n }\n } else {\n // The task taken was already complete (either rejected or resolved), so just trigger next task in the queue\n me._next();\n }\n }\n }\n};\n\n/**\n * Get an available worker. If no worker is available and the maximum number\n * of workers isn't yet reached, a new worker will be created and returned.\n * If no worker is available and the maximum number of workers is reached,\n * null will be returned.\n *\n * @return {WorkerHandler | null} worker\n * @private\n */\nPool.prototype._getWorker = function() {\n // find a non-busy worker\n var workers = this.workers;\n for (var i = 0; i < workers.length; i++) {\n var worker = workers[i];\n if (worker.busy() === false) {\n return worker;\n }\n }\n\n if (workers.length < this.maxWorkers) {\n // create a new worker\n worker = this._createWorkerHandler();\n workers.push(worker);\n return worker;\n }\n\n return null;\n};\n\n/**\n * Remove a worker from the pool.\n * Attempts to terminate worker if not already terminated, and ensures the minimum\n * pool size is met.\n * @param {WorkerHandler} worker\n * @return {Promise<WorkerHandler>}\n * @protected\n */\nPool.prototype._removeWorker = function(worker) {\n var me = this;\n\n DEBUG_PORT_ALLOCATOR.releasePort(worker.debugPort);\n // _removeWorker will call this, but we need it to be removed synchronously\n this._removeWorkerFromList(worker);\n // If minWorkers set, spin up new workers to replace the crashed ones\n this._ensureMinWorkers();\n // terminate the worker (if not already terminated)\n return new Promise(function(resolve, reject) {\n worker.terminate(false, function(err) {\n me.onTerminateWorker({\n forkArgs: worker.forkArgs,\n forkOpts: worker.forkOpts,\n workerThreadOpts: worker.workerThreadOpts,\n script: worker.script\n });\n if (err) {\n reject(err);\n } else {\n resolve(worker);\n }\n });\n });\n};\n\n/**\n * Remove a worker from the pool list.\n * @param {WorkerHandler} worker\n * @protected\n */\nPool.prototype._removeWorkerFromList = function(worker) {\n // remove from the list with workers\n var index = this.workers.indexOf(worker);\n if (index !== -1) {\n this.workers.splice(index, 1);\n }\n};\n\n/**\n * Close all active workers. Tasks currently being executed will be finished first.\n * @param {boolean} [force=false] If false (default), the workers are terminated\n * after finishing all tasks currently in\n * progress. If true, the workers will be\n * terminated immediately.\n * @param {number} [timeout] If provided and non-zero, worker termination promise will be rejected\n * after timeout if worker process has not been terminated.\n * @return {Promise.<void, Error>}\n */\nPool.prototype.terminate = function (force, timeout) {\n var me = this;\n\n // cancel any pending tasks\n this.tasks.forEach(function (task) {\n task.resolver.reject(new Error('Pool terminated'));\n });\n this.tasks.length = 0;\n\n var f = function (worker) {\n DEBUG_PORT_ALLOCATOR.releasePort(worker.debugPort);\n this._removeWorkerFromList(worker);\n };\n var removeWorker = f.bind(this);\n\n var promises = [];\n var workers = this.workers.slice();\n workers.forEach(function (worker) {\n var termPromise = worker.terminateAndNotify(force, timeout)\n .then(removeWorker)\n .always(function() {\n me.onTerminateWorker({\n forkArgs: worker.forkArgs,\n forkOpts: worker.forkOpts,\n workerThreadOpts: worker.workerThreadOpts,\n script: worker.script\n });\n });\n promises.push(termPromise);\n });\n return Promise.all(promises);\n};\n\n/**\n * Retrieve statistics on tasks and workers.\n * @return {{totalWorkers: number, busyWorkers: number, idleWorkers: number, pendingTasks: number, activeTasks: number}} Returns an object with statistics\n */\nPool.prototype.stats = function () {\n var totalWorkers = this.workers.length;\n var busyWorkers = this.workers.filter(function (worker) {\n return worker.busy();\n }).length;\n\n return {\n totalWorkers: totalWorkers,\n busyWorkers: busyWorkers,\n idleWorkers: totalWorkers - busyWorkers,\n\n pendingTasks: this.tasks.length,\n activeTasks: busyWorkers\n };\n};\n\n/**\n * Ensures that a minimum of minWorkers is up and running\n * @protected\n */\nPool.prototype._ensureMinWorkers = function() {\n if (this.minWorkers) {\n for(var i = this.workers.length; i < this.minWorkers; i++) {\n this.workers.push(this._createWorkerHandler());\n }\n }\n};\n\n/**\n * Helper function to create a new WorkerHandler and pass all options.\n * @return {WorkerHandler}\n * @private\n */\nPool.prototype._createWorkerHandler = function () {\n const overriddenParams = this.onCreateWorker({\n forkArgs: this.forkArgs,\n forkOpts: this.forkOpts,\n workerOpts: this.workerOpts,\n workerThreadOpts: this.workerThreadOpts,\n script: this.script\n }) || {};\n\n return new WorkerHandler(overriddenParams.script || this.script, {\n forkArgs: overriddenParams.forkArgs || this.forkArgs,\n forkOpts: overriddenParams.forkOpts || this.forkOpts,\n workerOpts: overriddenParams.workerOpts || this.workerOpts,\n workerThreadOpts: overriddenParams.workerThreadOpts || this.workerThreadOpts,\n debugPort: DEBUG_PORT_ALLOCATOR.nextAvailableStartingAt(this.debugPortStart),\n workerType: this.workerType,\n workerTerminateTimeout: this.workerTerminateTimeout,\n });\n}\n\n/**\n * Ensure that the maxWorkers option is an integer >= 1\n * @param {*} maxWorkers\n * @returns {boolean} returns true maxWorkers has a valid value\n */\nfunction validateMaxWorkers(maxWorkers) {\n if (!isNumber(maxWorkers) || !isInteger(maxWorkers) || maxWorkers < 1) {\n throw new TypeError('Option maxWorkers must be an integer number >= 1');\n }\n}\n\n/**\n * Ensure that the minWorkers option is an integer >= 0\n * @param {*} minWorkers\n * @returns {boolean} returns true when minWorkers has a valid value\n */\nfunction validateMinWorkers(minWorkers) {\n if (!isNumber(minWorkers) || !isInteger(minWorkers) || minWorkers < 0) {\n throw new TypeError('Option minWorkers must be an integer number >= 0');\n }\n}\n\n/**\n * Test whether a variable is a number\n * @param {*} value\n * @returns {boolean} returns true when value is a number\n */\nfunction isNumber(value) {\n return typeof value === 'number';\n}\n\n/**\n * Test whether a number is an integer\n * @param {number} value\n * @returns {boolean} Returns true if value is an integer\n */\nfunction isInteger(value) {\n return Math.round(value) == value;\n}\n\nmodule.exports = Pool;\n","'use strict';\n\n/**\n * Promise\n *\n * Inspired by https://gist.github.com/RubaXa/8501359 from RubaXa <trash@rubaxa.org>\n *\n * @param {Function} handler Called as handler(resolve: Function, reject: Function)\n * @param {Promise} [parent] Parent promise for propagation of cancel and timeout\n */\nfunction Promise(handler, parent) {\n var me = this;\n\n if (!(this instanceof Promise)) {\n throw new SyntaxError('Constructor must be called with the new operator');\n }\n\n if (typeof handler !== 'function') {\n throw new SyntaxError('Function parameter handler(resolve, reject) missing');\n }\n\n var _onSuccess = [];\n var _onFail = [];\n\n // status\n this.resolved = false;\n this.rejected = false;\n this.pending = true;\n\n /**\n * Process onSuccess and onFail callbacks: add them to the queue.\n * Once the promise is resolve, the function _promise is replace.\n * @param {Function} onSuccess\n * @param {Function} onFail\n * @private\n */\n var _process = function (onSuccess, onFail) {\n _onSuccess.push(onSuccess);\n _onFail.push(onFail);\n };\n\n /**\n * Add an onSuccess callback and optionally an onFail callback to the Promise\n * @param {Function} onSuccess\n * @param {Function} [onFail]\n * @returns {Promise} promise\n */\n this.then = function (onSuccess, onFail) {\n return new Promise(function (resolve, reject) {\n var s = onSuccess ? _then(onSuccess, resolve, reject) : resolve;\n var f = onFail ? _then(onFail, resolve, reject) : reject;\n\n _process(s, f);\n }, me);\n };\n\n /**\n * Resolve the promise\n * @param {*} result\n * @type {Function}\n */\n var _resolve = function (result) {\n // update status\n me.resolved = true;\n me.rejected = false;\n me.pending = false;\n\n _onSuccess.forEach(function (fn) {\n fn(result);\n });\n\n _process = function (onSuccess, onFail) {\n onSuccess(result);\n };\n\n _resolve = _reject = function () { };\n\n return me;\n };\n\n /**\n * Reject the promise\n * @param {Error} error\n * @type {Function}\n */\n var _reject = function (error) {\n // update status\n me.resolved = false;\n me.rejected = true;\n me.pending = false;\n\n _onFail.forEach(function (fn) {\n fn(error);\n });\n\n _process = function (onSuccess, onFail) {\n onFail(error);\n };\n\n _resolve = _reject = function () { }\n\n return me;\n };\n\n /**\n * Cancel te promise. This will reject the promise with a CancellationError\n * @returns {Promise} self\n */\n this.cancel = function () {\n if (parent) {\n parent.cancel();\n }\n else {\n _reject(new CancellationError());\n }\n\n return me;\n };\n\n /**\n * Set a timeout for the promise. If the promise is not resolved within\n * the time, the promise will be cancelled and a TimeoutError is thrown.\n * If the promise is resolved in time, the timeout is removed.\n * @param {number} delay Delay in milliseconds\n * @returns {Promise} self\n */\n this.timeout = function (delay) {\n if (parent) {\n parent.timeout(delay);\n }\n else {\n var timer = setTimeout(function () {\n _reject(new TimeoutError('Promise timed out after ' + delay + ' ms'));\n }, delay);\n\n me.always(function () {\n clearTimeout(timer);\n });\n }\n\n return me;\n };\n\n // attach handler passing the resolve and reject functions\n handler(function (result) {\n _resolve(result);\n }, function (error) {\n _reject(error);\n });\n}\n\n/**\n * Execute given callback, then call resolve/reject based on the returned result\n * @param {Function} callback\n * @param {Function} resolve\n * @param {Function} reject\n * @returns {Function}\n * @private\n */\nfunction _then(callback, resolve, reject) {\n return function (result) {\n try {\n var res = callback(result);\n if (res && typeof res.then === 'function' && typeof res['catch'] === 'function') {\n // method returned a promise\n res.then(resolve, reject);\n }\n else {\n resolve(res);\n }\n }\n catch (error) {\n reject(error);\n }\n }\n}\n\n/**\n * Add an onFail callback to the Promise\n * @param {Function} onFail\n * @returns {Promise} promise\n */\nPromise.prototype['catch'] = function (onFail) {\n return this.then(null, onFail);\n};\n\n// TODO: add support for Promise.catch(Error, callback)\n// TODO: add support for Promise.catch(Error, Error, callback)\n\n/**\n * Execute given callback when the promise either resolves or rejects.\n * @param {Function} fn\n * @returns {Promise} promise\n */\nPromise.prototype.always = function (fn) {\n return this.then(fn, fn);\n};\n\n/**\n * Create a promise which resolves when all provided promises are resolved,\n * and fails when any of the promises resolves.\n * @param {Promise[]} promises\n * @returns {Promise} promise\n */\nPromise.all = function (promises){\n return new Promise(function (resolve, reject) {\n var remaining = promises.length,\n results = [];\n\n if (remaining) {\n promises.forEach(function (p, i) {\n p.then(function (result) {\n results[i] = result;\n remaining--;\n if (remaining == 0) {\n resolve(results);\n }\n }, function (error) {\n remaining = 0;\n reject(error);\n });\n });\n }\n else {\n resolve(results);\n }\n });\n};\n\n/**\n * Create a promise resolver\n * @returns {{promise: Promise, resolve: Function, reject: Function}} resolver\n */\nPromise.defer = function () {\n var resolver = {};\n\n resolver.promise = new Promise(function (resolve, reject) {\n resolver.resolve = resolve;\n resolver.reject = reject;\n });\n\n return resolver;\n};\n\n/**\n * Create a cancellation error\n * @param {String} [message]\n * @extends Error\n */\nfunction CancellationError(message) {\n this.message = message || 'promise cancelled';\n this.stack = (new Error()).stack;\n}\n\nCancellationError.prototype = new Error();\nCancellationError.prototype.constructor = Error;\nCancellationError.prototype.name = 'CancellationError';\n\nPromise.CancellationError = CancellationError;\n\n\n/**\n * Create a timeout error\n * @param {String} [message]\n * @extends Error\n */\nfunction TimeoutError(message) {\n this.message = message || 'timeout exceeded';\n this.stack = (new Error()).stack;\n}\n\nTimeoutError.prototype = new Error();\nTimeoutError.prototype.constructor = Error;\nTimeoutError.prototype.name = 'TimeoutError';\n\nPromise.TimeoutError = TimeoutError;\n\n\nmodule.exports = Promise;\n","'use strict';\n\nvar Promise = require('./Promise');\nvar environment = require('./environment');\nvar requireFoolWebpack = require('./requireFoolWebpack');\n\n/**\n * Special message sent by parent which causes a child process worker to terminate itself.\n * Not a \"message object\"; this string is the entire message.\n */\nvar TERMINATE_METHOD_ID = '__workerpool-terminate__';\n\nfunction ensureWorkerThreads() {\n var WorkerThreads = tryRequireWorkerThreads()\n if (!WorkerThreads) {\n throw new Error('WorkerPool: workerType = \\'thread\\' is not supported, Node >= 11.7.0 required')\n }\n\n return WorkerThreads;\n}\n\n// check whether Worker is supported by the browser\nfunction ensureWebWorker() {\n // Workaround for a bug in PhantomJS (Or QtWebkit): https://github.com/ariya/phantomjs/issues/14534\n if (typeof Worker !== 'function' && (typeof Worker !== 'object' || typeof Worker.prototype.constructor !== 'function')) {\n throw new Error('WorkerPool: Web Workers not supported');\n }\n}\n\nfunction tryRequireWorkerThreads() {\n try {\n return requireFoolWebpack('worker_threads');\n } catch(error) {\n if (typeof error === 'object' && error !== null && error.code === 'MODULE_NOT_FOUND') {\n // no worker_threads available (old version of node.js)\n return null;\n } else {\n throw error;\n }\n }\n}\n\n// get the default worker script\nfunction getDefaultWorker() {\n if (environment.platform === 'browser') {\n // test whether the browser supports all features that we need\n if (typeof Blob === 'undefined') {\n throw new Error('Blob not supported by the browser');\n }\n if (!window.URL || typeof window.URL.createObjectURL !== 'function') {\n throw new Error('URL.createObjectURL not supported by the browser');\n }\n\n // use embedded worker.js\n var blob = new Blob([require('./generated/embeddedWorker')], {type: 'text/javascript'});\n return window.URL.createObjectURL(blob);\n }\n else {\n // use external worker.js in current directory\n return __dirname + '/worker.js';\n }\n}\n\nfunction setupWorker(script, options) {\n if (options.workerType === 'web') { // browser only\n ensureWebWorker();\n return setupBrowserWorker(script, options.workerOpts, Worker);\n } else if (options.workerType === 'thread') { // node.js only\n WorkerThreads = ensureWorkerThreads();\n return setupWorkerThreadWorker(script, WorkerThreads, options.workerThreadOpts);\n } else if (options.workerType === 'process' || !options.workerType) { // node.js only\n return setupProcessWorker(script, resolveForkOptions(options), requireFoolWebpack('child_process'));\n } else { // options.workerType === 'auto' or undefined\n if (environment.platform === 'browser') {\n ensureWebWorker();\n return setupBrowserWorker(script, options.workerOpts, Worker);\n }\n else { // environment.platform === 'node'\n var WorkerThreads = tryRequireWorkerThreads();\n if (WorkerThreads) {\n return setupWorkerThreadWorker(script, WorkerThreads, options.workerThreadOpts);\n } else {\n return setupProcessWorker(script, resolveForkOptions(options), requireFoolWebpack('child_process'));\n }\n }\n }\n}\n\nfunction setupBrowserWorker(script, workerOpts, Worker) {\n // create the web worker\n var worker = new Worker(script, workerOpts);\n\n worker.isBrowserWorker = true;\n // add node.js API to the web worker\n worker.on = function (event, callback) {\n this.addEventListener(event, function (message) {\n callback(message.data);\n });\n };\n worker.send = function (message, transfer) {\n this.postMessage(message, transfer);\n };\n return worker;\n}\n\nfunction setupWorkerThreadWorker(script, WorkerThreads, workerThreadOptions) {\n var worker = new WorkerThreads.Worker(script, {\n stdout: false, // automatically pipe worker.STDOUT to process.STDOUT\n stderr: false, // automatically pipe worker.STDERR to process.STDERR\n ...workerThreadOptions\n });\n worker.isWorkerThread = true;\n worker.send = function(message, transfer) {\n this.postMessage(message, transfer);\n };\n\n worker.kill = function() {\n this.terminate();\n return true;\n };\n\n worker.disconnect = function() {\n this.terminate();\n };\n\n return worker;\n}\n\nfunction setupProcessWorker(script, options, child_process) {\n // no WorkerThreads, fallback to sub-process based workers\n var worker = child_process.fork(\n script,\n options.forkArgs,\n options.forkOpts\n );\n\n // ignore transfer argument since it is not supported by process\n var send = worker.send;\n worker.send = function (message) {\n return send.call(worker, message);\n };\n\n worker.isChildProcess = true;\n return worker;\n}\n\n// add debug flags to child processes if the node inspector is active\nfunction resolveForkOptions(opts) {\n opts = opts || {};\n\n var processExecArgv = process.execArgv.join(' ');\n var inspectorActive = processExecArgv.indexOf('--inspect') !== -1;\n var debugBrk = processExecArgv.indexOf('--debug-brk') !== -1;\n\n var execArgv = [];\n if (inspectorActive) {\n execArgv.push('--inspect=' + opts.debugPort);\n\n if (debugBrk) {\n execArgv.push('--debug-brk');\n }\n }\n\n process.execArgv.forEach(function(arg) {\n if (arg.indexOf('--max-old-space-size') > -1) {\n execArgv.push(arg)\n }\n })\n\n return Object.assign({}, opts, {\n forkArgs: opts.forkArgs,\n forkOpts: Object.assign({}, opts.forkOpts, {\n execArgv: (opts.forkOpts && opts.forkOpts.execArgv || [])\n .concat(execArgv)\n })\n });\n}\n\n/**\n * Converts a serialized error to Error\n * @param {Object} obj Error that has been serialized and parsed to object\n * @return {Error} The equivalent Error.\n */\nfunction objectToError (obj) {\n var temp = new Error('')\n var props = Object.keys(obj)\n\n for (var i = 0; i < props.length; i++) {\n temp[props[i]] = obj[props[i]]\n }\n\n return temp\n}\n\n/**\n * A WorkerHandler controls a single worker. This worker can be a child process\n * on node.js or a WebWorker in a browser environment.\n * @param {String} [script] If no script is provided, a default worker with a\n * function run will be created.\n * @param {WorkerPoolOptions} _options See docs\n * @constructor\n */\nfunction WorkerHandler(script, _options) {\n var me = this;\n var options = _options || {};\n\n this.script = script || getDefaultWorker();\n this.worker = setupWorker(this.script, options);\n this.debugPort = options.debugPort;\n this.forkOpts = options.forkOpts;\n this.forkArgs = options.forkArgs;\n this.workerOpts = options.workerOpts;\n this.workerThreadOpts = options.workerThreadOpts\n this.workerTerminateTimeout = options.workerTerminateTimeout;\n\n // The ready message is only sent if the worker.add method is called (And the default script is not used)\n if (!script) {\n this.worker.ready = true;\n }\n\n // queue for requests that are received before the worker is ready\n this.requestQueue = [];\n this.worker.on('message', function (response) {\n if (me.terminated) {\n return;\n }\n if (typeof response === 'string' && response === 'ready') {\n me.worker.ready = true;\n dispatchQueuedRequests();\n } else {\n // find the task from the processing queue, and run the tasks callback\n var id = response.id;\n var task = me.processing[id];\n if (task !== undefined) {\n if (response.isEvent) {\n if (task.options && typeof task.options.on === 'function') {\n task.options.on(response.payload);\n }\n } else {\n // remove the task from the queue\n delete me.processing[id];\n\n // test if we need to terminate\n if (me.terminating === true) {\n // complete worker termination if all tasks are finished\n me.terminate();\n }\n\n // resolve the task's promise\n if (response.error) {\n task.resolver.reject(objectToError(response.error));\n }\n else {\n task.resolver.resolve(response.result);\n }\n }\n }\n }\n });\n\n // reject all running tasks on worker error\n function onError(error) {\n me.terminated = true;\n\n for (var id in me.processing) {\n if (me.processing[id] !== undefined) {\n me.processing[id].resolver.reject(error);\n }\n }\n me.processing = Object.create(null);\n }\n\n // send all queued requests to worker\n function dispatchQueuedRequests()\n {\n for(const request of me.requestQueue.splice(0)) {\n me.worker.send(request.message, request.transfer);\n }\n }\n\n var worker = this.worker;\n // listen for worker messages error and exit\n this.worker.on('error', onError);\n this.worker.on('exit', function (exitCode, signalCode) {\n var message = 'Workerpool Worker terminated Unexpectedly\\n';\n\n message += ' exitCode: `' + exitCode + '`\\n';\n message += ' signalCode: `' + signalCode + '`\\n';\n\n message += ' workerpool.script: `' + me.script + '`\\n';\n message += ' spawnArgs: `' + worker.spawnargs + '`\\n';\n message += ' spawnfile: `' + worker.spawnfile + '`\\n'\n\n message += ' stdout: `' + worker.stdout + '`\\n'\n message += ' stderr: `' + worker.stderr + '`\\n'\n\n onError(new Error(message));\n });\n\n this.processing = Object.create(null); // queue with tasks currently in progress\n\n this.terminating = false;\n this.terminated = false;\n this.cleaning = false;\n this.terminationHandler = null;\n this.lastId = 0;\n}\n\n/**\n * Get a list with methods available on the worker.\n * @return {Promise.<String[], Error>} methods\n */\nWorkerHandler.prototype.methods = function () {\n return this.exec('methods');\n};\n\n/**\n * Execute a method with given parameters on the worker\n * @param {String} method\n * @param {Array} [params]\n * @param {{resolve: Function, reject: Function}} [resolver]\n * @param {ExecOptions} [options]\n * @return {Promise.<*, Error>} result\n */\nWorkerHandler.prototype.exec = function(method, params, resolver, options) {\n if (!resolver) {\n resolver = Promise.defer();\n }\n\n // generate a unique id for the task\n var id = ++this.lastId;\n\n // register a new task as being in progress\n this.processing[id] = {\n id: id,\n resolver: resolver,\n options: options\n };\n\n // build a JSON-RPC request\n var request = {\n message: {\n id: id,\n method: method,\n params: params\n },\n transfer: options && options.transfer\n };\n\n if (this.terminated) {\n resolver.reject(new Error('Worker is terminated'));\n } else if (this.worker.ready) {\n // send the request to the worker\n this.worker.send(request.message, request.transfer);\n } else {\n this.requestQueue.push(request);\n }\n\n // on cancellation, force the worker to terminate\n var me = this;\n return resolver.promise.catch(function (error) {\n if (error instanceof Promise.CancellationError || error instanceof Promise.TimeoutError) {\n // remove this task from the queue. It is already rejected (hence this\n // catch event), and else it will be rejected again when terminating\n delete me.processing[id];\n\n // terminate worker\n return me.terminateAndNotify(true)\n .then(function() {\n throw error;\n }, function(err) {\n throw err;\n });\n } else {\n throw error;\n }\n })\n};\n\n/**\n * Test whether the worker is processing any tasks or cleaning up before termination.\n * @return {boolean} Returns true if the worker is busy\n */\nWorkerHandler.prototype.busy = function () {\n return this.cleaning || Object.keys(this.processing).length > 0;\n};\n\n/**\n * Terminate the worker.\n * @param {boolean} [force=false] If false (default), the worker is terminated\n * after finishing all tasks currently in\n * progress. If true, the worker will be\n * terminated immediately.\n * @param {function} [callback=null] If provided, will be called when process terminates.\n */\nWorkerHandler.prototype.terminate = function (force, callback) {\n var me = this;\n if (force) {\n // cancel all tasks in progress\n for (var id in this.processing) {\n if (this.processing[id] !== undefined) {\n this.processing[id].resolver.reject(new Error('Worker terminated'));\n }\n }\n this.processing = Object.create(null);\n }\n\n if (typeof callback === 'function') {\n this.terminationHandler = callback;\n }\n if (!this.busy()) {\n // all tasks are finished. kill the worker\n var cleanup = function(err) {\n me.terminated = true;\n me.cleaning = false;\n if (me.worker != null && me.worker.removeAllListeners) {\n // removeAllListeners is only available for child_process\n me.worker.removeAllListeners('message');\n }\n me.worker = null;\n me.terminating = false;\n if (me.terminationHandler) {\n me.terminationHandler(err, me);\n } else if (err) {\n throw err;\n }\n }\n\n if (this.worker) {\n if (typeof this.worker.kill === 'function') {\n if (this.worker.killed) {\n cleanup(new Error('worker already killed!'));\n return;\n }\n\n // child process and worker threads\n var cleanExitTimeout = setTimeout(function() {\n if (me.worker) {\n me.worker.kill();\n }\n }, this.workerTerminateTimeout);\n\n this.worker.once('exit', function() {\n clearTimeout(cleanExitTimeout);\n if (me.worker) {\n me.worker.killed = true;\n }\n cleanup();\n });\n\n if (this.worker.ready) {\n this.worker.send(TERMINATE_METHOD_ID);\n } else {\n this.requestQueue.push({ message: TERMINATE_METHOD_ID });\n }\n\n // mark that the worker is cleaning up resources\n // to prevent new tasks from being executed\n this.cleaning = true;\n return;\n }\n else if (typeof this.worker.terminate === 'function') {\n this.worker.terminate(); // web worker\n this.worker.killed = true;\n }\n else {\n throw new Error('Failed to terminate worker');\n }\n }\n cleanup();\n }\n else {\n // we can't terminate immediately, there are still tasks being executed\n this.terminating = true;\n }\n};\n\n/**\n * Terminate the worker, returning a Promise that resolves when the termination has been done.\n * @param {boolean} [force=false] If false (default), the worker is terminated\n * after finishing all tasks currently in\n * progress. If true, the worker will be\n * terminated immediately.\n * @param {number} [timeout] If provided and non-zero, worker termination promise will be rejected\n * after timeout if worker process has not been terminated.\n * @return {Promise.<WorkerHandler, Error>}\n */\nWorkerHandler.prototype.terminateAndNotify = function (force, timeout) {\n var resolver = Promise.defer();\n if (timeout) {\n resolver.promise.timeout(timeout);\n }\n this.terminate(force, function(err, worker) {\n if (err) {\n resolver.reject(err);\n } else {\n resolver.resolve(worker);\n }\n });\n return resolver.promise;\n};\n\nmodule.exports = WorkerHandler;\nmodule.exports._tryRequireWorkerThreads = tryRequireWorkerThreads;\nmodule.exports._setupProcessWorker = setupProcessWorker;\nmodule.exports._setupBrowserWorker = setupBrowserWorker;\nmodule.exports._setupWorkerThreadWorker = setupWorkerThreadWorker;\nmodule.exports.ensureWorkerThreads = ensureWorkerThreads;\n","'use strict';\n\nvar MAX_PORTS = 65535;\nmodule.exports = DebugPortAllocator;\nfunction DebugPortAllocator() {\n this.ports = Object.create(null);\n this.length = 0;\n}\n\nDebugPortAllocator.prototype.nextAvailableStartingAt = function(starting) {\n while (this.ports[starting] === true) {\n starting++;\n }\n\n if (starting >= MAX_PORTS) {\n throw new Error('WorkerPool debug port limit reached: ' + starting + '>= ' + MAX_PORTS );\n }\n\n this.ports[starting] = true;\n this.length++;\n return starting;\n};\n\nDebugPortAllocator.prototype.releasePort = function(port) {\n delete this.ports[port];\n this.length--;\n};\n\n","var requireFoolWebpack = require('./requireFoolWebpack');\n\n// source: https://github.com/flexdinesh/browser-or-node\nvar isNode = function (nodeProcess) {\n return (\n typeof nodeProcess !== 'undefined' &&\n nodeProcess.versions != null &&\n nodeProcess.versions.node != null\n );\n}\nmodule.exports.isNode = isNode\n\n// determines the JavaScript platform: browser or node\nmodule.exports.platform = typeof process !== 'undefined' && isNode(process)\n ? 'node'\n : 'browser';\n\n// determines whether the code is running in main thread or not\n// note that in node.js we have to check both worker_thread and child_process\nvar worker_threads = tryRequireFoolWebpack('worker_threads');\nmodule.exports.isMainThread = module.exports.platform === 'node'\n ? ((!worker_threads || worker_threads.isMainThread) && !process.connected)\n : typeof Window !== 'undefined';\n\n// determines the number of cpus available\nmodule.exports.cpus = module.exports.platform === 'browser'\n ? self.navigator.hardwareConcurrency\n : requireFoolWebpack('os').cpus().length;\n\nfunction tryRequireFoolWebpack (module) {\n try {\n return requireFoolWebpack(module);\n } catch(err) {\n return null\n }\n}\n","/**\n * embeddedWorker.js contains an embedded version of worker.js.\n * This file is automatically generated,\n * changes made in this file will be overwritten.\n */\nmodule.exports = \"!function(){var __webpack_modules__={577:function(e){e.exports=function(e,r){this.message=e,this.transfer=r}}},__webpack_module_cache__={};function __webpack_require__(e){var r=__webpack_module_cache__[e];return void 0!==r||(r=__webpack_module_cache__[e]={exports:{}},__webpack_modules__[e](r,r.exports,__webpack_require__)),r.exports}var __webpack_exports__={};!function(){var exports=__webpack_exports__,__webpack_unused_export__;function _typeof(e){return(_typeof=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\\\"function\\\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\\\"symbol\\\":typeof e})(e)}var Transfer=__webpack_require__(577),requireFoolWebpack=eval(\\\"typeof require !== 'undefined' ? require : function (module) { throw new Error('Module \\\\\\\" + module + \\\\\\\" not found.') }\\\"),TERMINATE_METHOD_ID=\\\"__workerpool-terminate__\\\",worker={exit:function(){}},WorkerThreads,parentPort;if(\\\"undefined\\\"!=typeof self&&\\\"function\\\"==typeof postMessage&&\\\"function\\\"==typeof addEventListener)worker.on=function(e,r){addEventListener(e,function(e){r(e.data)})},worker.send=function(e){postMessage(e)};else{if(\\\"undefined\\\"==typeof process)throw new Error(\\\"Script must be executed as a worker\\\");try{WorkerThreads=requireFoolWebpack(\\\"worker_threads\\\")}catch(error){if(\\\"object\\\"!==_typeof(error)||null===error||\\\"MODULE_NOT_FOUND\\\"!==error.code)throw error}WorkerThreads&&null!==WorkerThreads.parentPort?(parentPort=WorkerThreads.parentPort,worker.send=parentPort.postMessage.bind(parentPort),worker.on=parentPort.on.bind(parentPort)):(worker.on=process.on.bind(process),worker.send=function(e){process.send(e)},worker.on(\\\"disconnect\\\",function(){process.exit(1)})),worker.exit=process.exit.bind(process)}function convertError(o){return Object.getOwnPropertyNames(o).reduce(function(e,r){return Object.defineProperty(e,r,{value:o[r],enumerable:!0})},{})}function isPromise(e){return e&&\\\"function\\\"==typeof e.then&&\\\"function\\\"==typeof e.catch}worker.methods={},worker.methods.run=function(e,r){e=new Function(\\\"return (\\\"+e+\\\").apply(null, arguments);\\\");return e.apply(e,r)},worker.methods.methods=function(){return Object.keys(worker.methods)},worker.terminationHandler=void 0,worker.cleanupAndExit=function(e){function r(){worker.exit(e)}if(!worker.terminationHandler)return r();var o=worker.terminationHandler(e);isPromise(o)?o.then(r,r):r()};var currentRequestId=null;worker.on(\\\"message\\\",function(r){if(r===TERMINATE_METHOD_ID)return worker.cleanupAndExit(0);try{var e=worker.methods[r.method];if(!e)throw new Error('Unknown method \\\"'+r.method+'\\\"');currentRequestId=r.id;var o=e.apply(e,r.params);isPromise(o)?o.then(function(e){e instanceof Transfer?worker.send({id:r.id,result:e.message,error:null},e.transfer):worker.send({id:r.id,result:e,error:null}),currentRequestId=null}).catch(function(e){worker.send({id:r.id,result:null,error:convertError(e)}),currentRequestId=null}):(o instanceof Transfer?worker.send({id:r.id,result:o.message,error:null},o.transfer):worker.send({id:r.id,result:o,error:null}),currentRequestId=null)}catch(e){worker.send({id:r.id,result:null,error:convertError(e)})}}),worker.register=function(e,r){if(e)for(var o in e)e.hasOwnProperty(o)&&(worker.methods[o]=e[o]);r&&(worker.terminationHandler=r.onTerminate),worker.send(\\\"ready\\\")},worker.emit=function(e){currentRequestId&&(e instanceof Transfer?worker.send({id:currentRequestId,isEvent:!0,payload:e.message},e.transfer):worker.send({id:currentRequestId,isEvent:!0,payload:e}))},__webpack_unused_export__=worker.register,worker.emit}()}();\";\n","// source of inspiration: https://github.com/sindresorhus/require-fool-webpack\nvar requireFoolWebpack = eval(\n 'typeof require !== \\'undefined\\' ' +\n '? require ' +\n ': function (module) { throw new Error(\\'Module \" + module + \" not found.\\') }'\n);\n\nmodule.exports = requireFoolWebpack;\n","/**\n * The helper class for transferring data from the worker to the main thread.\n *\n * @param {Object} message The object to deliver to the main thread.\n * @param {Object[]} transfer An array of transferable Objects to transfer ownership of.\n */\nfunction Transfer(message, transfer) {\n this.message = message;\n this.transfer = transfer;\n}\n\nmodule.exports = Transfer;\n","/**\n * worker must be started as a child process or a web worker.\n * It listens for RPC messages from the parent process.\n */\nvar Transfer = require('./transfer');\n\n// source of inspiration: https://github.com/sindresorhus/require-fool-webpack\nvar requireFoolWebpack = eval(\n 'typeof require !== \\'undefined\\'' +\n ' ? require' +\n ' : function (module) { throw new Error(\\'Module \" + module + \" not found.\\') }'\n);\n\n/**\n * Special message sent by parent which causes the worker to terminate itself.\n * Not a \"message object\"; this string is the entire message.\n */\nvar TERMINATE_METHOD_ID = '__workerpool-terminate__';\n\n// var nodeOSPlatform = require('./environment').nodeOSPlatform;\n\n// create a worker API for sending and receiving messages which works both on\n// node.js and in the browser\nvar worker = {\n exit: function() {}\n};\nif (typeof self !== 'undefined' && typeof postMessage === 'function' && typeof addEventListener === 'function') {\n // worker in the browser\n worker.on = function (event, callback) {\n addEventListener(event, function (message) {\n callback(message.data);\n })\n };\n worker.send = function (message) {\n postMessage(message);\n };\n}\nelse if (typeof process !== 'undefined') {\n // node.js\n\n var WorkerThreads;\n try {\n WorkerThreads = requireFoolWebpack('worker_threads');\n } catch(error) {\n if (typeof error === 'object' && error !== null && error.code === 'MODULE_NOT_FOUND') {\n // no worker_threads, fallback to sub-process based workers\n } else {\n throw error;\n }\n }\n\n if (WorkerThreads &&\n /* if there is a parentPort, we are in a WorkerThread */\n WorkerThreads.parentPort !== null) {\n var parentPort = WorkerThreads.parentPort;\n worker.send = parentPort.postMessage.bind(parentPort);\n worker.on = parentPort.on.bind(parentPort);\n worker.exit = process.exit.bind(process);\n } else {\n worker.on = process.on.bind(process);\n // ignore transfer argument since it is not supported by process\n worker.send = function (message) {\n process.send(message);\n };\n // register disconnect handler only for subprocess worker to exit when parent is killed unexpectedly\n worker.on('disconnect', function () {\n process.exit(1);\n });\n worker.exit = process.exit.bind(process);\n }\n}\nelse {\n throw new Error('Script must be executed as a worker');\n}\n\nfunction convertError(error) {\n return Object.getOwnPropertyNames(error).reduce(function(product, name) {\n return Object.defineProperty(product, name, {\n\tvalue: error[name],\n\tenumerable: true\n });\n }, {});\n}\n\n/**\n * Test whether a value is a Promise via duck typing.\n * @param {*} value\n * @returns {boolean} Returns true when given value is an object\n * having functions `then` and `catch`.\n */\nfunction isPromise(value) {\n return value && (typeof value.then === 'function') && (typeof value.catch === 'function');\n}\n\n// functions available externally\nworker.methods = {};\n\n/**\n * Execute a function with provided arguments\n * @param {String} fn Stringified function\n * @param {Array} [args] Function arguments\n * @returns {*}\n */\nworker.methods.run = function run(fn, args) {\n var f = new Function('return (' + fn + ').apply(null, arguments);');\n return f.apply(f, args);\n};\n\n/**\n * Get a list with methods available on this worker\n * @return {String[]} methods\n */\nworker.methods.methods = function methods() {\n return Object.keys(worker.methods);\n};\n\n/**\n * Custom handler for when the worker is terminated.\n */\nworker.terminationHandler = undefined;\n\n/**\n * Cleanup and exit the worker.\n * @param {Number} code \n * @returns \n */\nworker.cleanupAndExit = function(code) {\n var _exit = function() {\n worker.exit(code);\n }\n\n if(!worker.terminationHandler) {\n return _exit();\n }\n\n var result = worker.terminationHandler(code);\n if (isPromise(result)) {\n result.then(_exit, _exit);\n } else {\n _exit();\n }\n}\n\nvar currentRequestId = null;\n\nworker.on('message', function (request) {\n if (request === TERMINATE_METHOD_ID) {\n return worker.cleanupAndExit(0);\n }\n try {\n var method = worker.methods[request.method];\n\n if (method) {\n currentRequestId = request.id;\n \n // execute the function\n var result = method.apply(method, request.params);\n\n if (isPromise(result)) {\n // promise returned, resolve this and then return\n result\n .then(function (result) {\n if (result instanceof Transfer) {\n worker.send({\n id: request.id,\n result: result.message,\n error: null\n }, result.transfer);\n } else {\n worker.send({\n id: request.id,\n result: result,\n error: null\n });\n }\n currentRequestId = null;\n })\n .catch(function (err) {\n worker.send({\n id: request.id,\n result: null,\n error: convertError(err)\n });\n currentRequestId = null;\n });\n }\n else {\n // immediate result\n if (result instanceof Transfer) {\n worker.send({\n id: request.id,\n result: result.message,\n error: null\n }, result.transfer);\n } else {\n worker.send({\n id: request.id,\n result: result,\n error: null\n });\n }\n\n currentRequestId = null;\n }\n }\n else {\n throw new Error('Unknown method \"' + request.method + '\"');\n }\n }\n catch (err) {\n worker.send({\n id: request.id,\n result: null,\n error: convertError(err)\n });\n }\n});\n\n/**\n * Register methods to the worker\n * @param {Object} [methods]\n * @param {WorkerRegisterOptions} [options]\n */\nworker.register = function (methods, options) {\n\n if (methods) {\n for (var name in methods) {\n if (methods.hasOwnProperty(name)) {\n worker.methods[name] = methods[name];\n }\n }\n }\n\n if (options) {\n worker.terminationHandler = options.onTerminate;\n }\n\n worker.send('ready');\n};\n\nworker.emit = function (payload) {\n if (currentRequestId) {\n if (payload instanceof Transfer) {\n worker.send({\n id: currentRequestId,\n isEvent: true,\n payload: payload.message\n }, payload.transfer);\n return;\n }\n\n worker.send({\n id: currentRequestId,\n isEvent: true,\n payload\n });\n }\n};\n\nif (typeof exports !== 'undefined') {\n exports.add = worker.register;\n exports.emit = worker.emit;\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","var environment = require('./environment');\n\n/**\n * Create a new worker pool\n * @param {string} [script]\n * @param {WorkerPoolOptions} [options]\n * @returns {Pool} pool\n */\nexports.pool = function pool(script, options) {\n var Pool = require('./Pool');\n\n return new Pool(script, options);\n};\n\n/**\n * Create a worker and optionally register a set of methods to the worker.\n * @param {Object} [methods]\n * @param {WorkerRegisterOptions} [options]\n */\nexports.worker = function worker(methods, options) {\n var worker = require('./worker');\n worker.add(methods, options);\n};\n\n/**\n * Sends an event to the parent worker pool.\n * @param {any} payload \n */\nexports.workerEmit = function workerEmit(payload) {\n var worker = require('./worker');\n worker.emit(payload);\n};\n\n/**\n * Create a promise.\n * @type {Promise} promise\n */\nexports.Promise = require('./Promise');\n\n/**\n * Create a transfer object.\n * @type {Transfer} transfer\n */\nexports.Transfer = require('./transfer');\n\nexports.platform = environment.platform;\nexports.isMainThread = environment.isMainThread;\nexports.cpus = environment.cpus;"],"names":["Promise","require","WorkerHandler","environment","DebugPortAllocator","DEBUG_PORT_ALLOCATOR","Pool","script","options","workers","tasks","forkArgs","Object","freeze","forkOpts","workerOpts","workerThreadOpts","debugPortStart","nodeWorker","workerType","maxQueueSize","Infinity","workerTerminateTimeout","onCreateWorker","onTerminateWorker","validateMaxWorkers","maxWorkers","Math","max","cpus","minWorkers","validateMinWorkers","_ensureMinWorkers","_boundNext","_next","bind","ensureWorkerThreads","prototype","exec","method","params","Array","isArray","TypeError","resolver","defer","length","Error","task","timeout","push","originalTimeout","promise","delay","indexOf","call","String","proxy","arguments","pool","then","methods","forEach","slice","worker","_getWorker","me","shift","pending","terminated","_removeWorker","i","busy","_createWorkerHandler","releasePort","debugPort","_removeWorkerFromList","resolve","reject","terminate","err","index","splice","force","f","removeWorker","promises","termPromise","terminateAndNotify","always","all","stats","totalWorkers","busyWorkers","filter","idleWorkers","pendingTasks","activeTasks","overriddenParams","nextAvailableStartingAt","isNumber","isInteger","value","round","module","exports","handler","parent","SyntaxError","_onSuccess","_onFail","resolved","rejected","_process","onSuccess","onFail","s","_then","_resolve","result","fn","_reject","error","cancel","CancellationError","timer","setTimeout","TimeoutError","clearTimeout","callback","res","remaining","results","p","message","stack","constructor","name","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","_unsupportedIterableToArray","F","n","done","e","_e","normalCompletion","didErr","step","next","_e2","minLen","_arrayLikeToArray","toString","from","test","arr","len","arr2","ownKeys","r","t","keys","getOwnPropertySymbols","getOwnPropertyDescriptor","enumerable","apply","_objectSpread","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","obj","key","_toPropertyKey","configurable","writable","arg","_toPrimitive","_typeof","input","hint","prim","toPrimitive","undefined","Number","requireFoolWebpack","TERMINATE_METHOD_ID","WorkerThreads","tryRequireWorkerThreads","ensureWebWorker","Worker","code","getDefaultWorker","platform","Blob","window","URL","createObjectURL","blob","type","__dirname","setupWorker","setupBrowserWorker","setupWorkerThreadWorker","setupProcessWorker","resolveForkOptions","isBrowserWorker","on","event","addEventListener","data","send","transfer","postMessage","workerThreadOptions","stdout","stderr","isWorkerThread","kill","disconnect","child_process","fork","isChildProcess","opts","processExecArgv","process","execArgv","join","inspectorActive","debugBrk","assign","concat","objectToError","temp","props","_options","ready","requestQueue","response","dispatchQueuedRequests","id","processing","isEvent","payload","terminating","onError","create","_iterator","_step","request","exitCode","signalCode","spawnargs","spawnfile","cleaning","terminationHandler","lastId","cleanup","removeAllListeners","killed","cleanExitTimeout","once","_tryRequireWorkerThreads","_setupProcessWorker","_setupBrowserWorker","_setupWorkerThreadWorker","MAX_PORTS","ports","starting","port","isNode","nodeProcess","versions","node","worker_threads","tryRequireFoolWebpack","isMainThread","connected","Window","self","navigator","hardwareConcurrency","eval","Transfer","exit","parentPort","convertError","getOwnPropertyNames","reduce","product","isPromise","run","args","Function","cleanupAndExit","_exit","currentRequestId","register","hasOwnProperty","onTerminate","emit","add","workerEmit"],"sourceRoot":""}
@@ -1,3 +0,0 @@
1
- /*! For license information please see workerpool.min.js.LICENSE.txt */
2
- !function(r,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("workerpool",[],e):"object"==typeof exports?exports.workerpool=e():r.workerpool=e()}("undefined"!=typeof self?self:this,(function(){return function(){var __webpack_modules__={345:function(r,e,t){var o=t(219),n=t(751),i=t(828),s=new(t(833));function u(r,e){"string"==typeof r?this.script=r||null:(this.script=null,e=r),this.workers=[],this.tasks=[],e=e||{},this.forkArgs=Object.freeze(e.forkArgs||[]),this.forkOpts=Object.freeze(e.forkOpts||{}),this.workerOpts=Object.freeze(e.workerOpts||{}),this.workerThreadOpts=Object.freeze(e.workerThreadOpts||{}),this.debugPortStart=e.debugPortStart||43210,this.nodeWorker=e.nodeWorker,this.workerType=e.workerType||e.nodeWorker||"auto",this.maxQueueSize=e.maxQueueSize||1/0,this.workerTerminateTimeout=e.workerTerminateTimeout||1e3,this.onCreateWorker=e.onCreateWorker||function(){return null},this.onTerminateWorker=e.onTerminateWorker||function(){return null},e&&"maxWorkers"in e?(function(r){if(!a(r)||!c(r)||r<1)throw new TypeError("Option maxWorkers must be an integer number >= 1")}(e.maxWorkers),this.maxWorkers=e.maxWorkers):this.maxWorkers=Math.max((i.cpus||4)-1,1),e&&"minWorkers"in e&&("max"===e.minWorkers?this.minWorkers=this.maxWorkers:(function(r){if(!a(r)||!c(r)||r<0)throw new TypeError("Option minWorkers must be an integer number >= 0")}(e.minWorkers),this.minWorkers=e.minWorkers,this.maxWorkers=Math.max(this.minWorkers,this.maxWorkers)),this._ensureMinWorkers()),this._boundNext=this._next.bind(this),"thread"===this.workerType&&n.ensureWorkerThreads()}function a(r){return"number"==typeof r}function c(r){return Math.round(r)==r}u.prototype.exec=function(r,e,t){if(e&&!Array.isArray(e))throw new TypeError('Array expected as argument "params"');if("string"==typeof r){var n=o.defer();if(this.tasks.length>=this.maxQueueSize)throw new Error("Max queue size of "+this.maxQueueSize+" reached");var i=this.tasks,s={method:r,params:e,resolver:n,timeout:null,options:t};i.push(s);var u=n.promise.timeout;return n.promise.timeout=function(r){return-1!==i.indexOf(s)?(s.timeout=r,n.promise):u.call(n.promise,r)},this._next(),n.promise}if("function"==typeof r)return this.exec("run",[String(r),e]);throw new TypeError('Function or string expected as argument "method"')},u.prototype.proxy=function(){if(arguments.length>0)throw new Error("No arguments expected");var r=this;return this.exec("methods").then((function(e){var t={};return e.forEach((function(e){t[e]=function(){return r.exec(e,Array.prototype.slice.call(arguments))}})),t}))},u.prototype._next=function(){if(this.tasks.length>0){var r=this._getWorker();if(r){var e=this,t=this.tasks.shift();if(t.resolver.promise.pending){var o=r.exec(t.method,t.params,t.resolver,t.options).then(e._boundNext).catch((function(){if(r.terminated)return e._removeWorker(r)})).then((function(){e._next()}));"number"==typeof t.timeout&&o.timeout(t.timeout)}else e._next()}}},u.prototype._getWorker=function(){for(var r=this.workers,e=0;e<r.length;e++){var t=r[e];if(!1===t.busy())return t}return r.length<this.maxWorkers?(t=this._createWorkerHandler(),r.push(t),t):null},u.prototype._removeWorker=function(r){var e=this;return s.releasePort(r.debugPort),this._removeWorkerFromList(r),this._ensureMinWorkers(),new o((function(t,o){r.terminate(!1,(function(n){e.onTerminateWorker({forkArgs:r.forkArgs,forkOpts:r.forkOpts,workerThreadOpts:r.workerThreadOpts,script:r.script}),n?o(n):t(r)}))}))},u.prototype._removeWorkerFromList=function(r){var e=this.workers.indexOf(r);-1!==e&&this.workers.splice(e,1)},u.prototype.terminate=function(r,e){var t=this;this.tasks.forEach((function(r){r.resolver.reject(new Error("Pool terminated"))})),this.tasks.length=0;var n=function(r){s.releasePort(r.debugPort),this._removeWorkerFromList(r)}.bind(this),i=[];return this.workers.slice().forEach((function(o){var s=o.terminateAndNotify(r,e).then(n).always((function(){t.onTerminateWorker({forkArgs:o.forkArgs,forkOpts:o.forkOpts,workerThreadOpts:o.workerThreadOpts,script:o.script})}));i.push(s)})),o.all(i)},u.prototype.stats=function(){var r=this.workers.length,e=this.workers.filter((function(r){return r.busy()})).length;return{totalWorkers:r,busyWorkers:e,idleWorkers:r-e,pendingTasks:this.tasks.length,activeTasks:e}},u.prototype._ensureMinWorkers=function(){if(this.minWorkers)for(var r=this.workers.length;r<this.minWorkers;r++)this.workers.push(this._createWorkerHandler())},u.prototype._createWorkerHandler=function(){var r=this.onCreateWorker({forkArgs:this.forkArgs,forkOpts:this.forkOpts,workerOpts:this.workerOpts,workerThreadOpts:this.workerThreadOpts,script:this.script})||{};return new n(r.script||this.script,{forkArgs:r.forkArgs||this.forkArgs,forkOpts:r.forkOpts||this.forkOpts,workerOpts:r.workerOpts||this.workerOpts,workerThreadOpts:r.workerThreadOpts||this.workerThreadOpts,debugPort:s.nextAvailableStartingAt(this.debugPortStart),workerType:this.workerType,workerTerminateTimeout:this.workerTerminateTimeout})},r.exports=u},219:function(r){"use strict";function e(r,i){var s=this;if(!(this instanceof e))throw new SyntaxError("Constructor must be called with the new operator");if("function"!=typeof r)throw new SyntaxError("Function parameter handler(resolve, reject) missing");var u=[],a=[];this.resolved=!1,this.rejected=!1,this.pending=!0;var c=function(r,e){u.push(r),a.push(e)};this.then=function(r,o){return new e((function(e,n){var i=r?t(r,e,n):e,s=o?t(o,e,n):n;c(i,s)}),s)};var f=function(r){return s.resolved=!0,s.rejected=!1,s.pending=!1,u.forEach((function(e){e(r)})),c=function(e,t){e(r)},f=p=function(){},s},p=function(r){return s.resolved=!1,s.rejected=!0,s.pending=!1,a.forEach((function(e){e(r)})),c=function(e,t){t(r)},f=p=function(){},s};this.cancel=function(){return i?i.cancel():p(new o),s},this.timeout=function(r){if(i)i.timeout(r);else{var e=setTimeout((function(){p(new n("Promise timed out after "+r+" ms"))}),r);s.always((function(){clearTimeout(e)}))}return s},r((function(r){f(r)}),(function(r){p(r)}))}function t(r,e,t){return function(o){try{var n=r(o);n&&"function"==typeof n.then&&"function"==typeof n.catch?n.then(e,t):e(n)}catch(r){t(r)}}}function o(r){this.message=r||"promise cancelled",this.stack=(new Error).stack}function n(r){this.message=r||"timeout exceeded",this.stack=(new Error).stack}e.prototype.catch=function(r){return this.then(null,r)},e.prototype.always=function(r){return this.then(r,r)},e.all=function(r){return new e((function(e,t){var o=r.length,n=[];o?r.forEach((function(r,i){r.then((function(r){n[i]=r,0==--o&&e(n)}),(function(r){o=0,t(r)}))})):e(n)}))},e.defer=function(){var r={};return r.promise=new e((function(e,t){r.resolve=e,r.reject=t})),r},o.prototype=new Error,o.prototype.constructor=Error,o.prototype.name="CancellationError",e.CancellationError=o,n.prototype=new Error,n.prototype.constructor=Error,n.prototype.name="TimeoutError",e.TimeoutError=n,r.exports=e},751:function(r,e,t){"use strict";function o(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,o=new Array(e);t<e;t++)o[t]=r[t];return o}function n(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,o)}return t}function i(r){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},i(r)}var s=t(219),u=t(828),a=t(397),c="__workerpool-terminate__";function f(){var r=d();if(!r)throw new Error("WorkerPool: workerType = 'thread' is not supported, Node >= 11.7.0 required");return r}function p(){if("function"!=typeof Worker&&("object"!==("undefined"==typeof Worker?"undefined":i(Worker))||"function"!=typeof Worker.prototype.constructor))throw new Error("WorkerPool: Web Workers not supported")}function d(){try{return a("worker_threads")}catch(r){if("object"===i(r)&&null!==r&&"MODULE_NOT_FOUND"===r.code)return null;throw r}}function l(r,e,t){var o=new t(r,e);return o.isBrowserWorker=!0,o.on=function(r,e){this.addEventListener(r,(function(r){e(r.data)}))},o.send=function(r,e){this.postMessage(r,e)},o}function h(r,e,t){var o=new e.Worker(r,function(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?n(Object(t),!0).forEach((function(e){var o,n,s;o=r,n=e,s=t[e],(n=function(r){var e=function(r,e){if("object"!==i(r)||null===r)return r;var t=r[Symbol.toPrimitive];if(void 0!==t){var o=t.call(r,"string");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}(r);return"symbol"===i(e)?e:String(e)}(n))in o?Object.defineProperty(o,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):o[n]=s})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):n(Object(t)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}))}return r}({stdout:!1,stderr:!1},t));return o.isWorkerThread=!0,o.send=function(r,e){this.postMessage(r,e)},o.kill=function(){return this.terminate(),!0},o.disconnect=function(){this.terminate()},o}function k(r,e,t){var o=t.fork(r,e.forkArgs,e.forkOpts),n=o.send;return o.send=function(r){return n.call(o,r)},o.isChildProcess=!0,o}function w(r){r=r||{};var e=process.execArgv.join(" "),t=-1!==e.indexOf("--inspect"),o=-1!==e.indexOf("--debug-brk"),n=[];return t&&(n.push("--inspect="+r.debugPort),o&&n.push("--debug-brk")),process.execArgv.forEach((function(r){r.indexOf("--max-old-space-size")>-1&&n.push(r)})),Object.assign({},r,{forkArgs:r.forkArgs,forkOpts:Object.assign({},r.forkOpts,{execArgv:(r.forkOpts&&r.forkOpts.execArgv||[]).concat(n)})})}function m(r,e){var n=this,i=e||{};function s(r){for(var e in n.terminated=!0,n.processing)void 0!==n.processing[e]&&n.processing[e].resolver.reject(r);n.processing=Object.create(null)}this.script=r||function(){if("browser"===u.platform){if("undefined"==typeof Blob)throw new Error("Blob not supported by the browser");if(!window.URL||"function"!=typeof window.URL.createObjectURL)throw new Error("URL.createObjectURL not supported by the browser");var r=new Blob([t(670)],{type:"text/javascript"});return window.URL.createObjectURL(r)}return __dirname+"/worker.js"}(),this.worker=function(r,e){if("web"===e.workerType)return p(),l(r,e.workerOpts,Worker);if("thread"===e.workerType)return h(r,t=f(),e.workerThreadOpts);if("process"!==e.workerType&&e.workerType){if("browser"===u.platform)return p(),l(r,e.workerOpts,Worker);var t=d();return t?h(r,t,e.workerThreadOpts):k(r,w(e),a("child_process"))}return k(r,w(e),a("child_process"))}(this.script,i),this.debugPort=i.debugPort,this.forkOpts=i.forkOpts,this.forkArgs=i.forkArgs,this.workerOpts=i.workerOpts,this.workerThreadOpts=i.workerThreadOpts,this.workerTerminateTimeout=i.workerTerminateTimeout,r||(this.worker.ready=!0),this.requestQueue=[],this.worker.on("message",(function(r){if(!n.terminated)if("string"==typeof r&&"ready"===r)n.worker.ready=!0,function(){var r,e=function(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=function(r,e){if(r){if("string"==typeof r)return o(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(r,e):void 0}}(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var n=0,i=function(){};return{s:i,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,u=!0,a=!1;return{s:function(){t=t.call(r)},n:function(){var r=t.next();return u=r.done,r},e:function(r){a=!0,s=r},f:function(){try{u||null==t.return||t.return()}finally{if(a)throw s}}}}(n.requestQueue.splice(0));try{for(e.s();!(r=e.n()).done;){var t=r.value;n.worker.send(t.message,t.transfer)}}catch(r){e.e(r)}finally{e.f()}}();else{var e=r.id,t=n.processing[e];void 0!==t&&(r.isEvent?t.options&&"function"==typeof t.options.on&&t.options.on(r.payload):(delete n.processing[e],!0===n.terminating&&n.terminate(),r.error?t.resolver.reject(function(r){for(var e=new Error(""),t=Object.keys(r),o=0;o<t.length;o++)e[t[o]]=r[t[o]];return e}(r.error)):t.resolver.resolve(r.result)))}}));var c=this.worker;this.worker.on("error",s),this.worker.on("exit",(function(r,e){var t="Workerpool Worker terminated Unexpectedly\n";t+=" exitCode: `"+r+"`\n",t+=" signalCode: `"+e+"`\n",t+=" workerpool.script: `"+n.script+"`\n",t+=" spawnArgs: `"+c.spawnargs+"`\n",t+=" spawnfile: `"+c.spawnfile+"`\n",t+=" stdout: `"+c.stdout+"`\n",t+=" stderr: `"+c.stderr+"`\n",s(new Error(t))})),this.processing=Object.create(null),this.terminating=!1,this.terminated=!1,this.cleaning=!1,this.terminationHandler=null,this.lastId=0}m.prototype.methods=function(){return this.exec("methods")},m.prototype.exec=function(r,e,t,o){t||(t=s.defer());var n=++this.lastId;this.processing[n]={id:n,resolver:t,options:o};var i={message:{id:n,method:r,params:e},transfer:o&&o.transfer};this.terminated?t.reject(new Error("Worker is terminated")):this.worker.ready?this.worker.send(i.message,i.transfer):this.requestQueue.push(i);var u=this;return t.promise.catch((function(r){if(r instanceof s.CancellationError||r instanceof s.TimeoutError)return delete u.processing[n],u.terminateAndNotify(!0).then((function(){throw r}),(function(r){throw r}));throw r}))},m.prototype.busy=function(){return this.cleaning||Object.keys(this.processing).length>0},m.prototype.terminate=function(r,e){var t=this;if(r){for(var o in this.processing)void 0!==this.processing[o]&&this.processing[o].resolver.reject(new Error("Worker terminated"));this.processing=Object.create(null)}if("function"==typeof e&&(this.terminationHandler=e),this.busy())this.terminating=!0;else{var n=function(r){if(t.terminated=!0,t.cleaning=!1,null!=t.worker&&t.worker.removeAllListeners&&t.worker.removeAllListeners("message"),t.worker=null,t.terminating=!1,t.terminationHandler)t.terminationHandler(r,t);else if(r)throw r};if(this.worker){if("function"==typeof this.worker.kill){if(this.worker.killed)return void n(new Error("worker already killed!"));var i=setTimeout((function(){t.worker&&t.worker.kill()}),this.workerTerminateTimeout);return this.worker.once("exit",(function(){clearTimeout(i),t.worker&&(t.worker.killed=!0),n()})),this.worker.ready?this.worker.send(c):this.requestQueue.push({message:c}),void(this.cleaning=!0)}if("function"!=typeof this.worker.terminate)throw new Error("Failed to terminate worker");this.worker.terminate(),this.worker.killed=!0}n()}},m.prototype.terminateAndNotify=function(r,e){var t=s.defer();return e&&t.promise.timeout(e),this.terminate(r,(function(r,e){r?t.reject(r):t.resolve(e)})),t.promise},r.exports=m,r.exports._tryRequireWorkerThreads=d,r.exports._setupProcessWorker=k,r.exports._setupBrowserWorker=l,r.exports._setupWorkerThreadWorker=h,r.exports.ensureWorkerThreads=f},833:function(r){"use strict";function e(){this.ports=Object.create(null),this.length=0}r.exports=e,e.prototype.nextAvailableStartingAt=function(r){for(;!0===this.ports[r];)r++;if(r>=65535)throw new Error("WorkerPool debug port limit reached: "+r+">= 65535");return this.ports[r]=!0,this.length++,r},e.prototype.releasePort=function(r){delete this.ports[r],this.length--}},828:function(r,e,t){var o=t(397),n=function(r){return void 0!==r&&null!=r.versions&&null!=r.versions.node};r.exports.isNode=n,r.exports.platform="undefined"!=typeof process&&n(process)?"node":"browser";var i=function(r){try{return o("worker_threads")}catch(r){return null}}();r.exports.isMainThread="node"===r.exports.platform?(!i||i.isMainThread)&&!process.connected:"undefined"!=typeof Window,r.exports.cpus="browser"===r.exports.platform?self.navigator.hardwareConcurrency:o("os").cpus().length},670:function(r){r.exports='!function(){var __webpack_modules__={577:function(e){e.exports=function(e,r){this.message=e,this.transfer=r}}},__webpack_module_cache__={};function __webpack_require__(e){var r=__webpack_module_cache__[e];return void 0!==r||(r=__webpack_module_cache__[e]={exports:{}},__webpack_modules__[e](r,r.exports,__webpack_require__)),r.exports}var __webpack_exports__={};!function(){var exports=__webpack_exports__,__webpack_unused_export__;function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Transfer=__webpack_require__(577),requireFoolWebpack=eval("typeof require !== \'undefined\' ? require : function (module) { throw new Error(\'Module \\" + module + \\" not found.\') }"),TERMINATE_METHOD_ID="__workerpool-terminate__",worker={exit:function(){}},WorkerThreads,parentPort;if("undefined"!=typeof self&&"function"==typeof postMessage&&"function"==typeof addEventListener)worker.on=function(e,r){addEventListener(e,function(e){r(e.data)})},worker.send=function(e){postMessage(e)};else{if("undefined"==typeof process)throw new Error("Script must be executed as a worker");try{WorkerThreads=requireFoolWebpack("worker_threads")}catch(error){if("object"!==_typeof(error)||null===error||"MODULE_NOT_FOUND"!==error.code)throw error}WorkerThreads&&null!==WorkerThreads.parentPort?(parentPort=WorkerThreads.parentPort,worker.send=parentPort.postMessage.bind(parentPort),worker.on=parentPort.on.bind(parentPort)):(worker.on=process.on.bind(process),worker.send=function(e){process.send(e)},worker.on("disconnect",function(){process.exit(1)})),worker.exit=process.exit.bind(process)}function convertError(o){return Object.getOwnPropertyNames(o).reduce(function(e,r){return Object.defineProperty(e,r,{value:o[r],enumerable:!0})},{})}function isPromise(e){return e&&"function"==typeof e.then&&"function"==typeof e.catch}worker.methods={},worker.methods.run=function(e,r){e=new Function("return ("+e+").apply(null, arguments);");return e.apply(e,r)},worker.methods.methods=function(){return Object.keys(worker.methods)},worker.terminationHandler=void 0,worker.cleanupAndExit=function(e){function r(){worker.exit(e)}if(!worker.terminationHandler)return r();var o=worker.terminationHandler(e);isPromise(o)?o.then(r,r):r()};var currentRequestId=null;worker.on("message",function(r){if(r===TERMINATE_METHOD_ID)return worker.cleanupAndExit(0);try{var e=worker.methods[r.method];if(!e)throw new Error(\'Unknown method "\'+r.method+\'"\');currentRequestId=r.id;var o=e.apply(e,r.params);isPromise(o)?o.then(function(e){e instanceof Transfer?worker.send({id:r.id,result:e.message,error:null},e.transfer):worker.send({id:r.id,result:e,error:null}),currentRequestId=null}).catch(function(e){worker.send({id:r.id,result:null,error:convertError(e)}),currentRequestId=null}):(o instanceof Transfer?worker.send({id:r.id,result:o.message,error:null},o.transfer):worker.send({id:r.id,result:o,error:null}),currentRequestId=null)}catch(e){worker.send({id:r.id,result:null,error:convertError(e)})}}),worker.register=function(e,r){if(e)for(var o in e)e.hasOwnProperty(o)&&(worker.methods[o]=e[o]);r&&(worker.terminationHandler=r.onTerminate),worker.send("ready")},worker.emit=function(e){currentRequestId&&(e instanceof Transfer?worker.send({id:currentRequestId,isEvent:!0,payload:e.message},e.transfer):worker.send({id:currentRequestId,isEvent:!0,payload:e}))},__webpack_unused_export__=worker.register,worker.emit}()}();'},397:function(module){var requireFoolWebpack=eval("typeof require !== 'undefined' ? require : function (module) { throw new Error('Module \" + module + \" not found.') }");module.exports=requireFoolWebpack},577:function(r){r.exports=function(r,e){this.message=r,this.transfer=e}},744:function(__unused_webpack_module,exports,__webpack_require__){function _typeof(r){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof(r)}var Transfer=__webpack_require__(577),requireFoolWebpack=eval("typeof require !== 'undefined' ? require : function (module) { throw new Error('Module \" + module + \" not found.') }"),TERMINATE_METHOD_ID="__workerpool-terminate__",worker={exit:function(){}};if("undefined"!=typeof self&&"function"==typeof postMessage&&"function"==typeof addEventListener)worker.on=function(r,e){addEventListener(r,(function(r){e(r.data)}))},worker.send=function(r){postMessage(r)};else{if("undefined"==typeof process)throw new Error("Script must be executed as a worker");var WorkerThreads;try{WorkerThreads=requireFoolWebpack("worker_threads")}catch(r){if("object"!==_typeof(r)||null===r||"MODULE_NOT_FOUND"!==r.code)throw r}if(WorkerThreads&&null!==WorkerThreads.parentPort){var parentPort=WorkerThreads.parentPort;worker.send=parentPort.postMessage.bind(parentPort),worker.on=parentPort.on.bind(parentPort),worker.exit=process.exit.bind(process)}else worker.on=process.on.bind(process),worker.send=function(r){process.send(r)},worker.on("disconnect",(function(){process.exit(1)})),worker.exit=process.exit.bind(process)}function convertError(r){return Object.getOwnPropertyNames(r).reduce((function(e,t){return Object.defineProperty(e,t,{value:r[t],enumerable:!0})}),{})}function isPromise(r){return r&&"function"==typeof r.then&&"function"==typeof r.catch}worker.methods={},worker.methods.run=function(r,e){var t=new Function("return ("+r+").apply(null, arguments);");return t.apply(t,e)},worker.methods.methods=function(){return Object.keys(worker.methods)},worker.terminationHandler=void 0,worker.cleanupAndExit=function(r){var e=function(){worker.exit(r)};if(!worker.terminationHandler)return e();var t=worker.terminationHandler(r);isPromise(t)?t.then(e,e):e()};var currentRequestId=null;worker.on("message",(function(r){if(r===TERMINATE_METHOD_ID)return worker.cleanupAndExit(0);try{var e=worker.methods[r.method];if(!e)throw new Error('Unknown method "'+r.method+'"');currentRequestId=r.id;var t=e.apply(e,r.params);isPromise(t)?t.then((function(e){e instanceof Transfer?worker.send({id:r.id,result:e.message,error:null},e.transfer):worker.send({id:r.id,result:e,error:null}),currentRequestId=null})).catch((function(e){worker.send({id:r.id,result:null,error:convertError(e)}),currentRequestId=null})):(t instanceof Transfer?worker.send({id:r.id,result:t.message,error:null},t.transfer):worker.send({id:r.id,result:t,error:null}),currentRequestId=null)}catch(e){worker.send({id:r.id,result:null,error:convertError(e)})}})),worker.register=function(r,e){if(r)for(var t in r)r.hasOwnProperty(t)&&(worker.methods[t]=r[t]);e&&(worker.terminationHandler=e.onTerminate),worker.send("ready")},worker.emit=function(r){if(currentRequestId){if(r instanceof Transfer)return void worker.send({id:currentRequestId,isEvent:!0,payload:r.message},r.transfer);worker.send({id:currentRequestId,isEvent:!0,payload:r})}},exports.add=worker.register,exports.emit=worker.emit}},__webpack_module_cache__={};function __webpack_require__(r){var e=__webpack_module_cache__[r];if(void 0!==e)return e.exports;var t=__webpack_module_cache__[r]={exports:{}};return __webpack_modules__[r](t,t.exports,__webpack_require__),t.exports}var __webpack_exports__={};return function(){var r=__webpack_exports__,e=__webpack_require__(828);r.pool=function(r,e){return new(__webpack_require__(345))(r,e)},r.worker=function(r,e){__webpack_require__(744).add(r,e)},r.workerEmit=function(r){__webpack_require__(744).emit(r)},r.Promise=__webpack_require__(219),r.Transfer=__webpack_require__(577),r.platform=e.platform,r.isMainThread=e.isMainThread,r.cpus=e.cpus}(),__webpack_exports__}()}));
3
- //# sourceMappingURL=workerpool.min.js.map
@@ -1,24 +0,0 @@
1
- /**
2
- * workerpool.js
3
- * https://github.com/josdejong/workerpool
4
- *
5
- * Offload tasks to a pool of workers on node.js and in the browser.
6
- *
7
- * @version 6.5.1
8
- * @date 2023-10-11
9
- *
10
- * @license
11
- * Copyright (C) 2014-2022 Jos de Jong <wjosdejong@gmail.com>
12
- *
13
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
14
- * use this file except in compliance with the License. You may obtain a copy
15
- * of the License at
16
- *
17
- * http://www.apache.org/licenses/LICENSE-2.0
18
- *
19
- * Unless required by applicable law or agreed to in writing, software
20
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
21
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
22
- * License for the specific language governing permissions and limitations under
23
- * the License.
24
- */
@@ -1 +0,0 @@
1
- {"version":3,"file":"workerpool.min.js","mappings":";CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,aAAc,GAAIH,GACC,iBAAZC,QACdA,QAAoB,WAAID,IAExBD,EAAiB,WAAIC,GACtB,CATD,CASoB,oBAATK,KAAuBA,KAAOC,MAAO,WAChD,+DCVA,IAAIC,EAAUC,EAAQ,KAClBC,EAAgBD,EAAQ,KACxBE,EAAcF,EAAQ,KAEtBG,EAAuB,IADFH,EAAQ,MAQjC,SAASI,EAAKC,EAAQC,GACE,iBAAXD,EACTP,KAAKO,OAASA,GAAU,MAGxBP,KAAKO,OAAS,KACdC,EAAUD,GAGZP,KAAKS,QAAU,GACfT,KAAKU,MAAQ,GAEbF,EAAUA,GAAW,CAAC,EAEtBR,KAAKW,SAAWC,OAAOC,OAAOL,EAAQG,UAAY,IAClDX,KAAKc,SAAWF,OAAOC,OAAOL,EAAQM,UAAY,CAAC,GACnDd,KAAKe,WAAaH,OAAOC,OAAOL,EAAQO,YAAc,CAAC,GACvDf,KAAKgB,iBAAmBJ,OAAOC,OAAOL,EAAQQ,kBAAoB,CAAC,GACnEhB,KAAKiB,eAAkBT,EAAQS,gBAAkB,MACjDjB,KAAKkB,WAAaV,EAAQU,WAC1BlB,KAAKmB,WAAaX,EAAQW,YAAcX,EAAQU,YAAc,OAC9DlB,KAAKoB,aAAeZ,EAA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EAAQyE,OAAS,SAAgBH,EAASzD,GAC3BN,oBAAQ,KACd2S,IAAI5O,EAASzD,EACtB,EAMAb,EAAQwT,WAAa,SAAoB7D,GAC1BpP,oBAAQ,KACd0S,KAAKtD,EACd,EAMA3P,EAAQM,QAAU,oBAAlBN,KAMAA,EAAQgS,SAAW,oBAAnBhS,KAEAA,EAAQwN,SAAW/M,EAAY+M,SAC/BxN,EAAQ0R,aAAejR,EAAYiR,aACnC1R,EAAQqC,KAAO5B,EAAY4B,4BXrC3B","sources":["webpack://workerpool/webpack/universalModuleDefinition","webpack://workerpool/./src/Pool.js","webpack://workerpool/./src/Promise.js","webpack://workerpool/./src/WorkerHandler.js","webpack://workerpool/./src/debug-port-allocator.js","webpack://workerpool/./src/environment.js","webpack://workerpool/./src/generated/embeddedWorker.js","webpack://workerpool/./src/requireFoolWebpack.js","webpack://workerpool/./src/transfer.js","webpack://workerpool/./src/worker.js","webpack://workerpool/webpack/bootstrap","webpack://workerpool/./src/index.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"workerpool\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"workerpool\"] = factory();\n\telse\n\t\troot[\"workerpool\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn ","var Promise = require('./Promise');\nvar WorkerHandler = require('./WorkerHandler');\nvar environment = require('./environment');\nvar DebugPortAllocator = require('./debug-port-allocator');\nvar DEBUG_PORT_ALLOCATOR = new DebugPortAllocator();\n/**\n * A pool to manage workers\n * @param {String} [script] Optional worker script\n * @param {WorkerPoolOptions} [options] See docs\n * @constructor\n */\nfunction Pool(script, options) {\n if (typeof script === 'string') {\n this.script = script || null;\n }\n else {\n this.script = null;\n options = script;\n }\n\n this.workers = []; // queue with all workers\n this.tasks = []; // queue with tasks awaiting execution\n\n options = options || {};\n\n this.forkArgs = Object.freeze(options.forkArgs || []);\n this.forkOpts = Object.freeze(options.forkOpts || {});\n this.workerOpts = Object.freeze(options.workerOpts || {});\n this.workerThreadOpts = Object.freeze(options.workerThreadOpts || {})\n this.debugPortStart = (options.debugPortStart || 43210);\n this.nodeWorker = options.nodeWorker;\n this.workerType = options.workerType || options.nodeWorker || 'auto'\n this.maxQueueSize = options.maxQueueSize || Infinity;\n this.workerTerminateTimeout = options.workerTerminateTimeout || 1000;\n\n this.onCreateWorker = options.onCreateWorker || (() => null);\n this.onTerminateWorker = options.onTerminateWorker || (() => null);\n\n // configuration\n if (options && 'maxWorkers' in options) {\n validateMaxWorkers(options.maxWorkers);\n this.maxWorkers = options.maxWorkers;\n }\n else {\n this.maxWorkers = Math.max((environment.cpus || 4) - 1, 1);\n }\n\n if (options && 'minWorkers' in options) {\n if(options.minWorkers === 'max') {\n this.minWorkers = this.maxWorkers;\n } else {\n validateMinWorkers(options.minWorkers);\n this.minWorkers = options.minWorkers;\n this.maxWorkers = Math.max(this.minWorkers, this.maxWorkers); // in case minWorkers is higher than maxWorkers\n }\n this._ensureMinWorkers();\n }\n\n this._boundNext = this._next.bind(this);\n\n\n if (this.workerType === 'thread') {\n WorkerHandler.ensureWorkerThreads();\n }\n}\n\n\n/**\n * Execute a function on a worker.\n *\n * Example usage:\n *\n * var pool = new Pool()\n *\n * // call a function available on the worker\n * pool.exec('fibonacci', [6])\n *\n * // offload a function\n * function add(a, b) {\n * return a + b\n * };\n * pool.exec(add, [2, 4])\n * .then(function (result) {\n * console.log(result); // outputs 6\n * })\n * .catch(function(error) {\n * console.log(error);\n * });\n *\n * @param {String | Function} method Function name or function.\n * If `method` is a string, the corresponding\n * method on the worker will be executed\n * If `method` is a Function, the function\n * will be stringified and executed via the\n * workers built-in function `run(fn, args)`.\n * @param {Array} [params] Function arguments applied when calling the function\n * @param {ExecOptions} [options] Options object\n * @return {Promise.<*, Error>} result\n */\nPool.prototype.exec = function (method, params, options) {\n // validate type of arguments\n if (params && !Array.isArray(params)) {\n throw new TypeError('Array expected as argument \"params\"');\n }\n\n if (typeof method === 'string') {\n var resolver = Promise.defer();\n\n if (this.tasks.length >= this.maxQueueSize) {\n throw new Error('Max queue size of ' + this.maxQueueSize + ' reached');\n }\n\n // add a new task to the queue\n var tasks = this.tasks;\n var task = {\n method: method,\n params: params,\n resolver: resolver,\n timeout: null,\n options: options\n };\n tasks.push(task);\n\n // replace the timeout method of the Promise with our own,\n // which starts the timer as soon as the task is actually started\n var originalTimeout = resolver.promise.timeout;\n resolver.promise.timeout = function timeout (delay) {\n if (tasks.indexOf(task) !== -1) {\n // task is still queued -> start the timer later on\n task.timeout = delay;\n return resolver.promise;\n }\n else {\n // task is already being executed -> start timer immediately\n return originalTimeout.call(resolver.promise, delay);\n }\n };\n\n // trigger task execution\n this._next();\n\n return resolver.promise;\n }\n else if (typeof method === 'function') {\n // send stringified function and function arguments to worker\n return this.exec('run', [String(method), params]);\n }\n else {\n throw new TypeError('Function or string expected as argument \"method\"');\n }\n};\n\n/**\n * Create a proxy for current worker. Returns an object containing all\n * methods available on the worker. The methods always return a promise.\n *\n * @return {Promise.<Object, Error>} proxy\n */\nPool.prototype.proxy = function () {\n if (arguments.length > 0) {\n throw new Error('No arguments expected');\n }\n\n var pool = this;\n return this.exec('methods')\n .then(function (methods) {\n var proxy = {};\n\n methods.forEach(function (method) {\n proxy[method] = function () {\n return pool.exec(method, Array.prototype.slice.call(arguments));\n }\n });\n\n return proxy;\n });\n};\n\n/**\n * Creates new array with the results of calling a provided callback function\n * on every element in this array.\n * @param {Array} array\n * @param {function} callback Function taking two arguments:\n * `callback(currentValue, index)`\n * @return {Promise.<Array>} Returns a promise which resolves with an Array\n * containing the results of the callback function\n * executed for each of the array elements.\n */\n/* TODO: implement map\nPool.prototype.map = function (array, callback) {\n};\n*/\n\n/**\n * Grab the first task from the queue, find a free worker, and assign the\n * worker to the task.\n * @protected\n */\nPool.prototype._next = function () {\n if (this.tasks.length > 0) {\n // there are tasks in the queue\n\n // find an available worker\n var worker = this._getWorker();\n if (worker) {\n // get the first task from the queue\n var me = this;\n var task = this.tasks.shift();\n\n // check if the task is still pending (and not cancelled -> promise rejected)\n if (task.resolver.promise.pending) {\n // send the request to the worker\n var promise = worker.exec(task.method, task.params, task.resolver, task.options)\n .then(me._boundNext)\n .catch(function () {\n // if the worker crashed and terminated, remove it from the pool\n if (worker.terminated) {\n return me._removeWorker(worker);\n }\n }).then(function() {\n me._next(); // trigger next task in the queue\n });\n\n // start queued timer now\n if (typeof task.timeout === 'number') {\n promise.timeout(task.timeout);\n }\n } else {\n // The task taken was already complete (either rejected or resolved), so just trigger next task in the queue\n me._next();\n }\n }\n }\n};\n\n/**\n * Get an available worker. If no worker is available and the maximum number\n * of workers isn't yet reached, a new worker will be created and returned.\n * If no worker is available and the maximum number of workers is reached,\n * null will be returned.\n *\n * @return {WorkerHandler | null} worker\n * @private\n */\nPool.prototype._getWorker = function() {\n // find a non-busy worker\n var workers = this.workers;\n for (var i = 0; i < workers.length; i++) {\n var worker = workers[i];\n if (worker.busy() === false) {\n return worker;\n }\n }\n\n if (workers.length < this.maxWorkers) {\n // create a new worker\n worker = this._createWorkerHandler();\n workers.push(worker);\n return worker;\n }\n\n return null;\n};\n\n/**\n * Remove a worker from the pool.\n * Attempts to terminate worker if not already terminated, and ensures the minimum\n * pool size is met.\n * @param {WorkerHandler} worker\n * @return {Promise<WorkerHandler>}\n * @protected\n */\nPool.prototype._removeWorker = function(worker) {\n var me = this;\n\n DEBUG_PORT_ALLOCATOR.releasePort(worker.debugPort);\n // _removeWorker will call this, but we need it to be removed synchronously\n this._removeWorkerFromList(worker);\n // If minWorkers set, spin up new workers to replace the crashed ones\n this._ensureMinWorkers();\n // terminate the worker (if not already terminated)\n return new Promise(function(resolve, reject) {\n worker.terminate(false, function(err) {\n me.onTerminateWorker({\n forkArgs: worker.forkArgs,\n forkOpts: worker.forkOpts,\n workerThreadOpts: worker.workerThreadOpts,\n script: worker.script\n });\n if (err) {\n reject(err);\n } else {\n resolve(worker);\n }\n });\n });\n};\n\n/**\n * Remove a worker from the pool list.\n * @param {WorkerHandler} worker\n * @protected\n */\nPool.prototype._removeWorkerFromList = function(worker) {\n // remove from the list with workers\n var index = this.workers.indexOf(worker);\n if (index !== -1) {\n this.workers.splice(index, 1);\n }\n};\n\n/**\n * Close all active workers. Tasks currently being executed will be finished first.\n * @param {boolean} [force=false] If false (default), the workers are terminated\n * after finishing all tasks currently in\n * progress. If true, the workers will be\n * terminated immediately.\n * @param {number} [timeout] If provided and non-zero, worker termination promise will be rejected\n * after timeout if worker process has not been terminated.\n * @return {Promise.<void, Error>}\n */\nPool.prototype.terminate = function (force, timeout) {\n var me = this;\n\n // cancel any pending tasks\n this.tasks.forEach(function (task) {\n task.resolver.reject(new Error('Pool terminated'));\n });\n this.tasks.length = 0;\n\n var f = function (worker) {\n DEBUG_PORT_ALLOCATOR.releasePort(worker.debugPort);\n this._removeWorkerFromList(worker);\n };\n var removeWorker = f.bind(this);\n\n var promises = [];\n var workers = this.workers.slice();\n workers.forEach(function (worker) {\n var termPromise = worker.terminateAndNotify(force, timeout)\n .then(removeWorker)\n .always(function() {\n me.onTerminateWorker({\n forkArgs: worker.forkArgs,\n forkOpts: worker.forkOpts,\n workerThreadOpts: worker.workerThreadOpts,\n script: worker.script\n });\n });\n promises.push(termPromise);\n });\n return Promise.all(promises);\n};\n\n/**\n * Retrieve statistics on tasks and workers.\n * @return {{totalWorkers: number, busyWorkers: number, idleWorkers: number, pendingTasks: number, activeTasks: number}} Returns an object with statistics\n */\nPool.prototype.stats = function () {\n var totalWorkers = this.workers.length;\n var busyWorkers = this.workers.filter(function (worker) {\n return worker.busy();\n }).length;\n\n return {\n totalWorkers: totalWorkers,\n busyWorkers: busyWorkers,\n idleWorkers: totalWorkers - busyWorkers,\n\n pendingTasks: this.tasks.length,\n activeTasks: busyWorkers\n };\n};\n\n/**\n * Ensures that a minimum of minWorkers is up and running\n * @protected\n */\nPool.prototype._ensureMinWorkers = function() {\n if (this.minWorkers) {\n for(var i = this.workers.length; i < this.minWorkers; i++) {\n this.workers.push(this._createWorkerHandler());\n }\n }\n};\n\n/**\n * Helper function to create a new WorkerHandler and pass all options.\n * @return {WorkerHandler}\n * @private\n */\nPool.prototype._createWorkerHandler = function () {\n const overriddenParams = this.onCreateWorker({\n forkArgs: this.forkArgs,\n forkOpts: this.forkOpts,\n workerOpts: this.workerOpts,\n workerThreadOpts: this.workerThreadOpts,\n script: this.script\n }) || {};\n\n return new WorkerHandler(overriddenParams.script || this.script, {\n forkArgs: overriddenParams.forkArgs || this.forkArgs,\n forkOpts: overriddenParams.forkOpts || this.forkOpts,\n workerOpts: overriddenParams.workerOpts || this.workerOpts,\n workerThreadOpts: overriddenParams.workerThreadOpts || this.workerThreadOpts,\n debugPort: DEBUG_PORT_ALLOCATOR.nextAvailableStartingAt(this.debugPortStart),\n workerType: this.workerType,\n workerTerminateTimeout: this.workerTerminateTimeout,\n });\n}\n\n/**\n * Ensure that the maxWorkers option is an integer >= 1\n * @param {*} maxWorkers\n * @returns {boolean} returns true maxWorkers has a valid value\n */\nfunction validateMaxWorkers(maxWorkers) {\n if (!isNumber(maxWorkers) || !isInteger(maxWorkers) || maxWorkers < 1) {\n throw new TypeError('Option maxWorkers must be an integer number >= 1');\n }\n}\n\n/**\n * Ensure that the minWorkers option is an integer >= 0\n * @param {*} minWorkers\n * @returns {boolean} returns true when minWorkers has a valid value\n */\nfunction validateMinWorkers(minWorkers) {\n if (!isNumber(minWorkers) || !isInteger(minWorkers) || minWorkers < 0) {\n throw new TypeError('Option minWorkers must be an integer number >= 0');\n }\n}\n\n/**\n * Test whether a variable is a number\n * @param {*} value\n * @returns {boolean} returns true when value is a number\n */\nfunction isNumber(value) {\n return typeof value === 'number';\n}\n\n/**\n * Test whether a number is an integer\n * @param {number} value\n * @returns {boolean} Returns true if value is an integer\n */\nfunction isInteger(value) {\n return Math.round(value) == value;\n}\n\nmodule.exports = Pool;\n","'use strict';\n\n/**\n * Promise\n *\n * Inspired by https://gist.github.com/RubaXa/8501359 from RubaXa <trash@rubaxa.org>\n *\n * @param {Function} handler Called as handler(resolve: Function, reject: Function)\n * @param {Promise} [parent] Parent promise for propagation of cancel and timeout\n */\nfunction Promise(handler, parent) {\n var me = this;\n\n if (!(this instanceof Promise)) {\n throw new SyntaxError('Constructor must be called with the new operator');\n }\n\n if (typeof handler !== 'function') {\n throw new SyntaxError('Function parameter handler(resolve, reject) missing');\n }\n\n var _onSuccess = [];\n var _onFail = [];\n\n // status\n this.resolved = false;\n this.rejected = false;\n this.pending = true;\n\n /**\n * Process onSuccess and onFail callbacks: add them to the queue.\n * Once the promise is resolve, the function _promise is replace.\n * @param {Function} onSuccess\n * @param {Function} onFail\n * @private\n */\n var _process = function (onSuccess, onFail) {\n _onSuccess.push(onSuccess);\n _onFail.push(onFail);\n };\n\n /**\n * Add an onSuccess callback and optionally an onFail callback to the Promise\n * @param {Function} onSuccess\n * @param {Function} [onFail]\n * @returns {Promise} promise\n */\n this.then = function (onSuccess, onFail) {\n return new Promise(function (resolve, reject) {\n var s = onSuccess ? _then(onSuccess, resolve, reject) : resolve;\n var f = onFail ? _then(onFail, resolve, reject) : reject;\n\n _process(s, f);\n }, me);\n };\n\n /**\n * Resolve the promise\n * @param {*} result\n * @type {Function}\n */\n var _resolve = function (result) {\n // update status\n me.resolved = true;\n me.rejected = false;\n me.pending = false;\n\n _onSuccess.forEach(function (fn) {\n fn(result);\n });\n\n _process = function (onSuccess, onFail) {\n onSuccess(result);\n };\n\n _resolve = _reject = function () { };\n\n return me;\n };\n\n /**\n * Reject the promise\n * @param {Error} error\n * @type {Function}\n */\n var _reject = function (error) {\n // update status\n me.resolved = false;\n me.rejected = true;\n me.pending = false;\n\n _onFail.forEach(function (fn) {\n fn(error);\n });\n\n _process = function (onSuccess, onFail) {\n onFail(error);\n };\n\n _resolve = _reject = function () { }\n\n return me;\n };\n\n /**\n * Cancel te promise. This will reject the promise with a CancellationError\n * @returns {Promise} self\n */\n this.cancel = function () {\n if (parent) {\n parent.cancel();\n }\n else {\n _reject(new CancellationError());\n }\n\n return me;\n };\n\n /**\n * Set a timeout for the promise. If the promise is not resolved within\n * the time, the promise will be cancelled and a TimeoutError is thrown.\n * If the promise is resolved in time, the timeout is removed.\n * @param {number} delay Delay in milliseconds\n * @returns {Promise} self\n */\n this.timeout = function (delay) {\n if (parent) {\n parent.timeout(delay);\n }\n else {\n var timer = setTimeout(function () {\n _reject(new TimeoutError('Promise timed out after ' + delay + ' ms'));\n }, delay);\n\n me.always(function () {\n clearTimeout(timer);\n });\n }\n\n return me;\n };\n\n // attach handler passing the resolve and reject functions\n handler(function (result) {\n _resolve(result);\n }, function (error) {\n _reject(error);\n });\n}\n\n/**\n * Execute given callback, then call resolve/reject based on the returned result\n * @param {Function} callback\n * @param {Function} resolve\n * @param {Function} reject\n * @returns {Function}\n * @private\n */\nfunction _then(callback, resolve, reject) {\n return function (result) {\n try {\n var res = callback(result);\n if (res && typeof res.then === 'function' && typeof res['catch'] === 'function') {\n // method returned a promise\n res.then(resolve, reject);\n }\n else {\n resolve(res);\n }\n }\n catch (error) {\n reject(error);\n }\n }\n}\n\n/**\n * Add an onFail callback to the Promise\n * @param {Function} onFail\n * @returns {Promise} promise\n */\nPromise.prototype['catch'] = function (onFail) {\n return this.then(null, onFail);\n};\n\n// TODO: add support for Promise.catch(Error, callback)\n// TODO: add support for Promise.catch(Error, Error, callback)\n\n/**\n * Execute given callback when the promise either resolves or rejects.\n * @param {Function} fn\n * @returns {Promise} promise\n */\nPromise.prototype.always = function (fn) {\n return this.then(fn, fn);\n};\n\n/**\n * Create a promise which resolves when all provided promises are resolved,\n * and fails when any of the promises resolves.\n * @param {Promise[]} promises\n * @returns {Promise} promise\n */\nPromise.all = function (promises){\n return new Promise(function (resolve, reject) {\n var remaining = promises.length,\n results = [];\n\n if (remaining) {\n promises.forEach(function (p, i) {\n p.then(function (result) {\n results[i] = result;\n remaining--;\n if (remaining == 0) {\n resolve(results);\n }\n }, function (error) {\n remaining = 0;\n reject(error);\n });\n });\n }\n else {\n resolve(results);\n }\n });\n};\n\n/**\n * Create a promise resolver\n * @returns {{promise: Promise, resolve: Function, reject: Function}} resolver\n */\nPromise.defer = function () {\n var resolver = {};\n\n resolver.promise = new Promise(function (resolve, reject) {\n resolver.resolve = resolve;\n resolver.reject = reject;\n });\n\n return resolver;\n};\n\n/**\n * Create a cancellation error\n * @param {String} [message]\n * @extends Error\n */\nfunction CancellationError(message) {\n this.message = message || 'promise cancelled';\n this.stack = (new Error()).stack;\n}\n\nCancellationError.prototype = new Error();\nCancellationError.prototype.constructor = Error;\nCancellationError.prototype.name = 'CancellationError';\n\nPromise.CancellationError = CancellationError;\n\n\n/**\n * Create a timeout error\n * @param {String} [message]\n * @extends Error\n */\nfunction TimeoutError(message) {\n this.message = message || 'timeout exceeded';\n this.stack = (new Error()).stack;\n}\n\nTimeoutError.prototype = new Error();\nTimeoutError.prototype.constructor = Error;\nTimeoutError.prototype.name = 'TimeoutError';\n\nPromise.TimeoutError = TimeoutError;\n\n\nmodule.exports = Promise;\n","'use strict';\n\nvar Promise = require('./Promise');\nvar environment = require('./environment');\nvar requireFoolWebpack = require('./requireFoolWebpack');\n\n/**\n * Special message sent by parent which causes a child process worker to terminate itself.\n * Not a \"message object\"; this string is the entire message.\n */\nvar TERMINATE_METHOD_ID = '__workerpool-terminate__';\n\nfunction ensureWorkerThreads() {\n var WorkerThreads = tryRequireWorkerThreads()\n if (!WorkerThreads) {\n throw new Error('WorkerPool: workerType = \\'thread\\' is not supported, Node >= 11.7.0 required')\n }\n\n return WorkerThreads;\n}\n\n// check whether Worker is supported by the browser\nfunction ensureWebWorker() {\n // Workaround for a bug in PhantomJS (Or QtWebkit): https://github.com/ariya/phantomjs/issues/14534\n if (typeof Worker !== 'function' && (typeof Worker !== 'object' || typeof Worker.prototype.constructor !== 'function')) {\n throw new Error('WorkerPool: Web Workers not supported');\n }\n}\n\nfunction tryRequireWorkerThreads() {\n try {\n return requireFoolWebpack('worker_threads');\n } catch(error) {\n if (typeof error === 'object' && error !== null && error.code === 'MODULE_NOT_FOUND') {\n // no worker_threads available (old version of node.js)\n return null;\n } else {\n throw error;\n }\n }\n}\n\n// get the default worker script\nfunction getDefaultWorker() {\n if (environment.platform === 'browser') {\n // test whether the browser supports all features that we need\n if (typeof Blob === 'undefined') {\n throw new Error('Blob not supported by the browser');\n }\n if (!window.URL || typeof window.URL.createObjectURL !== 'function') {\n throw new Error('URL.createObjectURL not supported by the browser');\n }\n\n // use embedded worker.js\n var blob = new Blob([require('./generated/embeddedWorker')], {type: 'text/javascript'});\n return window.URL.createObjectURL(blob);\n }\n else {\n // use external worker.js in current directory\n return __dirname + '/worker.js';\n }\n}\n\nfunction setupWorker(script, options) {\n if (options.workerType === 'web') { // browser only\n ensureWebWorker();\n return setupBrowserWorker(script, options.workerOpts, Worker);\n } else if (options.workerType === 'thread') { // node.js only\n WorkerThreads = ensureWorkerThreads();\n return setupWorkerThreadWorker(script, WorkerThreads, options.workerThreadOpts);\n } else if (options.workerType === 'process' || !options.workerType) { // node.js only\n return setupProcessWorker(script, resolveForkOptions(options), requireFoolWebpack('child_process'));\n } else { // options.workerType === 'auto' or undefined\n if (environment.platform === 'browser') {\n ensureWebWorker();\n return setupBrowserWorker(script, options.workerOpts, Worker);\n }\n else { // environment.platform === 'node'\n var WorkerThreads = tryRequireWorkerThreads();\n if (WorkerThreads) {\n return setupWorkerThreadWorker(script, WorkerThreads, options.workerThreadOpts);\n } else {\n return setupProcessWorker(script, resolveForkOptions(options), requireFoolWebpack('child_process'));\n }\n }\n }\n}\n\nfunction setupBrowserWorker(script, workerOpts, Worker) {\n // create the web worker\n var worker = new Worker(script, workerOpts);\n\n worker.isBrowserWorker = true;\n // add node.js API to the web worker\n worker.on = function (event, callback) {\n this.addEventListener(event, function (message) {\n callback(message.data);\n });\n };\n worker.send = function (message, transfer) {\n this.postMessage(message, transfer);\n };\n return worker;\n}\n\nfunction setupWorkerThreadWorker(script, WorkerThreads, workerThreadOptions) {\n var worker = new WorkerThreads.Worker(script, {\n stdout: false, // automatically pipe worker.STDOUT to process.STDOUT\n stderr: false, // automatically pipe worker.STDERR to process.STDERR\n ...workerThreadOptions\n });\n worker.isWorkerThread = true;\n worker.send = function(message, transfer) {\n this.postMessage(message, transfer);\n };\n\n worker.kill = function() {\n this.terminate();\n return true;\n };\n\n worker.disconnect = function() {\n this.terminate();\n };\n\n return worker;\n}\n\nfunction setupProcessWorker(script, options, child_process) {\n // no WorkerThreads, fallback to sub-process based workers\n var worker = child_process.fork(\n script,\n options.forkArgs,\n options.forkOpts\n );\n\n // ignore transfer argument since it is not supported by process\n var send = worker.send;\n worker.send = function (message) {\n return send.call(worker, message);\n };\n\n worker.isChildProcess = true;\n return worker;\n}\n\n// add debug flags to child processes if the node inspector is active\nfunction resolveForkOptions(opts) {\n opts = opts || {};\n\n var processExecArgv = process.execArgv.join(' ');\n var inspectorActive = processExecArgv.indexOf('--inspect') !== -1;\n var debugBrk = processExecArgv.indexOf('--debug-brk') !== -1;\n\n var execArgv = [];\n if (inspectorActive) {\n execArgv.push('--inspect=' + opts.debugPort);\n\n if (debugBrk) {\n execArgv.push('--debug-brk');\n }\n }\n\n process.execArgv.forEach(function(arg) {\n if (arg.indexOf('--max-old-space-size') > -1) {\n execArgv.push(arg)\n }\n })\n\n return Object.assign({}, opts, {\n forkArgs: opts.forkArgs,\n forkOpts: Object.assign({}, opts.forkOpts, {\n execArgv: (opts.forkOpts && opts.forkOpts.execArgv || [])\n .concat(execArgv)\n })\n });\n}\n\n/**\n * Converts a serialized error to Error\n * @param {Object} obj Error that has been serialized and parsed to object\n * @return {Error} The equivalent Error.\n */\nfunction objectToError (obj) {\n var temp = new Error('')\n var props = Object.keys(obj)\n\n for (var i = 0; i < props.length; i++) {\n temp[props[i]] = obj[props[i]]\n }\n\n return temp\n}\n\n/**\n * A WorkerHandler controls a single worker. This worker can be a child process\n * on node.js or a WebWorker in a browser environment.\n * @param {String} [script] If no script is provided, a default worker with a\n * function run will be created.\n * @param {WorkerPoolOptions} _options See docs\n * @constructor\n */\nfunction WorkerHandler(script, _options) {\n var me = this;\n var options = _options || {};\n\n this.script = script || getDefaultWorker();\n this.worker = setupWorker(this.script, options);\n this.debugPort = options.debugPort;\n this.forkOpts = options.forkOpts;\n this.forkArgs = options.forkArgs;\n this.workerOpts = options.workerOpts;\n this.workerThreadOpts = options.workerThreadOpts\n this.workerTerminateTimeout = options.workerTerminateTimeout;\n\n // The ready message is only sent if the worker.add method is called (And the default script is not used)\n if (!script) {\n this.worker.ready = true;\n }\n\n // queue for requests that are received before the worker is ready\n this.requestQueue = [];\n this.worker.on('message', function (response) {\n if (me.terminated) {\n return;\n }\n if (typeof response === 'string' && response === 'ready') {\n me.worker.ready = true;\n dispatchQueuedRequests();\n } else {\n // find the task from the processing queue, and run the tasks callback\n var id = response.id;\n var task = me.processing[id];\n if (task !== undefined) {\n if (response.isEvent) {\n if (task.options && typeof task.options.on === 'function') {\n task.options.on(response.payload);\n }\n } else {\n // remove the task from the queue\n delete me.processing[id];\n\n // test if we need to terminate\n if (me.terminating === true) {\n // complete worker termination if all tasks are finished\n me.terminate();\n }\n\n // resolve the task's promise\n if (response.error) {\n task.resolver.reject(objectToError(response.error));\n }\n else {\n task.resolver.resolve(response.result);\n }\n }\n }\n }\n });\n\n // reject all running tasks on worker error\n function onError(error) {\n me.terminated = true;\n\n for (var id in me.processing) {\n if (me.processing[id] !== undefined) {\n me.processing[id].resolver.reject(error);\n }\n }\n me.processing = Object.create(null);\n }\n\n // send all queued requests to worker\n function dispatchQueuedRequests()\n {\n for(const request of me.requestQueue.splice(0)) {\n me.worker.send(request.message, request.transfer);\n }\n }\n\n var worker = this.worker;\n // listen for worker messages error and exit\n this.worker.on('error', onError);\n this.worker.on('exit', function (exitCode, signalCode) {\n var message = 'Workerpool Worker terminated Unexpectedly\\n';\n\n message += ' exitCode: `' + exitCode + '`\\n';\n message += ' signalCode: `' + signalCode + '`\\n';\n\n message += ' workerpool.script: `' + me.script + '`\\n';\n message += ' spawnArgs: `' + worker.spawnargs + '`\\n';\n message += ' spawnfile: `' + worker.spawnfile + '`\\n'\n\n message += ' stdout: `' + worker.stdout + '`\\n'\n message += ' stderr: `' + worker.stderr + '`\\n'\n\n onError(new Error(message));\n });\n\n this.processing = Object.create(null); // queue with tasks currently in progress\n\n this.terminating = false;\n this.terminated = false;\n this.cleaning = false;\n this.terminationHandler = null;\n this.lastId = 0;\n}\n\n/**\n * Get a list with methods available on the worker.\n * @return {Promise.<String[], Error>} methods\n */\nWorkerHandler.prototype.methods = function () {\n return this.exec('methods');\n};\n\n/**\n * Execute a method with given parameters on the worker\n * @param {String} method\n * @param {Array} [params]\n * @param {{resolve: Function, reject: Function}} [resolver]\n * @param {ExecOptions} [options]\n * @return {Promise.<*, Error>} result\n */\nWorkerHandler.prototype.exec = function(method, params, resolver, options) {\n if (!resolver) {\n resolver = Promise.defer();\n }\n\n // generate a unique id for the task\n var id = ++this.lastId;\n\n // register a new task as being in progress\n this.processing[id] = {\n id: id,\n resolver: resolver,\n options: options\n };\n\n // build a JSON-RPC request\n var request = {\n message: {\n id: id,\n method: method,\n params: params\n },\n transfer: options && options.transfer\n };\n\n if (this.terminated) {\n resolver.reject(new Error('Worker is terminated'));\n } else if (this.worker.ready) {\n // send the request to the worker\n this.worker.send(request.message, request.transfer);\n } else {\n this.requestQueue.push(request);\n }\n\n // on cancellation, force the worker to terminate\n var me = this;\n return resolver.promise.catch(function (error) {\n if (error instanceof Promise.CancellationError || error instanceof Promise.TimeoutError) {\n // remove this task from the queue. It is already rejected (hence this\n // catch event), and else it will be rejected again when terminating\n delete me.processing[id];\n\n // terminate worker\n return me.terminateAndNotify(true)\n .then(function() {\n throw error;\n }, function(err) {\n throw err;\n });\n } else {\n throw error;\n }\n })\n};\n\n/**\n * Test whether the worker is processing any tasks or cleaning up before termination.\n * @return {boolean} Returns true if the worker is busy\n */\nWorkerHandler.prototype.busy = function () {\n return this.cleaning || Object.keys(this.processing).length > 0;\n};\n\n/**\n * Terminate the worker.\n * @param {boolean} [force=false] If false (default), the worker is terminated\n * after finishing all tasks currently in\n * progress. If true, the worker will be\n * terminated immediately.\n * @param {function} [callback=null] If provided, will be called when process terminates.\n */\nWorkerHandler.prototype.terminate = function (force, callback) {\n var me = this;\n if (force) {\n // cancel all tasks in progress\n for (var id in this.processing) {\n if (this.processing[id] !== undefined) {\n this.processing[id].resolver.reject(new Error('Worker terminated'));\n }\n }\n this.processing = Object.create(null);\n }\n\n if (typeof callback === 'function') {\n this.terminationHandler = callback;\n }\n if (!this.busy()) {\n // all tasks are finished. kill the worker\n var cleanup = function(err) {\n me.terminated = true;\n me.cleaning = false;\n if (me.worker != null && me.worker.removeAllListeners) {\n // removeAllListeners is only available for child_process\n me.worker.removeAllListeners('message');\n }\n me.worker = null;\n me.terminating = false;\n if (me.terminationHandler) {\n me.terminationHandler(err, me);\n } else if (err) {\n throw err;\n }\n }\n\n if (this.worker) {\n if (typeof this.worker.kill === 'function') {\n if (this.worker.killed) {\n cleanup(new Error('worker already killed!'));\n return;\n }\n\n // child process and worker threads\n var cleanExitTimeout = setTimeout(function() {\n if (me.worker) {\n me.worker.kill();\n }\n }, this.workerTerminateTimeout);\n\n this.worker.once('exit', function() {\n clearTimeout(cleanExitTimeout);\n if (me.worker) {\n me.worker.killed = true;\n }\n cleanup();\n });\n\n if (this.worker.ready) {\n this.worker.send(TERMINATE_METHOD_ID);\n } else {\n this.requestQueue.push({ message: TERMINATE_METHOD_ID });\n }\n\n // mark that the worker is cleaning up resources\n // to prevent new tasks from being executed\n this.cleaning = true;\n return;\n }\n else if (typeof this.worker.terminate === 'function') {\n this.worker.terminate(); // web worker\n this.worker.killed = true;\n }\n else {\n throw new Error('Failed to terminate worker');\n }\n }\n cleanup();\n }\n else {\n // we can't terminate immediately, there are still tasks being executed\n this.terminating = true;\n }\n};\n\n/**\n * Terminate the worker, returning a Promise that resolves when the termination has been done.\n * @param {boolean} [force=false] If false (default), the worker is terminated\n * after finishing all tasks currently in\n * progress. If true, the worker will be\n * terminated immediately.\n * @param {number} [timeout] If provided and non-zero, worker termination promise will be rejected\n * after timeout if worker process has not been terminated.\n * @return {Promise.<WorkerHandler, Error>}\n */\nWorkerHandler.prototype.terminateAndNotify = function (force, timeout) {\n var resolver = Promise.defer();\n if (timeout) {\n resolver.promise.timeout(timeout);\n }\n this.terminate(force, function(err, worker) {\n if (err) {\n resolver.reject(err);\n } else {\n resolver.resolve(worker);\n }\n });\n return resolver.promise;\n};\n\nmodule.exports = WorkerHandler;\nmodule.exports._tryRequireWorkerThreads = tryRequireWorkerThreads;\nmodule.exports._setupProcessWorker = setupProcessWorker;\nmodule.exports._setupBrowserWorker = setupBrowserWorker;\nmodule.exports._setupWorkerThreadWorker = setupWorkerThreadWorker;\nmodule.exports.ensureWorkerThreads = ensureWorkerThreads;\n","'use strict';\n\nvar MAX_PORTS = 65535;\nmodule.exports = DebugPortAllocator;\nfunction DebugPortAllocator() {\n this.ports = Object.create(null);\n this.length = 0;\n}\n\nDebugPortAllocator.prototype.nextAvailableStartingAt = function(starting) {\n while (this.ports[starting] === true) {\n starting++;\n }\n\n if (starting >= MAX_PORTS) {\n throw new Error('WorkerPool debug port limit reached: ' + starting + '>= ' + MAX_PORTS );\n }\n\n this.ports[starting] = true;\n this.length++;\n return starting;\n};\n\nDebugPortAllocator.prototype.releasePort = function(port) {\n delete this.ports[port];\n this.length--;\n};\n\n","var requireFoolWebpack = require('./requireFoolWebpack');\n\n// source: https://github.com/flexdinesh/browser-or-node\nvar isNode = function (nodeProcess) {\n return (\n typeof nodeProcess !== 'undefined' &&\n nodeProcess.versions != null &&\n nodeProcess.versions.node != null\n );\n}\nmodule.exports.isNode = isNode\n\n// determines the JavaScript platform: browser or node\nmodule.exports.platform = typeof process !== 'undefined' && isNode(process)\n ? 'node'\n : 'browser';\n\n// determines whether the code is running in main thread or not\n// note that in node.js we have to check both worker_thread and child_process\nvar worker_threads = tryRequireFoolWebpack('worker_threads');\nmodule.exports.isMainThread = module.exports.platform === 'node'\n ? ((!worker_threads || worker_threads.isMainThread) && !process.connected)\n : typeof Window !== 'undefined';\n\n// determines the number of cpus available\nmodule.exports.cpus = module.exports.platform === 'browser'\n ? self.navigator.hardwareConcurrency\n : requireFoolWebpack('os').cpus().length;\n\nfunction tryRequireFoolWebpack (module) {\n try {\n return requireFoolWebpack(module);\n } catch(err) {\n return null\n }\n}\n","/**\n * embeddedWorker.js contains an embedded version of worker.js.\n * This file is automatically generated,\n * changes made in this file will be overwritten.\n */\nmodule.exports = \"!function(){var __webpack_modules__={577:function(e){e.exports=function(e,r){this.message=e,this.transfer=r}}},__webpack_module_cache__={};function __webpack_require__(e){var r=__webpack_module_cache__[e];return void 0!==r||(r=__webpack_module_cache__[e]={exports:{}},__webpack_modules__[e](r,r.exports,__webpack_require__)),r.exports}var __webpack_exports__={};!function(){var exports=__webpack_exports__,__webpack_unused_export__;function _typeof(e){return(_typeof=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\\\"function\\\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\\\"symbol\\\":typeof e})(e)}var Transfer=__webpack_require__(577),requireFoolWebpack=eval(\\\"typeof require !== 'undefined' ? require : function (module) { throw new Error('Module \\\\\\\" + module + \\\\\\\" not found.') }\\\"),TERMINATE_METHOD_ID=\\\"__workerpool-terminate__\\\",worker={exit:function(){}},WorkerThreads,parentPort;if(\\\"undefined\\\"!=typeof self&&\\\"function\\\"==typeof postMessage&&\\\"function\\\"==typeof addEventListener)worker.on=function(e,r){addEventListener(e,function(e){r(e.data)})},worker.send=function(e){postMessage(e)};else{if(\\\"undefined\\\"==typeof process)throw new Error(\\\"Script must be executed as a worker\\\");try{WorkerThreads=requireFoolWebpack(\\\"worker_threads\\\")}catch(error){if(\\\"object\\\"!==_typeof(error)||null===error||\\\"MODULE_NOT_FOUND\\\"!==error.code)throw error}WorkerThreads&&null!==WorkerThreads.parentPort?(parentPort=WorkerThreads.parentPort,worker.send=parentPort.postMessage.bind(parentPort),worker.on=parentPort.on.bind(parentPort)):(worker.on=process.on.bind(process),worker.send=function(e){process.send(e)},worker.on(\\\"disconnect\\\",function(){process.exit(1)})),worker.exit=process.exit.bind(process)}function convertError(o){return Object.getOwnPropertyNames(o).reduce(function(e,r){return Object.defineProperty(e,r,{value:o[r],enumerable:!0})},{})}function isPromise(e){return e&&\\\"function\\\"==typeof e.then&&\\\"function\\\"==typeof e.catch}worker.methods={},worker.methods.run=function(e,r){e=new Function(\\\"return (\\\"+e+\\\").apply(null, arguments);\\\");return e.apply(e,r)},worker.methods.methods=function(){return Object.keys(worker.methods)},worker.terminationHandler=void 0,worker.cleanupAndExit=function(e){function r(){worker.exit(e)}if(!worker.terminationHandler)return r();var o=worker.terminationHandler(e);isPromise(o)?o.then(r,r):r()};var currentRequestId=null;worker.on(\\\"message\\\",function(r){if(r===TERMINATE_METHOD_ID)return worker.cleanupAndExit(0);try{var e=worker.methods[r.method];if(!e)throw new Error('Unknown method \\\"'+r.method+'\\\"');currentRequestId=r.id;var o=e.apply(e,r.params);isPromise(o)?o.then(function(e){e instanceof Transfer?worker.send({id:r.id,result:e.message,error:null},e.transfer):worker.send({id:r.id,result:e,error:null}),currentRequestId=null}).catch(function(e){worker.send({id:r.id,result:null,error:convertError(e)}),currentRequestId=null}):(o instanceof Transfer?worker.send({id:r.id,result:o.message,error:null},o.transfer):worker.send({id:r.id,result:o,error:null}),currentRequestId=null)}catch(e){worker.send({id:r.id,result:null,error:convertError(e)})}}),worker.register=function(e,r){if(e)for(var o in e)e.hasOwnProperty(o)&&(worker.methods[o]=e[o]);r&&(worker.terminationHandler=r.onTerminate),worker.send(\\\"ready\\\")},worker.emit=function(e){currentRequestId&&(e instanceof Transfer?worker.send({id:currentRequestId,isEvent:!0,payload:e.message},e.transfer):worker.send({id:currentRequestId,isEvent:!0,payload:e}))},__webpack_unused_export__=worker.register,worker.emit}()}();\";\n","// source of inspiration: https://github.com/sindresorhus/require-fool-webpack\nvar requireFoolWebpack = eval(\n 'typeof require !== \\'undefined\\' ' +\n '? require ' +\n ': function (module) { throw new Error(\\'Module \" + module + \" not found.\\') }'\n);\n\nmodule.exports = requireFoolWebpack;\n","/**\n * The helper class for transferring data from the worker to the main thread.\n *\n * @param {Object} message The object to deliver to the main thread.\n * @param {Object[]} transfer An array of transferable Objects to transfer ownership of.\n */\nfunction Transfer(message, transfer) {\n this.message = message;\n this.transfer = transfer;\n}\n\nmodule.exports = Transfer;\n","/**\n * worker must be started as a child process or a web worker.\n * It listens for RPC messages from the parent process.\n */\nvar Transfer = require('./transfer');\n\n// source of inspiration: https://github.com/sindresorhus/require-fool-webpack\nvar requireFoolWebpack = eval(\n 'typeof require !== \\'undefined\\'' +\n ' ? require' +\n ' : function (module) { throw new Error(\\'Module \" + module + \" not found.\\') }'\n);\n\n/**\n * Special message sent by parent which causes the worker to terminate itself.\n * Not a \"message object\"; this string is the entire message.\n */\nvar TERMINATE_METHOD_ID = '__workerpool-terminate__';\n\n// var nodeOSPlatform = require('./environment').nodeOSPlatform;\n\n// create a worker API for sending and receiving messages which works both on\n// node.js and in the browser\nvar worker = {\n exit: function() {}\n};\nif (typeof self !== 'undefined' && typeof postMessage === 'function' && typeof addEventListener === 'function') {\n // worker in the browser\n worker.on = function (event, callback) {\n addEventListener(event, function (message) {\n callback(message.data);\n })\n };\n worker.send = function (message) {\n postMessage(message);\n };\n}\nelse if (typeof process !== 'undefined') {\n // node.js\n\n var WorkerThreads;\n try {\n WorkerThreads = requireFoolWebpack('worker_threads');\n } catch(error) {\n if (typeof error === 'object' && error !== null && error.code === 'MODULE_NOT_FOUND') {\n // no worker_threads, fallback to sub-process based workers\n } else {\n throw error;\n }\n }\n\n if (WorkerThreads &&\n /* if there is a parentPort, we are in a WorkerThread */\n WorkerThreads.parentPort !== null) {\n var parentPort = WorkerThreads.parentPort;\n worker.send = parentPort.postMessage.bind(parentPort);\n worker.on = parentPort.on.bind(parentPort);\n worker.exit = process.exit.bind(process);\n } else {\n worker.on = process.on.bind(process);\n // ignore transfer argument since it is not supported by process\n worker.send = function (message) {\n process.send(message);\n };\n // register disconnect handler only for subprocess worker to exit when parent is killed unexpectedly\n worker.on('disconnect', function () {\n process.exit(1);\n });\n worker.exit = process.exit.bind(process);\n }\n}\nelse {\n throw new Error('Script must be executed as a worker');\n}\n\nfunction convertError(error) {\n return Object.getOwnPropertyNames(error).reduce(function(product, name) {\n return Object.defineProperty(product, name, {\n\tvalue: error[name],\n\tenumerable: true\n });\n }, {});\n}\n\n/**\n * Test whether a value is a Promise via duck typing.\n * @param {*} value\n * @returns {boolean} Returns true when given value is an object\n * having functions `then` and `catch`.\n */\nfunction isPromise(value) {\n return value && (typeof value.then === 'function') && (typeof value.catch === 'function');\n}\n\n// functions available externally\nworker.methods = {};\n\n/**\n * Execute a function with provided arguments\n * @param {String} fn Stringified function\n * @param {Array} [args] Function arguments\n * @returns {*}\n */\nworker.methods.run = function run(fn, args) {\n var f = new Function('return (' + fn + ').apply(null, arguments);');\n return f.apply(f, args);\n};\n\n/**\n * Get a list with methods available on this worker\n * @return {String[]} methods\n */\nworker.methods.methods = function methods() {\n return Object.keys(worker.methods);\n};\n\n/**\n * Custom handler for when the worker is terminated.\n */\nworker.terminationHandler = undefined;\n\n/**\n * Cleanup and exit the worker.\n * @param {Number} code \n * @returns \n */\nworker.cleanupAndExit = function(code) {\n var _exit = function() {\n worker.exit(code);\n }\n\n if(!worker.terminationHandler) {\n return _exit();\n }\n\n var result = worker.terminationHandler(code);\n if (isPromise(result)) {\n result.then(_exit, _exit);\n } else {\n _exit();\n }\n}\n\nvar currentRequestId = null;\n\nworker.on('message', function (request) {\n if (request === TERMINATE_METHOD_ID) {\n return worker.cleanupAndExit(0);\n }\n try {\n var method = worker.methods[request.method];\n\n if (method) {\n currentRequestId = request.id;\n \n // execute the function\n var result = method.apply(method, request.params);\n\n if (isPromise(result)) {\n // promise returned, resolve this and then return\n result\n .then(function (result) {\n if (result instanceof Transfer) {\n worker.send({\n id: request.id,\n result: result.message,\n error: null\n }, result.transfer);\n } else {\n worker.send({\n id: request.id,\n result: result,\n error: null\n });\n }\n currentRequestId = null;\n })\n .catch(function (err) {\n worker.send({\n id: request.id,\n result: null,\n error: convertError(err)\n });\n currentRequestId = null;\n });\n }\n else {\n // immediate result\n if (result instanceof Transfer) {\n worker.send({\n id: request.id,\n result: result.message,\n error: null\n }, result.transfer);\n } else {\n worker.send({\n id: request.id,\n result: result,\n error: null\n });\n }\n\n currentRequestId = null;\n }\n }\n else {\n throw new Error('Unknown method \"' + request.method + '\"');\n }\n }\n catch (err) {\n worker.send({\n id: request.id,\n result: null,\n error: convertError(err)\n });\n }\n});\n\n/**\n * Register methods to the worker\n * @param {Object} [methods]\n * @param {WorkerRegisterOptions} [options]\n */\nworker.register = function (methods, options) {\n\n if (methods) {\n for (var name in methods) {\n if (methods.hasOwnProperty(name)) {\n worker.methods[name] = methods[name];\n }\n }\n }\n\n if (options) {\n worker.terminationHandler = options.onTerminate;\n }\n\n worker.send('ready');\n};\n\nworker.emit = function (payload) {\n if (currentRequestId) {\n if (payload instanceof Transfer) {\n worker.send({\n id: currentRequestId,\n isEvent: true,\n payload: payload.message\n }, payload.transfer);\n return;\n }\n\n worker.send({\n id: currentRequestId,\n isEvent: true,\n payload\n });\n }\n};\n\nif (typeof exports !== 'undefined') {\n exports.add = worker.register;\n exports.emit = worker.emit;\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","var environment = require('./environment');\n\n/**\n * Create a new worker pool\n * @param {string} [script]\n * @param {WorkerPoolOptions} [options]\n * @returns {Pool} pool\n */\nexports.pool = function pool(script, options) {\n var Pool = require('./Pool');\n\n return new Pool(script, options);\n};\n\n/**\n * Create a worker and optionally register a set of methods to the worker.\n * @param {Object} [methods]\n * @param {WorkerRegisterOptions} [options]\n */\nexports.worker = function worker(methods, options) {\n var worker = require('./worker');\n worker.add(methods, options);\n};\n\n/**\n * Sends an event to the parent worker pool.\n * @param {any} payload \n */\nexports.workerEmit = function workerEmit(payload) {\n var worker = require('./worker');\n worker.emit(payload);\n};\n\n/**\n * Create a promise.\n * @type {Promise} promise\n */\nexports.Promise = require('./Promise');\n\n/**\n * Create a transfer object.\n * @type {Transfer} transfer\n */\nexports.Transfer = require('./transfer');\n\nexports.platform = environment.platform;\nexports.isMainThread = environment.isMainThread;\nexports.cpus = environment.cpus;"],"names":["root","factory","exports","module","define","amd","self","this","Promise","require","WorkerHandler","environment","DEBUG_PORT_ALLOCATOR","Pool","script","options","workers","tasks","forkArgs","Object","freeze","forkOpts","workerOpts","workerThreadOpts","debugPortStart","nodeWorker","workerType","maxQueueSize","Infinity","workerTerminateTimeout","onCreateWorker","onTerminateWorker","maxWorkers","isNumber","isInteger","TypeError","validateMaxWorkers","Math","max","cpus","minWorkers","validateMinWorkers","_ensureMinWorkers","_boundNext","_next","bind","ensureWorkerThreads","value","round","prototype","exec","method","params","Array","isArray","resolver","defer","length","Error","task","timeout","push","originalTimeout","promise","delay","indexOf","call","String","proxy","arguments","pool","then","methods","forEach","slice","worker","_getWorker","me","shift","pending","terminated","_removeWorker","i","busy","_createWorkerHandler","releasePort","debugPort","_removeWorkerFromList","resolve","reject","terminate","err","index","splice","force","removeWorker","promises","termPromise","terminateAndNotify","always","all","stats","totalWorkers","busyWorkers","filter","idleWorkers","pendingTasks","activeTasks","overriddenParams","nextAvailableStartingAt","handler","parent","SyntaxError","_onSuccess","_onFail","resolved","rejected","_process","onSuccess","onFail","s","_then","f","_resolve","result","fn","_reject","error","cancel","CancellationError","timer","setTimeout","TimeoutError","clearTimeout","callback","res","message","stack","remaining","results","p","constructor","name","_arrayLikeToArray","arr","len","arr2","ownKeys","e","r","t","keys","getOwnPropertySymbols","o","getOwnPropertyDescriptor","enumerable","apply","_typeof","Symbol","iterator","requireFoolWebpack","TERMINATE_METHOD_ID","WorkerThreads","tryRequireWorkerThreads","ensureWebWorker","Worker","code","setupBrowserWorker","isBrowserWorker","on","event","addEventListener","data","send","transfer","postMessage","setupWorkerThreadWorker","workerThreadOptions","obj","key","arg","input","hint","prim","toPrimitive","undefined","_toPrimitive","_toPropertyKey","defineProperty","configurable","writable","getOwnPropertyDescriptors","defineProperties","_objectSpread","stdout","stderr","isWorkerThread","kill","disconnect","setupProcessWorker","child_process","fork","isChildProcess","resolveForkOptions","opts","processExecArgv","process","execArgv","join","inspectorActive","debugBrk","assign","concat","_options","onError","id","processing","create","platform","Blob","window","URL","createObjectURL","blob","type","__dirname","getDefaultWorker","setupWorker","ready","requestQueue","response","_step","_iterator","allowArrayLike","it","minLen","n","toString","from","test","_unsupportedIterableToArray","F","done","_e","normalCompletion","didErr","step","next","_e2","_createForOfIteratorHelper","request","dispatchQueuedRequests","isEvent","payload","terminating","temp","props","objectToError","exitCode","signalCode","spawnargs","spawnfile","cleaning","terminationHandler","lastId","cleanup","removeAllListeners","killed","cleanExitTimeout","once","_tryRequireWorkerThreads","_setupProcessWorker","_setupBrowserWorker","_setupWorkerThreadWorker","DebugPortAllocator","ports","starting","port","isNode","nodeProcess","versions","node","worker_threads","tryRequireFoolWebpack","isMainThread","connected","Window","navigator","hardwareConcurrency","eval","Transfer","exit","parentPort","convertError","getOwnPropertyNames","reduce","product","isPromise","run","args","Function","cleanupAndExit","_exit","currentRequestId","register","hasOwnProperty","onTerminate","emit","add","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","workerEmit"],"sourceRoot":""}
@@ -1,51 +0,0 @@
1
- {
2
- "name": "workerpool",
3
- "license": "Apache-2.0",
4
- "version": "6.5.1",
5
- "description": "Offload tasks to a pool of workers on node.js and in the browser",
6
- "homepage": "https://github.com/josdejong/workerpool",
7
- "author": "Jos de Jong <wjosdejong@gmail.com> (https://github.com/josdejong)",
8
- "repository": {
9
- "type": "git",
10
- "url": "git://github.com/josdejong/workerpool.git"
11
- },
12
- "keywords": [
13
- "worker",
14
- "web worker",
15
- "cluster",
16
- "pool",
17
- "isomorphic"
18
- ],
19
- "main": "src/index.js",
20
- "browser": "dist/workerpool.js",
21
- "files": [
22
- "dist",
23
- "src",
24
- "HISTORY.md",
25
- "LICENSE",
26
- "README.md"
27
- ],
28
- "scripts": {
29
- "build": "gulp",
30
- "watch": "gulp watch",
31
- "test": "npm run build && mocha test",
32
- "test:debug": "npm run build && mocha debug test",
33
- "coverage": "npm run build && c8 mocha && c8 report --reporter=html && echo Coverage report is available at ./coverage/index.html",
34
- "prepublishOnly": "npm run test"
35
- },
36
- "devDependencies": {
37
- "@babel/core": "7.23.0",
38
- "@babel/preset-env": "7.22.20",
39
- "babel-loader": "9.1.3",
40
- "c8": "8.0.1",
41
- "date-format": "4.0.14",
42
- "del": "6.1.1",
43
- "fancy-log": "2.0.0",
44
- "find-process": "1.4.7",
45
- "gulp": "4.0.2",
46
- "handlebars": "4.7.8",
47
- "mocha": "10.2.0",
48
- "uglify-js": "3.17.4",
49
- "webpack": "5.88.2"
50
- }
51
- }