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,1651 @@
1
+ # Stream
2
+
3
+ Stability: 2 - Stable
4
+
5
+ A stream is an abstract interface implemented by various objects in
6
+ io.js. For example a [request to an HTTP
7
+ server](https://iojs.org/dist/v2.3.0/doc/api/http.html#http_http_incomingmessage) is a stream, as is
8
+ [stdout][]. Streams are readable, writable, or both. All streams are
9
+ instances of [EventEmitter][]
10
+
11
+ You can load the Stream base classes by doing `require('stream')`.
12
+ There are base classes provided for [Readable][] streams, [Writable][]
13
+ streams, [Duplex][] streams, and [Transform][] streams.
14
+
15
+ This document is split up into 3 sections. The first explains the
16
+ parts of the API that you need to be aware of to use streams in your
17
+ programs. If you never implement a streaming API yourself, you can
18
+ stop there.
19
+
20
+ The second section explains the parts of the API that you need to use
21
+ if you implement your own custom streams yourself. The API is
22
+ designed to make this easy for you to do.
23
+
24
+ The third section goes into more depth about how streams work,
25
+ including some of the internal mechanisms and functions that you
26
+ should probably not modify unless you definitely know what you are
27
+ doing.
28
+
29
+
30
+ ## API for Stream Consumers
31
+
32
+ <!--type=misc-->
33
+
34
+ Streams can be either [Readable][], [Writable][], or both ([Duplex][]).
35
+
36
+ All streams are EventEmitters, but they also have other custom methods
37
+ and properties depending on whether they are Readable, Writable, or
38
+ Duplex.
39
+
40
+ If a stream is both Readable and Writable, then it implements all of
41
+ the methods and events below. So, a [Duplex][] or [Transform][] stream is
42
+ fully described by this API, though their implementation may be
43
+ somewhat different.
44
+
45
+ It is not necessary to implement Stream interfaces in order to consume
46
+ streams in your programs. If you **are** implementing streaming
47
+ interfaces in your own program, please also refer to
48
+ [API for Stream Implementors][] below.
49
+
50
+ Almost all io.js programs, no matter how simple, use Streams in some
51
+ way. Here is an example of using Streams in an io.js program:
52
+
53
+ ```javascript
54
+ var http = require('http');
55
+
56
+ var server = http.createServer(function (req, res) {
57
+ // req is an http.IncomingMessage, which is a Readable Stream
58
+ // res is an http.ServerResponse, which is a Writable Stream
59
+
60
+ var body = '';
61
+ // we want to get the data as utf8 strings
62
+ // If you don't set an encoding, then you'll get Buffer objects
63
+ req.setEncoding('utf8');
64
+
65
+ // Readable streams emit 'data' events once a listener is added
66
+ req.on('data', function (chunk) {
67
+ body += chunk;
68
+ });
69
+
70
+ // the end event tells you that you have entire body
71
+ req.on('end', function () {
72
+ try {
73
+ var data = JSON.parse(body);
74
+ } catch (er) {
75
+ // uh oh! bad json!
76
+ res.statusCode = 400;
77
+ return res.end('error: ' + er.message);
78
+ }
79
+
80
+ // write back something interesting to the user:
81
+ res.write(typeof data);
82
+ res.end();
83
+ });
84
+ });
85
+
86
+ server.listen(1337);
87
+
88
+ // $ curl localhost:1337 -d '{}'
89
+ // object
90
+ // $ curl localhost:1337 -d '"foo"'
91
+ // string
92
+ // $ curl localhost:1337 -d 'not json'
93
+ // error: Unexpected token o
94
+ ```
95
+
96
+ ### Class: stream.Readable
97
+
98
+ <!--type=class-->
99
+
100
+ The Readable stream interface is the abstraction for a *source* of
101
+ data that you are reading from. In other words, data comes *out* of a
102
+ Readable stream.
103
+
104
+ A Readable stream will not start emitting data until you indicate that
105
+ you are ready to receive it.
106
+
107
+ Readable streams have two "modes": a **flowing mode** and a **paused
108
+ mode**. When in flowing mode, data is read from the underlying system
109
+ and provided to your program as fast as possible. In paused mode, you
110
+ must explicitly call `stream.read()` to get chunks of data out.
111
+ Streams start out in paused mode.
112
+
113
+ **Note**: If no data event handlers are attached, and there are no
114
+ [`pipe()`][] destinations, and the stream is switched into flowing
115
+ mode, then data will be lost.
116
+
117
+ You can switch to flowing mode by doing any of the following:
118
+
119
+ * Adding a [`'data'` event][] handler to listen for data.
120
+ * Calling the [`resume()`][] method to explicitly open the flow.
121
+ * Calling the [`pipe()`][] method to send the data to a [Writable][].
122
+
123
+ You can switch back to paused mode by doing either of the following:
124
+
125
+ * If there are no pipe destinations, by calling the [`pause()`][]
126
+ method.
127
+ * If there are pipe destinations, by removing any [`'data'` event][]
128
+ handlers, and removing all pipe destinations by calling the
129
+ [`unpipe()`][] method.
130
+
131
+ Note that, for backwards compatibility reasons, removing `'data'`
132
+ event handlers will **not** automatically pause the stream. Also, if
133
+ there are piped destinations, then calling `pause()` will not
134
+ guarantee that the stream will *remain* paused once those
135
+ destinations drain and ask for more data.
136
+
137
+ Examples of readable streams include:
138
+
139
+ * [http responses, on the client](https://iojs.org/dist/v2.3.0/doc/api/http.html#http_http_incomingmessage)
140
+ * [http requests, on the server](https://iojs.org/dist/v2.3.0/doc/api/http.html#http_http_incomingmessage)
141
+ * [fs read streams](https://iojs.org/dist/v2.3.0/doc/api/fs.html#fs_class_fs_readstream)
142
+ * [zlib streams][]
143
+ * [crypto streams][]
144
+ * [tcp sockets][]
145
+ * [child process stdout and stderr][]
146
+ * [process.stdin][]
147
+
148
+ #### Event: 'readable'
149
+
150
+ When a chunk of data can be read from the stream, it will emit a
151
+ `'readable'` event.
152
+
153
+ In some cases, listening for a `'readable'` event will cause some data
154
+ to be read into the internal buffer from the underlying system, if it
155
+ hadn't already.
156
+
157
+ ```javascript
158
+ var readable = getReadableStreamSomehow();
159
+ readable.on('readable', function() {
160
+ // there is some data to read now
161
+ });
162
+ ```
163
+
164
+ Once the internal buffer is drained, a `readable` event will fire
165
+ again when more data is available.
166
+
167
+ #### Event: 'data'
168
+
169
+ * `chunk` {Buffer | String} The chunk of data.
170
+
171
+ Attaching a `data` event listener to a stream that has not been
172
+ explicitly paused will switch the stream into flowing mode. Data will
173
+ then be passed as soon as it is available.
174
+
175
+ If you just want to get all the data out of the stream as fast as
176
+ possible, this is the best way to do so.
177
+
178
+ ```javascript
179
+ var readable = getReadableStreamSomehow();
180
+ readable.on('data', function(chunk) {
181
+ console.log('got %d bytes of data', chunk.length);
182
+ });
183
+ ```
184
+
185
+ #### Event: 'end'
186
+
187
+ This event fires when there will be no more data to read.
188
+
189
+ Note that the `end` event **will not fire** unless the data is
190
+ completely consumed. This can be done by switching into flowing mode,
191
+ or by calling `read()` repeatedly until you get to the end.
192
+
193
+ ```javascript
194
+ var readable = getReadableStreamSomehow();
195
+ readable.on('data', function(chunk) {
196
+ console.log('got %d bytes of data', chunk.length);
197
+ });
198
+ readable.on('end', function() {
199
+ console.log('there will be no more data.');
200
+ });
201
+ ```
202
+
203
+ #### Event: 'close'
204
+
205
+ Emitted when the underlying resource (for example, the backing file
206
+ descriptor) has been closed. Not all streams will emit this.
207
+
208
+ #### Event: 'error'
209
+
210
+ * {Error Object}
211
+
212
+ Emitted if there was an error receiving data.
213
+
214
+ #### readable.read([size])
215
+
216
+ * `size` {Number} Optional argument to specify how much data to read.
217
+ * Return {String | Buffer | null}
218
+
219
+ The `read()` method pulls some data out of the internal buffer and
220
+ returns it. If there is no data available, then it will return
221
+ `null`.
222
+
223
+ If you pass in a `size` argument, then it will return that many
224
+ bytes. If `size` bytes are not available, then it will return `null`.
225
+
226
+ If you do not specify a `size` argument, then it will return all the
227
+ data in the internal buffer.
228
+
229
+ This method should only be called in paused mode. In flowing mode,
230
+ this method is called automatically until the internal buffer is
231
+ drained.
232
+
233
+ ```javascript
234
+ var readable = getReadableStreamSomehow();
235
+ readable.on('readable', function() {
236
+ var chunk;
237
+ while (null !== (chunk = readable.read())) {
238
+ console.log('got %d bytes of data', chunk.length);
239
+ }
240
+ });
241
+ ```
242
+
243
+ If this method returns a data chunk, then it will also trigger the
244
+ emission of a [`'data'` event][].
245
+
246
+ #### readable.setEncoding(encoding)
247
+
248
+ * `encoding` {String} The encoding to use.
249
+ * Return: `this`
250
+
251
+ Call this function to cause the stream to return strings of the
252
+ specified encoding instead of Buffer objects. For example, if you do
253
+ `readable.setEncoding('utf8')`, then the output data will be
254
+ interpreted as UTF-8 data, and returned as strings. If you do
255
+ `readable.setEncoding('hex')`, then the data will be encoded in
256
+ hexadecimal string format.
257
+
258
+ This properly handles multi-byte characters that would otherwise be
259
+ potentially mangled if you simply pulled the Buffers directly and
260
+ called `buf.toString(encoding)` on them. If you want to read the data
261
+ as strings, always use this method.
262
+
263
+ ```javascript
264
+ var readable = getReadableStreamSomehow();
265
+ readable.setEncoding('utf8');
266
+ readable.on('data', function(chunk) {
267
+ assert.equal(typeof chunk, 'string');
268
+ console.log('got %d characters of string data', chunk.length);
269
+ });
270
+ ```
271
+
272
+ #### readable.resume()
273
+
274
+ * Return: `this`
275
+
276
+ This method will cause the readable stream to resume emitting `data`
277
+ events.
278
+
279
+ This method will switch the stream into flowing mode. If you do *not*
280
+ want to consume the data from a stream, but you *do* want to get to
281
+ its `end` event, you can call [`readable.resume()`][] to open the flow of
282
+ data.
283
+
284
+ ```javascript
285
+ var readable = getReadableStreamSomehow();
286
+ readable.resume();
287
+ readable.on('end', function() {
288
+ console.log('got to the end, but did not read anything');
289
+ });
290
+ ```
291
+
292
+ #### readable.pause()
293
+
294
+ * Return: `this`
295
+
296
+ This method will cause a stream in flowing mode to stop emitting
297
+ `data` events, switching out of flowing mode. Any data that becomes
298
+ available will remain in the internal buffer.
299
+
300
+ ```javascript
301
+ var readable = getReadableStreamSomehow();
302
+ readable.on('data', function(chunk) {
303
+ console.log('got %d bytes of data', chunk.length);
304
+ readable.pause();
305
+ console.log('there will be no more data for 1 second');
306
+ setTimeout(function() {
307
+ console.log('now data will start flowing again');
308
+ readable.resume();
309
+ }, 1000);
310
+ });
311
+ ```
312
+
313
+ #### readable.isPaused()
314
+
315
+ * Return: `Boolean`
316
+
317
+ This method returns whether or not the `readable` has been **explicitly**
318
+ paused by client code (using `readable.pause()` without a corresponding
319
+ `readable.resume()`).
320
+
321
+ ```javascript
322
+ var readable = new stream.Readable
323
+
324
+ readable.isPaused() // === false
325
+ readable.pause()
326
+ readable.isPaused() // === true
327
+ readable.resume()
328
+ readable.isPaused() // === false
329
+ ```
330
+
331
+ #### readable.pipe(destination[, options])
332
+
333
+ * `destination` {[Writable][] Stream} The destination for writing data
334
+ * `options` {Object} Pipe options
335
+ * `end` {Boolean} End the writer when the reader ends. Default = `true`
336
+
337
+ This method pulls all the data out of a readable stream, and writes it
338
+ to the supplied destination, automatically managing the flow so that
339
+ the destination is not overwhelmed by a fast readable stream.
340
+
341
+ Multiple destinations can be piped to safely.
342
+
343
+ ```javascript
344
+ var readable = getReadableStreamSomehow();
345
+ var writable = fs.createWriteStream('file.txt');
346
+ // All the data from readable goes into 'file.txt'
347
+ readable.pipe(writable);
348
+ ```
349
+
350
+ This function returns the destination stream, so you can set up pipe
351
+ chains like so:
352
+
353
+ ```javascript
354
+ var r = fs.createReadStream('file.txt');
355
+ var z = zlib.createGzip();
356
+ var w = fs.createWriteStream('file.txt.gz');
357
+ r.pipe(z).pipe(w);
358
+ ```
359
+
360
+ For example, emulating the Unix `cat` command:
361
+
362
+ ```javascript
363
+ process.stdin.pipe(process.stdout);
364
+ ```
365
+
366
+ By default [`end()`][] is called on the destination when the source stream
367
+ emits `end`, so that `destination` is no longer writable. Pass `{ end:
368
+ false }` as `options` to keep the destination stream open.
369
+
370
+ This keeps `writer` open so that "Goodbye" can be written at the
371
+ end.
372
+
373
+ ```javascript
374
+ reader.pipe(writer, { end: false });
375
+ reader.on('end', function() {
376
+ writer.end('Goodbye\n');
377
+ });
378
+ ```
379
+
380
+ Note that `process.stderr` and `process.stdout` are never closed until
381
+ the process exits, regardless of the specified options.
382
+
383
+ #### readable.unpipe([destination])
384
+
385
+ * `destination` {[Writable][] Stream} Optional specific stream to unpipe
386
+
387
+ This method will remove the hooks set up for a previous `pipe()` call.
388
+
389
+ If the destination is not specified, then all pipes are removed.
390
+
391
+ If the destination is specified, but no pipe is set up for it, then
392
+ this is a no-op.
393
+
394
+ ```javascript
395
+ var readable = getReadableStreamSomehow();
396
+ var writable = fs.createWriteStream('file.txt');
397
+ // All the data from readable goes into 'file.txt',
398
+ // but only for the first second
399
+ readable.pipe(writable);
400
+ setTimeout(function() {
401
+ console.log('stop writing to file.txt');
402
+ readable.unpipe(writable);
403
+ console.log('manually close the file stream');
404
+ writable.end();
405
+ }, 1000);
406
+ ```
407
+
408
+ #### readable.unshift(chunk)
409
+
410
+ * `chunk` {Buffer | String} Chunk of data to unshift onto the read queue
411
+
412
+ This is useful in certain cases where a stream is being consumed by a
413
+ parser, which needs to "un-consume" some data that it has
414
+ optimistically pulled out of the source, so that the stream can be
415
+ passed on to some other party.
416
+
417
+ If you find that you must often call `stream.unshift(chunk)` in your
418
+ programs, consider implementing a [Transform][] stream instead. (See API
419
+ for Stream Implementors, below.)
420
+
421
+ ```javascript
422
+ // Pull off a header delimited by \n\n
423
+ // use unshift() if we get too much
424
+ // Call the callback with (error, header, stream)
425
+ var StringDecoder = require('string_decoder').StringDecoder;
426
+ function parseHeader(stream, callback) {
427
+ stream.on('error', callback);
428
+ stream.on('readable', onReadable);
429
+ var decoder = new StringDecoder('utf8');
430
+ var header = '';
431
+ function onReadable() {
432
+ var chunk;
433
+ while (null !== (chunk = stream.read())) {
434
+ var str = decoder.write(chunk);
435
+ if (str.match(/\n\n/)) {
436
+ // found the header boundary
437
+ var split = str.split(/\n\n/);
438
+ header += split.shift();
439
+ var remaining = split.join('\n\n');
440
+ var buf = new Buffer(remaining, 'utf8');
441
+ if (buf.length)
442
+ stream.unshift(buf);
443
+ stream.removeListener('error', callback);
444
+ stream.removeListener('readable', onReadable);
445
+ // now the body of the message can be read from the stream.
446
+ callback(null, header, stream);
447
+ } else {
448
+ // still reading the header.
449
+ header += str;
450
+ }
451
+ }
452
+ }
453
+ }
454
+ ```
455
+
456
+ #### readable.wrap(stream)
457
+
458
+ * `stream` {Stream} An "old style" readable stream
459
+
460
+ Versions of Node.js prior to v0.10 had streams that did not implement the
461
+ entire Streams API as it is today. (See "Compatibility" below for
462
+ more information.)
463
+
464
+ If you are using an older io.js library that emits `'data'` events and
465
+ has a [`pause()`][] method that is advisory only, then you can use the
466
+ `wrap()` method to create a [Readable][] stream that uses the old stream
467
+ as its data source.
468
+
469
+ You will very rarely ever need to call this function, but it exists
470
+ as a convenience for interacting with old io.js programs and libraries.
471
+
472
+ For example:
473
+
474
+ ```javascript
475
+ var OldReader = require('./old-api-module.js').OldReader;
476
+ var oreader = new OldReader;
477
+ var Readable = require('stream').Readable;
478
+ var myReader = new Readable().wrap(oreader);
479
+
480
+ myReader.on('readable', function() {
481
+ myReader.read(); // etc.
482
+ });
483
+ ```
484
+
485
+
486
+ ### Class: stream.Writable
487
+
488
+ <!--type=class-->
489
+
490
+ The Writable stream interface is an abstraction for a *destination*
491
+ that you are writing data *to*.
492
+
493
+ Examples of writable streams include:
494
+
495
+ * [http requests, on the client](https://iojs.org/dist/v2.3.0/doc/api/http.html#http_class_http_clientrequest)
496
+ * [http responses, on the server](https://iojs.org/dist/v2.3.0/doc/api/http.html#http_class_http_serverresponse)
497
+ * [fs write streams](https://iojs.org/dist/v2.3.0/doc/api/fs.html#fs_class_fs_writestream)
498
+ * [zlib streams][]
499
+ * [crypto streams][]
500
+ * [tcp sockets][]
501
+ * [child process stdin](https://iojs.org/dist/v2.3.0/doc/api/child_process.html#child_process_child_stdin)
502
+ * [process.stdout][], [process.stderr][]
503
+
504
+ #### writable.write(chunk[, encoding][, callback])
505
+
506
+ * `chunk` {String | Buffer} The data to write
507
+ * `encoding` {String} The encoding, if `chunk` is a String
508
+ * `callback` {Function} Callback for when this chunk of data is flushed
509
+ * Returns: {Boolean} True if the data was handled completely.
510
+
511
+ This method writes some data to the underlying system, and calls the
512
+ supplied callback once the data has been fully handled.
513
+
514
+ The return value indicates if you should continue writing right now.
515
+ If the data had to be buffered internally, then it will return
516
+ `false`. Otherwise, it will return `true`.
517
+
518
+ This return value is strictly advisory. You MAY continue to write,
519
+ even if it returns `false`. However, writes will be buffered in
520
+ memory, so it is best not to do this excessively. Instead, wait for
521
+ the `drain` event before writing more data.
522
+
523
+ #### Event: 'drain'
524
+
525
+ If a [`writable.write(chunk)`][] call returns false, then the `drain`
526
+ event will indicate when it is appropriate to begin writing more data
527
+ to the stream.
528
+
529
+ ```javascript
530
+ // Write the data to the supplied writable stream 1MM times.
531
+ // Be attentive to back-pressure.
532
+ function writeOneMillionTimes(writer, data, encoding, callback) {
533
+ var i = 1000000;
534
+ write();
535
+ function write() {
536
+ var ok = true;
537
+ do {
538
+ i -= 1;
539
+ if (i === 0) {
540
+ // last time!
541
+ writer.write(data, encoding, callback);
542
+ } else {
543
+ // see if we should continue, or wait
544
+ // don't pass the callback, because we're not done yet.
545
+ ok = writer.write(data, encoding);
546
+ }
547
+ } while (i > 0 && ok);
548
+ if (i > 0) {
549
+ // had to stop early!
550
+ // write some more once it drains
551
+ writer.once('drain', write);
552
+ }
553
+ }
554
+ }
555
+ ```
556
+
557
+ #### writable.cork()
558
+
559
+ Forces buffering of all writes.
560
+
561
+ Buffered data will be flushed either at `.uncork()` or at `.end()` call.
562
+
563
+ #### writable.uncork()
564
+
565
+ Flush all data, buffered since `.cork()` call.
566
+
567
+ #### writable.setDefaultEncoding(encoding)
568
+
569
+ * `encoding` {String} The new default encoding
570
+
571
+ Sets the default encoding for a writable stream.
572
+
573
+ #### writable.end([chunk][, encoding][, callback])
574
+
575
+ * `chunk` {String | Buffer} Optional data to write
576
+ * `encoding` {String} The encoding, if `chunk` is a String
577
+ * `callback` {Function} Optional callback for when the stream is finished
578
+
579
+ Call this method when no more data will be written to the stream. If
580
+ supplied, the callback is attached as a listener on the `finish` event.
581
+
582
+ Calling [`write()`][] after calling [`end()`][] will raise an error.
583
+
584
+ ```javascript
585
+ // write 'hello, ' and then end with 'world!'
586
+ var file = fs.createWriteStream('example.txt');
587
+ file.write('hello, ');
588
+ file.end('world!');
589
+ // writing more now is not allowed!
590
+ ```
591
+
592
+ #### Event: 'finish'
593
+
594
+ When the [`end()`][] method has been called, and all data has been flushed
595
+ to the underlying system, this event is emitted.
596
+
597
+ ```javascript
598
+ var writer = getWritableStreamSomehow();
599
+ for (var i = 0; i < 100; i ++) {
600
+ writer.write('hello, #' + i + '!\n');
601
+ }
602
+ writer.end('this is the end\n');
603
+ writer.on('finish', function() {
604
+ console.error('all writes are now complete.');
605
+ });
606
+ ```
607
+
608
+ #### Event: 'pipe'
609
+
610
+ * `src` {[Readable][] Stream} source stream that is piping to this writable
611
+
612
+ This is emitted whenever the `pipe()` method is called on a readable
613
+ stream, adding this writable to its set of destinations.
614
+
615
+ ```javascript
616
+ var writer = getWritableStreamSomehow();
617
+ var reader = getReadableStreamSomehow();
618
+ writer.on('pipe', function(src) {
619
+ console.error('something is piping into the writer');
620
+ assert.equal(src, reader);
621
+ });
622
+ reader.pipe(writer);
623
+ ```
624
+
625
+ #### Event: 'unpipe'
626
+
627
+ * `src` {[Readable][] Stream} The source stream that [unpiped][] this writable
628
+
629
+ This is emitted whenever the [`unpipe()`][] method is called on a
630
+ readable stream, removing this writable from its set of destinations.
631
+
632
+ ```javascript
633
+ var writer = getWritableStreamSomehow();
634
+ var reader = getReadableStreamSomehow();
635
+ writer.on('unpipe', function(src) {
636
+ console.error('something has stopped piping into the writer');
637
+ assert.equal(src, reader);
638
+ });
639
+ reader.pipe(writer);
640
+ reader.unpipe(writer);
641
+ ```
642
+
643
+ #### Event: 'error'
644
+
645
+ * {Error object}
646
+
647
+ Emitted if there was an error when writing or piping data.
648
+
649
+ ### Class: stream.Duplex
650
+
651
+ Duplex streams are streams that implement both the [Readable][] and
652
+ [Writable][] interfaces. See above for usage.
653
+
654
+ Examples of Duplex streams include:
655
+
656
+ * [tcp sockets][]
657
+ * [zlib streams][]
658
+ * [crypto streams][]
659
+
660
+
661
+ ### Class: stream.Transform
662
+
663
+ Transform streams are [Duplex][] streams where the output is in some way
664
+ computed from the input. They implement both the [Readable][] and
665
+ [Writable][] interfaces. See above for usage.
666
+
667
+ Examples of Transform streams include:
668
+
669
+ * [zlib streams][]
670
+ * [crypto streams][]
671
+
672
+
673
+ ## API for Stream Implementors
674
+
675
+ <!--type=misc-->
676
+
677
+ To implement any sort of stream, the pattern is the same:
678
+
679
+ 1. Extend the appropriate parent class in your own subclass. (The
680
+ [`util.inherits`][] method is particularly helpful for this.)
681
+ 2. Call the appropriate parent class constructor in your constructor,
682
+ to be sure that the internal mechanisms are set up properly.
683
+ 2. Implement one or more specific methods, as detailed below.
684
+
685
+ The class to extend and the method(s) to implement depend on the sort
686
+ of stream class you are writing:
687
+
688
+ <table>
689
+ <thead>
690
+ <tr>
691
+ <th>
692
+ <p>Use-case</p>
693
+ </th>
694
+ <th>
695
+ <p>Class</p>
696
+ </th>
697
+ <th>
698
+ <p>Method(s) to implement</p>
699
+ </th>
700
+ </tr>
701
+ </thead>
702
+ <tr>
703
+ <td>
704
+ <p>Reading only</p>
705
+ </td>
706
+ <td>
707
+ <p>[Readable](#stream_class_stream_readable_1)</p>
708
+ </td>
709
+ <td>
710
+ <p><code>[_read][]</code></p>
711
+ </td>
712
+ </tr>
713
+ <tr>
714
+ <td>
715
+ <p>Writing only</p>
716
+ </td>
717
+ <td>
718
+ <p>[Writable](#stream_class_stream_writable_1)</p>
719
+ </td>
720
+ <td>
721
+ <p><code>[_write][]</code>, <code>_writev</code></p>
722
+ </td>
723
+ </tr>
724
+ <tr>
725
+ <td>
726
+ <p>Reading and writing</p>
727
+ </td>
728
+ <td>
729
+ <p>[Duplex](#stream_class_stream_duplex_1)</p>
730
+ </td>
731
+ <td>
732
+ <p><code>[_read][]</code>, <code>[_write][]</code>, <code>_writev</code></p>
733
+ </td>
734
+ </tr>
735
+ <tr>
736
+ <td>
737
+ <p>Operate on written data, then read the result</p>
738
+ </td>
739
+ <td>
740
+ <p>[Transform](#stream_class_stream_transform_1)</p>
741
+ </td>
742
+ <td>
743
+ <p><code>_transform</code>, <code>_flush</code></p>
744
+ </td>
745
+ </tr>
746
+ </table>
747
+
748
+ In your implementation code, it is very important to never call the
749
+ methods described in [API for Stream Consumers][] above. Otherwise, you
750
+ can potentially cause adverse side effects in programs that consume
751
+ your streaming interfaces.
752
+
753
+ ### Class: stream.Readable
754
+
755
+ <!--type=class-->
756
+
757
+ `stream.Readable` is an abstract class designed to be extended with an
758
+ underlying implementation of the [`_read(size)`][] method.
759
+
760
+ Please see above under [API for Stream Consumers][] for how to consume
761
+ streams in your programs. What follows is an explanation of how to
762
+ implement Readable streams in your programs.
763
+
764
+ #### Example: A Counting Stream
765
+
766
+ <!--type=example-->
767
+
768
+ This is a basic example of a Readable stream. It emits the numerals
769
+ from 1 to 1,000,000 in ascending order, and then ends.
770
+
771
+ ```javascript
772
+ var Readable = require('stream').Readable;
773
+ var util = require('util');
774
+ util.inherits(Counter, Readable);
775
+
776
+ function Counter(opt) {
777
+ Readable.call(this, opt);
778
+ this._max = 1000000;
779
+ this._index = 1;
780
+ }
781
+
782
+ Counter.prototype._read = function() {
783
+ var i = this._index++;
784
+ if (i > this._max)
785
+ this.push(null);
786
+ else {
787
+ var str = '' + i;
788
+ var buf = new Buffer(str, 'ascii');
789
+ this.push(buf);
790
+ }
791
+ };
792
+ ```
793
+
794
+ #### Example: SimpleProtocol v1 (Sub-optimal)
795
+
796
+ This is similar to the `parseHeader` function described above, but
797
+ implemented as a custom stream. Also, note that this implementation
798
+ does not convert the incoming data to a string.
799
+
800
+ However, this would be better implemented as a [Transform][] stream. See
801
+ below for a better implementation.
802
+
803
+ ```javascript
804
+ // A parser for a simple data protocol.
805
+ // The "header" is a JSON object, followed by 2 \n characters, and
806
+ // then a message body.
807
+ //
808
+ // NOTE: This can be done more simply as a Transform stream!
809
+ // Using Readable directly for this is sub-optimal. See the
810
+ // alternative example below under the Transform section.
811
+
812
+ var Readable = require('stream').Readable;
813
+ var util = require('util');
814
+
815
+ util.inherits(SimpleProtocol, Readable);
816
+
817
+ function SimpleProtocol(source, options) {
818
+ if (!(this instanceof SimpleProtocol))
819
+ return new SimpleProtocol(source, options);
820
+
821
+ Readable.call(this, options);
822
+ this._inBody = false;
823
+ this._sawFirstCr = false;
824
+
825
+ // source is a readable stream, such as a socket or file
826
+ this._source = source;
827
+
828
+ var self = this;
829
+ source.on('end', function() {
830
+ self.push(null);
831
+ });
832
+
833
+ // give it a kick whenever the source is readable
834
+ // read(0) will not consume any bytes
835
+ source.on('readable', function() {
836
+ self.read(0);
837
+ });
838
+
839
+ this._rawHeader = [];
840
+ this.header = null;
841
+ }
842
+
843
+ SimpleProtocol.prototype._read = function(n) {
844
+ if (!this._inBody) {
845
+ var chunk = this._source.read();
846
+
847
+ // if the source doesn't have data, we don't have data yet.
848
+ if (chunk === null)
849
+ return this.push('');
850
+
851
+ // check if the chunk has a \n\n
852
+ var split = -1;
853
+ for (var i = 0; i < chunk.length; i++) {
854
+ if (chunk[i] === 10) { // '\n'
855
+ if (this._sawFirstCr) {
856
+ split = i;
857
+ break;
858
+ } else {
859
+ this._sawFirstCr = true;
860
+ }
861
+ } else {
862
+ this._sawFirstCr = false;
863
+ }
864
+ }
865
+
866
+ if (split === -1) {
867
+ // still waiting for the \n\n
868
+ // stash the chunk, and try again.
869
+ this._rawHeader.push(chunk);
870
+ this.push('');
871
+ } else {
872
+ this._inBody = true;
873
+ var h = chunk.slice(0, split);
874
+ this._rawHeader.push(h);
875
+ var header = Buffer.concat(this._rawHeader).toString();
876
+ try {
877
+ this.header = JSON.parse(header);
878
+ } catch (er) {
879
+ this.emit('error', new Error('invalid simple protocol data'));
880
+ return;
881
+ }
882
+ // now, because we got some extra data, unshift the rest
883
+ // back into the read queue so that our consumer will see it.
884
+ var b = chunk.slice(split);
885
+ this.unshift(b);
886
+
887
+ // and let them know that we are done parsing the header.
888
+ this.emit('header', this.header);
889
+ }
890
+ } else {
891
+ // from there on, just provide the data to our consumer.
892
+ // careful not to push(null), since that would indicate EOF.
893
+ var chunk = this._source.read();
894
+ if (chunk) this.push(chunk);
895
+ }
896
+ };
897
+
898
+ // Usage:
899
+ // var parser = new SimpleProtocol(source);
900
+ // Now parser is a readable stream that will emit 'header'
901
+ // with the parsed header data.
902
+ ```
903
+
904
+
905
+ #### new stream.Readable([options])
906
+
907
+ * `options` {Object}
908
+ * `highWaterMark` {Number} The maximum number of bytes to store in
909
+ the internal buffer before ceasing to read from the underlying
910
+ resource. Default=16kb, or 16 for `objectMode` streams
911
+ * `encoding` {String} If specified, then buffers will be decoded to
912
+ strings using the specified encoding. Default=null
913
+ * `objectMode` {Boolean} Whether this stream should behave
914
+ as a stream of objects. Meaning that stream.read(n) returns
915
+ a single value instead of a Buffer of size n. Default=false
916
+
917
+ In classes that extend the Readable class, make sure to call the
918
+ Readable constructor so that the buffering settings can be properly
919
+ initialized.
920
+
921
+ #### readable.\_read(size)
922
+
923
+ * `size` {Number} Number of bytes to read asynchronously
924
+
925
+ Note: **Implement this function, but do NOT call it directly.**
926
+
927
+ This function should NOT be called directly. It should be implemented
928
+ by child classes, and only called by the internal Readable class
929
+ methods.
930
+
931
+ All Readable stream implementations must provide a `_read` method to
932
+ fetch data from the underlying resource.
933
+
934
+ This method is prefixed with an underscore because it is internal to
935
+ the class that defines it, and should not be called directly by user
936
+ programs. However, you **are** expected to override this method in
937
+ your own extension classes.
938
+
939
+ When data is available, put it into the read queue by calling
940
+ `readable.push(chunk)`. If `push` returns false, then you should stop
941
+ reading. When `_read` is called again, you should start pushing more
942
+ data.
943
+
944
+ The `size` argument is advisory. Implementations where a "read" is a
945
+ single call that returns data can use this to know how much data to
946
+ fetch. Implementations where that is not relevant, such as TCP or
947
+ TLS, may ignore this argument, and simply provide data whenever it
948
+ becomes available. There is no need, for example to "wait" until
949
+ `size` bytes are available before calling [`stream.push(chunk)`][].
950
+
951
+ #### readable.push(chunk[, encoding])
952
+
953
+ * `chunk` {Buffer | null | String} Chunk of data to push into the read queue
954
+ * `encoding` {String} Encoding of String chunks. Must be a valid
955
+ Buffer encoding, such as `'utf8'` or `'ascii'`
956
+ * return {Boolean} Whether or not more pushes should be performed
957
+
958
+ Note: **This function should be called by Readable implementors, NOT
959
+ by consumers of Readable streams.**
960
+
961
+ The `_read()` function will not be called again until at least one
962
+ `push(chunk)` call is made.
963
+
964
+ The `Readable` class works by putting data into a read queue to be
965
+ pulled out later by calling the `read()` method when the `'readable'`
966
+ event fires.
967
+
968
+ The `push()` method will explicitly insert some data into the read
969
+ queue. If it is called with `null` then it will signal the end of the
970
+ data (EOF).
971
+
972
+ This API is designed to be as flexible as possible. For example,
973
+ you may be wrapping a lower-level source which has some sort of
974
+ pause/resume mechanism, and a data callback. In those cases, you
975
+ could wrap the low-level source object by doing something like this:
976
+
977
+ ```javascript
978
+ // source is an object with readStop() and readStart() methods,
979
+ // and an `ondata` member that gets called when it has data, and
980
+ // an `onend` member that gets called when the data is over.
981
+
982
+ util.inherits(SourceWrapper, Readable);
983
+
984
+ function SourceWrapper(options) {
985
+ Readable.call(this, options);
986
+
987
+ this._source = getLowlevelSourceObject();
988
+ var self = this;
989
+
990
+ // Every time there's data, we push it into the internal buffer.
991
+ this._source.ondata = function(chunk) {
992
+ // if push() returns false, then we need to stop reading from source
993
+ if (!self.push(chunk))
994
+ self._source.readStop();
995
+ };
996
+
997
+ // When the source ends, we push the EOF-signaling `null` chunk
998
+ this._source.onend = function() {
999
+ self.push(null);
1000
+ };
1001
+ }
1002
+
1003
+ // _read will be called when the stream wants to pull more data in
1004
+ // the advisory size argument is ignored in this case.
1005
+ SourceWrapper.prototype._read = function(size) {
1006
+ this._source.readStart();
1007
+ };
1008
+ ```
1009
+
1010
+
1011
+ ### Class: stream.Writable
1012
+
1013
+ <!--type=class-->
1014
+
1015
+ `stream.Writable` is an abstract class designed to be extended with an
1016
+ underlying implementation of the [`_write(chunk, encoding, callback)`][] method.
1017
+
1018
+ Please see above under [API for Stream Consumers][] for how to consume
1019
+ writable streams in your programs. What follows is an explanation of
1020
+ how to implement Writable streams in your programs.
1021
+
1022
+ #### new stream.Writable([options])
1023
+
1024
+ * `options` {Object}
1025
+ * `highWaterMark` {Number} Buffer level when [`write()`][] starts
1026
+ returning false. Default=16kb, or 16 for `objectMode` streams
1027
+ * `decodeStrings` {Boolean} Whether or not to decode strings into
1028
+ Buffers before passing them to [`_write()`][]. Default=true
1029
+ * `objectMode` {Boolean} Whether or not the `write(anyObj)` is
1030
+ a valid operation. If set you can write arbitrary data instead
1031
+ of only `Buffer` / `String` data. Default=false
1032
+
1033
+ In classes that extend the Writable class, make sure to call the
1034
+ constructor so that the buffering settings can be properly
1035
+ initialized.
1036
+
1037
+ #### writable.\_write(chunk, encoding, callback)
1038
+
1039
+ * `chunk` {Buffer | String} The chunk to be written. Will **always**
1040
+ be a buffer unless the `decodeStrings` option was set to `false`.
1041
+ * `encoding` {String} If the chunk is a string, then this is the
1042
+ encoding type. If chunk is a buffer, then this is the special
1043
+ value - 'buffer', ignore it in this case.
1044
+ * `callback` {Function} Call this function (optionally with an error
1045
+ argument) when you are done processing the supplied chunk.
1046
+
1047
+ All Writable stream implementations must provide a [`_write()`][]
1048
+ method to send data to the underlying resource.
1049
+
1050
+ Note: **This function MUST NOT be called directly.** It should be
1051
+ implemented by child classes, and called by the internal Writable
1052
+ class methods only.
1053
+
1054
+ Call the callback using the standard `callback(error)` pattern to
1055
+ signal that the write completed successfully or with an error.
1056
+
1057
+ If the `decodeStrings` flag is set in the constructor options, then
1058
+ `chunk` may be a string rather than a Buffer, and `encoding` will
1059
+ indicate the sort of string that it is. This is to support
1060
+ implementations that have an optimized handling for certain string
1061
+ data encodings. If you do not explicitly set the `decodeStrings`
1062
+ option to `false`, then you can safely ignore the `encoding` argument,
1063
+ and assume that `chunk` will always be a Buffer.
1064
+
1065
+ This method is prefixed with an underscore because it is internal to
1066
+ the class that defines it, and should not be called directly by user
1067
+ programs. However, you **are** expected to override this method in
1068
+ your own extension classes.
1069
+
1070
+ #### writable.\_writev(chunks, callback)
1071
+
1072
+ * `chunks` {Array} The chunks to be written. Each chunk has following
1073
+ format: `{ chunk: ..., encoding: ... }`.
1074
+ * `callback` {Function} Call this function (optionally with an error
1075
+ argument) when you are done processing the supplied chunks.
1076
+
1077
+ Note: **This function MUST NOT be called directly.** It may be
1078
+ implemented by child classes, and called by the internal Writable
1079
+ class methods only.
1080
+
1081
+ This function is completely optional to implement. In most cases it is
1082
+ unnecessary. If implemented, it will be called with all the chunks
1083
+ that are buffered in the write queue.
1084
+
1085
+
1086
+ ### Class: stream.Duplex
1087
+
1088
+ <!--type=class-->
1089
+
1090
+ A "duplex" stream is one that is both Readable and Writable, such as a
1091
+ TCP socket connection.
1092
+
1093
+ Note that `stream.Duplex` is an abstract class designed to be extended
1094
+ with an underlying implementation of the `_read(size)` and
1095
+ [`_write(chunk, encoding, callback)`][] methods as you would with a
1096
+ Readable or Writable stream class.
1097
+
1098
+ Since JavaScript doesn't have multiple prototypal inheritance, this
1099
+ class prototypally inherits from Readable, and then parasitically from
1100
+ Writable. It is thus up to the user to implement both the lowlevel
1101
+ `_read(n)` method as well as the lowlevel
1102
+ [`_write(chunk, encoding, callback)`][] method on extension duplex classes.
1103
+
1104
+ #### new stream.Duplex(options)
1105
+
1106
+ * `options` {Object} Passed to both Writable and Readable
1107
+ constructors. Also has the following fields:
1108
+ * `allowHalfOpen` {Boolean} Default=true. If set to `false`, then
1109
+ the stream will automatically end the readable side when the
1110
+ writable side ends and vice versa.
1111
+ * `readableObjectMode` {Boolean} Default=false. Sets `objectMode`
1112
+ for readable side of the stream. Has no effect if `objectMode`
1113
+ is `true`.
1114
+ * `writableObjectMode` {Boolean} Default=false. Sets `objectMode`
1115
+ for writable side of the stream. Has no effect if `objectMode`
1116
+ is `true`.
1117
+
1118
+ In classes that extend the Duplex class, make sure to call the
1119
+ constructor so that the buffering settings can be properly
1120
+ initialized.
1121
+
1122
+
1123
+ ### Class: stream.Transform
1124
+
1125
+ A "transform" stream is a duplex stream where the output is causally
1126
+ connected in some way to the input, such as a [zlib][] stream or a
1127
+ [crypto][] stream.
1128
+
1129
+ There is no requirement that the output be the same size as the input,
1130
+ the same number of chunks, or arrive at the same time. For example, a
1131
+ Hash stream will only ever have a single chunk of output which is
1132
+ provided when the input is ended. A zlib stream will produce output
1133
+ that is either much smaller or much larger than its input.
1134
+
1135
+ Rather than implement the [`_read()`][] and [`_write()`][] methods, Transform
1136
+ classes must implement the `_transform()` method, and may optionally
1137
+ also implement the `_flush()` method. (See below.)
1138
+
1139
+ #### new stream.Transform([options])
1140
+
1141
+ * `options` {Object} Passed to both Writable and Readable
1142
+ constructors.
1143
+
1144
+ In classes that extend the Transform class, make sure to call the
1145
+ constructor so that the buffering settings can be properly
1146
+ initialized.
1147
+
1148
+ #### transform.\_transform(chunk, encoding, callback)
1149
+
1150
+ * `chunk` {Buffer | String} The chunk to be transformed. Will **always**
1151
+ be a buffer unless the `decodeStrings` option was set to `false`.
1152
+ * `encoding` {String} If the chunk is a string, then this is the
1153
+ encoding type. If chunk is a buffer, then this is the special
1154
+ value - 'buffer', ignore it in this case.
1155
+ * `callback` {Function} Call this function (optionally with an error
1156
+ argument and data) when you are done processing the supplied chunk.
1157
+
1158
+ Note: **This function MUST NOT be called directly.** It should be
1159
+ implemented by child classes, and called by the internal Transform
1160
+ class methods only.
1161
+
1162
+ All Transform stream implementations must provide a `_transform`
1163
+ method to accept input and produce output.
1164
+
1165
+ `_transform` should do whatever has to be done in this specific
1166
+ Transform class, to handle the bytes being written, and pass them off
1167
+ to the readable portion of the interface. Do asynchronous I/O,
1168
+ process things, and so on.
1169
+
1170
+ Call `transform.push(outputChunk)` 0 or more times to generate output
1171
+ from this input chunk, depending on how much data you want to output
1172
+ as a result of this chunk.
1173
+
1174
+ Call the callback function only when the current chunk is completely
1175
+ consumed. Note that there may or may not be output as a result of any
1176
+ particular input chunk. If you supply output as the second argument to the
1177
+ callback, it will be passed to push method, in other words the following are
1178
+ equivalent:
1179
+
1180
+ ```javascript
1181
+ transform.prototype._transform = function (data, encoding, callback) {
1182
+ this.push(data);
1183
+ callback();
1184
+ }
1185
+
1186
+ transform.prototype._transform = function (data, encoding, callback) {
1187
+ callback(null, data);
1188
+ }
1189
+ ```
1190
+
1191
+ This method is prefixed with an underscore because it is internal to
1192
+ the class that defines it, and should not be called directly by user
1193
+ programs. However, you **are** expected to override this method in
1194
+ your own extension classes.
1195
+
1196
+ #### transform.\_flush(callback)
1197
+
1198
+ * `callback` {Function} Call this function (optionally with an error
1199
+ argument) when you are done flushing any remaining data.
1200
+
1201
+ Note: **This function MUST NOT be called directly.** It MAY be implemented
1202
+ by child classes, and if so, will be called by the internal Transform
1203
+ class methods only.
1204
+
1205
+ In some cases, your transform operation may need to emit a bit more
1206
+ data at the end of the stream. For example, a `Zlib` compression
1207
+ stream will store up some internal state so that it can optimally
1208
+ compress the output. At the end, however, it needs to do the best it
1209
+ can with what is left, so that the data will be complete.
1210
+
1211
+ In those cases, you can implement a `_flush` method, which will be
1212
+ called at the very end, after all the written data is consumed, but
1213
+ before emitting `end` to signal the end of the readable side. Just
1214
+ like with `_transform`, call `transform.push(chunk)` zero or more
1215
+ times, as appropriate, and call `callback` when the flush operation is
1216
+ complete.
1217
+
1218
+ This method is prefixed with an underscore because it is internal to
1219
+ the class that defines it, and should not be called directly by user
1220
+ programs. However, you **are** expected to override this method in
1221
+ your own extension classes.
1222
+
1223
+ #### Events: 'finish' and 'end'
1224
+
1225
+ The [`finish`][] and [`end`][] events are from the parent Writable
1226
+ and Readable classes respectively. The `finish` event is fired after
1227
+ `.end()` is called and all chunks have been processed by `_transform`,
1228
+ `end` is fired after all data has been output which is after the callback
1229
+ in `_flush` has been called.
1230
+
1231
+ #### Example: `SimpleProtocol` parser v2
1232
+
1233
+ The example above of a simple protocol parser can be implemented
1234
+ simply by using the higher level [Transform][] stream class, similar to
1235
+ the `parseHeader` and `SimpleProtocol v1` examples above.
1236
+
1237
+ In this example, rather than providing the input as an argument, it
1238
+ would be piped into the parser, which is a more idiomatic io.js stream
1239
+ approach.
1240
+
1241
+ ```javascript
1242
+ var util = require('util');
1243
+ var Transform = require('stream').Transform;
1244
+ util.inherits(SimpleProtocol, Transform);
1245
+
1246
+ function SimpleProtocol(options) {
1247
+ if (!(this instanceof SimpleProtocol))
1248
+ return new SimpleProtocol(options);
1249
+
1250
+ Transform.call(this, options);
1251
+ this._inBody = false;
1252
+ this._sawFirstCr = false;
1253
+ this._rawHeader = [];
1254
+ this.header = null;
1255
+ }
1256
+
1257
+ SimpleProtocol.prototype._transform = function(chunk, encoding, done) {
1258
+ if (!this._inBody) {
1259
+ // check if the chunk has a \n\n
1260
+ var split = -1;
1261
+ for (var i = 0; i < chunk.length; i++) {
1262
+ if (chunk[i] === 10) { // '\n'
1263
+ if (this._sawFirstCr) {
1264
+ split = i;
1265
+ break;
1266
+ } else {
1267
+ this._sawFirstCr = true;
1268
+ }
1269
+ } else {
1270
+ this._sawFirstCr = false;
1271
+ }
1272
+ }
1273
+
1274
+ if (split === -1) {
1275
+ // still waiting for the \n\n
1276
+ // stash the chunk, and try again.
1277
+ this._rawHeader.push(chunk);
1278
+ } else {
1279
+ this._inBody = true;
1280
+ var h = chunk.slice(0, split);
1281
+ this._rawHeader.push(h);
1282
+ var header = Buffer.concat(this._rawHeader).toString();
1283
+ try {
1284
+ this.header = JSON.parse(header);
1285
+ } catch (er) {
1286
+ this.emit('error', new Error('invalid simple protocol data'));
1287
+ return;
1288
+ }
1289
+ // and let them know that we are done parsing the header.
1290
+ this.emit('header', this.header);
1291
+
1292
+ // now, because we got some extra data, emit this first.
1293
+ this.push(chunk.slice(split));
1294
+ }
1295
+ } else {
1296
+ // from there on, just provide the data to our consumer as-is.
1297
+ this.push(chunk);
1298
+ }
1299
+ done();
1300
+ };
1301
+
1302
+ // Usage:
1303
+ // var parser = new SimpleProtocol();
1304
+ // source.pipe(parser)
1305
+ // Now parser is a readable stream that will emit 'header'
1306
+ // with the parsed header data.
1307
+ ```
1308
+
1309
+
1310
+ ### Class: stream.PassThrough
1311
+
1312
+ This is a trivial implementation of a [Transform][] stream that simply
1313
+ passes the input bytes across to the output. Its purpose is mainly
1314
+ for examples and testing, but there are occasionally use cases where
1315
+ it can come in handy as a building block for novel sorts of streams.
1316
+
1317
+
1318
+ ## Simplified Constructor API
1319
+
1320
+ <!--type=misc-->
1321
+
1322
+ In simple cases there is now the added benefit of being able to construct a stream without inheritance.
1323
+
1324
+ This can be done by passing the appropriate methods as constructor options:
1325
+
1326
+ Examples:
1327
+
1328
+ ### Readable
1329
+ ```javascript
1330
+ var readable = new stream.Readable({
1331
+ read: function(n) {
1332
+ // sets this._read under the hood
1333
+ }
1334
+ });
1335
+ ```
1336
+
1337
+ ### Writable
1338
+ ```javascript
1339
+ var writable = new stream.Writable({
1340
+ write: function(chunk, encoding, next) {
1341
+ // sets this._write under the hood
1342
+ }
1343
+ });
1344
+
1345
+ // or
1346
+
1347
+ var writable = new stream.Writable({
1348
+ writev: function(chunks, next) {
1349
+ // sets this._writev under the hood
1350
+ }
1351
+ });
1352
+ ```
1353
+
1354
+ ### Duplex
1355
+ ```javascript
1356
+ var duplex = new stream.Duplex({
1357
+ read: function(n) {
1358
+ // sets this._read under the hood
1359
+ },
1360
+ write: function(chunk, encoding, next) {
1361
+ // sets this._write under the hood
1362
+ }
1363
+ });
1364
+
1365
+ // or
1366
+
1367
+ var duplex = new stream.Duplex({
1368
+ read: function(n) {
1369
+ // sets this._read under the hood
1370
+ },
1371
+ writev: function(chunks, next) {
1372
+ // sets this._writev under the hood
1373
+ }
1374
+ });
1375
+ ```
1376
+
1377
+ ### Transform
1378
+ ```javascript
1379
+ var transform = new stream.Transform({
1380
+ transform: function(chunk, encoding, next) {
1381
+ // sets this._transform under the hood
1382
+ },
1383
+ flush: function(done) {
1384
+ // sets this._flush under the hood
1385
+ }
1386
+ });
1387
+ ```
1388
+
1389
+ ## Streams: Under the Hood
1390
+
1391
+ <!--type=misc-->
1392
+
1393
+ ### Buffering
1394
+
1395
+ <!--type=misc-->
1396
+
1397
+ Both Writable and Readable streams will buffer data on an internal
1398
+ object called `_writableState.buffer` or `_readableState.buffer`,
1399
+ respectively.
1400
+
1401
+ The amount of data that will potentially be buffered depends on the
1402
+ `highWaterMark` option which is passed into the constructor.
1403
+
1404
+ Buffering in Readable streams happens when the implementation calls
1405
+ [`stream.push(chunk)`][]. If the consumer of the Stream does not call
1406
+ `stream.read()`, then the data will sit in the internal queue until it
1407
+ is consumed.
1408
+
1409
+ Buffering in Writable streams happens when the user calls
1410
+ [`stream.write(chunk)`][] repeatedly, even when `write()` returns `false`.
1411
+
1412
+ The purpose of streams, especially with the `pipe()` method, is to
1413
+ limit the buffering of data to acceptable levels, so that sources and
1414
+ destinations of varying speed will not overwhelm the available memory.
1415
+
1416
+ ### `stream.read(0)`
1417
+
1418
+ There are some cases where you want to trigger a refresh of the
1419
+ underlying readable stream mechanisms, without actually consuming any
1420
+ data. In that case, you can call `stream.read(0)`, which will always
1421
+ return null.
1422
+
1423
+ If the internal read buffer is below the `highWaterMark`, and the
1424
+ stream is not currently reading, then calling `read(0)` will trigger
1425
+ a low-level `_read` call.
1426
+
1427
+ There is almost never a need to do this. However, you will see some
1428
+ cases in io.js's internals where this is done, particularly in the
1429
+ Readable stream class internals.
1430
+
1431
+ ### `stream.push('')`
1432
+
1433
+ Pushing a zero-byte string or Buffer (when not in [Object mode][]) has an
1434
+ interesting side effect. Because it *is* a call to
1435
+ [`stream.push()`][], it will end the `reading` process. However, it
1436
+ does *not* add any data to the readable buffer, so there's nothing for
1437
+ a user to consume.
1438
+
1439
+ Very rarely, there are cases where you have no data to provide now,
1440
+ but the consumer of your stream (or, perhaps, another bit of your own
1441
+ code) will know when to check again, by calling `stream.read(0)`. In
1442
+ those cases, you *may* call `stream.push('')`.
1443
+
1444
+ So far, the only use case for this functionality is in the
1445
+ [tls.CryptoStream][] class, which is deprecated in io.js v1.0. If you
1446
+ find that you have to use `stream.push('')`, please consider another
1447
+ approach, because it almost certainly indicates that something is
1448
+ horribly wrong.
1449
+
1450
+ ### Compatibility with Older Node.js Versions
1451
+
1452
+ <!--type=misc-->
1453
+
1454
+ In versions of Node.js prior to v0.10, the Readable stream interface was
1455
+ simpler, but also less powerful and less useful.
1456
+
1457
+ * Rather than waiting for you to call the `read()` method, `'data'`
1458
+ events would start emitting immediately. If you needed to do some
1459
+ I/O to decide how to handle data, then you had to store the chunks
1460
+ in some kind of buffer so that they would not be lost.
1461
+ * The [`pause()`][] method was advisory, rather than guaranteed. This
1462
+ meant that you still had to be prepared to receive `'data'` events
1463
+ even when the stream was in a paused state.
1464
+
1465
+ In io.js v1.0 and Node.js v0.10, the Readable class described below was added.
1466
+ For backwards compatibility with older Node.js programs, Readable streams
1467
+ switch into "flowing mode" when a `'data'` event handler is added, or
1468
+ when the [`resume()`][] method is called. The effect is that, even if
1469
+ you are not using the new `read()` method and `'readable'` event, you
1470
+ no longer have to worry about losing `'data'` chunks.
1471
+
1472
+ Most programs will continue to function normally. However, this
1473
+ introduces an edge case in the following conditions:
1474
+
1475
+ * No [`'data'` event][] handler is added.
1476
+ * The [`resume()`][] method is never called.
1477
+ * The stream is not piped to any writable destination.
1478
+
1479
+ For example, consider the following code:
1480
+
1481
+ ```javascript
1482
+ // WARNING! BROKEN!
1483
+ net.createServer(function(socket) {
1484
+
1485
+ // we add an 'end' method, but never consume the data
1486
+ socket.on('end', function() {
1487
+ // It will never get here.
1488
+ socket.end('I got your message (but didnt read it)\n');
1489
+ });
1490
+
1491
+ }).listen(1337);
1492
+ ```
1493
+
1494
+ In versions of Node.js prior to v0.10, the incoming message data would be
1495
+ simply discarded. However, in io.js v1.0 and Node.js v0.10 and beyond,
1496
+ the socket will remain paused forever.
1497
+
1498
+ The workaround in this situation is to call the `resume()` method to
1499
+ start the flow of data:
1500
+
1501
+ ```javascript
1502
+ // Workaround
1503
+ net.createServer(function(socket) {
1504
+
1505
+ socket.on('end', function() {
1506
+ socket.end('I got your message (but didnt read it)\n');
1507
+ });
1508
+
1509
+ // start the flow of data, discarding it.
1510
+ socket.resume();
1511
+
1512
+ }).listen(1337);
1513
+ ```
1514
+
1515
+ In addition to new Readable streams switching into flowing mode,
1516
+ pre-v0.10 style streams can be wrapped in a Readable class using the
1517
+ `wrap()` method.
1518
+
1519
+
1520
+ ### Object Mode
1521
+
1522
+ <!--type=misc-->
1523
+
1524
+ Normally, Streams operate on Strings and Buffers exclusively.
1525
+
1526
+ Streams that are in **object mode** can emit generic JavaScript values
1527
+ other than Buffers and Strings.
1528
+
1529
+ A Readable stream in object mode will always return a single item from
1530
+ a call to `stream.read(size)`, regardless of what the size argument
1531
+ is.
1532
+
1533
+ A Writable stream in object mode will always ignore the `encoding`
1534
+ argument to `stream.write(data, encoding)`.
1535
+
1536
+ The special value `null` still retains its special value for object
1537
+ mode streams. That is, for object mode readable streams, `null` as a
1538
+ return value from `stream.read()` indicates that there is no more
1539
+ data, and [`stream.push(null)`][] will signal the end of stream data
1540
+ (`EOF`).
1541
+
1542
+ No streams in io.js core are object mode streams. This pattern is only
1543
+ used by userland streaming libraries.
1544
+
1545
+ You should set `objectMode` in your stream child class constructor on
1546
+ the options object. Setting `objectMode` mid-stream is not safe.
1547
+
1548
+ For Duplex streams `objectMode` can be set exclusively for readable or
1549
+ writable side with `readableObjectMode` and `writableObjectMode`
1550
+ respectively. These options can be used to implement parsers and
1551
+ serializers with Transform streams.
1552
+
1553
+ ```javascript
1554
+ var util = require('util');
1555
+ var StringDecoder = require('string_decoder').StringDecoder;
1556
+ var Transform = require('stream').Transform;
1557
+ util.inherits(JSONParseStream, Transform);
1558
+
1559
+ // Gets \n-delimited JSON string data, and emits the parsed objects
1560
+ function JSONParseStream() {
1561
+ if (!(this instanceof JSONParseStream))
1562
+ return new JSONParseStream();
1563
+
1564
+ Transform.call(this, { readableObjectMode : true });
1565
+
1566
+ this._buffer = '';
1567
+ this._decoder = new StringDecoder('utf8');
1568
+ }
1569
+
1570
+ JSONParseStream.prototype._transform = function(chunk, encoding, cb) {
1571
+ this._buffer += this._decoder.write(chunk);
1572
+ // split on newlines
1573
+ var lines = this._buffer.split(/\r?\n/);
1574
+ // keep the last partial line buffered
1575
+ this._buffer = lines.pop();
1576
+ for (var l = 0; l < lines.length; l++) {
1577
+ var line = lines[l];
1578
+ try {
1579
+ var obj = JSON.parse(line);
1580
+ } catch (er) {
1581
+ this.emit('error', er);
1582
+ return;
1583
+ }
1584
+ // push the parsed object out to the readable consumer
1585
+ this.push(obj);
1586
+ }
1587
+ cb();
1588
+ };
1589
+
1590
+ JSONParseStream.prototype._flush = function(cb) {
1591
+ // Just handle any leftover
1592
+ var rem = this._buffer.trim();
1593
+ if (rem) {
1594
+ try {
1595
+ var obj = JSON.parse(rem);
1596
+ } catch (er) {
1597
+ this.emit('error', er);
1598
+ return;
1599
+ }
1600
+ // push the parsed object out to the readable consumer
1601
+ this.push(obj);
1602
+ }
1603
+ cb();
1604
+ };
1605
+ ```
1606
+
1607
+
1608
+ [EventEmitter]: https://iojs.org/dist/v2.3.0/doc/api/events.html#events_class_events_eventemitter
1609
+ [Object mode]: #stream_object_mode
1610
+ [`stream.push(chunk)`]: #stream_readable_push_chunk_encoding
1611
+ [`stream.push(null)`]: #stream_readable_push_chunk_encoding
1612
+ [`stream.push()`]: #stream_readable_push_chunk_encoding
1613
+ [`unpipe()`]: #stream_readable_unpipe_destination
1614
+ [unpiped]: #stream_readable_unpipe_destination
1615
+ [tcp sockets]: https://iojs.org/dist/v2.3.0/doc/api/net.html#net_class_net_socket
1616
+ [zlib streams]: zlib.html
1617
+ [zlib]: zlib.html
1618
+ [crypto streams]: crypto.html
1619
+ [crypto]: crypto.html
1620
+ [tls.CryptoStream]: https://iojs.org/dist/v2.3.0/doc/api/tls.html#tls_class_cryptostream
1621
+ [process.stdin]: https://iojs.org/dist/v2.3.0/doc/api/process.html#process_process_stdin
1622
+ [stdout]: https://iojs.org/dist/v2.3.0/doc/api/process.html#process_process_stdout
1623
+ [process.stdout]: https://iojs.org/dist/v2.3.0/doc/api/process.html#process_process_stdout
1624
+ [process.stderr]: https://iojs.org/dist/v2.3.0/doc/api/process.html#process_process_stderr
1625
+ [child process stdout and stderr]: https://iojs.org/dist/v2.3.0/doc/api/child_process.html#child_process_child_stdout
1626
+ [API for Stream Consumers]: #stream_api_for_stream_consumers
1627
+ [API for Stream Implementors]: #stream_api_for_stream_implementors
1628
+ [Readable]: #stream_class_stream_readable
1629
+ [Writable]: #stream_class_stream_writable
1630
+ [Duplex]: #stream_class_stream_duplex
1631
+ [Transform]: #stream_class_stream_transform
1632
+ [`end`]: #stream_event_end
1633
+ [`finish`]: #stream_event_finish
1634
+ [`_read(size)`]: #stream_readable_read_size_1
1635
+ [`_read()`]: #stream_readable_read_size_1
1636
+ [_read]: #stream_readable_read_size_1
1637
+ [`writable.write(chunk)`]: #stream_writable_write_chunk_encoding_callback
1638
+ [`write(chunk, encoding, callback)`]: #stream_writable_write_chunk_encoding_callback
1639
+ [`write()`]: #stream_writable_write_chunk_encoding_callback
1640
+ [`stream.write(chunk)`]: #stream_writable_write_chunk_encoding_callback
1641
+ [`_write(chunk, encoding, callback)`]: #stream_writable_write_chunk_encoding_callback_1
1642
+ [`_write()`]: #stream_writable_write_chunk_encoding_callback_1
1643
+ [_write]: #stream_writable_write_chunk_encoding_callback_1
1644
+ [`util.inherits`]: https://iojs.org/dist/v2.3.0/doc/api/util.html#util_util_inherits_constructor_superconstructor
1645
+ [`end()`]: #stream_writable_end_chunk_encoding_callback
1646
+ [`'data'` event]: #stream_event_data
1647
+ [`resume()`]: #stream_readable_resume
1648
+ [`readable.resume()`]: #stream_readable_resume
1649
+ [`pause()`]: #stream_readable_pause
1650
+ [`unpipe()`]: #stream_readable_unpipe_destination
1651
+ [`pipe()`]: #stream_readable_pipe_destination_options