wiki-plugin-allyabase 0.0.1

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 (2354) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +165 -0
  3. package/client/allyabase.js +58 -0
  4. package/factory.json +5 -0
  5. package/package.json +31 -0
  6. package/server/contracts.js +256 -0
  7. package/server/feeds.js +27 -0
  8. package/server/inventory.js +82 -0
  9. package/server/server.js +13 -0
  10. package/test/node_modules/.bin/_mocha +10 -0
  11. package/test/node_modules/.bin/flat +42 -0
  12. package/test/node_modules/.bin/glob +270 -0
  13. package/test/node_modules/.bin/he +148 -0
  14. package/test/node_modules/.bin/js-yaml +126 -0
  15. package/test/node_modules/.bin/mime +46 -0
  16. package/test/node_modules/.bin/mocha +142 -0
  17. package/test/node_modules/.bin/node-which +52 -0
  18. package/test/node_modules/.bin/uuid +2 -0
  19. package/test/node_modules/.package-lock.json +1984 -0
  20. package/test/node_modules/@isaacs/cliui/LICENSE.txt +14 -0
  21. package/test/node_modules/@isaacs/cliui/README.md +143 -0
  22. package/test/node_modules/@isaacs/cliui/build/index.cjs +317 -0
  23. package/test/node_modules/@isaacs/cliui/build/index.d.cts +43 -0
  24. package/test/node_modules/@isaacs/cliui/build/lib/index.js +302 -0
  25. package/test/node_modules/@isaacs/cliui/index.mjs +14 -0
  26. package/test/node_modules/@isaacs/cliui/package.json +86 -0
  27. package/test/node_modules/@noble/curves/LICENSE +21 -0
  28. package/test/node_modules/@noble/curves/README.md +1031 -0
  29. package/test/node_modules/@noble/curves/_shortw_utils.d.ts +62 -0
  30. package/test/node_modules/@noble/curves/_shortw_utils.d.ts.map +1 -0
  31. package/test/node_modules/@noble/curves/_shortw_utils.js +21 -0
  32. package/test/node_modules/@noble/curves/_shortw_utils.js.map +1 -0
  33. package/test/node_modules/@noble/curves/abstract/bls.d.ts +122 -0
  34. package/test/node_modules/@noble/curves/abstract/bls.d.ts.map +1 -0
  35. package/test/node_modules/@noble/curves/abstract/bls.js +288 -0
  36. package/test/node_modules/@noble/curves/abstract/bls.js.map +1 -0
  37. package/test/node_modules/@noble/curves/abstract/curve.d.ts +70 -0
  38. package/test/node_modules/@noble/curves/abstract/curve.d.ts.map +1 -0
  39. package/test/node_modules/@noble/curves/abstract/curve.js +160 -0
  40. package/test/node_modules/@noble/curves/abstract/curve.js.map +1 -0
  41. package/test/node_modules/@noble/curves/abstract/edwards.d.ts +89 -0
  42. package/test/node_modules/@noble/curves/abstract/edwards.d.ts.map +1 -0
  43. package/test/node_modules/@noble/curves/abstract/edwards.js +428 -0
  44. package/test/node_modules/@noble/curves/abstract/edwards.js.map +1 -0
  45. package/test/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +58 -0
  46. package/test/node_modules/@noble/curves/abstract/hash-to-curve.d.ts.map +1 -0
  47. package/test/node_modules/@noble/curves/abstract/hash-to-curve.js +180 -0
  48. package/test/node_modules/@noble/curves/abstract/hash-to-curve.js.map +1 -0
  49. package/test/node_modules/@noble/curves/abstract/modular.d.ts +123 -0
  50. package/test/node_modules/@noble/curves/abstract/modular.d.ts.map +1 -0
  51. package/test/node_modules/@noble/curves/abstract/modular.js +439 -0
  52. package/test/node_modules/@noble/curves/abstract/modular.js.map +1 -0
  53. package/test/node_modules/@noble/curves/abstract/montgomery.d.ts +26 -0
  54. package/test/node_modules/@noble/curves/abstract/montgomery.d.ts.map +1 -0
  55. package/test/node_modules/@noble/curves/abstract/montgomery.js +158 -0
  56. package/test/node_modules/@noble/curves/abstract/montgomery.js.map +1 -0
  57. package/test/node_modules/@noble/curves/abstract/poseidon.d.ts +30 -0
  58. package/test/node_modules/@noble/curves/abstract/poseidon.d.ts.map +1 -0
  59. package/test/node_modules/@noble/curves/abstract/poseidon.js +113 -0
  60. package/test/node_modules/@noble/curves/abstract/poseidon.js.map +1 -0
  61. package/test/node_modules/@noble/curves/abstract/utils.d.ts +94 -0
  62. package/test/node_modules/@noble/curves/abstract/utils.d.ts.map +1 -0
  63. package/test/node_modules/@noble/curves/abstract/utils.js +313 -0
  64. package/test/node_modules/@noble/curves/abstract/utils.js.map +1 -0
  65. package/test/node_modules/@noble/curves/abstract/weierstrass.d.ts +236 -0
  66. package/test/node_modules/@noble/curves/abstract/weierstrass.d.ts.map +1 -0
  67. package/test/node_modules/@noble/curves/abstract/weierstrass.js +1069 -0
  68. package/test/node_modules/@noble/curves/abstract/weierstrass.js.map +1 -0
  69. package/test/node_modules/@noble/curves/bls12-381.d.ts +67 -0
  70. package/test/node_modules/@noble/curves/bls12-381.d.ts.map +1 -0
  71. package/test/node_modules/@noble/curves/bls12-381.js +1232 -0
  72. package/test/node_modules/@noble/curves/bls12-381.js.map +1 -0
  73. package/test/node_modules/@noble/curves/bn254.d.ts +9 -0
  74. package/test/node_modules/@noble/curves/bn254.d.ts.map +1 -0
  75. package/test/node_modules/@noble/curves/bn254.js +26 -0
  76. package/test/node_modules/@noble/curves/bn254.js.map +1 -0
  77. package/test/node_modules/@noble/curves/ed25519.d.ts +78 -0
  78. package/test/node_modules/@noble/curves/ed25519.d.ts.map +1 -0
  79. package/test/node_modules/@noble/curves/ed25519.js +446 -0
  80. package/test/node_modules/@noble/curves/ed25519.js.map +1 -0
  81. package/test/node_modules/@noble/curves/ed448.d.ts +67 -0
  82. package/test/node_modules/@noble/curves/ed448.d.ts.map +1 -0
  83. package/test/node_modules/@noble/curves/ed448.js +406 -0
  84. package/test/node_modules/@noble/curves/ed448.js.map +1 -0
  85. package/test/node_modules/@noble/curves/esm/_shortw_utils.d.ts +62 -0
  86. package/test/node_modules/@noble/curves/esm/_shortw_utils.d.ts.map +1 -0
  87. package/test/node_modules/@noble/curves/esm/_shortw_utils.js +17 -0
  88. package/test/node_modules/@noble/curves/esm/_shortw_utils.js.map +1 -0
  89. package/test/node_modules/@noble/curves/esm/abstract/bls.d.ts +122 -0
  90. package/test/node_modules/@noble/curves/esm/abstract/bls.d.ts.map +1 -0
  91. package/test/node_modules/@noble/curves/esm/abstract/bls.js +285 -0
  92. package/test/node_modules/@noble/curves/esm/abstract/bls.js.map +1 -0
  93. package/test/node_modules/@noble/curves/esm/abstract/curve.d.ts +70 -0
  94. package/test/node_modules/@noble/curves/esm/abstract/curve.d.ts.map +1 -0
  95. package/test/node_modules/@noble/curves/esm/abstract/curve.js +156 -0
  96. package/test/node_modules/@noble/curves/esm/abstract/curve.js.map +1 -0
  97. package/test/node_modules/@noble/curves/esm/abstract/edwards.d.ts +89 -0
  98. package/test/node_modules/@noble/curves/esm/abstract/edwards.d.ts.map +1 -0
  99. package/test/node_modules/@noble/curves/esm/abstract/edwards.js +425 -0
  100. package/test/node_modules/@noble/curves/esm/abstract/edwards.js.map +1 -0
  101. package/test/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts +58 -0
  102. package/test/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts.map +1 -0
  103. package/test/node_modules/@noble/curves/esm/abstract/hash-to-curve.js +173 -0
  104. package/test/node_modules/@noble/curves/esm/abstract/hash-to-curve.js.map +1 -0
  105. package/test/node_modules/@noble/curves/esm/abstract/modular.d.ts +123 -0
  106. package/test/node_modules/@noble/curves/esm/abstract/modular.d.ts.map +1 -0
  107. package/test/node_modules/@noble/curves/esm/abstract/modular.js +416 -0
  108. package/test/node_modules/@noble/curves/esm/abstract/modular.js.map +1 -0
  109. package/test/node_modules/@noble/curves/esm/abstract/montgomery.d.ts +26 -0
  110. package/test/node_modules/@noble/curves/esm/abstract/montgomery.d.ts.map +1 -0
  111. package/test/node_modules/@noble/curves/esm/abstract/montgomery.js +155 -0
  112. package/test/node_modules/@noble/curves/esm/abstract/montgomery.js.map +1 -0
  113. package/test/node_modules/@noble/curves/esm/abstract/poseidon.d.ts +30 -0
  114. package/test/node_modules/@noble/curves/esm/abstract/poseidon.d.ts.map +1 -0
  115. package/test/node_modules/@noble/curves/esm/abstract/poseidon.js +108 -0
  116. package/test/node_modules/@noble/curves/esm/abstract/poseidon.js.map +1 -0
  117. package/test/node_modules/@noble/curves/esm/abstract/utils.d.ts +94 -0
  118. package/test/node_modules/@noble/curves/esm/abstract/utils.d.ts.map +1 -0
  119. package/test/node_modules/@noble/curves/esm/abstract/utils.js +289 -0
  120. package/test/node_modules/@noble/curves/esm/abstract/utils.js.map +1 -0
  121. package/test/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts +236 -0
  122. package/test/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts.map +1 -0
  123. package/test/node_modules/@noble/curves/esm/abstract/weierstrass.js +1062 -0
  124. package/test/node_modules/@noble/curves/esm/abstract/weierstrass.js.map +1 -0
  125. package/test/node_modules/@noble/curves/esm/bls12-381.d.ts +67 -0
  126. package/test/node_modules/@noble/curves/esm/bls12-381.d.ts.map +1 -0
  127. package/test/node_modules/@noble/curves/esm/bls12-381.js +1229 -0
  128. package/test/node_modules/@noble/curves/esm/bls12-381.js.map +1 -0
  129. package/test/node_modules/@noble/curves/esm/bn254.d.ts +9 -0
  130. package/test/node_modules/@noble/curves/esm/bn254.d.ts.map +1 -0
  131. package/test/node_modules/@noble/curves/esm/bn254.js +23 -0
  132. package/test/node_modules/@noble/curves/esm/bn254.js.map +1 -0
  133. package/test/node_modules/@noble/curves/esm/ed25519.d.ts +78 -0
  134. package/test/node_modules/@noble/curves/esm/ed25519.d.ts.map +1 -0
  135. package/test/node_modules/@noble/curves/esm/ed25519.js +440 -0
  136. package/test/node_modules/@noble/curves/esm/ed25519.js.map +1 -0
  137. package/test/node_modules/@noble/curves/esm/ed448.d.ts +67 -0
  138. package/test/node_modules/@noble/curves/esm/ed448.d.ts.map +1 -0
  139. package/test/node_modules/@noble/curves/esm/ed448.js +401 -0
  140. package/test/node_modules/@noble/curves/esm/ed448.js.map +1 -0
  141. package/test/node_modules/@noble/curves/esm/index.d.ts +2 -0
  142. package/test/node_modules/@noble/curves/esm/index.d.ts.map +1 -0
  143. package/test/node_modules/@noble/curves/esm/index.js +3 -0
  144. package/test/node_modules/@noble/curves/esm/index.js.map +1 -0
  145. package/test/node_modules/@noble/curves/esm/jubjub.d.ts +9 -0
  146. package/test/node_modules/@noble/curves/esm/jubjub.d.ts.map +1 -0
  147. package/test/node_modules/@noble/curves/esm/jubjub.js +54 -0
  148. package/test/node_modules/@noble/curves/esm/jubjub.js.map +1 -0
  149. package/test/node_modules/@noble/curves/esm/p256.d.ts +105 -0
  150. package/test/node_modules/@noble/curves/esm/p256.d.ts.map +1 -0
  151. package/test/node_modules/@noble/curves/esm/p256.js +42 -0
  152. package/test/node_modules/@noble/curves/esm/p256.js.map +1 -0
  153. package/test/node_modules/@noble/curves/esm/p384.d.ts +105 -0
  154. package/test/node_modules/@noble/curves/esm/p384.d.ts.map +1 -0
  155. package/test/node_modules/@noble/curves/esm/p384.js +46 -0
  156. package/test/node_modules/@noble/curves/esm/p384.js.map +1 -0
  157. package/test/node_modules/@noble/curves/esm/p521.d.ts +105 -0
  158. package/test/node_modules/@noble/curves/esm/p521.d.ts.map +1 -0
  159. package/test/node_modules/@noble/curves/esm/p521.js +53 -0
  160. package/test/node_modules/@noble/curves/esm/p521.js.map +1 -0
  161. package/test/node_modules/@noble/curves/esm/package.json +4 -0
  162. package/test/node_modules/@noble/curves/esm/pasta.d.ts +5 -0
  163. package/test/node_modules/@noble/curves/esm/pasta.d.ts.map +1 -0
  164. package/test/node_modules/@noble/curves/esm/pasta.js +30 -0
  165. package/test/node_modules/@noble/curves/esm/pasta.js.map +1 -0
  166. package/test/node_modules/@noble/curves/esm/secp256k1.d.ts +93 -0
  167. package/test/node_modules/@noble/curves/esm/secp256k1.d.ts.map +1 -0
  168. package/test/node_modules/@noble/curves/esm/secp256k1.js +254 -0
  169. package/test/node_modules/@noble/curves/esm/secp256k1.js.map +1 -0
  170. package/test/node_modules/@noble/curves/index.d.ts +1 -0
  171. package/test/node_modules/@noble/curves/index.d.ts.map +1 -0
  172. package/test/node_modules/@noble/curves/index.js +3 -0
  173. package/test/node_modules/@noble/curves/index.js.map +1 -0
  174. package/test/node_modules/@noble/curves/jubjub.d.ts +9 -0
  175. package/test/node_modules/@noble/curves/jubjub.d.ts.map +1 -0
  176. package/test/node_modules/@noble/curves/jubjub.js +59 -0
  177. package/test/node_modules/@noble/curves/jubjub.js.map +1 -0
  178. package/test/node_modules/@noble/curves/p256.d.ts +105 -0
  179. package/test/node_modules/@noble/curves/p256.d.ts.map +1 -0
  180. package/test/node_modules/@noble/curves/p256.js +45 -0
  181. package/test/node_modules/@noble/curves/p256.js.map +1 -0
  182. package/test/node_modules/@noble/curves/p384.d.ts +105 -0
  183. package/test/node_modules/@noble/curves/p384.d.ts.map +1 -0
  184. package/test/node_modules/@noble/curves/p384.js +49 -0
  185. package/test/node_modules/@noble/curves/p384.js.map +1 -0
  186. package/test/node_modules/@noble/curves/p521.d.ts +105 -0
  187. package/test/node_modules/@noble/curves/p521.d.ts.map +1 -0
  188. package/test/node_modules/@noble/curves/p521.js +56 -0
  189. package/test/node_modules/@noble/curves/p521.js.map +1 -0
  190. package/test/node_modules/@noble/curves/package.json +159 -0
  191. package/test/node_modules/@noble/curves/pasta.d.ts +5 -0
  192. package/test/node_modules/@noble/curves/pasta.d.ts.map +1 -0
  193. package/test/node_modules/@noble/curves/pasta.js +33 -0
  194. package/test/node_modules/@noble/curves/pasta.js.map +1 -0
  195. package/test/node_modules/@noble/curves/secp256k1.d.ts +93 -0
  196. package/test/node_modules/@noble/curves/secp256k1.d.ts.map +1 -0
  197. package/test/node_modules/@noble/curves/secp256k1.js +257 -0
  198. package/test/node_modules/@noble/curves/secp256k1.js.map +1 -0
  199. package/test/node_modules/@noble/curves/src/_shortw_utils.ts +20 -0
  200. package/test/node_modules/@noble/curves/src/abstract/bls.ts +502 -0
  201. package/test/node_modules/@noble/curves/src/abstract/curve.ts +203 -0
  202. package/test/node_modules/@noble/curves/src/abstract/edwards.ts +514 -0
  203. package/test/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +231 -0
  204. package/test/node_modules/@noble/curves/src/abstract/modular.ts +484 -0
  205. package/test/node_modules/@noble/curves/src/abstract/montgomery.ts +187 -0
  206. package/test/node_modules/@noble/curves/src/abstract/poseidon.ts +118 -0
  207. package/test/node_modules/@noble/curves/src/abstract/utils.ts +319 -0
  208. package/test/node_modules/@noble/curves/src/abstract/weierstrass.ts +1237 -0
  209. package/test/node_modules/@noble/curves/src/bls12-381.ts +1410 -0
  210. package/test/node_modules/@noble/curves/src/bn254.ts +22 -0
  211. package/test/node_modules/@noble/curves/src/ed25519.ts +505 -0
  212. package/test/node_modules/@noble/curves/src/ed448.ts +480 -0
  213. package/test/node_modules/@noble/curves/src/index.ts +1 -0
  214. package/test/node_modules/@noble/curves/src/jubjub.ts +58 -0
  215. package/test/node_modules/@noble/curves/src/p256.ts +48 -0
  216. package/test/node_modules/@noble/curves/src/p384.ts +52 -0
  217. package/test/node_modules/@noble/curves/src/p521.ts +68 -0
  218. package/test/node_modules/@noble/curves/src/package.json +3 -0
  219. package/test/node_modules/@noble/curves/src/pasta.ts +31 -0
  220. package/test/node_modules/@noble/curves/src/secp256k1.ts +274 -0
  221. package/test/node_modules/@noble/hashes/LICENSE +21 -0
  222. package/test/node_modules/@noble/hashes/README.md +558 -0
  223. package/test/node_modules/@noble/hashes/_assert.d.ts +24 -0
  224. package/test/node_modules/@noble/hashes/_assert.js +51 -0
  225. package/test/node_modules/@noble/hashes/_assert.js.map +1 -0
  226. package/test/node_modules/@noble/hashes/_blake.d.ts +28 -0
  227. package/test/node_modules/@noble/hashes/_blake.js +124 -0
  228. package/test/node_modules/@noble/hashes/_blake.js.map +1 -0
  229. package/test/node_modules/@noble/hashes/_md.d.ts +30 -0
  230. package/test/node_modules/@noble/hashes/_md.js +128 -0
  231. package/test/node_modules/@noble/hashes/_md.js.map +1 -0
  232. package/test/node_modules/@noble/hashes/_u64.d.ts +55 -0
  233. package/test/node_modules/@noble/hashes/_u64.js +85 -0
  234. package/test/node_modules/@noble/hashes/_u64.js.map +1 -0
  235. package/test/node_modules/@noble/hashes/argon2.d.ts +17 -0
  236. package/test/node_modules/@noble/hashes/argon2.js +303 -0
  237. package/test/node_modules/@noble/hashes/argon2.js.map +1 -0
  238. package/test/node_modules/@noble/hashes/blake2b.d.ts +54 -0
  239. package/test/node_modules/@noble/hashes/blake2b.js +192 -0
  240. package/test/node_modules/@noble/hashes/blake2b.js.map +1 -0
  241. package/test/node_modules/@noble/hashes/blake2s.d.ts +48 -0
  242. package/test/node_modules/@noble/hashes/blake2s.js +123 -0
  243. package/test/node_modules/@noble/hashes/blake2s.js.map +1 -0
  244. package/test/node_modules/@noble/hashes/blake3.d.ts +47 -0
  245. package/test/node_modules/@noble/hashes/blake3.js +243 -0
  246. package/test/node_modules/@noble/hashes/blake3.js.map +1 -0
  247. package/test/node_modules/@noble/hashes/crypto.d.ts +2 -0
  248. package/test/node_modules/@noble/hashes/crypto.js +5 -0
  249. package/test/node_modules/@noble/hashes/crypto.js.map +1 -0
  250. package/test/node_modules/@noble/hashes/cryptoNode.d.ts +2 -0
  251. package/test/node_modules/@noble/hashes/cryptoNode.js +10 -0
  252. package/test/node_modules/@noble/hashes/cryptoNode.js.map +1 -0
  253. package/test/node_modules/@noble/hashes/eskdf.d.ts +47 -0
  254. package/test/node_modules/@noble/hashes/eskdf.js +162 -0
  255. package/test/node_modules/@noble/hashes/eskdf.js.map +1 -0
  256. package/test/node_modules/@noble/hashes/esm/_assert.js +42 -0
  257. package/test/node_modules/@noble/hashes/esm/_assert.js.map +1 -0
  258. package/test/node_modules/@noble/hashes/esm/_blake.js +120 -0
  259. package/test/node_modules/@noble/hashes/esm/_blake.js.map +1 -0
  260. package/test/node_modules/@noble/hashes/esm/_md.js +122 -0
  261. package/test/node_modules/@noble/hashes/esm/_md.js.map +1 -0
  262. package/test/node_modules/@noble/hashes/esm/_u64.js +62 -0
  263. package/test/node_modules/@noble/hashes/esm/_u64.js.map +1 -0
  264. package/test/node_modules/@noble/hashes/esm/argon2.js +297 -0
  265. package/test/node_modules/@noble/hashes/esm/argon2.js.map +1 -0
  266. package/test/node_modules/@noble/hashes/esm/blake2b.js +189 -0
  267. package/test/node_modules/@noble/hashes/esm/blake2b.js.map +1 -0
  268. package/test/node_modules/@noble/hashes/esm/blake2s.js +119 -0
  269. package/test/node_modules/@noble/hashes/esm/blake2s.js.map +1 -0
  270. package/test/node_modules/@noble/hashes/esm/blake3.js +240 -0
  271. package/test/node_modules/@noble/hashes/esm/blake3.js.map +1 -0
  272. package/test/node_modules/@noble/hashes/esm/crypto.js +2 -0
  273. package/test/node_modules/@noble/hashes/esm/crypto.js.map +1 -0
  274. package/test/node_modules/@noble/hashes/esm/cryptoNode.js +7 -0
  275. package/test/node_modules/@noble/hashes/esm/cryptoNode.js.map +1 -0
  276. package/test/node_modules/@noble/hashes/esm/eskdf.js +155 -0
  277. package/test/node_modules/@noble/hashes/esm/eskdf.js.map +1 -0
  278. package/test/node_modules/@noble/hashes/esm/hkdf.js +72 -0
  279. package/test/node_modules/@noble/hashes/esm/hkdf.js.map +1 -0
  280. package/test/node_modules/@noble/hashes/esm/hmac.js +77 -0
  281. package/test/node_modules/@noble/hashes/esm/hmac.js.map +1 -0
  282. package/test/node_modules/@noble/hashes/esm/index.js +3 -0
  283. package/test/node_modules/@noble/hashes/esm/index.js.map +1 -0
  284. package/test/node_modules/@noble/hashes/esm/package.json +10 -0
  285. package/test/node_modules/@noble/hashes/esm/pbkdf2.js +86 -0
  286. package/test/node_modules/@noble/hashes/esm/pbkdf2.js.map +1 -0
  287. package/test/node_modules/@noble/hashes/esm/ripemd160.js +102 -0
  288. package/test/node_modules/@noble/hashes/esm/ripemd160.js.map +1 -0
  289. package/test/node_modules/@noble/hashes/esm/scrypt.js +224 -0
  290. package/test/node_modules/@noble/hashes/esm/scrypt.js.map +1 -0
  291. package/test/node_modules/@noble/hashes/esm/sha1.js +80 -0
  292. package/test/node_modules/@noble/hashes/esm/sha1.js.map +1 -0
  293. package/test/node_modules/@noble/hashes/esm/sha2.js +4 -0
  294. package/test/node_modules/@noble/hashes/esm/sha2.js.map +1 -0
  295. package/test/node_modules/@noble/hashes/esm/sha256.js +123 -0
  296. package/test/node_modules/@noble/hashes/esm/sha256.js.map +1 -0
  297. package/test/node_modules/@noble/hashes/esm/sha3-addons.js +356 -0
  298. package/test/node_modules/@noble/hashes/esm/sha3-addons.js.map +1 -0
  299. package/test/node_modules/@noble/hashes/esm/sha3.js +214 -0
  300. package/test/node_modules/@noble/hashes/esm/sha3.js.map +1 -0
  301. package/test/node_modules/@noble/hashes/esm/sha512.js +231 -0
  302. package/test/node_modules/@noble/hashes/esm/sha512.js.map +1 -0
  303. package/test/node_modules/@noble/hashes/esm/utils.js +187 -0
  304. package/test/node_modules/@noble/hashes/esm/utils.js.map +1 -0
  305. package/test/node_modules/@noble/hashes/hkdf.d.ts +27 -0
  306. package/test/node_modules/@noble/hashes/hkdf.js +78 -0
  307. package/test/node_modules/@noble/hashes/hkdf.js.map +1 -0
  308. package/test/node_modules/@noble/hashes/hmac.d.ts +26 -0
  309. package/test/node_modules/@noble/hashes/hmac.js +82 -0
  310. package/test/node_modules/@noble/hashes/hmac.js.map +1 -0
  311. package/test/node_modules/@noble/hashes/index.d.ts +1 -0
  312. package/test/node_modules/@noble/hashes/index.js +3 -0
  313. package/test/node_modules/@noble/hashes/index.js.map +1 -0
  314. package/test/node_modules/@noble/hashes/package.json +179 -0
  315. package/test/node_modules/@noble/hashes/pbkdf2.d.ts +16 -0
  316. package/test/node_modules/@noble/hashes/pbkdf2.js +91 -0
  317. package/test/node_modules/@noble/hashes/pbkdf2.js.map +1 -0
  318. package/test/node_modules/@noble/hashes/ripemd160.d.ts +25 -0
  319. package/test/node_modules/@noble/hashes/ripemd160.js +106 -0
  320. package/test/node_modules/@noble/hashes/ripemd160.js.map +1 -0
  321. package/test/node_modules/@noble/hashes/scrypt.d.ts +30 -0
  322. package/test/node_modules/@noble/hashes/scrypt.js +229 -0
  323. package/test/node_modules/@noble/hashes/scrypt.js.map +1 -0
  324. package/test/node_modules/@noble/hashes/sha1.d.ts +22 -0
  325. package/test/node_modules/@noble/hashes/sha1.js +83 -0
  326. package/test/node_modules/@noble/hashes/sha1.js.map +1 -0
  327. package/test/node_modules/@noble/hashes/sha2.d.ts +3 -0
  328. package/test/node_modules/@noble/hashes/sha2.js +13 -0
  329. package/test/node_modules/@noble/hashes/sha2.js.map +1 -0
  330. package/test/node_modules/@noble/hashes/sha256.d.ts +35 -0
  331. package/test/node_modules/@noble/hashes/sha256.js +126 -0
  332. package/test/node_modules/@noble/hashes/sha256.js.map +1 -0
  333. package/test/node_modules/@noble/hashes/sha3-addons.d.ts +154 -0
  334. package/test/node_modules/@noble/hashes/sha3-addons.js +360 -0
  335. package/test/node_modules/@noble/hashes/sha3-addons.js.map +1 -0
  336. package/test/node_modules/@noble/hashes/sha3.d.ts +98 -0
  337. package/test/node_modules/@noble/hashes/sha3.js +219 -0
  338. package/test/node_modules/@noble/hashes/sha3.js.map +1 -0
  339. package/test/node_modules/@noble/hashes/sha512.d.ts +67 -0
  340. package/test/node_modules/@noble/hashes/sha512.js +235 -0
  341. package/test/node_modules/@noble/hashes/sha512.js.map +1 -0
  342. package/test/node_modules/@noble/hashes/src/_assert.ts +51 -0
  343. package/test/node_modules/@noble/hashes/src/_blake.ts +134 -0
  344. package/test/node_modules/@noble/hashes/src/_md.ts +127 -0
  345. package/test/node_modules/@noble/hashes/src/_u64.ts +77 -0
  346. package/test/node_modules/@noble/hashes/src/argon2.ts +374 -0
  347. package/test/node_modules/@noble/hashes/src/blake2b.ts +205 -0
  348. package/test/node_modules/@noble/hashes/src/blake2s.ts +138 -0
  349. package/test/node_modules/@noble/hashes/src/blake3.ts +268 -0
  350. package/test/node_modules/@noble/hashes/src/crypto.ts +5 -0
  351. package/test/node_modules/@noble/hashes/src/cryptoNode.ts +7 -0
  352. package/test/node_modules/@noble/hashes/src/eskdf.ts +183 -0
  353. package/test/node_modules/@noble/hashes/src/hkdf.ts +79 -0
  354. package/test/node_modules/@noble/hashes/src/hmac.ts +81 -0
  355. package/test/node_modules/@noble/hashes/src/index.ts +1 -0
  356. package/test/node_modules/@noble/hashes/src/pbkdf2.ts +97 -0
  357. package/test/node_modules/@noble/hashes/src/ripemd160.ts +108 -0
  358. package/test/node_modules/@noble/hashes/src/scrypt.ts +241 -0
  359. package/test/node_modules/@noble/hashes/src/sha1.ts +80 -0
  360. package/test/node_modules/@noble/hashes/src/sha2.ts +3 -0
  361. package/test/node_modules/@noble/hashes/src/sha256.ts +129 -0
  362. package/test/node_modules/@noble/hashes/src/sha3-addons.ts +423 -0
  363. package/test/node_modules/@noble/hashes/src/sha3.ts +229 -0
  364. package/test/node_modules/@noble/hashes/src/sha512.ts +246 -0
  365. package/test/node_modules/@noble/hashes/src/utils.ts +256 -0
  366. package/test/node_modules/@noble/hashes/utils.d.ts +96 -0
  367. package/test/node_modules/@noble/hashes/utils.js +211 -0
  368. package/test/node_modules/@noble/hashes/utils.js.map +1 -0
  369. package/test/node_modules/@pkgjs/parseargs/.editorconfig +14 -0
  370. package/test/node_modules/@pkgjs/parseargs/CHANGELOG.md +147 -0
  371. package/test/node_modules/@pkgjs/parseargs/LICENSE +201 -0
  372. package/test/node_modules/@pkgjs/parseargs/README.md +413 -0
  373. package/test/node_modules/@pkgjs/parseargs/examples/is-default-value.js +25 -0
  374. package/test/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +35 -0
  375. package/test/node_modules/@pkgjs/parseargs/examples/negate.js +43 -0
  376. package/test/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +31 -0
  377. package/test/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +41 -0
  378. package/test/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +26 -0
  379. package/test/node_modules/@pkgjs/parseargs/index.js +396 -0
  380. package/test/node_modules/@pkgjs/parseargs/internal/errors.js +47 -0
  381. package/test/node_modules/@pkgjs/parseargs/internal/primordials.js +393 -0
  382. package/test/node_modules/@pkgjs/parseargs/internal/util.js +14 -0
  383. package/test/node_modules/@pkgjs/parseargs/internal/validators.js +89 -0
  384. package/test/node_modules/@pkgjs/parseargs/package.json +36 -0
  385. package/test/node_modules/@pkgjs/parseargs/utils.js +198 -0
  386. package/test/node_modules/@scure/base/LICENSE +21 -0
  387. package/test/node_modules/@scure/base/README.md +214 -0
  388. package/test/node_modules/@scure/base/index.ts +616 -0
  389. package/test/node_modules/@scure/base/lib/esm/index.d.ts +132 -0
  390. package/test/node_modules/@scure/base/lib/esm/index.d.ts.map +1 -0
  391. package/test/node_modules/@scure/base/lib/esm/index.js +489 -0
  392. package/test/node_modules/@scure/base/lib/esm/index.js.map +1 -0
  393. package/test/node_modules/@scure/base/lib/esm/package.json +1 -0
  394. package/test/node_modules/@scure/base/lib/index.d.ts +132 -0
  395. package/test/node_modules/@scure/base/lib/index.d.ts.map +1 -0
  396. package/test/node_modules/@scure/base/lib/index.js +496 -0
  397. package/test/node_modules/@scure/base/lib/index.js.map +1 -0
  398. package/test/node_modules/@scure/base/package.json +64 -0
  399. package/test/node_modules/@scure/bip32/LICENSE +21 -0
  400. package/test/node_modules/@scure/bip32/README.md +113 -0
  401. package/test/node_modules/@scure/bip32/index.ts +308 -0
  402. package/test/node_modules/@scure/bip32/lib/esm/index.js +269 -0
  403. package/test/node_modules/@scure/bip32/lib/esm/index.js.map +1 -0
  404. package/test/node_modules/@scure/bip32/lib/esm/package.json +4 -0
  405. package/test/node_modules/@scure/bip32/lib/index.d.ts +50 -0
  406. package/test/node_modules/@scure/bip32/lib/index.js +273 -0
  407. package/test/node_modules/@scure/bip32/lib/index.js.map +1 -0
  408. package/test/node_modules/@scure/bip32/package.json +75 -0
  409. package/test/node_modules/@scure/bip39/LICENSE +21 -0
  410. package/test/node_modules/@scure/bip39/README.md +101 -0
  411. package/test/node_modules/@scure/bip39/esm/index.js +134 -0
  412. package/test/node_modules/@scure/bip39/esm/package.json +3 -0
  413. package/test/node_modules/@scure/bip39/esm/wordlists/czech.js +2048 -0
  414. package/test/node_modules/@scure/bip39/esm/wordlists/english.js +2048 -0
  415. package/test/node_modules/@scure/bip39/esm/wordlists/french.js +2048 -0
  416. package/test/node_modules/@scure/bip39/esm/wordlists/italian.js +2048 -0
  417. package/test/node_modules/@scure/bip39/esm/wordlists/japanese.js +2048 -0
  418. package/test/node_modules/@scure/bip39/esm/wordlists/korean.js +2048 -0
  419. package/test/node_modules/@scure/bip39/esm/wordlists/portuguese.js +2048 -0
  420. package/test/node_modules/@scure/bip39/esm/wordlists/simplified-chinese.js +2048 -0
  421. package/test/node_modules/@scure/bip39/esm/wordlists/spanish.js +2048 -0
  422. package/test/node_modules/@scure/bip39/esm/wordlists/traditional-chinese.js +2048 -0
  423. package/test/node_modules/@scure/bip39/index.d.ts +64 -0
  424. package/test/node_modules/@scure/bip39/index.js +143 -0
  425. package/test/node_modules/@scure/bip39/package.json +123 -0
  426. package/test/node_modules/@scure/bip39/src/index.ts +146 -0
  427. package/test/node_modules/@scure/bip39/wordlists/czech.d.ts +2 -0
  428. package/test/node_modules/@scure/bip39/wordlists/czech.js +2051 -0
  429. package/test/node_modules/@scure/bip39/wordlists/english.d.ts +2 -0
  430. package/test/node_modules/@scure/bip39/wordlists/english.js +2051 -0
  431. package/test/node_modules/@scure/bip39/wordlists/french.d.ts +2 -0
  432. package/test/node_modules/@scure/bip39/wordlists/french.js +2051 -0
  433. package/test/node_modules/@scure/bip39/wordlists/italian.d.ts +2 -0
  434. package/test/node_modules/@scure/bip39/wordlists/italian.js +2051 -0
  435. package/test/node_modules/@scure/bip39/wordlists/japanese.d.ts +2 -0
  436. package/test/node_modules/@scure/bip39/wordlists/japanese.js +2051 -0
  437. package/test/node_modules/@scure/bip39/wordlists/korean.d.ts +2 -0
  438. package/test/node_modules/@scure/bip39/wordlists/korean.js +2051 -0
  439. package/test/node_modules/@scure/bip39/wordlists/portuguese.d.ts +2 -0
  440. package/test/node_modules/@scure/bip39/wordlists/portuguese.js +2051 -0
  441. package/test/node_modules/@scure/bip39/wordlists/simplified-chinese.d.ts +2 -0
  442. package/test/node_modules/@scure/bip39/wordlists/simplified-chinese.js +2051 -0
  443. package/test/node_modules/@scure/bip39/wordlists/spanish.d.ts +2 -0
  444. package/test/node_modules/@scure/bip39/wordlists/spanish.js +2051 -0
  445. package/test/node_modules/@scure/bip39/wordlists/traditional-chinese.d.ts +2 -0
  446. package/test/node_modules/@scure/bip39/wordlists/traditional-chinese.js +2051 -0
  447. package/test/node_modules/ansi-colors/LICENSE +21 -0
  448. package/test/node_modules/ansi-colors/README.md +315 -0
  449. package/test/node_modules/ansi-colors/index.js +184 -0
  450. package/test/node_modules/ansi-colors/package.json +129 -0
  451. package/test/node_modules/ansi-colors/symbols.js +69 -0
  452. package/test/node_modules/ansi-colors/types/index.d.ts +235 -0
  453. package/test/node_modules/ansi-regex/index.d.ts +33 -0
  454. package/test/node_modules/ansi-regex/index.js +10 -0
  455. package/test/node_modules/ansi-regex/license +9 -0
  456. package/test/node_modules/ansi-regex/package.json +61 -0
  457. package/test/node_modules/ansi-regex/readme.md +60 -0
  458. package/test/node_modules/ansi-styles/index.d.ts +345 -0
  459. package/test/node_modules/ansi-styles/index.js +163 -0
  460. package/test/node_modules/ansi-styles/license +9 -0
  461. package/test/node_modules/ansi-styles/package.json +56 -0
  462. package/test/node_modules/ansi-styles/readme.md +152 -0
  463. package/test/node_modules/anymatch/LICENSE +15 -0
  464. package/test/node_modules/anymatch/README.md +87 -0
  465. package/test/node_modules/anymatch/index.d.ts +20 -0
  466. package/test/node_modules/anymatch/index.js +104 -0
  467. package/test/node_modules/anymatch/package.json +48 -0
  468. package/test/node_modules/argparse/CHANGELOG.md +216 -0
  469. package/test/node_modules/argparse/LICENSE +254 -0
  470. package/test/node_modules/argparse/README.md +84 -0
  471. package/test/node_modules/argparse/argparse.js +3707 -0
  472. package/test/node_modules/argparse/lib/sub.js +67 -0
  473. package/test/node_modules/argparse/lib/textwrap.js +440 -0
  474. package/test/node_modules/argparse/package.json +31 -0
  475. package/test/node_modules/asap/CHANGES.md +70 -0
  476. package/test/node_modules/asap/LICENSE.md +21 -0
  477. package/test/node_modules/asap/README.md +237 -0
  478. package/test/node_modules/asap/asap.js +65 -0
  479. package/test/node_modules/asap/browser-asap.js +66 -0
  480. package/test/node_modules/asap/browser-raw.js +223 -0
  481. package/test/node_modules/asap/package.json +58 -0
  482. package/test/node_modules/asap/raw.js +101 -0
  483. package/test/node_modules/assertion-error/LICENSE +21 -0
  484. package/test/node_modules/assertion-error/README.md +68 -0
  485. package/test/node_modules/assertion-error/index.d.ts +27 -0
  486. package/test/node_modules/assertion-error/index.js +60 -0
  487. package/test/node_modules/assertion-error/package.json +32 -0
  488. package/test/node_modules/asynckit/LICENSE +21 -0
  489. package/test/node_modules/asynckit/README.md +233 -0
  490. package/test/node_modules/asynckit/bench.js +76 -0
  491. package/test/node_modules/asynckit/index.js +6 -0
  492. package/test/node_modules/asynckit/lib/abort.js +29 -0
  493. package/test/node_modules/asynckit/lib/async.js +34 -0
  494. package/test/node_modules/asynckit/lib/defer.js +26 -0
  495. package/test/node_modules/asynckit/lib/iterate.js +75 -0
  496. package/test/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  497. package/test/node_modules/asynckit/lib/readable_parallel.js +25 -0
  498. package/test/node_modules/asynckit/lib/readable_serial.js +25 -0
  499. package/test/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  500. package/test/node_modules/asynckit/lib/state.js +37 -0
  501. package/test/node_modules/asynckit/lib/streamify.js +141 -0
  502. package/test/node_modules/asynckit/lib/terminator.js +29 -0
  503. package/test/node_modules/asynckit/package.json +63 -0
  504. package/test/node_modules/asynckit/parallel.js +43 -0
  505. package/test/node_modules/asynckit/serial.js +17 -0
  506. package/test/node_modules/asynckit/serialOrdered.js +75 -0
  507. package/test/node_modules/asynckit/stream.js +21 -0
  508. package/test/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  509. package/test/node_modules/balanced-match/LICENSE.md +21 -0
  510. package/test/node_modules/balanced-match/README.md +97 -0
  511. package/test/node_modules/balanced-match/index.js +62 -0
  512. package/test/node_modules/balanced-match/package.json +48 -0
  513. package/test/node_modules/bdo-js/README.md +35 -0
  514. package/test/node_modules/bdo-js/bdo.cjs +165 -0
  515. package/test/node_modules/bdo-js/bdo.js +171 -0
  516. package/test/node_modules/bdo-js/package.json +24 -0
  517. package/test/node_modules/binary-extensions/binary-extensions.json +263 -0
  518. package/test/node_modules/binary-extensions/binary-extensions.json.d.ts +3 -0
  519. package/test/node_modules/binary-extensions/index.d.ts +14 -0
  520. package/test/node_modules/binary-extensions/index.js +1 -0
  521. package/test/node_modules/binary-extensions/license +10 -0
  522. package/test/node_modules/binary-extensions/package.json +40 -0
  523. package/test/node_modules/binary-extensions/readme.md +25 -0
  524. package/test/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
  525. package/test/node_modules/brace-expansion/LICENSE +21 -0
  526. package/test/node_modules/brace-expansion/README.md +135 -0
  527. package/test/node_modules/brace-expansion/index.js +203 -0
  528. package/test/node_modules/brace-expansion/package.json +46 -0
  529. package/test/node_modules/braces/LICENSE +21 -0
  530. package/test/node_modules/braces/README.md +586 -0
  531. package/test/node_modules/braces/index.js +170 -0
  532. package/test/node_modules/braces/lib/compile.js +60 -0
  533. package/test/node_modules/braces/lib/constants.js +57 -0
  534. package/test/node_modules/braces/lib/expand.js +113 -0
  535. package/test/node_modules/braces/lib/parse.js +331 -0
  536. package/test/node_modules/braces/lib/stringify.js +32 -0
  537. package/test/node_modules/braces/lib/utils.js +122 -0
  538. package/test/node_modules/braces/package.json +77 -0
  539. package/test/node_modules/browser-stdout/LICENSE +5 -0
  540. package/test/node_modules/browser-stdout/README.md +40 -0
  541. package/test/node_modules/browser-stdout/index.js +25 -0
  542. package/test/node_modules/browser-stdout/package.json +15 -0
  543. package/test/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  544. package/test/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  545. package/test/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  546. package/test/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  547. package/test/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  548. package/test/node_modules/call-bind-apply-helpers/README.md +62 -0
  549. package/test/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  550. package/test/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  551. package/test/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  552. package/test/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  553. package/test/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  554. package/test/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  555. package/test/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  556. package/test/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  557. package/test/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  558. package/test/node_modules/call-bind-apply-helpers/index.js +15 -0
  559. package/test/node_modules/call-bind-apply-helpers/package.json +85 -0
  560. package/test/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  561. package/test/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  562. package/test/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  563. package/test/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  564. package/test/node_modules/call-bound/.eslintrc +13 -0
  565. package/test/node_modules/call-bound/.github/FUNDING.yml +12 -0
  566. package/test/node_modules/call-bound/.nycrc +9 -0
  567. package/test/node_modules/call-bound/CHANGELOG.md +42 -0
  568. package/test/node_modules/call-bound/LICENSE +21 -0
  569. package/test/node_modules/call-bound/README.md +53 -0
  570. package/test/node_modules/call-bound/index.d.ts +94 -0
  571. package/test/node_modules/call-bound/index.js +19 -0
  572. package/test/node_modules/call-bound/package.json +99 -0
  573. package/test/node_modules/call-bound/test/index.js +61 -0
  574. package/test/node_modules/call-bound/tsconfig.json +10 -0
  575. package/test/node_modules/camelcase/index.d.ts +103 -0
  576. package/test/node_modules/camelcase/index.js +113 -0
  577. package/test/node_modules/camelcase/license +9 -0
  578. package/test/node_modules/camelcase/package.json +44 -0
  579. package/test/node_modules/camelcase/readme.md +144 -0
  580. package/test/node_modules/chai/.prettierrc.json +10 -0
  581. package/test/node_modules/chai/CODEOWNERS +1 -0
  582. package/test/node_modules/chai/CODE_OF_CONDUCT.md +58 -0
  583. package/test/node_modules/chai/CONTRIBUTING.md +218 -0
  584. package/test/node_modules/chai/History.md +1059 -0
  585. package/test/node_modules/chai/LICENSE +21 -0
  586. package/test/node_modules/chai/README.md +154 -0
  587. package/test/node_modules/chai/ReleaseNotes.md +737 -0
  588. package/test/node_modules/chai/chai.js +4351 -0
  589. package/test/node_modules/chai/eslint.config.js +26 -0
  590. package/test/node_modules/chai/index.js +1 -0
  591. package/test/node_modules/chai/lib/chai/assertion.js +180 -0
  592. package/test/node_modules/chai/lib/chai/config.js +112 -0
  593. package/test/node_modules/chai/lib/chai/core/assertions.js +4157 -0
  594. package/test/node_modules/chai/lib/chai/interface/assert.js +3228 -0
  595. package/test/node_modules/chai/lib/chai/interface/expect.js +59 -0
  596. package/test/node_modules/chai/lib/chai/interface/should.js +227 -0
  597. package/test/node_modules/chai/lib/chai/utils/addChainableMethod.js +146 -0
  598. package/test/node_modules/chai/lib/chai/utils/addLengthGuard.js +73 -0
  599. package/test/node_modules/chai/lib/chai/utils/addMethod.js +66 -0
  600. package/test/node_modules/chai/lib/chai/utils/addProperty.js +70 -0
  601. package/test/node_modules/chai/lib/chai/utils/compareByInspect.js +26 -0
  602. package/test/node_modules/chai/lib/chai/utils/expectTypes.js +58 -0
  603. package/test/node_modules/chai/lib/chai/utils/flag.js +33 -0
  604. package/test/node_modules/chai/lib/chai/utils/getActual.js +20 -0
  605. package/test/node_modules/chai/lib/chai/utils/getMessage.js +52 -0
  606. package/test/node_modules/chai/lib/chai/utils/getOperator.js +58 -0
  607. package/test/node_modules/chai/lib/chai/utils/getOwnEnumerableProperties.js +24 -0
  608. package/test/node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js +26 -0
  609. package/test/node_modules/chai/lib/chai/utils/getProperties.js +38 -0
  610. package/test/node_modules/chai/lib/chai/utils/index.js +118 -0
  611. package/test/node_modules/chai/lib/chai/utils/inspect.js +31 -0
  612. package/test/node_modules/chai/lib/chai/utils/isNaN.js +7 -0
  613. package/test/node_modules/chai/lib/chai/utils/isProxyEnabled.js +26 -0
  614. package/test/node_modules/chai/lib/chai/utils/objDisplay.js +47 -0
  615. package/test/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js +69 -0
  616. package/test/node_modules/chai/lib/chai/utils/overwriteMethod.js +90 -0
  617. package/test/node_modules/chai/lib/chai/utils/overwriteProperty.js +89 -0
  618. package/test/node_modules/chai/lib/chai/utils/proxify.js +157 -0
  619. package/test/node_modules/chai/lib/chai/utils/test.js +24 -0
  620. package/test/node_modules/chai/lib/chai/utils/transferFlags.js +48 -0
  621. package/test/node_modules/chai/lib/chai/utils/type-detect.js +20 -0
  622. package/test/node_modules/chai/lib/chai.js +66 -0
  623. package/test/node_modules/chai/package.json +67 -0
  624. package/test/node_modules/chai/register-assert.js +3 -0
  625. package/test/node_modules/chai/register-expect.js +3 -0
  626. package/test/node_modules/chai/register-should.js +3 -0
  627. package/test/node_modules/chai/web-test-runner.config.js +20 -0
  628. package/test/node_modules/chalk/index.d.ts +415 -0
  629. package/test/node_modules/chalk/license +9 -0
  630. package/test/node_modules/chalk/node_modules/supports-color/browser.js +5 -0
  631. package/test/node_modules/chalk/node_modules/supports-color/index.js +135 -0
  632. package/test/node_modules/chalk/node_modules/supports-color/license +9 -0
  633. package/test/node_modules/chalk/node_modules/supports-color/package.json +53 -0
  634. package/test/node_modules/chalk/node_modules/supports-color/readme.md +76 -0
  635. package/test/node_modules/chalk/package.json +68 -0
  636. package/test/node_modules/chalk/readme.md +341 -0
  637. package/test/node_modules/chalk/source/index.js +229 -0
  638. package/test/node_modules/chalk/source/templates.js +134 -0
  639. package/test/node_modules/chalk/source/util.js +39 -0
  640. package/test/node_modules/check-error/LICENSE +19 -0
  641. package/test/node_modules/check-error/README.md +144 -0
  642. package/test/node_modules/check-error/index.js +135 -0
  643. package/test/node_modules/check-error/package.json +66 -0
  644. package/test/node_modules/chokidar/LICENSE +21 -0
  645. package/test/node_modules/chokidar/README.md +308 -0
  646. package/test/node_modules/chokidar/index.js +973 -0
  647. package/test/node_modules/chokidar/lib/constants.js +66 -0
  648. package/test/node_modules/chokidar/lib/fsevents-handler.js +526 -0
  649. package/test/node_modules/chokidar/lib/nodefs-handler.js +654 -0
  650. package/test/node_modules/chokidar/package.json +70 -0
  651. package/test/node_modules/chokidar/types/index.d.ts +192 -0
  652. package/test/node_modules/cliui/CHANGELOG.md +139 -0
  653. package/test/node_modules/cliui/LICENSE.txt +14 -0
  654. package/test/node_modules/cliui/README.md +141 -0
  655. package/test/node_modules/cliui/build/index.cjs +302 -0
  656. package/test/node_modules/cliui/build/index.d.cts +43 -0
  657. package/test/node_modules/cliui/build/lib/index.js +287 -0
  658. package/test/node_modules/cliui/build/lib/string-utils.js +27 -0
  659. package/test/node_modules/cliui/index.mjs +13 -0
  660. package/test/node_modules/cliui/node_modules/ansi-regex/index.d.ts +37 -0
  661. package/test/node_modules/cliui/node_modules/ansi-regex/index.js +10 -0
  662. package/test/node_modules/cliui/node_modules/ansi-regex/license +9 -0
  663. package/test/node_modules/cliui/node_modules/ansi-regex/package.json +55 -0
  664. package/test/node_modules/cliui/node_modules/ansi-regex/readme.md +78 -0
  665. package/test/node_modules/cliui/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  666. package/test/node_modules/cliui/node_modules/emoji-regex/README.md +73 -0
  667. package/test/node_modules/cliui/node_modules/emoji-regex/es2015/index.js +6 -0
  668. package/test/node_modules/cliui/node_modules/emoji-regex/es2015/text.js +6 -0
  669. package/test/node_modules/cliui/node_modules/emoji-regex/index.d.ts +23 -0
  670. package/test/node_modules/cliui/node_modules/emoji-regex/index.js +6 -0
  671. package/test/node_modules/cliui/node_modules/emoji-regex/package.json +50 -0
  672. package/test/node_modules/cliui/node_modules/emoji-regex/text.js +6 -0
  673. package/test/node_modules/cliui/node_modules/string-width/index.d.ts +29 -0
  674. package/test/node_modules/cliui/node_modules/string-width/index.js +47 -0
  675. package/test/node_modules/cliui/node_modules/string-width/license +9 -0
  676. package/test/node_modules/cliui/node_modules/string-width/package.json +56 -0
  677. package/test/node_modules/cliui/node_modules/string-width/readme.md +50 -0
  678. package/test/node_modules/cliui/node_modules/strip-ansi/index.d.ts +17 -0
  679. package/test/node_modules/cliui/node_modules/strip-ansi/index.js +4 -0
  680. package/test/node_modules/cliui/node_modules/strip-ansi/license +9 -0
  681. package/test/node_modules/cliui/node_modules/strip-ansi/package.json +54 -0
  682. package/test/node_modules/cliui/node_modules/strip-ansi/readme.md +46 -0
  683. package/test/node_modules/cliui/node_modules/wrap-ansi/index.js +216 -0
  684. package/test/node_modules/cliui/node_modules/wrap-ansi/license +9 -0
  685. package/test/node_modules/cliui/node_modules/wrap-ansi/package.json +62 -0
  686. package/test/node_modules/cliui/node_modules/wrap-ansi/readme.md +91 -0
  687. package/test/node_modules/cliui/package.json +83 -0
  688. package/test/node_modules/color-convert/CHANGELOG.md +54 -0
  689. package/test/node_modules/color-convert/LICENSE +21 -0
  690. package/test/node_modules/color-convert/README.md +68 -0
  691. package/test/node_modules/color-convert/conversions.js +839 -0
  692. package/test/node_modules/color-convert/index.js +81 -0
  693. package/test/node_modules/color-convert/package.json +48 -0
  694. package/test/node_modules/color-convert/route.js +97 -0
  695. package/test/node_modules/color-name/LICENSE +8 -0
  696. package/test/node_modules/color-name/README.md +11 -0
  697. package/test/node_modules/color-name/index.js +152 -0
  698. package/test/node_modules/color-name/package.json +28 -0
  699. package/test/node_modules/combined-stream/License +19 -0
  700. package/test/node_modules/combined-stream/Readme.md +138 -0
  701. package/test/node_modules/combined-stream/lib/combined_stream.js +208 -0
  702. package/test/node_modules/combined-stream/package.json +25 -0
  703. package/test/node_modules/combined-stream/yarn.lock +17 -0
  704. package/test/node_modules/component-emitter/LICENSE +24 -0
  705. package/test/node_modules/component-emitter/Readme.md +74 -0
  706. package/test/node_modules/component-emitter/index.js +175 -0
  707. package/test/node_modules/component-emitter/package.json +28 -0
  708. package/test/node_modules/cookiejar/LICENSE +9 -0
  709. package/test/node_modules/cookiejar/cookiejar.js +281 -0
  710. package/test/node_modules/cookiejar/package.json +26 -0
  711. package/test/node_modules/cookiejar/readme.md +60 -0
  712. package/test/node_modules/cross-spawn/LICENSE +21 -0
  713. package/test/node_modules/cross-spawn/README.md +89 -0
  714. package/test/node_modules/cross-spawn/index.js +39 -0
  715. package/test/node_modules/cross-spawn/lib/enoent.js +59 -0
  716. package/test/node_modules/cross-spawn/lib/parse.js +91 -0
  717. package/test/node_modules/cross-spawn/lib/util/escape.js +47 -0
  718. package/test/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
  719. package/test/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
  720. package/test/node_modules/cross-spawn/package.json +73 -0
  721. package/test/node_modules/data-uri-to-buffer/README.md +88 -0
  722. package/test/node_modules/data-uri-to-buffer/dist/index.d.ts +15 -0
  723. package/test/node_modules/data-uri-to-buffer/dist/index.js +53 -0
  724. package/test/node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
  725. package/test/node_modules/data-uri-to-buffer/package.json +62 -0
  726. package/test/node_modules/data-uri-to-buffer/src/index.ts +68 -0
  727. package/test/node_modules/debug/LICENSE +20 -0
  728. package/test/node_modules/debug/README.md +481 -0
  729. package/test/node_modules/debug/package.json +65 -0
  730. package/test/node_modules/debug/src/browser.js +272 -0
  731. package/test/node_modules/debug/src/common.js +292 -0
  732. package/test/node_modules/debug/src/index.js +10 -0
  733. package/test/node_modules/debug/src/node.js +263 -0
  734. package/test/node_modules/decamelize/index.d.ts +20 -0
  735. package/test/node_modules/decamelize/index.js +12 -0
  736. package/test/node_modules/decamelize/license +9 -0
  737. package/test/node_modules/decamelize/package.json +40 -0
  738. package/test/node_modules/decamelize/readme.md +51 -0
  739. package/test/node_modules/deep-eql/LICENSE +19 -0
  740. package/test/node_modules/deep-eql/README.md +93 -0
  741. package/test/node_modules/deep-eql/index.js +513 -0
  742. package/test/node_modules/deep-eql/package.json +73 -0
  743. package/test/node_modules/delayed-stream/License +19 -0
  744. package/test/node_modules/delayed-stream/Makefile +7 -0
  745. package/test/node_modules/delayed-stream/Readme.md +141 -0
  746. package/test/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  747. package/test/node_modules/delayed-stream/package.json +27 -0
  748. package/test/node_modules/dezalgo/LICENSE +15 -0
  749. package/test/node_modules/dezalgo/README.md +29 -0
  750. package/test/node_modules/dezalgo/dezalgo.js +22 -0
  751. package/test/node_modules/dezalgo/package.json +46 -0
  752. package/test/node_modules/diff/CONTRIBUTING.md +36 -0
  753. package/test/node_modules/diff/LICENSE +29 -0
  754. package/test/node_modules/diff/README.md +339 -0
  755. package/test/node_modules/diff/dist/diff.js +1730 -0
  756. package/test/node_modules/diff/dist/diff.min.js +1 -0
  757. package/test/node_modules/diff/lib/convert/dmp.js +32 -0
  758. package/test/node_modules/diff/lib/convert/xml.js +42 -0
  759. package/test/node_modules/diff/lib/diff/array.js +45 -0
  760. package/test/node_modules/diff/lib/diff/base.js +358 -0
  761. package/test/node_modules/diff/lib/diff/character.js +37 -0
  762. package/test/node_modules/diff/lib/diff/css.js +41 -0
  763. package/test/node_modules/diff/lib/diff/json.js +163 -0
  764. package/test/node_modules/diff/lib/diff/line.js +94 -0
  765. package/test/node_modules/diff/lib/diff/sentence.js +41 -0
  766. package/test/node_modules/diff/lib/diff/word.js +108 -0
  767. package/test/node_modules/diff/lib/index.es6.js +1699 -0
  768. package/test/node_modules/diff/lib/index.js +234 -0
  769. package/test/node_modules/diff/lib/index.mjs +1699 -0
  770. package/test/node_modules/diff/lib/patch/apply.js +238 -0
  771. package/test/node_modules/diff/lib/patch/create.js +276 -0
  772. package/test/node_modules/diff/lib/patch/merge.js +613 -0
  773. package/test/node_modules/diff/lib/patch/parse.js +167 -0
  774. package/test/node_modules/diff/lib/patch/reverse.js +63 -0
  775. package/test/node_modules/diff/lib/util/array.js +32 -0
  776. package/test/node_modules/diff/lib/util/distance-iterator.js +57 -0
  777. package/test/node_modules/diff/lib/util/params.js +24 -0
  778. package/test/node_modules/diff/package.json +89 -0
  779. package/test/node_modules/diff/release-notes.md +317 -0
  780. package/test/node_modules/diff/runtime.js +3 -0
  781. package/test/node_modules/dunder-proto/.eslintrc +5 -0
  782. package/test/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  783. package/test/node_modules/dunder-proto/.nycrc +13 -0
  784. package/test/node_modules/dunder-proto/CHANGELOG.md +24 -0
  785. package/test/node_modules/dunder-proto/LICENSE +21 -0
  786. package/test/node_modules/dunder-proto/README.md +54 -0
  787. package/test/node_modules/dunder-proto/get.d.ts +5 -0
  788. package/test/node_modules/dunder-proto/get.js +30 -0
  789. package/test/node_modules/dunder-proto/package.json +76 -0
  790. package/test/node_modules/dunder-proto/set.d.ts +5 -0
  791. package/test/node_modules/dunder-proto/set.js +35 -0
  792. package/test/node_modules/dunder-proto/test/get.js +34 -0
  793. package/test/node_modules/dunder-proto/test/index.js +4 -0
  794. package/test/node_modules/dunder-proto/test/set.js +50 -0
  795. package/test/node_modules/dunder-proto/tsconfig.json +9 -0
  796. package/test/node_modules/eastasianwidth/README.md +32 -0
  797. package/test/node_modules/eastasianwidth/eastasianwidth.js +311 -0
  798. package/test/node_modules/eastasianwidth/package.json +18 -0
  799. package/test/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  800. package/test/node_modules/emoji-regex/README.md +137 -0
  801. package/test/node_modules/emoji-regex/RGI_Emoji.d.ts +5 -0
  802. package/test/node_modules/emoji-regex/RGI_Emoji.js +6 -0
  803. package/test/node_modules/emoji-regex/es2015/RGI_Emoji.d.ts +5 -0
  804. package/test/node_modules/emoji-regex/es2015/RGI_Emoji.js +6 -0
  805. package/test/node_modules/emoji-regex/es2015/index.d.ts +5 -0
  806. package/test/node_modules/emoji-regex/es2015/index.js +6 -0
  807. package/test/node_modules/emoji-regex/es2015/text.d.ts +5 -0
  808. package/test/node_modules/emoji-regex/es2015/text.js +6 -0
  809. package/test/node_modules/emoji-regex/index.d.ts +5 -0
  810. package/test/node_modules/emoji-regex/index.js +6 -0
  811. package/test/node_modules/emoji-regex/package.json +52 -0
  812. package/test/node_modules/emoji-regex/text.d.ts +5 -0
  813. package/test/node_modules/emoji-regex/text.js +6 -0
  814. package/test/node_modules/es-define-property/.eslintrc +13 -0
  815. package/test/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  816. package/test/node_modules/es-define-property/.nycrc +9 -0
  817. package/test/node_modules/es-define-property/CHANGELOG.md +29 -0
  818. package/test/node_modules/es-define-property/LICENSE +21 -0
  819. package/test/node_modules/es-define-property/README.md +49 -0
  820. package/test/node_modules/es-define-property/index.d.ts +3 -0
  821. package/test/node_modules/es-define-property/index.js +14 -0
  822. package/test/node_modules/es-define-property/package.json +81 -0
  823. package/test/node_modules/es-define-property/test/index.js +56 -0
  824. package/test/node_modules/es-define-property/tsconfig.json +10 -0
  825. package/test/node_modules/es-errors/.eslintrc +5 -0
  826. package/test/node_modules/es-errors/.github/FUNDING.yml +12 -0
  827. package/test/node_modules/es-errors/CHANGELOG.md +40 -0
  828. package/test/node_modules/es-errors/LICENSE +21 -0
  829. package/test/node_modules/es-errors/README.md +55 -0
  830. package/test/node_modules/es-errors/eval.d.ts +3 -0
  831. package/test/node_modules/es-errors/eval.js +4 -0
  832. package/test/node_modules/es-errors/index.d.ts +3 -0
  833. package/test/node_modules/es-errors/index.js +4 -0
  834. package/test/node_modules/es-errors/package.json +80 -0
  835. package/test/node_modules/es-errors/range.d.ts +3 -0
  836. package/test/node_modules/es-errors/range.js +4 -0
  837. package/test/node_modules/es-errors/ref.d.ts +3 -0
  838. package/test/node_modules/es-errors/ref.js +4 -0
  839. package/test/node_modules/es-errors/syntax.d.ts +3 -0
  840. package/test/node_modules/es-errors/syntax.js +4 -0
  841. package/test/node_modules/es-errors/test/index.js +19 -0
  842. package/test/node_modules/es-errors/tsconfig.json +49 -0
  843. package/test/node_modules/es-errors/type.d.ts +3 -0
  844. package/test/node_modules/es-errors/type.js +4 -0
  845. package/test/node_modules/es-errors/uri.d.ts +3 -0
  846. package/test/node_modules/es-errors/uri.js +4 -0
  847. package/test/node_modules/es-object-atoms/.eslintrc +16 -0
  848. package/test/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  849. package/test/node_modules/es-object-atoms/CHANGELOG.md +37 -0
  850. package/test/node_modules/es-object-atoms/LICENSE +21 -0
  851. package/test/node_modules/es-object-atoms/README.md +63 -0
  852. package/test/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  853. package/test/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  854. package/test/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  855. package/test/node_modules/es-object-atoms/ToObject.js +10 -0
  856. package/test/node_modules/es-object-atoms/index.d.ts +3 -0
  857. package/test/node_modules/es-object-atoms/index.js +4 -0
  858. package/test/node_modules/es-object-atoms/isObject.d.ts +3 -0
  859. package/test/node_modules/es-object-atoms/isObject.js +6 -0
  860. package/test/node_modules/es-object-atoms/package.json +80 -0
  861. package/test/node_modules/es-object-atoms/test/index.js +38 -0
  862. package/test/node_modules/es-object-atoms/tsconfig.json +6 -0
  863. package/test/node_modules/es-set-tostringtag/.eslintrc +13 -0
  864. package/test/node_modules/es-set-tostringtag/.nycrc +9 -0
  865. package/test/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
  866. package/test/node_modules/es-set-tostringtag/LICENSE +21 -0
  867. package/test/node_modules/es-set-tostringtag/README.md +53 -0
  868. package/test/node_modules/es-set-tostringtag/index.d.ts +10 -0
  869. package/test/node_modules/es-set-tostringtag/index.js +35 -0
  870. package/test/node_modules/es-set-tostringtag/package.json +78 -0
  871. package/test/node_modules/es-set-tostringtag/test/index.js +85 -0
  872. package/test/node_modules/es-set-tostringtag/tsconfig.json +9 -0
  873. package/test/node_modules/escalade/dist/index.js +22 -0
  874. package/test/node_modules/escalade/dist/index.mjs +22 -0
  875. package/test/node_modules/escalade/index.d.mts +11 -0
  876. package/test/node_modules/escalade/index.d.ts +15 -0
  877. package/test/node_modules/escalade/license +9 -0
  878. package/test/node_modules/escalade/package.json +74 -0
  879. package/test/node_modules/escalade/readme.md +211 -0
  880. package/test/node_modules/escalade/sync/index.d.mts +9 -0
  881. package/test/node_modules/escalade/sync/index.d.ts +13 -0
  882. package/test/node_modules/escalade/sync/index.js +18 -0
  883. package/test/node_modules/escalade/sync/index.mjs +18 -0
  884. package/test/node_modules/escape-string-regexp/index.d.ts +18 -0
  885. package/test/node_modules/escape-string-regexp/index.js +13 -0
  886. package/test/node_modules/escape-string-regexp/license +9 -0
  887. package/test/node_modules/escape-string-regexp/package.json +38 -0
  888. package/test/node_modules/escape-string-regexp/readme.md +34 -0
  889. package/test/node_modules/ethereum-cryptography/LICENSE +21 -0
  890. package/test/node_modules/ethereum-cryptography/README.md +509 -0
  891. package/test/node_modules/ethereum-cryptography/aes.d.ts +2 -0
  892. package/test/node_modules/ethereum-cryptography/aes.js +97 -0
  893. package/test/node_modules/ethereum-cryptography/bip39/index.d.ts +1 -0
  894. package/test/node_modules/ethereum-cryptography/bip39/index.js +10 -0
  895. package/test/node_modules/ethereum-cryptography/bip39/wordlists/czech.d.ts +1 -0
  896. package/test/node_modules/ethereum-cryptography/bip39/wordlists/czech.js +5 -0
  897. package/test/node_modules/ethereum-cryptography/bip39/wordlists/english.d.ts +1 -0
  898. package/test/node_modules/ethereum-cryptography/bip39/wordlists/english.js +5 -0
  899. package/test/node_modules/ethereum-cryptography/bip39/wordlists/french.d.ts +1 -0
  900. package/test/node_modules/ethereum-cryptography/bip39/wordlists/french.js +5 -0
  901. package/test/node_modules/ethereum-cryptography/bip39/wordlists/italian.d.ts +1 -0
  902. package/test/node_modules/ethereum-cryptography/bip39/wordlists/italian.js +5 -0
  903. package/test/node_modules/ethereum-cryptography/bip39/wordlists/japanese.d.ts +1 -0
  904. package/test/node_modules/ethereum-cryptography/bip39/wordlists/japanese.js +5 -0
  905. package/test/node_modules/ethereum-cryptography/bip39/wordlists/korean.d.ts +1 -0
  906. package/test/node_modules/ethereum-cryptography/bip39/wordlists/korean.js +5 -0
  907. package/test/node_modules/ethereum-cryptography/bip39/wordlists/simplified-chinese.d.ts +1 -0
  908. package/test/node_modules/ethereum-cryptography/bip39/wordlists/simplified-chinese.js +5 -0
  909. package/test/node_modules/ethereum-cryptography/bip39/wordlists/spanish.d.ts +1 -0
  910. package/test/node_modules/ethereum-cryptography/bip39/wordlists/spanish.js +5 -0
  911. package/test/node_modules/ethereum-cryptography/bip39/wordlists/traditional-chinese.d.ts +1 -0
  912. package/test/node_modules/ethereum-cryptography/bip39/wordlists/traditional-chinese.js +5 -0
  913. package/test/node_modules/ethereum-cryptography/blake2b.d.ts +1 -0
  914. package/test/node_modules/ethereum-cryptography/blake2b.js +13 -0
  915. package/test/node_modules/ethereum-cryptography/esm/aes.js +93 -0
  916. package/test/node_modules/ethereum-cryptography/esm/bip39/index.js +1 -0
  917. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/czech.js +1 -0
  918. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/english.js +1 -0
  919. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/french.js +1 -0
  920. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/italian.js +1 -0
  921. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/japanese.js +1 -0
  922. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/korean.js +1 -0
  923. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/simplified-chinese.js +1 -0
  924. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/spanish.js +1 -0
  925. package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/traditional-chinese.js +1 -0
  926. package/test/node_modules/ethereum-cryptography/esm/blake2b.js +9 -0
  927. package/test/node_modules/ethereum-cryptography/esm/hdkey.js +1 -0
  928. package/test/node_modules/ethereum-cryptography/esm/index.js +2 -0
  929. package/test/node_modules/ethereum-cryptography/esm/keccak.js +10 -0
  930. package/test/node_modules/ethereum-cryptography/esm/package.json +3 -0
  931. package/test/node_modules/ethereum-cryptography/esm/pbkdf2.js +26 -0
  932. package/test/node_modules/ethereum-cryptography/esm/random.js +7 -0
  933. package/test/node_modules/ethereum-cryptography/esm/ripemd160.js +3 -0
  934. package/test/node_modules/ethereum-cryptography/esm/scrypt.js +12 -0
  935. package/test/node_modules/ethereum-cryptography/esm/secp256k1-compat.js +254 -0
  936. package/test/node_modules/ethereum-cryptography/esm/secp256k1.js +1 -0
  937. package/test/node_modules/ethereum-cryptography/esm/sha256.js +3 -0
  938. package/test/node_modules/ethereum-cryptography/esm/sha512.js +3 -0
  939. package/test/node_modules/ethereum-cryptography/esm/utils.js +47 -0
  940. package/test/node_modules/ethereum-cryptography/hdkey.d.ts +1 -0
  941. package/test/node_modules/ethereum-cryptography/hdkey.js +6 -0
  942. package/test/node_modules/ethereum-cryptography/index.d.ts +0 -0
  943. package/test/node_modules/ethereum-cryptography/index.js +2 -0
  944. package/test/node_modules/ethereum-cryptography/keccak.d.ts +11 -0
  945. package/test/node_modules/ethereum-cryptography/keccak.js +13 -0
  946. package/test/node_modules/ethereum-cryptography/package.json +369 -0
  947. package/test/node_modules/ethereum-cryptography/pbkdf2.d.ts +2 -0
  948. package/test/node_modules/ethereum-cryptography/pbkdf2.js +30 -0
  949. package/test/node_modules/ethereum-cryptography/random.d.ts +2 -0
  950. package/test/node_modules/ethereum-cryptography/random.js +11 -0
  951. package/test/node_modules/ethereum-cryptography/ripemd160.d.ts +1 -0
  952. package/test/node_modules/ethereum-cryptography/ripemd160.js +6 -0
  953. package/test/node_modules/ethereum-cryptography/scrypt.d.ts +4 -0
  954. package/test/node_modules/ethereum-cryptography/scrypt.js +16 -0
  955. package/test/node_modules/ethereum-cryptography/secp256k1-compat.d.ts +35 -0
  956. package/test/node_modules/ethereum-cryptography/secp256k1-compat.js +277 -0
  957. package/test/node_modules/ethereum-cryptography/secp256k1.d.ts +1 -0
  958. package/test/node_modules/ethereum-cryptography/secp256k1.js +5 -0
  959. package/test/node_modules/ethereum-cryptography/sha256.d.ts +1 -0
  960. package/test/node_modules/ethereum-cryptography/sha256.js +6 -0
  961. package/test/node_modules/ethereum-cryptography/sha512.d.ts +1 -0
  962. package/test/node_modules/ethereum-cryptography/sha512.js +6 -0
  963. package/test/node_modules/ethereum-cryptography/utils.d.ts +12 -0
  964. package/test/node_modules/ethereum-cryptography/utils.js +63 -0
  965. package/test/node_modules/fast-safe-stringify/.travis.yml +8 -0
  966. package/test/node_modules/fast-safe-stringify/CHANGELOG.md +17 -0
  967. package/test/node_modules/fast-safe-stringify/LICENSE +23 -0
  968. package/test/node_modules/fast-safe-stringify/benchmark.js +137 -0
  969. package/test/node_modules/fast-safe-stringify/index.d.ts +23 -0
  970. package/test/node_modules/fast-safe-stringify/index.js +229 -0
  971. package/test/node_modules/fast-safe-stringify/package.json +46 -0
  972. package/test/node_modules/fast-safe-stringify/readme.md +170 -0
  973. package/test/node_modules/fast-safe-stringify/test-stable.js +404 -0
  974. package/test/node_modules/fast-safe-stringify/test.js +397 -0
  975. package/test/node_modules/fetch-blob/LICENSE +21 -0
  976. package/test/node_modules/fetch-blob/README.md +106 -0
  977. package/test/node_modules/fetch-blob/file.d.ts +2 -0
  978. package/test/node_modules/fetch-blob/file.js +49 -0
  979. package/test/node_modules/fetch-blob/from.d.ts +26 -0
  980. package/test/node_modules/fetch-blob/from.js +100 -0
  981. package/test/node_modules/fetch-blob/index.d.ts +3 -0
  982. package/test/node_modules/fetch-blob/index.js +250 -0
  983. package/test/node_modules/fetch-blob/package.json +56 -0
  984. package/test/node_modules/fetch-blob/streams.cjs +51 -0
  985. package/test/node_modules/fill-range/LICENSE +21 -0
  986. package/test/node_modules/fill-range/README.md +237 -0
  987. package/test/node_modules/fill-range/index.js +248 -0
  988. package/test/node_modules/fill-range/package.json +74 -0
  989. package/test/node_modules/find-up/index.d.ts +138 -0
  990. package/test/node_modules/find-up/index.js +89 -0
  991. package/test/node_modules/find-up/license +9 -0
  992. package/test/node_modules/find-up/package.json +54 -0
  993. package/test/node_modules/find-up/readme.md +151 -0
  994. package/test/node_modules/flat/.travis.yml +8 -0
  995. package/test/node_modules/flat/LICENSE +12 -0
  996. package/test/node_modules/flat/README.md +236 -0
  997. package/test/node_modules/flat/cli.js +42 -0
  998. package/test/node_modules/flat/index.js +158 -0
  999. package/test/node_modules/flat/package.json +37 -0
  1000. package/test/node_modules/flat/test/test.js +643 -0
  1001. package/test/node_modules/foreground-child/LICENSE +15 -0
  1002. package/test/node_modules/foreground-child/README.md +128 -0
  1003. package/test/node_modules/foreground-child/dist/commonjs/all-signals.d.ts +2 -0
  1004. package/test/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +1 -0
  1005. package/test/node_modules/foreground-child/dist/commonjs/all-signals.js +58 -0
  1006. package/test/node_modules/foreground-child/dist/commonjs/all-signals.js.map +1 -0
  1007. package/test/node_modules/foreground-child/dist/commonjs/index.d.ts +58 -0
  1008. package/test/node_modules/foreground-child/dist/commonjs/index.d.ts.map +1 -0
  1009. package/test/node_modules/foreground-child/dist/commonjs/index.js +123 -0
  1010. package/test/node_modules/foreground-child/dist/commonjs/index.js.map +1 -0
  1011. package/test/node_modules/foreground-child/dist/commonjs/package.json +3 -0
  1012. package/test/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts +6 -0
  1013. package/test/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +1 -0
  1014. package/test/node_modules/foreground-child/dist/commonjs/proxy-signals.js +38 -0
  1015. package/test/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +1 -0
  1016. package/test/node_modules/foreground-child/dist/commonjs/watchdog.d.ts +10 -0
  1017. package/test/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +1 -0
  1018. package/test/node_modules/foreground-child/dist/commonjs/watchdog.js +50 -0
  1019. package/test/node_modules/foreground-child/dist/commonjs/watchdog.js.map +1 -0
  1020. package/test/node_modules/foreground-child/dist/esm/all-signals.d.ts +2 -0
  1021. package/test/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +1 -0
  1022. package/test/node_modules/foreground-child/dist/esm/all-signals.js +52 -0
  1023. package/test/node_modules/foreground-child/dist/esm/all-signals.js.map +1 -0
  1024. package/test/node_modules/foreground-child/dist/esm/index.d.ts +58 -0
  1025. package/test/node_modules/foreground-child/dist/esm/index.d.ts.map +1 -0
  1026. package/test/node_modules/foreground-child/dist/esm/index.js +115 -0
  1027. package/test/node_modules/foreground-child/dist/esm/index.js.map +1 -0
  1028. package/test/node_modules/foreground-child/dist/esm/package.json +3 -0
  1029. package/test/node_modules/foreground-child/dist/esm/proxy-signals.d.ts +6 -0
  1030. package/test/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +1 -0
  1031. package/test/node_modules/foreground-child/dist/esm/proxy-signals.js +34 -0
  1032. package/test/node_modules/foreground-child/dist/esm/proxy-signals.js.map +1 -0
  1033. package/test/node_modules/foreground-child/dist/esm/watchdog.d.ts +10 -0
  1034. package/test/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +1 -0
  1035. package/test/node_modules/foreground-child/dist/esm/watchdog.js +46 -0
  1036. package/test/node_modules/foreground-child/dist/esm/watchdog.js.map +1 -0
  1037. package/test/node_modules/foreground-child/package.json +106 -0
  1038. package/test/node_modules/form-data/License +19 -0
  1039. package/test/node_modules/form-data/Readme.md +358 -0
  1040. package/test/node_modules/form-data/index.d.ts +62 -0
  1041. package/test/node_modules/form-data/lib/browser.js +2 -0
  1042. package/test/node_modules/form-data/lib/form_data.js +503 -0
  1043. package/test/node_modules/form-data/lib/populate.js +10 -0
  1044. package/test/node_modules/form-data/package.json +74 -0
  1045. package/test/node_modules/formdata-polyfill/FormData.js +441 -0
  1046. package/test/node_modules/formdata-polyfill/LICENSE +21 -0
  1047. package/test/node_modules/formdata-polyfill/README.md +145 -0
  1048. package/test/node_modules/formdata-polyfill/esm.min.d.ts +5 -0
  1049. package/test/node_modules/formdata-polyfill/esm.min.js +40 -0
  1050. package/test/node_modules/formdata-polyfill/formdata-to-blob.js +39 -0
  1051. package/test/node_modules/formdata-polyfill/formdata.min.js +21 -0
  1052. package/test/node_modules/formdata-polyfill/package.json +50 -0
  1053. package/test/node_modules/formidable/LICENSE +21 -0
  1054. package/test/node_modules/formidable/README.md +884 -0
  1055. package/test/node_modules/formidable/README_pt_BR.md +841 -0
  1056. package/test/node_modules/formidable/dist/helpers/firstValues.cjs +394 -0
  1057. package/test/node_modules/formidable/dist/helpers/readBooleans.cjs +12 -0
  1058. package/test/node_modules/formidable/dist/index.cjs +1690 -0
  1059. package/test/node_modules/formidable/dist/parsers/JSON.cjs +35 -0
  1060. package/test/node_modules/formidable/dist/parsers/Multipart.cjs +372 -0
  1061. package/test/node_modules/formidable/dist/parsers/OctetStream.cjs +14 -0
  1062. package/test/node_modules/formidable/dist/parsers/Querystring.cjs +38 -0
  1063. package/test/node_modules/formidable/dist/parsers/StreamingQuerystring.cjs +131 -0
  1064. package/test/node_modules/formidable/package.json +140 -0
  1065. package/test/node_modules/formidable/src/Formidable.js +684 -0
  1066. package/test/node_modules/formidable/src/FormidableError.js +51 -0
  1067. package/test/node_modules/formidable/src/PersistentFile.js +88 -0
  1068. package/test/node_modules/formidable/src/VolatileFile.js +80 -0
  1069. package/test/node_modules/formidable/src/helpers/firstValues.js +19 -0
  1070. package/test/node_modules/formidable/src/helpers/readBooleans.js +10 -0
  1071. package/test/node_modules/formidable/src/index.js +32 -0
  1072. package/test/node_modules/formidable/src/parsers/Dummy.js +19 -0
  1073. package/test/node_modules/formidable/src/parsers/JSON.js +30 -0
  1074. package/test/node_modules/formidable/src/parsers/Multipart.js +356 -0
  1075. package/test/node_modules/formidable/src/parsers/OctetStream.js +10 -0
  1076. package/test/node_modules/formidable/src/parsers/Querystring.js +33 -0
  1077. package/test/node_modules/formidable/src/parsers/StreamingQuerystring.js +117 -0
  1078. package/test/node_modules/formidable/src/parsers/index.js +15 -0
  1079. package/test/node_modules/formidable/src/plugins/index.js +6 -0
  1080. package/test/node_modules/formidable/src/plugins/json.js +39 -0
  1081. package/test/node_modules/formidable/src/plugins/multipart.js +173 -0
  1082. package/test/node_modules/formidable/src/plugins/octetstream.js +84 -0
  1083. package/test/node_modules/formidable/src/plugins/querystring.js +41 -0
  1084. package/test/node_modules/fount-js/README.md +35 -0
  1085. package/test/node_modules/fount-js/fount.cjs +145 -0
  1086. package/test/node_modules/fount-js/fount.js +202 -0
  1087. package/test/node_modules/fount-js/package.json +23 -0
  1088. package/test/node_modules/fsevents/LICENSE +22 -0
  1089. package/test/node_modules/fsevents/README.md +89 -0
  1090. package/test/node_modules/fsevents/fsevents.d.ts +46 -0
  1091. package/test/node_modules/fsevents/fsevents.js +83 -0
  1092. package/test/node_modules/fsevents/fsevents.node +0 -0
  1093. package/test/node_modules/fsevents/package.json +62 -0
  1094. package/test/node_modules/function-bind/.eslintrc +21 -0
  1095. package/test/node_modules/function-bind/.github/FUNDING.yml +12 -0
  1096. package/test/node_modules/function-bind/.github/SECURITY.md +3 -0
  1097. package/test/node_modules/function-bind/.nycrc +13 -0
  1098. package/test/node_modules/function-bind/CHANGELOG.md +136 -0
  1099. package/test/node_modules/function-bind/LICENSE +20 -0
  1100. package/test/node_modules/function-bind/README.md +46 -0
  1101. package/test/node_modules/function-bind/implementation.js +84 -0
  1102. package/test/node_modules/function-bind/index.js +5 -0
  1103. package/test/node_modules/function-bind/package.json +87 -0
  1104. package/test/node_modules/function-bind/test/.eslintrc +9 -0
  1105. package/test/node_modules/function-bind/test/index.js +252 -0
  1106. package/test/node_modules/get-caller-file/LICENSE.md +6 -0
  1107. package/test/node_modules/get-caller-file/README.md +41 -0
  1108. package/test/node_modules/get-caller-file/index.d.ts +2 -0
  1109. package/test/node_modules/get-caller-file/index.js +22 -0
  1110. package/test/node_modules/get-caller-file/index.js.map +1 -0
  1111. package/test/node_modules/get-caller-file/package.json +42 -0
  1112. package/test/node_modules/get-intrinsic/.eslintrc +42 -0
  1113. package/test/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  1114. package/test/node_modules/get-intrinsic/.nycrc +9 -0
  1115. package/test/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  1116. package/test/node_modules/get-intrinsic/LICENSE +21 -0
  1117. package/test/node_modules/get-intrinsic/README.md +71 -0
  1118. package/test/node_modules/get-intrinsic/index.js +378 -0
  1119. package/test/node_modules/get-intrinsic/package.json +97 -0
  1120. package/test/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  1121. package/test/node_modules/get-proto/.eslintrc +10 -0
  1122. package/test/node_modules/get-proto/.github/FUNDING.yml +12 -0
  1123. package/test/node_modules/get-proto/.nycrc +9 -0
  1124. package/test/node_modules/get-proto/CHANGELOG.md +21 -0
  1125. package/test/node_modules/get-proto/LICENSE +21 -0
  1126. package/test/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  1127. package/test/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  1128. package/test/node_modules/get-proto/README.md +50 -0
  1129. package/test/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  1130. package/test/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  1131. package/test/node_modules/get-proto/index.d.ts +5 -0
  1132. package/test/node_modules/get-proto/index.js +27 -0
  1133. package/test/node_modules/get-proto/package.json +81 -0
  1134. package/test/node_modules/get-proto/test/index.js +68 -0
  1135. package/test/node_modules/get-proto/tsconfig.json +9 -0
  1136. package/test/node_modules/glob/LICENSE +15 -0
  1137. package/test/node_modules/glob/README.md +1265 -0
  1138. package/test/node_modules/glob/dist/commonjs/glob.d.ts +388 -0
  1139. package/test/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
  1140. package/test/node_modules/glob/dist/commonjs/glob.js +247 -0
  1141. package/test/node_modules/glob/dist/commonjs/glob.js.map +1 -0
  1142. package/test/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
  1143. package/test/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
  1144. package/test/node_modules/glob/dist/commonjs/has-magic.js +27 -0
  1145. package/test/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
  1146. package/test/node_modules/glob/dist/commonjs/ignore.d.ts +24 -0
  1147. package/test/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
  1148. package/test/node_modules/glob/dist/commonjs/ignore.js +119 -0
  1149. package/test/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
  1150. package/test/node_modules/glob/dist/commonjs/index.d.ts +97 -0
  1151. package/test/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
  1152. package/test/node_modules/glob/dist/commonjs/index.js +68 -0
  1153. package/test/node_modules/glob/dist/commonjs/index.js.map +1 -0
  1154. package/test/node_modules/glob/dist/commonjs/package.json +3 -0
  1155. package/test/node_modules/glob/dist/commonjs/pattern.d.ts +76 -0
  1156. package/test/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
  1157. package/test/node_modules/glob/dist/commonjs/pattern.js +219 -0
  1158. package/test/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
  1159. package/test/node_modules/glob/dist/commonjs/processor.d.ts +59 -0
  1160. package/test/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
  1161. package/test/node_modules/glob/dist/commonjs/processor.js +301 -0
  1162. package/test/node_modules/glob/dist/commonjs/processor.js.map +1 -0
  1163. package/test/node_modules/glob/dist/commonjs/walker.d.ts +97 -0
  1164. package/test/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
  1165. package/test/node_modules/glob/dist/commonjs/walker.js +387 -0
  1166. package/test/node_modules/glob/dist/commonjs/walker.js.map +1 -0
  1167. package/test/node_modules/glob/dist/esm/bin.d.mts +3 -0
  1168. package/test/node_modules/glob/dist/esm/bin.d.mts.map +1 -0
  1169. package/test/node_modules/glob/dist/esm/bin.mjs +270 -0
  1170. package/test/node_modules/glob/dist/esm/bin.mjs.map +1 -0
  1171. package/test/node_modules/glob/dist/esm/glob.d.ts +388 -0
  1172. package/test/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
  1173. package/test/node_modules/glob/dist/esm/glob.js +243 -0
  1174. package/test/node_modules/glob/dist/esm/glob.js.map +1 -0
  1175. package/test/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
  1176. package/test/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
  1177. package/test/node_modules/glob/dist/esm/has-magic.js +23 -0
  1178. package/test/node_modules/glob/dist/esm/has-magic.js.map +1 -0
  1179. package/test/node_modules/glob/dist/esm/ignore.d.ts +24 -0
  1180. package/test/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
  1181. package/test/node_modules/glob/dist/esm/ignore.js +115 -0
  1182. package/test/node_modules/glob/dist/esm/ignore.js.map +1 -0
  1183. package/test/node_modules/glob/dist/esm/index.d.ts +97 -0
  1184. package/test/node_modules/glob/dist/esm/index.d.ts.map +1 -0
  1185. package/test/node_modules/glob/dist/esm/index.js +55 -0
  1186. package/test/node_modules/glob/dist/esm/index.js.map +1 -0
  1187. package/test/node_modules/glob/dist/esm/package.json +3 -0
  1188. package/test/node_modules/glob/dist/esm/pattern.d.ts +76 -0
  1189. package/test/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
  1190. package/test/node_modules/glob/dist/esm/pattern.js +215 -0
  1191. package/test/node_modules/glob/dist/esm/pattern.js.map +1 -0
  1192. package/test/node_modules/glob/dist/esm/processor.d.ts +59 -0
  1193. package/test/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
  1194. package/test/node_modules/glob/dist/esm/processor.js +294 -0
  1195. package/test/node_modules/glob/dist/esm/processor.js.map +1 -0
  1196. package/test/node_modules/glob/dist/esm/walker.d.ts +97 -0
  1197. package/test/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
  1198. package/test/node_modules/glob/dist/esm/walker.js +381 -0
  1199. package/test/node_modules/glob/dist/esm/walker.js.map +1 -0
  1200. package/test/node_modules/glob/node_modules/minimatch/LICENSE +15 -0
  1201. package/test/node_modules/glob/node_modules/minimatch/README.md +454 -0
  1202. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
  1203. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
  1204. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
  1205. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
  1206. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/ast.d.ts +20 -0
  1207. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
  1208. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/ast.js +592 -0
  1209. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
  1210. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
  1211. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
  1212. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
  1213. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
  1214. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/escape.d.ts +12 -0
  1215. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
  1216. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/escape.js +22 -0
  1217. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
  1218. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/index.d.ts +94 -0
  1219. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
  1220. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/index.js +1017 -0
  1221. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
  1222. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/package.json +3 -0
  1223. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/unescape.d.ts +17 -0
  1224. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
  1225. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
  1226. package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
  1227. package/test/node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
  1228. package/test/node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
  1229. package/test/node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
  1230. package/test/node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
  1231. package/test/node_modules/glob/node_modules/minimatch/dist/esm/ast.d.ts +20 -0
  1232. package/test/node_modules/glob/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
  1233. package/test/node_modules/glob/node_modules/minimatch/dist/esm/ast.js +588 -0
  1234. package/test/node_modules/glob/node_modules/minimatch/dist/esm/ast.js.map +1 -0
  1235. package/test/node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
  1236. package/test/node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
  1237. package/test/node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
  1238. package/test/node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
  1239. package/test/node_modules/glob/node_modules/minimatch/dist/esm/escape.d.ts +12 -0
  1240. package/test/node_modules/glob/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
  1241. package/test/node_modules/glob/node_modules/minimatch/dist/esm/escape.js +18 -0
  1242. package/test/node_modules/glob/node_modules/minimatch/dist/esm/escape.js.map +1 -0
  1243. package/test/node_modules/glob/node_modules/minimatch/dist/esm/index.d.ts +94 -0
  1244. package/test/node_modules/glob/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
  1245. package/test/node_modules/glob/node_modules/minimatch/dist/esm/index.js +1001 -0
  1246. package/test/node_modules/glob/node_modules/minimatch/dist/esm/index.js.map +1 -0
  1247. package/test/node_modules/glob/node_modules/minimatch/dist/esm/package.json +3 -0
  1248. package/test/node_modules/glob/node_modules/minimatch/dist/esm/unescape.d.ts +17 -0
  1249. package/test/node_modules/glob/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
  1250. package/test/node_modules/glob/node_modules/minimatch/dist/esm/unescape.js +20 -0
  1251. package/test/node_modules/glob/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
  1252. package/test/node_modules/glob/node_modules/minimatch/package.json +82 -0
  1253. package/test/node_modules/glob/package.json +99 -0
  1254. package/test/node_modules/glob-parent/CHANGELOG.md +110 -0
  1255. package/test/node_modules/glob-parent/LICENSE +15 -0
  1256. package/test/node_modules/glob-parent/README.md +137 -0
  1257. package/test/node_modules/glob-parent/index.js +42 -0
  1258. package/test/node_modules/glob-parent/package.json +48 -0
  1259. package/test/node_modules/gopd/.eslintrc +16 -0
  1260. package/test/node_modules/gopd/.github/FUNDING.yml +12 -0
  1261. package/test/node_modules/gopd/CHANGELOG.md +45 -0
  1262. package/test/node_modules/gopd/LICENSE +21 -0
  1263. package/test/node_modules/gopd/README.md +40 -0
  1264. package/test/node_modules/gopd/gOPD.d.ts +1 -0
  1265. package/test/node_modules/gopd/gOPD.js +4 -0
  1266. package/test/node_modules/gopd/index.d.ts +5 -0
  1267. package/test/node_modules/gopd/index.js +15 -0
  1268. package/test/node_modules/gopd/package.json +77 -0
  1269. package/test/node_modules/gopd/test/index.js +36 -0
  1270. package/test/node_modules/gopd/tsconfig.json +9 -0
  1271. package/test/node_modules/has-flag/index.d.ts +39 -0
  1272. package/test/node_modules/has-flag/index.js +8 -0
  1273. package/test/node_modules/has-flag/license +9 -0
  1274. package/test/node_modules/has-flag/package.json +46 -0
  1275. package/test/node_modules/has-flag/readme.md +89 -0
  1276. package/test/node_modules/has-symbols/.eslintrc +11 -0
  1277. package/test/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  1278. package/test/node_modules/has-symbols/.nycrc +9 -0
  1279. package/test/node_modules/has-symbols/CHANGELOG.md +91 -0
  1280. package/test/node_modules/has-symbols/LICENSE +21 -0
  1281. package/test/node_modules/has-symbols/README.md +46 -0
  1282. package/test/node_modules/has-symbols/index.d.ts +3 -0
  1283. package/test/node_modules/has-symbols/index.js +14 -0
  1284. package/test/node_modules/has-symbols/package.json +111 -0
  1285. package/test/node_modules/has-symbols/shams.d.ts +3 -0
  1286. package/test/node_modules/has-symbols/shams.js +45 -0
  1287. package/test/node_modules/has-symbols/test/index.js +22 -0
  1288. package/test/node_modules/has-symbols/test/shams/core-js.js +29 -0
  1289. package/test/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  1290. package/test/node_modules/has-symbols/test/tests.js +58 -0
  1291. package/test/node_modules/has-symbols/tsconfig.json +10 -0
  1292. package/test/node_modules/has-tostringtag/.eslintrc +5 -0
  1293. package/test/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
  1294. package/test/node_modules/has-tostringtag/.nycrc +13 -0
  1295. package/test/node_modules/has-tostringtag/CHANGELOG.md +42 -0
  1296. package/test/node_modules/has-tostringtag/LICENSE +21 -0
  1297. package/test/node_modules/has-tostringtag/README.md +46 -0
  1298. package/test/node_modules/has-tostringtag/index.d.ts +3 -0
  1299. package/test/node_modules/has-tostringtag/index.js +8 -0
  1300. package/test/node_modules/has-tostringtag/package.json +108 -0
  1301. package/test/node_modules/has-tostringtag/shams.d.ts +3 -0
  1302. package/test/node_modules/has-tostringtag/shams.js +8 -0
  1303. package/test/node_modules/has-tostringtag/test/index.js +21 -0
  1304. package/test/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
  1305. package/test/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
  1306. package/test/node_modules/has-tostringtag/test/tests.js +15 -0
  1307. package/test/node_modules/has-tostringtag/tsconfig.json +49 -0
  1308. package/test/node_modules/hasown/.eslintrc +5 -0
  1309. package/test/node_modules/hasown/.github/FUNDING.yml +12 -0
  1310. package/test/node_modules/hasown/.nycrc +13 -0
  1311. package/test/node_modules/hasown/CHANGELOG.md +40 -0
  1312. package/test/node_modules/hasown/LICENSE +21 -0
  1313. package/test/node_modules/hasown/README.md +40 -0
  1314. package/test/node_modules/hasown/index.d.ts +3 -0
  1315. package/test/node_modules/hasown/index.js +8 -0
  1316. package/test/node_modules/hasown/package.json +92 -0
  1317. package/test/node_modules/hasown/tsconfig.json +6 -0
  1318. package/test/node_modules/he/LICENSE-MIT.txt +20 -0
  1319. package/test/node_modules/he/README.md +379 -0
  1320. package/test/node_modules/he/bin/he +148 -0
  1321. package/test/node_modules/he/he.js +345 -0
  1322. package/test/node_modules/he/man/he.1 +78 -0
  1323. package/test/node_modules/he/package.json +58 -0
  1324. package/test/node_modules/hexoid/dist/index.d.ts +1 -0
  1325. package/test/node_modules/hexoid/dist/index.js +1 -0
  1326. package/test/node_modules/hexoid/dist/index.mjs +1 -0
  1327. package/test/node_modules/hexoid/license +9 -0
  1328. package/test/node_modules/hexoid/package.json +45 -0
  1329. package/test/node_modules/hexoid/readme.md +118 -0
  1330. package/test/node_modules/is-binary-path/index.d.ts +17 -0
  1331. package/test/node_modules/is-binary-path/index.js +7 -0
  1332. package/test/node_modules/is-binary-path/license +9 -0
  1333. package/test/node_modules/is-binary-path/package.json +40 -0
  1334. package/test/node_modules/is-binary-path/readme.md +34 -0
  1335. package/test/node_modules/is-extglob/LICENSE +21 -0
  1336. package/test/node_modules/is-extglob/README.md +107 -0
  1337. package/test/node_modules/is-extglob/index.js +20 -0
  1338. package/test/node_modules/is-extglob/package.json +69 -0
  1339. package/test/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
  1340. package/test/node_modules/is-fullwidth-code-point/index.js +50 -0
  1341. package/test/node_modules/is-fullwidth-code-point/license +9 -0
  1342. package/test/node_modules/is-fullwidth-code-point/package.json +42 -0
  1343. package/test/node_modules/is-fullwidth-code-point/readme.md +39 -0
  1344. package/test/node_modules/is-glob/LICENSE +21 -0
  1345. package/test/node_modules/is-glob/README.md +206 -0
  1346. package/test/node_modules/is-glob/index.js +150 -0
  1347. package/test/node_modules/is-glob/package.json +81 -0
  1348. package/test/node_modules/is-number/LICENSE +21 -0
  1349. package/test/node_modules/is-number/README.md +187 -0
  1350. package/test/node_modules/is-number/index.js +18 -0
  1351. package/test/node_modules/is-number/package.json +82 -0
  1352. package/test/node_modules/is-plain-obj/index.d.ts +29 -0
  1353. package/test/node_modules/is-plain-obj/index.js +10 -0
  1354. package/test/node_modules/is-plain-obj/license +9 -0
  1355. package/test/node_modules/is-plain-obj/package.json +38 -0
  1356. package/test/node_modules/is-plain-obj/readme.md +54 -0
  1357. package/test/node_modules/is-unicode-supported/index.d.ts +14 -0
  1358. package/test/node_modules/is-unicode-supported/index.js +13 -0
  1359. package/test/node_modules/is-unicode-supported/license +9 -0
  1360. package/test/node_modules/is-unicode-supported/package.json +41 -0
  1361. package/test/node_modules/is-unicode-supported/readme.md +35 -0
  1362. package/test/node_modules/isexe/LICENSE +15 -0
  1363. package/test/node_modules/isexe/README.md +51 -0
  1364. package/test/node_modules/isexe/index.js +57 -0
  1365. package/test/node_modules/isexe/mode.js +41 -0
  1366. package/test/node_modules/isexe/package.json +31 -0
  1367. package/test/node_modules/isexe/test/basic.js +221 -0
  1368. package/test/node_modules/isexe/windows.js +42 -0
  1369. package/test/node_modules/jackspeak/LICENSE.md +55 -0
  1370. package/test/node_modules/jackspeak/README.md +357 -0
  1371. package/test/node_modules/jackspeak/dist/commonjs/index.d.ts +315 -0
  1372. package/test/node_modules/jackspeak/dist/commonjs/index.d.ts.map +1 -0
  1373. package/test/node_modules/jackspeak/dist/commonjs/index.js +1010 -0
  1374. package/test/node_modules/jackspeak/dist/commonjs/index.js.map +1 -0
  1375. package/test/node_modules/jackspeak/dist/commonjs/package.json +3 -0
  1376. package/test/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +1 -0
  1377. package/test/node_modules/jackspeak/dist/commonjs/parse-args-cjs.d.cts.map +1 -0
  1378. package/test/node_modules/jackspeak/dist/commonjs/parse-args.d.ts +4 -0
  1379. package/test/node_modules/jackspeak/dist/commonjs/parse-args.js +50 -0
  1380. package/test/node_modules/jackspeak/dist/esm/index.d.ts +315 -0
  1381. package/test/node_modules/jackspeak/dist/esm/index.d.ts.map +1 -0
  1382. package/test/node_modules/jackspeak/dist/esm/index.js +1000 -0
  1383. package/test/node_modules/jackspeak/dist/esm/index.js.map +1 -0
  1384. package/test/node_modules/jackspeak/dist/esm/package.json +3 -0
  1385. package/test/node_modules/jackspeak/dist/esm/parse-args.d.ts +4 -0
  1386. package/test/node_modules/jackspeak/dist/esm/parse-args.d.ts.map +1 -0
  1387. package/test/node_modules/jackspeak/dist/esm/parse-args.js +26 -0
  1388. package/test/node_modules/jackspeak/dist/esm/parse-args.js.map +1 -0
  1389. package/test/node_modules/jackspeak/package.json +95 -0
  1390. package/test/node_modules/js-yaml/CHANGELOG.md +616 -0
  1391. package/test/node_modules/js-yaml/LICENSE +21 -0
  1392. package/test/node_modules/js-yaml/README.md +246 -0
  1393. package/test/node_modules/js-yaml/bin/js-yaml.js +126 -0
  1394. package/test/node_modules/js-yaml/dist/js-yaml.js +3874 -0
  1395. package/test/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
  1396. package/test/node_modules/js-yaml/dist/js-yaml.mjs +3851 -0
  1397. package/test/node_modules/js-yaml/index.js +47 -0
  1398. package/test/node_modules/js-yaml/lib/common.js +59 -0
  1399. package/test/node_modules/js-yaml/lib/dumper.js +965 -0
  1400. package/test/node_modules/js-yaml/lib/exception.js +55 -0
  1401. package/test/node_modules/js-yaml/lib/loader.js +1727 -0
  1402. package/test/node_modules/js-yaml/lib/schema/core.js +11 -0
  1403. package/test/node_modules/js-yaml/lib/schema/default.js +22 -0
  1404. package/test/node_modules/js-yaml/lib/schema/failsafe.js +17 -0
  1405. package/test/node_modules/js-yaml/lib/schema/json.js +19 -0
  1406. package/test/node_modules/js-yaml/lib/schema.js +121 -0
  1407. package/test/node_modules/js-yaml/lib/snippet.js +101 -0
  1408. package/test/node_modules/js-yaml/lib/type/binary.js +125 -0
  1409. package/test/node_modules/js-yaml/lib/type/bool.js +35 -0
  1410. package/test/node_modules/js-yaml/lib/type/float.js +97 -0
  1411. package/test/node_modules/js-yaml/lib/type/int.js +156 -0
  1412. package/test/node_modules/js-yaml/lib/type/map.js +8 -0
  1413. package/test/node_modules/js-yaml/lib/type/merge.js +12 -0
  1414. package/test/node_modules/js-yaml/lib/type/null.js +35 -0
  1415. package/test/node_modules/js-yaml/lib/type/omap.js +44 -0
  1416. package/test/node_modules/js-yaml/lib/type/pairs.js +53 -0
  1417. package/test/node_modules/js-yaml/lib/type/seq.js +8 -0
  1418. package/test/node_modules/js-yaml/lib/type/set.js +29 -0
  1419. package/test/node_modules/js-yaml/lib/type/str.js +8 -0
  1420. package/test/node_modules/js-yaml/lib/type/timestamp.js +88 -0
  1421. package/test/node_modules/js-yaml/lib/type.js +66 -0
  1422. package/test/node_modules/js-yaml/package.json +66 -0
  1423. package/test/node_modules/locate-path/index.d.ts +83 -0
  1424. package/test/node_modules/locate-path/index.js +68 -0
  1425. package/test/node_modules/locate-path/license +9 -0
  1426. package/test/node_modules/locate-path/package.json +46 -0
  1427. package/test/node_modules/locate-path/readme.md +125 -0
  1428. package/test/node_modules/log-symbols/browser.js +8 -0
  1429. package/test/node_modules/log-symbols/index.d.ts +25 -0
  1430. package/test/node_modules/log-symbols/index.js +19 -0
  1431. package/test/node_modules/log-symbols/license +9 -0
  1432. package/test/node_modules/log-symbols/package.json +52 -0
  1433. package/test/node_modules/log-symbols/readme.md +51 -0
  1434. package/test/node_modules/loupe/LICENSE +9 -0
  1435. package/test/node_modules/loupe/README.md +63 -0
  1436. package/test/node_modules/loupe/lib/arguments.d.ts +3 -0
  1437. package/test/node_modules/loupe/lib/arguments.d.ts.map +1 -0
  1438. package/test/node_modules/loupe/lib/arguments.js +7 -0
  1439. package/test/node_modules/loupe/lib/array.d.ts +3 -0
  1440. package/test/node_modules/loupe/lib/array.d.ts.map +1 -0
  1441. package/test/node_modules/loupe/lib/array.js +16 -0
  1442. package/test/node_modules/loupe/lib/bigint.d.ts +3 -0
  1443. package/test/node_modules/loupe/lib/bigint.d.ts.map +1 -0
  1444. package/test/node_modules/loupe/lib/bigint.js +7 -0
  1445. package/test/node_modules/loupe/lib/class.d.ts +5 -0
  1446. package/test/node_modules/loupe/lib/class.d.ts.map +1 -0
  1447. package/test/node_modules/loupe/lib/class.js +15 -0
  1448. package/test/node_modules/loupe/lib/date.d.ts +3 -0
  1449. package/test/node_modules/loupe/lib/date.d.ts.map +1 -0
  1450. package/test/node_modules/loupe/lib/date.js +11 -0
  1451. package/test/node_modules/loupe/lib/error.d.ts +3 -0
  1452. package/test/node_modules/loupe/lib/error.d.ts.map +1 -0
  1453. package/test/node_modules/loupe/lib/error.js +35 -0
  1454. package/test/node_modules/loupe/lib/function.d.ts +7 -0
  1455. package/test/node_modules/loupe/lib/function.d.ts.map +1 -0
  1456. package/test/node_modules/loupe/lib/function.js +9 -0
  1457. package/test/node_modules/loupe/lib/helpers.d.ts +7 -0
  1458. package/test/node_modules/loupe/lib/helpers.d.ts.map +1 -0
  1459. package/test/node_modules/loupe/lib/helpers.js +159 -0
  1460. package/test/node_modules/loupe/lib/html.d.ts +5 -0
  1461. package/test/node_modules/loupe/lib/html.d.ts.map +1 -0
  1462. package/test/node_modules/loupe/lib/html.js +34 -0
  1463. package/test/node_modules/loupe/lib/index.d.ts +7 -0
  1464. package/test/node_modules/loupe/lib/index.d.ts.map +1 -0
  1465. package/test/node_modules/loupe/lib/index.js +161 -0
  1466. package/test/node_modules/loupe/lib/map.d.ts +3 -0
  1467. package/test/node_modules/loupe/lib/map.d.ts.map +1 -0
  1468. package/test/node_modules/loupe/lib/map.js +22 -0
  1469. package/test/node_modules/loupe/lib/number.d.ts +3 -0
  1470. package/test/node_modules/loupe/lib/number.d.ts.map +1 -0
  1471. package/test/node_modules/loupe/lib/number.js +17 -0
  1472. package/test/node_modules/loupe/lib/object.d.ts +3 -0
  1473. package/test/node_modules/loupe/lib/object.d.ts.map +1 -0
  1474. package/test/node_modules/loupe/lib/object.js +22 -0
  1475. package/test/node_modules/loupe/lib/promise.d.ts +5 -0
  1476. package/test/node_modules/loupe/lib/promise.d.ts.map +1 -0
  1477. package/test/node_modules/loupe/lib/promise.js +18 -0
  1478. package/test/node_modules/loupe/lib/regexp.d.ts +3 -0
  1479. package/test/node_modules/loupe/lib/regexp.d.ts.map +1 -0
  1480. package/test/node_modules/loupe/lib/regexp.js +7 -0
  1481. package/test/node_modules/loupe/lib/set.d.ts +3 -0
  1482. package/test/node_modules/loupe/lib/set.d.ts.map +1 -0
  1483. package/test/node_modules/loupe/lib/set.js +15 -0
  1484. package/test/node_modules/loupe/lib/string.d.ts +3 -0
  1485. package/test/node_modules/loupe/lib/string.d.ts.map +1 -0
  1486. package/test/node_modules/loupe/lib/string.js +24 -0
  1487. package/test/node_modules/loupe/lib/symbol.d.ts +2 -0
  1488. package/test/node_modules/loupe/lib/symbol.d.ts.map +1 -0
  1489. package/test/node_modules/loupe/lib/symbol.js +6 -0
  1490. package/test/node_modules/loupe/lib/typedarray.d.ts +5 -0
  1491. package/test/node_modules/loupe/lib/typedarray.d.ts.map +1 -0
  1492. package/test/node_modules/loupe/lib/typedarray.js +38 -0
  1493. package/test/node_modules/loupe/lib/types.d.ts +15 -0
  1494. package/test/node_modules/loupe/lib/types.d.ts.map +1 -0
  1495. package/test/node_modules/loupe/lib/types.js +1 -0
  1496. package/test/node_modules/loupe/loupe.js +640 -0
  1497. package/test/node_modules/loupe/package.json +73 -0
  1498. package/test/node_modules/lru-cache/LICENSE +15 -0
  1499. package/test/node_modules/lru-cache/README.md +331 -0
  1500. package/test/node_modules/lru-cache/dist/commonjs/index.d.ts +1277 -0
  1501. package/test/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
  1502. package/test/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
  1503. package/test/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
  1504. package/test/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  1505. package/test/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
  1506. package/test/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  1507. package/test/node_modules/lru-cache/dist/esm/index.d.ts +1277 -0
  1508. package/test/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
  1509. package/test/node_modules/lru-cache/dist/esm/index.js +1542 -0
  1510. package/test/node_modules/lru-cache/dist/esm/index.js.map +1 -0
  1511. package/test/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  1512. package/test/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
  1513. package/test/node_modules/lru-cache/dist/esm/package.json +3 -0
  1514. package/test/node_modules/lru-cache/package.json +116 -0
  1515. package/test/node_modules/math-intrinsics/.eslintrc +16 -0
  1516. package/test/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  1517. package/test/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  1518. package/test/node_modules/math-intrinsics/LICENSE +21 -0
  1519. package/test/node_modules/math-intrinsics/README.md +50 -0
  1520. package/test/node_modules/math-intrinsics/abs.d.ts +1 -0
  1521. package/test/node_modules/math-intrinsics/abs.js +4 -0
  1522. package/test/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  1523. package/test/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  1524. package/test/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  1525. package/test/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  1526. package/test/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  1527. package/test/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  1528. package/test/node_modules/math-intrinsics/floor.d.ts +1 -0
  1529. package/test/node_modules/math-intrinsics/floor.js +4 -0
  1530. package/test/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  1531. package/test/node_modules/math-intrinsics/isFinite.js +12 -0
  1532. package/test/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  1533. package/test/node_modules/math-intrinsics/isInteger.js +16 -0
  1534. package/test/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  1535. package/test/node_modules/math-intrinsics/isNaN.js +6 -0
  1536. package/test/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  1537. package/test/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  1538. package/test/node_modules/math-intrinsics/max.d.ts +1 -0
  1539. package/test/node_modules/math-intrinsics/max.js +4 -0
  1540. package/test/node_modules/math-intrinsics/min.d.ts +1 -0
  1541. package/test/node_modules/math-intrinsics/min.js +4 -0
  1542. package/test/node_modules/math-intrinsics/mod.d.ts +3 -0
  1543. package/test/node_modules/math-intrinsics/mod.js +9 -0
  1544. package/test/node_modules/math-intrinsics/package.json +86 -0
  1545. package/test/node_modules/math-intrinsics/pow.d.ts +1 -0
  1546. package/test/node_modules/math-intrinsics/pow.js +4 -0
  1547. package/test/node_modules/math-intrinsics/round.d.ts +1 -0
  1548. package/test/node_modules/math-intrinsics/round.js +4 -0
  1549. package/test/node_modules/math-intrinsics/sign.d.ts +3 -0
  1550. package/test/node_modules/math-intrinsics/sign.js +11 -0
  1551. package/test/node_modules/math-intrinsics/test/index.js +192 -0
  1552. package/test/node_modules/math-intrinsics/tsconfig.json +3 -0
  1553. package/test/node_modules/methods/HISTORY.md +29 -0
  1554. package/test/node_modules/methods/LICENSE +24 -0
  1555. package/test/node_modules/methods/README.md +51 -0
  1556. package/test/node_modules/methods/index.js +69 -0
  1557. package/test/node_modules/methods/package.json +36 -0
  1558. package/test/node_modules/mime/CHANGELOG.md +296 -0
  1559. package/test/node_modules/mime/LICENSE +21 -0
  1560. package/test/node_modules/mime/Mime.js +97 -0
  1561. package/test/node_modules/mime/README.md +187 -0
  1562. package/test/node_modules/mime/cli.js +46 -0
  1563. package/test/node_modules/mime/index.js +4 -0
  1564. package/test/node_modules/mime/lite.js +4 -0
  1565. package/test/node_modules/mime/package.json +52 -0
  1566. package/test/node_modules/mime/types/other.js +1 -0
  1567. package/test/node_modules/mime/types/standard.js +1 -0
  1568. package/test/node_modules/mime-db/HISTORY.md +507 -0
  1569. package/test/node_modules/mime-db/LICENSE +23 -0
  1570. package/test/node_modules/mime-db/README.md +100 -0
  1571. package/test/node_modules/mime-db/db.json +8519 -0
  1572. package/test/node_modules/mime-db/index.js +12 -0
  1573. package/test/node_modules/mime-db/package.json +60 -0
  1574. package/test/node_modules/mime-types/HISTORY.md +397 -0
  1575. package/test/node_modules/mime-types/LICENSE +23 -0
  1576. package/test/node_modules/mime-types/README.md +113 -0
  1577. package/test/node_modules/mime-types/index.js +188 -0
  1578. package/test/node_modules/mime-types/package.json +44 -0
  1579. package/test/node_modules/minimatch/LICENSE +15 -0
  1580. package/test/node_modules/minimatch/README.md +259 -0
  1581. package/test/node_modules/minimatch/lib/path.js +4 -0
  1582. package/test/node_modules/minimatch/minimatch.js +944 -0
  1583. package/test/node_modules/minimatch/package.json +35 -0
  1584. package/test/node_modules/minipass/LICENSE +15 -0
  1585. package/test/node_modules/minipass/README.md +825 -0
  1586. package/test/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
  1587. package/test/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
  1588. package/test/node_modules/minipass/dist/commonjs/index.js +1028 -0
  1589. package/test/node_modules/minipass/dist/commonjs/index.js.map +1 -0
  1590. package/test/node_modules/minipass/dist/commonjs/package.json +3 -0
  1591. package/test/node_modules/minipass/dist/esm/index.d.ts +549 -0
  1592. package/test/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
  1593. package/test/node_modules/minipass/dist/esm/index.js +1018 -0
  1594. package/test/node_modules/minipass/dist/esm/index.js.map +1 -0
  1595. package/test/node_modules/minipass/dist/esm/package.json +3 -0
  1596. package/test/node_modules/minipass/package.json +82 -0
  1597. package/test/node_modules/mocha/LICENSE +22 -0
  1598. package/test/node_modules/mocha/README.md +74 -0
  1599. package/test/node_modules/mocha/bin/_mocha +10 -0
  1600. package/test/node_modules/mocha/bin/mocha.js +142 -0
  1601. package/test/node_modules/mocha/browser-entry.js +226 -0
  1602. package/test/node_modules/mocha/index.js +3 -0
  1603. package/test/node_modules/mocha/lib/browser/highlight-tags.js +39 -0
  1604. package/test/node_modules/mocha/lib/browser/parse-query.js +24 -0
  1605. package/test/node_modules/mocha/lib/browser/template.html +20 -0
  1606. package/test/node_modules/mocha/lib/cli/cli.js +93 -0
  1607. package/test/node_modules/mocha/lib/cli/collect-files.js +137 -0
  1608. package/test/node_modules/mocha/lib/cli/commands.js +14 -0
  1609. package/test/node_modules/mocha/lib/cli/config.js +100 -0
  1610. package/test/node_modules/mocha/lib/cli/index.js +3 -0
  1611. package/test/node_modules/mocha/lib/cli/init.js +36 -0
  1612. package/test/node_modules/mocha/lib/cli/lookup-files.js +155 -0
  1613. package/test/node_modules/mocha/lib/cli/node-flags.js +85 -0
  1614. package/test/node_modules/mocha/lib/cli/one-and-dones.js +69 -0
  1615. package/test/node_modules/mocha/lib/cli/options.js +337 -0
  1616. package/test/node_modules/mocha/lib/cli/run-helpers.js +304 -0
  1617. package/test/node_modules/mocha/lib/cli/run-option-metadata.js +137 -0
  1618. package/test/node_modules/mocha/lib/cli/run.js +380 -0
  1619. package/test/node_modules/mocha/lib/cli/watch-run.js +377 -0
  1620. package/test/node_modules/mocha/lib/context.js +86 -0
  1621. package/test/node_modules/mocha/lib/errors.js +563 -0
  1622. package/test/node_modules/mocha/lib/hook.js +89 -0
  1623. package/test/node_modules/mocha/lib/interfaces/bdd.js +114 -0
  1624. package/test/node_modules/mocha/lib/interfaces/common.js +193 -0
  1625. package/test/node_modules/mocha/lib/interfaces/exports.js +60 -0
  1626. package/test/node_modules/mocha/lib/interfaces/index.js +6 -0
  1627. package/test/node_modules/mocha/lib/interfaces/qunit.js +98 -0
  1628. package/test/node_modules/mocha/lib/interfaces/tdd.js +106 -0
  1629. package/test/node_modules/mocha/lib/mocha.js +1334 -0
  1630. package/test/node_modules/mocha/lib/mocharc.json +10 -0
  1631. package/test/node_modules/mocha/lib/nodejs/buffered-worker-pool.js +188 -0
  1632. package/test/node_modules/mocha/lib/nodejs/esm-utils.js +106 -0
  1633. package/test/node_modules/mocha/lib/nodejs/file-unloader.js +15 -0
  1634. package/test/node_modules/mocha/lib/nodejs/parallel-buffered-runner.js +433 -0
  1635. package/test/node_modules/mocha/lib/nodejs/reporters/parallel-buffered.js +165 -0
  1636. package/test/node_modules/mocha/lib/nodejs/serializer.js +414 -0
  1637. package/test/node_modules/mocha/lib/nodejs/worker.js +151 -0
  1638. package/test/node_modules/mocha/lib/pending.js +16 -0
  1639. package/test/node_modules/mocha/lib/plugin-loader.js +286 -0
  1640. package/test/node_modules/mocha/lib/reporters/base.js +591 -0
  1641. package/test/node_modules/mocha/lib/reporters/doc.js +95 -0
  1642. package/test/node_modules/mocha/lib/reporters/dot.js +81 -0
  1643. package/test/node_modules/mocha/lib/reporters/html.js +420 -0
  1644. package/test/node_modules/mocha/lib/reporters/index.js +19 -0
  1645. package/test/node_modules/mocha/lib/reporters/json-stream.js +92 -0
  1646. package/test/node_modules/mocha/lib/reporters/json.js +162 -0
  1647. package/test/node_modules/mocha/lib/reporters/landing.js +116 -0
  1648. package/test/node_modules/mocha/lib/reporters/list.js +78 -0
  1649. package/test/node_modules/mocha/lib/reporters/markdown.js +112 -0
  1650. package/test/node_modules/mocha/lib/reporters/min.js +52 -0
  1651. package/test/node_modules/mocha/lib/reporters/nyan.js +267 -0
  1652. package/test/node_modules/mocha/lib/reporters/progress.js +104 -0
  1653. package/test/node_modules/mocha/lib/reporters/spec.js +99 -0
  1654. package/test/node_modules/mocha/lib/reporters/tap.js +293 -0
  1655. package/test/node_modules/mocha/lib/reporters/xunit.js +218 -0
  1656. package/test/node_modules/mocha/lib/runnable.js +474 -0
  1657. package/test/node_modules/mocha/lib/runner.js +1267 -0
  1658. package/test/node_modules/mocha/lib/stats-collector.js +83 -0
  1659. package/test/node_modules/mocha/lib/suite.js +666 -0
  1660. package/test/node_modules/mocha/lib/test.js +113 -0
  1661. package/test/node_modules/mocha/lib/utils.js +698 -0
  1662. package/test/node_modules/mocha/mocha.css +455 -0
  1663. package/test/node_modules/mocha/mocha.js +20785 -0
  1664. package/test/node_modules/mocha/mocha.js.map +1 -0
  1665. package/test/node_modules/mocha/package.json +207 -0
  1666. package/test/node_modules/ms/index.js +162 -0
  1667. package/test/node_modules/ms/license.md +21 -0
  1668. package/test/node_modules/ms/package.json +38 -0
  1669. package/test/node_modules/ms/readme.md +59 -0
  1670. package/test/node_modules/node-domexception/.history/README_20210527203617.md +2 -0
  1671. package/test/node_modules/node-domexception/.history/README_20210527212714.md +41 -0
  1672. package/test/node_modules/node-domexception/.history/README_20210527213345.md +36 -0
  1673. package/test/node_modules/node-domexception/.history/README_20210527213411.md +36 -0
  1674. package/test/node_modules/node-domexception/.history/README_20210527213803.md +36 -0
  1675. package/test/node_modules/node-domexception/.history/README_20210527214323.md +38 -0
  1676. package/test/node_modules/node-domexception/.history/README_20210527214408.md +38 -0
  1677. package/test/node_modules/node-domexception/.history/index_20210527203842.js +0 -0
  1678. package/test/node_modules/node-domexception/.history/index_20210527203947.js +8 -0
  1679. package/test/node_modules/node-domexception/.history/index_20210527204259.js +9 -0
  1680. package/test/node_modules/node-domexception/.history/index_20210527204418.js +9 -0
  1681. package/test/node_modules/node-domexception/.history/index_20210527204756.js +11 -0
  1682. package/test/node_modules/node-domexception/.history/index_20210527204833.js +11 -0
  1683. package/test/node_modules/node-domexception/.history/index_20210527211208.js +15 -0
  1684. package/test/node_modules/node-domexception/.history/index_20210527211248.js +15 -0
  1685. package/test/node_modules/node-domexception/.history/index_20210527212722.js +23 -0
  1686. package/test/node_modules/node-domexception/.history/index_20210527212731.js +23 -0
  1687. package/test/node_modules/node-domexception/.history/index_20210527212746.js +15 -0
  1688. package/test/node_modules/node-domexception/.history/index_20210527212900.js +16 -0
  1689. package/test/node_modules/node-domexception/.history/index_20210527213022.js +16 -0
  1690. package/test/node_modules/node-domexception/.history/index_20210527213822.js +16 -0
  1691. package/test/node_modules/node-domexception/.history/index_20210527213843.js +17 -0
  1692. package/test/node_modules/node-domexception/.history/index_20210527213852.js +17 -0
  1693. package/test/node_modules/node-domexception/.history/index_20210527213910.js +16 -0
  1694. package/test/node_modules/node-domexception/.history/index_20210527214034.js +16 -0
  1695. package/test/node_modules/node-domexception/.history/index_20210527214643.js +41 -0
  1696. package/test/node_modules/node-domexception/.history/index_20210527214654.js +41 -0
  1697. package/test/node_modules/node-domexception/.history/index_20210527214700.js +16 -0
  1698. package/test/node_modules/node-domexception/.history/package_20210527203733.json +19 -0
  1699. package/test/node_modules/node-domexception/.history/package_20210527203825.json +16 -0
  1700. package/test/node_modules/node-domexception/.history/package_20210527204621.json +19 -0
  1701. package/test/node_modules/node-domexception/.history/package_20210527204913.json +25 -0
  1702. package/test/node_modules/node-domexception/.history/package_20210527204925.json +25 -0
  1703. package/test/node_modules/node-domexception/.history/package_20210527205145.json +29 -0
  1704. package/test/node_modules/node-domexception/.history/package_20210527205156.json +29 -0
  1705. package/test/node_modules/node-domexception/.history/test_20210527205603.js +0 -0
  1706. package/test/node_modules/node-domexception/.history/test_20210527205957.js +3 -0
  1707. package/test/node_modules/node-domexception/.history/test_20210527210021.js +3 -0
  1708. package/test/node_modules/node-domexception/LICENSE +21 -0
  1709. package/test/node_modules/node-domexception/README.md +46 -0
  1710. package/test/node_modules/node-domexception/index.js +16 -0
  1711. package/test/node_modules/node-domexception/package.json +29 -0
  1712. package/test/node_modules/node-fetch/@types/index.d.ts +219 -0
  1713. package/test/node_modules/node-fetch/LICENSE.md +22 -0
  1714. package/test/node_modules/node-fetch/README.md +872 -0
  1715. package/test/node_modules/node-fetch/package.json +131 -0
  1716. package/test/node_modules/node-fetch/src/body.js +397 -0
  1717. package/test/node_modules/node-fetch/src/errors/abort-error.js +10 -0
  1718. package/test/node_modules/node-fetch/src/errors/base.js +17 -0
  1719. package/test/node_modules/node-fetch/src/errors/fetch-error.js +26 -0
  1720. package/test/node_modules/node-fetch/src/headers.js +267 -0
  1721. package/test/node_modules/node-fetch/src/index.js +417 -0
  1722. package/test/node_modules/node-fetch/src/request.js +313 -0
  1723. package/test/node_modules/node-fetch/src/response.js +160 -0
  1724. package/test/node_modules/node-fetch/src/utils/get-search.js +9 -0
  1725. package/test/node_modules/node-fetch/src/utils/is-redirect.js +11 -0
  1726. package/test/node_modules/node-fetch/src/utils/is.js +87 -0
  1727. package/test/node_modules/node-fetch/src/utils/multipart-parser.js +432 -0
  1728. package/test/node_modules/node-fetch/src/utils/referrer.js +340 -0
  1729. package/test/node_modules/normalize-path/LICENSE +21 -0
  1730. package/test/node_modules/normalize-path/README.md +127 -0
  1731. package/test/node_modules/normalize-path/index.js +35 -0
  1732. package/test/node_modules/normalize-path/package.json +77 -0
  1733. package/test/node_modules/object-inspect/.eslintrc +53 -0
  1734. package/test/node_modules/object-inspect/.github/FUNDING.yml +12 -0
  1735. package/test/node_modules/object-inspect/.nycrc +13 -0
  1736. package/test/node_modules/object-inspect/CHANGELOG.md +424 -0
  1737. package/test/node_modules/object-inspect/LICENSE +21 -0
  1738. package/test/node_modules/object-inspect/example/all.js +23 -0
  1739. package/test/node_modules/object-inspect/example/circular.js +6 -0
  1740. package/test/node_modules/object-inspect/example/fn.js +5 -0
  1741. package/test/node_modules/object-inspect/example/inspect.js +10 -0
  1742. package/test/node_modules/object-inspect/index.js +544 -0
  1743. package/test/node_modules/object-inspect/package-support.json +20 -0
  1744. package/test/node_modules/object-inspect/package.json +105 -0
  1745. package/test/node_modules/object-inspect/readme.markdown +84 -0
  1746. package/test/node_modules/object-inspect/test/bigint.js +58 -0
  1747. package/test/node_modules/object-inspect/test/browser/dom.js +15 -0
  1748. package/test/node_modules/object-inspect/test/circular.js +16 -0
  1749. package/test/node_modules/object-inspect/test/deep.js +12 -0
  1750. package/test/node_modules/object-inspect/test/element.js +53 -0
  1751. package/test/node_modules/object-inspect/test/err.js +48 -0
  1752. package/test/node_modules/object-inspect/test/fakes.js +29 -0
  1753. package/test/node_modules/object-inspect/test/fn.js +76 -0
  1754. package/test/node_modules/object-inspect/test/global.js +17 -0
  1755. package/test/node_modules/object-inspect/test/has.js +15 -0
  1756. package/test/node_modules/object-inspect/test/holes.js +15 -0
  1757. package/test/node_modules/object-inspect/test/indent-option.js +271 -0
  1758. package/test/node_modules/object-inspect/test/inspect.js +139 -0
  1759. package/test/node_modules/object-inspect/test/lowbyte.js +12 -0
  1760. package/test/node_modules/object-inspect/test/number.js +58 -0
  1761. package/test/node_modules/object-inspect/test/quoteStyle.js +26 -0
  1762. package/test/node_modules/object-inspect/test/toStringTag.js +40 -0
  1763. package/test/node_modules/object-inspect/test/undef.js +12 -0
  1764. package/test/node_modules/object-inspect/test/values.js +261 -0
  1765. package/test/node_modules/object-inspect/test-core-js.js +26 -0
  1766. package/test/node_modules/object-inspect/util.inspect.js +1 -0
  1767. package/test/node_modules/once/LICENSE +15 -0
  1768. package/test/node_modules/once/README.md +79 -0
  1769. package/test/node_modules/once/once.js +42 -0
  1770. package/test/node_modules/once/package.json +33 -0
  1771. package/test/node_modules/p-limit/index.d.ts +42 -0
  1772. package/test/node_modules/p-limit/index.js +71 -0
  1773. package/test/node_modules/p-limit/license +9 -0
  1774. package/test/node_modules/p-limit/package.json +52 -0
  1775. package/test/node_modules/p-limit/readme.md +101 -0
  1776. package/test/node_modules/p-locate/index.d.ts +53 -0
  1777. package/test/node_modules/p-locate/index.js +50 -0
  1778. package/test/node_modules/p-locate/license +9 -0
  1779. package/test/node_modules/p-locate/package.json +54 -0
  1780. package/test/node_modules/p-locate/readme.md +93 -0
  1781. package/test/node_modules/package-json-from-dist/LICENSE.md +63 -0
  1782. package/test/node_modules/package-json-from-dist/README.md +110 -0
  1783. package/test/node_modules/package-json-from-dist/dist/commonjs/index.d.ts +89 -0
  1784. package/test/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +1 -0
  1785. package/test/node_modules/package-json-from-dist/dist/commonjs/index.js +134 -0
  1786. package/test/node_modules/package-json-from-dist/dist/commonjs/index.js.map +1 -0
  1787. package/test/node_modules/package-json-from-dist/dist/commonjs/package.json +3 -0
  1788. package/test/node_modules/package-json-from-dist/dist/esm/index.d.ts +89 -0
  1789. package/test/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +1 -0
  1790. package/test/node_modules/package-json-from-dist/dist/esm/index.js +129 -0
  1791. package/test/node_modules/package-json-from-dist/dist/esm/index.js.map +1 -0
  1792. package/test/node_modules/package-json-from-dist/dist/esm/package.json +3 -0
  1793. package/test/node_modules/package-json-from-dist/package.json +68 -0
  1794. package/test/node_modules/path-exists/index.d.ts +28 -0
  1795. package/test/node_modules/path-exists/index.js +23 -0
  1796. package/test/node_modules/path-exists/license +9 -0
  1797. package/test/node_modules/path-exists/package.json +39 -0
  1798. package/test/node_modules/path-exists/readme.md +52 -0
  1799. package/test/node_modules/path-key/index.d.ts +40 -0
  1800. package/test/node_modules/path-key/index.js +16 -0
  1801. package/test/node_modules/path-key/license +9 -0
  1802. package/test/node_modules/path-key/package.json +39 -0
  1803. package/test/node_modules/path-key/readme.md +61 -0
  1804. package/test/node_modules/path-scurry/LICENSE.md +55 -0
  1805. package/test/node_modules/path-scurry/README.md +636 -0
  1806. package/test/node_modules/path-scurry/dist/commonjs/index.d.ts +1116 -0
  1807. package/test/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
  1808. package/test/node_modules/path-scurry/dist/commonjs/index.js +2014 -0
  1809. package/test/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
  1810. package/test/node_modules/path-scurry/dist/commonjs/package.json +3 -0
  1811. package/test/node_modules/path-scurry/dist/esm/index.d.ts +1116 -0
  1812. package/test/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
  1813. package/test/node_modules/path-scurry/dist/esm/index.js +1979 -0
  1814. package/test/node_modules/path-scurry/dist/esm/index.js.map +1 -0
  1815. package/test/node_modules/path-scurry/dist/esm/package.json +3 -0
  1816. package/test/node_modules/path-scurry/package.json +89 -0
  1817. package/test/node_modules/pathval/LICENSE +16 -0
  1818. package/test/node_modules/pathval/README.md +147 -0
  1819. package/test/node_modules/pathval/index.js +292 -0
  1820. package/test/node_modules/pathval/package.json +73 -0
  1821. package/test/node_modules/pathval/pathval.js +1 -0
  1822. package/test/node_modules/picomatch/CHANGELOG.md +136 -0
  1823. package/test/node_modules/picomatch/LICENSE +21 -0
  1824. package/test/node_modules/picomatch/README.md +708 -0
  1825. package/test/node_modules/picomatch/index.js +3 -0
  1826. package/test/node_modules/picomatch/lib/constants.js +179 -0
  1827. package/test/node_modules/picomatch/lib/parse.js +1091 -0
  1828. package/test/node_modules/picomatch/lib/picomatch.js +342 -0
  1829. package/test/node_modules/picomatch/lib/scan.js +391 -0
  1830. package/test/node_modules/picomatch/lib/utils.js +64 -0
  1831. package/test/node_modules/picomatch/package.json +81 -0
  1832. package/test/node_modules/qs/.editorconfig +46 -0
  1833. package/test/node_modules/qs/.eslintrc +39 -0
  1834. package/test/node_modules/qs/.github/FUNDING.yml +12 -0
  1835. package/test/node_modules/qs/.nycrc +13 -0
  1836. package/test/node_modules/qs/CHANGELOG.md +622 -0
  1837. package/test/node_modules/qs/LICENSE.md +29 -0
  1838. package/test/node_modules/qs/README.md +733 -0
  1839. package/test/node_modules/qs/dist/qs.js +141 -0
  1840. package/test/node_modules/qs/lib/formats.js +23 -0
  1841. package/test/node_modules/qs/lib/index.js +11 -0
  1842. package/test/node_modules/qs/lib/parse.js +328 -0
  1843. package/test/node_modules/qs/lib/stringify.js +356 -0
  1844. package/test/node_modules/qs/lib/utils.js +268 -0
  1845. package/test/node_modules/qs/package.json +93 -0
  1846. package/test/node_modules/qs/test/empty-keys-cases.js +267 -0
  1847. package/test/node_modules/qs/test/parse.js +1276 -0
  1848. package/test/node_modules/qs/test/stringify.js +1306 -0
  1849. package/test/node_modules/qs/test/utils.js +262 -0
  1850. package/test/node_modules/randombytes/.travis.yml +15 -0
  1851. package/test/node_modules/randombytes/.zuul.yml +1 -0
  1852. package/test/node_modules/randombytes/LICENSE +21 -0
  1853. package/test/node_modules/randombytes/README.md +14 -0
  1854. package/test/node_modules/randombytes/browser.js +50 -0
  1855. package/test/node_modules/randombytes/index.js +1 -0
  1856. package/test/node_modules/randombytes/package.json +36 -0
  1857. package/test/node_modules/randombytes/test.js +81 -0
  1858. package/test/node_modules/readdirp/LICENSE +21 -0
  1859. package/test/node_modules/readdirp/README.md +122 -0
  1860. package/test/node_modules/readdirp/index.d.ts +43 -0
  1861. package/test/node_modules/readdirp/index.js +287 -0
  1862. package/test/node_modules/readdirp/package.json +122 -0
  1863. package/test/node_modules/require-directory/.jshintrc +67 -0
  1864. package/test/node_modules/require-directory/.travis.yml +3 -0
  1865. package/test/node_modules/require-directory/LICENSE +22 -0
  1866. package/test/node_modules/require-directory/README.markdown +184 -0
  1867. package/test/node_modules/require-directory/index.js +86 -0
  1868. package/test/node_modules/require-directory/package.json +40 -0
  1869. package/test/node_modules/safe-buffer/LICENSE +21 -0
  1870. package/test/node_modules/safe-buffer/README.md +584 -0
  1871. package/test/node_modules/safe-buffer/index.d.ts +187 -0
  1872. package/test/node_modules/safe-buffer/index.js +65 -0
  1873. package/test/node_modules/safe-buffer/package.json +51 -0
  1874. package/test/node_modules/serialize-javascript/LICENSE +27 -0
  1875. package/test/node_modules/serialize-javascript/README.md +143 -0
  1876. package/test/node_modules/serialize-javascript/index.js +268 -0
  1877. package/test/node_modules/serialize-javascript/package.json +36 -0
  1878. package/test/node_modules/sessionless-node/README.md +44 -0
  1879. package/test/node_modules/sessionless-node/package.json +26 -0
  1880. package/test/node_modules/sessionless-node/sessionless.cjs +96 -0
  1881. package/test/node_modules/sessionless-node/sessionless.js +95 -0
  1882. package/test/node_modules/sessionless-node/test/sessionless.js +78 -0
  1883. package/test/node_modules/shebang-command/index.js +19 -0
  1884. package/test/node_modules/shebang-command/license +9 -0
  1885. package/test/node_modules/shebang-command/package.json +34 -0
  1886. package/test/node_modules/shebang-command/readme.md +34 -0
  1887. package/test/node_modules/shebang-regex/index.d.ts +22 -0
  1888. package/test/node_modules/shebang-regex/index.js +2 -0
  1889. package/test/node_modules/shebang-regex/license +9 -0
  1890. package/test/node_modules/shebang-regex/package.json +35 -0
  1891. package/test/node_modules/shebang-regex/readme.md +33 -0
  1892. package/test/node_modules/side-channel/.editorconfig +9 -0
  1893. package/test/node_modules/side-channel/.eslintrc +12 -0
  1894. package/test/node_modules/side-channel/.github/FUNDING.yml +12 -0
  1895. package/test/node_modules/side-channel/.nycrc +13 -0
  1896. package/test/node_modules/side-channel/CHANGELOG.md +110 -0
  1897. package/test/node_modules/side-channel/LICENSE +21 -0
  1898. package/test/node_modules/side-channel/README.md +61 -0
  1899. package/test/node_modules/side-channel/index.d.ts +14 -0
  1900. package/test/node_modules/side-channel/index.js +43 -0
  1901. package/test/node_modules/side-channel/package.json +85 -0
  1902. package/test/node_modules/side-channel/test/index.js +104 -0
  1903. package/test/node_modules/side-channel/tsconfig.json +9 -0
  1904. package/test/node_modules/side-channel-list/.editorconfig +9 -0
  1905. package/test/node_modules/side-channel-list/.eslintrc +11 -0
  1906. package/test/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
  1907. package/test/node_modules/side-channel-list/.nycrc +13 -0
  1908. package/test/node_modules/side-channel-list/CHANGELOG.md +15 -0
  1909. package/test/node_modules/side-channel-list/LICENSE +21 -0
  1910. package/test/node_modules/side-channel-list/README.md +62 -0
  1911. package/test/node_modules/side-channel-list/index.d.ts +13 -0
  1912. package/test/node_modules/side-channel-list/index.js +113 -0
  1913. package/test/node_modules/side-channel-list/list.d.ts +14 -0
  1914. package/test/node_modules/side-channel-list/package.json +77 -0
  1915. package/test/node_modules/side-channel-list/test/index.js +104 -0
  1916. package/test/node_modules/side-channel-list/tsconfig.json +9 -0
  1917. package/test/node_modules/side-channel-map/.editorconfig +9 -0
  1918. package/test/node_modules/side-channel-map/.eslintrc +11 -0
  1919. package/test/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
  1920. package/test/node_modules/side-channel-map/.nycrc +13 -0
  1921. package/test/node_modules/side-channel-map/CHANGELOG.md +22 -0
  1922. package/test/node_modules/side-channel-map/LICENSE +21 -0
  1923. package/test/node_modules/side-channel-map/README.md +62 -0
  1924. package/test/node_modules/side-channel-map/index.d.ts +15 -0
  1925. package/test/node_modules/side-channel-map/index.js +68 -0
  1926. package/test/node_modules/side-channel-map/package.json +80 -0
  1927. package/test/node_modules/side-channel-map/test/index.js +114 -0
  1928. package/test/node_modules/side-channel-map/tsconfig.json +9 -0
  1929. package/test/node_modules/side-channel-weakmap/.editorconfig +9 -0
  1930. package/test/node_modules/side-channel-weakmap/.eslintrc +12 -0
  1931. package/test/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
  1932. package/test/node_modules/side-channel-weakmap/.nycrc +13 -0
  1933. package/test/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
  1934. package/test/node_modules/side-channel-weakmap/LICENSE +21 -0
  1935. package/test/node_modules/side-channel-weakmap/README.md +62 -0
  1936. package/test/node_modules/side-channel-weakmap/index.d.ts +15 -0
  1937. package/test/node_modules/side-channel-weakmap/index.js +84 -0
  1938. package/test/node_modules/side-channel-weakmap/package.json +87 -0
  1939. package/test/node_modules/side-channel-weakmap/test/index.js +114 -0
  1940. package/test/node_modules/side-channel-weakmap/tsconfig.json +9 -0
  1941. package/test/node_modules/signal-exit/LICENSE.txt +16 -0
  1942. package/test/node_modules/signal-exit/README.md +74 -0
  1943. package/test/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
  1944. package/test/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
  1945. package/test/node_modules/signal-exit/dist/cjs/browser.js +10 -0
  1946. package/test/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
  1947. package/test/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
  1948. package/test/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
  1949. package/test/node_modules/signal-exit/dist/cjs/index.js +279 -0
  1950. package/test/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
  1951. package/test/node_modules/signal-exit/dist/cjs/package.json +3 -0
  1952. package/test/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
  1953. package/test/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
  1954. package/test/node_modules/signal-exit/dist/cjs/signals.js +42 -0
  1955. package/test/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
  1956. package/test/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
  1957. package/test/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
  1958. package/test/node_modules/signal-exit/dist/mjs/browser.js +4 -0
  1959. package/test/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
  1960. package/test/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
  1961. package/test/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
  1962. package/test/node_modules/signal-exit/dist/mjs/index.js +275 -0
  1963. package/test/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
  1964. package/test/node_modules/signal-exit/dist/mjs/package.json +3 -0
  1965. package/test/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
  1966. package/test/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
  1967. package/test/node_modules/signal-exit/dist/mjs/signals.js +39 -0
  1968. package/test/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
  1969. package/test/node_modules/signal-exit/package.json +106 -0
  1970. package/test/node_modules/string-width/index.d.ts +29 -0
  1971. package/test/node_modules/string-width/index.js +54 -0
  1972. package/test/node_modules/string-width/license +9 -0
  1973. package/test/node_modules/string-width/package.json +59 -0
  1974. package/test/node_modules/string-width/readme.md +67 -0
  1975. package/test/node_modules/string-width-cjs/index.d.ts +29 -0
  1976. package/test/node_modules/string-width-cjs/index.js +47 -0
  1977. package/test/node_modules/string-width-cjs/license +9 -0
  1978. package/test/node_modules/string-width-cjs/node_modules/ansi-regex/index.d.ts +37 -0
  1979. package/test/node_modules/string-width-cjs/node_modules/ansi-regex/index.js +10 -0
  1980. package/test/node_modules/string-width-cjs/node_modules/ansi-regex/license +9 -0
  1981. package/test/node_modules/string-width-cjs/node_modules/ansi-regex/package.json +55 -0
  1982. package/test/node_modules/string-width-cjs/node_modules/ansi-regex/readme.md +78 -0
  1983. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  1984. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/README.md +73 -0
  1985. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/index.js +6 -0
  1986. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/text.js +6 -0
  1987. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/index.d.ts +23 -0
  1988. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/index.js +6 -0
  1989. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/package.json +50 -0
  1990. package/test/node_modules/string-width-cjs/node_modules/emoji-regex/text.js +6 -0
  1991. package/test/node_modules/string-width-cjs/node_modules/strip-ansi/index.d.ts +17 -0
  1992. package/test/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +4 -0
  1993. package/test/node_modules/string-width-cjs/node_modules/strip-ansi/license +9 -0
  1994. package/test/node_modules/string-width-cjs/node_modules/strip-ansi/package.json +54 -0
  1995. package/test/node_modules/string-width-cjs/node_modules/strip-ansi/readme.md +46 -0
  1996. package/test/node_modules/string-width-cjs/package.json +56 -0
  1997. package/test/node_modules/string-width-cjs/readme.md +50 -0
  1998. package/test/node_modules/strip-ansi/index.d.ts +15 -0
  1999. package/test/node_modules/strip-ansi/index.js +14 -0
  2000. package/test/node_modules/strip-ansi/license +9 -0
  2001. package/test/node_modules/strip-ansi/package.json +57 -0
  2002. package/test/node_modules/strip-ansi/readme.md +41 -0
  2003. package/test/node_modules/strip-ansi-cjs/index.d.ts +17 -0
  2004. package/test/node_modules/strip-ansi-cjs/index.js +4 -0
  2005. package/test/node_modules/strip-ansi-cjs/license +9 -0
  2006. package/test/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.d.ts +37 -0
  2007. package/test/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +10 -0
  2008. package/test/node_modules/strip-ansi-cjs/node_modules/ansi-regex/license +9 -0
  2009. package/test/node_modules/strip-ansi-cjs/node_modules/ansi-regex/package.json +55 -0
  2010. package/test/node_modules/strip-ansi-cjs/node_modules/ansi-regex/readme.md +78 -0
  2011. package/test/node_modules/strip-ansi-cjs/package.json +54 -0
  2012. package/test/node_modules/strip-ansi-cjs/readme.md +46 -0
  2013. package/test/node_modules/strip-json-comments/index.d.ts +36 -0
  2014. package/test/node_modules/strip-json-comments/index.js +77 -0
  2015. package/test/node_modules/strip-json-comments/license +9 -0
  2016. package/test/node_modules/strip-json-comments/package.json +47 -0
  2017. package/test/node_modules/strip-json-comments/readme.md +78 -0
  2018. package/test/node_modules/superagent/LICENSE +22 -0
  2019. package/test/node_modules/superagent/README.md +273 -0
  2020. package/test/node_modules/superagent/dist/superagent.js +3399 -0
  2021. package/test/node_modules/superagent/dist/superagent.min.js +1 -0
  2022. package/test/node_modules/superagent/lib/agent-base.js +28 -0
  2023. package/test/node_modules/superagent/lib/client.js +949 -0
  2024. package/test/node_modules/superagent/lib/node/agent.js +100 -0
  2025. package/test/node_modules/superagent/lib/node/decompress.js +20 -0
  2026. package/test/node_modules/superagent/lib/node/http2wrapper.js +158 -0
  2027. package/test/node_modules/superagent/lib/node/index.js +1318 -0
  2028. package/test/node_modules/superagent/lib/node/parsers/image.js +13 -0
  2029. package/test/node_modules/superagent/lib/node/parsers/index.js +11 -0
  2030. package/test/node_modules/superagent/lib/node/parsers/json.js +25 -0
  2031. package/test/node_modules/superagent/lib/node/parsers/text.js +11 -0
  2032. package/test/node_modules/superagent/lib/node/parsers/urlencoded.js +22 -0
  2033. package/test/node_modules/superagent/lib/node/response.js +143 -0
  2034. package/test/node_modules/superagent/lib/node/unzip.js +74 -0
  2035. package/test/node_modules/superagent/lib/request-base.js +720 -0
  2036. package/test/node_modules/superagent/lib/response-base.js +120 -0
  2037. package/test/node_modules/superagent/lib/utils.js +126 -0
  2038. package/test/node_modules/superagent/package.json +131 -0
  2039. package/test/node_modules/supports-color/browser.js +24 -0
  2040. package/test/node_modules/supports-color/index.js +152 -0
  2041. package/test/node_modules/supports-color/license +9 -0
  2042. package/test/node_modules/supports-color/package.json +58 -0
  2043. package/test/node_modules/supports-color/readme.md +77 -0
  2044. package/test/node_modules/to-regex-range/LICENSE +21 -0
  2045. package/test/node_modules/to-regex-range/README.md +305 -0
  2046. package/test/node_modules/to-regex-range/index.js +288 -0
  2047. package/test/node_modules/to-regex-range/package.json +88 -0
  2048. package/test/node_modules/uuid/CHANGELOG.md +274 -0
  2049. package/test/node_modules/uuid/CONTRIBUTING.md +18 -0
  2050. package/test/node_modules/uuid/LICENSE.md +9 -0
  2051. package/test/node_modules/uuid/README.md +466 -0
  2052. package/test/node_modules/uuid/dist/bin/uuid +2 -0
  2053. package/test/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
  2054. package/test/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
  2055. package/test/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
  2056. package/test/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
  2057. package/test/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
  2058. package/test/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
  2059. package/test/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
  2060. package/test/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
  2061. package/test/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
  2062. package/test/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
  2063. package/test/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
  2064. package/test/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
  2065. package/test/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
  2066. package/test/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
  2067. package/test/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
  2068. package/test/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
  2069. package/test/node_modules/uuid/dist/esm-browser/index.js +9 -0
  2070. package/test/node_modules/uuid/dist/esm-browser/md5.js +215 -0
  2071. package/test/node_modules/uuid/dist/esm-browser/native.js +4 -0
  2072. package/test/node_modules/uuid/dist/esm-browser/nil.js +1 -0
  2073. package/test/node_modules/uuid/dist/esm-browser/parse.js +35 -0
  2074. package/test/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  2075. package/test/node_modules/uuid/dist/esm-browser/rng.js +18 -0
  2076. package/test/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
  2077. package/test/node_modules/uuid/dist/esm-browser/stringify.js +33 -0
  2078. package/test/node_modules/uuid/dist/esm-browser/v1.js +95 -0
  2079. package/test/node_modules/uuid/dist/esm-browser/v3.js +4 -0
  2080. package/test/node_modules/uuid/dist/esm-browser/v35.js +66 -0
  2081. package/test/node_modules/uuid/dist/esm-browser/v4.js +29 -0
  2082. package/test/node_modules/uuid/dist/esm-browser/v5.js +4 -0
  2083. package/test/node_modules/uuid/dist/esm-browser/validate.js +7 -0
  2084. package/test/node_modules/uuid/dist/esm-browser/version.js +11 -0
  2085. package/test/node_modules/uuid/dist/esm-node/index.js +9 -0
  2086. package/test/node_modules/uuid/dist/esm-node/md5.js +13 -0
  2087. package/test/node_modules/uuid/dist/esm-node/native.js +4 -0
  2088. package/test/node_modules/uuid/dist/esm-node/nil.js +1 -0
  2089. package/test/node_modules/uuid/dist/esm-node/parse.js +35 -0
  2090. package/test/node_modules/uuid/dist/esm-node/regex.js +1 -0
  2091. package/test/node_modules/uuid/dist/esm-node/rng.js +12 -0
  2092. package/test/node_modules/uuid/dist/esm-node/sha1.js +13 -0
  2093. package/test/node_modules/uuid/dist/esm-node/stringify.js +33 -0
  2094. package/test/node_modules/uuid/dist/esm-node/v1.js +95 -0
  2095. package/test/node_modules/uuid/dist/esm-node/v3.js +4 -0
  2096. package/test/node_modules/uuid/dist/esm-node/v35.js +66 -0
  2097. package/test/node_modules/uuid/dist/esm-node/v4.js +29 -0
  2098. package/test/node_modules/uuid/dist/esm-node/v5.js +4 -0
  2099. package/test/node_modules/uuid/dist/esm-node/validate.js +7 -0
  2100. package/test/node_modules/uuid/dist/esm-node/version.js +11 -0
  2101. package/test/node_modules/uuid/dist/index.js +79 -0
  2102. package/test/node_modules/uuid/dist/md5-browser.js +223 -0
  2103. package/test/node_modules/uuid/dist/md5.js +23 -0
  2104. package/test/node_modules/uuid/dist/native-browser.js +11 -0
  2105. package/test/node_modules/uuid/dist/native.js +15 -0
  2106. package/test/node_modules/uuid/dist/nil.js +8 -0
  2107. package/test/node_modules/uuid/dist/parse.js +45 -0
  2108. package/test/node_modules/uuid/dist/regex.js +8 -0
  2109. package/test/node_modules/uuid/dist/rng-browser.js +25 -0
  2110. package/test/node_modules/uuid/dist/rng.js +24 -0
  2111. package/test/node_modules/uuid/dist/sha1-browser.js +104 -0
  2112. package/test/node_modules/uuid/dist/sha1.js +23 -0
  2113. package/test/node_modules/uuid/dist/stringify.js +44 -0
  2114. package/test/node_modules/uuid/dist/uuid-bin.js +85 -0
  2115. package/test/node_modules/uuid/dist/v1.js +107 -0
  2116. package/test/node_modules/uuid/dist/v3.js +16 -0
  2117. package/test/node_modules/uuid/dist/v35.js +80 -0
  2118. package/test/node_modules/uuid/dist/v4.js +43 -0
  2119. package/test/node_modules/uuid/dist/v5.js +16 -0
  2120. package/test/node_modules/uuid/dist/validate.js +17 -0
  2121. package/test/node_modules/uuid/dist/version.js +21 -0
  2122. package/test/node_modules/uuid/package.json +135 -0
  2123. package/test/node_modules/uuid/wrapper.mjs +10 -0
  2124. package/test/node_modules/web-streams-polyfill/LICENSE +22 -0
  2125. package/test/node_modules/web-streams-polyfill/README.md +110 -0
  2126. package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.js +4765 -0
  2127. package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.js.map +1 -0
  2128. package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js +9 -0
  2129. package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js.map +1 -0
  2130. package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs +4745 -0
  2131. package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs.map +1 -0
  2132. package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.js +4838 -0
  2133. package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.js.map +1 -0
  2134. package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js +9 -0
  2135. package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js.map +1 -0
  2136. package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs +4818 -0
  2137. package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs.map +1 -0
  2138. package/test/node_modules/web-streams-polyfill/dist/polyfill.js +5011 -0
  2139. package/test/node_modules/web-streams-polyfill/dist/polyfill.js.map +1 -0
  2140. package/test/node_modules/web-streams-polyfill/dist/polyfill.min.js +9 -0
  2141. package/test/node_modules/web-streams-polyfill/dist/polyfill.min.js.map +1 -0
  2142. package/test/node_modules/web-streams-polyfill/dist/polyfill.mjs +4991 -0
  2143. package/test/node_modules/web-streams-polyfill/dist/polyfill.mjs.map +1 -0
  2144. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +4737 -0
  2145. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
  2146. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs +4717 -0
  2147. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs.map +1 -0
  2148. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es6.js +4810 -0
  2149. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es6.js.map +1 -0
  2150. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs +4790 -0
  2151. package/test/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs.map +1 -0
  2152. package/test/node_modules/web-streams-polyfill/dist/ponyfill.js +4983 -0
  2153. package/test/node_modules/web-streams-polyfill/dist/ponyfill.js.map +1 -0
  2154. package/test/node_modules/web-streams-polyfill/dist/ponyfill.mjs +4963 -0
  2155. package/test/node_modules/web-streams-polyfill/dist/ponyfill.mjs.map +1 -0
  2156. package/test/node_modules/web-streams-polyfill/dist/types/polyfill.d.ts +24 -0
  2157. package/test/node_modules/web-streams-polyfill/dist/types/ponyfill.d.ts +780 -0
  2158. package/test/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts +28 -0
  2159. package/test/node_modules/web-streams-polyfill/dist/types/ts3.6/ponyfill.d.ts +821 -0
  2160. package/test/node_modules/web-streams-polyfill/dist/types/tsdoc-metadata.json +11 -0
  2161. package/test/node_modules/web-streams-polyfill/es2018/package.json +14 -0
  2162. package/test/node_modules/web-streams-polyfill/es6/package.json +14 -0
  2163. package/test/node_modules/web-streams-polyfill/package.json +83 -0
  2164. package/test/node_modules/web-streams-polyfill/ponyfill/es2018/package.json +13 -0
  2165. package/test/node_modules/web-streams-polyfill/ponyfill/es6/package.json +13 -0
  2166. package/test/node_modules/web-streams-polyfill/ponyfill/package.json +13 -0
  2167. package/test/node_modules/which/CHANGELOG.md +166 -0
  2168. package/test/node_modules/which/LICENSE +15 -0
  2169. package/test/node_modules/which/README.md +54 -0
  2170. package/test/node_modules/which/bin/node-which +52 -0
  2171. package/test/node_modules/which/package.json +43 -0
  2172. package/test/node_modules/which/which.js +125 -0
  2173. package/test/node_modules/workerpool/HISTORY.md +330 -0
  2174. package/test/node_modules/workerpool/LICENSE +201 -0
  2175. package/test/node_modules/workerpool/README.md +529 -0
  2176. package/test/node_modules/workerpool/dist/worker.js +318 -0
  2177. package/test/node_modules/workerpool/dist/worker.js.map +1 -0
  2178. package/test/node_modules/workerpool/dist/workerpool.js +1645 -0
  2179. package/test/node_modules/workerpool/dist/workerpool.js.map +1 -0
  2180. package/test/node_modules/workerpool/dist/workerpool.min.js +3 -0
  2181. package/test/node_modules/workerpool/dist/workerpool.min.js.LICENSE.txt +24 -0
  2182. package/test/node_modules/workerpool/dist/workerpool.min.js.map +1 -0
  2183. package/test/node_modules/workerpool/package.json +51 -0
  2184. package/test/node_modules/workerpool/src/Pool.js +452 -0
  2185. package/test/node_modules/workerpool/src/Promise.js +279 -0
  2186. package/test/node_modules/workerpool/src/WorkerHandler.js +508 -0
  2187. package/test/node_modules/workerpool/src/debug-port-allocator.js +28 -0
  2188. package/test/node_modules/workerpool/src/environment.js +36 -0
  2189. package/test/node_modules/workerpool/src/generated/embeddedWorker.js +6 -0
  2190. package/test/node_modules/workerpool/src/header.js +24 -0
  2191. package/test/node_modules/workerpool/src/index.js +48 -0
  2192. package/test/node_modules/workerpool/src/requireFoolWebpack.js +8 -0
  2193. package/test/node_modules/workerpool/src/transfer.js +12 -0
  2194. package/test/node_modules/workerpool/src/types.js +31 -0
  2195. package/test/node_modules/workerpool/src/worker.js +263 -0
  2196. package/test/node_modules/wrap-ansi/index.d.ts +41 -0
  2197. package/test/node_modules/wrap-ansi/index.js +214 -0
  2198. package/test/node_modules/wrap-ansi/license +9 -0
  2199. package/test/node_modules/wrap-ansi/node_modules/ansi-styles/index.d.ts +236 -0
  2200. package/test/node_modules/wrap-ansi/node_modules/ansi-styles/index.js +223 -0
  2201. package/test/node_modules/wrap-ansi/node_modules/ansi-styles/license +9 -0
  2202. package/test/node_modules/wrap-ansi/node_modules/ansi-styles/package.json +54 -0
  2203. package/test/node_modules/wrap-ansi/node_modules/ansi-styles/readme.md +173 -0
  2204. package/test/node_modules/wrap-ansi/package.json +69 -0
  2205. package/test/node_modules/wrap-ansi/readme.md +91 -0
  2206. package/test/node_modules/wrap-ansi-cjs/index.js +216 -0
  2207. package/test/node_modules/wrap-ansi-cjs/license +9 -0
  2208. package/test/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.d.ts +37 -0
  2209. package/test/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.js +10 -0
  2210. package/test/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/license +9 -0
  2211. package/test/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/package.json +55 -0
  2212. package/test/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/readme.md +78 -0
  2213. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  2214. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/README.md +73 -0
  2215. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/index.js +6 -0
  2216. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/text.js +6 -0
  2217. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.d.ts +23 -0
  2218. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.js +6 -0
  2219. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/package.json +50 -0
  2220. package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/text.js +6 -0
  2221. package/test/node_modules/wrap-ansi-cjs/node_modules/string-width/index.d.ts +29 -0
  2222. package/test/node_modules/wrap-ansi-cjs/node_modules/string-width/index.js +47 -0
  2223. package/test/node_modules/wrap-ansi-cjs/node_modules/string-width/license +9 -0
  2224. package/test/node_modules/wrap-ansi-cjs/node_modules/string-width/package.json +56 -0
  2225. package/test/node_modules/wrap-ansi-cjs/node_modules/string-width/readme.md +50 -0
  2226. package/test/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.d.ts +17 -0
  2227. package/test/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +4 -0
  2228. package/test/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/license +9 -0
  2229. package/test/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/package.json +54 -0
  2230. package/test/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/readme.md +46 -0
  2231. package/test/node_modules/wrap-ansi-cjs/package.json +62 -0
  2232. package/test/node_modules/wrap-ansi-cjs/readme.md +91 -0
  2233. package/test/node_modules/wrappy/LICENSE +15 -0
  2234. package/test/node_modules/wrappy/README.md +36 -0
  2235. package/test/node_modules/wrappy/package.json +29 -0
  2236. package/test/node_modules/wrappy/wrappy.js +33 -0
  2237. package/test/node_modules/y18n/CHANGELOG.md +100 -0
  2238. package/test/node_modules/y18n/LICENSE +13 -0
  2239. package/test/node_modules/y18n/README.md +127 -0
  2240. package/test/node_modules/y18n/build/index.cjs +203 -0
  2241. package/test/node_modules/y18n/build/lib/cjs.js +6 -0
  2242. package/test/node_modules/y18n/build/lib/index.js +174 -0
  2243. package/test/node_modules/y18n/build/lib/platform-shims/node.js +19 -0
  2244. package/test/node_modules/y18n/index.mjs +8 -0
  2245. package/test/node_modules/y18n/package.json +70 -0
  2246. package/test/node_modules/yargs/LICENSE +21 -0
  2247. package/test/node_modules/yargs/README.md +204 -0
  2248. package/test/node_modules/yargs/browser.d.ts +5 -0
  2249. package/test/node_modules/yargs/browser.mjs +7 -0
  2250. package/test/node_modules/yargs/build/index.cjs +1 -0
  2251. package/test/node_modules/yargs/build/lib/argsert.js +62 -0
  2252. package/test/node_modules/yargs/build/lib/command.js +449 -0
  2253. package/test/node_modules/yargs/build/lib/completion-templates.js +48 -0
  2254. package/test/node_modules/yargs/build/lib/completion.js +243 -0
  2255. package/test/node_modules/yargs/build/lib/middleware.js +88 -0
  2256. package/test/node_modules/yargs/build/lib/parse-command.js +32 -0
  2257. package/test/node_modules/yargs/build/lib/typings/common-types.js +9 -0
  2258. package/test/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
  2259. package/test/node_modules/yargs/build/lib/usage.js +584 -0
  2260. package/test/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
  2261. package/test/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
  2262. package/test/node_modules/yargs/build/lib/utils/levenshtein.js +34 -0
  2263. package/test/node_modules/yargs/build/lib/utils/maybe-async-result.js +17 -0
  2264. package/test/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
  2265. package/test/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
  2266. package/test/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
  2267. package/test/node_modules/yargs/build/lib/utils/which-module.js +10 -0
  2268. package/test/node_modules/yargs/build/lib/validation.js +305 -0
  2269. package/test/node_modules/yargs/build/lib/yargs-factory.js +1512 -0
  2270. package/test/node_modules/yargs/build/lib/yerror.js +9 -0
  2271. package/test/node_modules/yargs/helpers/helpers.mjs +10 -0
  2272. package/test/node_modules/yargs/helpers/index.js +14 -0
  2273. package/test/node_modules/yargs/helpers/package.json +3 -0
  2274. package/test/node_modules/yargs/index.cjs +53 -0
  2275. package/test/node_modules/yargs/index.mjs +8 -0
  2276. package/test/node_modules/yargs/lib/platform-shims/browser.mjs +95 -0
  2277. package/test/node_modules/yargs/lib/platform-shims/esm.mjs +73 -0
  2278. package/test/node_modules/yargs/locales/be.json +46 -0
  2279. package/test/node_modules/yargs/locales/cs.json +51 -0
  2280. package/test/node_modules/yargs/locales/de.json +46 -0
  2281. package/test/node_modules/yargs/locales/en.json +55 -0
  2282. package/test/node_modules/yargs/locales/es.json +46 -0
  2283. package/test/node_modules/yargs/locales/fi.json +49 -0
  2284. package/test/node_modules/yargs/locales/fr.json +53 -0
  2285. package/test/node_modules/yargs/locales/hi.json +49 -0
  2286. package/test/node_modules/yargs/locales/hu.json +46 -0
  2287. package/test/node_modules/yargs/locales/id.json +50 -0
  2288. package/test/node_modules/yargs/locales/it.json +46 -0
  2289. package/test/node_modules/yargs/locales/ja.json +51 -0
  2290. package/test/node_modules/yargs/locales/ko.json +49 -0
  2291. package/test/node_modules/yargs/locales/nb.json +44 -0
  2292. package/test/node_modules/yargs/locales/nl.json +49 -0
  2293. package/test/node_modules/yargs/locales/nn.json +44 -0
  2294. package/test/node_modules/yargs/locales/pirate.json +13 -0
  2295. package/test/node_modules/yargs/locales/pl.json +49 -0
  2296. package/test/node_modules/yargs/locales/pt.json +45 -0
  2297. package/test/node_modules/yargs/locales/pt_BR.json +48 -0
  2298. package/test/node_modules/yargs/locales/ru.json +51 -0
  2299. package/test/node_modules/yargs/locales/th.json +46 -0
  2300. package/test/node_modules/yargs/locales/tr.json +48 -0
  2301. package/test/node_modules/yargs/locales/uk_UA.json +51 -0
  2302. package/test/node_modules/yargs/locales/uz.json +52 -0
  2303. package/test/node_modules/yargs/locales/zh_CN.json +48 -0
  2304. package/test/node_modules/yargs/locales/zh_TW.json +51 -0
  2305. package/test/node_modules/yargs/node_modules/ansi-regex/index.d.ts +37 -0
  2306. package/test/node_modules/yargs/node_modules/ansi-regex/index.js +10 -0
  2307. package/test/node_modules/yargs/node_modules/ansi-regex/license +9 -0
  2308. package/test/node_modules/yargs/node_modules/ansi-regex/package.json +55 -0
  2309. package/test/node_modules/yargs/node_modules/ansi-regex/readme.md +78 -0
  2310. package/test/node_modules/yargs/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  2311. package/test/node_modules/yargs/node_modules/emoji-regex/README.md +73 -0
  2312. package/test/node_modules/yargs/node_modules/emoji-regex/es2015/index.js +6 -0
  2313. package/test/node_modules/yargs/node_modules/emoji-regex/es2015/text.js +6 -0
  2314. package/test/node_modules/yargs/node_modules/emoji-regex/index.d.ts +23 -0
  2315. package/test/node_modules/yargs/node_modules/emoji-regex/index.js +6 -0
  2316. package/test/node_modules/yargs/node_modules/emoji-regex/package.json +50 -0
  2317. package/test/node_modules/yargs/node_modules/emoji-regex/text.js +6 -0
  2318. package/test/node_modules/yargs/node_modules/string-width/index.d.ts +29 -0
  2319. package/test/node_modules/yargs/node_modules/string-width/index.js +47 -0
  2320. package/test/node_modules/yargs/node_modules/string-width/license +9 -0
  2321. package/test/node_modules/yargs/node_modules/string-width/package.json +56 -0
  2322. package/test/node_modules/yargs/node_modules/string-width/readme.md +50 -0
  2323. package/test/node_modules/yargs/node_modules/strip-ansi/index.d.ts +17 -0
  2324. package/test/node_modules/yargs/node_modules/strip-ansi/index.js +4 -0
  2325. package/test/node_modules/yargs/node_modules/strip-ansi/license +9 -0
  2326. package/test/node_modules/yargs/node_modules/strip-ansi/package.json +54 -0
  2327. package/test/node_modules/yargs/node_modules/strip-ansi/readme.md +46 -0
  2328. package/test/node_modules/yargs/package.json +123 -0
  2329. package/test/node_modules/yargs/yargs +9 -0
  2330. package/test/node_modules/yargs/yargs.mjs +10 -0
  2331. package/test/node_modules/yargs-parser/CHANGELOG.md +308 -0
  2332. package/test/node_modules/yargs-parser/LICENSE.txt +14 -0
  2333. package/test/node_modules/yargs-parser/README.md +518 -0
  2334. package/test/node_modules/yargs-parser/browser.js +29 -0
  2335. package/test/node_modules/yargs-parser/build/index.cjs +1050 -0
  2336. package/test/node_modules/yargs-parser/build/lib/index.js +62 -0
  2337. package/test/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
  2338. package/test/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
  2339. package/test/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
  2340. package/test/node_modules/yargs-parser/build/lib/yargs-parser.js +1045 -0
  2341. package/test/node_modules/yargs-parser/package.json +92 -0
  2342. package/test/node_modules/yargs-unparser/CHANGELOG.md +82 -0
  2343. package/test/node_modules/yargs-unparser/LICENSE +21 -0
  2344. package/test/node_modules/yargs-unparser/README.md +86 -0
  2345. package/test/node_modules/yargs-unparser/index.js +166 -0
  2346. package/test/node_modules/yargs-unparser/package.json +49 -0
  2347. package/test/node_modules/yocto-queue/index.d.ts +56 -0
  2348. package/test/node_modules/yocto-queue/index.js +68 -0
  2349. package/test/node_modules/yocto-queue/license +9 -0
  2350. package/test/node_modules/yocto-queue/package.json +43 -0
  2351. package/test/node_modules/yocto-queue/readme.md +64 -0
  2352. package/test/package-lock.json +1997 -0
  2353. package/test/package.json +20 -0
  2354. package/test/test.js +87 -0
@@ -0,0 +1 @@
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,IAAI,CAACC,UAAU,GAAGH,MAAM,CAACC,MAAM,CAACL,OAAO,CAACO,UAAU,IAAI,CAAC,CAAC,CAAC;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AE;EAClC/I,WAAW,GAAGzC,MAAM,CAAC8O,QAAQ;EAC7BrM,YAAY,GAAGzC,MAAM,CAACiP,IAAI;AAC5B;;;;;;UCtQA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;;;ACtBA,IAAI9S,WAAW,GAAGF,mBAAO,CAAC,GAAe,CAAC;;AAE1C;AACA;AACA;AACA;AACA;AACA;AACAwG,YAAY,GAAG,SAAS9C,IAAIA,CAACpD,MAAM,EAAEC,OAAO,EAAE;EAC5C,IAAIF,IAAI,GAAGL,mBAAO,CAAC,GAAQ,CAAC;EAE5B,OAAO,IAAIK,IAAI,CAACC,MAAM,EAAEC,OAAO,CAAC;AAClC,CAAC;;AAED;AACA;AACA;AACA;AACA;AACAiG,cAAc,GAAG,SAASzC,MAAMA,CAACH,OAAO,EAAErD,OAAO,EAAE;EACjD,IAAIwD,MAAM,GAAG/D,mBAAO,CAAC,GAAU,CAAC;EAChC+D,MAAM,CAACkP,GAAG,CAACrP,OAAO,EAAErD,OAAO,CAAC;AAC9B,CAAC;;AAED;AACA;AACA;AACA;AACAiG,kBAAkB,GAAG,SAAS0M,UAAUA,CAAC3D,OAAO,EAAE;EAChD,IAAIxL,MAAM,GAAG/D,mBAAO,CAAC,GAAU,CAAC;EAChC+D,MAAM,CAACiP,IAAI,CAACzD,OAAO,CAAC;AACtB,CAAC;;AAED;AACA;AACA;AACA;AACA/I,0CAAsC;;AAEtC;AACA;AACA;AACA;AACAA,2CAAwC;AAExCA,gBAAgB,GAAGtG,WAAW,CAACmM,QAAQ;AACvC7F,oBAAoB,GAAGtG,WAAW,CAACsR,YAAY;AAC/ChL,YAAY,GAAGtG,WAAW,CAAC0B,IAAI","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":["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":""}
@@ -0,0 +1,3 @@
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
@@ -0,0 +1,24 @@
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
+ */
@@ -0,0 +1 @@
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,EAAQY,cAAgBC,IAC5CrB,KAAKsB,uBAAyBd,EAAQc,wBAA0B,I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AI5O,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":""}
@@ -0,0 +1,51 @@
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
+ }