step-node-agent 3.18.3 → 3.19.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 (736) hide show
  1. package/node_modules/abbrev/LICENSE +46 -0
  2. package/node_modules/abbrev/README.md +23 -0
  3. package/node_modules/abbrev/abbrev.js +61 -0
  4. package/node_modules/abbrev/package.json +21 -0
  5. package/node_modules/ansi-align/CHANGELOG.md +36 -0
  6. package/node_modules/ansi-align/LICENSE +13 -0
  7. package/node_modules/ansi-align/README.md +79 -0
  8. package/node_modules/ansi-align/index.js +61 -0
  9. package/node_modules/ansi-align/package.json +43 -0
  10. package/node_modules/ansi-regex/index.js +10 -0
  11. package/node_modules/ansi-regex/license +9 -0
  12. package/node_modules/ansi-regex/package.json +53 -0
  13. package/node_modules/ansi-regex/readme.md +46 -0
  14. package/node_modules/ansi-styles/index.js +165 -0
  15. package/node_modules/ansi-styles/license +9 -0
  16. package/node_modules/ansi-styles/package.json +56 -0
  17. package/node_modules/ansi-styles/readme.md +147 -0
  18. package/node_modules/boxen/index.js +138 -0
  19. package/node_modules/boxen/license +9 -0
  20. package/node_modules/boxen/package.json +47 -0
  21. package/node_modules/boxen/readme.md +175 -0
  22. package/node_modules/camelcase/index.js +64 -0
  23. package/node_modules/{send/node_modules/http-errors/LICENSE → camelcase/license} +1 -3
  24. package/node_modules/camelcase/package.json +42 -0
  25. package/node_modules/camelcase/readme.md +57 -0
  26. package/node_modules/capture-stack-trace/index.js +18 -0
  27. package/node_modules/{express/node_modules/http-errors/LICENSE → capture-stack-trace/license} +1 -3
  28. package/node_modules/capture-stack-trace/package.json +29 -0
  29. package/node_modules/capture-stack-trace/readme.md +36 -0
  30. package/node_modules/chalk/index.js +228 -0
  31. package/node_modules/chalk/index.js.flow +93 -0
  32. package/node_modules/chalk/license +9 -0
  33. package/node_modules/chalk/package.json +71 -0
  34. package/node_modules/chalk/readme.md +314 -0
  35. package/node_modules/chalk/templates.js +128 -0
  36. package/node_modules/chalk/types/index.d.ts +97 -0
  37. package/node_modules/ci-info/CHANGELOG.md +62 -0
  38. package/node_modules/ci-info/LICENSE +21 -0
  39. package/node_modules/ci-info/README.md +107 -0
  40. package/node_modules/ci-info/index.js +66 -0
  41. package/node_modules/ci-info/package.json +36 -0
  42. package/node_modules/ci-info/vendors.json +152 -0
  43. package/node_modules/cli-boxes/boxes.json +50 -0
  44. package/node_modules/cli-boxes/index.js +2 -0
  45. package/node_modules/{http-errors/node_modules/statuses/LICENSE → cli-boxes/license} +1 -3
  46. package/node_modules/cli-boxes/package.json +39 -0
  47. package/node_modules/cli-boxes/readme.md +94 -0
  48. package/node_modules/color-convert/CHANGELOG.md +54 -0
  49. package/node_modules/{send/node_modules/depd → color-convert}/LICENSE +9 -10
  50. package/node_modules/color-convert/README.md +68 -0
  51. package/node_modules/color-convert/conversions.js +868 -0
  52. package/node_modules/color-convert/index.js +78 -0
  53. package/node_modules/color-convert/package.json +46 -0
  54. package/node_modules/color-convert/route.js +97 -0
  55. package/node_modules/color-name/.eslintrc.json +43 -0
  56. package/node_modules/color-name/.npmignore +107 -0
  57. package/node_modules/color-name/LICENSE +8 -0
  58. package/node_modules/color-name/README.md +11 -0
  59. package/node_modules/color-name/index.js +152 -0
  60. package/node_modules/color-name/package.json +25 -0
  61. package/node_modules/color-name/test.js +7 -0
  62. package/node_modules/configstore/index.js +106 -0
  63. package/node_modules/configstore/license +9 -0
  64. package/node_modules/configstore/package.json +47 -0
  65. package/node_modules/configstore/readme.md +116 -0
  66. package/node_modules/cookie/HISTORY.md +8 -0
  67. package/node_modules/cookie/README.md +50 -34
  68. package/node_modules/cookie/SECURITY.md +25 -0
  69. package/node_modules/cookie/index.js +83 -15
  70. package/node_modules/cookie/package.json +6 -4
  71. package/node_modules/core-util-is/LICENSE +19 -0
  72. package/node_modules/core-util-is/README.md +3 -0
  73. package/node_modules/core-util-is/lib/util.js +107 -0
  74. package/node_modules/core-util-is/package.json +38 -0
  75. package/node_modules/create-error-class/index.js +44 -0
  76. package/node_modules/create-error-class/license +21 -0
  77. package/node_modules/create-error-class/package.json +30 -0
  78. package/node_modules/create-error-class/readme.md +54 -0
  79. package/node_modules/cross-spawn/CHANGELOG.md +6 -0
  80. package/node_modules/cross-spawn/LICENSE +19 -0
  81. package/node_modules/cross-spawn/README.md +85 -0
  82. package/node_modules/cross-spawn/index.js +59 -0
  83. package/node_modules/cross-spawn/lib/enoent.js +73 -0
  84. package/node_modules/cross-spawn/lib/parse.js +113 -0
  85. package/node_modules/cross-spawn/lib/util/escapeArgument.js +30 -0
  86. package/node_modules/cross-spawn/lib/util/escapeCommand.js +12 -0
  87. package/node_modules/cross-spawn/lib/util/hasEmptyArgumentBug.js +18 -0
  88. package/node_modules/cross-spawn/lib/util/readShebang.js +37 -0
  89. package/node_modules/cross-spawn/lib/util/resolveCommand.js +31 -0
  90. package/node_modules/cross-spawn/package.json +53 -0
  91. package/node_modules/crypto-random-string/index.js +10 -0
  92. package/node_modules/crypto-random-string/license +21 -0
  93. package/node_modules/crypto-random-string/package.json +43 -0
  94. package/node_modules/crypto-random-string/readme.md +49 -0
  95. package/node_modules/deep-extend/CHANGELOG.md +46 -0
  96. package/node_modules/deep-extend/LICENSE +20 -0
  97. package/node_modules/deep-extend/README.md +91 -0
  98. package/node_modules/deep-extend/index.js +1 -0
  99. package/node_modules/deep-extend/lib/deep-extend.js +150 -0
  100. package/node_modules/deep-extend/package.json +62 -0
  101. package/node_modules/dot-prop/index.js +141 -0
  102. package/node_modules/dot-prop/license +21 -0
  103. package/node_modules/dot-prop/package.json +48 -0
  104. package/node_modules/dot-prop/readme.md +105 -0
  105. package/node_modules/duplexer3/LICENSE.md +26 -0
  106. package/node_modules/duplexer3/README.md +115 -0
  107. package/node_modules/duplexer3/index.js +76 -0
  108. package/node_modules/duplexer3/package.json +28 -0
  109. package/node_modules/escape-string-regexp/index.js +11 -0
  110. package/node_modules/escape-string-regexp/license +21 -0
  111. package/node_modules/escape-string-regexp/package.json +41 -0
  112. package/node_modules/escape-string-regexp/readme.md +27 -0
  113. package/node_modules/execa/index.js +309 -0
  114. package/node_modules/execa/lib/errname.js +37 -0
  115. package/node_modules/execa/lib/stdio.js +41 -0
  116. package/node_modules/execa/license +9 -0
  117. package/node_modules/execa/package.json +76 -0
  118. package/node_modules/execa/readme.md +279 -0
  119. package/node_modules/express/History.md +54 -0
  120. package/node_modules/express/Readme.md +39 -31
  121. package/node_modules/express/lib/application.js +18 -1
  122. package/node_modules/express/lib/response.js +40 -18
  123. package/node_modules/express/lib/router/index.js +20 -15
  124. package/node_modules/express/lib/router/route.js +9 -0
  125. package/node_modules/express/lib/utils.js +1 -0
  126. package/node_modules/express/lib/view.js +1 -1
  127. package/node_modules/express/package.json +14 -15
  128. package/node_modules/finalhandler/HISTORY.md +8 -0
  129. package/node_modules/finalhandler/LICENSE +1 -1
  130. package/node_modules/finalhandler/README.md +5 -6
  131. package/node_modules/finalhandler/SECURITY.md +25 -0
  132. package/node_modules/finalhandler/index.js +8 -3
  133. package/node_modules/finalhandler/package.json +18 -17
  134. package/node_modules/get-stream/buffer-stream.js +51 -0
  135. package/node_modules/get-stream/index.js +51 -0
  136. package/node_modules/get-stream/license +21 -0
  137. package/node_modules/get-stream/package.json +48 -0
  138. package/node_modules/get-stream/readme.md +117 -0
  139. package/node_modules/global-dirs/index.js +90 -0
  140. package/node_modules/global-dirs/license +9 -0
  141. package/node_modules/global-dirs/package.json +52 -0
  142. package/node_modules/global-dirs/readme.md +69 -0
  143. package/node_modules/got/index.js +364 -0
  144. package/node_modules/got/license +21 -0
  145. package/node_modules/got/package.json +78 -0
  146. package/node_modules/got/readme.md +335 -0
  147. package/node_modules/graceful-fs/LICENSE +15 -0
  148. package/node_modules/graceful-fs/README.md +143 -0
  149. package/node_modules/graceful-fs/clone.js +23 -0
  150. package/node_modules/graceful-fs/graceful-fs.js +448 -0
  151. package/node_modules/graceful-fs/legacy-streams.js +118 -0
  152. package/node_modules/graceful-fs/package.json +50 -0
  153. package/node_modules/graceful-fs/polyfills.js +355 -0
  154. package/node_modules/has-flag/index.js +8 -0
  155. package/node_modules/has-flag/license +9 -0
  156. package/node_modules/has-flag/package.json +44 -0
  157. package/node_modules/has-flag/readme.md +70 -0
  158. package/node_modules/import-lazy/index.js +53 -0
  159. package/node_modules/import-lazy/license +21 -0
  160. package/node_modules/import-lazy/package.json +44 -0
  161. package/node_modules/import-lazy/readme.md +64 -0
  162. package/node_modules/imurmurhash/README.md +122 -0
  163. package/node_modules/imurmurhash/imurmurhash.js +138 -0
  164. package/node_modules/imurmurhash/imurmurhash.min.js +12 -0
  165. package/node_modules/imurmurhash/package.json +40 -0
  166. package/node_modules/ini/LICENSE +15 -0
  167. package/node_modules/ini/README.md +102 -0
  168. package/node_modules/ini/ini.js +206 -0
  169. package/node_modules/ini/package.json +33 -0
  170. package/node_modules/{express/node_modules/qs → is-callable}/.editorconfig +7 -21
  171. package/node_modules/is-callable/.eslintignore +1 -0
  172. package/node_modules/is-callable/.eslintrc +21 -0
  173. package/node_modules/{express/node_modules/qs → is-callable}/.github/FUNDING.yml +2 -2
  174. package/node_modules/is-callable/.istanbul.yml +47 -0
  175. package/node_modules/{express/node_modules/qs → is-callable}/.nycrc +1 -5
  176. package/node_modules/is-callable/CHANGELOG.md +108 -0
  177. package/node_modules/is-callable/LICENSE +22 -0
  178. package/node_modules/is-callable/README.md +67 -0
  179. package/node_modules/is-callable/index.js +74 -0
  180. package/node_modules/is-callable/package.json +92 -0
  181. package/node_modules/is-callable/test/index.js +170 -0
  182. package/node_modules/is-ci/LICENSE +21 -0
  183. package/node_modules/is-ci/README.md +50 -0
  184. package/node_modules/is-ci/bin.js +4 -0
  185. package/node_modules/is-ci/index.js +3 -0
  186. package/node_modules/is-ci/package.json +38 -0
  187. package/node_modules/is-core-module/.eslintrc +1 -0
  188. package/node_modules/is-core-module/CHANGELOG.md +9 -0
  189. package/node_modules/is-core-module/core.json +1 -0
  190. package/node_modules/is-core-module/package.json +8 -12
  191. package/node_modules/is-core-module/test/index.js +34 -31
  192. package/node_modules/is-fullwidth-code-point/index.js +46 -0
  193. package/node_modules/is-fullwidth-code-point/license +21 -0
  194. package/node_modules/is-fullwidth-code-point/package.json +45 -0
  195. package/node_modules/is-fullwidth-code-point/readme.md +39 -0
  196. package/node_modules/is-installed-globally/index.js +5 -0
  197. package/node_modules/is-installed-globally/license +9 -0
  198. package/node_modules/is-installed-globally/package.json +48 -0
  199. package/node_modules/is-installed-globally/readme.md +39 -0
  200. package/node_modules/is-npm/index.js +4 -0
  201. package/node_modules/is-npm/package.json +32 -0
  202. package/node_modules/is-npm/readme.md +30 -0
  203. package/node_modules/is-obj/index.js +5 -0
  204. package/node_modules/is-obj/license +21 -0
  205. package/node_modules/is-obj/package.json +33 -0
  206. package/node_modules/is-obj/readme.md +34 -0
  207. package/node_modules/is-path-inside/index.js +14 -0
  208. package/node_modules/is-path-inside/license +21 -0
  209. package/node_modules/is-path-inside/package.json +37 -0
  210. package/node_modules/is-path-inside/readme.md +34 -0
  211. package/node_modules/is-redirect/index.js +14 -0
  212. package/node_modules/is-redirect/license +21 -0
  213. package/node_modules/is-redirect/package.json +35 -0
  214. package/node_modules/is-redirect/readme.md +28 -0
  215. package/node_modules/is-retry-allowed/index.js +62 -0
  216. package/node_modules/is-retry-allowed/license +21 -0
  217. package/node_modules/is-retry-allowed/package.json +29 -0
  218. package/node_modules/is-retry-allowed/readme.md +42 -0
  219. package/node_modules/is-stream/index.js +21 -0
  220. package/node_modules/is-stream/license +21 -0
  221. package/node_modules/is-stream/package.json +38 -0
  222. package/node_modules/is-stream/readme.md +42 -0
  223. package/node_modules/isarray/.npmignore +1 -0
  224. package/node_modules/isarray/.travis.yml +4 -0
  225. package/node_modules/isarray/Makefile +6 -0
  226. package/node_modules/isarray/README.md +60 -0
  227. package/node_modules/isarray/component.json +19 -0
  228. package/node_modules/isarray/index.js +5 -0
  229. package/node_modules/isarray/package.json +45 -0
  230. package/node_modules/isarray/test.js +20 -0
  231. package/node_modules/isexe/.npmignore +2 -0
  232. package/node_modules/isexe/LICENSE +15 -0
  233. package/node_modules/isexe/README.md +51 -0
  234. package/node_modules/isexe/index.js +57 -0
  235. package/node_modules/isexe/mode.js +41 -0
  236. package/node_modules/isexe/package.json +31 -0
  237. package/node_modules/isexe/test/basic.js +221 -0
  238. package/node_modules/isexe/windows.js +42 -0
  239. package/node_modules/latest-version/index.js +4 -0
  240. package/node_modules/latest-version/license +21 -0
  241. package/node_modules/latest-version/package.json +39 -0
  242. package/node_modules/latest-version/readme.md +40 -0
  243. package/node_modules/lowercase-keys/index.js +11 -0
  244. package/node_modules/lowercase-keys/license +21 -0
  245. package/node_modules/lowercase-keys/package.json +35 -0
  246. package/node_modules/lowercase-keys/readme.md +33 -0
  247. package/node_modules/lru-cache/LICENSE +15 -0
  248. package/node_modules/lru-cache/README.md +158 -0
  249. package/node_modules/lru-cache/index.js +468 -0
  250. package/node_modules/lru-cache/package.json +36 -0
  251. package/node_modules/make-dir/index.js +85 -0
  252. package/node_modules/make-dir/license +9 -0
  253. package/node_modules/make-dir/package.json +54 -0
  254. package/node_modules/make-dir/readme.md +116 -0
  255. package/node_modules/nopt/.npmignore +0 -0
  256. package/node_modules/nopt/LICENSE +23 -0
  257. package/node_modules/nopt/README.md +208 -0
  258. package/node_modules/nopt/bin/nopt.js +44 -0
  259. package/node_modules/nopt/examples/my-program.js +30 -0
  260. package/node_modules/nopt/lib/nopt.js +552 -0
  261. package/node_modules/nopt/package.json +12 -0
  262. package/node_modules/npm/CHANGELOG.md +9 -0
  263. package/node_modules/npm/docs/public/cli-commands/npm/index.html +3 -3
  264. package/node_modules/npm/docs/public/cli-commands/npm-access/index.html +2 -2
  265. package/node_modules/npm/docs/public/cli-commands/npm-adduser/index.html +2 -2
  266. package/node_modules/npm/docs/public/cli-commands/npm-audit/index.html +2 -2
  267. package/node_modules/npm/docs/public/cli-commands/npm-bin/index.html +2 -2
  268. package/node_modules/npm/docs/public/cli-commands/npm-bugs/index.html +2 -2
  269. package/node_modules/npm/docs/public/cli-commands/npm-build/index.html +2 -2
  270. package/node_modules/npm/docs/public/cli-commands/npm-bundle/index.html +2 -2
  271. package/node_modules/npm/docs/public/cli-commands/npm-cache/index.html +2 -2
  272. package/node_modules/npm/docs/public/cli-commands/npm-ci/index.html +2 -2
  273. package/node_modules/npm/docs/public/cli-commands/npm-completion/index.html +2 -2
  274. package/node_modules/npm/docs/public/cli-commands/npm-config/index.html +2 -2
  275. package/node_modules/npm/docs/public/cli-commands/npm-dedupe/index.html +2 -2
  276. package/node_modules/npm/docs/public/cli-commands/npm-deprecate/index.html +2 -2
  277. package/node_modules/npm/docs/public/cli-commands/npm-dist-tag/index.html +2 -2
  278. package/node_modules/npm/docs/public/cli-commands/npm-docs/index.html +2 -2
  279. package/node_modules/npm/docs/public/cli-commands/npm-doctor/index.html +2 -2
  280. package/node_modules/npm/docs/public/cli-commands/npm-edit/index.html +2 -2
  281. package/node_modules/npm/docs/public/cli-commands/npm-explore/index.html +2 -2
  282. package/node_modules/npm/docs/public/cli-commands/npm-fund/index.html +2 -2
  283. package/node_modules/npm/docs/public/cli-commands/npm-help/index.html +2 -2
  284. package/node_modules/npm/docs/public/cli-commands/npm-help-search/index.html +2 -2
  285. package/node_modules/npm/docs/public/cli-commands/npm-hook/index.html +2 -2
  286. package/node_modules/npm/docs/public/cli-commands/npm-init/index.html +2 -2
  287. package/node_modules/npm/docs/public/cli-commands/npm-install/index.html +2 -2
  288. package/node_modules/npm/docs/public/cli-commands/npm-install-ci-test/index.html +2 -2
  289. package/node_modules/npm/docs/public/cli-commands/npm-install-test/index.html +2 -2
  290. package/node_modules/npm/docs/public/cli-commands/npm-link/index.html +2 -2
  291. package/node_modules/npm/docs/public/cli-commands/npm-logout/index.html +2 -2
  292. package/node_modules/npm/docs/public/cli-commands/npm-ls/index.html +3 -3
  293. package/node_modules/npm/docs/public/cli-commands/npm-org/index.html +2 -2
  294. package/node_modules/npm/docs/public/cli-commands/npm-outdated/index.html +2 -2
  295. package/node_modules/npm/docs/public/cli-commands/npm-owner/index.html +2 -2
  296. package/node_modules/npm/docs/public/cli-commands/npm-pack/index.html +2 -2
  297. package/node_modules/npm/docs/public/cli-commands/npm-ping/index.html +2 -2
  298. package/node_modules/npm/docs/public/cli-commands/npm-prefix/index.html +2 -2
  299. package/node_modules/npm/docs/public/cli-commands/npm-profile/index.html +2 -2
  300. package/node_modules/npm/docs/public/cli-commands/npm-prune/index.html +2 -2
  301. package/node_modules/npm/docs/public/cli-commands/npm-publish/index.html +2 -2
  302. package/node_modules/npm/docs/public/cli-commands/npm-rebuild/index.html +2 -2
  303. package/node_modules/npm/docs/public/cli-commands/npm-repo/index.html +2 -2
  304. package/node_modules/npm/docs/public/cli-commands/npm-restart/index.html +2 -2
  305. package/node_modules/npm/docs/public/cli-commands/npm-root/index.html +2 -2
  306. package/node_modules/npm/docs/public/cli-commands/npm-run-script/index.html +2 -2
  307. package/node_modules/npm/docs/public/cli-commands/npm-search/index.html +2 -2
  308. package/node_modules/npm/docs/public/cli-commands/npm-shrinkwrap/index.html +2 -2
  309. package/node_modules/npm/docs/public/cli-commands/npm-star/index.html +2 -2
  310. package/node_modules/npm/docs/public/cli-commands/npm-stars/index.html +2 -2
  311. package/node_modules/npm/docs/public/cli-commands/npm-start/index.html +2 -2
  312. package/node_modules/npm/docs/public/cli-commands/npm-stop/index.html +2 -2
  313. package/node_modules/npm/docs/public/cli-commands/npm-team/index.html +2 -2
  314. package/node_modules/npm/docs/public/cli-commands/npm-test/index.html +2 -2
  315. package/node_modules/npm/docs/public/cli-commands/npm-token/index.html +2 -2
  316. package/node_modules/npm/docs/public/cli-commands/npm-uninstall/index.html +2 -2
  317. package/node_modules/npm/docs/public/cli-commands/npm-unpublish/index.html +2 -2
  318. package/node_modules/npm/docs/public/cli-commands/npm-update/index.html +2 -2
  319. package/node_modules/npm/docs/public/cli-commands/npm-version/index.html +2 -2
  320. package/node_modules/npm/docs/public/cli-commands/npm-view/index.html +2 -2
  321. package/node_modules/npm/docs/public/cli-commands/npm-whoami/index.html +2 -2
  322. package/node_modules/npm/docs/public/configuring-npm/folders/index.html +2 -2
  323. package/node_modules/npm/docs/public/configuring-npm/install/index.html +2 -2
  324. package/node_modules/npm/docs/public/configuring-npm/npmrc/index.html +2 -2
  325. package/node_modules/npm/docs/public/configuring-npm/package-json/index.html +2 -2
  326. package/node_modules/npm/docs/public/configuring-npm/package-lock-json/index.html +2 -2
  327. package/node_modules/npm/docs/public/configuring-npm/package-locks/index.html +2 -2
  328. package/node_modules/npm/docs/public/configuring-npm/shrinkwrap-json/index.html +2 -2
  329. package/node_modules/npm/docs/public/index.html +1 -1
  330. package/node_modules/npm/docs/public/using-npm/config/index.html +2 -2
  331. package/node_modules/npm/docs/public/using-npm/developers/index.html +2 -2
  332. package/node_modules/npm/docs/public/using-npm/disputes/index.html +2 -2
  333. package/node_modules/npm/docs/public/using-npm/orgs/index.html +2 -2
  334. package/node_modules/npm/docs/public/using-npm/registry/index.html +2 -2
  335. package/node_modules/npm/docs/public/using-npm/removal/index.html +2 -2
  336. package/node_modules/npm/docs/public/using-npm/scope/index.html +2 -2
  337. package/node_modules/npm/docs/public/using-npm/scripts/index.html +2 -2
  338. package/node_modules/npm/docs/public/using-npm/semver/index.html +2 -2
  339. package/node_modules/npm/man/man1/npm-README.1 +1 -1
  340. package/node_modules/npm/man/man1/npm-access.1 +1 -1
  341. package/node_modules/npm/man/man1/npm-adduser.1 +1 -1
  342. package/node_modules/npm/man/man1/npm-audit.1 +1 -1
  343. package/node_modules/npm/man/man1/npm-bin.1 +1 -1
  344. package/node_modules/npm/man/man1/npm-bugs.1 +1 -1
  345. package/node_modules/npm/man/man1/npm-build.1 +1 -1
  346. package/node_modules/npm/man/man1/npm-bundle.1 +1 -1
  347. package/node_modules/npm/man/man1/npm-cache.1 +1 -1
  348. package/node_modules/npm/man/man1/npm-ci.1 +1 -1
  349. package/node_modules/npm/man/man1/npm-completion.1 +1 -1
  350. package/node_modules/npm/man/man1/npm-config.1 +1 -1
  351. package/node_modules/npm/man/man1/npm-dedupe.1 +1 -1
  352. package/node_modules/npm/man/man1/npm-deprecate.1 +1 -1
  353. package/node_modules/npm/man/man1/npm-dist-tag.1 +1 -1
  354. package/node_modules/npm/man/man1/npm-docs.1 +1 -1
  355. package/node_modules/npm/man/man1/npm-doctor.1 +1 -1
  356. package/node_modules/npm/man/man1/npm-edit.1 +1 -1
  357. package/node_modules/npm/man/man1/npm-explore.1 +1 -1
  358. package/node_modules/npm/man/man1/npm-fund.1 +1 -1
  359. package/node_modules/npm/man/man1/npm-help-search.1 +1 -1
  360. package/node_modules/npm/man/man1/npm-help.1 +1 -1
  361. package/node_modules/npm/man/man1/npm-hook.1 +1 -1
  362. package/node_modules/npm/man/man1/npm-init.1 +1 -1
  363. package/node_modules/npm/man/man1/npm-install-ci-test.1 +1 -1
  364. package/node_modules/npm/man/man1/npm-install-test.1 +1 -1
  365. package/node_modules/npm/man/man1/npm-install.1 +1 -1
  366. package/node_modules/npm/man/man1/npm-link.1 +1 -1
  367. package/node_modules/npm/man/man1/npm-logout.1 +1 -1
  368. package/node_modules/npm/man/man1/npm-ls.1 +2 -2
  369. package/node_modules/npm/man/man1/npm-org.1 +1 -1
  370. package/node_modules/npm/man/man1/npm-outdated.1 +1 -1
  371. package/node_modules/npm/man/man1/npm-owner.1 +1 -1
  372. package/node_modules/npm/man/man1/npm-pack.1 +1 -1
  373. package/node_modules/npm/man/man1/npm-ping.1 +1 -1
  374. package/node_modules/npm/man/man1/npm-prefix.1 +1 -1
  375. package/node_modules/npm/man/man1/npm-profile.1 +1 -1
  376. package/node_modules/npm/man/man1/npm-prune.1 +1 -1
  377. package/node_modules/npm/man/man1/npm-publish.1 +1 -1
  378. package/node_modules/npm/man/man1/npm-rebuild.1 +1 -1
  379. package/node_modules/npm/man/man1/npm-repo.1 +1 -1
  380. package/node_modules/npm/man/man1/npm-restart.1 +1 -1
  381. package/node_modules/npm/man/man1/npm-root.1 +1 -1
  382. package/node_modules/npm/man/man1/npm-run-script.1 +1 -1
  383. package/node_modules/npm/man/man1/npm-search.1 +1 -1
  384. package/node_modules/npm/man/man1/npm-shrinkwrap.1 +1 -1
  385. package/node_modules/npm/man/man1/npm-star.1 +1 -1
  386. package/node_modules/npm/man/man1/npm-stars.1 +1 -1
  387. package/node_modules/npm/man/man1/npm-start.1 +1 -1
  388. package/node_modules/npm/man/man1/npm-stop.1 +1 -1
  389. package/node_modules/npm/man/man1/npm-team.1 +1 -1
  390. package/node_modules/npm/man/man1/npm-test.1 +1 -1
  391. package/node_modules/npm/man/man1/npm-token.1 +1 -1
  392. package/node_modules/npm/man/man1/npm-uninstall.1 +1 -1
  393. package/node_modules/npm/man/man1/npm-unpublish.1 +1 -1
  394. package/node_modules/npm/man/man1/npm-update.1 +1 -1
  395. package/node_modules/npm/man/man1/npm-version.1 +1 -1
  396. package/node_modules/npm/man/man1/npm-view.1 +1 -1
  397. package/node_modules/npm/man/man1/npm-whoami.1 +1 -1
  398. package/node_modules/npm/man/man1/npm.1 +2 -2
  399. package/node_modules/npm/man/man5/folders.5 +1 -1
  400. package/node_modules/npm/man/man5/install.5 +1 -1
  401. package/node_modules/npm/man/man5/npmrc.5 +1 -1
  402. package/node_modules/npm/man/man5/package-json.5 +1 -1
  403. package/node_modules/npm/man/man5/package-lock-json.5 +1 -1
  404. package/node_modules/npm/man/man5/package-locks.5 +1 -1
  405. package/node_modules/npm/man/man5/shrinkwrap-json.5 +1 -1
  406. package/node_modules/npm/man/man7/config.7 +1 -1
  407. package/node_modules/npm/man/man7/developers.7 +1 -1
  408. package/node_modules/npm/man/man7/disputes.7 +1 -1
  409. package/node_modules/npm/man/man7/orgs.7 +1 -1
  410. package/node_modules/npm/man/man7/registry.7 +1 -1
  411. package/node_modules/npm/man/man7/removal.7 +1 -1
  412. package/node_modules/npm/man/man7/scope.7 +1 -1
  413. package/node_modules/npm/man/man7/scripts.7 +1 -1
  414. package/node_modules/npm/man/man7/semver.7 +1 -1
  415. package/node_modules/npm/node_modules/cliui/node_modules/ansi-regex/index.js +1 -1
  416. package/node_modules/npm/node_modules/cliui/node_modules/ansi-regex/package.json +1 -1
  417. package/node_modules/npm/node_modules/minimist/index.js +6 -2
  418. package/node_modules/npm/node_modules/minimist/package.json +1 -1
  419. package/node_modules/npm/node_modules/minimist/readme.markdown +4 -1
  420. package/node_modules/npm/node_modules/minimist/test/proto.js +16 -0
  421. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/index.js +6 -2
  422. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/package.json +1 -1
  423. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/readme.markdown +4 -1
  424. package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/proto.js +16 -0
  425. package/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +1 -1
  426. package/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +1 -1
  427. package/node_modules/npm/package.json +1 -1
  428. package/node_modules/npm-run-path/index.js +39 -0
  429. package/node_modules/npm-run-path/license +21 -0
  430. package/node_modules/npm-run-path/package.json +45 -0
  431. package/node_modules/npm-run-path/readme.md +81 -0
  432. package/node_modules/object-assign/index.js +90 -0
  433. package/node_modules/object-assign/license +21 -0
  434. package/node_modules/object-assign/package.json +42 -0
  435. package/node_modules/object-assign/readme.md +61 -0
  436. package/node_modules/p-finally/index.js +15 -0
  437. package/node_modules/p-finally/license +21 -0
  438. package/node_modules/p-finally/package.json +42 -0
  439. package/node_modules/p-finally/readme.md +47 -0
  440. package/node_modules/package-json/index.js +67 -0
  441. package/node_modules/package-json/license +21 -0
  442. package/node_modules/package-json/package.json +43 -0
  443. package/node_modules/package-json/readme.md +91 -0
  444. package/node_modules/path-exists/index.js +17 -0
  445. package/node_modules/path-exists/license +21 -0
  446. package/node_modules/path-exists/package.json +40 -0
  447. package/node_modules/path-exists/readme.md +50 -0
  448. package/node_modules/path-is-inside/LICENSE.txt +47 -0
  449. package/node_modules/path-is-inside/lib/path-is-inside.js +28 -0
  450. package/node_modules/path-is-inside/package.json +21 -0
  451. package/node_modules/path-key/index.js +13 -0
  452. package/node_modules/path-key/license +21 -0
  453. package/node_modules/path-key/package.json +39 -0
  454. package/node_modules/path-key/readme.md +51 -0
  455. package/node_modules/pify/index.js +84 -0
  456. package/node_modules/pify/license +9 -0
  457. package/node_modules/pify/package.json +51 -0
  458. package/node_modules/pify/readme.md +131 -0
  459. package/node_modules/prepend-http/index.js +14 -0
  460. package/node_modules/prepend-http/license +21 -0
  461. package/node_modules/prepend-http/package.json +35 -0
  462. package/node_modules/prepend-http/readme.md +31 -0
  463. package/node_modules/process-nextick-args/index.js +45 -0
  464. package/node_modules/process-nextick-args/license.md +19 -0
  465. package/node_modules/process-nextick-args/package.json +25 -0
  466. package/node_modules/process-nextick-args/readme.md +18 -0
  467. package/node_modules/pseudomap/LICENSE +15 -0
  468. package/node_modules/pseudomap/README.md +60 -0
  469. package/node_modules/pseudomap/map.js +9 -0
  470. package/node_modules/pseudomap/package.json +25 -0
  471. package/node_modules/pseudomap/pseudomap.js +113 -0
  472. package/node_modules/pseudomap/test/basic.js +86 -0
  473. package/node_modules/rc/LICENSE.APACHE2 +15 -0
  474. package/node_modules/rc/LICENSE.BSD +26 -0
  475. package/node_modules/rc/LICENSE.MIT +24 -0
  476. package/node_modules/rc/README.md +227 -0
  477. package/node_modules/rc/browser.js +7 -0
  478. package/node_modules/rc/cli.js +4 -0
  479. package/node_modules/rc/index.js +53 -0
  480. package/node_modules/rc/lib/utils.js +104 -0
  481. package/node_modules/rc/package.json +29 -0
  482. package/node_modules/rc/test/ini.js +16 -0
  483. package/node_modules/rc/test/nested-env-vars.js +50 -0
  484. package/node_modules/rc/test/test.js +59 -0
  485. package/node_modules/registry-auth-token/.npmignore +6 -0
  486. package/node_modules/registry-auth-token/CHANGELOG.md +112 -0
  487. package/node_modules/registry-auth-token/LICENSE +21 -0
  488. package/node_modules/registry-auth-token/README.md +65 -0
  489. package/node_modules/registry-auth-token/base64.js +14 -0
  490. package/node_modules/registry-auth-token/index.js +123 -0
  491. package/node_modules/registry-auth-token/package.json +46 -0
  492. package/node_modules/registry-auth-token/registry-url.js +5 -0
  493. package/node_modules/registry-auth-token/test/auth-token.test.js +455 -0
  494. package/node_modules/registry-auth-token/test/registry-url.test.js +64 -0
  495. package/node_modules/registry-auth-token/yarn.lock +1516 -0
  496. package/node_modules/registry-url/index.js +6 -0
  497. package/node_modules/registry-url/license +21 -0
  498. package/node_modules/registry-url/package.json +40 -0
  499. package/node_modules/registry-url/readme.md +50 -0
  500. package/node_modules/rimraf/LICENSE +15 -0
  501. package/node_modules/rimraf/README.md +101 -0
  502. package/node_modules/rimraf/bin.js +50 -0
  503. package/node_modules/rimraf/package.json +29 -0
  504. package/node_modules/rimraf/rimraf.js +364 -0
  505. package/node_modules/semver/CHANGELOG.md +39 -0
  506. package/node_modules/semver/LICENSE +15 -0
  507. package/node_modules/semver/README.md +412 -0
  508. package/node_modules/semver/bin/semver +160 -0
  509. package/node_modules/semver/package.json +28 -0
  510. package/node_modules/semver/range.bnf +16 -0
  511. package/node_modules/semver/semver.js +1483 -0
  512. package/node_modules/semver-diff/index.js +27 -0
  513. package/node_modules/semver-diff/license +21 -0
  514. package/node_modules/semver-diff/package.json +34 -0
  515. package/node_modules/semver-diff/readme.md +52 -0
  516. package/node_modules/send/HISTORY.md +15 -0
  517. package/node_modules/send/LICENSE +1 -1
  518. package/node_modules/send/README.md +2 -2
  519. package/node_modules/send/SECURITY.md +24 -0
  520. package/node_modules/send/index.js +37 -27
  521. package/node_modules/send/package.json +10 -9
  522. package/node_modules/serve-static/HISTORY.md +12 -0
  523. package/node_modules/serve-static/README.md +1 -1
  524. package/node_modules/serve-static/package.json +5 -5
  525. package/node_modules/shebang-command/index.js +19 -0
  526. package/node_modules/shebang-command/license +21 -0
  527. package/node_modules/shebang-command/package.json +39 -0
  528. package/node_modules/shebang-command/readme.md +39 -0
  529. package/node_modules/shebang-regex/index.js +2 -0
  530. package/node_modules/shebang-regex/license +21 -0
  531. package/node_modules/shebang-regex/package.json +32 -0
  532. package/node_modules/shebang-regex/readme.md +29 -0
  533. package/node_modules/signal-exit/LICENSE.txt +16 -0
  534. package/node_modules/signal-exit/README.md +39 -0
  535. package/node_modules/signal-exit/index.js +202 -0
  536. package/node_modules/signal-exit/package.json +38 -0
  537. package/node_modules/signal-exit/signals.js +53 -0
  538. package/node_modules/statuses/HISTORY.md +17 -0
  539. package/node_modules/statuses/README.md +51 -42
  540. package/node_modules/statuses/codes.json +2 -3
  541. package/node_modules/statuses/index.js +52 -19
  542. package/node_modules/statuses/package.json +17 -16
  543. package/node_modules/string-width/index.js +36 -0
  544. package/node_modules/string-width/license +9 -0
  545. package/node_modules/string-width/package.json +55 -0
  546. package/node_modules/string-width/readme.md +42 -0
  547. package/node_modules/strip-ansi/index.js +4 -0
  548. package/node_modules/strip-ansi/license +9 -0
  549. package/node_modules/strip-ansi/package.json +52 -0
  550. package/node_modules/strip-ansi/readme.md +39 -0
  551. package/node_modules/strip-eof/index.js +15 -0
  552. package/node_modules/strip-eof/license +21 -0
  553. package/node_modules/strip-eof/package.json +39 -0
  554. package/node_modules/strip-eof/readme.md +28 -0
  555. package/node_modules/strip-json-comments/index.js +70 -0
  556. package/node_modules/strip-json-comments/license +21 -0
  557. package/node_modules/strip-json-comments/package.json +42 -0
  558. package/node_modules/strip-json-comments/readme.md +64 -0
  559. package/node_modules/supports-color/browser.js +5 -0
  560. package/node_modules/supports-color/index.js +131 -0
  561. package/node_modules/supports-color/license +9 -0
  562. package/node_modules/supports-color/package.json +53 -0
  563. package/node_modules/supports-color/readme.md +66 -0
  564. package/node_modules/term-size/index.js +70 -0
  565. package/node_modules/term-size/license +21 -0
  566. package/node_modules/term-size/package.json +43 -0
  567. package/node_modules/term-size/readme.md +41 -0
  568. package/node_modules/term-size/vendor/macos/term-size +0 -0
  569. package/node_modules/term-size/vendor/windows/term-size.exe +0 -0
  570. package/node_modules/timed-out/index.js +55 -0
  571. package/node_modules/{send/node_modules/destroy/LICENSE → timed-out/license} +1 -2
  572. package/node_modules/timed-out/package.json +36 -0
  573. package/node_modules/timed-out/readme.md +42 -0
  574. package/node_modules/underscore/LICENSE +1 -1
  575. package/node_modules/underscore/amd/_collectNonEnumProps.js +1 -1
  576. package/node_modules/underscore/amd/_setup.js +3 -3
  577. package/node_modules/underscore/amd/isObject.js +1 -1
  578. package/node_modules/underscore/amd/max.js +2 -2
  579. package/node_modules/underscore/amd/min.js +2 -2
  580. package/node_modules/underscore/amd/unzip.js +1 -1
  581. package/node_modules/underscore/cjs/_collectNonEnumProps.js +1 -1
  582. package/node_modules/underscore/cjs/_setup.js +3 -3
  583. package/node_modules/underscore/cjs/isObject.js +1 -1
  584. package/node_modules/underscore/cjs/max.js +2 -2
  585. package/node_modules/underscore/cjs/min.js +2 -2
  586. package/node_modules/underscore/cjs/unzip.js +1 -1
  587. package/node_modules/underscore/modules/.eslintrc +10 -1
  588. package/node_modules/underscore/modules/_collectNonEnumProps.js +1 -1
  589. package/node_modules/underscore/modules/_setup.js +3 -3
  590. package/node_modules/underscore/modules/index.js +2 -2
  591. package/node_modules/underscore/modules/isObject.js +1 -1
  592. package/node_modules/underscore/modules/max.js +2 -2
  593. package/node_modules/underscore/modules/min.js +2 -2
  594. package/node_modules/underscore/modules/unzip.js +1 -1
  595. package/node_modules/underscore/package.json +5 -2
  596. package/node_modules/underscore/underscore-esm-min.js +3 -3
  597. package/node_modules/underscore/underscore-esm-min.js.map +1 -1
  598. package/node_modules/underscore/underscore-esm.js +12 -12
  599. package/node_modules/underscore/underscore-esm.js.map +1 -1
  600. package/node_modules/underscore/underscore-min.js +3 -3
  601. package/node_modules/underscore/underscore-min.js.map +1 -1
  602. package/node_modules/underscore/underscore-node-f.cjs +12 -12
  603. package/node_modules/underscore/underscore-node-f.cjs.map +1 -1
  604. package/node_modules/underscore/underscore-node.cjs +2 -2
  605. package/node_modules/underscore/underscore-node.mjs +2 -2
  606. package/node_modules/underscore/underscore-umd-min.js +3 -3
  607. package/node_modules/underscore/underscore-umd-min.js.map +1 -1
  608. package/node_modules/underscore/underscore-umd.js +12 -12
  609. package/node_modules/underscore/underscore-umd.js.map +1 -1
  610. package/node_modules/underscore/underscore.js +12 -12
  611. package/node_modules/unique-string/index.js +4 -0
  612. package/node_modules/unique-string/license +21 -0
  613. package/node_modules/unique-string/package.json +44 -0
  614. package/node_modules/unique-string/readme.md +32 -0
  615. package/node_modules/unzip-response/index.js +36 -0
  616. package/node_modules/unzip-response/license +21 -0
  617. package/node_modules/unzip-response/package.json +49 -0
  618. package/node_modules/unzip-response/readme.md +29 -0
  619. package/node_modules/update-notifier/check.js +22 -0
  620. package/node_modules/update-notifier/index.js +155 -0
  621. package/node_modules/update-notifier/license +9 -0
  622. package/node_modules/update-notifier/package.json +55 -0
  623. package/node_modules/update-notifier/readme.md +193 -0
  624. package/node_modules/url-parse-lax/index.js +14 -0
  625. package/node_modules/url-parse-lax/license +21 -0
  626. package/node_modules/url-parse-lax/package.json +41 -0
  627. package/node_modules/url-parse-lax/readme.md +100 -0
  628. package/node_modules/util-deprecate/History.md +16 -0
  629. package/node_modules/util-deprecate/LICENSE +24 -0
  630. package/node_modules/util-deprecate/README.md +53 -0
  631. package/node_modules/util-deprecate/browser.js +67 -0
  632. package/node_modules/util-deprecate/node.js +6 -0
  633. package/node_modules/util-deprecate/package.json +27 -0
  634. package/node_modules/which/CHANGELOG.md +152 -0
  635. package/node_modules/which/LICENSE +15 -0
  636. package/node_modules/which/README.md +51 -0
  637. package/node_modules/which/bin/which +52 -0
  638. package/node_modules/which/package.json +30 -0
  639. package/node_modules/which/which.js +135 -0
  640. package/node_modules/widest-line/index.js +8 -0
  641. package/node_modules/widest-line/license +9 -0
  642. package/node_modules/widest-line/package.json +54 -0
  643. package/node_modules/widest-line/readme.md +34 -0
  644. package/node_modules/write-file-atomic/CHANGELOG.md +25 -0
  645. package/node_modules/write-file-atomic/LICENSE +6 -0
  646. package/node_modules/write-file-atomic/README.md +56 -0
  647. package/node_modules/write-file-atomic/index.js +238 -0
  648. package/node_modules/write-file-atomic/package.json +41 -0
  649. package/node_modules/xdg-basedir/index.js +28 -0
  650. package/node_modules/xdg-basedir/license +21 -0
  651. package/node_modules/xdg-basedir/package.json +40 -0
  652. package/node_modules/xdg-basedir/readme.md +60 -0
  653. package/node_modules/yallist/LICENSE +15 -0
  654. package/node_modules/yallist/README.md +204 -0
  655. package/node_modules/yallist/iterator.js +7 -0
  656. package/node_modules/yallist/package.json +29 -0
  657. package/node_modules/yallist/yallist.js +370 -0
  658. package/package.json +3 -2
  659. package/node_modules/express/node_modules/body-parser/HISTORY.md +0 -633
  660. package/node_modules/express/node_modules/body-parser/LICENSE +0 -23
  661. package/node_modules/express/node_modules/body-parser/README.md +0 -456
  662. package/node_modules/express/node_modules/body-parser/index.js +0 -157
  663. package/node_modules/express/node_modules/body-parser/lib/read.js +0 -181
  664. package/node_modules/express/node_modules/body-parser/lib/types/json.js +0 -230
  665. package/node_modules/express/node_modules/body-parser/lib/types/raw.js +0 -101
  666. package/node_modules/express/node_modules/body-parser/lib/types/text.js +0 -121
  667. package/node_modules/express/node_modules/body-parser/lib/types/urlencoded.js +0 -284
  668. package/node_modules/express/node_modules/body-parser/package.json +0 -52
  669. package/node_modules/express/node_modules/depd/History.md +0 -96
  670. package/node_modules/express/node_modules/depd/LICENSE +0 -22
  671. package/node_modules/express/node_modules/depd/Readme.md +0 -280
  672. package/node_modules/express/node_modules/depd/index.js +0 -522
  673. package/node_modules/express/node_modules/depd/lib/browser/index.js +0 -77
  674. package/node_modules/express/node_modules/depd/lib/compat/callsite-tostring.js +0 -103
  675. package/node_modules/express/node_modules/depd/lib/compat/event-listener-count.js +0 -22
  676. package/node_modules/express/node_modules/depd/lib/compat/index.js +0 -79
  677. package/node_modules/express/node_modules/depd/package.json +0 -41
  678. package/node_modules/express/node_modules/http-errors/HISTORY.md +0 -165
  679. package/node_modules/express/node_modules/http-errors/README.md +0 -169
  680. package/node_modules/express/node_modules/http-errors/index.js +0 -299
  681. package/node_modules/express/node_modules/http-errors/package.json +0 -49
  682. package/node_modules/express/node_modules/on-finished/HISTORY.md +0 -88
  683. package/node_modules/express/node_modules/on-finished/LICENSE +0 -23
  684. package/node_modules/express/node_modules/on-finished/README.md +0 -154
  685. package/node_modules/express/node_modules/on-finished/index.js +0 -196
  686. package/node_modules/express/node_modules/on-finished/package.json +0 -31
  687. package/node_modules/express/node_modules/qs/.eslintrc +0 -38
  688. package/node_modules/express/node_modules/qs/CHANGELOG.md +0 -371
  689. package/node_modules/express/node_modules/qs/LICENSE.md +0 -29
  690. package/node_modules/express/node_modules/qs/README.md +0 -616
  691. package/node_modules/express/node_modules/qs/dist/qs.js +0 -842
  692. package/node_modules/express/node_modules/qs/lib/formats.js +0 -23
  693. package/node_modules/express/node_modules/qs/lib/index.js +0 -11
  694. package/node_modules/express/node_modules/qs/lib/parse.js +0 -257
  695. package/node_modules/express/node_modules/qs/lib/stringify.js +0 -287
  696. package/node_modules/express/node_modules/qs/lib/utils.js +0 -252
  697. package/node_modules/express/node_modules/qs/package.json +0 -70
  698. package/node_modules/express/node_modules/qs/test/parse.js +0 -832
  699. package/node_modules/express/node_modules/qs/test/stringify.js +0 -804
  700. package/node_modules/express/node_modules/qs/test/utils.js +0 -136
  701. package/node_modules/express/node_modules/raw-body/HISTORY.md +0 -289
  702. package/node_modules/express/node_modules/raw-body/LICENSE +0 -22
  703. package/node_modules/express/node_modules/raw-body/README.md +0 -219
  704. package/node_modules/express/node_modules/raw-body/index.d.ts +0 -87
  705. package/node_modules/express/node_modules/raw-body/index.js +0 -286
  706. package/node_modules/express/node_modules/raw-body/package.json +0 -48
  707. package/node_modules/finalhandler/node_modules/on-finished/HISTORY.md +0 -88
  708. package/node_modules/finalhandler/node_modules/on-finished/LICENSE +0 -23
  709. package/node_modules/finalhandler/node_modules/on-finished/README.md +0 -154
  710. package/node_modules/finalhandler/node_modules/on-finished/index.js +0 -196
  711. package/node_modules/finalhandler/node_modules/on-finished/package.json +0 -31
  712. package/node_modules/http-errors/node_modules/statuses/HISTORY.md +0 -82
  713. package/node_modules/http-errors/node_modules/statuses/README.md +0 -136
  714. package/node_modules/http-errors/node_modules/statuses/codes.json +0 -65
  715. package/node_modules/http-errors/node_modules/statuses/index.js +0 -146
  716. package/node_modules/http-errors/node_modules/statuses/package.json +0 -49
  717. package/node_modules/send/node_modules/depd/History.md +0 -96
  718. package/node_modules/send/node_modules/depd/Readme.md +0 -280
  719. package/node_modules/send/node_modules/depd/index.js +0 -522
  720. package/node_modules/send/node_modules/depd/lib/browser/index.js +0 -77
  721. package/node_modules/send/node_modules/depd/lib/compat/callsite-tostring.js +0 -103
  722. package/node_modules/send/node_modules/depd/lib/compat/event-listener-count.js +0 -22
  723. package/node_modules/send/node_modules/depd/lib/compat/index.js +0 -79
  724. package/node_modules/send/node_modules/depd/package.json +0 -41
  725. package/node_modules/send/node_modules/destroy/README.md +0 -60
  726. package/node_modules/send/node_modules/destroy/index.js +0 -75
  727. package/node_modules/send/node_modules/destroy/package.json +0 -37
  728. package/node_modules/send/node_modules/http-errors/HISTORY.md +0 -165
  729. package/node_modules/send/node_modules/http-errors/README.md +0 -169
  730. package/node_modules/send/node_modules/http-errors/index.js +0 -299
  731. package/node_modules/send/node_modules/http-errors/package.json +0 -49
  732. package/node_modules/send/node_modules/on-finished/HISTORY.md +0 -88
  733. package/node_modules/send/node_modules/on-finished/LICENSE +0 -23
  734. package/node_modules/send/node_modules/on-finished/README.md +0 -154
  735. package/node_modules/send/node_modules/on-finished/index.js +0 -196
  736. package/node_modules/send/node_modules/on-finished/package.json +0 -31
@@ -0,0 +1,61 @@
1
+ # object-assign [![Build Status](https://travis-ci.org/sindresorhus/object-assign.svg?branch=master)](https://travis-ci.org/sindresorhus/object-assign)
2
+
3
+ > ES2015 [`Object.assign()`](http://www.2ality.com/2014/01/object-assign.html) [ponyfill](https://ponyfill.com)
4
+
5
+
6
+ ## Use the built-in
7
+
8
+ Node.js 4 and up, as well as every evergreen browser (Chrome, Edge, Firefox, Opera, Safari),
9
+ support `Object.assign()` :tada:. If you target only those environments, then by all
10
+ means, use `Object.assign()` instead of this package.
11
+
12
+
13
+ ## Install
14
+
15
+ ```
16
+ $ npm install --save object-assign
17
+ ```
18
+
19
+
20
+ ## Usage
21
+
22
+ ```js
23
+ const objectAssign = require('object-assign');
24
+
25
+ objectAssign({foo: 0}, {bar: 1});
26
+ //=> {foo: 0, bar: 1}
27
+
28
+ // multiple sources
29
+ objectAssign({foo: 0}, {bar: 1}, {baz: 2});
30
+ //=> {foo: 0, bar: 1, baz: 2}
31
+
32
+ // overwrites equal keys
33
+ objectAssign({foo: 0}, {foo: 1}, {foo: 2});
34
+ //=> {foo: 2}
35
+
36
+ // ignores null and undefined sources
37
+ objectAssign({foo: 0}, null, {bar: 1}, undefined);
38
+ //=> {foo: 0, bar: 1}
39
+ ```
40
+
41
+
42
+ ## API
43
+
44
+ ### objectAssign(target, [source, ...])
45
+
46
+ Assigns enumerable own properties of `source` objects to the `target` object and returns the `target` object. Additional `source` objects will overwrite previous ones.
47
+
48
+
49
+ ## Resources
50
+
51
+ - [ES2015 spec - Object.assign](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.assign)
52
+
53
+
54
+ ## Related
55
+
56
+ - [deep-assign](https://github.com/sindresorhus/deep-assign) - Recursive `Object.assign()`
57
+
58
+
59
+ ## License
60
+
61
+ MIT © [Sindre Sorhus](https://sindresorhus.com)
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+ module.exports = (promise, onFinally) => {
3
+ onFinally = onFinally || (() => {});
4
+
5
+ return promise.then(
6
+ val => new Promise(resolve => {
7
+ resolve(onFinally());
8
+ }).then(() => val),
9
+ err => new Promise(resolve => {
10
+ resolve(onFinally());
11
+ }).then(() => {
12
+ throw err;
13
+ })
14
+ );
15
+ };
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "p-finally",
3
+ "version": "1.0.0",
4
+ "description": "`Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/p-finally",
7
+ "author": {
8
+ "name": "Sindre Sorhus",
9
+ "email": "sindresorhus@gmail.com",
10
+ "url": "sindresorhus.com"
11
+ },
12
+ "engines": {
13
+ "node": ">=4"
14
+ },
15
+ "scripts": {
16
+ "test": "xo && ava"
17
+ },
18
+ "files": [
19
+ "index.js"
20
+ ],
21
+ "keywords": [
22
+ "promise",
23
+ "finally",
24
+ "handler",
25
+ "function",
26
+ "async",
27
+ "await",
28
+ "promises",
29
+ "settled",
30
+ "ponyfill",
31
+ "polyfill",
32
+ "shim",
33
+ "bluebird"
34
+ ],
35
+ "devDependencies": {
36
+ "ava": "*",
37
+ "xo": "*"
38
+ },
39
+ "xo": {
40
+ "esnext": true
41
+ }
42
+ }
@@ -0,0 +1,47 @@
1
+ # p-finally [![Build Status](https://travis-ci.org/sindresorhus/p-finally.svg?branch=master)](https://travis-ci.org/sindresorhus/p-finally)
2
+
3
+ > [`Promise#finally()`](https://github.com/tc39/proposal-promise-finally) [ponyfill](https://ponyfill.com) - Invoked when the promise is settled regardless of outcome
4
+
5
+ Useful for cleanup.
6
+
7
+
8
+ ## Install
9
+
10
+ ```
11
+ $ npm install --save p-finally
12
+ ```
13
+
14
+
15
+ ## Usage
16
+
17
+ ```js
18
+ const pFinally = require('p-finally');
19
+
20
+ const dir = createTempDir();
21
+
22
+ pFinally(write(dir), () => cleanup(dir));
23
+ ```
24
+
25
+
26
+ ## API
27
+
28
+ ### pFinally(promise, [onFinally])
29
+
30
+ Returns a `Promise`.
31
+
32
+ #### onFinally
33
+
34
+ Type: `Function`
35
+
36
+ Note: Throwing or returning a rejected promise will reject `promise` with the rejection reason.
37
+
38
+
39
+ ## Related
40
+
41
+ - [p-try](https://github.com/sindresorhus/p-try) - `Promise#try()` ponyfill - Starts a promise chain
42
+ - [More…](https://github.com/sindresorhus/promise-fun)
43
+
44
+
45
+ ## License
46
+
47
+ MIT © [Sindre Sorhus](https://sindresorhus.com)
@@ -0,0 +1,67 @@
1
+ 'use strict';
2
+ const url = require('url');
3
+ const got = require('got');
4
+ const registryUrl = require('registry-url');
5
+ const registryAuthToken = require('registry-auth-token');
6
+ const semver = require('semver');
7
+
8
+ module.exports = (name, opts) => {
9
+ const scope = name.split('/')[0];
10
+ const regUrl = registryUrl(scope);
11
+ const pkgUrl = url.resolve(regUrl, encodeURIComponent(name).replace(/^%40/, '@'));
12
+ const authInfo = registryAuthToken(regUrl, {recursive: true});
13
+
14
+ opts = Object.assign({
15
+ version: 'latest'
16
+ }, opts);
17
+
18
+ const headers = {
19
+ accept: 'application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*'
20
+ };
21
+
22
+ if (opts.fullMetadata) {
23
+ delete headers.accept;
24
+ }
25
+
26
+ if (authInfo) {
27
+ headers.authorization = `${authInfo.type} ${authInfo.token}`;
28
+ }
29
+
30
+ return got(pkgUrl, {json: true, headers})
31
+ .then(res => {
32
+ let data = res.body;
33
+ let version = opts.version;
34
+
35
+ if (opts.allVersions) {
36
+ return data;
37
+ }
38
+
39
+ if (data['dist-tags'][version]) {
40
+ data = data.versions[data['dist-tags'][version]];
41
+ } else if (version) {
42
+ if (!data.versions[version]) {
43
+ const versions = Object.keys(data.versions);
44
+ version = semver.maxSatisfying(versions, version);
45
+
46
+ if (!version) {
47
+ throw new Error('Version doesn\'t exist');
48
+ }
49
+ }
50
+
51
+ data = data.versions[version];
52
+
53
+ if (!data) {
54
+ throw new Error('Version doesn\'t exist');
55
+ }
56
+ }
57
+
58
+ return data;
59
+ })
60
+ .catch(err => {
61
+ if (err.statusCode === 404) {
62
+ throw new Error(`Package \`${name}\` doesn't exist`);
63
+ }
64
+
65
+ throw err;
66
+ });
67
+ };
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "package-json",
3
+ "version": "4.0.1",
4
+ "description": "Get metadata of a package from the npm registry",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/package-json",
7
+ "author": {
8
+ "name": "Sindre Sorhus",
9
+ "email": "sindresorhus@gmail.com",
10
+ "url": "sindresorhus.com"
11
+ },
12
+ "engines": {
13
+ "node": ">=4"
14
+ },
15
+ "scripts": {
16
+ "test": "xo && ava"
17
+ },
18
+ "files": [
19
+ "index.js"
20
+ ],
21
+ "keywords": [
22
+ "npm",
23
+ "registry",
24
+ "package",
25
+ "pkg",
26
+ "package.json",
27
+ "json",
28
+ "module",
29
+ "scope",
30
+ "scoped"
31
+ ],
32
+ "dependencies": {
33
+ "got": "^6.7.1",
34
+ "registry-auth-token": "^3.0.1",
35
+ "registry-url": "^3.0.3",
36
+ "semver": "^5.1.0"
37
+ },
38
+ "devDependencies": {
39
+ "ava": "*",
40
+ "mock-private-registry": "^1.1.0",
41
+ "xo": "*"
42
+ }
43
+ }
@@ -0,0 +1,91 @@
1
+ # package-json [![Build Status](https://travis-ci.org/sindresorhus/package-json.svg?branch=master)](https://travis-ci.org/sindresorhus/package-json)
2
+
3
+ > Get metadata of a package from the npm registry
4
+
5
+
6
+ ## Install
7
+
8
+ ```
9
+ $ npm install --save package-json
10
+ ```
11
+
12
+
13
+ ## Usage
14
+
15
+ ```js
16
+ const packageJson = require('package-json');
17
+
18
+ packageJson('ava').then(json => {
19
+ console.log(json);
20
+ //=> {name: 'ava', ...}
21
+ });
22
+
23
+ // Also works with scoped packages
24
+ packageJson('@sindresorhus/df').then(json => {
25
+ console.log(json);
26
+ //=> {name: '@sindresorhus/df', ...}
27
+ });
28
+ ```
29
+
30
+
31
+ ## API
32
+
33
+ ### packageJson(name, [options])
34
+
35
+ #### name
36
+
37
+ Type: `string`
38
+
39
+ Name of the package.
40
+
41
+ #### options
42
+
43
+ Type: `Object`
44
+
45
+ ##### version
46
+
47
+ Type: `string`<br>
48
+ Default: `latest`
49
+
50
+ Package version such as `1.0.0` or a [dist tag](https://docs.npmjs.com/cli/dist-tag) such as `latest`.
51
+
52
+ The version can also be in any format supported by the [semver](https://github.com/npm/node-semver) module. For example:
53
+
54
+ - `1` - get the latest `1.x.x`
55
+ - `1.2` - get the latest `1.2.x`
56
+ - `^1.2.3` - get the latest `1.x.x` but at least `1.2.3`
57
+ - `~1.2.3` - get the latest `1.2.x` but at least `1.2.3`
58
+
59
+ ##### fullMetadata
60
+
61
+ Type: `boolean`<br>
62
+ Default: `false`
63
+
64
+ By default, only an abbreviated metadata object is returned for performance reasons. [Read more.](https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md)
65
+
66
+ ##### allVersions
67
+
68
+ Type: `boolean`<br>
69
+ Default: `false`
70
+
71
+ Return the [main entry](https://registry.npmjs.org/ava) containing all versions.
72
+
73
+
74
+ ## Authentication
75
+
76
+ Both public and private registries are supported, for both scoped and unscoped packages, as long as the registry uses either bearer tokens or basic authentication.
77
+
78
+
79
+ ## Related
80
+
81
+ - [package-json-cli](https://github.com/sindresorhus/package-json-cli) - CLI for this module
82
+ - [latest-version](https://github.com/sindresorhus/latest-version) - Get the latest version of an npm package
83
+ - [pkg-versions](https://github.com/sindresorhus/pkg-versions) - Get the version numbers of a package from the npm registry
84
+ - [npm-keyword](https://github.com/sindresorhus/npm-keyword) - Get a list of npm packages with a certain keyword
85
+ - [npm-user](https://github.com/sindresorhus/npm-user) - Get user info of an npm user
86
+ - [npm-email](https://github.com/sindresorhus/npm-email) - Get the email of an npm user
87
+
88
+
89
+ ## License
90
+
91
+ MIT © [Sindre Sorhus](https://sindresorhus.com)
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+ const fs = require('fs');
3
+
4
+ module.exports = fp => new Promise(resolve => {
5
+ fs.access(fp, err => {
6
+ resolve(!err);
7
+ });
8
+ });
9
+
10
+ module.exports.sync = fp => {
11
+ try {
12
+ fs.accessSync(fp);
13
+ return true;
14
+ } catch (err) {
15
+ return false;
16
+ }
17
+ };
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "path-exists",
3
+ "version": "3.0.0",
4
+ "description": "Check if a path exists",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/path-exists",
7
+ "author": {
8
+ "name": "Sindre Sorhus",
9
+ "email": "sindresorhus@gmail.com",
10
+ "url": "sindresorhus.com"
11
+ },
12
+ "engines": {
13
+ "node": ">=4"
14
+ },
15
+ "scripts": {
16
+ "test": "xo && ava"
17
+ },
18
+ "files": [
19
+ "index.js"
20
+ ],
21
+ "keywords": [
22
+ "path",
23
+ "exists",
24
+ "exist",
25
+ "file",
26
+ "filepath",
27
+ "fs",
28
+ "filesystem",
29
+ "file-system",
30
+ "access",
31
+ "stat"
32
+ ],
33
+ "devDependencies": {
34
+ "ava": "*",
35
+ "xo": "*"
36
+ },
37
+ "xo": {
38
+ "esnext": true
39
+ }
40
+ }
@@ -0,0 +1,50 @@
1
+ # path-exists [![Build Status](https://travis-ci.org/sindresorhus/path-exists.svg?branch=master)](https://travis-ci.org/sindresorhus/path-exists)
2
+
3
+ > Check if a path exists
4
+
5
+ Because [`fs.exists()`](https://nodejs.org/api/fs.html#fs_fs_exists_path_callback) is being [deprecated](https://github.com/iojs/io.js/issues/103), but there's still a genuine use-case of being able to check if a path exists for other purposes than doing IO with it.
6
+
7
+ Never use this before handling a file though:
8
+
9
+ > In particular, checking if a file exists before opening it is an anti-pattern that leaves you vulnerable to race conditions: another process may remove the file between the calls to `fs.exists()` and `fs.open()`. Just open the file and handle the error when it's not there.
10
+
11
+
12
+ ## Install
13
+
14
+ ```
15
+ $ npm install --save path-exists
16
+ ```
17
+
18
+
19
+ ## Usage
20
+
21
+ ```js
22
+ // foo.js
23
+ const pathExists = require('path-exists');
24
+
25
+ pathExists('foo.js').then(exists => {
26
+ console.log(exists);
27
+ //=> true
28
+ });
29
+ ```
30
+
31
+
32
+ ## API
33
+
34
+ ### pathExists(path)
35
+
36
+ Returns a promise for a boolean of whether the path exists.
37
+
38
+ ### pathExists.sync(path)
39
+
40
+ Returns a boolean of whether the path exists.
41
+
42
+
43
+ ## Related
44
+
45
+ - [path-exists-cli](https://github.com/sindresorhus/path-exists-cli) - CLI for this module
46
+
47
+
48
+ ## License
49
+
50
+ MIT © [Sindre Sorhus](https://sindresorhus.com)
@@ -0,0 +1,47 @@
1
+ Dual licensed under WTFPL and MIT:
2
+
3
+ ---
4
+
5
+ Copyright © 2013–2016 Domenic Denicola <d@domenic.me>
6
+
7
+ This work is free. You can redistribute it and/or modify it under the
8
+ terms of the Do What The Fuck You Want To Public License, Version 2,
9
+ as published by Sam Hocevar. See below for more details.
10
+
11
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
12
+ Version 2, December 2004
13
+
14
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
15
+
16
+ Everyone is permitted to copy and distribute verbatim or modified
17
+ copies of this license document, and changing it is allowed as long
18
+ as the name is changed.
19
+
20
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
21
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
22
+
23
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
24
+
25
+ ---
26
+
27
+ The MIT License (MIT)
28
+
29
+ Copyright © 2013–2016 Domenic Denicola <d@domenic.me>
30
+
31
+ Permission is hereby granted, free of charge, to any person obtaining a copy
32
+ of this software and associated documentation files (the "Software"), to deal
33
+ in the Software without restriction, including without limitation the rights
34
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
35
+ copies of the Software, and to permit persons to whom the Software is
36
+ furnished to do so, subject to the following conditions:
37
+
38
+ The above copyright notice and this permission notice shall be included in all
39
+ copies or substantial portions of the Software.
40
+
41
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
42
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
43
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
44
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
45
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
46
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
47
+ SOFTWARE.
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ var path = require("path");
4
+
5
+ module.exports = function (thePath, potentialParent) {
6
+ // For inside-directory checking, we want to allow trailing slashes, so normalize.
7
+ thePath = stripTrailingSep(thePath);
8
+ potentialParent = stripTrailingSep(potentialParent);
9
+
10
+ // Node treats only Windows as case-insensitive in its path module; we follow those conventions.
11
+ if (process.platform === "win32") {
12
+ thePath = thePath.toLowerCase();
13
+ potentialParent = potentialParent.toLowerCase();
14
+ }
15
+
16
+ return thePath.lastIndexOf(potentialParent, 0) === 0 &&
17
+ (
18
+ thePath[potentialParent.length] === path.sep ||
19
+ thePath[potentialParent.length] === undefined
20
+ );
21
+ };
22
+
23
+ function stripTrailingSep(thePath) {
24
+ if (thePath[thePath.length - 1] === path.sep) {
25
+ return thePath.slice(0, -1);
26
+ }
27
+ return thePath;
28
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "path-is-inside",
3
+ "description": "Tests whether one path is inside another path",
4
+ "keywords": ["path", "directory", "folder", "inside", "relative"],
5
+ "version": "1.0.2",
6
+ "author": "Domenic Denicola <d@domenic.me> (https://domenic.me)",
7
+ "license": "(WTFPL OR MIT)",
8
+ "repository": "domenic/path-is-inside",
9
+ "main": "lib/path-is-inside.js",
10
+ "files": [
11
+ "lib"
12
+ ],
13
+ "scripts": {
14
+ "test": "mocha",
15
+ "lint": "jshint lib"
16
+ },
17
+ "devDependencies": {
18
+ "jshint": "~2.3.0",
19
+ "mocha": "~1.15.1"
20
+ }
21
+ }
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+ module.exports = opts => {
3
+ opts = opts || {};
4
+
5
+ const env = opts.env || process.env;
6
+ const platform = opts.platform || process.platform;
7
+
8
+ if (platform !== 'win32') {
9
+ return 'PATH';
10
+ }
11
+
12
+ return Object.keys(env).find(x => x.toUpperCase() === 'PATH') || 'Path';
13
+ };
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.