fsevents 1.0.15 → 1.1.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.

Potentially problematic release.


This version of fsevents might be problematic. Click here for more details.

Files changed (369) hide show
  1. package/fsevents.js +3 -0
  2. package/install.js +7 -0
  3. package/lib/binding/Release/node-v48-darwin-x64/fse.node +0 -0
  4. package/node_modules/abbrev/abbrev.js +0 -1
  5. package/node_modules/abbrev/package.json +32 -21
  6. package/node_modules/ansi-regex/index.js +1 -1
  7. package/node_modules/ansi-regex/package.json +61 -42
  8. package/node_modules/ansi-regex/readme.md +10 -2
  9. package/node_modules/ansi-styles/package.json +27 -19
  10. package/node_modules/aproba/README.md +33 -3
  11. package/node_modules/aproba/index.js +71 -30
  12. package/node_modules/aproba/package.json +30 -22
  13. package/node_modules/are-we-there-yet/package.json +14 -6
  14. package/node_modules/asn1/package.json +16 -8
  15. package/node_modules/assert-plus/package.json +16 -8
  16. package/node_modules/{node-uuid/LICENSE.md → asynckit/LICENSE} +1 -1
  17. package/node_modules/asynckit/README.md +233 -0
  18. package/node_modules/asynckit/bench.js +76 -0
  19. package/node_modules/asynckit/index.js +6 -0
  20. package/node_modules/asynckit/lib/abort.js +29 -0
  21. package/node_modules/asynckit/lib/async.js +34 -0
  22. package/node_modules/asynckit/lib/defer.js +26 -0
  23. package/node_modules/asynckit/lib/iterate.js +75 -0
  24. package/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  25. package/node_modules/asynckit/lib/readable_parallel.js +25 -0
  26. package/node_modules/asynckit/lib/readable_serial.js +25 -0
  27. package/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  28. package/node_modules/asynckit/lib/state.js +37 -0
  29. package/node_modules/asynckit/lib/streamify.js +141 -0
  30. package/node_modules/asynckit/lib/terminator.js +29 -0
  31. package/node_modules/asynckit/package.json +126 -0
  32. package/node_modules/asynckit/parallel.js +43 -0
  33. package/node_modules/asynckit/serial.js +17 -0
  34. package/node_modules/asynckit/serialOrdered.js +75 -0
  35. package/node_modules/asynckit/stream.js +21 -0
  36. package/node_modules/aws-sign2/package.json +15 -7
  37. package/node_modules/aws4/README.md +9 -0
  38. package/node_modules/aws4/aws4.js +21 -7
  39. package/node_modules/aws4/package.json +62 -54
  40. package/node_modules/balanced-match/package.json +27 -19
  41. package/node_modules/bcrypt-pbkdf/README.md +39 -0
  42. package/node_modules/bcrypt-pbkdf/index.js +556 -0
  43. package/node_modules/bcrypt-pbkdf/package.json +84 -0
  44. package/node_modules/block-stream/package.json +15 -7
  45. package/node_modules/boom/package.json +14 -6
  46. package/node_modules/brace-expansion/index.js +10 -0
  47. package/node_modules/brace-expansion/package.json +35 -27
  48. package/node_modules/buffer-shims/package.json +16 -7
  49. package/node_modules/caseless/package.json +18 -10
  50. package/node_modules/chalk/package.json +30 -22
  51. package/node_modules/code-point-at/index.js +3 -4
  52. package/node_modules/code-point-at/package.json +40 -30
  53. package/node_modules/code-point-at/readme.md +2 -4
  54. package/node_modules/combined-stream/package.json +15 -7
  55. package/node_modules/commander/package.json +16 -8
  56. package/node_modules/concat-map/package.json +30 -22
  57. package/node_modules/console-control-strings/package.json +15 -7
  58. package/node_modules/core-util-is/package.json +22 -14
  59. package/node_modules/cryptiles/package.json +14 -6
  60. package/node_modules/dashdash/CHANGES.md +364 -0
  61. package/node_modules/dashdash/LICENSE.txt +24 -0
  62. package/node_modules/dashdash/etc/dashdash.bash_completion.in +4 -3
  63. package/node_modules/dashdash/node_modules/assert-plus/package.json +16 -8
  64. package/node_modules/dashdash/package.json +33 -24
  65. package/node_modules/debug/package.json +20 -12
  66. package/node_modules/deep-extend/package.json +23 -15
  67. package/node_modules/delayed-stream/package.json +15 -7
  68. package/node_modules/delegates/package.json +14 -6
  69. package/node_modules/ecc-jsbn/package.json +17 -9
  70. package/node_modules/escape-string-regexp/package.json +20 -12
  71. package/node_modules/extend/package.json +16 -8
  72. package/node_modules/extsprintf/package.json +14 -6
  73. package/node_modules/forever-agent/package.json +15 -7
  74. package/node_modules/form-data/README.md +7 -8
  75. package/node_modules/form-data/lib/browser.js +1 -1
  76. package/node_modules/form-data/lib/form_data.js +101 -72
  77. package/node_modules/form-data/lib/populate.js +6 -5
  78. package/node_modules/form-data/package.json +68 -52
  79. package/node_modules/fs.realpath/package.json +19 -11
  80. package/node_modules/fstream/package.json +15 -7
  81. package/node_modules/fstream-ignore/package.json +15 -7
  82. package/node_modules/gauge/CHANGELOG.md +24 -0
  83. package/node_modules/gauge/README.md +4 -0
  84. package/node_modules/gauge/index.js +16 -9
  85. package/node_modules/gauge/package.json +37 -29
  86. package/node_modules/generate-function/package.json +16 -8
  87. package/node_modules/generate-object-property/package.json +14 -6
  88. package/node_modules/getpass/node_modules/assert-plus/package.json +16 -8
  89. package/node_modules/getpass/package.json +16 -8
  90. package/node_modules/glob/README.md +3 -0
  91. package/node_modules/glob/common.js +6 -1
  92. package/node_modules/glob/glob.js +23 -14
  93. package/node_modules/glob/package.json +29 -21
  94. package/node_modules/glob/sync.js +29 -11
  95. package/node_modules/graceful-fs/README.md +1 -1
  96. package/node_modules/graceful-fs/graceful-fs.js +23 -14
  97. package/node_modules/graceful-fs/package.json +35 -27
  98. package/node_modules/graceful-fs/polyfills.js +99 -21
  99. package/node_modules/graceful-readlink/package.json +14 -6
  100. package/node_modules/har-validator/package.json +16 -8
  101. package/node_modules/has-ansi/package.json +29 -21
  102. package/node_modules/has-unicode/package.json +18 -10
  103. package/node_modules/hawk/package.json +18 -10
  104. package/node_modules/hoek/package.json +14 -6
  105. package/node_modules/http-signature/package.json +14 -6
  106. package/node_modules/inflight/inflight.js +22 -12
  107. package/node_modules/inflight/package.json +28 -20
  108. package/node_modules/inherits/inherits.js +7 -1
  109. package/node_modules/inherits/package.json +41 -21
  110. package/node_modules/ini/package.json +15 -7
  111. package/node_modules/is-fullwidth-code-point/package.json +27 -19
  112. package/node_modules/is-my-json-valid/index.js +10 -0
  113. package/node_modules/is-my-json-valid/package.json +36 -20
  114. package/node_modules/is-my-json-valid/test/misc.js +24 -0
  115. package/node_modules/is-property/package.json +19 -11
  116. package/node_modules/is-typedarray/package.json +16 -8
  117. package/node_modules/isarray/package.json +28 -20
  118. package/node_modules/isstream/package.json +19 -11
  119. package/node_modules/jodid25519/package.json +18 -10
  120. package/node_modules/jsbn/index.js +8 -9
  121. package/node_modules/jsbn/package.json +30 -18
  122. package/node_modules/json-schema/lib/links.js +17 -3
  123. package/node_modules/json-schema/lib/validate.js +18 -5
  124. package/node_modules/json-schema/package.json +32 -18
  125. package/node_modules/json-stringify-safe/package.json +18 -10
  126. package/node_modules/{async/LICENSE → jsonpointer/LICENSE.md} +3 -1
  127. package/node_modules/jsonpointer/README.md +17 -10
  128. package/node_modules/jsonpointer/jsonpointer.js +73 -56
  129. package/node_modules/jsonpointer/package.json +47 -26
  130. package/node_modules/jsprim/CHANGES.md +4 -0
  131. package/node_modules/jsprim/package.json +25 -17
  132. package/node_modules/mime-db/HISTORY.md +50 -0
  133. package/node_modules/mime-db/db.json +126 -2
  134. package/node_modules/mime-db/package.json +43 -30
  135. package/node_modules/mime-types/HISTORY.md +19 -0
  136. package/node_modules/mime-types/index.js +8 -8
  137. package/node_modules/mime-types/package.json +32 -19
  138. package/node_modules/minimatch/minimatch.js +19 -20
  139. package/node_modules/minimatch/package.json +25 -17
  140. package/node_modules/minimist/package.json +24 -16
  141. package/node_modules/mkdirp/package.json +21 -13
  142. package/node_modules/ms/package.json +14 -6
  143. package/node_modules/node-pre-gyp/CHANGELOG.md +20 -0
  144. package/node_modules/node-pre-gyp/README.md +574 -0
  145. package/node_modules/node-pre-gyp/appveyor.yml +19 -9
  146. package/node_modules/node-pre-gyp/lib/install.js +31 -7
  147. package/node_modules/node-pre-gyp/lib/node-pre-gyp.js +3 -1
  148. package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +140 -0
  149. package/node_modules/node-pre-gyp/package.json +52 -48
  150. package/node_modules/nopt/package.json +19 -11
  151. package/node_modules/npmlog/CHANGELOG.md +9 -0
  152. package/node_modules/npmlog/README.md +7 -1
  153. package/node_modules/npmlog/log.js +12 -8
  154. package/node_modules/npmlog/package.json +30 -22
  155. package/node_modules/number-is-nan/package.json +39 -30
  156. package/node_modules/number-is-nan/readme.md +1 -3
  157. package/node_modules/oauth-sign/package.json +15 -7
  158. package/node_modules/object-assign/index.js +11 -4
  159. package/node_modules/object-assign/package.json +42 -30
  160. package/node_modules/object-assign/readme.md +8 -3
  161. package/node_modules/once/README.md +28 -0
  162. package/node_modules/once/once.js +21 -0
  163. package/node_modules/once/package.json +31 -20
  164. package/node_modules/path-is-absolute/index.js +5 -5
  165. package/node_modules/path-is-absolute/package.json +45 -31
  166. package/node_modules/path-is-absolute/readme.md +19 -11
  167. package/node_modules/pinkie/package.json +18 -10
  168. package/node_modules/pinkie-promise/package.json +18 -10
  169. package/node_modules/process-nextick-args/package.json +16 -8
  170. package/node_modules/punycode/LICENSE-MIT.txt +20 -0
  171. package/node_modules/punycode/README.md +176 -0
  172. package/node_modules/punycode/package.json +127 -0
  173. package/node_modules/punycode/punycode.js +533 -0
  174. package/node_modules/qs/.eslintrc +15 -15
  175. package/node_modules/qs/CHANGELOG.md +36 -0
  176. package/node_modules/qs/README.md +431 -0
  177. package/node_modules/qs/dist/qs.js +167 -67
  178. package/node_modules/qs/lib/formats.js +18 -0
  179. package/node_modules/qs/lib/index.js +6 -4
  180. package/node_modules/qs/lib/parse.js +31 -32
  181. package/node_modules/qs/lib/stringify.js +83 -20
  182. package/node_modules/qs/lib/utils.js +23 -7
  183. package/node_modules/qs/package.json +40 -30
  184. package/node_modules/qs/test/.eslintrc +10 -0
  185. package/node_modules/qs/test/index.js +2 -0
  186. package/node_modules/qs/test/parse.js +108 -47
  187. package/node_modules/qs/test/stringify.js +261 -28
  188. package/node_modules/qs/test/utils.js +13 -0
  189. package/node_modules/rc/node_modules/minimist/package.json +24 -16
  190. package/node_modules/rc/package.json +35 -23
  191. package/node_modules/readable-stream/.npmignore +1 -0
  192. package/node_modules/readable-stream/.travis.yml +2 -7
  193. package/node_modules/readable-stream/README.md +6 -2
  194. package/node_modules/readable-stream/lib/_stream_readable.js +158 -110
  195. package/node_modules/readable-stream/lib/_stream_transform.js +7 -5
  196. package/node_modules/readable-stream/lib/_stream_writable.js +35 -7
  197. package/node_modules/readable-stream/lib/internal/streams/BufferList.js +64 -0
  198. package/node_modules/readable-stream/package.json +34 -26
  199. package/node_modules/request/CHANGELOG.md +49 -18
  200. package/node_modules/request/README.md +3 -2
  201. package/node_modules/request/index.js +2 -3
  202. package/node_modules/request/lib/auth.js +1 -1
  203. package/node_modules/request/lib/helpers.js +4 -13
  204. package/node_modules/request/lib/multipart.js +1 -1
  205. package/node_modules/request/lib/oauth.js +1 -1
  206. package/node_modules/request/lib/redirect.js +5 -1
  207. package/node_modules/request/package.json +50 -31
  208. package/node_modules/request/request.js +84 -43
  209. package/node_modules/rimraf/package.json +28 -20
  210. package/node_modules/rimraf/rimraf.js +2 -2
  211. package/node_modules/semver/README.md +4 -0
  212. package/node_modules/semver/package.json +27 -19
  213. package/node_modules/semver/semver.js +14 -5
  214. package/node_modules/set-blocking/package.json +21 -13
  215. package/node_modules/signal-exit/CHANGELOG.md +10 -0
  216. package/node_modules/signal-exit/LICENSE.txt +2 -0
  217. package/node_modules/signal-exit/index.js +9 -0
  218. package/node_modules/signal-exit/package.json +32 -24
  219. package/node_modules/signal-exit/signals.js +5 -4
  220. package/node_modules/sntp/package.json +16 -8
  221. package/node_modules/sshpk/README.md +214 -3
  222. package/node_modules/sshpk/bin/sshpk-conv +6 -0
  223. package/node_modules/sshpk/lib/certificate.js +291 -0
  224. package/node_modules/sshpk/lib/errors.js +14 -1
  225. package/node_modules/sshpk/lib/fingerprint.js +28 -7
  226. package/node_modules/sshpk/lib/formats/openssh-cert.js +289 -0
  227. package/node_modules/sshpk/lib/formats/pem.js +2 -2
  228. package/node_modules/sshpk/lib/formats/pkcs8.js +2 -7
  229. package/node_modules/sshpk/lib/formats/ssh-private.js +140 -17
  230. package/node_modules/sshpk/lib/formats/x509-pem.js +77 -0
  231. package/node_modules/sshpk/lib/formats/x509.js +484 -0
  232. package/node_modules/sshpk/lib/identity.js +277 -0
  233. package/node_modules/sshpk/lib/index.js +13 -1
  234. package/node_modules/sshpk/lib/key.js +1 -0
  235. package/node_modules/sshpk/lib/signature.js +14 -6
  236. package/node_modules/sshpk/lib/ssh-buffer.js +24 -0
  237. package/node_modules/sshpk/lib/utils.js +43 -1
  238. package/node_modules/sshpk/node_modules/assert-plus/package.json +16 -8
  239. package/node_modules/sshpk/package.json +32 -22
  240. package/node_modules/string-width/index.js +5 -0
  241. package/node_modules/string-width/package.json +49 -36
  242. package/node_modules/string-width/readme.md +4 -3
  243. package/node_modules/string_decoder/package.json +19 -11
  244. package/node_modules/stringstream/package.json +18 -10
  245. package/node_modules/strip-ansi/package.json +29 -21
  246. package/node_modules/strip-json-comments/index.js +70 -0
  247. package/node_modules/strip-json-comments/package.json +49 -43
  248. package/node_modules/strip-json-comments/readme.md +12 -28
  249. package/node_modules/supports-color/package.json +26 -18
  250. package/node_modules/tar/package.json +19 -11
  251. package/node_modules/tar-pack/README.md +4 -1
  252. package/node_modules/tar-pack/index.js +17 -12
  253. package/node_modules/tar-pack/node_modules/once/LICENSE +15 -0
  254. package/node_modules/tar-pack/node_modules/once/README.md +51 -0
  255. package/node_modules/tar-pack/node_modules/once/once.js +21 -0
  256. package/node_modules/tar-pack/node_modules/once/package.json +96 -0
  257. package/node_modules/tar-pack/node_modules/readable-stream/.npmignore +8 -0
  258. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/.travis.yml +4 -7
  259. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/LICENSE +0 -0
  260. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/README.md +2 -2
  261. package/node_modules/tar-pack/node_modules/readable-stream/doc/stream.md +2015 -0
  262. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -0
  263. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/duplex.js +0 -0
  264. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_duplex.js +0 -0
  265. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_passthrough.js +0 -0
  266. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_readable.js +164 -107
  267. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_transform.js +3 -3
  268. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_writable.js +25 -15
  269. package/node_modules/tar-pack/node_modules/readable-stream/lib/internal/streams/BufferList.js +64 -0
  270. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/package.json +50 -30
  271. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/passthrough.js +0 -0
  272. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/readable.js +4 -0
  273. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/transform.js +0 -0
  274. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/writable.js +0 -0
  275. package/node_modules/tar-pack/package.json +39 -22
  276. package/node_modules/tar-pack/test/index.js +43 -1
  277. package/node_modules/tough-cookie/README.md +17 -3
  278. package/node_modules/tough-cookie/lib/cookie.js +6 -12
  279. package/node_modules/tough-cookie/package.json +50 -35
  280. package/node_modules/tunnel-agent/package.json +15 -7
  281. package/node_modules/tweetnacl/AUTHORS.md +28 -0
  282. package/node_modules/tweetnacl/CHANGELOG.md +93 -0
  283. package/node_modules/tweetnacl/LICENSE +24 -0
  284. package/node_modules/tweetnacl/PULL_REQUEST_TEMPLATE.md +20 -0
  285. package/node_modules/tweetnacl/README.md +57 -61
  286. package/node_modules/tweetnacl/nacl-fast.js +22 -52
  287. package/node_modules/tweetnacl/nacl-fast.min.js +2 -2
  288. package/node_modules/tweetnacl/nacl.d.ts +98 -0
  289. package/node_modules/tweetnacl/nacl.js +21 -51
  290. package/node_modules/tweetnacl/nacl.min.js +1 -1
  291. package/node_modules/tweetnacl/package.json +47 -46
  292. package/node_modules/uid-number/package.json +15 -7
  293. package/node_modules/util-deprecate/package.json +21 -13
  294. package/node_modules/uuid/.npmignore +8 -0
  295. package/node_modules/uuid/.travis.yml +5 -0
  296. package/node_modules/uuid/AUTHORS +5 -0
  297. package/node_modules/uuid/HISTORY.md +28 -0
  298. package/node_modules/uuid/LICENSE.md +21 -0
  299. package/node_modules/uuid/README.md +132 -0
  300. package/node_modules/{node-uuid → uuid}/bin/uuid +0 -0
  301. package/node_modules/uuid/index.js +8 -0
  302. package/node_modules/uuid/lib/bytesToUuid.js +23 -0
  303. package/node_modules/uuid/lib/rng-browser.js +33 -0
  304. package/node_modules/uuid/lib/rng.js +10 -0
  305. package/node_modules/uuid/package.json +122 -0
  306. package/node_modules/uuid/test/mocha.opts +3 -0
  307. package/node_modules/uuid/test/test.js +96 -0
  308. package/node_modules/uuid/v1.js +103 -0
  309. package/node_modules/uuid/v4.js +29 -0
  310. package/node_modules/verror/package.json +14 -6
  311. package/node_modules/wide-align/package.json +19 -11
  312. package/node_modules/wrappy/package.json +17 -8
  313. package/node_modules/xtend/package.json +29 -21
  314. package/package.json +2 -2
  315. package/node_modules/async/CHANGELOG.md +0 -125
  316. package/node_modules/async/README.md +0 -1877
  317. package/node_modules/async/dist/async.js +0 -1265
  318. package/node_modules/async/dist/async.min.js +0 -2
  319. package/node_modules/async/lib/async.js +0 -1265
  320. package/node_modules/async/package.json +0 -149
  321. package/node_modules/bl/.jshintrc +0 -59
  322. package/node_modules/bl/.npmignore +0 -1
  323. package/node_modules/bl/.travis.yml +0 -13
  324. package/node_modules/bl/LICENSE.md +0 -13
  325. package/node_modules/bl/README.md +0 -200
  326. package/node_modules/bl/bl.js +0 -243
  327. package/node_modules/bl/node_modules/readable-stream/.npmignore +0 -5
  328. package/node_modules/bl/node_modules/readable-stream/.zuul.yml +0 -1
  329. package/node_modules/bl/node_modules/readable-stream/doc/stream.markdown +0 -1760
  330. package/node_modules/bl/package.json +0 -96
  331. package/node_modules/bl/test/test.js +0 -640
  332. package/node_modules/form-data/.dockerignore +0 -7
  333. package/node_modules/form-data/.editorconfig +0 -10
  334. package/node_modules/form-data/.eslintignore +0 -1
  335. package/node_modules/form-data/.eslintrc +0 -64
  336. package/node_modules/form-data/wercker.yml +0 -36
  337. package/node_modules/gauge/CHANGELOG.md~ +0 -123
  338. package/node_modules/gauge/README.md~ +0 -393
  339. package/node_modules/has-color/index.js +0 -32
  340. package/node_modules/has-color/package.json +0 -97
  341. package/node_modules/has-color/readme.md +0 -30
  342. package/node_modules/inherits/test.js +0 -25
  343. package/node_modules/jsonpointer/.travis.yml +0 -10
  344. package/node_modules/jsonpointer/test.js +0 -98
  345. package/node_modules/node-uuid/.npmignore +0 -4
  346. package/node_modules/node-uuid/README.md +0 -254
  347. package/node_modules/node-uuid/benchmark/README.md +0 -53
  348. package/node_modules/node-uuid/benchmark/bench.gnu +0 -174
  349. package/node_modules/node-uuid/benchmark/bench.sh +0 -34
  350. package/node_modules/node-uuid/benchmark/benchmark-native.c +0 -34
  351. package/node_modules/node-uuid/benchmark/benchmark.js +0 -84
  352. package/node_modules/node-uuid/bower.json +0 -23
  353. package/node_modules/node-uuid/component.json +0 -25
  354. package/node_modules/node-uuid/package.json +0 -105
  355. package/node_modules/node-uuid/test/compare_v1.js +0 -63
  356. package/node_modules/node-uuid/test/test.html +0 -17
  357. package/node_modules/node-uuid/test/test.js +0 -231
  358. package/node_modules/node-uuid/uuid.js +0 -272
  359. package/node_modules/npmlog/CHANGELOG.md~ +0 -31
  360. package/node_modules/qs/.jscs.json +0 -176
  361. package/node_modules/qs/CONTRIBUTING.md +0 -1
  362. package/node_modules/readable-stream/doc/stream.md +0 -1772
  363. package/node_modules/request/.eslintrc +0 -45
  364. package/node_modules/request/.npmignore +0 -6
  365. package/node_modules/request/.travis.yml +0 -21
  366. package/node_modules/request/CONTRIBUTING.md +0 -81
  367. package/node_modules/request/codecov.yml +0 -2
  368. package/node_modules/strip-json-comments/cli.js +0 -41
  369. package/node_modules/strip-json-comments/strip-json-comments.js +0 -73
@@ -1,40 +1,47 @@
1
1
  {
2
2
  "_args": [
3
3
  [
4
- "readable-stream@^2.0.0 || ^1.1.13",
4
+ {
5
+ "raw": "readable-stream@^2.0.0 || ^1.1.13",
6
+ "scope": null,
7
+ "escapedName": "readable-stream",
8
+ "name": "readable-stream",
9
+ "rawSpec": "^2.0.0 || ^1.1.13",
10
+ "spec": ">=2.0.0 <3.0.0||>=1.1.13 <2.0.0",
11
+ "type": "range"
12
+ },
5
13
  "/Users/eshanker/Code/fsevents/node_modules/are-we-there-yet"
6
14
  ]
7
15
  ],
8
16
  "_from": "readable-stream@>=2.0.0 <3.0.0||>=1.1.13 <2.0.0",
9
- "_id": "readable-stream@2.1.4",
17
+ "_id": "readable-stream@2.2.2",
10
18
  "_inCache": true,
11
- "_installable": true,
12
19
  "_location": "/readable-stream",
13
- "_nodeVersion": "5.11.0",
20
+ "_nodeVersion": "7.1.0",
14
21
  "_npmOperationalInternal": {
15
- "host": "packages-12-west.internal.npmjs.com",
16
- "tmp": "tmp/readable-stream-2.1.4.tgz_1463679605032_0.6917394688352942"
22
+ "host": "packages-18-east.internal.npmjs.com",
23
+ "tmp": "tmp/readable-stream-2.2.2.tgz_1479128709230_0.5291099038440734"
17
24
  },
18
25
  "_npmUser": {
19
- "email": "calvin.metcalf@gmail.com",
20
- "name": "cwmma"
26
+ "name": "cwmma",
27
+ "email": "calvin.metcalf@gmail.com"
21
28
  },
22
- "_npmVersion": "3.8.6",
29
+ "_npmVersion": "3.10.7",
23
30
  "_phantomChildren": {},
24
31
  "_requested": {
25
- "name": "readable-stream",
26
32
  "raw": "readable-stream@^2.0.0 || ^1.1.13",
27
- "rawSpec": "^2.0.0 || ^1.1.13",
28
33
  "scope": null,
34
+ "escapedName": "readable-stream",
35
+ "name": "readable-stream",
36
+ "rawSpec": "^2.0.0 || ^1.1.13",
29
37
  "spec": ">=2.0.0 <3.0.0||>=1.1.13 <2.0.0",
30
38
  "type": "range"
31
39
  },
32
40
  "_requiredBy": [
33
- "/are-we-there-yet",
34
- "/tar-pack"
41
+ "/are-we-there-yet"
35
42
  ],
36
- "_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.1.4.tgz",
37
- "_shasum": "70b9791c6fcb8480db44bd155a0f6bb58f172468",
43
+ "_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.2.tgz",
44
+ "_shasum": "a9e6fec3c7dda85f8bb1b3ba7028604556fc825e",
38
45
  "_shrinkwrap": null,
39
46
  "_spec": "readable-stream@^2.0.0 || ^1.1.13",
40
47
  "_where": "/Users/eshanker/Code/fsevents/node_modules/are-we-there-yet",
@@ -56,23 +63,24 @@
56
63
  "description": "Streams3, a user-land copy of the stream library from Node.js",
57
64
  "devDependencies": {
58
65
  "assert": "~1.4.0",
66
+ "babel-polyfill": "^6.9.1",
67
+ "buffer": "^4.9.0",
59
68
  "nyc": "^6.4.0",
60
69
  "tap": "~0.7.1",
61
70
  "tape": "~4.5.1",
62
- "zuul": "~3.9.0",
63
- "zuul-ngrok": "^4.0.0"
71
+ "zuul": "~3.10.0"
64
72
  },
65
73
  "directories": {},
66
74
  "dist": {
67
- "shasum": "70b9791c6fcb8480db44bd155a0f6bb58f172468",
68
- "tarball": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.1.4.tgz"
75
+ "shasum": "a9e6fec3c7dda85f8bb1b3ba7028604556fc825e",
76
+ "tarball": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.2.tgz"
69
77
  },
70
- "gitHead": "7752832fba237929388dea6c96911a0a6379abfc",
78
+ "gitHead": "f239454e183d2032c0eb7d79a1c08f674fdd8db4",
71
79
  "homepage": "https://github.com/nodejs/readable-stream#readme",
72
80
  "keywords": [
73
- "pipe",
74
81
  "readable",
75
- "stream"
82
+ "stream",
83
+ "pipe"
76
84
  ],
77
85
  "license": "MIT",
78
86
  "main": "readable.js",
@@ -107,12 +115,12 @@
107
115
  "url": "git://github.com/nodejs/readable-stream.git"
108
116
  },
109
117
  "scripts": {
110
- "browser": "npm run write-zuul && zuul -- test/browser.js",
118
+ "browser": "npm run write-zuul && zuul --browser-retries 2 -- test/browser.js",
111
119
  "cover": "nyc npm test",
112
- "local": "zuul --local -- test/browser.js",
120
+ "local": "zuul --local 3000 --no-coverage -- test/browser.js",
113
121
  "report": "nyc report --reporter=lcov",
114
122
  "test": "tap test/parallel/*.js test/ours/*.js",
115
- "write-zuul": "printf \"ui: tape\ntunnel: ngrok\nbrowsers:\n - name: $BROWSER_NAME\n version: $BROWSER_VERSION\n\">.zuul.yml"
123
+ "write-zuul": "printf \"ui: tape\nbrowsers:\n - name: $BROWSER_NAME\n version: $BROWSER_VERSION\n\">.zuul.yml"
116
124
  },
117
- "version": "2.1.4"
125
+ "version": "2.2.2"
118
126
  }
@@ -1,5 +1,45 @@
1
1
  ## Change Log
2
2
 
3
+ ### v2.79.0 (2016/11/18)
4
+ - [#2368](https://github.com/request/request/pull/2368) Fix typeof check in test-pool.js (@forivall)
5
+ - [#2394](https://github.com/request/request/pull/2394) Use `files` in package.json (@SimenB)
6
+ - [#2463](https://github.com/request/request/pull/2463) AWS support for session tokens for temporary credentials (@simov)
7
+ - [#2467](https://github.com/request/request/pull/2467) Migrate to uuid (@simov, @antialias)
8
+ - [#2459](https://github.com/request/request/pull/2459) Update taper to version 0.5.0 🚀 (@greenkeeperio-bot)
9
+ - [#2448](https://github.com/request/request/pull/2448) Make other connect timeout test more reliable too (@mscdex)
10
+
11
+ ### v2.78.0 (2016/11/03)
12
+ - [#2447](https://github.com/request/request/pull/2447) Always set request timeout on keep-alive connections (@mscdex)
13
+
14
+ ### v2.77.0 (2016/11/03)
15
+ - [#2439](https://github.com/request/request/pull/2439) Fix socket 'connect' listener handling (@mscdex)
16
+ - [#2442](https://github.com/request/request/pull/2442) 👻😱 Node.js 0.10 is unmaintained 😱👻 (@greenkeeperio-bot)
17
+ - [#2435](https://github.com/request/request/pull/2435) Add followOriginalHttpMethod to redirect to original HTTP method (@kirrg001)
18
+ - [#2414](https://github.com/request/request/pull/2414) Improve test-timeout reliability (@mscdex)
19
+
20
+ ### v2.76.0 (2016/10/25)
21
+ - [#2424](https://github.com/request/request/pull/2424) Handle buffers directly instead of using "bl" (@zertosh)
22
+ - [#2415](https://github.com/request/request/pull/2415) Re-enable timeout tests on Travis + other fixes (@mscdex)
23
+ - [#2431](https://github.com/request/request/pull/2431) Improve timeouts accuracy and node v6.8.0+ compatibility (@mscdex, @greenkeeperio-bot)
24
+ - [#2428](https://github.com/request/request/pull/2428) Update qs to version 6.3.0 🚀 (@greenkeeperio-bot)
25
+ - [#2420](https://github.com/request/request/pull/2420) change .on to .once, remove possible memory leaks (@duereg)
26
+ - [#2426](https://github.com/request/request/pull/2426) Remove "isFunction" helper in favor of "typeof" check (@zertosh)
27
+ - [#2425](https://github.com/request/request/pull/2425) Simplify "defer" helper creation (@zertosh)
28
+ - [#2402](https://github.com/request/request/pull/2402) form-data@2.1.1 breaks build 🚨 (@greenkeeperio-bot)
29
+ - [#2393](https://github.com/request/request/pull/2393) Update form-data to version 2.1.0 🚀 (@greenkeeperio-bot)
30
+
31
+ ### v2.75.0 (2016/09/17)
32
+ - [#2381](https://github.com/request/request/pull/2381) Drop support for Node 0.10 (@simov)
33
+ - [#2377](https://github.com/request/request/pull/2377) Update form-data to version 2.0.0 🚀 (@greenkeeperio-bot)
34
+ - [#2353](https://github.com/request/request/pull/2353) Add greenkeeper ignored packages (@simov)
35
+ - [#2351](https://github.com/request/request/pull/2351) Update karma-tap to version 3.0.1 🚀 (@greenkeeperio-bot)
36
+ - [#2348](https://github.com/request/request/pull/2348) form-data@1.0.1 breaks build 🚨 (@greenkeeperio-bot)
37
+ - [#2349](https://github.com/request/request/pull/2349) Check error type instead of string (@scotttrinh)
38
+
39
+ ### v2.74.0 (2016/07/22)
40
+ - [#2295](https://github.com/request/request/pull/2295) Update tough-cookie to 2.3.0 (@stash-sfdc)
41
+ - [#2280](https://github.com/request/request/pull/2280) Update karma-tap to version 2.0.1 🚀 (@greenkeeperio-bot)
42
+
3
43
  ### v2.73.0 (2016/07/09)
4
44
  - [#2240](https://github.com/request/request/pull/2240) Remove connectionErrorHandler to fix #1903 (@zarenner)
5
45
  - [#2251](https://github.com/request/request/pull/2251) tape@4.6.0 breaks build 🚨 (@greenkeeperio-bot)
@@ -68,7 +108,7 @@
68
108
  - [#1902](https://github.com/request/request/pull/1902) node-uuid@1.4.7 breaks build 🚨 (@greenkeeperio-bot)
69
109
  - [#1894](https://github.com/request/request/pull/1894) Fix tunneling after redirection from https (Original: #1881) (@simov, @falms)
70
110
  - [#1893](https://github.com/request/request/pull/1893) Update eslint to version 1.9.0 🚀 (@greenkeeperio-bot)
71
- - [#1852](https://github.com/request/request/pull/1852) Update eslint to version 1.7.3 🚀 (@simov, @greenkeeperio-bot, @paulomcnally, @michelsalib, @arbaaz, @vladimirich, @LoicMahieu, @JoshWillik, @jzaefferer, @ryanwholey, @djchie, @thisconnect, @mgenereu, @acroca, @Sebmaster, @Bloutiouf)
111
+ - [#1852](https://github.com/request/request/pull/1852) Update eslint to version 1.7.3 🚀 (@simov, @greenkeeperio-bot, @paulomcnally, @michelsalib, @arbaaz, @vladimirich, @LoicMahieu, @JoshWillik, @jzaefferer, @ryanwholey, @djchie, @thisconnect, @mgenereu, @acroca, @Sebmaster, @KoltesDigital)
72
112
  - [#1876](https://github.com/request/request/pull/1876) Implement loose matching for har mime types (@simov)
73
113
  - [#1875](https://github.com/request/request/pull/1875) Update bluebird to version 3.0.2 🚀 (@simov, @greenkeeperio-bot)
74
114
  - [#1871](https://github.com/request/request/pull/1871) Update browserify to version 12.0.1 🚀 (@greenkeeperio-bot)
@@ -79,7 +119,7 @@
79
119
  - [#1857](https://github.com/request/request/pull/1857) Fix Referer header to point to the original host name (@simov)
80
120
  - [#1850](https://github.com/request/request/pull/1850) Update karma-coverage to version 0.5.3 🚀 (@greenkeeperio-bot)
81
121
  - [#1847](https://github.com/request/request/pull/1847) Use node's latest version when building (@simov)
82
- - [#1836](https://github.com/request/request/pull/1836) Tunnel: fix wrong property name (@Bloutiouf)
122
+ - [#1836](https://github.com/request/request/pull/1836) Tunnel: fix wrong property name (@KoltesDigital)
83
123
  - [#1820](https://github.com/request/request/pull/1820) Set href as request.js uses it (@mgenereu)
84
124
  - [#1840](https://github.com/request/request/pull/1840) Update http-signature to version 1.0.2 🚀 (@greenkeeperio-bot)
85
125
  - [#1845](https://github.com/request/request/pull/1845) Update istanbul to version 0.4.0 🚀 (@greenkeeperio-bot)
@@ -192,9 +232,9 @@
192
232
  - [#1469](https://github.com/request/request/pull/1469) Feature/base url (@froatsnook)
193
233
  - [#1459](https://github.com/request/request/pull/1459) Add option to time request/response cycle (including rollup of redirects) (@aaron-em)
194
234
  - [#1468](https://github.com/request/request/pull/1468) Re-enable io.js/node 0.12 build (@simov, @mikeal, @BBB)
195
- - [#1442](https://github.com/request/request/pull/1442) Fixed the issue with strictSSL tests on 0.12 & io.js by explicitly setting a cipher that matches the cert. (@BBB, @nicolasmccurdy, @demohi, @simov, @0x4139)
235
+ - [#1442](https://github.com/request/request/pull/1442) Fixed the issue with strictSSL tests on 0.12 & io.js by explicitly setting a cipher that matches the cert. (@BBB, @nickmccurdy, @demohi, @simov, @0x4139)
196
236
  - [#1460](https://github.com/request/request/pull/1460) localAddress or proxy config is lost when redirecting (@simov, @0x4139)
197
- - [#1453](https://github.com/request/request/pull/1453) Test on Node.js 0.12 and io.js with allowed failures (@nicolasmccurdy, @demohi)
237
+ - [#1453](https://github.com/request/request/pull/1453) Test on Node.js 0.12 and io.js with allowed failures (@nickmccurdy, @demohi)
198
238
  - [#1426](https://github.com/request/request/pull/1426) Fixing tests to pass on io.js and node 0.12 (only test-https.js stiff failing) (@mikeal)
199
239
  - [#1446](https://github.com/request/request/pull/1446) Missing HTTP referer header with redirects Fixes #1038 (@simov, @guimon)
200
240
  - [#1428](https://github.com/request/request/pull/1428) Deprecate Node v0.8.x (@nylen)
@@ -324,7 +364,7 @@
324
364
  - [#1131](https://github.com/request/request/pull/1131) Update pool documentation (@FredKSchott)
325
365
  - [#1143](https://github.com/request/request/pull/1143) Rewrite all tests to use tape (@nylen)
326
366
  - [#1137](https://github.com/request/request/pull/1137) Add ability to specifiy querystring lib in options. (@jgrund)
327
- - [#1138](https://github.com/request/request/pull/1138) allow hostname and port in place of host on uri (@slimelabs)
367
+ - [#1138](https://github.com/request/request/pull/1138) allow hostname and port in place of host on uri (@cappslock)
328
368
  - [#1134](https://github.com/request/request/pull/1134) Fix multiple redirects and `self.followRedirect` (@blakeembrey)
329
369
  - [#1130](https://github.com/request/request/pull/1130) documentation fix: add note about npm test for contributing (@FredKSchott)
330
370
  - [#1120](https://github.com/request/request/pull/1120) Support/refactor request setup tunnel (@seanstrom)
@@ -464,7 +504,6 @@
464
504
 
465
505
  ### v2.29.0 (2013/12/06)
466
506
  - [#727](https://github.com/request/request/pull/727) fix requester bug (@jchris)
467
-
468
507
  ### v2.28.0 (2013/12/04)
469
508
  - [#724](https://github.com/request/request/pull/724) README.md: add custom HTTP Headers example. (@tcort)
470
509
  - [#719](https://github.com/request/request/pull/719) Made a comment gender neutral. (@unsetbit)
@@ -481,20 +520,12 @@
481
520
  - [#662](https://github.com/request/request/pull/662) option.tunnel to explicitly disable tunneling (@seanmonstar)
482
521
  - [#659](https://github.com/request/request/pull/659) fix failure when running with NODE_DEBUG=request, and a test for that (@jrgm)
483
522
  - [#630](https://github.com/request/request/pull/630) Send random cnonce for HTTP Digest requests (@wprl)
484
-
485
- ### v2.27.0 (2013/08/15)
486
523
  - [#619](https://github.com/request/request/pull/619) decouple things a bit (@joaojeronimo)
487
-
488
- ### v2.26.0 (2013/08/07)
489
524
  - [#613](https://github.com/request/request/pull/613) Fixes #583, moved initialization of self.uri.pathname (@lexander)
490
525
  - [#605](https://github.com/request/request/pull/605) Only include ":" + pass in Basic Auth if it's defined (fixes #602) (@bendrucker)
491
-
492
- ### v2.24.0 (2013/07/23)
493
526
  - [#596](https://github.com/request/request/pull/596) Global agent is being used when pool is specified (@Cauldrath)
494
527
  - [#594](https://github.com/request/request/pull/594) Emit complete event when there is no callback (@RomainLK)
495
528
  - [#601](https://github.com/request/request/pull/601) Fixed a small typo (@michalstanko)
496
-
497
- ### v2.23.0 (2013/07/23)
498
529
  - [#589](https://github.com/request/request/pull/589) Prevent setting headers after they are sent (@geek)
499
530
  - [#587](https://github.com/request/request/pull/587) Global cookie jar disabled by default (@threepointone)
500
531
  - [#544](https://github.com/request/request/pull/544) Update http-signature version. (@davidlehn)
@@ -557,14 +588,14 @@
557
588
  - [#343](https://github.com/request/request/pull/343) Allow AWS to work in more situations, added a note in the README on its usage (@nlf)
558
589
  - [#320](https://github.com/request/request/pull/320) request.defaults() doesn't need to wrap jar() (@StuartHarris)
559
590
  - [#322](https://github.com/request/request/pull/322) Fix + test for piped into request bumped into redirect. #321 (@alexindigo)
560
- - [#326](https://github.com/request/request/pull/326) Do not try to remove listener from an undefined connection (@strk)
591
+ - [#326](https://github.com/request/request/pull/326) Do not try to remove listener from an undefined connection (@CartoDB)
561
592
  - [#318](https://github.com/request/request/pull/318) Pass servername to tunneling secure socket creation (@isaacs)
562
593
  - [#317](https://github.com/request/request/pull/317) Workaround for #313 (@isaacs)
563
594
  - [#293](https://github.com/request/request/pull/293) Allow parser errors to bubble up to request (@mscdex)
564
595
  - [#290](https://github.com/request/request/pull/290) A test for #289 (@isaacs)
565
596
  - [#280](https://github.com/request/request/pull/280) Like in node.js print options if NODE_DEBUG contains the word request (@Filirom1)
566
597
  - [#207](https://github.com/request/request/pull/207) Fix #206 Change HTTP/HTTPS agent when redirecting between protocols (@isaacs)
567
- - [#214](https://github.com/request/request/pull/214) documenting additional behavior of json option (@jphaas)
598
+ - [#214](https://github.com/request/request/pull/214) documenting additional behavior of json option (@jphaas, @vpulim)
568
599
  - [#272](https://github.com/request/request/pull/272) Boundary begins with CRLF? (@elspoono, @timshadel, @naholyr, @nanodocumet, @TehShrike)
569
600
  - [#284](https://github.com/request/request/pull/284) Remove stray `console.log()` call in multipart generator. (@bcherry)
570
601
  - [#241](https://github.com/request/request/pull/241) Composability updates suggested by issue #239 (@polotek)
@@ -582,10 +613,10 @@
582
613
  - [#246](https://github.com/request/request/pull/246) Fixing the set-cookie header (@jeromegn)
583
614
  - [#243](https://github.com/request/request/pull/243) Dynamic boundary (@zephrax)
584
615
  - [#240](https://github.com/request/request/pull/240) don't error when null is passed for options (@polotek)
585
- - [#211](https://github.com/request/request/pull/211) Replace all occurrences of special chars in RFC3986 (@chriso)
616
+ - [#211](https://github.com/request/request/pull/211) Replace all occurrences of special chars in RFC3986 (@chriso, @vpulim)
586
617
  - [#224](https://github.com/request/request/pull/224) Multipart content-type change (@janjongboom)
587
618
  - [#217](https://github.com/request/request/pull/217) need to use Authorization (titlecase) header with Tumblr OAuth (@visnup)
588
- - [#203](https://github.com/request/request/pull/203) Fix cookie and redirect bugs and add auth support for HTTPS tunnel (@milewise)
619
+ - [#203](https://github.com/request/request/pull/203) Fix cookie and redirect bugs and add auth support for HTTPS tunnel (@vpulim)
589
620
  - [#199](https://github.com/request/request/pull/199) Tunnel (@isaacs)
590
621
  - [#198](https://github.com/request/request/pull/198) Bugfix on forever usage of util.inherits (@isaacs)
591
622
  - [#197](https://github.com/request/request/pull/197) Make ForeverAgent work with HTTPS (@isaacs)
@@ -755,13 +755,14 @@ The first argument can be either a `url` or an `options` object. The only requir
755
755
  - `auth` - A hash containing values `user` || `username`, `pass` || `password`, and `sendImmediately` (optional). See documentation above.
756
756
  - `oauth` - Options for OAuth HMAC-SHA1 signing. See documentation above.
757
757
  - `hawk` - Options for [Hawk signing](https://github.com/hueniverse/hawk). The `credentials` key must contain the necessary signing info, [see hawk docs for details](https://github.com/hueniverse/hawk#usage-example).
758
- - `aws` - `object` containing AWS signing information. Should have the properties `key`, `secret`. Also requires the property `bucket`, unless you’re specifying your `bucket` as part of the path, or the request doesn’t use a bucket (i.e. GET Services). If you want to use AWS sign version 4 use the parameter `sign_version` with value `4` otherwise the default is version 2. **Note:** you need to `npm install aws4` first.
758
+ - `aws` - `object` containing AWS signing information. Should have the properties `key`, `secret`, and optionally `session` (note that this only works for services that require session as part of the canonical string). Also requires the property `bucket`, unless you’re specifying your `bucket` as part of the path, or the request doesn’t use a bucket (i.e. GET Services). If you want to use AWS sign version 4 use the parameter `sign_version` with value `4` otherwise the default is version 2. **Note:** you need to `npm install aws4` first.
759
759
  - `httpSignature` - Options for the [HTTP Signature Scheme](https://github.com/joyent/node-http-signature/blob/master/http_signing.md) using [Joyent's library](https://github.com/joyent/node-http-signature). The `keyId` and `key` properties must be specified. See the docs for other options.
760
760
 
761
761
  ---
762
762
 
763
763
  - `followRedirect` - follow HTTP 3xx responses as redirects (default: `true`). This property can also be implemented as function which gets `response` object as a single argument and should return `true` if redirects should continue or `false` otherwise.
764
764
  - `followAllRedirects` - follow non-GET HTTP 3xx responses as redirects (default: `false`)
765
+ - `followOriginalHttpMethod` - by default we redirect to HTTP method GET. you can enable this property to redirect to the original HTTP method (default: `false`)
765
766
  - `maxRedirects` - the maximum number of redirects to follow (default: `10`)
766
767
  - `removeRefererHeader` - removes the referer header when a redirect happens (default: `false`). **Note:** if true, referer header set in the initial request is preserved during redirect chain.
767
768
 
@@ -811,7 +812,7 @@ default in Linux can be anywhere from 20-120 seconds][linux-timeout]).
811
812
 
812
813
  ---
813
814
 
814
- - `time` - If `true`, the request-response cycle (including all redirects) is timed at millisecond resolution, and the result provided on the response's `elapsedTime` property.
815
+ - `time` - If `true`, the request-response cycle (including all redirects) is timed at millisecond resolution, and the result provided on the response's `elapsedTime` property. The `responseStartTime` property is also available to indicate the timestamp when the response begins.
815
816
  - `har` - A [HAR 1.2 Request Object](http://www.softwareishard.com/blog/har-12-spec/#request), will be processed from HAR format into options overwriting matching values *(see the [HAR 1.2 section](#support-for-har-1.2) for details)*
816
817
  - `callback` - alternatively pass the request's callback in the options object
817
818
 
@@ -18,8 +18,7 @@ var extend = require('extend')
18
18
  , cookies = require('./lib/cookies')
19
19
  , helpers = require('./lib/helpers')
20
20
 
21
- var isFunction = helpers.isFunction
22
- , paramsHaveRequestBody = helpers.paramsHaveRequestBody
21
+ var paramsHaveRequestBody = helpers.paramsHaveRequestBody
23
22
 
24
23
 
25
24
  // organize params for patch, post, put, head, del
@@ -95,7 +94,7 @@ function wrapRequestMethod (method, options, requester, verb) {
95
94
  target.method = verb.toUpperCase()
96
95
  }
97
96
 
98
- if (isFunction(requester)) {
97
+ if (typeof requester === 'function') {
99
98
  method = requester
100
99
  }
101
100
 
@@ -1,7 +1,7 @@
1
1
  'use strict'
2
2
 
3
3
  var caseless = require('caseless')
4
- , uuid = require('node-uuid')
4
+ , uuid = require('uuid')
5
5
  , helpers = require('./helpers')
6
6
 
7
7
  var md5 = helpers.md5
@@ -3,17 +3,9 @@
3
3
  var jsonSafeStringify = require('json-stringify-safe')
4
4
  , crypto = require('crypto')
5
5
 
6
- function deferMethod() {
7
- if (typeof setImmediate === 'undefined') {
8
- return process.nextTick
9
- }
10
-
11
- return setImmediate
12
- }
13
-
14
- function isFunction(value) {
15
- return typeof value === 'function'
16
- }
6
+ var defer = typeof setImmediate === 'undefined'
7
+ ? process.nextTick
8
+ : setImmediate
17
9
 
18
10
  function paramsHaveRequestBody(params) {
19
11
  return (
@@ -63,7 +55,6 @@ function version () {
63
55
  }
64
56
  }
65
57
 
66
- exports.isFunction = isFunction
67
58
  exports.paramsHaveRequestBody = paramsHaveRequestBody
68
59
  exports.safeStringify = safeStringify
69
60
  exports.md5 = md5
@@ -71,4 +62,4 @@ exports.isReadStream = isReadStream
71
62
  exports.toBase64 = toBase64
72
63
  exports.copy = copy
73
64
  exports.version = version
74
- exports.defer = deferMethod()
65
+ exports.defer = defer
@@ -1,6 +1,6 @@
1
1
  'use strict'
2
2
 
3
- var uuid = require('node-uuid')
3
+ var uuid = require('uuid')
4
4
  , CombinedStream = require('combined-stream')
5
5
  , isstream = require('isstream')
6
6
 
@@ -3,7 +3,7 @@
3
3
  var url = require('url')
4
4
  , qs = require('qs')
5
5
  , caseless = require('caseless')
6
- , uuid = require('node-uuid')
6
+ , uuid = require('uuid')
7
7
  , oauth = require('oauth-sign')
8
8
  , crypto = require('crypto')
9
9
 
@@ -8,6 +8,7 @@ function Redirect (request) {
8
8
  this.followRedirect = true
9
9
  this.followRedirects = true
10
10
  this.followAllRedirects = false
11
+ this.followOriginalHttpMethod = false
11
12
  this.allowRedirect = function () {return true}
12
13
  this.maxRedirects = 10
13
14
  this.redirects = []
@@ -36,6 +37,9 @@ Redirect.prototype.onRequest = function (options) {
36
37
  if (options.removeRefererHeader !== undefined) {
37
38
  self.removeRefererHeader = options.removeRefererHeader
38
39
  }
40
+ if (options.followOriginalHttpMethod !== undefined) {
41
+ self.followOriginalHttpMethod = options.followOriginalHttpMethod
42
+ }
39
43
  }
40
44
 
41
45
  Redirect.prototype.redirectTo = function (response) {
@@ -115,7 +119,7 @@ Redirect.prototype.onResponse = function (response) {
115
119
  )
116
120
  if (self.followAllRedirects && request.method !== 'HEAD'
117
121
  && response.statusCode !== 401 && response.statusCode !== 307) {
118
- request.method = 'GET'
122
+ request.method = self.followOriginalHttpMethod ? request.method : 'GET'
119
123
  }
120
124
  // request.method = 'GET' // Force all redirects to use GET || commented out fixes #215
121
125
  delete request.src
@@ -1,45 +1,53 @@
1
1
  {
2
2
  "_args": [
3
3
  [
4
- "request@2.x",
4
+ {
5
+ "raw": "request@^2.79.0",
6
+ "scope": null,
7
+ "escapedName": "request",
8
+ "name": "request",
9
+ "rawSpec": "^2.79.0",
10
+ "spec": ">=2.79.0 <3.0.0",
11
+ "type": "range"
12
+ },
5
13
  "/Users/eshanker/Code/fsevents/node_modules/node-pre-gyp"
6
14
  ]
7
15
  ],
8
- "_from": "request@>=2.0.0 <3.0.0",
9
- "_id": "request@2.73.0",
16
+ "_from": "request@>=2.79.0 <3.0.0",
17
+ "_id": "request@2.79.0",
10
18
  "_inCache": true,
11
- "_installable": true,
12
19
  "_location": "/request",
13
- "_nodeVersion": "6.2.2",
20
+ "_nodeVersion": "6.3.1",
14
21
  "_npmOperationalInternal": {
15
22
  "host": "packages-12-west.internal.npmjs.com",
16
- "tmp": "tmp/request-2.73.0.tgz_1468050202545_0.40326908184215426"
23
+ "tmp": "tmp/request-2.79.0.tgz_1479489666177_0.7806831058114767"
17
24
  },
18
25
  "_npmUser": {
19
- "email": "simeonvelichkov@gmail.com",
20
- "name": "simov"
26
+ "name": "simov",
27
+ "email": "simeonvelichkov@gmail.com"
21
28
  },
22
- "_npmVersion": "2.15.6",
29
+ "_npmVersion": "2.15.9",
23
30
  "_phantomChildren": {},
24
31
  "_requested": {
25
- "name": "request",
26
- "raw": "request@2.x",
27
- "rawSpec": "2.x",
32
+ "raw": "request@^2.79.0",
28
33
  "scope": null,
29
- "spec": ">=2.0.0 <3.0.0",
34
+ "escapedName": "request",
35
+ "name": "request",
36
+ "rawSpec": "^2.79.0",
37
+ "spec": ">=2.79.0 <3.0.0",
30
38
  "type": "range"
31
39
  },
32
40
  "_requiredBy": [
33
41
  "/node-pre-gyp"
34
42
  ],
35
- "_resolved": "https://registry.npmjs.org/request/-/request-2.73.0.tgz",
36
- "_shasum": "5f78a9fde4370abc8ff6479d7a84a71a14b878a2",
43
+ "_resolved": "https://registry.npmjs.org/request/-/request-2.79.0.tgz",
44
+ "_shasum": "4dfe5bf6be8b8cdc37fcf93e04b65577722710de",
37
45
  "_shrinkwrap": null,
38
- "_spec": "request@2.x",
46
+ "_spec": "request@^2.79.0",
39
47
  "_where": "/Users/eshanker/Code/fsevents/node_modules/node-pre-gyp",
40
48
  "author": {
41
- "email": "mikeal.rogers@gmail.com",
42
- "name": "Mikeal Rogers"
49
+ "name": "Mikeal Rogers",
50
+ "email": "mikeal.rogers@gmail.com"
43
51
  },
44
52
  "bugs": {
45
53
  "url": "http://github.com/request/request/issues"
@@ -47,12 +55,11 @@
47
55
  "dependencies": {
48
56
  "aws-sign2": "~0.6.0",
49
57
  "aws4": "^1.2.1",
50
- "bl": "~1.1.2",
51
58
  "caseless": "~0.11.0",
52
59
  "combined-stream": "~1.0.5",
53
60
  "extend": "~3.0.0",
54
61
  "forever-agent": "~0.6.1",
55
- "form-data": "~1.0.0-rc4",
62
+ "form-data": "~2.1.1",
56
63
  "har-validator": "~2.0.6",
57
64
  "hawk": "~3.1.3",
58
65
  "http-signature": "~1.1.0",
@@ -60,12 +67,12 @@
60
67
  "isstream": "~0.1.2",
61
68
  "json-stringify-safe": "~5.0.1",
62
69
  "mime-types": "~2.1.7",
63
- "node-uuid": "~1.4.7",
64
70
  "oauth-sign": "~0.8.1",
65
- "qs": "~6.2.0",
71
+ "qs": "~6.3.0",
66
72
  "stringstream": "~0.0.4",
67
- "tough-cookie": "~2.2.0",
68
- "tunnel-agent": "~0.4.1"
73
+ "tough-cookie": "~2.3.0",
74
+ "tunnel-agent": "~0.4.1",
75
+ "uuid": "^3.0.0"
69
76
  },
70
77
  "description": "Simplified HTTP request client.",
71
78
  "devDependencies": {
@@ -83,22 +90,34 @@
83
90
  "karma-cli": "^1.0.0",
84
91
  "karma-coverage": "^1.0.0",
85
92
  "karma-phantomjs-launcher": "^1.0.0",
86
- "karma-tap": "^1.0.3",
93
+ "karma-tap": "^3.0.1",
87
94
  "phantomjs-prebuilt": "^2.1.3",
88
95
  "rimraf": "^2.2.8",
89
96
  "server-destroy": "^1.0.1",
90
97
  "tape": "^4.6.0",
91
- "taper": "^0.4.0"
98
+ "taper": "^0.5.0"
92
99
  },
93
100
  "directories": {},
94
101
  "dist": {
95
- "shasum": "5f78a9fde4370abc8ff6479d7a84a71a14b878a2",
96
- "tarball": "https://registry.npmjs.org/request/-/request-2.73.0.tgz"
102
+ "shasum": "4dfe5bf6be8b8cdc37fcf93e04b65577722710de",
103
+ "tarball": "https://registry.npmjs.org/request/-/request-2.79.0.tgz"
97
104
  },
98
105
  "engines": {
99
- "node": ">=0.8.0"
106
+ "node": ">= 4"
107
+ },
108
+ "files": [
109
+ "lib/",
110
+ "index.js",
111
+ "request.js"
112
+ ],
113
+ "gitHead": "ff729c6f1a87237060d075908563ce13386395ac",
114
+ "greenkeeper": {
115
+ "ignore": [
116
+ "eslint",
117
+ "hawk",
118
+ "har-validator"
119
+ ]
100
120
  },
101
- "gitHead": "fa46be421b165c737c93672a8f920245cfb090a2",
102
121
  "homepage": "https://github.com/request/request#readme",
103
122
  "license": "Apache-2.0",
104
123
  "main": "index.js",
@@ -140,5 +159,5 @@
140
159
  "util",
141
160
  "utility"
142
161
  ],
143
- "version": "2.73.0"
162
+ "version": "2.79.0"
144
163
  }