fsevents 0.3.8 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


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

Files changed (1174) hide show
  1. package/.npmignore +1 -0
  2. package/.travis.yml +81 -6
  3. package/Readme.md +1 -1
  4. package/binding.gyp +9 -1
  5. package/fsevents.js +4 -1
  6. package/node_modules/node-pre-gyp/CHANGELOG.md +234 -0
  7. package/node_modules/node-pre-gyp/LICENSE +27 -0
  8. package/node_modules/node-pre-gyp/README.md +581 -0
  9. package/node_modules/node-pre-gyp/appveyor.yml +30 -0
  10. package/node_modules/node-pre-gyp/bin/node-pre-gyp +131 -0
  11. package/node_modules/node-pre-gyp/bin/node-pre-gyp.cmd +2 -0
  12. package/node_modules/node-pre-gyp/lib/build.js +43 -0
  13. package/node_modules/node-pre-gyp/lib/clean.js +23 -0
  14. package/node_modules/node-pre-gyp/lib/configure.js +48 -0
  15. package/node_modules/node-pre-gyp/lib/info.js +40 -0
  16. package/node_modules/node-pre-gyp/lib/install.js +205 -0
  17. package/node_modules/node-pre-gyp/lib/node-pre-gyp.js +192 -0
  18. package/node_modules/node-pre-gyp/lib/package.js +46 -0
  19. package/node_modules/node-pre-gyp/lib/pre-binding.js +25 -0
  20. package/node_modules/node-pre-gyp/lib/publish.js +77 -0
  21. package/node_modules/node-pre-gyp/lib/rebuild.js +13 -0
  22. package/node_modules/node-pre-gyp/lib/reinstall.js +13 -0
  23. package/node_modules/node-pre-gyp/lib/reveal.js +31 -0
  24. package/node_modules/node-pre-gyp/lib/testbinary.js +73 -0
  25. package/node_modules/node-pre-gyp/lib/testpackage.js +49 -0
  26. package/node_modules/node-pre-gyp/lib/unpublish.js +41 -0
  27. package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +522 -0
  28. package/node_modules/node-pre-gyp/lib/util/compile.js +87 -0
  29. package/node_modules/node-pre-gyp/lib/util/handle_gyp_opts.js +94 -0
  30. package/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html +26 -0
  31. package/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/package.json +9 -0
  32. package/node_modules/node-pre-gyp/lib/util/s3_setup.js +27 -0
  33. package/node_modules/node-pre-gyp/lib/util/versioning.js +276 -0
  34. package/node_modules/node-pre-gyp/node_modules/mkdirp/.travis.yml +8 -0
  35. package/node_modules/node-pre-gyp/node_modules/mkdirp/LICENSE +21 -0
  36. package/node_modules/node-pre-gyp/node_modules/mkdirp/bin/cmd.js +33 -0
  37. package/node_modules/node-pre-gyp/node_modules/mkdirp/bin/usage.txt +12 -0
  38. package/node_modules/node-pre-gyp/node_modules/mkdirp/examples/pow.js +6 -0
  39. package/node_modules/node-pre-gyp/node_modules/mkdirp/index.js +98 -0
  40. package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/.travis.yml +4 -0
  41. package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/LICENSE +18 -0
  42. package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/example/parse.js +2 -0
  43. package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/index.js +187 -0
  44. package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/package.json +66 -0
  45. package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/readme.markdown +73 -0
  46. package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/dash.js +24 -0
  47. package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/default_bool.js +20 -0
  48. package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/dotted.js +16 -0
  49. package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/long.js +31 -0
  50. package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/parse.js +318 -0
  51. package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/parse_modified.js +9 -0
  52. package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/short.js +67 -0
  53. package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/whitespace.js +8 -0
  54. package/node_modules/node-pre-gyp/node_modules/mkdirp/package.json +60 -0
  55. package/node_modules/node-pre-gyp/node_modules/mkdirp/readme.markdown +100 -0
  56. package/node_modules/node-pre-gyp/node_modules/mkdirp/test/chmod.js +41 -0
  57. package/node_modules/node-pre-gyp/node_modules/mkdirp/test/clobber.js +38 -0
  58. package/node_modules/node-pre-gyp/node_modules/mkdirp/test/mkdirp.js +28 -0
  59. package/node_modules/node-pre-gyp/node_modules/mkdirp/test/opts_fs.js +29 -0
  60. package/node_modules/node-pre-gyp/node_modules/mkdirp/test/opts_fs_sync.js +27 -0
  61. package/node_modules/node-pre-gyp/node_modules/mkdirp/test/perm.js +32 -0
  62. package/node_modules/node-pre-gyp/node_modules/mkdirp/test/perm_sync.js +36 -0
  63. package/node_modules/node-pre-gyp/node_modules/mkdirp/test/race.js +37 -0
  64. package/node_modules/node-pre-gyp/node_modules/mkdirp/test/rel.js +32 -0
  65. package/node_modules/node-pre-gyp/node_modules/mkdirp/test/return.js +25 -0
  66. package/node_modules/node-pre-gyp/node_modules/mkdirp/test/return_sync.js +24 -0
  67. package/node_modules/node-pre-gyp/node_modules/mkdirp/test/root.js +19 -0
  68. package/node_modules/node-pre-gyp/node_modules/mkdirp/test/sync.js +32 -0
  69. package/node_modules/node-pre-gyp/node_modules/mkdirp/test/umask.js +28 -0
  70. package/node_modules/node-pre-gyp/node_modules/mkdirp/test/umask_sync.js +32 -0
  71. package/node_modules/node-pre-gyp/node_modules/nopt/.npmignore +1 -0
  72. package/node_modules/node-pre-gyp/node_modules/nopt/.travis.yml +9 -0
  73. package/node_modules/node-pre-gyp/node_modules/nopt/LICENSE +15 -0
  74. package/node_modules/node-pre-gyp/node_modules/nopt/README.md +210 -0
  75. package/node_modules/node-pre-gyp/node_modules/nopt/bin/nopt.js +54 -0
  76. package/node_modules/node-pre-gyp/node_modules/nopt/examples/my-program.js +30 -0
  77. package/node_modules/node-pre-gyp/node_modules/nopt/lib/nopt.js +414 -0
  78. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/.npmignore +4 -0
  79. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/.travis.yml +5 -0
  80. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/CONTRIBUTING.md +3 -0
  81. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/LICENSE +15 -0
  82. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/README.md +23 -0
  83. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/abbrev.js +62 -0
  84. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/package.json +48 -0
  85. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/test.js +47 -0
  86. package/node_modules/node-pre-gyp/node_modules/nopt/package.json +55 -0
  87. package/node_modules/node-pre-gyp/node_modules/nopt/test/basic.js +251 -0
  88. package/node_modules/node-pre-gyp/node_modules/npmlog/LICENSE +15 -0
  89. package/node_modules/node-pre-gyp/node_modules/npmlog/README.md +195 -0
  90. package/node_modules/node-pre-gyp/node_modules/npmlog/example.js +39 -0
  91. package/node_modules/node-pre-gyp/node_modules/npmlog/log.js +247 -0
  92. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/.jshintrc +4 -0
  93. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/.npmignore +1 -0
  94. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/History.md +16 -0
  95. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/README.md +98 -0
  96. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/examples/beep/index.js +16 -0
  97. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/examples/clear/index.js +15 -0
  98. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/examples/cursorPosition.js +32 -0
  99. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/examples/progress/index.js +87 -0
  100. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/lib/ansi.js +405 -0
  101. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/lib/newlines.js +71 -0
  102. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/package.json +54 -0
  103. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/.npmignore +3 -0
  104. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/README.md +183 -0
  105. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/index.js +130 -0
  106. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/.npmignore +1 -0
  107. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/History.md +16 -0
  108. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/Makefile +8 -0
  109. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/Readme.md +94 -0
  110. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/index.js +121 -0
  111. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/package.json +48 -0
  112. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/test/index.js +94 -0
  113. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/.npmignore +5 -0
  114. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/LICENSE +18 -0
  115. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/README.md +15 -0
  116. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/duplex.js +1 -0
  117. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/float.patch +923 -0
  118. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_duplex.js +89 -0
  119. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_passthrough.js +46 -0
  120. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_readable.js +951 -0
  121. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_transform.js +209 -0
  122. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_writable.js +477 -0
  123. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/core-util-is/README.md +3 -0
  124. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/core-util-is/float.patch +604 -0
  125. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +107 -0
  126. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/core-util-is/package.json +54 -0
  127. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/core-util-is/util.js +106 -0
  128. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/inherits/LICENSE +16 -0
  129. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/inherits/README.md +42 -0
  130. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/inherits/inherits.js +1 -0
  131. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/inherits/inherits_browser.js +23 -0
  132. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/inherits/package.json +50 -0
  133. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/inherits/test.js +25 -0
  134. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/isarray/README.md +54 -0
  135. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/isarray/build/build.js +209 -0
  136. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/isarray/component.json +19 -0
  137. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/isarray/index.js +3 -0
  138. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/isarray/package.json +53 -0
  139. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/string_decoder/.npmignore +2 -0
  140. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/string_decoder/LICENSE +20 -0
  141. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/string_decoder/README.md +7 -0
  142. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/string_decoder/index.js +221 -0
  143. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/string_decoder/package.json +54 -0
  144. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/package.json +70 -0
  145. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/passthrough.js +1 -0
  146. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/readable.js +7 -0
  147. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/transform.js +1 -0
  148. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/writable.js +1 -0
  149. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/package.json +51 -0
  150. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/test/tracker.js +56 -0
  151. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/test/trackergroup.js +87 -0
  152. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/test/trackerstream.js +65 -0
  153. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/.npmignore +32 -0
  154. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/LICENSE +13 -0
  155. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/README.md +166 -0
  156. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/README.md~ +161 -0
  157. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/example.png +0 -0
  158. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/.npmignore +32 -0
  159. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/LICENSE +14 -0
  160. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/README.md +40 -0
  161. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/README.md~ +4 -0
  162. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/index.js +18 -0
  163. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/package.json +53 -0
  164. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/test/index.js +26 -0
  165. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/LICENSE +22 -0
  166. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/README.md +20 -0
  167. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/index.js +55 -0
  168. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._basetostring/LICENSE +22 -0
  169. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._basetostring/README.md +20 -0
  170. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._basetostring/index.js +22 -0
  171. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._basetostring/package.json +88 -0
  172. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._createpadding/LICENSE +22 -0
  173. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._createpadding/README.md +20 -0
  174. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._createpadding/index.js +37 -0
  175. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._createpadding/node_modules/lodash.repeat/LICENSE +22 -0
  176. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._createpadding/node_modules/lodash.repeat/README.md +20 -0
  177. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._createpadding/node_modules/lodash.repeat/index.js +55 -0
  178. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._createpadding/node_modules/lodash.repeat/package.json +97 -0
  179. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._createpadding/package.json +91 -0
  180. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/package.json +98 -0
  181. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/LICENSE.txt +22 -0
  182. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/README.md +20 -0
  183. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/index.js +50 -0
  184. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._basetostring/LICENSE +22 -0
  185. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._basetostring/README.md +20 -0
  186. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._basetostring/index.js +22 -0
  187. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._basetostring/package.json +88 -0
  188. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._createpadding/LICENSE +22 -0
  189. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._createpadding/README.md +20 -0
  190. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._createpadding/index.js +37 -0
  191. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._createpadding/node_modules/lodash.repeat/LICENSE +22 -0
  192. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._createpadding/node_modules/lodash.repeat/README.md +20 -0
  193. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._createpadding/node_modules/lodash.repeat/index.js +55 -0
  194. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._createpadding/node_modules/lodash.repeat/package.json +97 -0
  195. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._createpadding/package.json +91 -0
  196. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/package.json +98 -0
  197. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/LICENSE.txt +22 -0
  198. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/README.md +20 -0
  199. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/index.js +50 -0
  200. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._basetostring/LICENSE +22 -0
  201. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._basetostring/README.md +20 -0
  202. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._basetostring/index.js +22 -0
  203. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._basetostring/package.json +88 -0
  204. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._createpadding/LICENSE +22 -0
  205. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._createpadding/README.md +20 -0
  206. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._createpadding/index.js +37 -0
  207. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._createpadding/node_modules/lodash.repeat/LICENSE +22 -0
  208. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._createpadding/node_modules/lodash.repeat/README.md +20 -0
  209. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._createpadding/node_modules/lodash.repeat/index.js +55 -0
  210. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._createpadding/node_modules/lodash.repeat/package.json +97 -0
  211. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._createpadding/package.json +91 -0
  212. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/package.json +98 -0
  213. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/package.json +60 -0
  214. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/progress-bar.js +226 -0
  215. package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/test/progress-bar.js +176 -0
  216. package/node_modules/node-pre-gyp/node_modules/npmlog/package.json +58 -0
  217. package/node_modules/node-pre-gyp/node_modules/npmlog/test/basic.js +228 -0
  218. package/node_modules/node-pre-gyp/node_modules/npmlog/test/progress.js +114 -0
  219. package/node_modules/node-pre-gyp/node_modules/rc/.npmignore +3 -0
  220. package/node_modules/node-pre-gyp/node_modules/rc/LICENSE.APACHE2 +15 -0
  221. package/node_modules/node-pre-gyp/node_modules/rc/LICENSE.BSD +26 -0
  222. package/node_modules/node-pre-gyp/node_modules/rc/LICENSE.MIT +24 -0
  223. package/node_modules/node-pre-gyp/node_modules/rc/README.md +149 -0
  224. package/node_modules/node-pre-gyp/node_modules/rc/browser.js +7 -0
  225. package/node_modules/node-pre-gyp/node_modules/rc/index.js +60 -0
  226. package/node_modules/node-pre-gyp/node_modules/rc/lib/utils.js +101 -0
  227. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/.npmignore +1 -0
  228. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/LICENSE +20 -0
  229. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/README.md +52 -0
  230. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/index.js +90 -0
  231. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/package.json +59 -0
  232. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/test/index.spec.js +57 -0
  233. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/test/mocha.opts +1 -0
  234. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/ini/README.md +102 -0
  235. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/ini/ini.js +190 -0
  236. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/ini/package.json +56 -0
  237. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/.travis.yml +8 -0
  238. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/LICENSE +18 -0
  239. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/example/parse.js +2 -0
  240. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/index.js +224 -0
  241. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/package.json +70 -0
  242. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/readme.markdown +91 -0
  243. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/all_bool.js +32 -0
  244. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/bool.js +143 -0
  245. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/dash.js +31 -0
  246. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/default_bool.js +35 -0
  247. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/dotted.js +22 -0
  248. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/long.js +31 -0
  249. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/num.js +36 -0
  250. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/parse.js +197 -0
  251. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/parse_modified.js +9 -0
  252. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/short.js +67 -0
  253. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/stop_early.js +15 -0
  254. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/unknown.js +102 -0
  255. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/whitespace.js +8 -0
  256. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/strip-json-comments/cli.js +41 -0
  257. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/strip-json-comments/package.json +77 -0
  258. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/strip-json-comments/readme.md +74 -0
  259. package/node_modules/node-pre-gyp/node_modules/rc/node_modules/strip-json-comments/strip-json-comments.js +64 -0
  260. package/node_modules/node-pre-gyp/node_modules/rc/package.json +61 -0
  261. package/node_modules/node-pre-gyp/node_modules/rc/test/ini.js +16 -0
  262. package/node_modules/node-pre-gyp/node_modules/rc/test/nested-env-vars.js +39 -0
  263. package/node_modules/node-pre-gyp/node_modules/rc/test/test.js +59 -0
  264. package/node_modules/node-pre-gyp/node_modules/request/.eslintrc +45 -0
  265. package/node_modules/node-pre-gyp/node_modules/request/.npmignore +3 -0
  266. package/node_modules/node-pre-gyp/node_modules/request/.travis.yml +14 -0
  267. package/node_modules/node-pre-gyp/node_modules/request/CHANGELOG.md +512 -0
  268. package/node_modules/node-pre-gyp/node_modules/request/CONTRIBUTING.md +44 -0
  269. package/node_modules/node-pre-gyp/node_modules/request/LICENSE +55 -0
  270. package/node_modules/node-pre-gyp/node_modules/request/README.md +1063 -0
  271. package/node_modules/node-pre-gyp/node_modules/request/disabled.appveyor.yml +36 -0
  272. package/node_modules/node-pre-gyp/node_modules/request/examples/README.md +115 -0
  273. package/node_modules/node-pre-gyp/node_modules/request/index.js +152 -0
  274. package/node_modules/node-pre-gyp/node_modules/request/lib/auth.js +153 -0
  275. package/node_modules/node-pre-gyp/node_modules/request/lib/cookies.js +39 -0
  276. package/node_modules/node-pre-gyp/node_modules/request/lib/getProxyFromURI.js +79 -0
  277. package/node_modules/node-pre-gyp/node_modules/request/lib/har.js +205 -0
  278. package/node_modules/node-pre-gyp/node_modules/request/lib/helpers.js +74 -0
  279. package/node_modules/node-pre-gyp/node_modules/request/lib/multipart.js +109 -0
  280. package/node_modules/node-pre-gyp/node_modules/request/lib/oauth.js +147 -0
  281. package/node_modules/node-pre-gyp/node_modules/request/lib/querystring.js +51 -0
  282. package/node_modules/node-pre-gyp/node_modules/request/lib/redirect.js +154 -0
  283. package/node_modules/node-pre-gyp/node_modules/request/lib/tunnel.js +183 -0
  284. package/node_modules/node-pre-gyp/node_modules/request/node_modules/aws-sign2/LICENSE +55 -0
  285. package/node_modules/node-pre-gyp/node_modules/request/node_modules/aws-sign2/README.md +4 -0
  286. package/node_modules/node-pre-gyp/node_modules/request/node_modules/aws-sign2/index.js +202 -0
  287. package/node_modules/node-pre-gyp/node_modules/request/node_modules/aws-sign2/package.json +47 -0
  288. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/.jshintrc +59 -0
  289. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/.npmignore +1 -0
  290. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/.travis.yml +14 -0
  291. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/LICENSE.md +13 -0
  292. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/README.md +200 -0
  293. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/bl.js +216 -0
  294. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/.npmignore +5 -0
  295. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/.travis.yml +39 -0
  296. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/.zuul.yml +1 -0
  297. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/LICENSE +18 -0
  298. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/README.md +36 -0
  299. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/doc/stream.markdown +1651 -0
  300. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  301. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/duplex.js +1 -0
  302. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +82 -0
  303. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +27 -0
  304. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +959 -0
  305. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +197 -0
  306. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +520 -0
  307. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/README.md +3 -0
  308. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/float.patch +604 -0
  309. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +107 -0
  310. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/package.json +54 -0
  311. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/util.js +106 -0
  312. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/LICENSE +16 -0
  313. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/README.md +42 -0
  314. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/inherits.js +1 -0
  315. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/inherits_browser.js +23 -0
  316. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/package.json +50 -0
  317. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/test.js +25 -0
  318. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/README.md +54 -0
  319. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/build/build.js +209 -0
  320. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/component.json +19 -0
  321. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/index.js +3 -0
  322. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/package.json +53 -0
  323. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/.travis.yml +7 -0
  324. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/index.js +13 -0
  325. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/package.json +44 -0
  326. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/readme.md +18 -0
  327. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/test.js +17 -0
  328. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/.npmignore +2 -0
  329. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/LICENSE +20 -0
  330. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/README.md +7 -0
  331. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/index.js +221 -0
  332. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/package.json +54 -0
  333. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/History.md +11 -0
  334. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/LICENSE +24 -0
  335. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/README.md +53 -0
  336. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/browser.js +62 -0
  337. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/node.js +6 -0
  338. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/package.json +53 -0
  339. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/package.json +74 -0
  340. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/passthrough.js +1 -0
  341. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/readable.js +12 -0
  342. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/transform.js +1 -0
  343. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/writable.js +1 -0
  344. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/package.json +61 -0
  345. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/test/basic-test.js +541 -0
  346. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/test/sauce.js +38 -0
  347. package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/test/test.js +9 -0
  348. package/node_modules/node-pre-gyp/node_modules/request/node_modules/caseless/LICENSE +28 -0
  349. package/node_modules/node-pre-gyp/node_modules/request/node_modules/caseless/README.md +45 -0
  350. package/node_modules/node-pre-gyp/node_modules/request/node_modules/caseless/index.js +66 -0
  351. package/node_modules/node-pre-gyp/node_modules/request/node_modules/caseless/package.json +61 -0
  352. package/node_modules/node-pre-gyp/node_modules/request/node_modules/caseless/test.js +40 -0
  353. package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/License +19 -0
  354. package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/Readme.md +138 -0
  355. package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/lib/combined_stream.js +188 -0
  356. package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/.npmignore +1 -0
  357. package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/License +19 -0
  358. package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/Makefile +7 -0
  359. package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/Readme.md +141 -0
  360. package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  361. package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/package.json +64 -0
  362. package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/package.json +67 -0
  363. package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/.eslintrc +192 -0
  364. package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/.jscs.json +104 -0
  365. package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/.npmignore +1 -0
  366. package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/.travis.yml +44 -0
  367. package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/CHANGELOG.md +69 -0
  368. package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/LICENSE +23 -0
  369. package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/README.md +62 -0
  370. package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/component.json +32 -0
  371. package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/index.js +86 -0
  372. package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/package.json +72 -0
  373. package/node_modules/node-pre-gyp/node_modules/request/node_modules/forever-agent/LICENSE +55 -0
  374. package/node_modules/node-pre-gyp/node_modules/request/node_modules/forever-agent/README.md +4 -0
  375. package/node_modules/node-pre-gyp/node_modules/request/node_modules/forever-agent/index.js +138 -0
  376. package/node_modules/node-pre-gyp/node_modules/request/node_modules/forever-agent/package.json +56 -0
  377. package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/License +19 -0
  378. package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/Readme.md +175 -0
  379. package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/lib/browser.js +1 -0
  380. package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/lib/form_data.js +351 -0
  381. package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/node_modules/async/.jscsrc +3 -0
  382. package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/node_modules/async/CHANGELOG.md +81 -0
  383. package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/node_modules/async/LICENSE +19 -0
  384. package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/node_modules/async/README.md +1789 -0
  385. package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/node_modules/async/lib/async.js +1216 -0
  386. package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/node_modules/async/package.json +105 -0
  387. package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/node_modules/async/support/sync-package-managers.js +53 -0
  388. package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/package.json +76 -0
  389. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/README.md +362 -0
  390. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/bin/har-validator +45 -0
  391. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/error.js +10 -0
  392. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/index.js +39 -0
  393. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/cache.json +13 -0
  394. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/cacheEntry.json +31 -0
  395. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/content.json +27 -0
  396. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/cookie.json +34 -0
  397. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/creator.json +18 -0
  398. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/entry.json +51 -0
  399. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/har.json +11 -0
  400. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/index.js +49 -0
  401. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/log.json +34 -0
  402. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/page.json +30 -0
  403. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/pageTimings.json +16 -0
  404. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/postData.json +41 -0
  405. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/record.json +18 -0
  406. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/request.json +55 -0
  407. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/response.json +52 -0
  408. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/timings.json +40 -0
  409. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/README.md +676 -0
  410. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/browser/bluebird.js +4857 -0
  411. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/browser/bluebird.min.js +31 -0
  412. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/any.js +21 -0
  413. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/assert.js +55 -0
  414. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/async.js +150 -0
  415. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/bind.js +72 -0
  416. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/bluebird.js +11 -0
  417. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/call_get.js +123 -0
  418. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/cancel.js +48 -0
  419. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/captured_trace.js +493 -0
  420. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/catch_filter.js +66 -0
  421. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/context.js +38 -0
  422. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/debuggability.js +160 -0
  423. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/direct_resolve.js +61 -0
  424. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/each.js +12 -0
  425. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/errors.js +111 -0
  426. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/es5.js +80 -0
  427. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/filter.js +12 -0
  428. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/finally.js +98 -0
  429. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/generators.js +136 -0
  430. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/join.js +107 -0
  431. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/map.js +133 -0
  432. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/method.js +44 -0
  433. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/nodeify.js +59 -0
  434. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/progress.js +76 -0
  435. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/promise.js +750 -0
  436. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/promise_array.js +142 -0
  437. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/promise_resolver.js +123 -0
  438. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/promisify.js +302 -0
  439. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/props.js +79 -0
  440. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/queue.js +90 -0
  441. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/race.js +47 -0
  442. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/reduce.js +148 -0
  443. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/schedule.js +35 -0
  444. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/settle.js +40 -0
  445. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/some.js +125 -0
  446. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/synchronous_inspection.js +94 -0
  447. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/thenables.js +84 -0
  448. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/timers.js +58 -0
  449. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/using.js +202 -0
  450. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/util.js +321 -0
  451. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/package.json +99 -0
  452. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/index.js +116 -0
  453. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles/index.js +65 -0
  454. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles/package.json +80 -0
  455. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles/readme.md +86 -0
  456. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp/index.js +11 -0
  457. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp/package.json +70 -0
  458. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp/readme.md +27 -0
  459. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/index.js +4 -0
  460. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/index.js +4 -0
  461. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/package.json +86 -0
  462. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/readme.md +31 -0
  463. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/package.json +85 -0
  464. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/readme.md +36 -0
  465. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/index.js +6 -0
  466. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/index.js +4 -0
  467. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/package.json +86 -0
  468. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +31 -0
  469. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/package.json +85 -0
  470. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/readme.md +33 -0
  471. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color/index.js +50 -0
  472. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color/package.json +79 -0
  473. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color/readme.md +36 -0
  474. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/package.json +96 -0
  475. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/readme.md +212 -0
  476. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/Readme.md +342 -0
  477. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/index.js +1103 -0
  478. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/.npmignore +3 -0
  479. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/.travis.yml +5 -0
  480. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/LICENSE +22 -0
  481. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/README.md +17 -0
  482. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/index.js +12 -0
  483. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/package.json +48 -0
  484. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/package.json +75 -0
  485. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/.npmignore +2 -0
  486. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/.travis.yml +3 -0
  487. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/LICENSE +21 -0
  488. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/README.md +173 -0
  489. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/example.js +18 -0
  490. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/formats.js +14 -0
  491. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/index.js +573 -0
  492. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/.npmignore +1 -0
  493. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/.travis.yml +3 -0
  494. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/README.md +72 -0
  495. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/example.js +27 -0
  496. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/index.js +61 -0
  497. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/package.json +53 -0
  498. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/test.js +33 -0
  499. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/.npmignore +1 -0
  500. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/.travis.yml +3 -0
  501. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/LICENSE +21 -0
  502. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/README.md +19 -0
  503. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/index.js +12 -0
  504. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property/.npmignore +17 -0
  505. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property/LICENSE +22 -0
  506. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property/README.md +28 -0
  507. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property/is-property.js +5 -0
  508. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property/package.json +59 -0
  509. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/package.json +51 -0
  510. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/test.js +12 -0
  511. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/.travis.yml +6 -0
  512. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/README.md +31 -0
  513. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/jsonpointer.js +79 -0
  514. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/package.json +60 -0
  515. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/test.js +100 -0
  516. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/.jshintrc +30 -0
  517. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/.npmignore +1 -0
  518. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/LICENCE +19 -0
  519. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/Makefile +4 -0
  520. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/README.md +32 -0
  521. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/immutable.js +17 -0
  522. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/mutable.js +15 -0
  523. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/package.json +88 -0
  524. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/test.js +63 -0
  525. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/package.json +66 -0
  526. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/require.js +12 -0
  527. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/fixtures/cosmic.js +84 -0
  528. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/additionalItems.json +82 -0
  529. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/additionalProperties.json +88 -0
  530. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/allOf.json +112 -0
  531. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/anyOf.json +68 -0
  532. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/bignum.json +107 -0
  533. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/default.json +49 -0
  534. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/definitions.json +32 -0
  535. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/dependencies.json +113 -0
  536. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/enum.json +72 -0
  537. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/format.json +143 -0
  538. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/items.json +46 -0
  539. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/maxItems.json +28 -0
  540. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/maxLength.json +28 -0
  541. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/maxProperties.json +28 -0
  542. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/maximum.json +42 -0
  543. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/minItems.json +28 -0
  544. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/minLength.json +28 -0
  545. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/minProperties.json +28 -0
  546. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/minimum.json +42 -0
  547. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/multipleOf.json +60 -0
  548. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/not.json +96 -0
  549. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json +18 -0
  550. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json +18 -0
  551. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/oneOf.json +68 -0
  552. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json +23 -0
  553. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/patternProperties.json +110 -0
  554. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/properties.json +92 -0
  555. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/ref.json +128 -0
  556. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/refRemote.json +74 -0
  557. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/required.json +39 -0
  558. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/type.json +330 -0
  559. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/uniqueItems.json +79 -0
  560. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema.js +23 -0
  561. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/misc.js +429 -0
  562. package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/package.json +87 -0
  563. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/.npmignore +20 -0
  564. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/.travis.yml +5 -0
  565. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/LICENSE +28 -0
  566. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/README.md +634 -0
  567. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/bower.json +24 -0
  568. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/component.json +19 -0
  569. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/example/usage.js +78 -0
  570. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/images/hawk.png +0 -0
  571. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/images/logo.png +0 -0
  572. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/lib/browser.js +643 -0
  573. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/lib/client.js +369 -0
  574. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/lib/crypto.js +126 -0
  575. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/lib/index.js +15 -0
  576. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/lib/server.js +540 -0
  577. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/lib/utils.js +164 -0
  578. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/.npmignore +18 -0
  579. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/.travis.yml +7 -0
  580. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/CONTRIBUTING.md +1 -0
  581. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/LICENSE +28 -0
  582. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/README.md +597 -0
  583. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png +0 -0
  584. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js +301 -0
  585. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/package.json +64 -0
  586. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/test/index.js +616 -0
  587. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/.npmignore +18 -0
  588. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/.travis.yml +5 -0
  589. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/LICENSE +28 -0
  590. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/Makefile +9 -0
  591. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md +14 -0
  592. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/index.js +1 -0
  593. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/lib/index.js +68 -0
  594. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/package.json +65 -0
  595. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/test/index.js +108 -0
  596. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/.npmignore +18 -0
  597. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/.travis.yml +7 -0
  598. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/CONTRIBUTING.md +1 -0
  599. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/LICENSE +31 -0
  600. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/Makefile +8 -0
  601. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/README.md +574 -0
  602. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png +0 -0
  603. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/index.js +1 -0
  604. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/lib/escape.js +132 -0
  605. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/lib/index.js +977 -0
  606. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/package.json +60 -0
  607. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/escaper.js +88 -0
  608. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/index.js +2425 -0
  609. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/ignore.txt +0 -0
  610. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test1.js +1 -0
  611. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test2.js +1 -0
  612. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test3.js +1 -0
  613. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/.npmignore +18 -0
  614. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/.travis.yml +5 -0
  615. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/LICENSE +28 -0
  616. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/Makefile +9 -0
  617. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/README.md +68 -0
  618. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js +16 -0
  619. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js +25 -0
  620. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/index.js +1 -0
  621. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js +412 -0
  622. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/package.json +65 -0
  623. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/test/index.js +435 -0
  624. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/package.json +67 -0
  625. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/browser.js +1459 -0
  626. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/client.js +440 -0
  627. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/crypto.js +70 -0
  628. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/index.js +378 -0
  629. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/readme.js +95 -0
  630. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/server.js +1314 -0
  631. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/uri.js +849 -0
  632. package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/utils.js +121 -0
  633. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/.dir-locals.el +6 -0
  634. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/.npmignore +7 -0
  635. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/LICENSE +18 -0
  636. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/README.md +79 -0
  637. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/http_signing.md +296 -0
  638. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/lib/index.js +27 -0
  639. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/lib/parser.js +304 -0
  640. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/lib/signer.js +178 -0
  641. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/lib/util.js +306 -0
  642. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/lib/verify.js +56 -0
  643. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/.npmignore +2 -0
  644. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/LICENSE +19 -0
  645. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/README.md +50 -0
  646. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/errors.js +13 -0
  647. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/index.js +27 -0
  648. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/reader.js +267 -0
  649. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/types.js +36 -0
  650. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/writer.js +317 -0
  651. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/index.js +20 -0
  652. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/package.json +63 -0
  653. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/reader.test.js +172 -0
  654. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/writer.test.js +296 -0
  655. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/assert-plus/README.md +126 -0
  656. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/assert-plus/assert.js +245 -0
  657. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json +46 -0
  658. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/.npmignore +1 -0
  659. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/CHANGELOG +78 -0
  660. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/LICENSE +24 -0
  661. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/README +82 -0
  662. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/README.old +298 -0
  663. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/ctf.js +245 -0
  664. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/ctio.js +1485 -0
  665. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/ctype.js +944 -0
  666. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/man/man3ctype/ctio.3ctype +241 -0
  667. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/package.json +43 -0
  668. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsl.conf +129 -0
  669. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsstyle +839 -0
  670. package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/package.json +77 -0
  671. package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/.jshintrc +59 -0
  672. package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/.npmignore +1 -0
  673. package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/.travis.yml +12 -0
  674. package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/LICENSE.md +11 -0
  675. package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/README.md +66 -0
  676. package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/isstream.js +27 -0
  677. package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/package.json +59 -0
  678. package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/test.js +168 -0
  679. package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/.npmignore +1 -0
  680. package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/CHANGELOG.md +14 -0
  681. package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/LICENSE +15 -0
  682. package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/Makefile +35 -0
  683. package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/README.md +52 -0
  684. package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/package.json +68 -0
  685. package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/stringify.js +27 -0
  686. package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/test/mocha.opts +2 -0
  687. package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/test/stringify_test.js +246 -0
  688. package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/HISTORY.md +147 -0
  689. package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/LICENSE +23 -0
  690. package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/README.md +103 -0
  691. package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/index.js +188 -0
  692. package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/node_modules/mime-db/HISTORY.md +241 -0
  693. package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/node_modules/mime-db/LICENSE +22 -0
  694. package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/node_modules/mime-db/README.md +82 -0
  695. package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/node_modules/mime-db/db.json +6424 -0
  696. package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/node_modules/mime-db/index.js +11 -0
  697. package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/node_modules/mime-db/package.json +94 -0
  698. package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/package.json +84 -0
  699. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/.npmignore +2 -0
  700. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/LICENSE.md +21 -0
  701. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/README.md +243 -0
  702. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/benchmark/README.md +53 -0
  703. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu +174 -0
  704. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/benchmark/bench.sh +34 -0
  705. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/benchmark/benchmark-native.c +34 -0
  706. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js +84 -0
  707. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/bin/uuid +26 -0
  708. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/bower.json +23 -0
  709. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/component.json +18 -0
  710. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/package.json +65 -0
  711. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/test/compare_v1.js +63 -0
  712. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/test/test.html +17 -0
  713. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/test/test.js +228 -0
  714. package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/uuid.js +247 -0
  715. package/node_modules/node-pre-gyp/node_modules/request/node_modules/oauth-sign/LICENSE +55 -0
  716. package/node_modules/node-pre-gyp/node_modules/request/node_modules/oauth-sign/README.md +4 -0
  717. package/node_modules/node-pre-gyp/node_modules/request/node_modules/oauth-sign/index.js +134 -0
  718. package/node_modules/node-pre-gyp/node_modules/request/node_modules/oauth-sign/package.json +59 -0
  719. package/node_modules/node-pre-gyp/node_modules/request/node_modules/oauth-sign/test.js +89 -0
  720. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/.eslintignore +1 -0
  721. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/.npmignore +19 -0
  722. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/.travis.yml +6 -0
  723. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/CHANGELOG.md +88 -0
  724. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/CONTRIBUTING.md +1 -0
  725. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/LICENSE +28 -0
  726. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/README.md +317 -0
  727. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/bower.json +22 -0
  728. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/lib/index.js +15 -0
  729. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/lib/parse.js +186 -0
  730. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/lib/stringify.js +121 -0
  731. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/lib/utils.js +190 -0
  732. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/package.json +56 -0
  733. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/test/parse.js +478 -0
  734. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/test/stringify.js +259 -0
  735. package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/test/utils.js +28 -0
  736. package/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/.npmignore +15 -0
  737. package/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/.travis.yml +4 -0
  738. package/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/LICENSE.txt +4 -0
  739. package/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/README.md +38 -0
  740. package/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/example.js +27 -0
  741. package/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/package.json +49 -0
  742. package/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/stringstream.js +102 -0
  743. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/.editorconfig +12 -0
  744. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/.jshintrc +70 -0
  745. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/.npmignore +4 -0
  746. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/.travis.yml +9 -0
  747. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/LICENSE +74 -0
  748. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/README.md +486 -0
  749. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/generate-pubsuffix.js +293 -0
  750. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/lib/cookie.js +1309 -0
  751. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/lib/memstore.js +170 -0
  752. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/lib/pathMatch.js +61 -0
  753. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/lib/permuteDomain.js +56 -0
  754. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/lib/pubsuffix.js +98 -0
  755. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/lib/store.js +71 -0
  756. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/package.json +66 -0
  757. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/public-suffix.txt +10309 -0
  758. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/api_test.js +372 -0
  759. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/cookie_jar_test.js +468 -0
  760. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/cookie_sorting_test.js +156 -0
  761. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/cookie_to_json_test.js +164 -0
  762. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/cookie_to_string_test.js +162 -0
  763. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/date_test.js +79 -0
  764. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/domain_and_path_test.js +201 -0
  765. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/ietf_data/dates/bsd-examples.json +168 -0
  766. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/ietf_data/dates/examples.json +48 -0
  767. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/ietf_data/parser.json +1959 -0
  768. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/ietf_test.js +105 -0
  769. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/jar_serialization_test.js +348 -0
  770. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/lifetime_test.js +97 -0
  771. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/parsing_test.js +294 -0
  772. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/regression_test.js +143 -0
  773. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tunnel-agent/.jshintrc +5 -0
  774. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tunnel-agent/LICENSE +55 -0
  775. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tunnel-agent/README.md +4 -0
  776. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tunnel-agent/index.js +241 -0
  777. package/node_modules/node-pre-gyp/node_modules/request/node_modules/tunnel-agent/package.json +60 -0
  778. package/node_modules/node-pre-gyp/node_modules/request/package.json +111 -0
  779. package/node_modules/node-pre-gyp/node_modules/request/release.sh +45 -0
  780. package/node_modules/node-pre-gyp/node_modules/request/request.js +1408 -0
  781. package/node_modules/node-pre-gyp/node_modules/rimraf/LICENSE +15 -0
  782. package/node_modules/node-pre-gyp/node_modules/rimraf/README.md +38 -0
  783. package/node_modules/node-pre-gyp/node_modules/rimraf/bin.js +40 -0
  784. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/README.md +377 -0
  785. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/common.js +245 -0
  786. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/glob.js +752 -0
  787. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/.eslintrc +17 -0
  788. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/LICENSE +15 -0
  789. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/README.md +37 -0
  790. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/inflight.js +44 -0
  791. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE +15 -0
  792. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md +36 -0
  793. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +52 -0
  794. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js +51 -0
  795. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js +33 -0
  796. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json +61 -0
  797. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/test.js +97 -0
  798. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE +16 -0
  799. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md +42 -0
  800. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js +1 -0
  801. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js +23 -0
  802. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +50 -0
  803. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js +25 -0
  804. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md +216 -0
  805. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/browser.js +1159 -0
  806. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js +912 -0
  807. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore +2 -0
  808. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.travis.yml +3 -0
  809. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +121 -0
  810. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +8 -0
  811. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +191 -0
  812. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +2 -0
  813. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml +4 -0
  814. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +6 -0
  815. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +80 -0
  816. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +5 -0
  817. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +38 -0
  818. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +73 -0
  819. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +56 -0
  820. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml +4 -0
  821. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE +18 -0
  822. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +62 -0
  823. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +6 -0
  824. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +13 -0
  825. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +83 -0
  826. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +39 -0
  827. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +75 -0
  828. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-comparison.js +32 -0
  829. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-results.txt +1075 -0
  830. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/cases.txt +182 -0
  831. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/dollar.js +9 -0
  832. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/empty-option.js +10 -0
  833. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/generate.sh +24 -0
  834. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/negative-increment.js +15 -0
  835. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/nested.js +16 -0
  836. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/order.js +10 -0
  837. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/pad.js +13 -0
  838. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/same-type.js +7 -0
  839. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/sequence.js +50 -0
  840. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json +62 -0
  841. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/LICENSE +15 -0
  842. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/README.md +51 -0
  843. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE +15 -0
  844. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +36 -0
  845. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +52 -0
  846. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +51 -0
  847. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +33 -0
  848. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/once.js +21 -0
  849. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +60 -0
  850. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/test/once.js +23 -0
  851. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/index.js +20 -0
  852. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/package.json +70 -0
  853. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/readme.md +51 -0
  854. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/package.json +72 -0
  855. package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/sync.js +460 -0
  856. package/node_modules/node-pre-gyp/node_modules/rimraf/package.json +61 -0
  857. package/node_modules/node-pre-gyp/node_modules/rimraf/rimraf.js +333 -0
  858. package/node_modules/node-pre-gyp/node_modules/semver/.npmignore +4 -0
  859. package/node_modules/node-pre-gyp/node_modules/semver/.travis.yml +5 -0
  860. package/node_modules/node-pre-gyp/node_modules/semver/LICENSE +15 -0
  861. package/node_modules/node-pre-gyp/node_modules/semver/README.md +303 -0
  862. package/node_modules/node-pre-gyp/node_modules/semver/bin/semver +133 -0
  863. package/node_modules/node-pre-gyp/node_modules/semver/package.json +52 -0
  864. package/node_modules/node-pre-gyp/node_modules/semver/semver.js +1199 -0
  865. package/node_modules/node-pre-gyp/node_modules/semver/test/big-numbers.js +31 -0
  866. package/node_modules/node-pre-gyp/node_modules/semver/test/clean.js +29 -0
  867. package/node_modules/node-pre-gyp/node_modules/semver/test/gtr.js +173 -0
  868. package/node_modules/node-pre-gyp/node_modules/semver/test/index.js +685 -0
  869. package/node_modules/node-pre-gyp/node_modules/semver/test/ltr.js +181 -0
  870. package/node_modules/node-pre-gyp/node_modules/semver/test/major-minor-patch.js +72 -0
  871. package/node_modules/node-pre-gyp/node_modules/tar/.npmignore +5 -0
  872. package/node_modules/node-pre-gyp/node_modules/tar/.travis.yml +4 -0
  873. package/node_modules/node-pre-gyp/node_modules/tar/LICENSE +12 -0
  874. package/node_modules/node-pre-gyp/node_modules/tar/README.md +50 -0
  875. package/node_modules/node-pre-gyp/node_modules/tar/examples/extracter.js +19 -0
  876. package/node_modules/node-pre-gyp/node_modules/tar/examples/packer.js +24 -0
  877. package/node_modules/node-pre-gyp/node_modules/tar/examples/reader.js +36 -0
  878. package/node_modules/node-pre-gyp/node_modules/tar/lib/buffer-entry.js +30 -0
  879. package/node_modules/node-pre-gyp/node_modules/tar/lib/entry-writer.js +169 -0
  880. package/node_modules/node-pre-gyp/node_modules/tar/lib/entry.js +213 -0
  881. package/node_modules/node-pre-gyp/node_modules/tar/lib/extended-header-writer.js +191 -0
  882. package/node_modules/node-pre-gyp/node_modules/tar/lib/extended-header.js +140 -0
  883. package/node_modules/node-pre-gyp/node_modules/tar/lib/extract.js +94 -0
  884. package/node_modules/node-pre-gyp/node_modules/tar/lib/global-header-writer.js +14 -0
  885. package/node_modules/node-pre-gyp/node_modules/tar/lib/header.js +385 -0
  886. package/node_modules/node-pre-gyp/node_modules/tar/lib/pack.js +236 -0
  887. package/node_modules/node-pre-gyp/node_modules/tar/lib/parse.js +271 -0
  888. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/LICENCE +25 -0
  889. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/LICENSE +15 -0
  890. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/README.md +14 -0
  891. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/bench/block-stream-pause.js +70 -0
  892. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/bench/block-stream.js +68 -0
  893. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/bench/dropper-pause.js +70 -0
  894. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/bench/dropper.js +68 -0
  895. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/block-stream.js +209 -0
  896. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/package.json +55 -0
  897. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/test/basic.js +27 -0
  898. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/test/nopad-thorough.js +68 -0
  899. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/test/nopad.js +57 -0
  900. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/test/pause-resume.js +73 -0
  901. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/test/thorough.js +68 -0
  902. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/test/two-stream.js +59 -0
  903. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/.npmignore +5 -0
  904. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/.travis.yml +9 -0
  905. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/LICENSE +15 -0
  906. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/README.md +76 -0
  907. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/examples/filter-pipe.js +134 -0
  908. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/examples/pipe.js +118 -0
  909. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/examples/reader.js +68 -0
  910. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/examples/symlink-write.js +27 -0
  911. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/fstream.js +35 -0
  912. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/abstract.js +85 -0
  913. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/collect.js +68 -0
  914. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/dir-reader.js +252 -0
  915. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/dir-writer.js +174 -0
  916. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/file-reader.js +150 -0
  917. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/file-writer.js +107 -0
  918. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/get-type.js +33 -0
  919. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/link-reader.js +53 -0
  920. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/link-writer.js +95 -0
  921. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/proxy-reader.js +95 -0
  922. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/proxy-writer.js +111 -0
  923. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/reader.js +255 -0
  924. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/socket-reader.js +36 -0
  925. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/writer.js +390 -0
  926. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/.npmignore +1 -0
  927. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/LICENSE +15 -0
  928. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/README.md +36 -0
  929. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/fs.js +11 -0
  930. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/graceful-fs.js +158 -0
  931. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/package.json +72 -0
  932. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/polyfills.js +255 -0
  933. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/test/max-open.js +69 -0
  934. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/test/open.js +39 -0
  935. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/test/readdir-sort.js +20 -0
  936. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/test/write-then-read.js +47 -0
  937. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/package.json +67 -0
  938. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/inherits/LICENSE +16 -0
  939. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/inherits/README.md +42 -0
  940. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/inherits/inherits.js +1 -0
  941. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/inherits/inherits_browser.js +23 -0
  942. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/inherits/package.json +50 -0
  943. package/node_modules/node-pre-gyp/node_modules/tar/node_modules/inherits/test.js +25 -0
  944. package/node_modules/node-pre-gyp/node_modules/tar/package.json +61 -0
  945. package/node_modules/node-pre-gyp/node_modules/tar/tar.js +173 -0
  946. package/node_modules/node-pre-gyp/node_modules/tar/test/00-setup-fixtures.js +53 -0
  947. package/node_modules/node-pre-gyp/node_modules/tar/test/cb-never-called-1.0.1.tgz +0 -0
  948. package/node_modules/node-pre-gyp/node_modules/tar/test/dir-normalization.js +177 -0
  949. package/node_modules/node-pre-gyp/node_modules/tar/test/dir-normalization.tar +0 -0
  950. package/node_modules/node-pre-gyp/node_modules/tar/test/error-on-broken.js +33 -0
  951. package/node_modules/node-pre-gyp/node_modules/tar/test/extract-move.js +132 -0
  952. package/node_modules/node-pre-gyp/node_modules/tar/test/extract.js +367 -0
  953. package/node_modules/node-pre-gyp/node_modules/tar/test/fixtures.tgz +0 -0
  954. package/node_modules/node-pre-gyp/node_modules/tar/test/header.js +183 -0
  955. package/node_modules/node-pre-gyp/node_modules/tar/test/pack-no-proprietary.js +886 -0
  956. package/node_modules/node-pre-gyp/node_modules/tar/test/pack.js +952 -0
  957. package/node_modules/node-pre-gyp/node_modules/tar/test/parse.js +359 -0
  958. package/node_modules/node-pre-gyp/node_modules/tar/test/zz-cleanup.js +20 -0
  959. package/node_modules/node-pre-gyp/node_modules/tar-pack/.npmignore +14 -0
  960. package/node_modules/node-pre-gyp/node_modules/tar-pack/.travis.yml +4 -0
  961. package/node_modules/node-pre-gyp/node_modules/tar-pack/README.md +81 -0
  962. package/node_modules/node-pre-gyp/node_modules/tar-pack/index.js +246 -0
  963. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/debug/Readme.md +115 -0
  964. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/debug/debug.js +137 -0
  965. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/debug/index.js +5 -0
  966. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/debug/lib/debug.js +147 -0
  967. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/debug/package.json +63 -0
  968. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/.npmignore +5 -0
  969. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/.travis.yml +3 -0
  970. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/LICENSE +27 -0
  971. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/README.md +76 -0
  972. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/examples/filter-pipe.js +131 -0
  973. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/examples/pipe.js +115 -0
  974. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/examples/reader.js +54 -0
  975. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/examples/symlink-write.js +24 -0
  976. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/fstream.js +31 -0
  977. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/abstract.js +85 -0
  978. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/collect.js +67 -0
  979. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/dir-reader.js +251 -0
  980. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/dir-writer.js +171 -0
  981. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/file-reader.js +147 -0
  982. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/file-writer.js +104 -0
  983. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/get-type.js +32 -0
  984. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/link-reader.js +54 -0
  985. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/link-writer.js +95 -0
  986. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/proxy-reader.js +93 -0
  987. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/proxy-writer.js +109 -0
  988. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/reader.js +262 -0
  989. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/socket-reader.js +38 -0
  990. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/writer.js +389 -0
  991. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/.npmignore +1 -0
  992. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/LICENSE +15 -0
  993. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/README.md +36 -0
  994. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/fs.js +11 -0
  995. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/graceful-fs.js +158 -0
  996. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/package.json +72 -0
  997. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/polyfills.js +255 -0
  998. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/test/max-open.js +69 -0
  999. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/test/open.js +39 -0
  1000. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/test/readdir-sort.js +20 -0
  1001. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/test/write-then-read.js +47 -0
  1002. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/inherits/LICENSE +16 -0
  1003. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/inherits/README.md +42 -0
  1004. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/inherits/inherits.js +1 -0
  1005. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/inherits/inherits_browser.js +23 -0
  1006. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/inherits/package.json +50 -0
  1007. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/inherits/test.js +25 -0
  1008. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/package.json +57 -0
  1009. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/.npmignore +1 -0
  1010. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/LICENSE +27 -0
  1011. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/README.md +22 -0
  1012. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/example/basic.js +13 -0
  1013. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/ignore.js +275 -0
  1014. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/inherits/LICENSE +16 -0
  1015. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/inherits/README.md +42 -0
  1016. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/inherits/inherits.js +1 -0
  1017. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/inherits/inherits_browser.js +23 -0
  1018. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/inherits/package.json +50 -0
  1019. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/inherits/test.js +25 -0
  1020. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/.npmignore +1 -0
  1021. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/LICENSE +23 -0
  1022. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/README.md +218 -0
  1023. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/minimatch.js +1055 -0
  1024. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/.npmignore +1 -0
  1025. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/.travis.yml +8 -0
  1026. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS +14 -0
  1027. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/LICENSE +15 -0
  1028. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/README.md +109 -0
  1029. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/lib/lru-cache.js +274 -0
  1030. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/package.json +58 -0
  1031. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/test/basic.js +395 -0
  1032. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/test/foreach.js +120 -0
  1033. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/test/memory-leak.js +51 -0
  1034. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/sigmund/LICENSE +15 -0
  1035. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/sigmund/README.md +53 -0
  1036. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/sigmund/bench.js +283 -0
  1037. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/sigmund/package.json +60 -0
  1038. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/sigmund/sigmund.js +39 -0
  1039. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/sigmund/test/basic.js +24 -0
  1040. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/package.json +57 -0
  1041. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/test/basic.js +399 -0
  1042. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/test/brace-expand.js +33 -0
  1043. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/test/caching.js +14 -0
  1044. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/test/defaults.js +274 -0
  1045. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/test/extglob-ending-with-state-char.js +8 -0
  1046. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/package.json +54 -0
  1047. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/.ignore +2 -0
  1048. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/.npmignore +1 -0
  1049. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/00-setup.js +71 -0
  1050. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/basic.js +28 -0
  1051. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/common.js +40 -0
  1052. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/ignore-most.js +41 -0
  1053. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/nested-ignores.js +51 -0
  1054. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/unignore-child.js +38 -0
  1055. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/zz-cleanup.js +10 -0
  1056. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/graceful-fs/.npmignore +1 -0
  1057. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/graceful-fs/LICENSE +27 -0
  1058. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/graceful-fs/README.md +33 -0
  1059. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/graceful-fs/graceful-fs.js +442 -0
  1060. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/graceful-fs/package.json +65 -0
  1061. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/graceful-fs/test/open.js +46 -0
  1062. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/graceful-fs/test/ulimit.js +158 -0
  1063. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/once/LICENSE +27 -0
  1064. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/once/README.md +33 -0
  1065. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/once/once.js +19 -0
  1066. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/once/package.json +56 -0
  1067. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/once/test/once.js +18 -0
  1068. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/.npmignore +5 -0
  1069. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/LICENSE +18 -0
  1070. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/README.md +15 -0
  1071. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/duplex.js +1 -0
  1072. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_duplex.js +89 -0
  1073. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_passthrough.js +46 -0
  1074. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_readable.js +982 -0
  1075. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_transform.js +210 -0
  1076. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_writable.js +386 -0
  1077. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/README.md +3 -0
  1078. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/float.patch +604 -0
  1079. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +107 -0
  1080. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/package.json +54 -0
  1081. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/util.js +106 -0
  1082. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/LICENSE +16 -0
  1083. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/README.md +42 -0
  1084. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/inherits.js +1 -0
  1085. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/inherits_browser.js +23 -0
  1086. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/package.json +50 -0
  1087. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/test.js +25 -0
  1088. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/README.md +54 -0
  1089. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/build/build.js +209 -0
  1090. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/component.json +19 -0
  1091. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/index.js +3 -0
  1092. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/package.json +53 -0
  1093. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/.npmignore +2 -0
  1094. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/LICENSE +20 -0
  1095. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/README.md +7 -0
  1096. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/index.js +221 -0
  1097. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/package.json +54 -0
  1098. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/package.json +70 -0
  1099. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/passthrough.js +1 -0
  1100. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/readable.js +8 -0
  1101. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/transform.js +1 -0
  1102. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/writable.js +1 -0
  1103. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/AUTHORS +6 -0
  1104. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/LICENSE +23 -0
  1105. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/README.md +30 -0
  1106. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/bin.js +33 -0
  1107. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/package.json +73 -0
  1108. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/rimraf.js +248 -0
  1109. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/test/run.sh +16 -0
  1110. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/test/setup.sh +47 -0
  1111. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/test/test-async.js +5 -0
  1112. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/test/test-sync.js +3 -0
  1113. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/.npmignore +5 -0
  1114. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/.travis.yml +3 -0
  1115. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/LICENCE +25 -0
  1116. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/README.md +48 -0
  1117. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/examples/extracter.js +11 -0
  1118. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/examples/packer.js +10 -0
  1119. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/examples/reader.js +36 -0
  1120. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/buffer-entry.js +30 -0
  1121. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/entry-writer.js +169 -0
  1122. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/entry.js +213 -0
  1123. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/extended-header-writer.js +191 -0
  1124. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/extended-header.js +140 -0
  1125. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/extract.js +78 -0
  1126. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/global-header-writer.js +14 -0
  1127. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/header.js +385 -0
  1128. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/pack.js +231 -0
  1129. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/parse.js +271 -0
  1130. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/LICENCE +25 -0
  1131. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/LICENSE +15 -0
  1132. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/README.md +14 -0
  1133. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/bench/block-stream-pause.js +70 -0
  1134. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/bench/block-stream.js +68 -0
  1135. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/bench/dropper-pause.js +70 -0
  1136. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/bench/dropper.js +68 -0
  1137. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/block-stream.js +209 -0
  1138. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/package.json +55 -0
  1139. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/test/basic.js +27 -0
  1140. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/test/nopad-thorough.js +68 -0
  1141. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/test/nopad.js +57 -0
  1142. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/test/pause-resume.js +73 -0
  1143. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/test/thorough.js +68 -0
  1144. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/test/two-stream.js +59 -0
  1145. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/inherits/LICENSE +16 -0
  1146. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/inherits/README.md +42 -0
  1147. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/inherits/inherits.js +1 -0
  1148. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/inherits/inherits_browser.js +23 -0
  1149. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/inherits/package.json +50 -0
  1150. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/inherits/test.js +25 -0
  1151. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/package.json +54 -0
  1152. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/tar.js +173 -0
  1153. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/00-setup-fixtures.js +53 -0
  1154. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/extract.js +367 -0
  1155. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/fixtures.tgz +0 -0
  1156. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/header.js +183 -0
  1157. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/pack-no-proprietary.js +854 -0
  1158. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/pack.js +897 -0
  1159. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/parse.js +359 -0
  1160. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/zz-cleanup.js +20 -0
  1161. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/uid-number/LICENCE +25 -0
  1162. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/uid-number/README.md +17 -0
  1163. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/uid-number/get-uid-gid.js +24 -0
  1164. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/uid-number/package.json +50 -0
  1165. package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/uid-number/uid-number.js +54 -0
  1166. package/node_modules/node-pre-gyp/node_modules/tar-pack/package.json +58 -0
  1167. package/node_modules/node-pre-gyp/node_modules/tar-pack/test/fixtures/packed-file.txt +1 -0
  1168. package/node_modules/node-pre-gyp/node_modules/tar-pack/test/fixtures/packed.tar +0 -0
  1169. package/node_modules/node-pre-gyp/node_modules/tar-pack/test/fixtures/packed.tar.gz +0 -0
  1170. package/node_modules/node-pre-gyp/node_modules/tar-pack/test/fixtures/to-pack/bar.txt +1 -0
  1171. package/node_modules/node-pre-gyp/node_modules/tar-pack/test/fixtures/to-pack/foo.txt +1 -0
  1172. package/node_modules/node-pre-gyp/node_modules/tar-pack/test/index.js +67 -0
  1173. package/node_modules/node-pre-gyp/package.json +114 -0
  1174. package/package.json +14 -2
@@ -0,0 +1,1789 @@
1
+ # Async.js
2
+
3
+ [![Build Status via Travis CI](https://travis-ci.org/caolan/async.svg?branch=master)](https://travis-ci.org/caolan/async)
4
+ [![NPM version](http://img.shields.io/npm/v/async.svg)](https://www.npmjs.org/package/async)
5
+ [![Coverage Status](https://coveralls.io/repos/caolan/async/badge.svg?branch=master)](https://coveralls.io/r/caolan/async?branch=master)
6
+ [![Join the chat at https://gitter.im/caolan/async](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/caolan/async?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
7
+
8
+
9
+ Async is a utility module which provides straight-forward, powerful functions
10
+ for working with asynchronous JavaScript. Although originally designed for
11
+ use with [Node.js](http://nodejs.org) and installable via `npm install async`,
12
+ it can also be used directly in the browser.
13
+
14
+ Async is also installable via:
15
+
16
+ - [bower](http://bower.io/): `bower install async`
17
+ - [component](https://github.com/component/component): `component install
18
+ caolan/async`
19
+ - [jam](http://jamjs.org/): `jam install async`
20
+ - [spm](http://spmjs.io/): `spm install async`
21
+
22
+ Async provides around 20 functions that include the usual 'functional'
23
+ suspects (`map`, `reduce`, `filter`, `each`…) as well as some common patterns
24
+ for asynchronous control flow (`parallel`, `series`, `waterfall`…). All these
25
+ functions assume you follow the Node.js convention of providing a single
26
+ callback as the last argument of your `async` function.
27
+
28
+
29
+ ## Quick Examples
30
+
31
+ ```javascript
32
+ async.map(['file1','file2','file3'], fs.stat, function(err, results){
33
+ // results is now an array of stats for each file
34
+ });
35
+
36
+ async.filter(['file1','file2','file3'], fs.exists, function(results){
37
+ // results now equals an array of the existing files
38
+ });
39
+
40
+ async.parallel([
41
+ function(){ ... },
42
+ function(){ ... }
43
+ ], callback);
44
+
45
+ async.series([
46
+ function(){ ... },
47
+ function(){ ... }
48
+ ]);
49
+ ```
50
+
51
+ There are many more functions available so take a look at the docs below for a
52
+ full list. This module aims to be comprehensive, so if you feel anything is
53
+ missing please create a GitHub issue for it.
54
+
55
+ ## Common Pitfalls <sub>[(StackOverflow)](http://stackoverflow.com/questions/tagged/async.js)</sub>
56
+ ### Synchronous iteration functions
57
+
58
+ If you get an error like `RangeError: Maximum call stack size exceeded.` or other stack overflow issues when using async, you are likely using a synchronous iterator. By *synchronous* we mean a function that calls its callback on the same tick in the javascript event loop, without doing any I/O or using any timers. Calling many callbacks iteratively will quickly overflow the stack. If you run into this issue, just defer your callback with `async.nextTick` to start a new call stack on the next tick of the event loop.
59
+
60
+ This can also arise by accident if you callback early in certain cases:
61
+
62
+ ```js
63
+ async.eachSeries(hugeArray, function iterator(item, callback) {
64
+ if (inCache(item)) {
65
+ callback(null, cache[item]); // if many items are cached, you'll overflow
66
+ } else {
67
+ doSomeIO(item, callback);
68
+ }
69
+ }, function done() {
70
+ //...
71
+ });
72
+ ```
73
+
74
+ Just change it to:
75
+
76
+ ```js
77
+ async.eachSeries(hugeArray, function iterator(item, callback) {
78
+ if (inCache(item)) {
79
+ async.setImmediate(function () {
80
+ callback(null, cache[item]);
81
+ });
82
+ } else {
83
+ doSomeIO(item, callback);
84
+ //...
85
+ ```
86
+
87
+ Async guards against synchronous functions in some, but not all, cases. If you are still running into stack overflows, you can defer as suggested above, or wrap functions with [`async.ensureAsync`](#ensureAsync) Functions that are asynchronous by their nature do not have this problem and don't need the extra callback deferral.
88
+
89
+ If javascript's event loop is still a bit nebulous, check out [this article](http://blog.carbonfive.com/2013/10/27/the-javascript-event-loop-explained/) or [this talk](http://2014.jsconf.eu/speakers/philip-roberts-what-the-heck-is-the-event-loop-anyway.html) for more detailed information about how it works.
90
+
91
+
92
+ ### Multiple callbacks
93
+
94
+ Make sure to always `return` when calling a callback early, otherwise you will cause multiple callbacks and unpredictable behavior in many cases.
95
+
96
+ ```js
97
+ async.waterfall([
98
+ function (callback) {
99
+ getSomething(options, function (err, result) {
100
+ if (err) {
101
+ callback(new Error("failed getting something:" + err.message));
102
+ // we should return here
103
+ }
104
+ // since we did not return, this callback still will be called and
105
+ // `processData` will be called twice
106
+ callback(result);
107
+ });
108
+ },
109
+ processData
110
+ ], done)
111
+ ```
112
+
113
+ It is always good practice to `return callback(err, result)` whenever a callback call is not the last statement of a function.
114
+
115
+
116
+ ### Binding a context to an iterator
117
+
118
+ This section is really about `bind`, not about `async`. If you are wondering how to
119
+ make `async` execute your iterators in a given context, or are confused as to why
120
+ a method of another library isn't working as an iterator, study this example:
121
+
122
+ ```js
123
+ // Here is a simple object with an (unnecessarily roundabout) squaring method
124
+ var AsyncSquaringLibrary = {
125
+ squareExponent: 2,
126
+ square: function(number, callback){
127
+ var result = Math.pow(number, this.squareExponent);
128
+ setTimeout(function(){
129
+ callback(null, result);
130
+ }, 200);
131
+ }
132
+ };
133
+
134
+ async.map([1, 2, 3], AsyncSquaringLibrary.square, function(err, result){
135
+ // result is [NaN, NaN, NaN]
136
+ // This fails because the `this.squareExponent` expression in the square
137
+ // function is not evaluated in the context of AsyncSquaringLibrary, and is
138
+ // therefore undefined.
139
+ });
140
+
141
+ async.map([1, 2, 3], AsyncSquaringLibrary.square.bind(AsyncSquaringLibrary), function(err, result){
142
+ // result is [1, 4, 9]
143
+ // With the help of bind we can attach a context to the iterator before
144
+ // passing it to async. Now the square function will be executed in its
145
+ // 'home' AsyncSquaringLibrary context and the value of `this.squareExponent`
146
+ // will be as expected.
147
+ });
148
+ ```
149
+
150
+ ## Download
151
+
152
+ The source is available for download from
153
+ [GitHub](https://github.com/caolan/async/blob/master/lib/async.js).
154
+ Alternatively, you can install using Node Package Manager (`npm`):
155
+
156
+ npm install async
157
+
158
+ As well as using Bower:
159
+
160
+ bower install async
161
+
162
+ __Development:__ [async.js](https://github.com/caolan/async/raw/master/lib/async.js) - 29.6kb Uncompressed
163
+
164
+ ## In the Browser
165
+
166
+ So far it's been tested in IE6, IE7, IE8, FF3.6 and Chrome 5.
167
+
168
+ Usage:
169
+
170
+ ```html
171
+ <script type="text/javascript" src="async.js"></script>
172
+ <script type="text/javascript">
173
+
174
+ async.map(data, asyncProcess, function(err, results){
175
+ alert(results);
176
+ });
177
+
178
+ </script>
179
+ ```
180
+
181
+ ## Documentation
182
+
183
+ Some functions are also available in the following forms:
184
+ * `<name>Series` - the same as `<name>` but runs only a single async operation at a time
185
+ * `<name>Limit` - the same as `<name>` but runs a maximum of `limit` async operations at a time
186
+
187
+ ### Collections
188
+
189
+ * [`each`](#each), `eachSeries`, `eachLimit`
190
+ * [`forEachOf`](#forEachOf), `forEachOfSeries`, `forEachOfLimit`
191
+ * [`map`](#map), `mapSeries`, `mapLimit`
192
+ * [`filter`](#filter), `filterSeries`, `filterLimit`
193
+ * [`reject`](#reject), `rejectSeries`, `rejectLimit`
194
+ * [`reduce`](#reduce), [`reduceRight`](#reduceRight)
195
+ * [`detect`](#detect), `detectSeries`, `detectLimit`
196
+ * [`sortBy`](#sortBy)
197
+ * [`some`](#some), `someLimit`
198
+ * [`every`](#every), `everyLimit`
199
+ * [`concat`](#concat), `concatSeries`
200
+
201
+ ### Control Flow
202
+
203
+ * [`series`](#seriestasks-callback)
204
+ * [`parallel`](#parallel), `parallelLimit`
205
+ * [`whilst`](#whilst), [`doWhilst`](#doWhilst)
206
+ * [`until`](#until), [`doUntil`](#doUntil)
207
+ * [`during`](#during), [`doDuring`](#doDuring)
208
+ * [`forever`](#forever)
209
+ * [`waterfall`](#waterfall)
210
+ * [`compose`](#compose)
211
+ * [`seq`](#seq)
212
+ * [`applyEach`](#applyEach), `applyEachSeries`
213
+ * [`queue`](#queue), [`priorityQueue`](#priorityQueue)
214
+ * [`cargo`](#cargo)
215
+ * [`auto`](#auto)
216
+ * [`retry`](#retry)
217
+ * [`iterator`](#iterator)
218
+ * [`times`](#times), `timesSeries`, `timesLimit`
219
+
220
+ ### Utils
221
+
222
+ * [`apply`](#apply)
223
+ * [`nextTick`](#nextTick)
224
+ * [`memoize`](#memoize)
225
+ * [`unmemoize`](#unmemoize)
226
+ * [`ensureAsync`](#ensureAsync)
227
+ * [`constant`](#constant)
228
+ * [`asyncify`](#asyncify)
229
+ * [`wrapSync`](#wrapSync)
230
+ * [`log`](#log)
231
+ * [`dir`](#dir)
232
+ * [`noConflict`](#noConflict)
233
+
234
+ ## Collections
235
+
236
+ <a name="forEach" />
237
+ <a name="each" />
238
+ ### each(arr, iterator, [callback])
239
+
240
+ Applies the function `iterator` to each item in `arr`, in parallel.
241
+ The `iterator` is called with an item from the list, and a callback for when it
242
+ has finished. If the `iterator` passes an error to its `callback`, the main
243
+ `callback` (for the `each` function) is immediately called with the error.
244
+
245
+ Note, that since this function applies `iterator` to each item in parallel,
246
+ there is no guarantee that the iterator functions will complete in order.
247
+
248
+ __Arguments__
249
+
250
+ * `arr` - An array to iterate over.
251
+ * `iterator(item, callback)` - A function to apply to each item in `arr`.
252
+ The iterator is passed a `callback(err)` which must be called once it has
253
+ completed. If no error has occurred, the `callback` should be run without
254
+ arguments or with an explicit `null` argument. The array index is not passed
255
+ to the iterator. If you need the index, use [`forEachOf`](#forEachOf).
256
+ * `callback(err)` - *Optional* A callback which is called when all `iterator` functions
257
+ have finished, or an error occurs.
258
+
259
+ __Examples__
260
+
261
+
262
+ ```js
263
+ // assuming openFiles is an array of file names and saveFile is a function
264
+ // to save the modified contents of that file:
265
+
266
+ async.each(openFiles, saveFile, function(err){
267
+ // if any of the saves produced an error, err would equal that error
268
+ });
269
+ ```
270
+
271
+ ```js
272
+ // assuming openFiles is an array of file names
273
+
274
+ async.each(openFiles, function(file, callback) {
275
+
276
+ // Perform operation on file here.
277
+ console.log('Processing file ' + file);
278
+
279
+ if( file.length > 32 ) {
280
+ console.log('This file name is too long');
281
+ callback('File name too long');
282
+ } else {
283
+ // Do work to process file here
284
+ console.log('File processed');
285
+ callback();
286
+ }
287
+ }, function(err){
288
+ // if any of the file processing produced an error, err would equal that error
289
+ if( err ) {
290
+ // One of the iterations produced an error.
291
+ // All processing will now stop.
292
+ console.log('A file failed to process');
293
+ } else {
294
+ console.log('All files have been processed successfully');
295
+ }
296
+ });
297
+ ```
298
+
299
+ __Related__
300
+
301
+ * eachSeries(arr, iterator, [callback])
302
+ * eachLimit(arr, limit, iterator, [callback])
303
+
304
+ ---------------------------------------
305
+
306
+ <a name="forEachOf" />
307
+ <a name="eachOf" />
308
+
309
+ ### forEachOf(obj, iterator, [callback])
310
+
311
+ Like `each`, except that it iterates over objects, and passes the key as the second argument to the iterator.
312
+
313
+ __Arguments__
314
+
315
+ * `obj` - An object or array to iterate over.
316
+ * `iterator(item, key, callback)` - A function to apply to each item in `obj`.
317
+ The `key` is the item's key, or index in the case of an array. The iterator is
318
+ passed a `callback(err)` which must be called once it has completed. If no
319
+ error has occurred, the callback should be run without arguments or with an
320
+ explicit `null` argument.
321
+ * `callback(err)` - *Optional* A callback which is called when all `iterator` functions have finished, or an error occurs.
322
+
323
+ __Example__
324
+
325
+ ```js
326
+ var obj = {dev: "/dev.json", test: "/test.json", prod: "/prod.json"};
327
+ var configs = {};
328
+
329
+ async.forEachOf(obj, function (value, key, callback) {
330
+ fs.readFile(__dirname + value, "utf8", function (err, data) {
331
+ if (err) return callback(err);
332
+ try {
333
+ configs[key] = JSON.parse(data);
334
+ } catch (e) {
335
+ return callback(e);
336
+ }
337
+ callback();
338
+ })
339
+ }, function (err) {
340
+ if (err) console.error(err.message);
341
+ // configs is now a map of JSON data
342
+ doSomethingWith(configs);
343
+ })
344
+ ```
345
+
346
+ __Related__
347
+
348
+ * forEachOfSeries(obj, iterator, [callback])
349
+ * forEachOfLimit(obj, limit, iterator, [callback])
350
+
351
+ ---------------------------------------
352
+
353
+ <a name="map" />
354
+ ### map(arr, iterator, [callback])
355
+
356
+ Produces a new array of values by mapping each value in `arr` through
357
+ the `iterator` function. The `iterator` is called with an item from `arr` and a
358
+ callback for when it has finished processing. Each of these callback takes 2 arguments:
359
+ an `error`, and the transformed item from `arr`. If `iterator` passes an error to its
360
+ callback, the main `callback` (for the `map` function) is immediately called with the error.
361
+
362
+ Note, that since this function applies the `iterator` to each item in parallel,
363
+ there is no guarantee that the `iterator` functions will complete in order.
364
+ However, the results array will be in the same order as the original `arr`.
365
+
366
+ __Arguments__
367
+
368
+ * `arr` - An array to iterate over.
369
+ * `iterator(item, callback)` - A function to apply to each item in `arr`.
370
+ The iterator is passed a `callback(err, transformed)` which must be called once
371
+ it has completed with an error (which can be `null`) and a transformed item.
372
+ * `callback(err, results)` - *Optional* A callback which is called when all `iterator`
373
+ functions have finished, or an error occurs. Results is an array of the
374
+ transformed items from the `arr`.
375
+
376
+ __Example__
377
+
378
+ ```js
379
+ async.map(['file1','file2','file3'], fs.stat, function(err, results){
380
+ // results is now an array of stats for each file
381
+ });
382
+ ```
383
+
384
+ __Related__
385
+ * mapSeries(arr, iterator, [callback])
386
+ * mapLimit(arr, limit, iterator, [callback])
387
+
388
+ ---------------------------------------
389
+
390
+ <a name="select" />
391
+ <a name="filter" />
392
+ ### filter(arr, iterator, [callback])
393
+
394
+ __Alias:__ `select`
395
+
396
+ Returns a new array of all the values in `arr` which pass an async truth test.
397
+ _The callback for each `iterator` call only accepts a single argument of `true` or
398
+ `false`; it does not accept an error argument first!_ This is in-line with the
399
+ way node libraries work with truth tests like `fs.exists`. This operation is
400
+ performed in parallel, but the results array will be in the same order as the
401
+ original.
402
+
403
+ __Arguments__
404
+
405
+ * `arr` - An array to iterate over.
406
+ * `iterator(item, callback)` - A truth test to apply to each item in `arr`.
407
+ The `iterator` is passed a `callback(truthValue)`, which must be called with a
408
+ boolean argument once it has completed.
409
+ * `callback(results)` - *Optional* A callback which is called after all the `iterator`
410
+ functions have finished.
411
+
412
+ __Example__
413
+
414
+ ```js
415
+ async.filter(['file1','file2','file3'], fs.exists, function(results){
416
+ // results now equals an array of the existing files
417
+ });
418
+ ```
419
+
420
+ __Related__
421
+
422
+ * filterSeries(arr, iterator, [callback])
423
+ * filterLimit(arr, limit, iterator, [callback])
424
+
425
+ ---------------------------------------
426
+
427
+ <a name="reject" />
428
+ ### reject(arr, iterator, [callback])
429
+
430
+ The opposite of [`filter`](#filter). Removes values that pass an `async` truth test.
431
+
432
+ __Related__
433
+
434
+ * rejectSeries(arr, iterator, [callback])
435
+ * rejectLimit(arr, limit, iterator, [callback])
436
+
437
+ ---------------------------------------
438
+
439
+ <a name="reduce" />
440
+ ### reduce(arr, memo, iterator, [callback])
441
+
442
+ __Aliases:__ `inject`, `foldl`
443
+
444
+ Reduces `arr` into a single value using an async `iterator` to return
445
+ each successive step. `memo` is the initial state of the reduction.
446
+ This function only operates in series.
447
+
448
+ For performance reasons, it may make sense to split a call to this function into
449
+ a parallel map, and then use the normal `Array.prototype.reduce` on the results.
450
+ This function is for situations where each step in the reduction needs to be async;
451
+ if you can get the data before reducing it, then it's probably a good idea to do so.
452
+
453
+ __Arguments__
454
+
455
+ * `arr` - An array to iterate over.
456
+ * `memo` - The initial state of the reduction.
457
+ * `iterator(memo, item, callback)` - A function applied to each item in the
458
+ array to produce the next step in the reduction. The `iterator` is passed a
459
+ `callback(err, reduction)` which accepts an optional error as its first
460
+ argument, and the state of the reduction as the second. If an error is
461
+ passed to the callback, the reduction is stopped and the main `callback` is
462
+ immediately called with the error.
463
+ * `callback(err, result)` - *Optional* A callback which is called after all the `iterator`
464
+ functions have finished. Result is the reduced value.
465
+
466
+ __Example__
467
+
468
+ ```js
469
+ async.reduce([1,2,3], 0, function(memo, item, callback){
470
+ // pointless async:
471
+ process.nextTick(function(){
472
+ callback(null, memo + item)
473
+ });
474
+ }, function(err, result){
475
+ // result is now equal to the last value of memo, which is 6
476
+ });
477
+ ```
478
+
479
+ ---------------------------------------
480
+
481
+ <a name="reduceRight" />
482
+ ### reduceRight(arr, memo, iterator, [callback])
483
+
484
+ __Alias:__ `foldr`
485
+
486
+ Same as [`reduce`](#reduce), only operates on `arr` in reverse order.
487
+
488
+
489
+ ---------------------------------------
490
+
491
+ <a name="detect" />
492
+ ### detect(arr, iterator, [callback])
493
+
494
+ Returns the first value in `arr` that passes an async truth test. The
495
+ `iterator` is applied in parallel, meaning the first iterator to return `true` will
496
+ fire the detect `callback` with that result. That means the result might not be
497
+ the first item in the original `arr` (in terms of order) that passes the test.
498
+
499
+ If order within the original `arr` is important, then look at [`detectSeries`](#detectSeries).
500
+
501
+ __Arguments__
502
+
503
+ * `arr` - An array to iterate over.
504
+ * `iterator(item, callback)` - A truth test to apply to each item in `arr`.
505
+ The iterator is passed a `callback(truthValue)` which must be called with a
506
+ boolean argument once it has completed. **Note: this callback does not take an error as its first argument.**
507
+ * `callback(result)` - *Optional* A callback which is called as soon as any iterator returns
508
+ `true`, or after all the `iterator` functions have finished. Result will be
509
+ the first item in the array that passes the truth test (iterator) or the
510
+ value `undefined` if none passed. **Note: this callback does not take an error as its first argument.**
511
+
512
+ __Example__
513
+
514
+ ```js
515
+ async.detect(['file1','file2','file3'], fs.exists, function(result){
516
+ // result now equals the first file in the list that exists
517
+ });
518
+ ```
519
+
520
+ __Related__
521
+
522
+ * detectSeries(arr, iterator, [callback])
523
+ * detectLimit(arr, limit, iterator, [callback])
524
+
525
+ ---------------------------------------
526
+
527
+ <a name="sortBy" />
528
+ ### sortBy(arr, iterator, [callback])
529
+
530
+ Sorts a list by the results of running each `arr` value through an async `iterator`.
531
+
532
+ __Arguments__
533
+
534
+ * `arr` - An array to iterate over.
535
+ * `iterator(item, callback)` - A function to apply to each item in `arr`.
536
+ The iterator is passed a `callback(err, sortValue)` which must be called once it
537
+ has completed with an error (which can be `null`) and a value to use as the sort
538
+ criteria.
539
+ * `callback(err, results)` - *Optional* A callback which is called after all the `iterator`
540
+ functions have finished, or an error occurs. Results is the items from
541
+ the original `arr` sorted by the values returned by the `iterator` calls.
542
+
543
+ __Example__
544
+
545
+ ```js
546
+ async.sortBy(['file1','file2','file3'], function(file, callback){
547
+ fs.stat(file, function(err, stats){
548
+ callback(err, stats.mtime);
549
+ });
550
+ }, function(err, results){
551
+ // results is now the original array of files sorted by
552
+ // modified date
553
+ });
554
+ ```
555
+
556
+ __Sort Order__
557
+
558
+ By modifying the callback parameter the sorting order can be influenced:
559
+
560
+ ```js
561
+ //ascending order
562
+ async.sortBy([1,9,3,5], function(x, callback){
563
+ callback(null, x);
564
+ }, function(err,result){
565
+ //result callback
566
+ } );
567
+
568
+ //descending order
569
+ async.sortBy([1,9,3,5], function(x, callback){
570
+ callback(null, x*-1); //<- x*-1 instead of x, turns the order around
571
+ }, function(err,result){
572
+ //result callback
573
+ } );
574
+ ```
575
+
576
+ ---------------------------------------
577
+
578
+ <a name="some" />
579
+ ### some(arr, iterator, [callback])
580
+
581
+ __Alias:__ `any`
582
+
583
+ Returns `true` if at least one element in the `arr` satisfies an async test.
584
+ _The callback for each iterator call only accepts a single argument of `true` or
585
+ `false`; it does not accept an error argument first!_ This is in-line with the
586
+ way node libraries work with truth tests like `fs.exists`. Once any iterator
587
+ call returns `true`, the main `callback` is immediately called.
588
+
589
+ __Arguments__
590
+
591
+ * `arr` - An array to iterate over.
592
+ * `iterator(item, callback)` - A truth test to apply to each item in the array
593
+ in parallel. The iterator is passed a `callback(truthValue)`` which must be
594
+ called with a boolean argument once it has completed.
595
+ * `callback(result)` - *Optional* A callback which is called as soon as any iterator returns
596
+ `true`, or after all the iterator functions have finished. Result will be
597
+ either `true` or `false` depending on the values of the async tests.
598
+
599
+ **Note: the callbacks do not take an error as their first argument.**
600
+ __Example__
601
+
602
+ ```js
603
+ async.some(['file1','file2','file3'], fs.exists, function(result){
604
+ // if result is true then at least one of the files exists
605
+ });
606
+ ```
607
+
608
+ __Related__
609
+
610
+ * someLimit(arr, limit, iterator, callback)
611
+
612
+ ---------------------------------------
613
+
614
+ <a name="every" />
615
+ ### every(arr, iterator, [callback])
616
+
617
+ __Alias:__ `all`
618
+
619
+ Returns `true` if every element in `arr` satisfies an async test.
620
+ _The callback for each `iterator` call only accepts a single argument of `true` or
621
+ `false`; it does not accept an error argument first!_ This is in-line with the
622
+ way node libraries work with truth tests like `fs.exists`.
623
+
624
+ __Arguments__
625
+
626
+ * `arr` - An array to iterate over.
627
+ * `iterator(item, callback)` - A truth test to apply to each item in the array
628
+ in parallel. The iterator is passed a `callback(truthValue)` which must be
629
+ called with a boolean argument once it has completed.
630
+ * `callback(result)` - *Optional* A callback which is called after all the `iterator`
631
+ functions have finished. Result will be either `true` or `false` depending on
632
+ the values of the async tests.
633
+
634
+ **Note: the callbacks do not take an error as their first argument.**
635
+
636
+ __Example__
637
+
638
+ ```js
639
+ async.every(['file1','file2','file3'], fs.exists, function(result){
640
+ // if result is true then every file exists
641
+ });
642
+ ```
643
+
644
+ __Related__
645
+
646
+ * everyLimit(arr, limit, iterator, callback)
647
+
648
+ ---------------------------------------
649
+
650
+ <a name="concat" />
651
+ ### concat(arr, iterator, [callback])
652
+
653
+ Applies `iterator` to each item in `arr`, concatenating the results. Returns the
654
+ concatenated list. The `iterator`s are called in parallel, and the results are
655
+ concatenated as they return. There is no guarantee that the results array will
656
+ be returned in the original order of `arr` passed to the `iterator` function.
657
+
658
+ __Arguments__
659
+
660
+ * `arr` - An array to iterate over.
661
+ * `iterator(item, callback)` - A function to apply to each item in `arr`.
662
+ The iterator is passed a `callback(err, results)` which must be called once it
663
+ has completed with an error (which can be `null`) and an array of results.
664
+ * `callback(err, results)` - *Optional* A callback which is called after all the `iterator`
665
+ functions have finished, or an error occurs. Results is an array containing
666
+ the concatenated results of the `iterator` function.
667
+
668
+ __Example__
669
+
670
+ ```js
671
+ async.concat(['dir1','dir2','dir3'], fs.readdir, function(err, files){
672
+ // files is now a list of filenames that exist in the 3 directories
673
+ });
674
+ ```
675
+
676
+ __Related__
677
+
678
+ * concatSeries(arr, iterator, [callback])
679
+
680
+
681
+ ## Control Flow
682
+
683
+ <a name="series" />
684
+ ### series(tasks, [callback])
685
+
686
+ Run the functions in the `tasks` array in series, each one running once the previous
687
+ function has completed. If any functions in the series pass an error to its
688
+ callback, no more functions are run, and `callback` is immediately called with the value of the error.
689
+ Otherwise, `callback` receives an array of results when `tasks` have completed.
690
+
691
+ It is also possible to use an object instead of an array. Each property will be
692
+ run as a function, and the results will be passed to the final `callback` as an object
693
+ instead of an array. This can be a more readable way of handling results from
694
+ [`series`](#series).
695
+
696
+ **Note** that while many implementations preserve the order of object properties, the
697
+ [ECMAScript Language Specifcation](http://www.ecma-international.org/ecma-262/5.1/#sec-8.6)
698
+ explicitly states that
699
+
700
+ > The mechanics and order of enumerating the properties is not specified.
701
+
702
+ So if you rely on the order in which your series of functions are executed, and want
703
+ this to work on all platforms, consider using an array.
704
+
705
+ __Arguments__
706
+
707
+ * `tasks` - An array or object containing functions to run, each function is passed
708
+ a `callback(err, result)` it must call on completion with an error `err` (which can
709
+ be `null`) and an optional `result` value.
710
+ * `callback(err, results)` - An optional callback to run once all the functions
711
+ have completed. This function gets a results array (or object) containing all
712
+ the result arguments passed to the `task` callbacks.
713
+
714
+ __Example__
715
+
716
+ ```js
717
+ async.series([
718
+ function(callback){
719
+ // do some stuff ...
720
+ callback(null, 'one');
721
+ },
722
+ function(callback){
723
+ // do some more stuff ...
724
+ callback(null, 'two');
725
+ }
726
+ ],
727
+ // optional callback
728
+ function(err, results){
729
+ // results is now equal to ['one', 'two']
730
+ });
731
+
732
+
733
+ // an example using an object instead of an array
734
+ async.series({
735
+ one: function(callback){
736
+ setTimeout(function(){
737
+ callback(null, 1);
738
+ }, 200);
739
+ },
740
+ two: function(callback){
741
+ setTimeout(function(){
742
+ callback(null, 2);
743
+ }, 100);
744
+ }
745
+ },
746
+ function(err, results) {
747
+ // results is now equal to: {one: 1, two: 2}
748
+ });
749
+ ```
750
+
751
+ ---------------------------------------
752
+
753
+ <a name="parallel" />
754
+ ### parallel(tasks, [callback])
755
+
756
+ Run the `tasks` array of functions in parallel, without waiting until the previous
757
+ function has completed. If any of the functions pass an error to its
758
+ callback, the main `callback` is immediately called with the value of the error.
759
+ Once the `tasks` have completed, the results are passed to the final `callback` as an
760
+ array.
761
+
762
+ **Note:** `parallel` is about kicking-off I/O tasks in parallel, not about parallel execution of code. If your tasks do not use any timers or perform any I/O, they will actually be executed in series. Any synchronous setup sections for each task will happen one after the other. JavaScript remains single-threaded.
763
+
764
+ It is also possible to use an object instead of an array. Each property will be
765
+ run as a function and the results will be passed to the final `callback` as an object
766
+ instead of an array. This can be a more readable way of handling results from
767
+ [`parallel`](#parallel).
768
+
769
+
770
+ __Arguments__
771
+
772
+ * `tasks` - An array or object containing functions to run. Each function is passed
773
+ a `callback(err, result)` which it must call on completion with an error `err`
774
+ (which can be `null`) and an optional `result` value.
775
+ * `callback(err, results)` - An optional callback to run once all the functions
776
+ have completed. This function gets a results array (or object) containing all
777
+ the result arguments passed to the task callbacks.
778
+
779
+ __Example__
780
+
781
+ ```js
782
+ async.parallel([
783
+ function(callback){
784
+ setTimeout(function(){
785
+ callback(null, 'one');
786
+ }, 200);
787
+ },
788
+ function(callback){
789
+ setTimeout(function(){
790
+ callback(null, 'two');
791
+ }, 100);
792
+ }
793
+ ],
794
+ // optional callback
795
+ function(err, results){
796
+ // the results array will equal ['one','two'] even though
797
+ // the second function had a shorter timeout.
798
+ });
799
+
800
+
801
+ // an example using an object instead of an array
802
+ async.parallel({
803
+ one: function(callback){
804
+ setTimeout(function(){
805
+ callback(null, 1);
806
+ }, 200);
807
+ },
808
+ two: function(callback){
809
+ setTimeout(function(){
810
+ callback(null, 2);
811
+ }, 100);
812
+ }
813
+ },
814
+ function(err, results) {
815
+ // results is now equals to: {one: 1, two: 2}
816
+ });
817
+ ```
818
+
819
+ __Related__
820
+
821
+ * parallelLimit(tasks, limit, [callback])
822
+
823
+ ---------------------------------------
824
+
825
+ <a name="whilst" />
826
+ ### whilst(test, fn, callback)
827
+
828
+ Repeatedly call `fn`, while `test` returns `true`. Calls `callback` when stopped,
829
+ or an error occurs.
830
+
831
+ __Arguments__
832
+
833
+ * `test()` - synchronous truth test to perform before each execution of `fn`.
834
+ * `fn(callback)` - A function which is called each time `test` passes. The function is
835
+ passed a `callback(err)`, which must be called once it has completed with an
836
+ optional `err` argument.
837
+ * `callback(err)` - A callback which is called after the test fails and repeated
838
+ execution of `fn` has stopped.
839
+
840
+ __Example__
841
+
842
+ ```js
843
+ var count = 0;
844
+
845
+ async.whilst(
846
+ function () { return count < 5; },
847
+ function (callback) {
848
+ count++;
849
+ setTimeout(callback, 1000);
850
+ },
851
+ function (err) {
852
+ // 5 seconds have passed
853
+ }
854
+ );
855
+ ```
856
+
857
+ ---------------------------------------
858
+
859
+ <a name="doWhilst" />
860
+ ### doWhilst(fn, test, callback)
861
+
862
+ The post-check version of [`whilst`](#whilst). To reflect the difference in
863
+ the order of operations, the arguments `test` and `fn` are switched.
864
+
865
+ `doWhilst` is to `whilst` as `do while` is to `while` in plain JavaScript.
866
+
867
+ ---------------------------------------
868
+
869
+ <a name="until" />
870
+ ### until(test, fn, callback)
871
+
872
+ Repeatedly call `fn` until `test` returns `true`. Calls `callback` when stopped,
873
+ or an error occurs.
874
+
875
+ The inverse of [`whilst`](#whilst).
876
+
877
+ ---------------------------------------
878
+
879
+ <a name="doUntil" />
880
+ ### doUntil(fn, test, callback)
881
+
882
+ Like [`doWhilst`](#doWhilst), except the `test` is inverted. Note the argument ordering differs from `until`.
883
+
884
+ ---------------------------------------
885
+
886
+ <a name="during" />
887
+ ### during(test, fn, callback)
888
+
889
+ Like [`whilst`](#whilst), except the `test` is an asynchronous function that is passed a callback in the form of `function (err, truth)`. If error is passed to `test` or `fn`, the main callback is immediately called with the value of the error.
890
+
891
+ __Example__
892
+
893
+ ```js
894
+ var count = 0;
895
+
896
+ async.during(
897
+ function (callback) {
898
+ return callback(null, count < 5);
899
+ },
900
+ function (callback) {
901
+ count++;
902
+ setTimeout(callback, 1000);
903
+ },
904
+ function (err) {
905
+ // 5 seconds have passed
906
+ }
907
+ );
908
+ ```
909
+
910
+ ---------------------------------------
911
+
912
+ <a name="doDuring" />
913
+ ### doDuring(fn, test, callback)
914
+
915
+ The post-check version of [`during`](#during). To reflect the difference in
916
+ the order of operations, the arguments `test` and `fn` are switched.
917
+
918
+ Also a version of [`doWhilst`](#doWhilst) with asynchronous `test` function.
919
+
920
+ ---------------------------------------
921
+
922
+ <a name="forever" />
923
+ ### forever(fn, [errback])
924
+
925
+ Calls the asynchronous function `fn` with a callback parameter that allows it to
926
+ call itself again, in series, indefinitely.
927
+
928
+ If an error is passed to the callback then `errback` is called with the
929
+ error, and execution stops, otherwise it will never be called.
930
+
931
+ ```js
932
+ async.forever(
933
+ function(next) {
934
+ // next is suitable for passing to things that need a callback(err [, whatever]);
935
+ // it will result in this function being called again.
936
+ },
937
+ function(err) {
938
+ // if next is called with a value in its first parameter, it will appear
939
+ // in here as 'err', and execution will stop.
940
+ }
941
+ );
942
+ ```
943
+
944
+ ---------------------------------------
945
+
946
+ <a name="waterfall" />
947
+ ### waterfall(tasks, [callback])
948
+
949
+ Runs the `tasks` array of functions in series, each passing their results to the next in
950
+ the array. However, if any of the `tasks` pass an error to their own callback, the
951
+ next function is not executed, and the main `callback` is immediately called with
952
+ the error.
953
+
954
+ __Arguments__
955
+
956
+ * `tasks` - An array of functions to run, each function is passed a
957
+ `callback(err, result1, result2, ...)` it must call on completion. The first
958
+ argument is an error (which can be `null`) and any further arguments will be
959
+ passed as arguments in order to the next task.
960
+ * `callback(err, [results])` - An optional callback to run once all the functions
961
+ have completed. This will be passed the results of the last task's callback.
962
+
963
+
964
+
965
+ __Example__
966
+
967
+ ```js
968
+ async.waterfall([
969
+ function(callback) {
970
+ callback(null, 'one', 'two');
971
+ },
972
+ function(arg1, arg2, callback) {
973
+ // arg1 now equals 'one' and arg2 now equals 'two'
974
+ callback(null, 'three');
975
+ },
976
+ function(arg1, callback) {
977
+ // arg1 now equals 'three'
978
+ callback(null, 'done');
979
+ }
980
+ ], function (err, result) {
981
+ // result now equals 'done'
982
+ });
983
+ ```
984
+
985
+ ---------------------------------------
986
+ <a name="compose" />
987
+ ### compose(fn1, fn2...)
988
+
989
+ Creates a function which is a composition of the passed asynchronous
990
+ functions. Each function consumes the return value of the function that
991
+ follows. Composing functions `f()`, `g()`, and `h()` would produce the result of
992
+ `f(g(h()))`, only this version uses callbacks to obtain the return values.
993
+
994
+ Each function is executed with the `this` binding of the composed function.
995
+
996
+ __Arguments__
997
+
998
+ * `functions...` - the asynchronous functions to compose
999
+
1000
+
1001
+ __Example__
1002
+
1003
+ ```js
1004
+ function add1(n, callback) {
1005
+ setTimeout(function () {
1006
+ callback(null, n + 1);
1007
+ }, 10);
1008
+ }
1009
+
1010
+ function mul3(n, callback) {
1011
+ setTimeout(function () {
1012
+ callback(null, n * 3);
1013
+ }, 10);
1014
+ }
1015
+
1016
+ var add1mul3 = async.compose(mul3, add1);
1017
+
1018
+ add1mul3(4, function (err, result) {
1019
+ // result now equals 15
1020
+ });
1021
+ ```
1022
+
1023
+ ---------------------------------------
1024
+ <a name="seq" />
1025
+ ### seq(fn1, fn2...)
1026
+
1027
+ Version of the compose function that is more natural to read.
1028
+ Each function consumes the return value of the previous function.
1029
+ It is the equivalent of [`compose`](#compose) with the arguments reversed.
1030
+
1031
+ Each function is executed with the `this` binding of the composed function.
1032
+
1033
+ __Arguments__
1034
+
1035
+ * `functions...` - the asynchronous functions to compose
1036
+
1037
+
1038
+ __Example__
1039
+
1040
+ ```js
1041
+ // Requires lodash (or underscore), express3 and dresende's orm2.
1042
+ // Part of an app, that fetches cats of the logged user.
1043
+ // This example uses `seq` function to avoid overnesting and error
1044
+ // handling clutter.
1045
+ app.get('/cats', function(request, response) {
1046
+ var User = request.models.User;
1047
+ async.seq(
1048
+ _.bind(User.get, User), // 'User.get' has signature (id, callback(err, data))
1049
+ function(user, fn) {
1050
+ user.getCats(fn); // 'getCats' has signature (callback(err, data))
1051
+ }
1052
+ )(req.session.user_id, function (err, cats) {
1053
+ if (err) {
1054
+ console.error(err);
1055
+ response.json({ status: 'error', message: err.message });
1056
+ } else {
1057
+ response.json({ status: 'ok', message: 'Cats found', data: cats });
1058
+ }
1059
+ });
1060
+ });
1061
+ ```
1062
+
1063
+ ---------------------------------------
1064
+ <a name="applyEach" />
1065
+ ### applyEach(fns, args..., callback)
1066
+
1067
+ Applies the provided arguments to each function in the array, calling
1068
+ `callback` after all functions have completed. If you only provide the first
1069
+ argument, then it will return a function which lets you pass in the
1070
+ arguments as if it were a single function call.
1071
+
1072
+ __Arguments__
1073
+
1074
+ * `fns` - the asynchronous functions to all call with the same arguments
1075
+ * `args...` - any number of separate arguments to pass to the function
1076
+ * `callback` - the final argument should be the callback, called when all
1077
+ functions have completed processing
1078
+
1079
+
1080
+ __Example__
1081
+
1082
+ ```js
1083
+ async.applyEach([enableSearch, updateSchema], 'bucket', callback);
1084
+
1085
+ // partial application example:
1086
+ async.each(
1087
+ buckets,
1088
+ async.applyEach([enableSearch, updateSchema]),
1089
+ callback
1090
+ );
1091
+ ```
1092
+
1093
+ __Related__
1094
+
1095
+ * applyEachSeries(tasks, args..., [callback])
1096
+
1097
+ ---------------------------------------
1098
+
1099
+ <a name="queue" />
1100
+ ### queue(worker, [concurrency])
1101
+
1102
+ Creates a `queue` object with the specified `concurrency`. Tasks added to the
1103
+ `queue` are processed in parallel (up to the `concurrency` limit). If all
1104
+ `worker`s are in progress, the task is queued until one becomes available.
1105
+ Once a `worker` completes a `task`, that `task`'s callback is called.
1106
+
1107
+ __Arguments__
1108
+
1109
+ * `worker(task, callback)` - An asynchronous function for processing a queued
1110
+ task, which must call its `callback(err)` argument when finished, with an
1111
+ optional `error` as an argument. If you want to handle errors from an individual task, pass a callback to `q.push()`.
1112
+ * `concurrency` - An `integer` for determining how many `worker` functions should be
1113
+ run in parallel. If omitted, the concurrency defaults to `1`. If the concurrency is `0`, an error is thrown.
1114
+
1115
+ __Queue objects__
1116
+
1117
+ The `queue` object returned by this function has the following properties and
1118
+ methods:
1119
+
1120
+ * `length()` - a function returning the number of items waiting to be processed.
1121
+ * `started` - a function returning whether or not any items have been pushed and processed by the queue
1122
+ * `running()` - a function returning the number of items currently being processed.
1123
+ * `idle()` - a function returning false if there are items waiting or being processed, or true if not.
1124
+ * `concurrency` - an integer for determining how many `worker` functions should be
1125
+ run in parallel. This property can be changed after a `queue` is created to
1126
+ alter the concurrency on-the-fly.
1127
+ * `push(task, [callback])` - add a new task to the `queue`. Calls `callback` once
1128
+ the `worker` has finished processing the task. Instead of a single task, a `tasks` array
1129
+ can be submitted. The respective callback is used for every task in the list.
1130
+ * `unshift(task, [callback])` - add a new task to the front of the `queue`.
1131
+ * `saturated` - a callback that is called when the `queue` length hits the `concurrency` limit,
1132
+ and further tasks will be queued.
1133
+ * `empty` - a callback that is called when the last item from the `queue` is given to a `worker`.
1134
+ * `drain` - a callback that is called when the last item from the `queue` has returned from the `worker`.
1135
+ * `paused` - a boolean for determining whether the queue is in a paused state
1136
+ * `pause()` - a function that pauses the processing of tasks until `resume()` is called.
1137
+ * `resume()` - a function that resumes the processing of queued tasks when the queue is paused.
1138
+ * `kill()` - a function that removes the `drain` callback and empties remaining tasks from the queue forcing it to go idle.
1139
+
1140
+ __Example__
1141
+
1142
+ ```js
1143
+ // create a queue object with concurrency 2
1144
+
1145
+ var q = async.queue(function (task, callback) {
1146
+ console.log('hello ' + task.name);
1147
+ callback();
1148
+ }, 2);
1149
+
1150
+
1151
+ // assign a callback
1152
+ q.drain = function() {
1153
+ console.log('all items have been processed');
1154
+ }
1155
+
1156
+ // add some items to the queue
1157
+
1158
+ q.push({name: 'foo'}, function (err) {
1159
+ console.log('finished processing foo');
1160
+ });
1161
+ q.push({name: 'bar'}, function (err) {
1162
+ console.log('finished processing bar');
1163
+ });
1164
+
1165
+ // add some items to the queue (batch-wise)
1166
+
1167
+ q.push([{name: 'baz'},{name: 'bay'},{name: 'bax'}], function (err) {
1168
+ console.log('finished processing item');
1169
+ });
1170
+
1171
+ // add some items to the front of the queue
1172
+
1173
+ q.unshift({name: 'bar'}, function (err) {
1174
+ console.log('finished processing bar');
1175
+ });
1176
+ ```
1177
+
1178
+
1179
+ ---------------------------------------
1180
+
1181
+ <a name="priorityQueue" />
1182
+ ### priorityQueue(worker, concurrency)
1183
+
1184
+ The same as [`queue`](#queue) only tasks are assigned a priority and completed in ascending priority order. There are two differences between `queue` and `priorityQueue` objects:
1185
+
1186
+ * `push(task, priority, [callback])` - `priority` should be a number. If an array of
1187
+ `tasks` is given, all tasks will be assigned the same priority.
1188
+ * The `unshift` method was removed.
1189
+
1190
+ ---------------------------------------
1191
+
1192
+ <a name="cargo" />
1193
+ ### cargo(worker, [payload])
1194
+
1195
+ Creates a `cargo` object with the specified payload. Tasks added to the
1196
+ cargo will be processed altogether (up to the `payload` limit). If the
1197
+ `worker` is in progress, the task is queued until it becomes available. Once
1198
+ the `worker` has completed some tasks, each callback of those tasks is called.
1199
+ Check out [these](https://camo.githubusercontent.com/6bbd36f4cf5b35a0f11a96dcd2e97711ffc2fb37/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313637363837312f36383130382f62626330636662302d356632392d313165322d393734662d3333393763363464633835382e676966) [animations](https://camo.githubusercontent.com/f4810e00e1c5f5f8addbe3e9f49064fd5d102699/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313637363837312f36383130312f38346339323036362d356632392d313165322d383134662d3964336430323431336266642e676966) for how `cargo` and `queue` work.
1200
+
1201
+ While [queue](#queue) passes only one task to one of a group of workers
1202
+ at a time, cargo passes an array of tasks to a single worker, repeating
1203
+ when the worker is finished.
1204
+
1205
+ __Arguments__
1206
+
1207
+ * `worker(tasks, callback)` - An asynchronous function for processing an array of
1208
+ queued tasks, which must call its `callback(err)` argument when finished, with
1209
+ an optional `err` argument.
1210
+ * `payload` - An optional `integer` for determining how many tasks should be
1211
+ processed per round; if omitted, the default is unlimited.
1212
+
1213
+ __Cargo objects__
1214
+
1215
+ The `cargo` object returned by this function has the following properties and
1216
+ methods:
1217
+
1218
+ * `length()` - A function returning the number of items waiting to be processed.
1219
+ * `payload` - An `integer` for determining how many tasks should be
1220
+ process per round. This property can be changed after a `cargo` is created to
1221
+ alter the payload on-the-fly.
1222
+ * `push(task, [callback])` - Adds `task` to the `queue`. The callback is called
1223
+ once the `worker` has finished processing the task. Instead of a single task, an array of `tasks`
1224
+ can be submitted. The respective callback is used for every task in the list.
1225
+ * `saturated` - A callback that is called when the `queue.length()` hits the concurrency and further tasks will be queued.
1226
+ * `empty` - A callback that is called when the last item from the `queue` is given to a `worker`.
1227
+ * `drain` - A callback that is called when the last item from the `queue` has returned from the `worker`.
1228
+ * `idle()`, `pause()`, `resume()`, `kill()` - cargo inherits all of the same methods and event calbacks as [`queue`](#queue)
1229
+
1230
+ __Example__
1231
+
1232
+ ```js
1233
+ // create a cargo object with payload 2
1234
+
1235
+ var cargo = async.cargo(function (tasks, callback) {
1236
+ for(var i=0; i<tasks.length; i++){
1237
+ console.log('hello ' + tasks[i].name);
1238
+ }
1239
+ callback();
1240
+ }, 2);
1241
+
1242
+
1243
+ // add some items
1244
+
1245
+ cargo.push({name: 'foo'}, function (err) {
1246
+ console.log('finished processing foo');
1247
+ });
1248
+ cargo.push({name: 'bar'}, function (err) {
1249
+ console.log('finished processing bar');
1250
+ });
1251
+ cargo.push({name: 'baz'}, function (err) {
1252
+ console.log('finished processing baz');
1253
+ });
1254
+ ```
1255
+
1256
+ ---------------------------------------
1257
+
1258
+ <a name="auto" />
1259
+ ### auto(tasks, [callback])
1260
+
1261
+ Determines the best order for running the functions in `tasks`, based on their requirements. Each function can optionally depend on other functions being completed first, and each function is run as soon as its requirements are satisfied.
1262
+
1263
+ If any of the functions pass an error to their callback, the `auto` sequence will stop. Further tasks will not execute (so any other functions depending on it will not run), and the main `callback` is immediately called with the error. Functions also receive an object containing the results of functions which have completed so far.
1264
+
1265
+ Note, all functions are called with a `results` object as a second argument,
1266
+ so it is unsafe to pass functions in the `tasks` object which cannot handle the
1267
+ extra argument.
1268
+
1269
+ For example, this snippet of code:
1270
+
1271
+ ```js
1272
+ async.auto({
1273
+ readData: async.apply(fs.readFile, 'data.txt', 'utf-8')
1274
+ }, callback);
1275
+ ```
1276
+
1277
+ will have the effect of calling `readFile` with the results object as the last
1278
+ argument, which will fail:
1279
+
1280
+ ```js
1281
+ fs.readFile('data.txt', 'utf-8', cb, {});
1282
+ ```
1283
+
1284
+ Instead, wrap the call to `readFile` in a function which does not forward the
1285
+ `results` object:
1286
+
1287
+ ```js
1288
+ async.auto({
1289
+ readData: function(cb, results){
1290
+ fs.readFile('data.txt', 'utf-8', cb);
1291
+ }
1292
+ }, callback);
1293
+ ```
1294
+
1295
+ __Arguments__
1296
+
1297
+ * `tasks` - An object. Each of its properties is either a function or an array of
1298
+ requirements, with the function itself the last item in the array. The object's key
1299
+ of a property serves as the name of the task defined by that property,
1300
+ i.e. can be used when specifying requirements for other tasks.
1301
+ The function receives two arguments: (1) a `callback(err, result)` which must be
1302
+ called when finished, passing an `error` (which can be `null`) and the result of
1303
+ the function's execution, and (2) a `results` object, containing the results of
1304
+ the previously executed functions.
1305
+ * `callback(err, results)` - An optional callback which is called when all the
1306
+ tasks have been completed. It receives the `err` argument if any `tasks`
1307
+ pass an error to their callback. Results are always returned; however, if
1308
+ an error occurs, no further `tasks` will be performed, and the results
1309
+ object will only contain partial results.
1310
+
1311
+
1312
+ __Example__
1313
+
1314
+ ```js
1315
+ async.auto({
1316
+ get_data: function(callback){
1317
+ console.log('in get_data');
1318
+ // async code to get some data
1319
+ callback(null, 'data', 'converted to array');
1320
+ },
1321
+ make_folder: function(callback){
1322
+ console.log('in make_folder');
1323
+ // async code to create a directory to store a file in
1324
+ // this is run at the same time as getting the data
1325
+ callback(null, 'folder');
1326
+ },
1327
+ write_file: ['get_data', 'make_folder', function(callback, results){
1328
+ console.log('in write_file', JSON.stringify(results));
1329
+ // once there is some data and the directory exists,
1330
+ // write the data to a file in the directory
1331
+ callback(null, 'filename');
1332
+ }],
1333
+ email_link: ['write_file', function(callback, results){
1334
+ console.log('in email_link', JSON.stringify(results));
1335
+ // once the file is written let's email a link to it...
1336
+ // results.write_file contains the filename returned by write_file.
1337
+ callback(null, {'file':results.write_file, 'email':'user@example.com'});
1338
+ }]
1339
+ }, function(err, results) {
1340
+ console.log('err = ', err);
1341
+ console.log('results = ', results);
1342
+ });
1343
+ ```
1344
+
1345
+ This is a fairly trivial example, but to do this using the basic parallel and
1346
+ series functions would look like this:
1347
+
1348
+ ```js
1349
+ async.parallel([
1350
+ function(callback){
1351
+ console.log('in get_data');
1352
+ // async code to get some data
1353
+ callback(null, 'data', 'converted to array');
1354
+ },
1355
+ function(callback){
1356
+ console.log('in make_folder');
1357
+ // async code to create a directory to store a file in
1358
+ // this is run at the same time as getting the data
1359
+ callback(null, 'folder');
1360
+ }
1361
+ ],
1362
+ function(err, results){
1363
+ async.series([
1364
+ function(callback){
1365
+ console.log('in write_file', JSON.stringify(results));
1366
+ // once there is some data and the directory exists,
1367
+ // write the data to a file in the directory
1368
+ results.push('filename');
1369
+ callback(null);
1370
+ },
1371
+ function(callback){
1372
+ console.log('in email_link', JSON.stringify(results));
1373
+ // once the file is written let's email a link to it...
1374
+ callback(null, {'file':results.pop(), 'email':'user@example.com'});
1375
+ }
1376
+ ]);
1377
+ });
1378
+ ```
1379
+
1380
+ For a complicated series of `async` tasks, using the [`auto`](#auto) function makes adding
1381
+ new tasks much easier (and the code more readable).
1382
+
1383
+
1384
+ ---------------------------------------
1385
+
1386
+ <a name="retry" />
1387
+ ### retry([opts = {times: 5, interval: 0}| 5], task, [callback])
1388
+
1389
+ Attempts to get a successful response from `task` no more than `times` times before
1390
+ returning an error. If the task is successful, the `callback` will be passed the result
1391
+ of the successful task. If all attempts fail, the callback will be passed the error and
1392
+ result (if any) of the final attempt.
1393
+
1394
+ __Arguments__
1395
+
1396
+ * `opts` - Can be either an object with `times` and `interval` or a number. `times` is how many attempts should be made before giving up. `interval` is how long to wait inbetween attempts. Defaults to {times: 5, interval: 0}
1397
+ * if a number is passed in it sets `times` only (with `interval` defaulting to 0).
1398
+ * `task(callback, results)` - A function which receives two arguments: (1) a `callback(err, result)`
1399
+ which must be called when finished, passing `err` (which can be `null`) and the `result` of
1400
+ the function's execution, and (2) a `results` object, containing the results of
1401
+ the previously executed functions (if nested inside another control flow).
1402
+ * `callback(err, results)` - An optional callback which is called when the
1403
+ task has succeeded, or after the final failed attempt. It receives the `err` and `result` arguments of the last attempt at completing the `task`.
1404
+
1405
+ The [`retry`](#retry) function can be used as a stand-alone control flow by passing a
1406
+ callback, as shown below:
1407
+
1408
+ ```js
1409
+ async.retry(3, apiMethod, function(err, result) {
1410
+ // do something with the result
1411
+ });
1412
+ ```
1413
+
1414
+ ```js
1415
+ async.retry({times: 3, interval: 200}, apiMethod, function(err, result) {
1416
+ // do something with the result
1417
+ });
1418
+ ```
1419
+
1420
+ It can also be embeded within other control flow functions to retry individual methods
1421
+ that are not as reliable, like this:
1422
+
1423
+ ```js
1424
+ async.auto({
1425
+ users: api.getUsers.bind(api),
1426
+ payments: async.retry(3, api.getPayments.bind(api))
1427
+ }, function(err, results) {
1428
+ // do something with the results
1429
+ });
1430
+ ```
1431
+
1432
+
1433
+ ---------------------------------------
1434
+
1435
+ <a name="iterator" />
1436
+ ### iterator(tasks)
1437
+
1438
+ Creates an iterator function which calls the next function in the `tasks` array,
1439
+ returning a continuation to call the next one after that. It's also possible to
1440
+ “peek” at the next iterator with `iterator.next()`.
1441
+
1442
+ This function is used internally by the `async` module, but can be useful when
1443
+ you want to manually control the flow of functions in series.
1444
+
1445
+ __Arguments__
1446
+
1447
+ * `tasks` - An array of functions to run.
1448
+
1449
+ __Example__
1450
+
1451
+ ```js
1452
+ var iterator = async.iterator([
1453
+ function(){ sys.p('one'); },
1454
+ function(){ sys.p('two'); },
1455
+ function(){ sys.p('three'); }
1456
+ ]);
1457
+
1458
+ node> var iterator2 = iterator();
1459
+ 'one'
1460
+ node> var iterator3 = iterator2();
1461
+ 'two'
1462
+ node> iterator3();
1463
+ 'three'
1464
+ node> var nextfn = iterator2.next();
1465
+ node> nextfn();
1466
+ 'three'
1467
+ ```
1468
+
1469
+ ---------------------------------------
1470
+
1471
+ <a name="apply" />
1472
+ ### apply(function, arguments..)
1473
+
1474
+ Creates a continuation function with some arguments already applied.
1475
+
1476
+ Useful as a shorthand when combined with other control flow functions. Any arguments
1477
+ passed to the returned function are added to the arguments originally passed
1478
+ to apply.
1479
+
1480
+ __Arguments__
1481
+
1482
+ * `function` - The function you want to eventually apply all arguments to.
1483
+ * `arguments...` - Any number of arguments to automatically apply when the
1484
+ continuation is called.
1485
+
1486
+ __Example__
1487
+
1488
+ ```js
1489
+ // using apply
1490
+
1491
+ async.parallel([
1492
+ async.apply(fs.writeFile, 'testfile1', 'test1'),
1493
+ async.apply(fs.writeFile, 'testfile2', 'test2'),
1494
+ ]);
1495
+
1496
+
1497
+ // the same process without using apply
1498
+
1499
+ async.parallel([
1500
+ function(callback){
1501
+ fs.writeFile('testfile1', 'test1', callback);
1502
+ },
1503
+ function(callback){
1504
+ fs.writeFile('testfile2', 'test2', callback);
1505
+ }
1506
+ ]);
1507
+ ```
1508
+
1509
+ It's possible to pass any number of additional arguments when calling the
1510
+ continuation:
1511
+
1512
+ ```js
1513
+ node> var fn = async.apply(sys.puts, 'one');
1514
+ node> fn('two', 'three');
1515
+ one
1516
+ two
1517
+ three
1518
+ ```
1519
+
1520
+ ---------------------------------------
1521
+
1522
+ <a name="nextTick" />
1523
+ ### nextTick(callback), setImmediate(callback)
1524
+
1525
+ Calls `callback` on a later loop around the event loop. In Node.js this just
1526
+ calls `process.nextTick`; in the browser it falls back to `setImmediate(callback)`
1527
+ if available, otherwise `setTimeout(callback, 0)`, which means other higher priority
1528
+ events may precede the execution of `callback`.
1529
+
1530
+ This is used internally for browser-compatibility purposes.
1531
+
1532
+ __Arguments__
1533
+
1534
+ * `callback` - The function to call on a later loop around the event loop.
1535
+
1536
+ __Example__
1537
+
1538
+ ```js
1539
+ var call_order = [];
1540
+ async.nextTick(function(){
1541
+ call_order.push('two');
1542
+ // call_order now equals ['one','two']
1543
+ });
1544
+ call_order.push('one')
1545
+ ```
1546
+
1547
+ <a name="times" />
1548
+ ### times(n, iterator, [callback])
1549
+
1550
+ Calls the `iterator` function `n` times, and accumulates results in the same manner
1551
+ you would use with [`map`](#map).
1552
+
1553
+ __Arguments__
1554
+
1555
+ * `n` - The number of times to run the function.
1556
+ * `iterator` - The function to call `n` times.
1557
+ * `callback` - see [`map`](#map)
1558
+
1559
+ __Example__
1560
+
1561
+ ```js
1562
+ // Pretend this is some complicated async factory
1563
+ var createUser = function(id, callback) {
1564
+ callback(null, {
1565
+ id: 'user' + id
1566
+ })
1567
+ }
1568
+ // generate 5 users
1569
+ async.times(5, function(n, next){
1570
+ createUser(n, function(err, user) {
1571
+ next(err, user)
1572
+ })
1573
+ }, function(err, users) {
1574
+ // we should now have 5 users
1575
+ });
1576
+ ```
1577
+
1578
+ __Related__
1579
+
1580
+ * timesSeries(n, iterator, [callback])
1581
+ * timesLimit(n, limit, iterator, [callback])
1582
+
1583
+
1584
+ ## Utils
1585
+
1586
+ <a name="memoize" />
1587
+ ### memoize(fn, [hasher])
1588
+
1589
+ Caches the results of an `async` function. When creating a hash to store function
1590
+ results against, the callback is omitted from the hash and an optional hash
1591
+ function can be used.
1592
+
1593
+ If no hash function is specified, the first argument is used as a hash key, which may work reasonably if it is a string or a data type that converts to a distinct string. Note that objects and arrays will not behave reasonably. Neither will cases where the other arguments are significant. In such cases, specify your own hash function.
1594
+
1595
+ The cache of results is exposed as the `memo` property of the function returned
1596
+ by `memoize`.
1597
+
1598
+ __Arguments__
1599
+
1600
+ * `fn` - The function to proxy and cache results from.
1601
+ * `hasher` - An optional function for generating a custom hash for storing
1602
+ results. It has all the arguments applied to it apart from the callback, and
1603
+ must be synchronous.
1604
+
1605
+ __Example__
1606
+
1607
+ ```js
1608
+ var slow_fn = function (name, callback) {
1609
+ // do something
1610
+ callback(null, result);
1611
+ };
1612
+ var fn = async.memoize(slow_fn);
1613
+
1614
+ // fn can now be used as if it were slow_fn
1615
+ fn('some name', function () {
1616
+ // callback
1617
+ });
1618
+ ```
1619
+
1620
+ <a name="unmemoize" />
1621
+ ### unmemoize(fn)
1622
+
1623
+ Undoes a [`memoize`](#memoize)d function, reverting it to the original, unmemoized
1624
+ form. Handy for testing.
1625
+
1626
+ __Arguments__
1627
+
1628
+ * `fn` - the memoized function
1629
+
1630
+ ---------------------------------------
1631
+
1632
+ <a name="ensureAsync" />
1633
+ ### ensureAsync(fn)
1634
+
1635
+ Wrap an async function and ensure it calls its callback on a later tick of the event loop. If the function already calls its callback on a next tick, no extra deferral is added. This is useful for preventing stack overflows (`RangeError: Maximum call stack size exceeded`) and generally keeping [Zalgo](http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony) contained.
1636
+
1637
+ __Arguments__
1638
+
1639
+ * `fn` - an async function, one that expects a node-style callback as its last argument
1640
+
1641
+ Returns a wrapped function with the exact same call signature as the function passed in.
1642
+
1643
+ __Example__
1644
+
1645
+ ```js
1646
+ function sometimesAsync(arg, callback) {
1647
+ if (cache[arg]) {
1648
+ return callback(null, cache[arg]); // this would be synchronous!!
1649
+ } else {
1650
+ doSomeIO(arg, callback); // this IO would be asynchronous
1651
+ }
1652
+ }
1653
+
1654
+ // this has a risk of stack overflows if many results are cached in a row
1655
+ async.mapSeries(args, sometimesAsync, done);
1656
+
1657
+ // this will defer sometimesAsync's callback if necessary,
1658
+ // preventing stack overflows
1659
+ async.mapSeries(args, async.ensureAsync(sometimesAsync), done);
1660
+
1661
+ ```
1662
+
1663
+ ---------------------------------------
1664
+
1665
+ <a name="constant">
1666
+ ### constant(values...)
1667
+
1668
+ Returns a function that when called, calls-back with the values provided. Useful as the first function in a `waterfall`, or for plugging values in to `auto`.
1669
+
1670
+ __Example__
1671
+
1672
+ ```js
1673
+ async.waterfall([
1674
+ async.constant(42),
1675
+ function (value, next) {
1676
+ // value === 42
1677
+ },
1678
+ //...
1679
+ ], callback);
1680
+
1681
+ async.waterfall([
1682
+ async.constant(filename, "utf8"),
1683
+ fs.readFile,
1684
+ function (fileData, next) {
1685
+ //...
1686
+ }
1687
+ //...
1688
+ ], callback);
1689
+
1690
+ async.auto({
1691
+ hostname: async.constant("https://server.net/"),
1692
+ port: findFreePort,
1693
+ launchServer: ["hostname", "port", function (cb, options) {
1694
+ startServer(options, cb);
1695
+ }],
1696
+ //...
1697
+ }, callback);
1698
+
1699
+ ```
1700
+
1701
+ ---------------------------------------
1702
+
1703
+ <a name="asyncify">
1704
+ <a name="wrapSync">
1705
+ ### asyncify(func)
1706
+
1707
+ __Alias:__ `wrapSync`
1708
+
1709
+ Take a sync function and make it async, passing its return value to a callback. This is useful for plugging sync functions into a waterfall, series, or other async functions. Any arguments passed to the generated function will be passed to the wrapped function (except for the final callback argument). Errors thrown will be passed to the callback.
1710
+
1711
+ __Example__
1712
+
1713
+ ```js
1714
+ async.waterfall([
1715
+ async.apply(fs.readFile, filename, "utf8"),
1716
+ async.asyncify(JSON.parse),
1717
+ function (data, next) {
1718
+ // data is the result of parsing the text.
1719
+ // If there was a parsing error, it would have been caught.
1720
+ }
1721
+ ], callback)
1722
+ ```
1723
+
1724
+ ---------------------------------------
1725
+
1726
+ <a name="log" />
1727
+ ### log(function, arguments)
1728
+
1729
+ Logs the result of an `async` function to the `console`. Only works in Node.js or
1730
+ in browsers that support `console.log` and `console.error` (such as FF and Chrome).
1731
+ If multiple arguments are returned from the async function, `console.log` is
1732
+ called on each argument in order.
1733
+
1734
+ __Arguments__
1735
+
1736
+ * `function` - The function you want to eventually apply all arguments to.
1737
+ * `arguments...` - Any number of arguments to apply to the function.
1738
+
1739
+ __Example__
1740
+
1741
+ ```js
1742
+ var hello = function(name, callback){
1743
+ setTimeout(function(){
1744
+ callback(null, 'hello ' + name);
1745
+ }, 1000);
1746
+ };
1747
+ ```
1748
+ ```js
1749
+ node> async.log(hello, 'world');
1750
+ 'hello world'
1751
+ ```
1752
+
1753
+ ---------------------------------------
1754
+
1755
+ <a name="dir" />
1756
+ ### dir(function, arguments)
1757
+
1758
+ Logs the result of an `async` function to the `console` using `console.dir` to
1759
+ display the properties of the resulting object. Only works in Node.js or
1760
+ in browsers that support `console.dir` and `console.error` (such as FF and Chrome).
1761
+ If multiple arguments are returned from the async function, `console.dir` is
1762
+ called on each argument in order.
1763
+
1764
+ __Arguments__
1765
+
1766
+ * `function` - The function you want to eventually apply all arguments to.
1767
+ * `arguments...` - Any number of arguments to apply to the function.
1768
+
1769
+ __Example__
1770
+
1771
+ ```js
1772
+ var hello = function(name, callback){
1773
+ setTimeout(function(){
1774
+ callback(null, {hello: name});
1775
+ }, 1000);
1776
+ };
1777
+ ```
1778
+ ```js
1779
+ node> async.dir(hello, 'world');
1780
+ {hello: 'world'}
1781
+ ```
1782
+
1783
+ ---------------------------------------
1784
+
1785
+ <a name="noConflict" />
1786
+ ### noConflict()
1787
+
1788
+ Changes the value of `async` back to its original value, returning a reference to the
1789
+ `async` object.