step-node-agent 3.20.2 → 3.21.0

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 (732) hide show
  1. package/node_modules/aws4/README.md +31 -1
  2. package/node_modules/aws4/aws4.js +10 -2
  3. package/node_modules/aws4/package.json +1 -1
  4. package/node_modules/content-type/HISTORY.md +5 -0
  5. package/node_modules/content-type/README.md +21 -19
  6. package/node_modules/content-type/index.js +12 -9
  7. package/node_modules/content-type/package.json +13 -11
  8. package/node_modules/get-intrinsic/.eslintrc +1 -0
  9. package/node_modules/get-intrinsic/CHANGELOG.md +12 -0
  10. package/node_modules/get-intrinsic/index.js +10 -0
  11. package/node_modules/get-intrinsic/package.json +7 -6
  12. package/node_modules/get-intrinsic/test/GetIntrinsic.js +1 -1
  13. package/node_modules/minimist/.eslintrc +25 -50
  14. package/node_modules/minimist/CHANGELOG.md +87 -1
  15. package/node_modules/minimist/README.md +14 -10
  16. package/node_modules/minimist/example/parse.js +2 -0
  17. package/node_modules/minimist/index.js +256 -242
  18. package/node_modules/minimist/package.json +73 -73
  19. package/node_modules/minimist/test/all_bool.js +26 -24
  20. package/node_modules/minimist/test/bool.js +146 -147
  21. package/node_modules/minimist/test/dash.js +33 -21
  22. package/node_modules/minimist/test/default_bool.js +26 -24
  23. package/node_modules/minimist/test/dotted.js +13 -11
  24. package/node_modules/minimist/test/kv_short.js +26 -10
  25. package/node_modules/minimist/test/long.js +28 -26
  26. package/node_modules/minimist/test/num.js +30 -28
  27. package/node_modules/minimist/test/parse.js +169 -157
  28. package/node_modules/minimist/test/parse_modified.js +7 -5
  29. package/node_modules/minimist/test/proto.js +41 -37
  30. package/node_modules/minimist/test/short.js +57 -55
  31. package/node_modules/minimist/test/stop_early.js +10 -8
  32. package/node_modules/minimist/test/unknown.js +83 -81
  33. package/node_modules/minimist/test/whitespace.js +6 -4
  34. package/node_modules/npm/AUTHORS +6 -0
  35. package/node_modules/npm/CHANGELOG.md +57 -0
  36. package/node_modules/npm/Makefile +6 -8
  37. package/node_modules/npm/docs/config.json +5 -0
  38. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-access.md +4 -8
  39. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-adduser.md +6 -10
  40. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-audit.md +2 -6
  41. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-bin.md +4 -8
  42. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-bugs.md +5 -9
  43. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-build.md +4 -8
  44. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-bundle.md +2 -6
  45. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-cache.md +5 -9
  46. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-ci.md +3 -7
  47. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-completion.md +2 -6
  48. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-config.md +3 -7
  49. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-dedupe.md +4 -8
  50. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-deprecate.md +2 -5
  51. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-dist-tag.md +6 -11
  52. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-docs.md +4 -8
  53. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-doctor.md +4 -8
  54. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-edit.md +4 -8
  55. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-explore.md +6 -10
  56. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-fund.md +5 -9
  57. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-help-search.md +3 -7
  58. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-help.md +4 -8
  59. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-hook.md +1 -5
  60. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-init.md +2 -6
  61. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-install-ci-test.md +3 -7
  62. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-install-test.md +3 -7
  63. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-install.md +13 -17
  64. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-link.md +5 -9
  65. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-logout.md +5 -9
  66. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-ls.md +7 -11
  67. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-org.md +1 -5
  68. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-outdated.md +3 -7
  69. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-owner.md +3 -7
  70. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-pack.md +4 -8
  71. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-ping.md +2 -6
  72. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-prefix.md +5 -9
  73. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-profile.md +2 -5
  74. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-prune.md +3 -6
  75. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-publish.md +15 -18
  76. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-rebuild.md +3 -7
  77. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-repo.md +3 -7
  78. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-restart.md +6 -10
  79. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-root.md +4 -8
  80. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-run-script.md +6 -10
  81. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-search.md +3 -7
  82. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-shrinkwrap.md +4 -8
  83. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-star.md +4 -8
  84. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-stars.md +5 -9
  85. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-start.md +6 -10
  86. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-stop.md +5 -9
  87. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-team.md +2 -6
  88. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-test.md +5 -9
  89. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-token.md +1 -5
  90. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-uninstall.md +4 -8
  91. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-unpublish.md +5 -9
  92. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-update.md +5 -9
  93. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-version.md +3 -7
  94. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-view.md +5 -9
  95. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-whoami.md +3 -6
  96. package/node_modules/npm/docs/content/{cli-commands → commands}/npm.md +6 -10
  97. package/node_modules/npm/docs/content/configuring-npm/folders.md +8 -12
  98. package/node_modules/npm/docs/content/configuring-npm/install.md +1 -5
  99. package/node_modules/npm/docs/content/configuring-npm/npmrc.md +3 -7
  100. package/node_modules/npm/docs/content/configuring-npm/package-json.md +9 -13
  101. package/node_modules/npm/docs/content/configuring-npm/package-lock-json.md +3 -7
  102. package/node_modules/npm/docs/content/configuring-npm/package-locks.md +3 -7
  103. package/node_modules/npm/docs/content/configuring-npm/shrinkwrap-json.md +4 -8
  104. package/node_modules/npm/docs/content/using-npm/config.md +8 -12
  105. package/node_modules/npm/docs/content/using-npm/developers.md +8 -12
  106. package/node_modules/npm/docs/content/using-npm/orgs.md +5 -9
  107. package/node_modules/npm/docs/content/using-npm/registry.md +3 -8
  108. package/node_modules/npm/docs/content/using-npm/removal.md +3 -7
  109. package/node_modules/npm/docs/content/using-npm/scope.md +7 -9
  110. package/node_modules/npm/docs/content/using-npm/scripts.md +7 -11
  111. package/node_modules/npm/docs/content/using-npm/semver.md +1 -4
  112. package/node_modules/npm/docs/dockhand.js +341 -0
  113. package/node_modules/npm/docs/nav.yml +236 -0
  114. package/node_modules/npm/docs/output/commands/npm-access.html +240 -0
  115. package/node_modules/npm/docs/output/commands/npm-adduser.html +220 -0
  116. package/node_modules/npm/docs/output/commands/npm-audit.html +253 -0
  117. package/node_modules/npm/docs/output/commands/npm-bin.html +174 -0
  118. package/node_modules/npm/docs/output/commands/npm-bugs.html +194 -0
  119. package/node_modules/npm/docs/output/commands/npm-build.html +181 -0
  120. package/node_modules/npm/docs/output/commands/npm-bundle.html +170 -0
  121. package/node_modules/npm/docs/output/commands/npm-cache.html +230 -0
  122. package/node_modules/npm/docs/output/commands/npm-ci.html +205 -0
  123. package/node_modules/npm/docs/output/commands/npm-completion.html +185 -0
  124. package/node_modules/npm/docs/output/commands/npm-config.html +213 -0
  125. package/node_modules/npm/docs/output/commands/npm-dedupe.html +203 -0
  126. package/node_modules/npm/docs/output/commands/npm-deprecate.html +181 -0
  127. package/node_modules/npm/docs/output/commands/npm-dist-tag.html +232 -0
  128. package/node_modules/npm/docs/output/commands/npm-docs.html +195 -0
  129. package/node_modules/npm/docs/output/commands/npm-doctor.html +241 -0
  130. package/node_modules/npm/docs/output/commands/npm-edit.html +190 -0
  131. package/node_modules/npm/docs/output/commands/npm-explore.html +190 -0
  132. package/node_modules/npm/docs/output/commands/npm-fund.html +208 -0
  133. package/node_modules/npm/docs/output/commands/npm-help-search.html +185 -0
  134. package/node_modules/npm/docs/output/commands/npm-help.html +187 -0
  135. package/node_modules/npm/docs/output/commands/npm-hook.html +206 -0
  136. package/node_modules/npm/docs/output/commands/npm-init.html +209 -0
  137. package/node_modules/npm/docs/output/commands/npm-install-ci-test.html +173 -0
  138. package/node_modules/npm/docs/output/commands/npm-install-test.html +182 -0
  139. package/node_modules/npm/docs/output/commands/npm-install.html +582 -0
  140. package/node_modules/npm/docs/output/commands/npm-link.html +217 -0
  141. package/node_modules/npm/docs/output/commands/npm-logout.html +190 -0
  142. package/node_modules/npm/docs/output/commands/npm-ls.html +257 -0
  143. package/node_modules/npm/docs/output/commands/npm-org.html +193 -0
  144. package/node_modules/npm/docs/output/commands/npm-outdated.html +260 -0
  145. package/node_modules/npm/docs/output/commands/npm-owner.html +193 -0
  146. package/node_modules/npm/docs/output/commands/npm-pack.html +182 -0
  147. package/node_modules/npm/docs/output/commands/npm-ping.html +177 -0
  148. package/node_modules/npm/docs/output/commands/npm-prefix.html +178 -0
  149. package/node_modules/npm/docs/output/commands/npm-profile.html +235 -0
  150. package/node_modules/npm/docs/output/commands/npm-prune.html +188 -0
  151. package/node_modules/npm/docs/output/commands/npm-publish.html +232 -0
  152. package/node_modules/npm/docs/output/commands/npm-rebuild.html +173 -0
  153. package/node_modules/npm/docs/output/commands/npm-repo.html +181 -0
  154. package/node_modules/npm/docs/output/commands/npm-restart.html +193 -0
  155. package/node_modules/npm/docs/output/commands/npm-root.html +174 -0
  156. package/node_modules/npm/docs/output/commands/npm-run-script.html +226 -0
  157. package/node_modules/npm/docs/output/commands/npm-search.html +248 -0
  158. package/node_modules/npm/docs/output/commands/npm-shrinkwrap.html +181 -0
  159. package/node_modules/npm/docs/output/commands/npm-star.html +176 -0
  160. package/node_modules/npm/docs/output/commands/npm-stars.html +176 -0
  161. package/node_modules/npm/docs/output/commands/npm-start.html +178 -0
  162. package/node_modules/npm/docs/output/commands/npm-stop.html +174 -0
  163. package/node_modules/npm/docs/output/commands/npm-team.html +213 -0
  164. package/node_modules/npm/docs/output/commands/npm-test.html +176 -0
  165. package/node_modules/npm/docs/output/commands/npm-token.html +215 -0
  166. package/node_modules/npm/docs/output/commands/npm-uninstall.html +208 -0
  167. package/node_modules/npm/docs/output/commands/npm-unpublish.html +187 -0
  168. package/node_modules/npm/docs/output/commands/npm-update.html +252 -0
  169. package/node_modules/npm/docs/output/commands/npm-version.html +263 -0
  170. package/node_modules/npm/docs/output/commands/npm-view.html +235 -0
  171. package/node_modules/npm/docs/output/commands/npm-whoami.html +172 -0
  172. package/node_modules/npm/docs/output/commands/npm.html +290 -0
  173. package/node_modules/npm/docs/output/configuring-npm/folders.html +321 -0
  174. package/node_modules/npm/docs/output/configuring-npm/install.html +203 -0
  175. package/node_modules/npm/docs/output/configuring-npm/npmrc.html +227 -0
  176. package/node_modules/npm/docs/output/configuring-npm/package-json.html +827 -0
  177. package/node_modules/npm/docs/output/configuring-npm/package-lock-json.html +273 -0
  178. package/node_modules/npm/docs/output/configuring-npm/package-locks.html +310 -0
  179. package/node_modules/npm/docs/output/configuring-npm/shrinkwrap-json.html +181 -0
  180. package/node_modules/npm/docs/output/using-npm/config.html +1248 -0
  181. package/node_modules/npm/docs/output/using-npm/developers.html +356 -0
  182. package/node_modules/npm/docs/output/using-npm/orgs.html +236 -0
  183. package/node_modules/npm/docs/output/using-npm/registry.html +234 -0
  184. package/node_modules/npm/docs/output/using-npm/removal.html +200 -0
  185. package/node_modules/npm/docs/output/using-npm/scope.html +244 -0
  186. package/node_modules/npm/docs/output/using-npm/scripts.html +410 -0
  187. package/node_modules/npm/docs/output/using-npm/semver.html +521 -0
  188. package/node_modules/npm/docs/template.html +161 -0
  189. package/node_modules/npm/lib/help.js +2 -2
  190. package/node_modules/npm/man/man1/npm-README.1 +1 -1
  191. package/node_modules/npm/man/man1/npm-access.1 +1 -1
  192. package/node_modules/npm/man/man1/npm-adduser.1 +1 -7
  193. package/node_modules/npm/man/man1/npm-audit.1 +1 -1
  194. package/node_modules/npm/man/man1/npm-bin.1 +1 -1
  195. package/node_modules/npm/man/man1/npm-bugs.1 +1 -1
  196. package/node_modules/npm/man/man1/npm-build.1 +2 -2
  197. package/node_modules/npm/man/man1/npm-bundle.1 +1 -1
  198. package/node_modules/npm/man/man1/npm-cache.1 +1 -1
  199. package/node_modules/npm/man/man1/npm-ci.1 +1 -1
  200. package/node_modules/npm/man/man1/npm-completion.1 +1 -1
  201. package/node_modules/npm/man/man1/npm-config.1 +1 -1
  202. package/node_modules/npm/man/man1/npm-dedupe.1 +1 -1
  203. package/node_modules/npm/man/man1/npm-deprecate.1 +1 -1
  204. package/node_modules/npm/man/man1/npm-dist-tag.1 +1 -7
  205. package/node_modules/npm/man/man1/npm-docs.1 +1 -1
  206. package/node_modules/npm/man/man1/npm-doctor.1 +1 -1
  207. package/node_modules/npm/man/man1/npm-edit.1 +1 -1
  208. package/node_modules/npm/man/man1/npm-explore.1 +1 -7
  209. package/node_modules/npm/man/man1/npm-fund.1 +1 -1
  210. package/node_modules/npm/man/man1/npm-help-search.1 +1 -1
  211. package/node_modules/npm/man/man1/npm-help.1 +1 -1
  212. package/node_modules/npm/man/man1/npm-hook.1 +1 -1
  213. package/node_modules/npm/man/man1/npm-init.1 +1 -1
  214. package/node_modules/npm/man/man1/npm-install-ci-test.1 +2 -2
  215. package/node_modules/npm/man/man1/npm-install-test.1 +2 -2
  216. package/node_modules/npm/man/man1/npm-install.1 +1 -1
  217. package/node_modules/npm/man/man1/npm-link.1 +1 -1
  218. package/node_modules/npm/man/man1/npm-logout.1 +1 -1
  219. package/node_modules/npm/man/man1/npm-ls.1 +2 -2
  220. package/node_modules/npm/man/man1/npm-org.1 +1 -1
  221. package/node_modules/npm/man/man1/npm-outdated.1 +1 -1
  222. package/node_modules/npm/man/man1/npm-owner.1 +1 -3
  223. package/node_modules/npm/man/man1/npm-pack.1 +1 -1
  224. package/node_modules/npm/man/man1/npm-ping.1 +1 -1
  225. package/node_modules/npm/man/man1/npm-prefix.1 +1 -1
  226. package/node_modules/npm/man/man1/npm-profile.1 +1 -1
  227. package/node_modules/npm/man/man1/npm-prune.1 +1 -1
  228. package/node_modules/npm/man/man1/npm-publish.1 +5 -5
  229. package/node_modules/npm/man/man1/npm-rebuild.1 +1 -1
  230. package/node_modules/npm/man/man1/npm-repo.1 +1 -1
  231. package/node_modules/npm/man/man1/npm-restart.1 +1 -1
  232. package/node_modules/npm/man/man1/npm-root.1 +1 -1
  233. package/node_modules/npm/man/man1/npm-run-script.1 +1 -1
  234. package/node_modules/npm/man/man1/npm-search.1 +1 -1
  235. package/node_modules/npm/man/man1/npm-shrinkwrap.1 +1 -1
  236. package/node_modules/npm/man/man1/npm-star.1 +1 -1
  237. package/node_modules/npm/man/man1/npm-stars.1 +1 -1
  238. package/node_modules/npm/man/man1/npm-start.1 +1 -1
  239. package/node_modules/npm/man/man1/npm-stop.1 +1 -1
  240. package/node_modules/npm/man/man1/npm-team.1 +1 -1
  241. package/node_modules/npm/man/man1/npm-test.1 +1 -1
  242. package/node_modules/npm/man/man1/npm-token.1 +1 -1
  243. package/node_modules/npm/man/man1/npm-uninstall.1 +1 -1
  244. package/node_modules/npm/man/man1/npm-unpublish.1 +1 -1
  245. package/node_modules/npm/man/man1/npm-update.1 +1 -1
  246. package/node_modules/npm/man/man1/npm-version.1 +1 -1
  247. package/node_modules/npm/man/man1/npm-view.1 +1 -1
  248. package/node_modules/npm/man/man1/npm-whoami.1 +1 -1
  249. package/node_modules/npm/man/man1/npm.1 +2 -2
  250. package/node_modules/npm/man/man5/folders.5 +1 -1
  251. package/node_modules/npm/man/man5/install.5 +2 -2
  252. package/node_modules/npm/man/man5/npmrc.5 +1 -1
  253. package/node_modules/npm/man/man5/package-json.5 +1 -1
  254. package/node_modules/npm/man/man5/package-lock-json.5 +1 -1
  255. package/node_modules/npm/man/man5/package-locks.5 +1 -1
  256. package/node_modules/npm/man/man5/shrinkwrap-json.5 +2 -2
  257. package/node_modules/npm/man/man7/config.7 +1 -1
  258. package/node_modules/npm/man/man7/developers.7 +1 -1
  259. package/node_modules/npm/man/man7/orgs.7 +1 -1
  260. package/node_modules/npm/man/man7/registry.7 +1 -3
  261. package/node_modules/npm/man/man7/removal.7 +1 -1
  262. package/node_modules/npm/man/man7/scope.7 +3 -2
  263. package/node_modules/npm/man/man7/scripts.7 +1 -1
  264. package/node_modules/npm/man/man7/semver.7 +1 -1
  265. package/node_modules/npm/node_modules/@iarna/cli/LICENSE +14 -0
  266. package/node_modules/npm/node_modules/@iarna/cli/README.md +152 -0
  267. package/node_modules/npm/node_modules/@iarna/cli/app.js +109 -0
  268. package/node_modules/npm/node_modules/@iarna/cli/package.json +35 -0
  269. package/node_modules/npm/{docs → node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/safe-buffer}/LICENSE +5 -6
  270. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  271. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  272. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  273. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  274. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  275. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  276. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  277. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  278. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  279. package/node_modules/npm/node_modules/asn1/Jenkinsfile +65 -0
  280. package/node_modules/npm/node_modules/asn1/package.json +2 -2
  281. package/node_modules/npm/node_modules/aws4/.github/FUNDING.yml +3 -0
  282. package/node_modules/npm/node_modules/aws4/.travis.yml +5 -1
  283. package/node_modules/npm/node_modules/aws4/README.md +50 -390
  284. package/node_modules/npm/node_modules/aws4/aws4.js +63 -22
  285. package/node_modules/npm/node_modules/aws4/package.json +9 -63
  286. package/node_modules/npm/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  287. package/node_modules/npm/node_modules/balanced-match/README.md +6 -0
  288. package/node_modules/npm/node_modules/balanced-match/index.js +3 -0
  289. package/node_modules/npm/node_modules/balanced-match/package.json +3 -4
  290. package/node_modules/npm/node_modules/bluebird/README.md +1 -1
  291. package/node_modules/npm/node_modules/bluebird/js/browser/bluebird.core.js +210 -120
  292. package/node_modules/npm/node_modules/bluebird/js/browser/bluebird.core.min.js +3 -3
  293. package/node_modules/npm/node_modules/bluebird/js/browser/bluebird.js +240 -128
  294. package/node_modules/npm/node_modules/bluebird/js/browser/bluebird.min.js +4 -4
  295. package/node_modules/npm/node_modules/bluebird/js/release/async.js +3 -48
  296. package/node_modules/npm/node_modules/bluebird/js/release/debuggability.js +102 -27
  297. package/node_modules/npm/node_modules/bluebird/js/release/join.js +4 -7
  298. package/node_modules/npm/node_modules/bluebird/js/release/map.js +10 -3
  299. package/node_modules/npm/node_modules/bluebird/js/release/promise.js +58 -28
  300. package/node_modules/npm/node_modules/bluebird/js/release/promise_array.js +1 -0
  301. package/node_modules/npm/node_modules/bluebird/js/release/reduce.js +16 -5
  302. package/node_modules/npm/node_modules/bluebird/js/release/settle.js +4 -0
  303. package/node_modules/npm/node_modules/bluebird/js/release/util.js +39 -7
  304. package/node_modules/npm/node_modules/bluebird/package.json +1 -1
  305. package/node_modules/npm/node_modules/cacache/CHANGELOG.md +4 -0
  306. package/node_modules/npm/node_modules/cacache/package.json +6 -7
  307. package/node_modules/npm/node_modules/combined-stream/lib/combined_stream.js +21 -2
  308. package/node_modules/npm/node_modules/combined-stream/package.json +1 -1
  309. package/node_modules/npm/node_modules/combined-stream/yarn.lock +17 -0
  310. package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  311. package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  312. package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  313. package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  314. package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  315. package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  316. package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  317. package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  318. package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  319. package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  320. package/node_modules/npm/node_modules/config-chain/package.json +5 -7
  321. package/node_modules/npm/node_modules/decode-uri-component/index.js +4 -4
  322. package/node_modules/npm/node_modules/decode-uri-component/license +4 -16
  323. package/node_modules/npm/node_modules/decode-uri-component/package.json +35 -35
  324. package/node_modules/npm/node_modules/decode-uri-component/readme.md +14 -1
  325. package/node_modules/npm/node_modules/dezalgo/package.json +12 -8
  326. package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  327. package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  328. package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  329. package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  330. package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  331. package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  332. package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  333. package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  334. package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  335. package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  336. package/node_modules/npm/node_modules/env-paths/index.d.ts +32 -0
  337. package/node_modules/npm/node_modules/env-paths/package.json +1 -1
  338. package/node_modules/npm/node_modules/env-paths/readme.md +44 -5
  339. package/node_modules/npm/node_modules/figgy-pudding/CHANGELOG.md +38 -33
  340. package/node_modules/npm/node_modules/figgy-pudding/README.md +10 -2
  341. package/node_modules/npm/node_modules/figgy-pudding/package.json +4 -8
  342. package/node_modules/npm/node_modules/filter-obj/index.js +17 -0
  343. package/node_modules/npm/node_modules/filter-obj/license +21 -0
  344. package/node_modules/npm/node_modules/filter-obj/package.json +37 -0
  345. package/node_modules/npm/node_modules/filter-obj/readme.md +41 -0
  346. package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  347. package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  348. package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  349. package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  350. package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  351. package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  352. package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  353. package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  354. package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  355. package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  356. package/node_modules/npm/node_modules/form-data/README.md +4 -4
  357. package/node_modules/npm/node_modules/form-data/package.json +2 -2
  358. package/node_modules/npm/node_modules/form-data/yarn.lock +2662 -0
  359. package/node_modules/npm/node_modules/from2/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  360. package/node_modules/npm/node_modules/from2/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  361. package/node_modules/npm/node_modules/from2/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  362. package/node_modules/npm/node_modules/from2/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  363. package/node_modules/npm/node_modules/from2/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  364. package/node_modules/npm/node_modules/from2/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  365. package/node_modules/npm/node_modules/from2/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  366. package/node_modules/npm/node_modules/from2/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  367. package/node_modules/npm/node_modules/from2/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  368. package/node_modules/npm/node_modules/from2/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  369. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  370. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  371. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  372. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  373. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  374. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  375. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  376. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  377. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  378. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  379. package/node_modules/npm/node_modules/glob/README.md +4 -1
  380. package/node_modules/npm/node_modules/glob/common.js +6 -8
  381. package/node_modules/npm/node_modules/glob/glob.js +8 -8
  382. package/node_modules/npm/node_modules/glob/node_modules/minimatch/LICENSE +15 -0
  383. package/node_modules/npm/node_modules/glob/node_modules/minimatch/README.md +230 -0
  384. package/node_modules/npm/node_modules/glob/node_modules/minimatch/minimatch.js +947 -0
  385. package/node_modules/npm/node_modules/glob/node_modules/minimatch/package.json +33 -0
  386. package/node_modules/npm/node_modules/glob/package.json +13 -4
  387. package/node_modules/npm/node_modules/glob/sync.js +10 -10
  388. package/node_modules/npm/node_modules/graceful-fs/LICENSE +1 -1
  389. package/node_modules/npm/node_modules/graceful-fs/README.md +11 -1
  390. package/node_modules/npm/node_modules/graceful-fs/clone.js +5 -1
  391. package/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +132 -38
  392. package/node_modules/npm/node_modules/graceful-fs/package.json +4 -4
  393. package/node_modules/npm/node_modules/graceful-fs/polyfills.js +48 -35
  394. package/node_modules/npm/node_modules/is-cidr/README.md +6 -10
  395. package/node_modules/npm/node_modules/is-cidr/index.d.ts +31 -0
  396. package/node_modules/npm/node_modules/is-cidr/index.js +1 -0
  397. package/node_modules/npm/node_modules/is-cidr/package.json +12 -6
  398. package/node_modules/npm/node_modules/json-parse-even-better-errors/CHANGELOG.md +50 -0
  399. package/node_modules/npm/node_modules/json-parse-even-better-errors/LICENSE.md +25 -0
  400. package/node_modules/npm/node_modules/json-parse-even-better-errors/README.md +96 -0
  401. package/node_modules/npm/node_modules/json-parse-even-better-errors/index.js +121 -0
  402. package/node_modules/npm/node_modules/json-parse-even-better-errors/package.json +33 -0
  403. package/node_modules/npm/node_modules/lock-verify/README.md +8 -0
  404. package/node_modules/npm/node_modules/lock-verify/cli.js +17 -0
  405. package/node_modules/npm/node_modules/lock-verify/package.json +8 -12
  406. package/node_modules/npm/node_modules/meant/CHANGELOG.md +7 -0
  407. package/node_modules/npm/node_modules/meant/package.json +4 -1
  408. package/node_modules/npm/node_modules/minimatch/README.md +22 -1
  409. package/node_modules/npm/node_modules/minimatch/minimatch.js +93 -69
  410. package/node_modules/npm/node_modules/minimatch/package.json +6 -3
  411. package/node_modules/npm/node_modules/mkdirp/index.js +5 -2
  412. package/node_modules/npm/node_modules/mkdirp/package.json +3 -4
  413. package/node_modules/npm/node_modules/node-gyp/.github/ISSUE_TEMPLATE.md +27 -5
  414. package/node_modules/npm/node_modules/node-gyp/.github/workflows/Python_tests.yml +1 -1
  415. package/node_modules/npm/node_modules/node-gyp/CHANGELOG.md +14 -0
  416. package/node_modules/npm/node_modules/node-gyp/CONTRIBUTING.md +1 -1
  417. package/node_modules/npm/node_modules/node-gyp/README.md +3 -3
  418. package/node_modules/npm/node_modules/node-gyp/addon.gypi +22 -1
  419. package/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +2 -3
  420. package/node_modules/npm/node_modules/node-gyp/macOS_Catalina.md +14 -12
  421. package/node_modules/npm/node_modules/node-gyp/package.json +1 -1
  422. package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  423. package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  424. package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  425. package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  426. package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  427. package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  428. package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  429. package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  430. package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  431. package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  432. package/node_modules/npm/node_modules/psl/.env +0 -0
  433. package/node_modules/npm/node_modules/psl/LICENSE +9 -0
  434. package/node_modules/npm/node_modules/psl/README.md +4 -6
  435. package/node_modules/npm/node_modules/psl/browserstack-logo.svg +90 -0
  436. package/node_modules/npm/node_modules/psl/data/rules.json +9376 -1
  437. package/node_modules/npm/node_modules/psl/dist/psl.js +9378 -3
  438. package/node_modules/npm/node_modules/psl/dist/psl.min.js +1 -1
  439. package/node_modules/npm/node_modules/psl/package.json +24 -23
  440. package/node_modules/npm/node_modules/qs/.editorconfig +14 -1
  441. package/node_modules/npm/node_modules/qs/.eslintrc +21 -3
  442. package/node_modules/npm/node_modules/qs/.github/FUNDING.yml +12 -0
  443. package/node_modules/npm/node_modules/qs/.nycrc +13 -0
  444. package/node_modules/npm/node_modules/qs/CHANGELOG.md +24 -0
  445. package/node_modules/npm/node_modules/qs/LICENSE.md +29 -0
  446. package/node_modules/npm/node_modules/qs/README.md +54 -19
  447. package/node_modules/npm/node_modules/qs/bower.json +21 -0
  448. package/node_modules/npm/node_modules/qs/component.json +15 -0
  449. package/node_modules/npm/node_modules/qs/dist/qs.js +35 -25
  450. package/node_modules/npm/node_modules/qs/lib/formats.js +1 -1
  451. package/node_modules/npm/node_modules/qs/lib/parse.js +6 -5
  452. package/node_modules/npm/node_modules/qs/lib/stringify.js +21 -14
  453. package/node_modules/npm/node_modules/qs/lib/utils.js +7 -5
  454. package/node_modules/npm/node_modules/qs/package.json +18 -16
  455. package/node_modules/npm/node_modules/qs/test/parse.js +79 -4
  456. package/node_modules/npm/node_modules/qs/test/stringify.js +45 -0
  457. package/node_modules/npm/node_modules/qs/test/utils.js +31 -0
  458. package/node_modules/npm/node_modules/query-string/index.d.ts +290 -9
  459. package/node_modules/npm/node_modules/query-string/index.js +154 -28
  460. package/node_modules/npm/node_modules/query-string/license +1 -1
  461. package/node_modules/npm/node_modules/query-string/package.json +9 -4
  462. package/node_modules/npm/node_modules/query-string/readme.md +275 -26
  463. package/node_modules/npm/node_modules/qw/LICENSE +0 -0
  464. package/node_modules/npm/node_modules/qw/README.md +0 -0
  465. package/node_modules/npm/node_modules/qw/package.json +1 -1
  466. package/node_modules/npm/node_modules/qw/qw.js +1 -0
  467. package/node_modules/npm/node_modules/read-package-json/CHANGELOG.md +10 -0
  468. package/node_modules/npm/node_modules/read-package-json/package.json +3 -6
  469. package/node_modules/npm/node_modules/read-package-json/read-json.js +2 -7
  470. package/node_modules/npm/node_modules/request/CHANGELOG.md +8 -0
  471. package/node_modules/npm/node_modules/request/README.md +81 -45
  472. package/node_modules/npm/node_modules/request/index.js +1 -1
  473. package/node_modules/npm/node_modules/request/lib/auth.js +1 -1
  474. package/node_modules/npm/node_modules/request/lib/getProxyFromURI.js +1 -1
  475. package/node_modules/npm/node_modules/request/lib/har.js +1 -1
  476. package/node_modules/npm/node_modules/request/package.json +6 -6
  477. package/node_modules/npm/node_modules/request/request.js +13 -11
  478. package/node_modules/npm/node_modules/safe-buffer/index.js +3 -0
  479. package/node_modules/npm/node_modules/safe-buffer/package.json +18 -4
  480. package/node_modules/npm/node_modules/sshpk/Jenkinsfile +86 -0
  481. package/node_modules/npm/node_modules/sshpk/README.md +116 -10
  482. package/node_modules/npm/node_modules/sshpk/bin/sshpk-conv +73 -32
  483. package/node_modules/npm/node_modules/sshpk/lib/certificate.js +33 -1
  484. package/node_modules/npm/node_modules/sshpk/lib/dhe.js +4 -21
  485. package/node_modules/npm/node_modules/sshpk/lib/ed-compat.js +1 -7
  486. package/node_modules/npm/node_modules/sshpk/lib/fingerprint.js +69 -11
  487. package/node_modules/npm/node_modules/sshpk/lib/formats/auto.js +18 -1
  488. package/node_modules/npm/node_modules/sshpk/lib/formats/openssh-cert.js +37 -8
  489. package/node_modules/npm/node_modules/sshpk/lib/formats/pem.js +107 -9
  490. package/node_modules/npm/node_modules/sshpk/lib/formats/pkcs8.js +23 -4
  491. package/node_modules/npm/node_modules/sshpk/lib/formats/putty.js +194 -0
  492. package/node_modules/npm/node_modules/sshpk/lib/formats/x509-pem.js +14 -4
  493. package/node_modules/npm/node_modules/sshpk/lib/formats/x509.js +28 -5
  494. package/node_modules/npm/node_modules/sshpk/lib/identity.js +87 -3
  495. package/node_modules/npm/node_modules/sshpk/lib/index.js +1 -0
  496. package/node_modules/npm/node_modules/sshpk/lib/key.js +30 -11
  497. package/node_modules/npm/node_modules/sshpk/lib/private-key.js +11 -17
  498. package/node_modules/npm/node_modules/sshpk/lib/utils.js +48 -33
  499. package/node_modules/npm/node_modules/sshpk/package.json +5 -5
  500. package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  501. package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  502. package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  503. package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  504. package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  505. package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  506. package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  507. package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  508. package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  509. package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  510. package/node_modules/npm/node_modules/through2/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  511. package/node_modules/npm/node_modules/through2/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  512. package/node_modules/npm/node_modules/through2/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  513. package/node_modules/npm/node_modules/through2/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  514. package/node_modules/npm/node_modules/through2/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  515. package/node_modules/npm/node_modules/through2/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  516. package/node_modules/npm/node_modules/through2/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  517. package/node_modules/npm/node_modules/through2/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  518. package/node_modules/npm/node_modules/through2/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  519. package/node_modules/npm/node_modules/through2/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  520. package/node_modules/npm/node_modules/tough-cookie/README.md +24 -4
  521. package/node_modules/npm/node_modules/tough-cookie/lib/cookie.js +54 -3
  522. package/node_modules/npm/node_modules/tough-cookie/lib/memstore.js +5 -0
  523. package/node_modules/npm/node_modules/tough-cookie/lib/store.js +4 -0
  524. package/node_modules/npm/node_modules/tough-cookie/lib/version.js +2 -0
  525. package/node_modules/npm/node_modules/{punycode → tough-cookie/node_modules/punycode}/LICENSE-MIT.txt +0 -0
  526. package/node_modules/npm/node_modules/{punycode → tough-cookie/node_modules/punycode}/README.md +9 -63
  527. package/node_modules/npm/node_modules/tough-cookie/node_modules/punycode/package.json +58 -0
  528. package/node_modules/npm/node_modules/tough-cookie/node_modules/punycode/punycode.es6.js +441 -0
  529. package/node_modules/npm/node_modules/tough-cookie/node_modules/punycode/punycode.js +440 -0
  530. package/node_modules/npm/node_modules/tough-cookie/package.json +6 -4
  531. package/node_modules/npm/node_modules/uri-js/README.md +3 -1
  532. package/node_modules/npm/node_modules/uri-js/dist/es5/uri.all.js +1 -1
  533. package/node_modules/npm/node_modules/uri-js/dist/es5/uri.all.min.js +1 -1
  534. package/node_modules/npm/node_modules/uri-js/package.json +2 -2
  535. package/node_modules/npm/node_modules/uri-js/yarn.lock +1263 -628
  536. package/node_modules/npm/node_modules/uuid/CHANGELOG.md +25 -18
  537. package/node_modules/npm/node_modules/uuid/README.md +27 -44
  538. package/node_modules/npm/node_modules/uuid/lib/bytesToUuid.js +10 -8
  539. package/node_modules/npm/node_modules/uuid/package.json +13 -8
  540. package/node_modules/npm/node_modules/uuid/v1.js +1 -1
  541. package/node_modules/npm/package.json +27 -23
  542. package/node_modules/npm/scripts/docs-build.js +15 -3
  543. package/node_modules/object-inspect/CHANGELOG.md +10 -0
  544. package/node_modules/object-inspect/index.js +10 -6
  545. package/node_modules/object-inspect/package.json +10 -7
  546. package/node_modules/punycode/README.md +7 -3
  547. package/node_modules/punycode/package.json +5 -5
  548. package/node_modules/punycode/punycode.es6.js +24 -21
  549. package/node_modules/punycode/punycode.js +24 -21
  550. package/package.json +1 -1
  551. package/node_modules/npm/.eslintrc +0 -3
  552. package/node_modules/npm/docs/content/using-npm/disputes.md +0 -137
  553. package/node_modules/npm/docs/gatsby-browser.js +0 -8
  554. package/node_modules/npm/docs/gatsby-config.js +0 -88
  555. package/node_modules/npm/docs/gatsby-node.js +0 -43
  556. package/node_modules/npm/docs/gatsby-ssr.js +0 -6
  557. package/node_modules/npm/docs/package-lock.json +0 -18301
  558. package/node_modules/npm/docs/package.json +0 -45
  559. package/node_modules/npm/docs/public/cli-commands/npm/index.html +0 -213
  560. package/node_modules/npm/docs/public/cli-commands/npm-access/index.html +0 -151
  561. package/node_modules/npm/docs/public/cli-commands/npm-adduser/index.html +0 -146
  562. package/node_modules/npm/docs/public/cli-commands/npm-audit/index.html +0 -168
  563. package/node_modules/npm/docs/public/cli-commands/npm-bin/index.html +0 -97
  564. package/node_modules/npm/docs/public/cli-commands/npm-bugs/index.html +0 -117
  565. package/node_modules/npm/docs/public/cli-commands/npm-build/index.html +0 -103
  566. package/node_modules/npm/docs/public/cli-commands/npm-bundle/index.html +0 -94
  567. package/node_modules/npm/docs/public/cli-commands/npm-cache/index.html +0 -148
  568. package/node_modules/npm/docs/public/cli-commands/npm-ci/index.html +0 -125
  569. package/node_modules/npm/docs/public/cli-commands/npm-completion/index.html +0 -107
  570. package/node_modules/npm/docs/public/cli-commands/npm-config/index.html +0 -131
  571. package/node_modules/npm/docs/public/cli-commands/npm-dedupe/index.html +0 -124
  572. package/node_modules/npm/docs/public/cli-commands/npm-deprecate/index.html +0 -103
  573. package/node_modules/npm/docs/public/cli-commands/npm-dist-tag/index.html +0 -152
  574. package/node_modules/npm/docs/public/cli-commands/npm-docs/index.html +0 -118
  575. package/node_modules/npm/docs/public/cli-commands/npm-doctor/index.html +0 -166
  576. package/node_modules/npm/docs/public/cli-commands/npm-edit/index.html +0 -113
  577. package/node_modules/npm/docs/public/cli-commands/npm-explore/index.html +0 -117
  578. package/node_modules/npm/docs/public/cli-commands/npm-fund/index.html +0 -131
  579. package/node_modules/npm/docs/public/cli-commands/npm-help/index.html +0 -110
  580. package/node_modules/npm/docs/public/cli-commands/npm-help-search/index.html +0 -108
  581. package/node_modules/npm/docs/public/cli-commands/npm-hook/index.html +0 -122
  582. package/node_modules/npm/docs/public/cli-commands/npm-init/index.html +0 -129
  583. package/node_modules/npm/docs/public/cli-commands/npm-install/index.html +0 -471
  584. package/node_modules/npm/docs/public/cli-commands/npm-install-ci-test/index.html +0 -96
  585. package/node_modules/npm/docs/public/cli-commands/npm-install-test/index.html +0 -105
  586. package/node_modules/npm/docs/public/cli-commands/npm-link/index.html +0 -137
  587. package/node_modules/npm/docs/public/cli-commands/npm-logout/index.html +0 -112
  588. package/node_modules/npm/docs/public/cli-commands/npm-ls/index.html +0 -179
  589. package/node_modules/npm/docs/public/cli-commands/npm-org/index.html +0 -110
  590. package/node_modules/npm/docs/public/cli-commands/npm-outdated/index.html +0 -181
  591. package/node_modules/npm/docs/public/cli-commands/npm-owner/index.html +0 -117
  592. package/node_modules/npm/docs/public/cli-commands/npm-pack/index.html +0 -105
  593. package/node_modules/npm/docs/public/cli-commands/npm-ping/index.html +0 -98
  594. package/node_modules/npm/docs/public/cli-commands/npm-prefix/index.html +0 -101
  595. package/node_modules/npm/docs/public/cli-commands/npm-profile/index.html +0 -151
  596. package/node_modules/npm/docs/public/cli-commands/npm-prune/index.html +0 -111
  597. package/node_modules/npm/docs/public/cli-commands/npm-publish/index.html +0 -143
  598. package/node_modules/npm/docs/public/cli-commands/npm-rebuild/index.html +0 -96
  599. package/node_modules/npm/docs/public/cli-commands/npm-repo/index.html +0 -104
  600. package/node_modules/npm/docs/public/cli-commands/npm-restart/index.html +0 -116
  601. package/node_modules/npm/docs/public/cli-commands/npm-root/index.html +0 -97
  602. package/node_modules/npm/docs/public/cli-commands/npm-run-script/index.html +0 -146
  603. package/node_modules/npm/docs/public/cli-commands/npm-search/index.html +0 -171
  604. package/node_modules/npm/docs/public/cli-commands/npm-shrinkwrap/index.html +0 -104
  605. package/node_modules/npm/docs/public/cli-commands/npm-star/index.html +0 -99
  606. package/node_modules/npm/docs/public/cli-commands/npm-stars/index.html +0 -99
  607. package/node_modules/npm/docs/public/cli-commands/npm-start/index.html +0 -101
  608. package/node_modules/npm/docs/public/cli-commands/npm-stop/index.html +0 -97
  609. package/node_modules/npm/docs/public/cli-commands/npm-team/index.html +0 -128
  610. package/node_modules/npm/docs/public/cli-commands/npm-test/index.html +0 -99
  611. package/node_modules/npm/docs/public/cli-commands/npm-token/index.html +0 -136
  612. package/node_modules/npm/docs/public/cli-commands/npm-uninstall/index.html +0 -121
  613. package/node_modules/npm/docs/public/cli-commands/npm-unpublish/index.html +0 -109
  614. package/node_modules/npm/docs/public/cli-commands/npm-update/index.html +0 -170
  615. package/node_modules/npm/docs/public/cli-commands/npm-version/index.html +0 -183
  616. package/node_modules/npm/docs/public/cli-commands/npm-view/index.html +0 -148
  617. package/node_modules/npm/docs/public/cli-commands/npm-whoami/index.html +0 -95
  618. package/node_modules/npm/docs/public/configuring-npm/folders/index.html +0 -243
  619. package/node_modules/npm/docs/public/configuring-npm/install/index.html +0 -126
  620. package/node_modules/npm/docs/public/configuring-npm/npmrc/index.html +0 -148
  621. package/node_modules/npm/docs/public/configuring-npm/package-json/index.html +0 -714
  622. package/node_modules/npm/docs/public/configuring-npm/package-lock-json/index.html +0 -189
  623. package/node_modules/npm/docs/public/configuring-npm/package-locks/index.html +0 -217
  624. package/node_modules/npm/docs/public/configuring-npm/shrinkwrap-json/index.html +0 -105
  625. package/node_modules/npm/docs/public/icons/icon-144x144.png +0 -0
  626. package/node_modules/npm/docs/public/icons/icon-192x192.png +0 -0
  627. package/node_modules/npm/docs/public/icons/icon-256x256.png +0 -0
  628. package/node_modules/npm/docs/public/icons/icon-384x384.png +0 -0
  629. package/node_modules/npm/docs/public/icons/icon-48x48.png +0 -0
  630. package/node_modules/npm/docs/public/icons/icon-512x512.png +0 -0
  631. package/node_modules/npm/docs/public/icons/icon-72x72.png +0 -0
  632. package/node_modules/npm/docs/public/icons/icon-96x96.png +0 -0
  633. package/node_modules/npm/docs/public/index.html +0 -131
  634. package/node_modules/npm/docs/public/static/d/2215187023.json +0 -1
  635. package/node_modules/npm/docs/public/static/d/2417117884.json +0 -1
  636. package/node_modules/npm/docs/public/static/network-icon-f659855f70bb0e12addd96250807c241.svg +0 -1
  637. package/node_modules/npm/docs/public/styles.e93b5499b63484750fba.css +0 -1
  638. package/node_modules/npm/docs/public/using-npm/config/index.html +0 -1164
  639. package/node_modules/npm/docs/public/using-npm/developers/index.html +0 -262
  640. package/node_modules/npm/docs/public/using-npm/disputes/index.html +0 -195
  641. package/node_modules/npm/docs/public/using-npm/orgs/index.html +0 -147
  642. package/node_modules/npm/docs/public/using-npm/registry/index.html +0 -159
  643. package/node_modules/npm/docs/public/using-npm/removal/index.html +0 -119
  644. package/node_modules/npm/docs/public/using-npm/scope/index.html +0 -162
  645. package/node_modules/npm/docs/public/using-npm/scripts/index.html +0 -326
  646. package/node_modules/npm/docs/public/using-npm/semver/index.html +0 -438
  647. package/node_modules/npm/docs/src/components/Accordion.js +0 -57
  648. package/node_modules/npm/docs/src/components/Button.js +0 -22
  649. package/node_modules/npm/docs/src/components/DocLinks.js +0 -72
  650. package/node_modules/npm/docs/src/components/FoundTypo.js +0 -23
  651. package/node_modules/npm/docs/src/components/MobileSidebar.js +0 -33
  652. package/node_modules/npm/docs/src/components/Sidebar.js +0 -30
  653. package/node_modules/npm/docs/src/components/home/DarkBlock.js +0 -40
  654. package/node_modules/npm/docs/src/components/home/FeatureCard.js +0 -39
  655. package/node_modules/npm/docs/src/components/home/Features.js +0 -83
  656. package/node_modules/npm/docs/src/components/home/Footer.js +0 -29
  657. package/node_modules/npm/docs/src/components/home/Terminal.js +0 -120
  658. package/node_modules/npm/docs/src/components/home/Windows.js +0 -73
  659. package/node_modules/npm/docs/src/components/home/cubes.js +0 -101
  660. package/node_modules/npm/docs/src/components/home/hero.js +0 -25
  661. package/node_modules/npm/docs/src/components/layout.js +0 -24
  662. package/node_modules/npm/docs/src/components/links.js +0 -50
  663. package/node_modules/npm/docs/src/components/navbar.js +0 -136
  664. package/node_modules/npm/docs/src/components/scripts.js +0 -27
  665. package/node_modules/npm/docs/src/components/seo.js +0 -88
  666. package/node_modules/npm/docs/src/images/background-boxes.svg +0 -2782
  667. package/node_modules/npm/docs/src/images/background-cubes.svg +0 -2767
  668. package/node_modules/npm/docs/src/images/background-rectangles.svg +0 -1
  669. package/node_modules/npm/docs/src/images/bracket.svg +0 -1
  670. package/node_modules/npm/docs/src/images/cli-logo.svg +0 -1
  671. package/node_modules/npm/docs/src/images/down-carrot.svg +0 -1
  672. package/node_modules/npm/docs/src/images/hamburger-close.svg +0 -1
  673. package/node_modules/npm/docs/src/images/hamburger.svg +0 -1
  674. package/node_modules/npm/docs/src/images/manager-icon.svg +0 -1
  675. package/node_modules/npm/docs/src/images/network-icon.svg +0 -1
  676. package/node_modules/npm/docs/src/images/npm-icon.png +0 -0
  677. package/node_modules/npm/docs/src/images/orange-cube.svg +0 -1
  678. package/node_modules/npm/docs/src/images/pink-gradient-cube.svg +0 -1
  679. package/node_modules/npm/docs/src/images/purple-cube.svg +0 -1
  680. package/node_modules/npm/docs/src/images/purple-gradient-cube.svg +0 -1
  681. package/node_modules/npm/docs/src/images/red-cube.svg +0 -1
  682. package/node_modules/npm/docs/src/images/right-shadow-box.svg +0 -2809
  683. package/node_modules/npm/docs/src/images/terminal-icon.svg +0 -1
  684. package/node_modules/npm/docs/src/images/test-icon.svg +0 -1
  685. package/node_modules/npm/docs/src/images/up-carrot.svg +0 -1
  686. package/node_modules/npm/docs/src/images/x.svg +0 -1
  687. package/node_modules/npm/docs/src/main.css +0 -167
  688. package/node_modules/npm/docs/src/pages/404.js +0 -12
  689. package/node_modules/npm/docs/src/pages/index.js +0 -16
  690. package/node_modules/npm/docs/src/templates/Page.js +0 -40
  691. package/node_modules/npm/docs/src/theme.js +0 -50
  692. package/node_modules/npm/man/man7/disputes.7 +0 -149
  693. package/node_modules/npm/node_modules/balanced-match/.npmignore +0 -5
  694. package/node_modules/npm/node_modules/combined-stream/lib/defer.js +0 -26
  695. package/node_modules/npm/node_modules/dezalgo/.travis.yml +0 -7
  696. package/node_modules/npm/node_modules/dezalgo/test/basic.js +0 -29
  697. package/node_modules/npm/node_modules/glob/changelog.md +0 -67
  698. package/node_modules/npm/node_modules/meant/.github/workflows/ci.yml +0 -20
  699. package/node_modules/npm/node_modules/meant/test.js +0 -11
  700. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/.travis.yml +0 -8
  701. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/LICENSE +0 -18
  702. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/example/parse.js +0 -2
  703. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/index.js +0 -249
  704. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/package.json +0 -45
  705. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/readme.markdown +0 -98
  706. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/all_bool.js +0 -32
  707. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/bool.js +0 -178
  708. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/dash.js +0 -31
  709. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/default_bool.js +0 -35
  710. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/dotted.js +0 -22
  711. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/kv_short.js +0 -16
  712. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/long.js +0 -31
  713. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/num.js +0 -36
  714. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/parse.js +0 -197
  715. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/parse_modified.js +0 -9
  716. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/proto.js +0 -60
  717. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/short.js +0 -67
  718. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/stop_early.js +0 -15
  719. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/unknown.js +0 -102
  720. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/whitespace.js +0 -8
  721. package/node_modules/npm/node_modules/psl/.eslintignore +0 -1
  722. package/node_modules/npm/node_modules/psl/.eslintrc +0 -11
  723. package/node_modules/npm/node_modules/psl/.travis.yml +0 -6
  724. package/node_modules/npm/node_modules/psl/karma.conf.js +0 -38
  725. package/node_modules/npm/node_modules/psl/yarn.lock +0 -4532
  726. package/node_modules/npm/node_modules/punycode/package.json +0 -60
  727. package/node_modules/npm/node_modules/punycode/punycode.js +0 -533
  728. package/node_modules/npm/node_modules/qs/.eslintignore +0 -1
  729. package/node_modules/npm/node_modules/qs/LICENSE +0 -28
  730. package/node_modules/npm/node_modules/qs/test/.eslintrc +0 -15
  731. package/node_modules/npm/node_modules/qw/README.md~ +0 -27
  732. package/node_modules/npm/node_modules/sshpk/.npmignore +0 -9
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
- module.exports = function(Promise, Context) {
3
- var getDomain = Promise._getDomain;
2
+ module.exports = function(Promise, Context,
3
+ enableAsyncHooks, disableAsyncHooks) {
4
4
  var async = Promise._async;
5
5
  var Warning = require("./errors").Warning;
6
6
  var util = require("./util");
@@ -30,6 +30,34 @@ var longStackTraces = !!(util.env("BLUEBIRD_LONG_STACK_TRACES") != 0 &&
30
30
  var wForgottenReturn = util.env("BLUEBIRD_W_FORGOTTEN_RETURN") != 0 &&
31
31
  (warnings || !!util.env("BLUEBIRD_W_FORGOTTEN_RETURN"));
32
32
 
33
+ var deferUnhandledRejectionCheck;
34
+ (function() {
35
+ var promises = [];
36
+
37
+ function unhandledRejectionCheck() {
38
+ for (var i = 0; i < promises.length; ++i) {
39
+ promises[i]._notifyUnhandledRejection();
40
+ }
41
+ unhandledRejectionClear();
42
+ }
43
+
44
+ function unhandledRejectionClear() {
45
+ promises.length = 0;
46
+ }
47
+
48
+ deferUnhandledRejectionCheck = function(promise) {
49
+ promises.push(promise);
50
+ setTimeout(unhandledRejectionCheck, 1);
51
+ };
52
+
53
+ es5.defineProperty(Promise, "_unhandledRejectionCheck", {
54
+ value: unhandledRejectionCheck
55
+ });
56
+ es5.defineProperty(Promise, "_unhandledRejectionClear", {
57
+ value: unhandledRejectionClear
58
+ });
59
+ })();
60
+
33
61
  Promise.prototype.suppressUnhandledRejections = function() {
34
62
  var target = this._target();
35
63
  target._bitField = ((target._bitField & (~1048576)) |
@@ -39,10 +67,7 @@ Promise.prototype.suppressUnhandledRejections = function() {
39
67
  Promise.prototype._ensurePossibleRejectionHandled = function () {
40
68
  if ((this._bitField & 524288) !== 0) return;
41
69
  this._setRejectionIsUnhandled();
42
- var self = this;
43
- setTimeout(function() {
44
- self._notifyUnhandledRejection();
45
- }, 1);
70
+ deferUnhandledRejectionCheck(this);
46
71
  };
47
72
 
48
73
  Promise.prototype._notifyUnhandledRejectionIsHandled = function () {
@@ -100,19 +125,13 @@ Promise.prototype._warn = function(message, shouldUseOwnTrace, promise) {
100
125
  };
101
126
 
102
127
  Promise.onPossiblyUnhandledRejection = function (fn) {
103
- var domain = getDomain();
104
- possiblyUnhandledRejection =
105
- typeof fn === "function" ? (domain === null ?
106
- fn : util.domainBind(domain, fn))
107
- : undefined;
128
+ var context = Promise._getContext();
129
+ possiblyUnhandledRejection = util.contextBind(context, fn);
108
130
  };
109
131
 
110
132
  Promise.onUnhandledRejectionHandled = function (fn) {
111
- var domain = getDomain();
112
- unhandledRejectionHandled =
113
- typeof fn === "function" ? (domain === null ?
114
- fn : util.domainBind(domain, fn))
115
- : undefined;
133
+ var context = Promise._getContext();
134
+ unhandledRejectionHandled = util.contextBind(context, fn);
116
135
  };
117
136
 
118
137
  var disableLongStackTraces = function() {};
@@ -133,14 +152,12 @@ Promise.longStackTraces = function () {
133
152
  Promise.prototype._attachExtraTrace = Promise_attachExtraTrace;
134
153
  Promise.prototype._dereferenceTrace = Promise_dereferenceTrace;
135
154
  Context.deactivateLongStackTraces();
136
- async.enableTrampoline();
137
155
  config.longStackTraces = false;
138
156
  };
139
157
  Promise.prototype._captureStackTrace = longStackTracesCaptureStackTrace;
140
158
  Promise.prototype._attachExtraTrace = longStackTracesAttachExtraTrace;
141
159
  Promise.prototype._dereferenceTrace = longStackTracesDereferenceTrace;
142
160
  Context.activateLongStackTraces();
143
- async.disableTrampolineIfNecessary();
144
161
  }
145
162
  };
146
163
 
@@ -148,43 +165,85 @@ Promise.hasLongStackTraces = function () {
148
165
  return config.longStackTraces && longStackTracesIsSupported();
149
166
  };
150
167
 
168
+
169
+ var legacyHandlers = {
170
+ unhandledrejection: {
171
+ before: function() {
172
+ var ret = util.global.onunhandledrejection;
173
+ util.global.onunhandledrejection = null;
174
+ return ret;
175
+ },
176
+ after: function(fn) {
177
+ util.global.onunhandledrejection = fn;
178
+ }
179
+ },
180
+ rejectionhandled: {
181
+ before: function() {
182
+ var ret = util.global.onrejectionhandled;
183
+ util.global.onrejectionhandled = null;
184
+ return ret;
185
+ },
186
+ after: function(fn) {
187
+ util.global.onrejectionhandled = fn;
188
+ }
189
+ }
190
+ };
191
+
151
192
  var fireDomEvent = (function() {
193
+ var dispatch = function(legacy, e) {
194
+ if (legacy) {
195
+ var fn;
196
+ try {
197
+ fn = legacy.before();
198
+ return !util.global.dispatchEvent(e);
199
+ } finally {
200
+ legacy.after(fn);
201
+ }
202
+ } else {
203
+ return !util.global.dispatchEvent(e);
204
+ }
205
+ };
152
206
  try {
153
207
  if (typeof CustomEvent === "function") {
154
208
  var event = new CustomEvent("CustomEvent");
155
209
  util.global.dispatchEvent(event);
156
210
  return function(name, event) {
211
+ name = name.toLowerCase();
157
212
  var eventData = {
158
213
  detail: event,
159
214
  cancelable: true
160
215
  };
216
+ var domEvent = new CustomEvent(name, eventData);
161
217
  es5.defineProperty(
162
- eventData, "promise", {value: event.promise});
163
- es5.defineProperty(eventData, "reason", {value: event.reason});
164
- var domEvent = new CustomEvent(name.toLowerCase(), eventData);
165
- return !util.global.dispatchEvent(domEvent);
218
+ domEvent, "promise", {value: event.promise});
219
+ es5.defineProperty(
220
+ domEvent, "reason", {value: event.reason});
221
+
222
+ return dispatch(legacyHandlers[name], domEvent);
166
223
  };
167
224
  } else if (typeof Event === "function") {
168
225
  var event = new Event("CustomEvent");
169
226
  util.global.dispatchEvent(event);
170
227
  return function(name, event) {
171
- var domEvent = new Event(name.toLowerCase(), {
228
+ name = name.toLowerCase();
229
+ var domEvent = new Event(name, {
172
230
  cancelable: true
173
231
  });
174
232
  domEvent.detail = event;
175
233
  es5.defineProperty(domEvent, "promise", {value: event.promise});
176
234
  es5.defineProperty(domEvent, "reason", {value: event.reason});
177
- return !util.global.dispatchEvent(domEvent);
235
+ return dispatch(legacyHandlers[name], domEvent);
178
236
  };
179
237
  } else {
180
238
  var event = document.createEvent("CustomEvent");
181
239
  event.initCustomEvent("testingtheevent", false, true, {});
182
240
  util.global.dispatchEvent(event);
183
241
  return function(name, event) {
242
+ name = name.toLowerCase();
184
243
  var domEvent = document.createEvent("CustomEvent");
185
- domEvent.initCustomEvent(name.toLowerCase(), false, true,
244
+ domEvent.initCustomEvent(name, false, true,
186
245
  event);
187
- return !util.global.dispatchEvent(domEvent);
246
+ return dispatch(legacyHandlers[name], domEvent);
188
247
  };
189
248
  }
190
249
  } catch (e) {}
@@ -302,6 +361,18 @@ Promise.config = function(opts) {
302
361
  Promise.prototype._fireEvent = defaultFireEvent;
303
362
  }
304
363
  }
364
+ if ("asyncHooks" in opts && util.nodeSupportsAsyncResource) {
365
+ var prev = config.asyncHooks;
366
+ var cur = !!opts.asyncHooks;
367
+ if (prev !== cur) {
368
+ config.asyncHooks = cur;
369
+ if (cur) {
370
+ enableAsyncHooks();
371
+ } else {
372
+ disableAsyncHooks();
373
+ }
374
+ }
375
+ }
305
376
  return Promise;
306
377
  };
307
378
 
@@ -899,12 +970,16 @@ var config = {
899
970
  warnings: warnings,
900
971
  longStackTraces: false,
901
972
  cancellation: false,
902
- monitoring: false
973
+ monitoring: false,
974
+ asyncHooks: false
903
975
  };
904
976
 
905
977
  if (longStackTraces) Promise.longStackTraces();
906
978
 
907
979
  return {
980
+ asyncHooks: function() {
981
+ return config.asyncHooks;
982
+ },
908
983
  longStackTraces: function() {
909
984
  return config.longStackTraces;
910
985
  },
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  module.exports =
3
- function(Promise, PromiseArray, tryConvertToPromise, INTERNAL, async,
4
- getDomain) {
3
+ function(Promise, PromiseArray, tryConvertToPromise, INTERNAL, async) {
5
4
  var util = require("./util");
6
5
  var canEvaluate = util.canEvaluate;
7
6
  var tryCatch = util.tryCatch;
@@ -147,10 +146,8 @@ Promise.join = function () {
147
146
 
148
147
  if (!ret._isFateSealed()) {
149
148
  if (holder.asyncNeeded) {
150
- var domain = getDomain();
151
- if (domain !== null) {
152
- holder.fn = util.domainBind(domain, holder.fn);
153
- }
149
+ var context = Promise._getContext();
150
+ holder.fn = util.contextBind(context, holder.fn);
154
151
  }
155
152
  ret._setAsyncGuaranteed();
156
153
  ret._setOnCancel(holder);
@@ -159,7 +156,7 @@ Promise.join = function () {
159
156
  }
160
157
  }
161
158
  }
162
- var $_len = arguments.length;var args = new Array($_len); for(var $_i = 0; $_i < $_len; ++$_i) {args[$_i] = arguments[$_i];};
159
+ var $_len = arguments.length;var args = new Array($_len); for(var $_i = 0; $_i < $_len ; ++$_i) {args[$_i] = arguments[$_i ];};
163
160
  if (fn) args.pop();
164
161
  var ret = new PromiseArray(args).promise();
165
162
  return fn !== undefined ? ret.spread(fn) : ret;
@@ -5,7 +5,6 @@ module.exports = function(Promise,
5
5
  tryConvertToPromise,
6
6
  INTERNAL,
7
7
  debug) {
8
- var getDomain = Promise._getDomain;
9
8
  var util = require("./util");
10
9
  var tryCatch = util.tryCatch;
11
10
  var errorObj = util.errorObj;
@@ -14,8 +13,8 @@ var async = Promise._async;
14
13
  function MappingPromiseArray(promises, fn, limit, _filter) {
15
14
  this.constructor$(promises);
16
15
  this._promise._captureStackTrace();
17
- var domain = getDomain();
18
- this._callback = domain === null ? fn : util.domainBind(domain, fn);
16
+ var context = Promise._getContext();
17
+ this._callback = util.contextBind(context, fn);
19
18
  this._preservedValues = _filter === INTERNAL
20
19
  ? new Array(this.length())
21
20
  : null;
@@ -23,6 +22,14 @@ function MappingPromiseArray(promises, fn, limit, _filter) {
23
22
  this._inFlight = 0;
24
23
  this._queue = [];
25
24
  async.invoke(this._asyncInit, this, undefined);
25
+ if (util.isArray(promises)) {
26
+ for (var i = 0; i < promises.length; ++i) {
27
+ var maybePromise = promises[i];
28
+ if (maybePromise instanceof Promise) {
29
+ maybePromise.suppressUnhandledRejections();
30
+ }
31
+ }
32
+ }
26
33
  }
27
34
  util.inherits(MappingPromiseArray, PromiseArray);
28
35
 
@@ -12,20 +12,42 @@ var apiRejection = function(msg) {
12
12
  function Proxyable() {}
13
13
  var UNDEFINED_BINDING = {};
14
14
  var util = require("./util");
15
+ util.setReflectHandler(reflectHandler);
15
16
 
16
- var getDomain;
17
- if (util.isNode) {
18
- getDomain = function() {
19
- var ret = process.domain;
20
- if (ret === undefined) ret = null;
21
- return ret;
22
- };
23
- } else {
24
- getDomain = function() {
17
+ var getDomain = function() {
18
+ var domain = process.domain;
19
+ if (domain === undefined) {
25
20
  return null;
21
+ }
22
+ return domain;
23
+ };
24
+ var getContextDefault = function() {
25
+ return null;
26
+ };
27
+ var getContextDomain = function() {
28
+ return {
29
+ domain: getDomain(),
30
+ async: null
26
31
  };
27
- }
28
- util.notEnumerableProp(Promise, "_getDomain", getDomain);
32
+ };
33
+ var AsyncResource = util.isNode && util.nodeSupportsAsyncResource ?
34
+ require("async_hooks").AsyncResource : null;
35
+ var getContextAsyncHooks = function() {
36
+ return {
37
+ domain: getDomain(),
38
+ async: new AsyncResource("Bluebird::Promise")
39
+ };
40
+ };
41
+ var getContext = util.isNode ? getContextDomain : getContextDefault;
42
+ util.notEnumerableProp(Promise, "_getContext", getContext);
43
+ var enableAsyncHooks = function() {
44
+ getContext = getContextAsyncHooks;
45
+ util.notEnumerableProp(Promise, "_getContext", getContextAsyncHooks);
46
+ };
47
+ var disableAsyncHooks = function() {
48
+ getContext = getContextDomain;
49
+ util.notEnumerableProp(Promise, "_getContext", getContextDomain);
50
+ };
29
51
 
30
52
  var es5 = require("./es5");
31
53
  var Async = require("./async");
@@ -49,7 +71,9 @@ var PromiseArray =
49
71
  var Context = require("./context")(Promise);
50
72
  /*jshint unused:false*/
51
73
  var createContext = Context.create;
52
- var debug = require("./debuggability")(Promise, Context);
74
+
75
+ var debug = require("./debuggability")(Promise, Context,
76
+ enableAsyncHooks, disableAsyncHooks);
53
77
  var CapturedTrace = debug.CapturedTrace;
54
78
  var PassThroughHandlerContext =
55
79
  require("./finally")(Promise, tryConvertToPromise, NEXT_FILTER);
@@ -246,7 +270,7 @@ Promise.prototype._then = function (
246
270
  this._fireEvent("promiseChained", this, promise);
247
271
  }
248
272
 
249
- var domain = getDomain();
273
+ var context = getContext();
250
274
  if (!((bitField & 50397184) === 0)) {
251
275
  var handler, value, settler = target._settlePromiseCtx;
252
276
  if (((bitField & 33554432) !== 0)) {
@@ -264,15 +288,14 @@ Promise.prototype._then = function (
264
288
  }
265
289
 
266
290
  async.invoke(settler, target, {
267
- handler: domain === null ? handler
268
- : (typeof handler === "function" &&
269
- util.domainBind(domain, handler)),
291
+ handler: util.contextBind(context, handler),
270
292
  promise: promise,
271
293
  receiver: receiver,
272
294
  value: value
273
295
  });
274
296
  } else {
275
- target._addCallbacks(didFulfill, didReject, promise, receiver, domain);
297
+ target._addCallbacks(didFulfill, didReject, promise,
298
+ receiver, context);
276
299
  }
277
300
 
278
301
  return promise;
@@ -333,7 +356,15 @@ Promise.prototype._setWillBeCancelled = function() {
333
356
 
334
357
  Promise.prototype._setAsyncGuaranteed = function() {
335
358
  if (async.hasCustomScheduler()) return;
336
- this._bitField = this._bitField | 134217728;
359
+ var bitField = this._bitField;
360
+ this._bitField = bitField |
361
+ (((bitField & 536870912) >> 2) ^
362
+ 134217728);
363
+ };
364
+
365
+ Promise.prototype._setNoAsyncGuarantee = function() {
366
+ this._bitField = (this._bitField | 536870912) &
367
+ (~134217728);
337
368
  };
338
369
 
339
370
  Promise.prototype._receiverAt = function (index) {
@@ -388,7 +419,7 @@ Promise.prototype._addCallbacks = function (
388
419
  reject,
389
420
  promise,
390
421
  receiver,
391
- domain
422
+ context
392
423
  ) {
393
424
  var index = this._length();
394
425
 
@@ -401,12 +432,10 @@ Promise.prototype._addCallbacks = function (
401
432
  this._promise0 = promise;
402
433
  this._receiver0 = receiver;
403
434
  if (typeof fulfill === "function") {
404
- this._fulfillmentHandler0 =
405
- domain === null ? fulfill : util.domainBind(domain, fulfill);
435
+ this._fulfillmentHandler0 = util.contextBind(context, fulfill);
406
436
  }
407
437
  if (typeof reject === "function") {
408
- this._rejectionHandler0 =
409
- domain === null ? reject : util.domainBind(domain, reject);
438
+ this._rejectionHandler0 = util.contextBind(context, reject);
410
439
  }
411
440
  } else {
412
441
  var base = index * 4 - 4;
@@ -414,11 +443,11 @@ Promise.prototype._addCallbacks = function (
414
443
  this[base + 3] = receiver;
415
444
  if (typeof fulfill === "function") {
416
445
  this[base + 0] =
417
- domain === null ? fulfill : util.domainBind(domain, fulfill);
446
+ util.contextBind(context, fulfill);
418
447
  }
419
448
  if (typeof reject === "function") {
420
449
  this[base + 1] =
421
- domain === null ? reject : util.domainBind(domain, reject);
450
+ util.contextBind(context, reject);
422
451
  }
423
452
  }
424
453
  this._setLength(index + 1);
@@ -438,6 +467,7 @@ Promise.prototype._resolveCallback = function(value, shouldBind) {
438
467
 
439
468
  if (shouldBind) this._propagateFrom(maybePromise, 2);
440
469
 
470
+
441
471
  var promise = maybePromise._target();
442
472
 
443
473
  if (promise === this) {
@@ -454,7 +484,7 @@ Promise.prototype._resolveCallback = function(value, shouldBind) {
454
484
  }
455
485
  this._setFollowing();
456
486
  this._setLength(0);
457
- this._setFollowee(promise);
487
+ this._setFollowee(maybePromise);
458
488
  } else if (((bitField & 33554432) !== 0)) {
459
489
  this._fulfill(promise._value());
460
490
  } else if (((bitField & 16777216) !== 0)) {
@@ -745,9 +775,9 @@ require("./cancel")(Promise, PromiseArray, apiRejection, debug);
745
775
  require("./direct_resolve")(Promise);
746
776
  require("./synchronous_inspection")(Promise);
747
777
  require("./join")(
748
- Promise, PromiseArray, tryConvertToPromise, INTERNAL, async, getDomain);
778
+ Promise, PromiseArray, tryConvertToPromise, INTERNAL, async);
749
779
  Promise.Promise = Promise;
750
- Promise.version = "3.5.5";
780
+ Promise.version = "3.7.2";
751
781
  require('./call_get.js')(Promise);
752
782
  require('./generators.js')(Promise, apiRejection, INTERNAL, tryConvertToPromise, Proxyable, debug);
753
783
  require('./map.js')(Promise, PromiseArray, apiRejection, tryConvertToPromise, INTERNAL, debug);
@@ -16,6 +16,7 @@ function PromiseArray(values) {
16
16
  var promise = this._promise = new Promise(INTERNAL);
17
17
  if (values instanceof Promise) {
18
18
  promise._propagateFrom(values, 3);
19
+ values.suppressUnhandledRejections();
19
20
  }
20
21
  promise._setOnCancel(this);
21
22
  this._values = values;
@@ -5,14 +5,13 @@ module.exports = function(Promise,
5
5
  tryConvertToPromise,
6
6
  INTERNAL,
7
7
  debug) {
8
- var getDomain = Promise._getDomain;
9
8
  var util = require("./util");
10
9
  var tryCatch = util.tryCatch;
11
10
 
12
11
  function ReductionPromiseArray(promises, fn, initialValue, _each) {
13
12
  this.constructor$(promises);
14
- var domain = getDomain();
15
- this._fn = domain === null ? fn : util.domainBind(domain, fn);
13
+ var context = Promise._getContext();
14
+ this._fn = util.contextBind(context, fn);
16
15
  if (initialValue !== undefined) {
17
16
  initialValue = Promise.resolve(initialValue);
18
17
  initialValue._attachCancellationCallback(this);
@@ -32,8 +31,8 @@ function ReductionPromiseArray(promises, fn, initialValue, _each) {
32
31
  util.inherits(ReductionPromiseArray, PromiseArray);
33
32
 
34
33
  ReductionPromiseArray.prototype._gotAccum = function(accum) {
35
- if (this._eachValues !== undefined &&
36
- this._eachValues !== null &&
34
+ if (this._eachValues !== undefined &&
35
+ this._eachValues !== null &&
37
36
  accum !== INTERNAL) {
38
37
  this._eachValues.push(accum);
39
38
  }
@@ -89,6 +88,13 @@ ReductionPromiseArray.prototype._iterate = function (values) {
89
88
 
90
89
  this._currentCancellable = value;
91
90
 
91
+ for (var j = i; j < length; ++j) {
92
+ var maybePromise = values[j];
93
+ if (maybePromise instanceof Promise) {
94
+ maybePromise.suppressUnhandledRejections();
95
+ }
96
+ }
97
+
92
98
  if (!value.isRejected()) {
93
99
  for (; i < length; ++i) {
94
100
  var ctx = {
@@ -98,7 +104,12 @@ ReductionPromiseArray.prototype._iterate = function (values) {
98
104
  length: length,
99
105
  array: this
100
106
  };
107
+
101
108
  value = value._then(gotAccum, undefined, undefined, ctx, undefined);
109
+
110
+ if ((i & 127) === 0) {
111
+ value._setNoAsyncGuarantee();
112
+ }
102
113
  }
103
114
  }
104
115
 
@@ -37,6 +37,10 @@ Promise.settle = function (promises) {
37
37
  return new SettledPromiseArray(promises).promise();
38
38
  };
39
39
 
40
+ Promise.allSettled = function (promises) {
41
+ return new SettledPromiseArray(promises).promise();
42
+ };
43
+
40
44
  Promise.prototype.settle = function () {
41
45
  return Promise.settle(this);
42
46
  };
@@ -326,18 +326,42 @@ function getNativePromise() {
326
326
  if (typeof Promise === "function") {
327
327
  try {
328
328
  var promise = new Promise(function(){});
329
- if ({}.toString.call(promise) === "[object Promise]") {
329
+ if (classString(promise) === "[object Promise]") {
330
330
  return Promise;
331
331
  }
332
332
  } catch (e) {}
333
333
  }
334
334
  }
335
335
 
336
- function domainBind(self, cb) {
337
- return self.bind(cb);
336
+ var reflectHandler;
337
+ function contextBind(ctx, cb) {
338
+ if (ctx === null ||
339
+ typeof cb !== "function" ||
340
+ cb === reflectHandler) {
341
+ return cb;
342
+ }
343
+
344
+ if (ctx.domain !== null) {
345
+ cb = ctx.domain.bind(cb);
346
+ }
347
+
348
+ var async = ctx.async;
349
+ if (async !== null) {
350
+ var old = cb;
351
+ cb = function() {
352
+ var $_len = arguments.length + 2;var args = new Array($_len); for(var $_i = 2; $_i < $_len ; ++$_i) {args[$_i] = arguments[$_i - 2];};
353
+ args[0] = old;
354
+ args[1] = this;
355
+ return async.runInAsyncScope.apply(async, args);
356
+ };
357
+ }
358
+ return cb;
338
359
  }
339
360
 
340
361
  var ret = {
362
+ setReflectHandler: function(fn) {
363
+ reflectHandler = fn;
364
+ },
341
365
  isClass: isClass,
342
366
  isIdentifier: isIdentifier,
343
367
  inheritedDataKeys: inheritedDataKeys,
@@ -364,24 +388,32 @@ var ret = {
364
388
  markAsOriginatingFromRejection: markAsOriginatingFromRejection,
365
389
  classString: classString,
366
390
  copyDescriptors: copyDescriptors,
367
- hasDevTools: typeof chrome !== "undefined" && chrome &&
368
- typeof chrome.loadTimes === "function",
369
391
  isNode: isNode,
370
392
  hasEnvVariables: hasEnvVariables,
371
393
  env: env,
372
394
  global: globalObject,
373
395
  getNativePromise: getNativePromise,
374
- domainBind: domainBind
396
+ contextBind: contextBind
375
397
  };
376
398
  ret.isRecentNode = ret.isNode && (function() {
377
399
  var version;
378
- if (process.versions && process.versions.node) {
400
+ if (process.versions && process.versions.node) {
379
401
  version = process.versions.node.split(".").map(Number);
380
402
  } else if (process.version) {
381
403
  version = process.version.split(".").map(Number);
382
404
  }
383
405
  return (version[0] === 0 && version[1] > 10) || (version[0] > 0);
384
406
  })();
407
+ ret.nodeSupportsAsyncResource = ret.isNode && (function() {
408
+ var supportsAsync = false;
409
+ try {
410
+ var res = require("async_hooks").AsyncResource;
411
+ supportsAsync = typeof res.prototype.runInAsyncScope === "function";
412
+ } catch (e) {
413
+ supportsAsync = false;
414
+ }
415
+ return supportsAsync;
416
+ })();
385
417
 
386
418
  if (ret.isNode) ret.toFastProperties(process);
387
419
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bluebird",
3
3
  "description": "Full featured Promises/A+ implementation with exceptionally good performance",
4
- "version": "3.5.5",
4
+ "version": "3.7.2",
5
5
  "keywords": [
6
6
  "promise",
7
7
  "performance",
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [12.0.4](https://github.com/npm/cacache/compare/v12.0.3...v12.0.4) (2020-03-24)
6
+
7
+
8
+
5
9
  ### [12.0.3](https://github.com/npm/cacache/compare/v12.0.2...v12.0.3) (2019-08-19)
6
10
 
7
11
 
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "name": "cacache",
3
- "version": "12.0.3",
3
+ "publishConfig": {
4
+ "tag": "legacy"
5
+ },
6
+ "version": "12.0.4",
4
7
  "cache-version": {
5
8
  "content": "2",
6
9
  "index": "5"
@@ -19,9 +22,7 @@
19
22
  "pretest": "standard",
20
23
  "release": "standard-version -s",
21
24
  "test": "cross-env CACACHE_UPDATE_LOCALE_FILES=true tap --coverage --nyc-arg=--all -J test/*.js",
22
- "test-docker": "docker run -it --rm --name pacotest -v \"$PWD\":/tmp -w /tmp node:latest npm test",
23
- "update-coc": "weallbehave -o . && git add CODE_OF_CONDUCT.md && git commit -m 'docs(coc): updated CODE_OF_CONDUCT.md'",
24
- "update-contrib": "weallcontribute -o . && git add CONTRIBUTING.md && git commit -m 'docs(contributing): updated CONTRIBUTING.md'"
25
+ "test-docker": "docker run -it --rm --name pacotest -v \"$PWD\":/tmp -w /tmp node:latest npm test"
25
26
  },
26
27
  "repository": "https://github.com/npm/cacache",
27
28
  "keywords": [
@@ -82,9 +83,7 @@
82
83
  "standard": "^12.0.1",
83
84
  "standard-version": "^6.0.1",
84
85
  "tacks": "^1.3.0",
85
- "tap": "^12.7.0",
86
- "weallbehave": "^1.2.0",
87
- "weallcontribute": "^1.0.9"
86
+ "tap": "^12.7.0"
88
87
  },
89
88
  "config": {
90
89
  "nyc": {