step-node-agent 3.20.2 → 3.21.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 (758) 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/body-parser/HISTORY.md +8 -0
  5. package/node_modules/body-parser/README.md +11 -10
  6. package/node_modules/body-parser/lib/types/json.js +15 -4
  7. package/node_modules/body-parser/package.json +8 -8
  8. package/node_modules/content-type/HISTORY.md +5 -0
  9. package/node_modules/content-type/README.md +21 -19
  10. package/node_modules/content-type/index.js +12 -9
  11. package/node_modules/content-type/package.json +13 -11
  12. package/node_modules/express/node_modules/body-parser/HISTORY.md +657 -0
  13. package/node_modules/express/node_modules/body-parser/LICENSE +23 -0
  14. package/node_modules/express/node_modules/body-parser/README.md +464 -0
  15. package/node_modules/express/node_modules/body-parser/SECURITY.md +25 -0
  16. package/node_modules/express/node_modules/body-parser/index.js +156 -0
  17. package/node_modules/express/node_modules/body-parser/lib/read.js +205 -0
  18. package/node_modules/express/node_modules/body-parser/lib/types/json.js +236 -0
  19. package/node_modules/express/node_modules/body-parser/lib/types/raw.js +101 -0
  20. package/node_modules/express/node_modules/body-parser/lib/types/text.js +121 -0
  21. package/node_modules/express/node_modules/body-parser/lib/types/urlencoded.js +284 -0
  22. package/node_modules/express/node_modules/body-parser/package.json +56 -0
  23. package/node_modules/express/node_modules/raw-body/HISTORY.md +303 -0
  24. package/node_modules/express/node_modules/raw-body/LICENSE +22 -0
  25. package/node_modules/express/node_modules/raw-body/README.md +223 -0
  26. package/node_modules/express/node_modules/raw-body/SECURITY.md +24 -0
  27. package/node_modules/express/node_modules/raw-body/index.d.ts +87 -0
  28. package/node_modules/express/node_modules/raw-body/index.js +329 -0
  29. package/node_modules/express/node_modules/raw-body/package.json +49 -0
  30. package/node_modules/get-intrinsic/.eslintrc +1 -0
  31. package/node_modules/get-intrinsic/CHANGELOG.md +12 -0
  32. package/node_modules/get-intrinsic/index.js +10 -0
  33. package/node_modules/get-intrinsic/package.json +7 -6
  34. package/node_modules/get-intrinsic/test/GetIntrinsic.js +1 -1
  35. package/node_modules/minimist/.eslintrc +25 -50
  36. package/node_modules/minimist/CHANGELOG.md +87 -1
  37. package/node_modules/minimist/README.md +14 -10
  38. package/node_modules/minimist/example/parse.js +2 -0
  39. package/node_modules/minimist/index.js +256 -242
  40. package/node_modules/minimist/package.json +73 -73
  41. package/node_modules/minimist/test/all_bool.js +26 -24
  42. package/node_modules/minimist/test/bool.js +146 -147
  43. package/node_modules/minimist/test/dash.js +33 -21
  44. package/node_modules/minimist/test/default_bool.js +26 -24
  45. package/node_modules/minimist/test/dotted.js +13 -11
  46. package/node_modules/minimist/test/kv_short.js +26 -10
  47. package/node_modules/minimist/test/long.js +28 -26
  48. package/node_modules/minimist/test/num.js +30 -28
  49. package/node_modules/minimist/test/parse.js +169 -157
  50. package/node_modules/minimist/test/parse_modified.js +7 -5
  51. package/node_modules/minimist/test/proto.js +41 -37
  52. package/node_modules/minimist/test/short.js +57 -55
  53. package/node_modules/minimist/test/stop_early.js +10 -8
  54. package/node_modules/minimist/test/unknown.js +83 -81
  55. package/node_modules/minimist/test/whitespace.js +6 -4
  56. package/node_modules/npm/AUTHORS +6 -0
  57. package/node_modules/npm/CHANGELOG.md +57 -0
  58. package/node_modules/npm/Makefile +6 -8
  59. package/node_modules/npm/docs/config.json +5 -0
  60. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-access.md +4 -8
  61. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-adduser.md +6 -10
  62. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-audit.md +2 -6
  63. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-bin.md +4 -8
  64. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-bugs.md +5 -9
  65. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-build.md +4 -8
  66. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-bundle.md +2 -6
  67. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-cache.md +5 -9
  68. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-ci.md +3 -7
  69. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-completion.md +2 -6
  70. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-config.md +3 -7
  71. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-dedupe.md +4 -8
  72. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-deprecate.md +2 -5
  73. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-dist-tag.md +6 -11
  74. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-docs.md +4 -8
  75. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-doctor.md +4 -8
  76. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-edit.md +4 -8
  77. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-explore.md +6 -10
  78. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-fund.md +5 -9
  79. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-help-search.md +3 -7
  80. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-help.md +4 -8
  81. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-hook.md +1 -5
  82. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-init.md +2 -6
  83. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-install-ci-test.md +3 -7
  84. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-install-test.md +3 -7
  85. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-install.md +13 -17
  86. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-link.md +5 -9
  87. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-logout.md +5 -9
  88. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-ls.md +7 -11
  89. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-org.md +1 -5
  90. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-outdated.md +3 -7
  91. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-owner.md +3 -7
  92. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-pack.md +4 -8
  93. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-ping.md +2 -6
  94. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-prefix.md +5 -9
  95. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-profile.md +2 -5
  96. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-prune.md +3 -6
  97. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-publish.md +15 -18
  98. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-rebuild.md +3 -7
  99. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-repo.md +3 -7
  100. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-restart.md +6 -10
  101. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-root.md +4 -8
  102. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-run-script.md +6 -10
  103. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-search.md +3 -7
  104. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-shrinkwrap.md +4 -8
  105. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-star.md +4 -8
  106. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-stars.md +5 -9
  107. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-start.md +6 -10
  108. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-stop.md +5 -9
  109. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-team.md +2 -6
  110. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-test.md +5 -9
  111. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-token.md +1 -5
  112. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-uninstall.md +4 -8
  113. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-unpublish.md +5 -9
  114. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-update.md +5 -9
  115. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-version.md +3 -7
  116. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-view.md +5 -9
  117. package/node_modules/npm/docs/content/{cli-commands → commands}/npm-whoami.md +3 -6
  118. package/node_modules/npm/docs/content/{cli-commands → commands}/npm.md +6 -10
  119. package/node_modules/npm/docs/content/configuring-npm/folders.md +8 -12
  120. package/node_modules/npm/docs/content/configuring-npm/install.md +1 -5
  121. package/node_modules/npm/docs/content/configuring-npm/npmrc.md +3 -7
  122. package/node_modules/npm/docs/content/configuring-npm/package-json.md +9 -13
  123. package/node_modules/npm/docs/content/configuring-npm/package-lock-json.md +3 -7
  124. package/node_modules/npm/docs/content/configuring-npm/package-locks.md +3 -7
  125. package/node_modules/npm/docs/content/configuring-npm/shrinkwrap-json.md +4 -8
  126. package/node_modules/npm/docs/content/using-npm/config.md +8 -12
  127. package/node_modules/npm/docs/content/using-npm/developers.md +8 -12
  128. package/node_modules/npm/docs/content/using-npm/orgs.md +5 -9
  129. package/node_modules/npm/docs/content/using-npm/registry.md +3 -8
  130. package/node_modules/npm/docs/content/using-npm/removal.md +3 -7
  131. package/node_modules/npm/docs/content/using-npm/scope.md +7 -9
  132. package/node_modules/npm/docs/content/using-npm/scripts.md +7 -11
  133. package/node_modules/npm/docs/content/using-npm/semver.md +1 -4
  134. package/node_modules/npm/docs/dockhand.js +341 -0
  135. package/node_modules/npm/docs/nav.yml +236 -0
  136. package/node_modules/npm/docs/output/commands/npm-access.html +240 -0
  137. package/node_modules/npm/docs/output/commands/npm-adduser.html +220 -0
  138. package/node_modules/npm/docs/output/commands/npm-audit.html +253 -0
  139. package/node_modules/npm/docs/output/commands/npm-bin.html +174 -0
  140. package/node_modules/npm/docs/output/commands/npm-bugs.html +194 -0
  141. package/node_modules/npm/docs/output/commands/npm-build.html +181 -0
  142. package/node_modules/npm/docs/output/commands/npm-bundle.html +170 -0
  143. package/node_modules/npm/docs/output/commands/npm-cache.html +230 -0
  144. package/node_modules/npm/docs/output/commands/npm-ci.html +205 -0
  145. package/node_modules/npm/docs/output/commands/npm-completion.html +185 -0
  146. package/node_modules/npm/docs/output/commands/npm-config.html +213 -0
  147. package/node_modules/npm/docs/output/commands/npm-dedupe.html +203 -0
  148. package/node_modules/npm/docs/output/commands/npm-deprecate.html +181 -0
  149. package/node_modules/npm/docs/output/commands/npm-dist-tag.html +232 -0
  150. package/node_modules/npm/docs/output/commands/npm-docs.html +195 -0
  151. package/node_modules/npm/docs/output/commands/npm-doctor.html +241 -0
  152. package/node_modules/npm/docs/output/commands/npm-edit.html +190 -0
  153. package/node_modules/npm/docs/output/commands/npm-explore.html +190 -0
  154. package/node_modules/npm/docs/output/commands/npm-fund.html +208 -0
  155. package/node_modules/npm/docs/output/commands/npm-help-search.html +185 -0
  156. package/node_modules/npm/docs/output/commands/npm-help.html +187 -0
  157. package/node_modules/npm/docs/output/commands/npm-hook.html +206 -0
  158. package/node_modules/npm/docs/output/commands/npm-init.html +209 -0
  159. package/node_modules/npm/docs/output/commands/npm-install-ci-test.html +173 -0
  160. package/node_modules/npm/docs/output/commands/npm-install-test.html +182 -0
  161. package/node_modules/npm/docs/output/commands/npm-install.html +582 -0
  162. package/node_modules/npm/docs/output/commands/npm-link.html +217 -0
  163. package/node_modules/npm/docs/output/commands/npm-logout.html +190 -0
  164. package/node_modules/npm/docs/output/commands/npm-ls.html +257 -0
  165. package/node_modules/npm/docs/output/commands/npm-org.html +193 -0
  166. package/node_modules/npm/docs/output/commands/npm-outdated.html +260 -0
  167. package/node_modules/npm/docs/output/commands/npm-owner.html +193 -0
  168. package/node_modules/npm/docs/output/commands/npm-pack.html +182 -0
  169. package/node_modules/npm/docs/output/commands/npm-ping.html +177 -0
  170. package/node_modules/npm/docs/output/commands/npm-prefix.html +178 -0
  171. package/node_modules/npm/docs/output/commands/npm-profile.html +235 -0
  172. package/node_modules/npm/docs/output/commands/npm-prune.html +188 -0
  173. package/node_modules/npm/docs/output/commands/npm-publish.html +232 -0
  174. package/node_modules/npm/docs/output/commands/npm-rebuild.html +173 -0
  175. package/node_modules/npm/docs/output/commands/npm-repo.html +181 -0
  176. package/node_modules/npm/docs/output/commands/npm-restart.html +193 -0
  177. package/node_modules/npm/docs/output/commands/npm-root.html +174 -0
  178. package/node_modules/npm/docs/output/commands/npm-run-script.html +226 -0
  179. package/node_modules/npm/docs/output/commands/npm-search.html +248 -0
  180. package/node_modules/npm/docs/output/commands/npm-shrinkwrap.html +181 -0
  181. package/node_modules/npm/docs/output/commands/npm-star.html +176 -0
  182. package/node_modules/npm/docs/output/commands/npm-stars.html +176 -0
  183. package/node_modules/npm/docs/output/commands/npm-start.html +178 -0
  184. package/node_modules/npm/docs/output/commands/npm-stop.html +174 -0
  185. package/node_modules/npm/docs/output/commands/npm-team.html +213 -0
  186. package/node_modules/npm/docs/output/commands/npm-test.html +176 -0
  187. package/node_modules/npm/docs/output/commands/npm-token.html +215 -0
  188. package/node_modules/npm/docs/output/commands/npm-uninstall.html +208 -0
  189. package/node_modules/npm/docs/output/commands/npm-unpublish.html +187 -0
  190. package/node_modules/npm/docs/output/commands/npm-update.html +252 -0
  191. package/node_modules/npm/docs/output/commands/npm-version.html +263 -0
  192. package/node_modules/npm/docs/output/commands/npm-view.html +235 -0
  193. package/node_modules/npm/docs/output/commands/npm-whoami.html +172 -0
  194. package/node_modules/npm/docs/output/commands/npm.html +290 -0
  195. package/node_modules/npm/docs/output/configuring-npm/folders.html +321 -0
  196. package/node_modules/npm/docs/output/configuring-npm/install.html +203 -0
  197. package/node_modules/npm/docs/output/configuring-npm/npmrc.html +227 -0
  198. package/node_modules/npm/docs/output/configuring-npm/package-json.html +827 -0
  199. package/node_modules/npm/docs/output/configuring-npm/package-lock-json.html +273 -0
  200. package/node_modules/npm/docs/output/configuring-npm/package-locks.html +310 -0
  201. package/node_modules/npm/docs/output/configuring-npm/shrinkwrap-json.html +181 -0
  202. package/node_modules/npm/docs/output/using-npm/config.html +1248 -0
  203. package/node_modules/npm/docs/output/using-npm/developers.html +356 -0
  204. package/node_modules/npm/docs/output/using-npm/orgs.html +236 -0
  205. package/node_modules/npm/docs/output/using-npm/registry.html +234 -0
  206. package/node_modules/npm/docs/output/using-npm/removal.html +200 -0
  207. package/node_modules/npm/docs/output/using-npm/scope.html +244 -0
  208. package/node_modules/npm/docs/output/using-npm/scripts.html +410 -0
  209. package/node_modules/npm/docs/output/using-npm/semver.html +521 -0
  210. package/node_modules/npm/docs/template.html +161 -0
  211. package/node_modules/npm/lib/help.js +2 -2
  212. package/node_modules/npm/man/man1/npm-README.1 +1 -1
  213. package/node_modules/npm/man/man1/npm-access.1 +1 -1
  214. package/node_modules/npm/man/man1/npm-adduser.1 +1 -7
  215. package/node_modules/npm/man/man1/npm-audit.1 +1 -1
  216. package/node_modules/npm/man/man1/npm-bin.1 +1 -1
  217. package/node_modules/npm/man/man1/npm-bugs.1 +1 -1
  218. package/node_modules/npm/man/man1/npm-build.1 +2 -2
  219. package/node_modules/npm/man/man1/npm-bundle.1 +1 -1
  220. package/node_modules/npm/man/man1/npm-cache.1 +1 -1
  221. package/node_modules/npm/man/man1/npm-ci.1 +1 -1
  222. package/node_modules/npm/man/man1/npm-completion.1 +1 -1
  223. package/node_modules/npm/man/man1/npm-config.1 +1 -1
  224. package/node_modules/npm/man/man1/npm-dedupe.1 +1 -1
  225. package/node_modules/npm/man/man1/npm-deprecate.1 +1 -1
  226. package/node_modules/npm/man/man1/npm-dist-tag.1 +1 -7
  227. package/node_modules/npm/man/man1/npm-docs.1 +1 -1
  228. package/node_modules/npm/man/man1/npm-doctor.1 +1 -1
  229. package/node_modules/npm/man/man1/npm-edit.1 +1 -1
  230. package/node_modules/npm/man/man1/npm-explore.1 +1 -7
  231. package/node_modules/npm/man/man1/npm-fund.1 +1 -1
  232. package/node_modules/npm/man/man1/npm-help-search.1 +1 -1
  233. package/node_modules/npm/man/man1/npm-help.1 +1 -1
  234. package/node_modules/npm/man/man1/npm-hook.1 +1 -1
  235. package/node_modules/npm/man/man1/npm-init.1 +1 -1
  236. package/node_modules/npm/man/man1/npm-install-ci-test.1 +2 -2
  237. package/node_modules/npm/man/man1/npm-install-test.1 +2 -2
  238. package/node_modules/npm/man/man1/npm-install.1 +1 -1
  239. package/node_modules/npm/man/man1/npm-link.1 +1 -1
  240. package/node_modules/npm/man/man1/npm-logout.1 +1 -1
  241. package/node_modules/npm/man/man1/npm-ls.1 +2 -2
  242. package/node_modules/npm/man/man1/npm-org.1 +1 -1
  243. package/node_modules/npm/man/man1/npm-outdated.1 +1 -1
  244. package/node_modules/npm/man/man1/npm-owner.1 +1 -3
  245. package/node_modules/npm/man/man1/npm-pack.1 +1 -1
  246. package/node_modules/npm/man/man1/npm-ping.1 +1 -1
  247. package/node_modules/npm/man/man1/npm-prefix.1 +1 -1
  248. package/node_modules/npm/man/man1/npm-profile.1 +1 -1
  249. package/node_modules/npm/man/man1/npm-prune.1 +1 -1
  250. package/node_modules/npm/man/man1/npm-publish.1 +5 -5
  251. package/node_modules/npm/man/man1/npm-rebuild.1 +1 -1
  252. package/node_modules/npm/man/man1/npm-repo.1 +1 -1
  253. package/node_modules/npm/man/man1/npm-restart.1 +1 -1
  254. package/node_modules/npm/man/man1/npm-root.1 +1 -1
  255. package/node_modules/npm/man/man1/npm-run-script.1 +1 -1
  256. package/node_modules/npm/man/man1/npm-search.1 +1 -1
  257. package/node_modules/npm/man/man1/npm-shrinkwrap.1 +1 -1
  258. package/node_modules/npm/man/man1/npm-star.1 +1 -1
  259. package/node_modules/npm/man/man1/npm-stars.1 +1 -1
  260. package/node_modules/npm/man/man1/npm-start.1 +1 -1
  261. package/node_modules/npm/man/man1/npm-stop.1 +1 -1
  262. package/node_modules/npm/man/man1/npm-team.1 +1 -1
  263. package/node_modules/npm/man/man1/npm-test.1 +1 -1
  264. package/node_modules/npm/man/man1/npm-token.1 +1 -1
  265. package/node_modules/npm/man/man1/npm-uninstall.1 +1 -1
  266. package/node_modules/npm/man/man1/npm-unpublish.1 +1 -1
  267. package/node_modules/npm/man/man1/npm-update.1 +1 -1
  268. package/node_modules/npm/man/man1/npm-version.1 +1 -1
  269. package/node_modules/npm/man/man1/npm-view.1 +1 -1
  270. package/node_modules/npm/man/man1/npm-whoami.1 +1 -1
  271. package/node_modules/npm/man/man1/npm.1 +2 -2
  272. package/node_modules/npm/man/man5/folders.5 +1 -1
  273. package/node_modules/npm/man/man5/install.5 +2 -2
  274. package/node_modules/npm/man/man5/npmrc.5 +1 -1
  275. package/node_modules/npm/man/man5/package-json.5 +1 -1
  276. package/node_modules/npm/man/man5/package-lock-json.5 +1 -1
  277. package/node_modules/npm/man/man5/package-locks.5 +1 -1
  278. package/node_modules/npm/man/man5/shrinkwrap-json.5 +2 -2
  279. package/node_modules/npm/man/man7/config.7 +1 -1
  280. package/node_modules/npm/man/man7/developers.7 +1 -1
  281. package/node_modules/npm/man/man7/orgs.7 +1 -1
  282. package/node_modules/npm/man/man7/registry.7 +1 -3
  283. package/node_modules/npm/man/man7/removal.7 +1 -1
  284. package/node_modules/npm/man/man7/scope.7 +3 -2
  285. package/node_modules/npm/man/man7/scripts.7 +1 -1
  286. package/node_modules/npm/man/man7/semver.7 +1 -1
  287. package/node_modules/npm/node_modules/@iarna/cli/LICENSE +14 -0
  288. package/node_modules/npm/node_modules/@iarna/cli/README.md +152 -0
  289. package/node_modules/npm/node_modules/@iarna/cli/app.js +109 -0
  290. package/node_modules/npm/node_modules/@iarna/cli/package.json +35 -0
  291. package/node_modules/npm/{docs → node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/safe-buffer}/LICENSE +5 -6
  292. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  293. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  294. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  295. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  296. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  297. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  298. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  299. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  300. package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  301. package/node_modules/npm/node_modules/asn1/Jenkinsfile +65 -0
  302. package/node_modules/npm/node_modules/asn1/package.json +2 -2
  303. package/node_modules/npm/node_modules/aws4/.github/FUNDING.yml +3 -0
  304. package/node_modules/npm/node_modules/aws4/.travis.yml +5 -1
  305. package/node_modules/npm/node_modules/aws4/README.md +50 -390
  306. package/node_modules/npm/node_modules/aws4/aws4.js +63 -22
  307. package/node_modules/npm/node_modules/aws4/package.json +9 -63
  308. package/node_modules/npm/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  309. package/node_modules/npm/node_modules/balanced-match/README.md +6 -0
  310. package/node_modules/npm/node_modules/balanced-match/index.js +3 -0
  311. package/node_modules/npm/node_modules/balanced-match/package.json +3 -4
  312. package/node_modules/npm/node_modules/bluebird/README.md +1 -1
  313. package/node_modules/npm/node_modules/bluebird/js/browser/bluebird.core.js +210 -120
  314. package/node_modules/npm/node_modules/bluebird/js/browser/bluebird.core.min.js +3 -3
  315. package/node_modules/npm/node_modules/bluebird/js/browser/bluebird.js +240 -128
  316. package/node_modules/npm/node_modules/bluebird/js/browser/bluebird.min.js +4 -4
  317. package/node_modules/npm/node_modules/bluebird/js/release/async.js +3 -48
  318. package/node_modules/npm/node_modules/bluebird/js/release/debuggability.js +102 -27
  319. package/node_modules/npm/node_modules/bluebird/js/release/join.js +4 -7
  320. package/node_modules/npm/node_modules/bluebird/js/release/map.js +10 -3
  321. package/node_modules/npm/node_modules/bluebird/js/release/promise.js +58 -28
  322. package/node_modules/npm/node_modules/bluebird/js/release/promise_array.js +1 -0
  323. package/node_modules/npm/node_modules/bluebird/js/release/reduce.js +16 -5
  324. package/node_modules/npm/node_modules/bluebird/js/release/settle.js +4 -0
  325. package/node_modules/npm/node_modules/bluebird/js/release/util.js +39 -7
  326. package/node_modules/npm/node_modules/bluebird/package.json +1 -1
  327. package/node_modules/npm/node_modules/cacache/CHANGELOG.md +4 -0
  328. package/node_modules/npm/node_modules/cacache/package.json +6 -7
  329. package/node_modules/npm/node_modules/combined-stream/lib/combined_stream.js +21 -2
  330. package/node_modules/npm/node_modules/combined-stream/package.json +1 -1
  331. package/node_modules/npm/node_modules/combined-stream/yarn.lock +17 -0
  332. package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  333. package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  334. package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  335. package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  336. package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  337. package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  338. package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  339. package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  340. package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  341. package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  342. package/node_modules/npm/node_modules/config-chain/package.json +5 -7
  343. package/node_modules/npm/node_modules/decode-uri-component/index.js +4 -4
  344. package/node_modules/npm/node_modules/decode-uri-component/license +4 -16
  345. package/node_modules/npm/node_modules/decode-uri-component/package.json +35 -35
  346. package/node_modules/npm/node_modules/decode-uri-component/readme.md +14 -1
  347. package/node_modules/npm/node_modules/dezalgo/package.json +12 -8
  348. package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  349. package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  350. package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  351. package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  352. package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  353. package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  354. package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  355. package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  356. package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  357. package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  358. package/node_modules/npm/node_modules/env-paths/index.d.ts +32 -0
  359. package/node_modules/npm/node_modules/env-paths/package.json +1 -1
  360. package/node_modules/npm/node_modules/env-paths/readme.md +44 -5
  361. package/node_modules/npm/node_modules/figgy-pudding/CHANGELOG.md +38 -33
  362. package/node_modules/npm/node_modules/figgy-pudding/README.md +10 -2
  363. package/node_modules/npm/node_modules/figgy-pudding/package.json +4 -8
  364. package/node_modules/npm/node_modules/filter-obj/index.js +17 -0
  365. package/node_modules/npm/node_modules/filter-obj/license +21 -0
  366. package/node_modules/npm/node_modules/filter-obj/package.json +37 -0
  367. package/node_modules/npm/node_modules/filter-obj/readme.md +41 -0
  368. package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  369. package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  370. package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  371. package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  372. package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  373. package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  374. package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  375. package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  376. package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  377. package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  378. package/node_modules/npm/node_modules/form-data/README.md +4 -4
  379. package/node_modules/npm/node_modules/form-data/package.json +2 -2
  380. package/node_modules/npm/node_modules/form-data/yarn.lock +2662 -0
  381. package/node_modules/npm/node_modules/from2/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  382. package/node_modules/npm/node_modules/from2/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  383. package/node_modules/npm/node_modules/from2/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  384. package/node_modules/npm/node_modules/from2/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  385. package/node_modules/npm/node_modules/from2/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  386. package/node_modules/npm/node_modules/from2/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  387. package/node_modules/npm/node_modules/from2/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  388. package/node_modules/npm/node_modules/from2/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  389. package/node_modules/npm/node_modules/from2/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  390. package/node_modules/npm/node_modules/from2/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  391. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  392. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  393. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  394. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  395. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  396. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  397. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  398. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  399. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  400. package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  401. package/node_modules/npm/node_modules/glob/README.md +4 -1
  402. package/node_modules/npm/node_modules/glob/common.js +6 -8
  403. package/node_modules/npm/node_modules/glob/glob.js +8 -8
  404. package/node_modules/npm/node_modules/glob/node_modules/minimatch/LICENSE +15 -0
  405. package/node_modules/npm/node_modules/glob/node_modules/minimatch/README.md +230 -0
  406. package/node_modules/npm/node_modules/glob/node_modules/minimatch/minimatch.js +947 -0
  407. package/node_modules/npm/node_modules/glob/node_modules/minimatch/package.json +33 -0
  408. package/node_modules/npm/node_modules/glob/package.json +13 -4
  409. package/node_modules/npm/node_modules/glob/sync.js +10 -10
  410. package/node_modules/npm/node_modules/graceful-fs/LICENSE +1 -1
  411. package/node_modules/npm/node_modules/graceful-fs/README.md +11 -1
  412. package/node_modules/npm/node_modules/graceful-fs/clone.js +5 -1
  413. package/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +132 -38
  414. package/node_modules/npm/node_modules/graceful-fs/package.json +4 -4
  415. package/node_modules/npm/node_modules/graceful-fs/polyfills.js +48 -35
  416. package/node_modules/npm/node_modules/is-cidr/README.md +6 -10
  417. package/node_modules/npm/node_modules/is-cidr/index.d.ts +31 -0
  418. package/node_modules/npm/node_modules/is-cidr/index.js +1 -0
  419. package/node_modules/npm/node_modules/is-cidr/package.json +12 -6
  420. package/node_modules/npm/node_modules/json-parse-even-better-errors/CHANGELOG.md +50 -0
  421. package/node_modules/npm/node_modules/json-parse-even-better-errors/LICENSE.md +25 -0
  422. package/node_modules/npm/node_modules/json-parse-even-better-errors/README.md +96 -0
  423. package/node_modules/npm/node_modules/json-parse-even-better-errors/index.js +121 -0
  424. package/node_modules/npm/node_modules/json-parse-even-better-errors/package.json +33 -0
  425. package/node_modules/npm/node_modules/lock-verify/README.md +8 -0
  426. package/node_modules/npm/node_modules/lock-verify/cli.js +17 -0
  427. package/node_modules/npm/node_modules/lock-verify/package.json +8 -12
  428. package/node_modules/npm/node_modules/meant/CHANGELOG.md +7 -0
  429. package/node_modules/npm/node_modules/meant/package.json +4 -1
  430. package/node_modules/npm/node_modules/minimatch/README.md +22 -1
  431. package/node_modules/npm/node_modules/minimatch/minimatch.js +93 -69
  432. package/node_modules/npm/node_modules/minimatch/package.json +6 -3
  433. package/node_modules/npm/node_modules/mkdirp/index.js +5 -2
  434. package/node_modules/npm/node_modules/mkdirp/package.json +3 -4
  435. package/node_modules/npm/node_modules/node-gyp/.github/ISSUE_TEMPLATE.md +27 -5
  436. package/node_modules/npm/node_modules/node-gyp/.github/workflows/Python_tests.yml +1 -1
  437. package/node_modules/npm/node_modules/node-gyp/CHANGELOG.md +14 -0
  438. package/node_modules/npm/node_modules/node-gyp/CONTRIBUTING.md +1 -1
  439. package/node_modules/npm/node_modules/node-gyp/README.md +3 -3
  440. package/node_modules/npm/node_modules/node-gyp/addon.gypi +22 -1
  441. package/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +2 -3
  442. package/node_modules/npm/node_modules/node-gyp/macOS_Catalina.md +14 -12
  443. package/node_modules/npm/node_modules/node-gyp/package.json +1 -1
  444. package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  445. package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  446. package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  447. package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  448. package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  449. package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  450. package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  451. package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  452. package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  453. package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  454. package/node_modules/npm/node_modules/psl/.env +0 -0
  455. package/node_modules/npm/node_modules/psl/LICENSE +9 -0
  456. package/node_modules/npm/node_modules/psl/README.md +4 -6
  457. package/node_modules/npm/node_modules/psl/browserstack-logo.svg +90 -0
  458. package/node_modules/npm/node_modules/psl/data/rules.json +9376 -1
  459. package/node_modules/npm/node_modules/psl/dist/psl.js +9378 -3
  460. package/node_modules/npm/node_modules/psl/dist/psl.min.js +1 -1
  461. package/node_modules/npm/node_modules/psl/package.json +24 -23
  462. package/node_modules/npm/node_modules/qs/.editorconfig +14 -1
  463. package/node_modules/npm/node_modules/qs/.eslintrc +21 -3
  464. package/node_modules/npm/node_modules/qs/.github/FUNDING.yml +12 -0
  465. package/node_modules/npm/node_modules/qs/.nycrc +13 -0
  466. package/node_modules/npm/node_modules/qs/CHANGELOG.md +24 -0
  467. package/node_modules/npm/node_modules/qs/LICENSE.md +29 -0
  468. package/node_modules/npm/node_modules/qs/README.md +54 -19
  469. package/node_modules/npm/node_modules/qs/bower.json +21 -0
  470. package/node_modules/npm/node_modules/qs/component.json +15 -0
  471. package/node_modules/npm/node_modules/qs/dist/qs.js +35 -25
  472. package/node_modules/npm/node_modules/qs/lib/formats.js +1 -1
  473. package/node_modules/npm/node_modules/qs/lib/parse.js +6 -5
  474. package/node_modules/npm/node_modules/qs/lib/stringify.js +21 -14
  475. package/node_modules/npm/node_modules/qs/lib/utils.js +7 -5
  476. package/node_modules/npm/node_modules/qs/package.json +18 -16
  477. package/node_modules/npm/node_modules/qs/test/parse.js +79 -4
  478. package/node_modules/npm/node_modules/qs/test/stringify.js +45 -0
  479. package/node_modules/npm/node_modules/qs/test/utils.js +31 -0
  480. package/node_modules/npm/node_modules/query-string/index.d.ts +290 -9
  481. package/node_modules/npm/node_modules/query-string/index.js +154 -28
  482. package/node_modules/npm/node_modules/query-string/license +1 -1
  483. package/node_modules/npm/node_modules/query-string/package.json +9 -4
  484. package/node_modules/npm/node_modules/query-string/readme.md +275 -26
  485. package/node_modules/npm/node_modules/qw/LICENSE +0 -0
  486. package/node_modules/npm/node_modules/qw/README.md +0 -0
  487. package/node_modules/npm/node_modules/qw/package.json +1 -1
  488. package/node_modules/npm/node_modules/qw/qw.js +1 -0
  489. package/node_modules/npm/node_modules/read-package-json/CHANGELOG.md +10 -0
  490. package/node_modules/npm/node_modules/read-package-json/package.json +3 -6
  491. package/node_modules/npm/node_modules/read-package-json/read-json.js +2 -7
  492. package/node_modules/npm/node_modules/request/CHANGELOG.md +8 -0
  493. package/node_modules/npm/node_modules/request/README.md +81 -45
  494. package/node_modules/npm/node_modules/request/index.js +1 -1
  495. package/node_modules/npm/node_modules/request/lib/auth.js +1 -1
  496. package/node_modules/npm/node_modules/request/lib/getProxyFromURI.js +1 -1
  497. package/node_modules/npm/node_modules/request/lib/har.js +1 -1
  498. package/node_modules/npm/node_modules/request/package.json +6 -6
  499. package/node_modules/npm/node_modules/request/request.js +13 -11
  500. package/node_modules/npm/node_modules/safe-buffer/index.js +3 -0
  501. package/node_modules/npm/node_modules/safe-buffer/package.json +18 -4
  502. package/node_modules/npm/node_modules/sshpk/Jenkinsfile +86 -0
  503. package/node_modules/npm/node_modules/sshpk/README.md +116 -10
  504. package/node_modules/npm/node_modules/sshpk/bin/sshpk-conv +73 -32
  505. package/node_modules/npm/node_modules/sshpk/lib/certificate.js +33 -1
  506. package/node_modules/npm/node_modules/sshpk/lib/dhe.js +4 -21
  507. package/node_modules/npm/node_modules/sshpk/lib/ed-compat.js +1 -7
  508. package/node_modules/npm/node_modules/sshpk/lib/fingerprint.js +69 -11
  509. package/node_modules/npm/node_modules/sshpk/lib/formats/auto.js +18 -1
  510. package/node_modules/npm/node_modules/sshpk/lib/formats/openssh-cert.js +37 -8
  511. package/node_modules/npm/node_modules/sshpk/lib/formats/pem.js +107 -9
  512. package/node_modules/npm/node_modules/sshpk/lib/formats/pkcs8.js +23 -4
  513. package/node_modules/npm/node_modules/sshpk/lib/formats/putty.js +194 -0
  514. package/node_modules/npm/node_modules/sshpk/lib/formats/x509-pem.js +14 -4
  515. package/node_modules/npm/node_modules/sshpk/lib/formats/x509.js +28 -5
  516. package/node_modules/npm/node_modules/sshpk/lib/identity.js +87 -3
  517. package/node_modules/npm/node_modules/sshpk/lib/index.js +1 -0
  518. package/node_modules/npm/node_modules/sshpk/lib/key.js +30 -11
  519. package/node_modules/npm/node_modules/sshpk/lib/private-key.js +11 -17
  520. package/node_modules/npm/node_modules/sshpk/lib/utils.js +48 -33
  521. package/node_modules/npm/node_modules/sshpk/package.json +5 -5
  522. package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  523. package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  524. package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  525. package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  526. package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  527. package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  528. package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  529. package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  530. package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  531. package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  532. package/node_modules/npm/node_modules/through2/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  533. package/node_modules/npm/node_modules/through2/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  534. package/node_modules/npm/node_modules/through2/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  535. package/node_modules/npm/node_modules/through2/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  536. package/node_modules/npm/node_modules/through2/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  537. package/node_modules/npm/node_modules/through2/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  538. package/node_modules/npm/node_modules/through2/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  539. package/node_modules/npm/node_modules/through2/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  540. package/node_modules/npm/node_modules/through2/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  541. package/node_modules/npm/node_modules/through2/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  542. package/node_modules/npm/node_modules/tough-cookie/README.md +24 -4
  543. package/node_modules/npm/node_modules/tough-cookie/lib/cookie.js +54 -3
  544. package/node_modules/npm/node_modules/tough-cookie/lib/memstore.js +5 -0
  545. package/node_modules/npm/node_modules/tough-cookie/lib/store.js +4 -0
  546. package/node_modules/npm/node_modules/tough-cookie/lib/version.js +2 -0
  547. package/node_modules/npm/node_modules/{punycode → tough-cookie/node_modules/punycode}/README.md +9 -63
  548. package/node_modules/npm/node_modules/tough-cookie/node_modules/punycode/package.json +58 -0
  549. package/node_modules/npm/node_modules/tough-cookie/node_modules/punycode/punycode.es6.js +441 -0
  550. package/node_modules/npm/node_modules/tough-cookie/node_modules/punycode/punycode.js +440 -0
  551. package/node_modules/npm/node_modules/tough-cookie/package.json +6 -4
  552. package/node_modules/npm/node_modules/uri-js/README.md +3 -1
  553. package/node_modules/npm/node_modules/uri-js/dist/es5/uri.all.js +1 -1
  554. package/node_modules/npm/node_modules/uri-js/dist/es5/uri.all.min.js +1 -1
  555. package/node_modules/npm/node_modules/uri-js/package.json +2 -2
  556. package/node_modules/npm/node_modules/uri-js/yarn.lock +1263 -628
  557. package/node_modules/npm/node_modules/uuid/CHANGELOG.md +25 -18
  558. package/node_modules/npm/node_modules/uuid/README.md +27 -44
  559. package/node_modules/npm/node_modules/uuid/lib/bytesToUuid.js +10 -8
  560. package/node_modules/npm/node_modules/uuid/package.json +13 -8
  561. package/node_modules/npm/node_modules/uuid/v1.js +1 -1
  562. package/node_modules/npm/package.json +27 -23
  563. package/node_modules/npm/scripts/docs-build.js +15 -3
  564. package/node_modules/object-inspect/CHANGELOG.md +10 -0
  565. package/node_modules/object-inspect/index.js +10 -6
  566. package/node_modules/object-inspect/package.json +10 -7
  567. package/node_modules/punycode/README.md +7 -3
  568. package/node_modules/punycode/package.json +5 -5
  569. package/node_modules/punycode/punycode.es6.js +24 -21
  570. package/node_modules/punycode/punycode.js +24 -21
  571. package/node_modules/raw-body/HISTORY.md +5 -0
  572. package/node_modules/raw-body/README.md +1 -1
  573. package/node_modules/raw-body/index.js +7 -0
  574. package/node_modules/raw-body/package.json +7 -7
  575. package/package.json +1 -1
  576. package/node_modules/npm/.eslintrc +0 -3
  577. package/node_modules/npm/docs/content/using-npm/disputes.md +0 -137
  578. package/node_modules/npm/docs/gatsby-browser.js +0 -8
  579. package/node_modules/npm/docs/gatsby-config.js +0 -88
  580. package/node_modules/npm/docs/gatsby-node.js +0 -43
  581. package/node_modules/npm/docs/gatsby-ssr.js +0 -6
  582. package/node_modules/npm/docs/package-lock.json +0 -18301
  583. package/node_modules/npm/docs/package.json +0 -45
  584. package/node_modules/npm/docs/public/cli-commands/npm/index.html +0 -213
  585. package/node_modules/npm/docs/public/cli-commands/npm-access/index.html +0 -151
  586. package/node_modules/npm/docs/public/cli-commands/npm-adduser/index.html +0 -146
  587. package/node_modules/npm/docs/public/cli-commands/npm-audit/index.html +0 -168
  588. package/node_modules/npm/docs/public/cli-commands/npm-bin/index.html +0 -97
  589. package/node_modules/npm/docs/public/cli-commands/npm-bugs/index.html +0 -117
  590. package/node_modules/npm/docs/public/cli-commands/npm-build/index.html +0 -103
  591. package/node_modules/npm/docs/public/cli-commands/npm-bundle/index.html +0 -94
  592. package/node_modules/npm/docs/public/cli-commands/npm-cache/index.html +0 -148
  593. package/node_modules/npm/docs/public/cli-commands/npm-ci/index.html +0 -125
  594. package/node_modules/npm/docs/public/cli-commands/npm-completion/index.html +0 -107
  595. package/node_modules/npm/docs/public/cli-commands/npm-config/index.html +0 -131
  596. package/node_modules/npm/docs/public/cli-commands/npm-dedupe/index.html +0 -124
  597. package/node_modules/npm/docs/public/cli-commands/npm-deprecate/index.html +0 -103
  598. package/node_modules/npm/docs/public/cli-commands/npm-dist-tag/index.html +0 -152
  599. package/node_modules/npm/docs/public/cli-commands/npm-docs/index.html +0 -118
  600. package/node_modules/npm/docs/public/cli-commands/npm-doctor/index.html +0 -166
  601. package/node_modules/npm/docs/public/cli-commands/npm-edit/index.html +0 -113
  602. package/node_modules/npm/docs/public/cli-commands/npm-explore/index.html +0 -117
  603. package/node_modules/npm/docs/public/cli-commands/npm-fund/index.html +0 -131
  604. package/node_modules/npm/docs/public/cli-commands/npm-help/index.html +0 -110
  605. package/node_modules/npm/docs/public/cli-commands/npm-help-search/index.html +0 -108
  606. package/node_modules/npm/docs/public/cli-commands/npm-hook/index.html +0 -122
  607. package/node_modules/npm/docs/public/cli-commands/npm-init/index.html +0 -129
  608. package/node_modules/npm/docs/public/cli-commands/npm-install/index.html +0 -471
  609. package/node_modules/npm/docs/public/cli-commands/npm-install-ci-test/index.html +0 -96
  610. package/node_modules/npm/docs/public/cli-commands/npm-install-test/index.html +0 -105
  611. package/node_modules/npm/docs/public/cli-commands/npm-link/index.html +0 -137
  612. package/node_modules/npm/docs/public/cli-commands/npm-logout/index.html +0 -112
  613. package/node_modules/npm/docs/public/cli-commands/npm-ls/index.html +0 -179
  614. package/node_modules/npm/docs/public/cli-commands/npm-org/index.html +0 -110
  615. package/node_modules/npm/docs/public/cli-commands/npm-outdated/index.html +0 -181
  616. package/node_modules/npm/docs/public/cli-commands/npm-owner/index.html +0 -117
  617. package/node_modules/npm/docs/public/cli-commands/npm-pack/index.html +0 -105
  618. package/node_modules/npm/docs/public/cli-commands/npm-ping/index.html +0 -98
  619. package/node_modules/npm/docs/public/cli-commands/npm-prefix/index.html +0 -101
  620. package/node_modules/npm/docs/public/cli-commands/npm-profile/index.html +0 -151
  621. package/node_modules/npm/docs/public/cli-commands/npm-prune/index.html +0 -111
  622. package/node_modules/npm/docs/public/cli-commands/npm-publish/index.html +0 -143
  623. package/node_modules/npm/docs/public/cli-commands/npm-rebuild/index.html +0 -96
  624. package/node_modules/npm/docs/public/cli-commands/npm-repo/index.html +0 -104
  625. package/node_modules/npm/docs/public/cli-commands/npm-restart/index.html +0 -116
  626. package/node_modules/npm/docs/public/cli-commands/npm-root/index.html +0 -97
  627. package/node_modules/npm/docs/public/cli-commands/npm-run-script/index.html +0 -146
  628. package/node_modules/npm/docs/public/cli-commands/npm-search/index.html +0 -171
  629. package/node_modules/npm/docs/public/cli-commands/npm-shrinkwrap/index.html +0 -104
  630. package/node_modules/npm/docs/public/cli-commands/npm-star/index.html +0 -99
  631. package/node_modules/npm/docs/public/cli-commands/npm-stars/index.html +0 -99
  632. package/node_modules/npm/docs/public/cli-commands/npm-start/index.html +0 -101
  633. package/node_modules/npm/docs/public/cli-commands/npm-stop/index.html +0 -97
  634. package/node_modules/npm/docs/public/cli-commands/npm-team/index.html +0 -128
  635. package/node_modules/npm/docs/public/cli-commands/npm-test/index.html +0 -99
  636. package/node_modules/npm/docs/public/cli-commands/npm-token/index.html +0 -136
  637. package/node_modules/npm/docs/public/cli-commands/npm-uninstall/index.html +0 -121
  638. package/node_modules/npm/docs/public/cli-commands/npm-unpublish/index.html +0 -109
  639. package/node_modules/npm/docs/public/cli-commands/npm-update/index.html +0 -170
  640. package/node_modules/npm/docs/public/cli-commands/npm-version/index.html +0 -183
  641. package/node_modules/npm/docs/public/cli-commands/npm-view/index.html +0 -148
  642. package/node_modules/npm/docs/public/cli-commands/npm-whoami/index.html +0 -95
  643. package/node_modules/npm/docs/public/configuring-npm/folders/index.html +0 -243
  644. package/node_modules/npm/docs/public/configuring-npm/install/index.html +0 -126
  645. package/node_modules/npm/docs/public/configuring-npm/npmrc/index.html +0 -148
  646. package/node_modules/npm/docs/public/configuring-npm/package-json/index.html +0 -714
  647. package/node_modules/npm/docs/public/configuring-npm/package-lock-json/index.html +0 -189
  648. package/node_modules/npm/docs/public/configuring-npm/package-locks/index.html +0 -217
  649. package/node_modules/npm/docs/public/configuring-npm/shrinkwrap-json/index.html +0 -105
  650. package/node_modules/npm/docs/public/icons/icon-144x144.png +0 -0
  651. package/node_modules/npm/docs/public/icons/icon-192x192.png +0 -0
  652. package/node_modules/npm/docs/public/icons/icon-256x256.png +0 -0
  653. package/node_modules/npm/docs/public/icons/icon-384x384.png +0 -0
  654. package/node_modules/npm/docs/public/icons/icon-48x48.png +0 -0
  655. package/node_modules/npm/docs/public/icons/icon-512x512.png +0 -0
  656. package/node_modules/npm/docs/public/icons/icon-72x72.png +0 -0
  657. package/node_modules/npm/docs/public/icons/icon-96x96.png +0 -0
  658. package/node_modules/npm/docs/public/index.html +0 -131
  659. package/node_modules/npm/docs/public/static/d/2215187023.json +0 -1
  660. package/node_modules/npm/docs/public/static/d/2417117884.json +0 -1
  661. package/node_modules/npm/docs/public/static/network-icon-f659855f70bb0e12addd96250807c241.svg +0 -1
  662. package/node_modules/npm/docs/public/styles.e93b5499b63484750fba.css +0 -1
  663. package/node_modules/npm/docs/public/using-npm/config/index.html +0 -1164
  664. package/node_modules/npm/docs/public/using-npm/developers/index.html +0 -262
  665. package/node_modules/npm/docs/public/using-npm/disputes/index.html +0 -195
  666. package/node_modules/npm/docs/public/using-npm/orgs/index.html +0 -147
  667. package/node_modules/npm/docs/public/using-npm/registry/index.html +0 -159
  668. package/node_modules/npm/docs/public/using-npm/removal/index.html +0 -119
  669. package/node_modules/npm/docs/public/using-npm/scope/index.html +0 -162
  670. package/node_modules/npm/docs/public/using-npm/scripts/index.html +0 -326
  671. package/node_modules/npm/docs/public/using-npm/semver/index.html +0 -438
  672. package/node_modules/npm/docs/src/components/Accordion.js +0 -57
  673. package/node_modules/npm/docs/src/components/Button.js +0 -22
  674. package/node_modules/npm/docs/src/components/DocLinks.js +0 -72
  675. package/node_modules/npm/docs/src/components/FoundTypo.js +0 -23
  676. package/node_modules/npm/docs/src/components/MobileSidebar.js +0 -33
  677. package/node_modules/npm/docs/src/components/Sidebar.js +0 -30
  678. package/node_modules/npm/docs/src/components/home/DarkBlock.js +0 -40
  679. package/node_modules/npm/docs/src/components/home/FeatureCard.js +0 -39
  680. package/node_modules/npm/docs/src/components/home/Features.js +0 -83
  681. package/node_modules/npm/docs/src/components/home/Footer.js +0 -29
  682. package/node_modules/npm/docs/src/components/home/Terminal.js +0 -120
  683. package/node_modules/npm/docs/src/components/home/Windows.js +0 -73
  684. package/node_modules/npm/docs/src/components/home/cubes.js +0 -101
  685. package/node_modules/npm/docs/src/components/home/hero.js +0 -25
  686. package/node_modules/npm/docs/src/components/layout.js +0 -24
  687. package/node_modules/npm/docs/src/components/links.js +0 -50
  688. package/node_modules/npm/docs/src/components/navbar.js +0 -136
  689. package/node_modules/npm/docs/src/components/scripts.js +0 -27
  690. package/node_modules/npm/docs/src/components/seo.js +0 -88
  691. package/node_modules/npm/docs/src/images/background-boxes.svg +0 -2782
  692. package/node_modules/npm/docs/src/images/background-cubes.svg +0 -2767
  693. package/node_modules/npm/docs/src/images/background-rectangles.svg +0 -1
  694. package/node_modules/npm/docs/src/images/bracket.svg +0 -1
  695. package/node_modules/npm/docs/src/images/cli-logo.svg +0 -1
  696. package/node_modules/npm/docs/src/images/down-carrot.svg +0 -1
  697. package/node_modules/npm/docs/src/images/hamburger-close.svg +0 -1
  698. package/node_modules/npm/docs/src/images/hamburger.svg +0 -1
  699. package/node_modules/npm/docs/src/images/manager-icon.svg +0 -1
  700. package/node_modules/npm/docs/src/images/network-icon.svg +0 -1
  701. package/node_modules/npm/docs/src/images/npm-icon.png +0 -0
  702. package/node_modules/npm/docs/src/images/orange-cube.svg +0 -1
  703. package/node_modules/npm/docs/src/images/pink-gradient-cube.svg +0 -1
  704. package/node_modules/npm/docs/src/images/purple-cube.svg +0 -1
  705. package/node_modules/npm/docs/src/images/purple-gradient-cube.svg +0 -1
  706. package/node_modules/npm/docs/src/images/red-cube.svg +0 -1
  707. package/node_modules/npm/docs/src/images/right-shadow-box.svg +0 -2809
  708. package/node_modules/npm/docs/src/images/terminal-icon.svg +0 -1
  709. package/node_modules/npm/docs/src/images/test-icon.svg +0 -1
  710. package/node_modules/npm/docs/src/images/up-carrot.svg +0 -1
  711. package/node_modules/npm/docs/src/images/x.svg +0 -1
  712. package/node_modules/npm/docs/src/main.css +0 -167
  713. package/node_modules/npm/docs/src/pages/404.js +0 -12
  714. package/node_modules/npm/docs/src/pages/index.js +0 -16
  715. package/node_modules/npm/docs/src/templates/Page.js +0 -40
  716. package/node_modules/npm/docs/src/theme.js +0 -50
  717. package/node_modules/npm/man/man7/disputes.7 +0 -149
  718. package/node_modules/npm/node_modules/balanced-match/.npmignore +0 -5
  719. package/node_modules/npm/node_modules/combined-stream/lib/defer.js +0 -26
  720. package/node_modules/npm/node_modules/dezalgo/.travis.yml +0 -7
  721. package/node_modules/npm/node_modules/dezalgo/test/basic.js +0 -29
  722. package/node_modules/npm/node_modules/glob/changelog.md +0 -67
  723. package/node_modules/npm/node_modules/meant/.github/workflows/ci.yml +0 -20
  724. package/node_modules/npm/node_modules/meant/test.js +0 -11
  725. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/.travis.yml +0 -8
  726. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/LICENSE +0 -18
  727. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/example/parse.js +0 -2
  728. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/index.js +0 -249
  729. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/package.json +0 -45
  730. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/readme.markdown +0 -98
  731. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/all_bool.js +0 -32
  732. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/bool.js +0 -178
  733. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/dash.js +0 -31
  734. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/default_bool.js +0 -35
  735. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/dotted.js +0 -22
  736. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/kv_short.js +0 -16
  737. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/long.js +0 -31
  738. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/num.js +0 -36
  739. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/parse.js +0 -197
  740. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/parse_modified.js +0 -9
  741. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/proto.js +0 -60
  742. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/short.js +0 -67
  743. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/stop_early.js +0 -15
  744. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/unknown.js +0 -102
  745. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/whitespace.js +0 -8
  746. package/node_modules/npm/node_modules/psl/.eslintignore +0 -1
  747. package/node_modules/npm/node_modules/psl/.eslintrc +0 -11
  748. package/node_modules/npm/node_modules/psl/.travis.yml +0 -6
  749. package/node_modules/npm/node_modules/psl/karma.conf.js +0 -38
  750. package/node_modules/npm/node_modules/psl/yarn.lock +0 -4532
  751. package/node_modules/npm/node_modules/punycode/package.json +0 -60
  752. package/node_modules/npm/node_modules/punycode/punycode.js +0 -533
  753. package/node_modules/npm/node_modules/qs/.eslintignore +0 -1
  754. package/node_modules/npm/node_modules/qs/LICENSE +0 -28
  755. package/node_modules/npm/node_modules/qs/test/.eslintrc +0 -15
  756. package/node_modules/npm/node_modules/qw/README.md~ +0 -27
  757. package/node_modules/npm/node_modules/sshpk/.npmignore +0 -9
  758. /package/node_modules/npm/node_modules/{punycode → tough-cookie/node_modules/punycode}/LICENSE-MIT.txt +0 -0
@@ -126,6 +126,9 @@ Parameters
126
126
  - `rfc4253`: raw OpenSSH wire format
127
127
  - `openssh`: new post-OpenSSH 6.5 internal format, produced by
128
128
  `ssh-keygen -o`
129
+ - `dnssec`: `.key` file format output by `dnssec-keygen` etc
130
+ - `putty`: the PuTTY `.ppk` file format (supports truncated variant without
131
+ all the lines from `Private-Lines:` onwards)
129
132
  - `options` -- Optional Object, extra options, with keys:
130
133
  - `filename` -- Optional String, name for the key being parsed
131
134
  (eg. the filename that was opened). Used to generate
@@ -174,7 +177,7 @@ Parameters
174
177
 
175
178
  Same as `this.toBuffer(format).toString()`.
176
179
 
177
- ### `Key#fingerprint([algorithm = 'sha256'])`
180
+ ### `Key#fingerprint([algorithm = 'sha256'[, hashType = 'ssh']])`
178
181
 
179
182
  Creates a new `Fingerprint` object representing this Key's fingerprint.
180
183
 
@@ -182,6 +185,9 @@ Parameters
182
185
 
183
186
  - `algorithm` -- String name of hash algorithm to use, valid options are `md5`,
184
187
  `sha1`, `sha256`, `sha384`, `sha512`
188
+ - `hashType` -- String name of fingerprint hash type to use, valid options are
189
+ `ssh` (the type of fingerprint used by OpenSSH, e.g. in
190
+ `ssh-keygen`), `spki` (used by HPKP, some OpenSSL applications)
185
191
 
186
192
  ### `Key#createVerify([hashAlgorithm])`
187
193
 
@@ -231,6 +237,7 @@ Parameters
231
237
  `ssh-keygen -o`
232
238
  - `pkcs1`, `pkcs8`: variants of `pem`
233
239
  - `rfc4253`: raw OpenSSH wire format
240
+ - `dnssec`: `.private` format output by `dnssec-keygen` etc.
234
241
  - `options` -- Optional Object, extra options, with keys:
235
242
  - `filename` -- Optional String, name for the key being parsed
236
243
  (eg. the filename that was opened). Used to generate
@@ -333,7 +340,7 @@ Parameters
333
340
 
334
341
  ## Fingerprints
335
342
 
336
- ### `parseFingerprint(fingerprint[, algorithms])`
343
+ ### `parseFingerprint(fingerprint[, options])`
337
344
 
338
345
  Pre-parses a fingerprint, creating a `Fingerprint` object that can be used to
339
346
  quickly locate a key by using the `Fingerprint#matches` function.
@@ -341,9 +348,15 @@ quickly locate a key by using the `Fingerprint#matches` function.
341
348
  Parameters
342
349
 
343
350
  - `fingerprint` -- String, the fingerprint value, in any supported format
344
- - `algorithms` -- Optional list of strings, names of hash algorithms to limit
345
- support to. If `fingerprint` uses a hash algorithm not on
346
- this list, throws `InvalidAlgorithmError`.
351
+ - `options` -- Optional Object, with properties:
352
+ - `algorithms` -- Array of strings, names of hash algorithms to limit
353
+ support to. If `fingerprint` uses a hash algorithm not on
354
+ this list, throws `InvalidAlgorithmError`.
355
+ - `hashType` -- String, the type of hash the fingerprint uses, either `ssh`
356
+ or `spki` (normally auto-detected based on the format, but
357
+ can be overridden)
358
+ - `type` -- String, the entity this fingerprint identifies, either `key` or
359
+ `certificate`
347
360
 
348
361
  ### `Fingerprint.isFingerprint(obj)`
349
362
 
@@ -364,14 +377,19 @@ Parameters
364
377
  `base64`. If this `Fingerprint` uses the `md5` algorithm, the
365
378
  default format is `hex`. Otherwise, the default is `base64`.
366
379
 
367
- ### `Fingerprint#matches(key)`
380
+ ### `Fingerprint#matches(keyOrCertificate)`
368
381
 
369
- Verifies whether or not this `Fingerprint` matches a given `Key`. This function
370
- uses double-hashing to avoid leaking timing information. Returns a boolean.
382
+ Verifies whether or not this `Fingerprint` matches a given `Key` or
383
+ `Certificate`. This function uses double-hashing to avoid leaking timing
384
+ information. Returns a boolean.
385
+
386
+ Note that a `Key`-type Fingerprint will always return `false` if asked to match
387
+ a `Certificate` and vice versa.
371
388
 
372
389
  Parameters
373
390
 
374
- - `key` -- a `Key` object, the key to match this fingerprint against
391
+ - `keyOrCertificate` -- a `Key` object or `Certificate` object, the entity to
392
+ match this fingerprint against
375
393
 
376
394
  ## Signatures
377
395
 
@@ -507,6 +525,24 @@ is valid for. The possible strings at the moment are:
507
525
  Authority)
508
526
  * `'crl'` -- key can be used to sign Certificate Revocation Lists (CRLs)
509
527
 
528
+ ### `Certificate#getExtension(nameOrOid)`
529
+
530
+ Retrieves information about a certificate extension, if present, or returns
531
+ `undefined` if not. The string argument `nameOrOid` should be either the OID
532
+ (for X509 extensions) or the name (for OpenSSH extensions) of the extension
533
+ to retrieve.
534
+
535
+ The object returned will have the following properties:
536
+
537
+ * `format` -- String, set to either `'x509'` or `'openssh'`
538
+ * `name` or `oid` -- String, only one set based on value of `format`
539
+ * `data` -- Buffer, the raw data inside the extension
540
+
541
+ ### `Certificate#getExtensions()`
542
+
543
+ Returns an Array of all present certificate extensions, in the same manner and
544
+ format as `getExtension()`.
545
+
510
546
  ### `Certificate#isExpired([when])`
511
547
 
512
548
  Tests whether the Certificate is currently expired (i.e. the `validFrom` and
@@ -614,6 +650,44 @@ Parameters
614
650
 
615
651
  Returns an Identity instance.
616
652
 
653
+ ### `identityFromArray(arr)`
654
+
655
+ Constructs an Identity from an array of DN components (see `Identity#toArray()`
656
+ for the format).
657
+
658
+ Parameters
659
+
660
+ - `arr` -- an Array of Objects, DN components with `name` and `value`
661
+
662
+ Returns an Identity instance.
663
+
664
+
665
+ Supported attributes in DNs:
666
+
667
+ | Attribute name | OID |
668
+ | -------------- | --- |
669
+ | `cn` | `2.5.4.3` |
670
+ | `o` | `2.5.4.10` |
671
+ | `ou` | `2.5.4.11` |
672
+ | `l` | `2.5.4.7` |
673
+ | `s` | `2.5.4.8` |
674
+ | `c` | `2.5.4.6` |
675
+ | `sn` | `2.5.4.4` |
676
+ | `postalCode` | `2.5.4.17` |
677
+ | `serialNumber` | `2.5.4.5` |
678
+ | `street` | `2.5.4.9` |
679
+ | `x500UniqueIdentifier` | `2.5.4.45` |
680
+ | `role` | `2.5.4.72` |
681
+ | `telephoneNumber` | `2.5.4.20` |
682
+ | `description` | `2.5.4.13` |
683
+ | `dc` | `0.9.2342.19200300.100.1.25` |
684
+ | `uid` | `0.9.2342.19200300.100.1.1` |
685
+ | `mail` | `0.9.2342.19200300.100.1.3` |
686
+ | `title` | `2.5.4.12` |
687
+ | `gn` | `2.5.4.42` |
688
+ | `initials` | `2.5.4.43` |
689
+ | `pseudonym` | `2.5.4.65` |
690
+
617
691
  ### `Identity#toString()`
618
692
 
619
693
  Returns the identity as an LDAP-style DN string.
@@ -631,7 +705,39 @@ Set when `type` is `'host'`, `'user'`, or `'email'`, respectively. Strings.
631
705
 
632
706
  ### `Identity#cn`
633
707
 
634
- The value of the first `CN=` in the DN, if any.
708
+ The value of the first `CN=` in the DN, if any. It's probably better to use
709
+ the `#get()` method instead of this property.
710
+
711
+ ### `Identity#get(name[, asArray])`
712
+
713
+ Returns the value of a named attribute in the Identity DN. If there is no
714
+ attribute of the given name, returns `undefined`. If multiple components
715
+ of the DN contain an attribute of this name, an exception is thrown unless
716
+ the `asArray` argument is given as `true` -- then they will be returned as
717
+ an Array in the same order they appear in the DN.
718
+
719
+ Parameters
720
+
721
+ - `name` -- a String
722
+ - `asArray` -- an optional Boolean
723
+
724
+ ### `Identity#toArray()`
725
+
726
+ Returns the Identity as an Array of DN component objects. This looks like:
727
+
728
+ ```js
729
+ [ {
730
+ "name": "cn",
731
+ "value": "Joe Bloggs"
732
+ },
733
+ {
734
+ "name": "o",
735
+ "value": "Organisation Ltd"
736
+ } ]
737
+ ```
738
+
739
+ Each object has a `name` and a `value` property. The returned objects may be
740
+ safely modified.
635
741
 
636
742
  Errors
637
743
  ------
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  // -*- mode: js -*-
3
3
  // vim: set filetype=javascript :
4
- // Copyright 2015 Joyent, Inc. All rights reserved.
4
+ // Copyright 2018 Joyent, Inc. All rights reserved.
5
5
 
6
6
  var dashdash = require('dashdash');
7
7
  var sshpk = require('../lib/index');
@@ -47,6 +47,21 @@ var options = [
47
47
  type: 'bool',
48
48
  help: 'Print key metadata instead of converting'
49
49
  },
50
+ {
51
+ names: ['fingerprint', 'F'],
52
+ type: 'bool',
53
+ help: 'Output key fingerprint'
54
+ },
55
+ {
56
+ names: ['hash', 'H'],
57
+ type: 'string',
58
+ help: 'Hash function to use for key fingeprint with -F'
59
+ },
60
+ {
61
+ names: ['spki', 's'],
62
+ type: 'bool',
63
+ help: 'With -F, generates an SPKI fingerprint instead of SSH'
64
+ },
50
65
  {
51
66
  names: ['comment', 'c'],
52
67
  type: 'string',
@@ -75,13 +90,18 @@ if (require.main === module) {
75
90
  var help = parser.help({}).trimRight();
76
91
  console.error('sshpk-conv: converts between SSH key formats\n');
77
92
  console.error(help);
78
- console.error('\navailable formats:');
93
+ console.error('\navailable key formats:');
79
94
  console.error(' - pem, pkcs1 eg id_rsa');
80
95
  console.error(' - ssh eg id_rsa.pub');
81
96
  console.error(' - pkcs8 format you want for openssl');
82
97
  console.error(' - openssh like output of ssh-keygen -o');
83
98
  console.error(' - rfc4253 raw OpenSSH wire format');
84
99
  console.error(' - dnssec dnssec-keygen format');
100
+ console.error(' - putty PuTTY ppk format');
101
+ console.error('\navailable fingerprint formats:');
102
+ console.error(' - hex colon-separated hex for SSH');
103
+ console.error(' straight hex for SPKI');
104
+ console.error(' - base64 SHA256:* format from OpenSSH');
85
105
  process.exit(1);
86
106
  }
87
107
 
@@ -111,9 +131,7 @@ if (require.main === module) {
111
131
  inFile = fs.createReadStream(inFilePath);
112
132
  }
113
133
  } catch (e) {
114
- console.error('sshpk-conv: error opening input file' +
115
- ': ' + e.name + ': ' + e.message);
116
- process.exit(1);
134
+ ifError(e, 'error opening input file');
117
135
  }
118
136
 
119
137
  var outFile = process.stdout;
@@ -124,9 +142,7 @@ if (require.main === module) {
124
142
  outFile = fs.createWriteStream(opts.out);
125
143
  }
126
144
  } catch (e) {
127
- console.error('sshpk-conv: error opening output file' +
128
- ': ' + e.name + ': ' + e.message);
129
- process.exit(1);
145
+ ifError(e, 'error opening output file');
130
146
  }
131
147
 
132
148
  var bufs = [];
@@ -150,20 +166,14 @@ if (require.main === module) {
150
166
  } catch (e) {
151
167
  if (e.name === 'KeyEncryptedError') {
152
168
  getPassword(function (err, pw) {
153
- if (err) {
154
- console.log('sshpk-conv: ' +
155
- err.name + ': ' +
156
- err.message);
157
- process.exit(1);
158
- }
169
+ if (err)
170
+ ifError(err);
159
171
  parseOpts.passphrase = pw;
160
172
  processKey();
161
173
  });
162
174
  return;
163
175
  }
164
- console.error('sshpk-conv: ' +
165
- e.name + ': ' + e.message);
166
- process.exit(1);
176
+ ifError(e);
167
177
  }
168
178
 
169
179
  if (opts.derive)
@@ -172,18 +182,7 @@ if (require.main === module) {
172
182
  if (opts.comment)
173
183
  key.comment = opts.comment;
174
184
 
175
- if (!opts.identify) {
176
- fmt = undefined;
177
- if (opts.outformat)
178
- fmt = opts.outformat;
179
- outFile.write(key.toBuffer(fmt));
180
- if (fmt === 'ssh' ||
181
- (!opts.private && fmt === undefined))
182
- outFile.write('\n');
183
- outFile.once('drain', function () {
184
- process.exit(0);
185
- });
186
- } else {
185
+ if (opts.identify) {
187
186
  var kind = 'public';
188
187
  if (sshpk.PrivateKey.isPrivateKey(key))
189
188
  kind = 'private';
@@ -193,10 +192,52 @@ if (require.main === module) {
193
192
  console.log('ECDSA curve: %s', key.curve);
194
193
  if (key.comment)
195
194
  console.log('Comment: %s', key.comment);
196
- console.log('Fingerprint:');
197
- console.log(' ' + key.fingerprint().toString());
198
- console.log(' ' + key.fingerprint('md5').toString());
195
+ console.log('SHA256 fingerprint: ' +
196
+ key.fingerprint('sha256').toString());
197
+ console.log('MD5 fingerprint: ' +
198
+ key.fingerprint('md5').toString());
199
+ console.log('SPKI-SHA256 fingerprint: ' +
200
+ key.fingerprint('sha256', 'spki').toString());
199
201
  process.exit(0);
202
+ return;
203
+ }
204
+
205
+ if (opts.fingerprint) {
206
+ var hash = opts.hash;
207
+ var type = opts.spki ? 'spki' : 'ssh';
208
+ var format = opts.outformat;
209
+ var fp = key.fingerprint(hash, type).toString(format);
210
+ outFile.write(fp);
211
+ outFile.write('\n');
212
+ outFile.once('drain', function () {
213
+ process.exit(0);
214
+ });
215
+ return;
200
216
  }
217
+
218
+ fmt = undefined;
219
+ if (opts.outformat)
220
+ fmt = opts.outformat;
221
+ outFile.write(key.toBuffer(fmt));
222
+ if (fmt === 'ssh' ||
223
+ (!opts.private && fmt === undefined))
224
+ outFile.write('\n');
225
+ outFile.once('drain', function () {
226
+ process.exit(0);
227
+ });
201
228
  });
202
229
  }
230
+
231
+ function ifError(e, txt) {
232
+ if (txt)
233
+ txt = txt + ': ';
234
+ else
235
+ txt = '';
236
+ console.error('sshpk-conv: ' + txt + e.name + ': ' + e.message);
237
+ if (process.env['DEBUG'] || process.env['V']) {
238
+ console.error(e.stack);
239
+ if (e.innerErr)
240
+ console.error(e.innerErr.stack);
241
+ }
242
+ process.exit(1);
243
+ }
@@ -120,6 +120,37 @@ Certificate.prototype.isSignedBy = function (issuerCert) {
120
120
  return (this.isSignedByKey(issuerCert.subjectKey));
121
121
  };
122
122
 
123
+ Certificate.prototype.getExtension = function (keyOrOid) {
124
+ assert.string(keyOrOid, 'keyOrOid');
125
+ var ext = this.getExtensions().filter(function (maybeExt) {
126
+ if (maybeExt.format === 'x509')
127
+ return (maybeExt.oid === keyOrOid);
128
+ if (maybeExt.format === 'openssh')
129
+ return (maybeExt.name === keyOrOid);
130
+ return (false);
131
+ })[0];
132
+ return (ext);
133
+ };
134
+
135
+ Certificate.prototype.getExtensions = function () {
136
+ var exts = [];
137
+ var x509 = this.signatures.x509;
138
+ if (x509 && x509.extras && x509.extras.exts) {
139
+ x509.extras.exts.forEach(function (ext) {
140
+ ext.format = 'x509';
141
+ exts.push(ext);
142
+ });
143
+ }
144
+ var openssh = this.signatures.openssh;
145
+ if (openssh && openssh.exts) {
146
+ openssh.exts.forEach(function (ext) {
147
+ ext.format = 'openssh';
148
+ exts.push(ext);
149
+ });
150
+ }
151
+ return (exts);
152
+ };
153
+
123
154
  Certificate.prototype.isSignedByKey = function (issuerKey) {
124
155
  utils.assertCompatible(issuerKey, Key, [1, 2], 'issuerKey');
125
156
 
@@ -370,8 +401,9 @@ Certificate.isCertificate = function (obj, ver) {
370
401
  /*
371
402
  * API versions for Certificate:
372
403
  * [1,0] -- initial ver
404
+ * [1,1] -- openssh format now unpacks extensions
373
405
  */
374
- Certificate.prototype._sshpkApiVersion = [1, 0];
406
+ Certificate.prototype._sshpkApiVersion = [1, 1];
375
407
 
376
408
  Certificate._oldVersionDetect = function (obj) {
377
409
  return ([1, 0]);
@@ -11,14 +11,16 @@ var crypto = require('crypto');
11
11
  var Buffer = require('safer-buffer').Buffer;
12
12
  var algs = require('./algs');
13
13
  var utils = require('./utils');
14
- var nacl;
14
+ var nacl = require('tweetnacl');
15
15
 
16
16
  var Key = require('./key');
17
17
  var PrivateKey = require('./private-key');
18
18
 
19
19
  var CRYPTO_HAVE_ECDH = (crypto.createECDH !== undefined);
20
20
 
21
- var ecdh, ec, jsbn;
21
+ var ecdh = require('ecc-jsbn');
22
+ var ec = require('ecc-jsbn/lib/ec');
23
+ var jsbn = require('jsbn').BigInteger;
22
24
 
23
25
  function DiffieHellman(key) {
24
26
  utils.assertCompatible(key, Key, [1, 4], 'key');
@@ -43,13 +45,6 @@ function DiffieHellman(key) {
43
45
 
44
46
  } else if (key.type === 'ecdsa') {
45
47
  if (!CRYPTO_HAVE_ECDH) {
46
- if (ecdh === undefined)
47
- ecdh = require('ecc-jsbn');
48
- if (ec === undefined)
49
- ec = require('ecc-jsbn/lib/ec');
50
- if (jsbn === undefined)
51
- jsbn = require('jsbn').BigInteger;
52
-
53
48
  this._ecParams = new X9ECParameters(this._curve);
54
49
 
55
50
  if (this._isPriv) {
@@ -76,9 +71,6 @@ function DiffieHellman(key) {
76
71
  this._dh.setPublicKey(key.part.Q.data);
77
72
 
78
73
  } else if (key.type === 'curve25519') {
79
- if (nacl === undefined)
80
- nacl = require('tweetnacl');
81
-
82
74
  if (this._isPriv) {
83
75
  utils.assertCompatible(key, PrivateKey, [1, 5], 'key');
84
76
  this._priv = key.part.k.data;
@@ -321,9 +313,6 @@ ECPrivate.prototype.deriveSharedSecret = function (pubKey) {
321
313
  };
322
314
 
323
315
  function generateED25519() {
324
- if (nacl === undefined)
325
- nacl = require('tweetnacl');
326
-
327
316
  var pair = nacl.sign.keyPair();
328
317
  var priv = Buffer.from(pair.secretKey);
329
318
  var pub = Buffer.from(pair.publicKey);
@@ -374,12 +363,6 @@ function generateECDSA(curve) {
374
363
  });
375
364
  return (key);
376
365
  } else {
377
- if (ecdh === undefined)
378
- ecdh = require('ecc-jsbn');
379
- if (ec === undefined)
380
- ec = require('ecc-jsbn/lib/ec');
381
- if (jsbn === undefined)
382
- jsbn = require('jsbn').BigInteger;
383
366
 
384
367
  var ecParams = new X9ECParameters(curve);
385
368
 
@@ -5,7 +5,7 @@ module.exports = {
5
5
  Signer: Signer
6
6
  };
7
7
 
8
- var nacl;
8
+ var nacl = require('tweetnacl');
9
9
  var stream = require('stream');
10
10
  var util = require('util');
11
11
  var assert = require('assert-plus');
@@ -13,9 +13,6 @@ var Buffer = require('safer-buffer').Buffer;
13
13
  var Signature = require('./signature');
14
14
 
15
15
  function Verifier(key, hashAlgo) {
16
- if (nacl === undefined)
17
- nacl = require('tweetnacl');
18
-
19
16
  if (hashAlgo.toLowerCase() !== 'sha512')
20
17
  throw (new Error('ED25519 only supports the use of ' +
21
18
  'SHA-512 hashes'));
@@ -61,9 +58,6 @@ Verifier.prototype.verify = function (signature, fmt) {
61
58
  };
62
59
 
63
60
  function Signer(key, hashAlgo) {
64
- if (nacl === undefined)
65
- nacl = require('tweetnacl');
66
-
67
61
  if (hashAlgo.toLowerCase() !== 'sha512')
68
62
  throw (new Error('ED25519 only supports the use of ' +
69
63
  'SHA-512 hashes'));
@@ -1,4 +1,4 @@
1
- // Copyright 2015 Joyent, Inc.
1
+ // Copyright 2018 Joyent, Inc.
2
2
 
3
3
  module.exports = Fingerprint;
4
4
 
@@ -8,6 +8,7 @@ var algs = require('./algs');
8
8
  var crypto = require('crypto');
9
9
  var errs = require('./errors');
10
10
  var Key = require('./key');
11
+ var PrivateKey = require('./private-key');
11
12
  var Certificate = require('./certificate');
12
13
  var utils = require('./utils');
13
14
 
@@ -26,11 +27,12 @@ function Fingerprint(opts) {
26
27
 
27
28
  this.hash = opts.hash;
28
29
  this.type = opts.type;
30
+ this.hashType = opts.hashType;
29
31
  }
30
32
 
31
33
  Fingerprint.prototype.toString = function (format) {
32
34
  if (format === undefined) {
33
- if (this.algorithm === 'md5')
35
+ if (this.algorithm === 'md5' || this.hashType === 'spki')
34
36
  format = 'hex';
35
37
  else
36
38
  format = 'base64';
@@ -39,8 +41,12 @@ Fingerprint.prototype.toString = function (format) {
39
41
 
40
42
  switch (format) {
41
43
  case 'hex':
44
+ if (this.hashType === 'spki')
45
+ return (this.hash.toString('hex'));
42
46
  return (addColons(this.hash.toString('hex')));
43
47
  case 'base64':
48
+ if (this.hashType === 'spki')
49
+ return (this.hash.toString('base64'));
44
50
  return (sshBase64Format(this.algorithm,
45
51
  this.hash.toString('base64')));
46
52
  default:
@@ -50,14 +56,20 @@ Fingerprint.prototype.toString = function (format) {
50
56
 
51
57
  Fingerprint.prototype.matches = function (other) {
52
58
  assert.object(other, 'key or certificate');
53
- if (this.type === 'key') {
59
+ if (this.type === 'key' && this.hashType !== 'ssh') {
60
+ utils.assertCompatible(other, Key, [1, 7], 'key with spki');
61
+ if (PrivateKey.isPrivateKey(other)) {
62
+ utils.assertCompatible(other, PrivateKey, [1, 6],
63
+ 'privatekey with spki support');
64
+ }
65
+ } else if (this.type === 'key') {
54
66
  utils.assertCompatible(other, Key, [1, 0], 'key');
55
67
  } else {
56
68
  utils.assertCompatible(other, Certificate, [1, 0],
57
69
  'certificate');
58
70
  }
59
71
 
60
- var theirHash = other.hash(this.algorithm);
72
+ var theirHash = other.hash(this.algorithm, this.hashType);
61
73
  var theirHash2 = crypto.createHash(this.algorithm).
62
74
  update(theirHash).digest('base64');
63
75
 
@@ -68,6 +80,11 @@ Fingerprint.prototype.matches = function (other) {
68
80
  return (this.hash2 === theirHash2);
69
81
  };
70
82
 
83
+ /*JSSTYLED*/
84
+ var base64RE = /^[A-Za-z0-9+\/=]+$/;
85
+ /*JSSTYLED*/
86
+ var hexRE = /^[a-fA-F0-9]+$/;
87
+
71
88
  Fingerprint.parse = function (fp, options) {
72
89
  assert.string(fp, 'fingerprint');
73
90
 
@@ -81,13 +98,18 @@ Fingerprint.parse = function (fp, options) {
81
98
  options = {};
82
99
  if (options.enAlgs !== undefined)
83
100
  enAlgs = options.enAlgs;
101
+ if (options.algorithms !== undefined)
102
+ enAlgs = options.algorithms;
84
103
  assert.optionalArrayOfString(enAlgs, 'algorithms');
85
104
 
105
+ var hashType = 'ssh';
106
+ if (options.hashType !== undefined)
107
+ hashType = options.hashType;
108
+ assert.string(hashType, 'options.hashType');
109
+
86
110
  var parts = fp.split(':');
87
111
  if (parts.length == 2) {
88
112
  alg = parts[0].toLowerCase();
89
- /*JSSTYLED*/
90
- var base64RE = /^[A-Za-z0-9+\/=]+$/;
91
113
  if (!base64RE.test(parts[1]))
92
114
  throw (new FingerprintFormatError(fp));
93
115
  try {
@@ -99,16 +121,50 @@ Fingerprint.parse = function (fp, options) {
99
121
  alg = 'md5';
100
122
  if (parts[0].toLowerCase() === 'md5')
101
123
  parts = parts.slice(1);
124
+ parts = parts.map(function (p) {
125
+ while (p.length < 2)
126
+ p = '0' + p;
127
+ if (p.length > 2)
128
+ throw (new FingerprintFormatError(fp));
129
+ return (p);
130
+ });
102
131
  parts = parts.join('');
103
- /*JSSTYLED*/
104
- var md5RE = /^[a-fA-F0-9]+$/;
105
- if (!md5RE.test(parts))
132
+ if (!hexRE.test(parts) || parts.length % 2 !== 0)
106
133
  throw (new FingerprintFormatError(fp));
107
134
  try {
108
135
  hash = Buffer.from(parts, 'hex');
109
136
  } catch (e) {
110
137
  throw (new FingerprintFormatError(fp));
111
138
  }
139
+ } else {
140
+ if (hexRE.test(fp)) {
141
+ hash = Buffer.from(fp, 'hex');
142
+ } else if (base64RE.test(fp)) {
143
+ hash = Buffer.from(fp, 'base64');
144
+ } else {
145
+ throw (new FingerprintFormatError(fp));
146
+ }
147
+
148
+ switch (hash.length) {
149
+ case 32:
150
+ alg = 'sha256';
151
+ break;
152
+ case 16:
153
+ alg = 'md5';
154
+ break;
155
+ case 20:
156
+ alg = 'sha1';
157
+ break;
158
+ case 64:
159
+ alg = 'sha512';
160
+ break;
161
+ default:
162
+ throw (new FingerprintFormatError(fp));
163
+ }
164
+
165
+ /* Plain hex/base64: guess it's probably SPKI unless told. */
166
+ if (options.hashType === undefined)
167
+ hashType = 'spki';
112
168
  }
113
169
 
114
170
  if (alg === undefined)
@@ -126,7 +182,8 @@ Fingerprint.parse = function (fp, options) {
126
182
  return (new Fingerprint({
127
183
  algorithm: alg,
128
184
  hash: hash,
129
- type: options.type || 'key'
185
+ type: options.type || 'key',
186
+ hashType: hashType
130
187
  }));
131
188
  };
132
189
 
@@ -152,8 +209,9 @@ Fingerprint.isFingerprint = function (obj, ver) {
152
209
  * API versions for Fingerprint:
153
210
  * [1,0] -- initial ver
154
211
  * [1,1] -- first tagged ver
212
+ * [1,2] -- hashType and spki support
155
213
  */
156
- Fingerprint.prototype._sshpkApiVersion = [1, 1];
214
+ Fingerprint.prototype._sshpkApiVersion = [1, 2];
157
215
 
158
216
  Fingerprint._oldVersionDetect = function (obj) {
159
217
  assert.func(obj.toString);