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,1459 @@
1
+ // Load modules
2
+
3
+ var Url = require('url');
4
+ var Code = require('code');
5
+ var Hawk = require('../lib');
6
+ var Hoek = require('hoek');
7
+ var Lab = require('lab');
8
+ var Browser = require('../lib/browser');
9
+
10
+
11
+ // Declare internals
12
+
13
+ var internals = {};
14
+
15
+
16
+ // Test shortcuts
17
+
18
+ var lab = exports.lab = Lab.script();
19
+ var describe = lab.experiment;
20
+ var it = lab.test;
21
+ var expect = Code.expect;
22
+
23
+
24
+ describe('Browser', function () {
25
+
26
+ var credentialsFunc = function (id, callback) {
27
+
28
+ var credentials = {
29
+ id: id,
30
+ key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
31
+ algorithm: (id === '1' ? 'sha1' : 'sha256'),
32
+ user: 'steve'
33
+ };
34
+
35
+ return callback(null, credentials);
36
+ };
37
+
38
+ it('should generate a bewit then successfully authenticate it', function (done) {
39
+
40
+ var req = {
41
+ method: 'GET',
42
+ url: '/resource/4?a=1&b=2',
43
+ host: 'example.com',
44
+ port: 80
45
+ };
46
+
47
+ credentialsFunc('123456', function (err, credentials) {
48
+
49
+ var bewit = Browser.client.bewit('http://example.com/resource/4?a=1&b=2', { credentials: credentials, ttlSec: 60 * 60 * 24 * 365 * 100, ext: 'some-app-data' });
50
+ req.url += '&bewit=' + bewit;
51
+
52
+ Hawk.uri.authenticate(req, credentialsFunc, {}, function (err, credentials, attributes) {
53
+
54
+ expect(err).to.not.exist();
55
+ expect(credentials.user).to.equal('steve');
56
+ expect(attributes.ext).to.equal('some-app-data');
57
+ done();
58
+ });
59
+ });
60
+ });
61
+
62
+ it('should generate a bewit then successfully authenticate it (no ext)', function (done) {
63
+
64
+ var req = {
65
+ method: 'GET',
66
+ url: '/resource/4?a=1&b=2',
67
+ host: 'example.com',
68
+ port: 80
69
+ };
70
+
71
+ credentialsFunc('123456', function (err, credentials) {
72
+
73
+ var bewit = Browser.client.bewit('http://example.com/resource/4?a=1&b=2', { credentials: credentials, ttlSec: 60 * 60 * 24 * 365 * 100 });
74
+ req.url += '&bewit=' + bewit;
75
+
76
+ Hawk.uri.authenticate(req, credentialsFunc, {}, function (err, credentials, attributes) {
77
+
78
+ expect(err).to.not.exist();
79
+ expect(credentials.user).to.equal('steve');
80
+ done();
81
+ });
82
+ });
83
+ });
84
+
85
+ describe('bewit()', function () {
86
+
87
+ it('returns a valid bewit value', function (done) {
88
+
89
+ var credentials = {
90
+ id: '123456',
91
+ key: '2983d45yun89q',
92
+ algorithm: 'sha256'
93
+ };
94
+
95
+ var bewit = Browser.client.bewit('https://example.com/somewhere/over/the/rainbow', { credentials: credentials, ttlSec: 300, localtimeOffsetMsec: 1356420407232 - Hawk.utils.now(), ext: 'xandyandz' });
96
+ expect(bewit).to.equal('MTIzNDU2XDEzNTY0MjA3MDdca3NjeHdOUjJ0SnBQMVQxekRMTlBiQjVVaUtJVTl0T1NKWFRVZEc3WDloOD1ceGFuZHlhbmR6');
97
+ done();
98
+ });
99
+
100
+ it('returns a valid bewit value (explicit HTTP port)', function (done) {
101
+
102
+ var credentials = {
103
+ id: '123456',
104
+ key: '2983d45yun89q',
105
+ algorithm: 'sha256'
106
+ };
107
+
108
+ var bewit = Browser.client.bewit('http://example.com:8080/somewhere/over/the/rainbow', { credentials: credentials, ttlSec: 300, localtimeOffsetMsec: 1356420407232 - Hawk.utils.now(), ext: 'xandyandz' });
109
+ expect(bewit).to.equal('MTIzNDU2XDEzNTY0MjA3MDdcaFpiSjNQMmNLRW80a3kwQzhqa1pBa1J5Q1p1ZWc0V1NOYnhWN3ZxM3hIVT1ceGFuZHlhbmR6');
110
+ done();
111
+ });
112
+
113
+ it('returns a valid bewit value (explicit HTTPS port)', function (done) {
114
+
115
+ var credentials = {
116
+ id: '123456',
117
+ key: '2983d45yun89q',
118
+ algorithm: 'sha256'
119
+ };
120
+
121
+ var bewit = Browser.client.bewit('https://example.com:8043/somewhere/over/the/rainbow', { credentials: credentials, ttlSec: 300, localtimeOffsetMsec: 1356420407232 - Hawk.utils.now(), ext: 'xandyandz' });
122
+ expect(bewit).to.equal('MTIzNDU2XDEzNTY0MjA3MDdcL2t4UjhwK0xSaTdvQTRnUXc3cWlxa3BiVHRKYkR4OEtRMC9HRUwvVytTUT1ceGFuZHlhbmR6');
123
+ done();
124
+ });
125
+
126
+ it('returns a valid bewit value (null ext)', function (done) {
127
+
128
+ var credentials = {
129
+ id: '123456',
130
+ key: '2983d45yun89q',
131
+ algorithm: 'sha256'
132
+ };
133
+
134
+ var bewit = Browser.client.bewit('https://example.com/somewhere/over/the/rainbow', { credentials: credentials, ttlSec: 300, localtimeOffsetMsec: 1356420407232 - Hawk.utils.now(), ext: null });
135
+ expect(bewit).to.equal('MTIzNDU2XDEzNTY0MjA3MDdcSUdZbUxnSXFMckNlOEN4dktQczRKbFdJQStValdKSm91d2dBUmlWaENBZz1c');
136
+ done();
137
+ });
138
+
139
+ it('errors on invalid options', function (done) {
140
+
141
+ var credentials = {
142
+ id: '123456',
143
+ key: '2983d45yun89q',
144
+ algorithm: 'sha256'
145
+ };
146
+
147
+ var bewit = Browser.client.bewit('https://example.com/somewhere/over/the/rainbow', 4);
148
+ expect(bewit).to.equal('');
149
+ done();
150
+ });
151
+
152
+ it('errors on missing uri', function (done) {
153
+
154
+ var credentials = {
155
+ id: '123456',
156
+ key: '2983d45yun89q',
157
+ algorithm: 'sha256'
158
+ };
159
+
160
+ var bewit = Browser.client.bewit('', { credentials: credentials, ttlSec: 300, localtimeOffsetMsec: 1356420407232 - Hawk.utils.now(), ext: 'xandyandz' });
161
+ expect(bewit).to.equal('');
162
+ done();
163
+ });
164
+
165
+ it('errors on invalid uri', function (done) {
166
+
167
+ var credentials = {
168
+ id: '123456',
169
+ key: '2983d45yun89q',
170
+ algorithm: 'sha256'
171
+ };
172
+
173
+ var bewit = Browser.client.bewit(5, { credentials: credentials, ttlSec: 300, localtimeOffsetMsec: 1356420407232 - Hawk.utils.now(), ext: 'xandyandz' });
174
+ expect(bewit).to.equal('');
175
+ done();
176
+ });
177
+
178
+ it('errors on invalid credentials (id)', function (done) {
179
+
180
+ var credentials = {
181
+ key: '2983d45yun89q',
182
+ algorithm: 'sha256'
183
+ };
184
+
185
+ var bewit = Browser.client.bewit('https://example.com/somewhere/over/the/rainbow', { credentials: credentials, ttlSec: 3000, ext: 'xandyandz' });
186
+ expect(bewit).to.equal('');
187
+ done();
188
+ });
189
+
190
+ it('errors on missing credentials', function (done) {
191
+
192
+ var bewit = Browser.client.bewit('https://example.com/somewhere/over/the/rainbow', { ttlSec: 3000, ext: 'xandyandz' });
193
+ expect(bewit).to.equal('');
194
+ done();
195
+ });
196
+
197
+ it('errors on invalid credentials (key)', function (done) {
198
+
199
+ var credentials = {
200
+ id: '123456',
201
+ algorithm: 'sha256'
202
+ };
203
+
204
+ var bewit = Browser.client.bewit('https://example.com/somewhere/over/the/rainbow', { credentials: credentials, ttlSec: 3000, ext: 'xandyandz' });
205
+ expect(bewit).to.equal('');
206
+ done();
207
+ });
208
+
209
+ it('errors on invalid algorithm', function (done) {
210
+
211
+ var credentials = {
212
+ id: '123456',
213
+ key: '2983d45yun89q',
214
+ algorithm: 'hmac-sha-0'
215
+ };
216
+
217
+ var bewit = Browser.client.bewit('https://example.com/somewhere/over/the/rainbow', { credentials: credentials, ttlSec: 300, ext: 'xandyandz' });
218
+ expect(bewit).to.equal('');
219
+ done();
220
+ });
221
+
222
+ it('errors on missing options', function (done) {
223
+
224
+ var credentials = {
225
+ id: '123456',
226
+ key: '2983d45yun89q',
227
+ algorithm: 'hmac-sha-0'
228
+ };
229
+
230
+ var bewit = Browser.client.bewit('https://example.com/somewhere/over/the/rainbow');
231
+ expect(bewit).to.equal('');
232
+ done();
233
+ });
234
+ });
235
+
236
+ it('generates a header then successfully parse it (configuration)', function (done) {
237
+
238
+ var req = {
239
+ method: 'GET',
240
+ url: '/resource/4?filter=a',
241
+ host: 'example.com',
242
+ port: 8080
243
+ };
244
+
245
+ credentialsFunc('123456', function (err, credentials) {
246
+
247
+ req.authorization = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, ext: 'some-app-data' }).field;
248
+ expect(req.authorization).to.exist();
249
+
250
+ Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
251
+
252
+ expect(err).to.not.exist();
253
+ expect(credentials.user).to.equal('steve');
254
+ expect(artifacts.ext).to.equal('some-app-data');
255
+ done();
256
+ });
257
+ });
258
+ });
259
+
260
+ it('generates a header then successfully parse it (node request)', function (done) {
261
+
262
+ var req = {
263
+ method: 'POST',
264
+ url: '/resource/4?filter=a',
265
+ headers: {
266
+ host: 'example.com:8080',
267
+ 'content-type': 'text/plain;x=y'
268
+ }
269
+ };
270
+
271
+ var payload = 'some not so random text';
272
+
273
+ credentialsFunc('123456', function (err, credentials) {
274
+
275
+ var reqHeader = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, ext: 'some-app-data', payload: payload, contentType: req.headers['content-type'] });
276
+ req.headers.authorization = reqHeader.field;
277
+
278
+ Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
279
+
280
+ expect(err).to.not.exist();
281
+ expect(credentials.user).to.equal('steve');
282
+ expect(artifacts.ext).to.equal('some-app-data');
283
+ expect(Hawk.server.authenticatePayload(payload, credentials, artifacts, req.headers['content-type'])).to.equal(true);
284
+
285
+ var res = {
286
+ headers: {
287
+ 'content-type': 'text/plain'
288
+ },
289
+ getResponseHeader: function (header) {
290
+
291
+ return res.headers[header.toLowerCase()];
292
+ }
293
+ };
294
+
295
+ res.headers['server-authorization'] = Hawk.server.header(credentials, artifacts, { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' });
296
+ expect(res.headers['server-authorization']).to.exist();
297
+
298
+ expect(Browser.client.authenticate(res, credentials, artifacts, { payload: 'some reply' })).to.equal(true);
299
+ done();
300
+ });
301
+ });
302
+ });
303
+
304
+ it('generates a header then successfully parse it (browserify)', function (done) {
305
+
306
+ var req = {
307
+ method: 'POST',
308
+ url: '/resource/4?filter=a',
309
+ headers: {
310
+ host: 'example.com:8080',
311
+ 'content-type': 'text/plain;x=y'
312
+ }
313
+ };
314
+
315
+ var payload = 'some not so random text';
316
+
317
+ credentialsFunc('123456', function (err, credentials) {
318
+
319
+ var reqHeader = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, ext: 'some-app-data', payload: payload, contentType: req.headers['content-type'] });
320
+ req.headers.authorization = reqHeader.field;
321
+
322
+ Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
323
+
324
+ expect(err).to.not.exist();
325
+ expect(credentials.user).to.equal('steve');
326
+ expect(artifacts.ext).to.equal('some-app-data');
327
+ expect(Hawk.server.authenticatePayload(payload, credentials, artifacts, req.headers['content-type'])).to.equal(true);
328
+
329
+ var res = {
330
+ headers: {
331
+ 'content-type': 'text/plain'
332
+ },
333
+ getHeader: function (header) {
334
+
335
+ return res.headers[header.toLowerCase()];
336
+ }
337
+ };
338
+
339
+ res.headers['server-authorization'] = Hawk.server.header(credentials, artifacts, { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' });
340
+ expect(res.headers['server-authorization']).to.exist();
341
+
342
+ expect(Browser.client.authenticate(res, credentials, artifacts, { payload: 'some reply' })).to.equal(true);
343
+ done();
344
+ });
345
+ });
346
+ });
347
+
348
+ it('generates a header then successfully parse it (time offset)', function (done) {
349
+
350
+ var req = {
351
+ method: 'GET',
352
+ url: '/resource/4?filter=a',
353
+ host: 'example.com',
354
+ port: 8080
355
+ };
356
+
357
+ credentialsFunc('123456', function (err, credentials) {
358
+
359
+ req.authorization = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, ext: 'some-app-data', localtimeOffsetMsec: 100000 }).field;
360
+ expect(req.authorization).to.exist();
361
+
362
+ Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 100000 }, function (err, credentials, artifacts) {
363
+
364
+ expect(err).to.not.exist();
365
+ expect(credentials.user).to.equal('steve');
366
+ expect(artifacts.ext).to.equal('some-app-data');
367
+ done();
368
+ });
369
+ });
370
+ });
371
+
372
+ it('generates a header then successfully parse it (no server header options)', function (done) {
373
+
374
+ var req = {
375
+ method: 'POST',
376
+ url: '/resource/4?filter=a',
377
+ headers: {
378
+ host: 'example.com:8080',
379
+ 'content-type': 'text/plain;x=y'
380
+ }
381
+ };
382
+
383
+ var payload = 'some not so random text';
384
+
385
+ credentialsFunc('123456', function (err, credentials) {
386
+
387
+ var reqHeader = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, ext: 'some-app-data', payload: payload, contentType: req.headers['content-type'] });
388
+ req.headers.authorization = reqHeader.field;
389
+
390
+ Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
391
+
392
+ expect(err).to.not.exist();
393
+ expect(credentials.user).to.equal('steve');
394
+ expect(artifacts.ext).to.equal('some-app-data');
395
+ expect(Hawk.server.authenticatePayload(payload, credentials, artifacts, req.headers['content-type'])).to.equal(true);
396
+
397
+ var res = {
398
+ headers: {
399
+ 'content-type': 'text/plain'
400
+ },
401
+ getResponseHeader: function (header) {
402
+
403
+ return res.headers[header.toLowerCase()];
404
+ }
405
+ };
406
+
407
+ res.headers['server-authorization'] = Hawk.server.header(credentials, artifacts);
408
+ expect(res.headers['server-authorization']).to.exist();
409
+
410
+ expect(Browser.client.authenticate(res, credentials, artifacts)).to.equal(true);
411
+ done();
412
+ });
413
+ });
414
+ });
415
+
416
+ it('generates a header then successfully parse it (no server header)', function (done) {
417
+
418
+ var req = {
419
+ method: 'POST',
420
+ url: '/resource/4?filter=a',
421
+ headers: {
422
+ host: 'example.com:8080',
423
+ 'content-type': 'text/plain;x=y'
424
+ }
425
+ };
426
+
427
+ var payload = 'some not so random text';
428
+
429
+ credentialsFunc('123456', function (err, credentials) {
430
+
431
+ var reqHeader = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, ext: 'some-app-data', payload: payload, contentType: req.headers['content-type'] });
432
+ req.headers.authorization = reqHeader.field;
433
+
434
+ Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
435
+
436
+ expect(err).to.not.exist();
437
+ expect(credentials.user).to.equal('steve');
438
+ expect(artifacts.ext).to.equal('some-app-data');
439
+ expect(Hawk.server.authenticatePayload(payload, credentials, artifacts, req.headers['content-type'])).to.equal(true);
440
+
441
+ var res = {
442
+ headers: {
443
+ 'content-type': 'text/plain'
444
+ },
445
+ getResponseHeader: function (header) {
446
+
447
+ return res.headers[header.toLowerCase()];
448
+ }
449
+ };
450
+
451
+ expect(Browser.client.authenticate(res, credentials, artifacts)).to.equal(true);
452
+ done();
453
+ });
454
+ });
455
+ });
456
+
457
+ it('generates a header with stale ts and successfully authenticate on second call', function (done) {
458
+
459
+ var req = {
460
+ method: 'GET',
461
+ url: '/resource/4?filter=a',
462
+ host: 'example.com',
463
+ port: 8080
464
+ };
465
+
466
+ credentialsFunc('123456', function (err, credentials) {
467
+
468
+ Browser.utils.setNtpOffset(60 * 60 * 1000);
469
+ var header = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, ext: 'some-app-data' });
470
+ req.authorization = header.field;
471
+ expect(req.authorization).to.exist();
472
+
473
+ Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
474
+
475
+ expect(err).to.exist();
476
+ expect(err.message).to.equal('Stale timestamp');
477
+
478
+ var res = {
479
+ headers: {
480
+ 'www-authenticate': err.output.headers['WWW-Authenticate']
481
+ },
482
+ getResponseHeader: function (header) {
483
+
484
+ return res.headers[header.toLowerCase()];
485
+ }
486
+ };
487
+
488
+ expect(Browser.utils.getNtpOffset()).to.equal(60 * 60 * 1000);
489
+ expect(Browser.client.authenticate(res, credentials, header.artifacts)).to.equal(true);
490
+ expect(Browser.utils.getNtpOffset()).to.equal(0);
491
+
492
+ req.authorization = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, ext: 'some-app-data' }).field;
493
+ expect(req.authorization).to.exist();
494
+
495
+ Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
496
+
497
+ expect(err).to.not.exist();
498
+ expect(credentials.user).to.equal('steve');
499
+ expect(artifacts.ext).to.equal('some-app-data');
500
+ done();
501
+ });
502
+ });
503
+ });
504
+ });
505
+
506
+ it('generates a header with stale ts and successfully authenticate on second call (manual localStorage)', function (done) {
507
+
508
+ var req = {
509
+ method: 'GET',
510
+ url: '/resource/4?filter=a',
511
+ host: 'example.com',
512
+ port: 8080
513
+ };
514
+
515
+ credentialsFunc('123456', function (err, credentials) {
516
+
517
+ var localStorage = new Browser.internals.LocalStorage();
518
+
519
+ Browser.utils.setStorage(localStorage);
520
+
521
+ Browser.utils.setNtpOffset(60 * 60 * 1000);
522
+ var header = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, ext: 'some-app-data' });
523
+ req.authorization = header.field;
524
+ expect(req.authorization).to.exist();
525
+
526
+ Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
527
+
528
+ expect(err).to.exist();
529
+ expect(err.message).to.equal('Stale timestamp');
530
+
531
+ var res = {
532
+ headers: {
533
+ 'www-authenticate': err.output.headers['WWW-Authenticate']
534
+ },
535
+ getResponseHeader: function (header) {
536
+
537
+ return res.headers[header.toLowerCase()];
538
+ }
539
+ };
540
+
541
+ expect(parseInt(localStorage.getItem('hawk_ntp_offset'))).to.equal(60 * 60 * 1000);
542
+ expect(Browser.utils.getNtpOffset()).to.equal(60 * 60 * 1000);
543
+ expect(Browser.client.authenticate(res, credentials, header.artifacts)).to.equal(true);
544
+ expect(Browser.utils.getNtpOffset()).to.equal(0);
545
+ expect(parseInt(localStorage.getItem('hawk_ntp_offset'))).to.equal(0);
546
+
547
+ req.authorization = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, ext: 'some-app-data' }).field;
548
+ expect(req.authorization).to.exist();
549
+
550
+ Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
551
+
552
+ expect(err).to.not.exist();
553
+ expect(credentials.user).to.equal('steve');
554
+ expect(artifacts.ext).to.equal('some-app-data');
555
+ done();
556
+ });
557
+ });
558
+ });
559
+ });
560
+
561
+ it('generates a header then fails to parse it (missing server header hash)', function (done) {
562
+
563
+ var req = {
564
+ method: 'POST',
565
+ url: '/resource/4?filter=a',
566
+ headers: {
567
+ host: 'example.com:8080',
568
+ 'content-type': 'text/plain;x=y'
569
+ }
570
+ };
571
+
572
+ var payload = 'some not so random text';
573
+
574
+ credentialsFunc('123456', function (err, credentials) {
575
+
576
+ var reqHeader = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, ext: 'some-app-data', payload: payload, contentType: req.headers['content-type'] });
577
+ req.headers.authorization = reqHeader.field;
578
+
579
+ Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
580
+
581
+ expect(err).to.not.exist();
582
+ expect(credentials.user).to.equal('steve');
583
+ expect(artifacts.ext).to.equal('some-app-data');
584
+ expect(Hawk.server.authenticatePayload(payload, credentials, artifacts, req.headers['content-type'])).to.equal(true);
585
+
586
+ var res = {
587
+ headers: {
588
+ 'content-type': 'text/plain'
589
+ },
590
+ getResponseHeader: function (header) {
591
+
592
+ return res.headers[header.toLowerCase()];
593
+ }
594
+ };
595
+
596
+ res.headers['server-authorization'] = Hawk.server.header(credentials, artifacts);
597
+ expect(res.headers['server-authorization']).to.exist();
598
+
599
+ expect(Browser.client.authenticate(res, credentials, artifacts, { payload: 'some reply' })).to.equal(false);
600
+ done();
601
+ });
602
+ });
603
+ });
604
+
605
+ it('generates a header then successfully parse it (with hash)', function (done) {
606
+
607
+ var req = {
608
+ method: 'GET',
609
+ url: '/resource/4?filter=a',
610
+ host: 'example.com',
611
+ port: 8080
612
+ };
613
+
614
+ credentialsFunc('123456', function (err, credentials) {
615
+
616
+ req.authorization = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, payload: 'hola!', ext: 'some-app-data' }).field;
617
+ Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
618
+
619
+ expect(err).to.not.exist();
620
+ expect(credentials.user).to.equal('steve');
621
+ expect(artifacts.ext).to.equal('some-app-data');
622
+ done();
623
+ });
624
+ });
625
+ });
626
+
627
+ it('generates a header then successfully parse it then validate payload', function (done) {
628
+
629
+ var req = {
630
+ method: 'GET',
631
+ url: '/resource/4?filter=a',
632
+ host: 'example.com',
633
+ port: 8080
634
+ };
635
+
636
+ credentialsFunc('123456', function (err, credentials) {
637
+
638
+ req.authorization = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, payload: 'hola!', ext: 'some-app-data' }).field;
639
+ Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
640
+
641
+ expect(err).to.not.exist();
642
+ expect(credentials.user).to.equal('steve');
643
+ expect(artifacts.ext).to.equal('some-app-data');
644
+ expect(Hawk.server.authenticatePayload('hola!', credentials, artifacts)).to.be.true();
645
+ expect(Hawk.server.authenticatePayload('hello!', credentials, artifacts)).to.be.false();
646
+ done();
647
+ });
648
+ });
649
+ });
650
+
651
+ it('generates a header then successfully parse it (app)', function (done) {
652
+
653
+ var req = {
654
+ method: 'GET',
655
+ url: '/resource/4?filter=a',
656
+ host: 'example.com',
657
+ port: 8080
658
+ };
659
+
660
+ credentialsFunc('123456', function (err, credentials) {
661
+
662
+ req.authorization = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, ext: 'some-app-data', app: 'asd23ased' }).field;
663
+ Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
664
+
665
+ expect(err).to.not.exist();
666
+ expect(credentials.user).to.equal('steve');
667
+ expect(artifacts.ext).to.equal('some-app-data');
668
+ expect(artifacts.app).to.equal('asd23ased');
669
+ done();
670
+ });
671
+ });
672
+ });
673
+
674
+ it('generates a header then successfully parse it (app, dlg)', function (done) {
675
+
676
+ var req = {
677
+ method: 'GET',
678
+ url: '/resource/4?filter=a',
679
+ host: 'example.com',
680
+ port: 8080
681
+ };
682
+
683
+ credentialsFunc('123456', function (err, credentials) {
684
+
685
+ req.authorization = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, ext: 'some-app-data', app: 'asd23ased', dlg: '23434szr3q4d' }).field;
686
+ Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
687
+
688
+ expect(err).to.not.exist();
689
+ expect(credentials.user).to.equal('steve');
690
+ expect(artifacts.ext).to.equal('some-app-data');
691
+ expect(artifacts.app).to.equal('asd23ased');
692
+ expect(artifacts.dlg).to.equal('23434szr3q4d');
693
+ done();
694
+ });
695
+ });
696
+ });
697
+
698
+ it('generates a header then fail authentication due to bad hash', function (done) {
699
+
700
+ var req = {
701
+ method: 'GET',
702
+ url: '/resource/4?filter=a',
703
+ host: 'example.com',
704
+ port: 8080
705
+ };
706
+
707
+ credentialsFunc('123456', function (err, credentials) {
708
+
709
+ req.authorization = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, payload: 'hola!', ext: 'some-app-data' }).field;
710
+ Hawk.server.authenticate(req, credentialsFunc, { payload: 'byebye!' }, function (err, credentials, artifacts) {
711
+
712
+ expect(err).to.exist();
713
+ expect(err.output.payload.message).to.equal('Bad payload hash');
714
+ done();
715
+ });
716
+ });
717
+ });
718
+
719
+ it('generates a header for one resource then fail to authenticate another', function (done) {
720
+
721
+ var req = {
722
+ method: 'GET',
723
+ url: '/resource/4?filter=a',
724
+ host: 'example.com',
725
+ port: 8080
726
+ };
727
+
728
+ credentialsFunc('123456', function (err, credentials) {
729
+
730
+ req.authorization = Browser.client.header('http://example.com:8080/resource/4?filter=a', req.method, { credentials: credentials, ext: 'some-app-data' }).field;
731
+ req.url = '/something/else';
732
+
733
+ Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
734
+
735
+ expect(err).to.exist();
736
+ expect(credentials).to.exist();
737
+ done();
738
+ });
739
+ });
740
+ });
741
+
742
+ describe('client', function () {
743
+
744
+ describe('header()', function () {
745
+
746
+ it('returns a valid authorization header (sha1)', function (done) {
747
+
748
+ var credentials = {
749
+ id: '123456',
750
+ key: '2983d45yun89q',
751
+ algorithm: 'sha1'
752
+ };
753
+
754
+ var header = Browser.client.header('http://example.net/somewhere/over/the/rainbow', 'POST', { credentials: credentials, ext: 'Bazinga!', timestamp: 1353809207, nonce: 'Ygvqdz', payload: 'something to write about' }).field;
755
+ expect(header).to.equal('Hawk id="123456", ts="1353809207", nonce="Ygvqdz", hash="bsvY3IfUllw6V5rvk4tStEvpBhE=", ext="Bazinga!", mac="qbf1ZPG/r/e06F4ht+T77LXi5vw="');
756
+ done();
757
+ });
758
+
759
+ it('returns a valid authorization header (sha256)', function (done) {
760
+
761
+ var credentials = {
762
+ id: '123456',
763
+ key: '2983d45yun89q',
764
+ algorithm: 'sha256'
765
+ };
766
+
767
+ var header = Browser.client.header('https://example.net/somewhere/over/the/rainbow', 'POST', { credentials: credentials, ext: 'Bazinga!', timestamp: 1353809207, nonce: 'Ygvqdz', payload: 'something to write about', contentType: 'text/plain' }).field;
768
+ expect(header).to.equal('Hawk id="123456", ts="1353809207", nonce="Ygvqdz", hash="2QfCt3GuY9HQnHWyWD3wX68ZOKbynqlfYmuO2ZBRqtY=", ext="Bazinga!", mac="q1CwFoSHzPZSkbIvl0oYlD+91rBUEvFk763nMjMndj8="');
769
+ done();
770
+ });
771
+
772
+ it('returns a valid authorization header (empty payload)', function (done) {
773
+
774
+ var credentials = {
775
+ id: '123456',
776
+ key: '2983d45yun89q',
777
+ algorithm: 'sha1'
778
+ };
779
+
780
+ var header = Browser.client.header('http://example.net/somewhere/over/the/rainbow', 'POST', { credentials: credentials, ext: 'Bazinga!', timestamp: 1353809207, nonce: 'Ygvqdz', payload: '' }).field;
781
+ expect(header).to.equal('Hawk id=\"123456\", ts=\"1353809207\", nonce=\"Ygvqdz\", hash=\"404ghL7K+hfyhByKKejFBRGgTjU=\", ext=\"Bazinga!\", mac=\"Bh1sj1DOfFRWOdi3ww52nLCJdBE=\"');
782
+ done();
783
+ });
784
+
785
+ it('returns a valid authorization header (no ext)', function (done) {
786
+
787
+ var credentials = {
788
+ id: '123456',
789
+ key: '2983d45yun89q',
790
+ algorithm: 'sha256'
791
+ };
792
+
793
+ var header = Browser.client.header('https://example.net/somewhere/over/the/rainbow', 'POST', { credentials: credentials, timestamp: 1353809207, nonce: 'Ygvqdz', payload: 'something to write about', contentType: 'text/plain' }).field;
794
+ expect(header).to.equal('Hawk id="123456", ts="1353809207", nonce="Ygvqdz", hash="2QfCt3GuY9HQnHWyWD3wX68ZOKbynqlfYmuO2ZBRqtY=", mac="HTgtd0jPI6E4izx8e4OHdO36q00xFCU0FolNq3RiCYs="');
795
+ done();
796
+ });
797
+
798
+ it('returns a valid authorization header (null ext)', function (done) {
799
+
800
+ var credentials = {
801
+ id: '123456',
802
+ key: '2983d45yun89q',
803
+ algorithm: 'sha256'
804
+ };
805
+
806
+ var header = Browser.client.header('https://example.net/somewhere/over/the/rainbow', 'POST', { credentials: credentials, timestamp: 1353809207, nonce: 'Ygvqdz', payload: 'something to write about', contentType: 'text/plain', ext: null }).field;
807
+ expect(header).to.equal('Hawk id="123456", ts="1353809207", nonce="Ygvqdz", hash="2QfCt3GuY9HQnHWyWD3wX68ZOKbynqlfYmuO2ZBRqtY=", mac="HTgtd0jPI6E4izx8e4OHdO36q00xFCU0FolNq3RiCYs="');
808
+ done();
809
+ });
810
+
811
+ it('returns a valid authorization header (uri object)', function (done) {
812
+
813
+ var credentials = {
814
+ id: '123456',
815
+ key: '2983d45yun89q',
816
+ algorithm: 'sha256'
817
+ };
818
+
819
+ var uri = Browser.utils.parseUri('https://example.net/somewhere/over/the/rainbow');
820
+ var header = Browser.client.header(uri, 'POST', { credentials: credentials, timestamp: 1353809207, nonce: 'Ygvqdz', payload: 'something to write about', contentType: 'text/plain' }).field;
821
+ expect(header).to.equal('Hawk id="123456", ts="1353809207", nonce="Ygvqdz", hash="2QfCt3GuY9HQnHWyWD3wX68ZOKbynqlfYmuO2ZBRqtY=", mac="HTgtd0jPI6E4izx8e4OHdO36q00xFCU0FolNq3RiCYs="');
822
+ done();
823
+ });
824
+
825
+ it('errors on missing options', function (done) {
826
+
827
+ var header = Browser.client.header('https://example.net/somewhere/over/the/rainbow', 'POST');
828
+ expect(header.field).to.equal('');
829
+ expect(header.err).to.equal('Invalid argument type');
830
+ done();
831
+ });
832
+
833
+ it('errors on empty uri', function (done) {
834
+
835
+ var credentials = {
836
+ id: '123456',
837
+ key: '2983d45yun89q',
838
+ algorithm: 'sha256'
839
+ };
840
+
841
+ var header = Browser.client.header('', 'POST', { credentials: credentials, timestamp: 1353809207, nonce: 'Ygvqdz', payload: 'something to write about', contentType: 'text/plain' });
842
+ expect(header.field).to.equal('');
843
+ expect(header.err).to.equal('Invalid argument type');
844
+ done();
845
+ });
846
+
847
+ it('errors on invalid uri', function (done) {
848
+
849
+ var credentials = {
850
+ id: '123456',
851
+ key: '2983d45yun89q',
852
+ algorithm: 'sha256'
853
+ };
854
+
855
+ var header = Browser.client.header(4, 'POST', { credentials: credentials, timestamp: 1353809207, nonce: 'Ygvqdz', payload: 'something to write about', contentType: 'text/plain' });
856
+ expect(header.field).to.equal('');
857
+ expect(header.err).to.equal('Invalid argument type');
858
+ done();
859
+ });
860
+
861
+ it('errors on missing method', function (done) {
862
+
863
+ var credentials = {
864
+ id: '123456',
865
+ key: '2983d45yun89q',
866
+ algorithm: 'sha256'
867
+ };
868
+
869
+ var header = Browser.client.header('https://example.net/somewhere/over/the/rainbow', '', { credentials: credentials, timestamp: 1353809207, nonce: 'Ygvqdz', payload: 'something to write about', contentType: 'text/plain' });
870
+ expect(header.field).to.equal('');
871
+ expect(header.err).to.equal('Invalid argument type');
872
+ done();
873
+ });
874
+
875
+ it('errors on invalid method', function (done) {
876
+
877
+ var credentials = {
878
+ id: '123456',
879
+ key: '2983d45yun89q',
880
+ algorithm: 'sha256'
881
+ };
882
+
883
+ var header = Browser.client.header('https://example.net/somewhere/over/the/rainbow', 5, { credentials: credentials, timestamp: 1353809207, nonce: 'Ygvqdz', payload: 'something to write about', contentType: 'text/plain' });
884
+ expect(header.field).to.equal('');
885
+ expect(header.err).to.equal('Invalid argument type');
886
+ done();
887
+ });
888
+
889
+ it('errors on missing credentials', function (done) {
890
+
891
+ var header = Browser.client.header('https://example.net/somewhere/over/the/rainbow', 'POST', { ext: 'Bazinga!', timestamp: 1353809207 });
892
+ expect(header.field).to.equal('');
893
+ expect(header.err).to.equal('Invalid credentials object');
894
+ done();
895
+ });
896
+
897
+ it('errors on invalid credentials (id)', function (done) {
898
+
899
+ var credentials = {
900
+ key: '2983d45yun89q',
901
+ algorithm: 'sha256'
902
+ };
903
+
904
+ var header = Browser.client.header('https://example.net/somewhere/over/the/rainbow', 'POST', { credentials: credentials, ext: 'Bazinga!', timestamp: 1353809207 });
905
+ expect(header.field).to.equal('');
906
+ expect(header.err).to.equal('Invalid credentials object');
907
+ done();
908
+ });
909
+
910
+ it('errors on invalid credentials (key)', function (done) {
911
+
912
+ var credentials = {
913
+ id: '123456',
914
+ algorithm: 'sha256'
915
+ };
916
+
917
+ var header = Browser.client.header('https://example.net/somewhere/over/the/rainbow', 'POST', { credentials: credentials, ext: 'Bazinga!', timestamp: 1353809207 });
918
+ expect(header.field).to.equal('');
919
+ expect(header.err).to.equal('Invalid credentials object');
920
+ done();
921
+ });
922
+
923
+ it('errors on invalid algorithm', function (done) {
924
+
925
+ var credentials = {
926
+ id: '123456',
927
+ key: '2983d45yun89q',
928
+ algorithm: 'hmac-sha-0'
929
+ };
930
+
931
+ var header = Browser.client.header('https://example.net/somewhere/over/the/rainbow', 'POST', { credentials: credentials, payload: 'something, anything!', ext: 'Bazinga!', timestamp: 1353809207 });
932
+ expect(header.field).to.equal('');
933
+ expect(header.err).to.equal('Unknown algorithm');
934
+ done();
935
+ });
936
+
937
+ it('uses a pre-calculated payload hash', function (done) {
938
+
939
+ var credentials = {
940
+ id: '123456',
941
+ key: '2983d45yun89q',
942
+ algorithm: 'sha256'
943
+ };
944
+
945
+ var options = { credentials: credentials, ext: 'Bazinga!', timestamp: 1353809207, nonce: 'Ygvqdz', payload: 'something to write about', contentType: 'text/plain' };
946
+ options.hash = Browser.crypto.calculatePayloadHash(options.payload, credentials.algorithm, options.contentType);
947
+ var header = Browser.client.header('https://example.net/somewhere/over/the/rainbow', 'POST', options).field;
948
+ expect(header).to.equal('Hawk id="123456", ts="1353809207", nonce="Ygvqdz", hash="2QfCt3GuY9HQnHWyWD3wX68ZOKbynqlfYmuO2ZBRqtY=", ext="Bazinga!", mac="q1CwFoSHzPZSkbIvl0oYlD+91rBUEvFk763nMjMndj8="');
949
+ done();
950
+ });
951
+ });
952
+
953
+ describe('authenticate()', function () {
954
+
955
+ it('skips tsm validation when missing ts', function (done) {
956
+
957
+ var res = {
958
+ headers: {
959
+ 'www-authenticate': 'Hawk error="Stale timestamp"'
960
+ },
961
+ getResponseHeader: function (header) {
962
+
963
+ return res.headers[header.toLowerCase()];
964
+ }
965
+ };
966
+
967
+ var credentials = {
968
+ id: '123456',
969
+ key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
970
+ algorithm: 'sha256',
971
+ user: 'steve'
972
+ };
973
+
974
+ var artifacts = {
975
+ ts: 1402135580,
976
+ nonce: 'iBRB6t',
977
+ method: 'GET',
978
+ resource: '/resource/4?filter=a',
979
+ host: 'example.com',
980
+ port: '8080',
981
+ ext: 'some-app-data'
982
+ };
983
+
984
+ expect(Browser.client.authenticate(res, credentials, artifacts)).to.equal(true);
985
+ done();
986
+ });
987
+
988
+ it('returns false on invalid header', function (done) {
989
+
990
+ var res = {
991
+ headers: {
992
+ 'server-authorization': 'Hawk mac="abc", bad="xyz"'
993
+ },
994
+ getResponseHeader: function (header) {
995
+
996
+ return res.headers[header.toLowerCase()];
997
+ }
998
+ };
999
+
1000
+ expect(Browser.client.authenticate(res, {})).to.equal(false);
1001
+ done();
1002
+ });
1003
+
1004
+ it('returns false on invalid mac', function (done) {
1005
+
1006
+ var res = {
1007
+ headers: {
1008
+ 'content-type': 'text/plain',
1009
+ 'server-authorization': 'Hawk mac="_IJRsMl/4oL+nn+vKoeVZPdCHXB4yJkNnBbTbHFZUYE=", hash="f9cDF/TDm7TkYRLnGwRMfeDzT6LixQVLvrIKhh0vgmM=", ext="response-specific"'
1010
+ },
1011
+ getResponseHeader: function (header) {
1012
+
1013
+ return res.headers[header.toLowerCase()];
1014
+ }
1015
+ };
1016
+
1017
+ var artifacts = {
1018
+ method: 'POST',
1019
+ host: 'example.com',
1020
+ port: '8080',
1021
+ resource: '/resource/4?filter=a',
1022
+ ts: '1362336900',
1023
+ nonce: 'eb5S_L',
1024
+ hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
1025
+ ext: 'some-app-data',
1026
+ app: undefined,
1027
+ dlg: undefined,
1028
+ mac: 'BlmSe8K+pbKIb6YsZCnt4E1GrYvY1AaYayNR82dGpIk=',
1029
+ id: '123456'
1030
+ };
1031
+
1032
+ var credentials = {
1033
+ id: '123456',
1034
+ key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
1035
+ algorithm: 'sha256',
1036
+ user: 'steve'
1037
+ };
1038
+
1039
+ expect(Browser.client.authenticate(res, credentials, artifacts)).to.equal(false);
1040
+ done();
1041
+ });
1042
+
1043
+ it('returns true on ignoring hash', function (done) {
1044
+
1045
+ var res = {
1046
+ headers: {
1047
+ 'content-type': 'text/plain',
1048
+ 'server-authorization': 'Hawk mac="XIJRsMl/4oL+nn+vKoeVZPdCHXB4yJkNnBbTbHFZUYE=", hash="f9cDF/TDm7TkYRLnGwRMfeDzT6LixQVLvrIKhh0vgmM=", ext="response-specific"'
1049
+ },
1050
+ getResponseHeader: function (header) {
1051
+
1052
+ return res.headers[header.toLowerCase()];
1053
+ }
1054
+ };
1055
+
1056
+ var artifacts = {
1057
+ method: 'POST',
1058
+ host: 'example.com',
1059
+ port: '8080',
1060
+ resource: '/resource/4?filter=a',
1061
+ ts: '1362336900',
1062
+ nonce: 'eb5S_L',
1063
+ hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
1064
+ ext: 'some-app-data',
1065
+ app: undefined,
1066
+ dlg: undefined,
1067
+ mac: 'BlmSe8K+pbKIb6YsZCnt4E1GrYvY1AaYayNR82dGpIk=',
1068
+ id: '123456'
1069
+ };
1070
+
1071
+ var credentials = {
1072
+ id: '123456',
1073
+ key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
1074
+ algorithm: 'sha256',
1075
+ user: 'steve'
1076
+ };
1077
+
1078
+ expect(Browser.client.authenticate(res, credentials, artifacts)).to.equal(true);
1079
+ done();
1080
+ });
1081
+
1082
+ it('errors on invalid WWW-Authenticate header format', function (done) {
1083
+
1084
+ var res = {
1085
+ headers: {
1086
+ 'www-authenticate': 'Hawk ts="1362346425875", tsm="PhwayS28vtnn3qbv0mqRBYSXebN/zggEtucfeZ620Zo=", x="Stale timestamp"'
1087
+ },
1088
+ getResponseHeader: function (header) {
1089
+
1090
+ return res.headers[header.toLowerCase()];
1091
+ }
1092
+ };
1093
+
1094
+ expect(Browser.client.authenticate(res, {})).to.equal(false);
1095
+ done();
1096
+ });
1097
+
1098
+ it('errors on invalid WWW-Authenticate header format', function (done) {
1099
+
1100
+ var credentials = {
1101
+ id: '123456',
1102
+ key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
1103
+ algorithm: 'sha256',
1104
+ user: 'steve'
1105
+ };
1106
+
1107
+ var res = {
1108
+ headers: {
1109
+ 'www-authenticate': 'Hawk ts="1362346425875", tsm="hwayS28vtnn3qbv0mqRBYSXebN/zggEtucfeZ620Zo=", error="Stale timestamp"'
1110
+ },
1111
+ getResponseHeader: function (header) {
1112
+
1113
+ return res.headers[header.toLowerCase()];
1114
+ }
1115
+ };
1116
+
1117
+ expect(Browser.client.authenticate(res, credentials)).to.equal(false);
1118
+ done();
1119
+ });
1120
+ });
1121
+
1122
+ describe('message()', function () {
1123
+
1124
+ it('generates an authorization then successfully parse it', function (done) {
1125
+
1126
+ credentialsFunc('123456', function (err, credentials) {
1127
+
1128
+ var auth = Browser.client.message('example.com', 8080, 'some message', { credentials: credentials });
1129
+ expect(auth).to.exist();
1130
+
1131
+ Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, {}, function (err, credentials) {
1132
+
1133
+ expect(err).to.not.exist();
1134
+ expect(credentials.user).to.equal('steve');
1135
+ done();
1136
+ });
1137
+ });
1138
+ });
1139
+
1140
+ it('generates an authorization using custom nonce/timestamp', function (done) {
1141
+
1142
+ credentialsFunc('123456', function (err, credentials) {
1143
+
1144
+ var auth = Browser.client.message('example.com', 8080, 'some message', { credentials: credentials, nonce: 'abc123', timestamp: 1398536270957 });
1145
+ expect(auth).to.exist();
1146
+ expect(auth.nonce).to.equal('abc123');
1147
+ expect(auth.ts).to.equal(1398536270957);
1148
+ done();
1149
+ });
1150
+ });
1151
+
1152
+ it('errors on missing host', function (done) {
1153
+
1154
+ credentialsFunc('123456', function (err, credentials) {
1155
+
1156
+ var auth = Browser.client.message(null, 8080, 'some message', { credentials: credentials });
1157
+ expect(auth).to.not.exist();
1158
+ done();
1159
+ });
1160
+ });
1161
+
1162
+ it('errors on invalid host', function (done) {
1163
+
1164
+ credentialsFunc('123456', function (err, credentials) {
1165
+
1166
+ var auth = Browser.client.message(5, 8080, 'some message', { credentials: credentials });
1167
+ expect(auth).to.not.exist();
1168
+ done();
1169
+ });
1170
+ });
1171
+
1172
+ it('errors on missing port', function (done) {
1173
+
1174
+ credentialsFunc('123456', function (err, credentials) {
1175
+
1176
+ var auth = Browser.client.message('example.com', 0, 'some message', { credentials: credentials });
1177
+ expect(auth).to.not.exist();
1178
+ done();
1179
+ });
1180
+ });
1181
+
1182
+ it('errors on invalid port', function (done) {
1183
+
1184
+ credentialsFunc('123456', function (err, credentials) {
1185
+
1186
+ var auth = Browser.client.message('example.com', 'a', 'some message', { credentials: credentials });
1187
+ expect(auth).to.not.exist();
1188
+ done();
1189
+ });
1190
+ });
1191
+
1192
+ it('errors on missing message', function (done) {
1193
+
1194
+ credentialsFunc('123456', function (err, credentials) {
1195
+
1196
+ var auth = Browser.client.message('example.com', 8080, undefined, { credentials: credentials });
1197
+ expect(auth).to.not.exist();
1198
+ done();
1199
+ });
1200
+ });
1201
+
1202
+ it('errors on null message', function (done) {
1203
+
1204
+ credentialsFunc('123456', function (err, credentials) {
1205
+
1206
+ var auth = Browser.client.message('example.com', 8080, null, { credentials: credentials });
1207
+ expect(auth).to.not.exist();
1208
+ done();
1209
+ });
1210
+ });
1211
+
1212
+ it('errors on invalid message', function (done) {
1213
+
1214
+ credentialsFunc('123456', function (err, credentials) {
1215
+
1216
+ var auth = Browser.client.message('example.com', 8080, 5, { credentials: credentials });
1217
+ expect(auth).to.not.exist();
1218
+ done();
1219
+ });
1220
+ });
1221
+
1222
+ it('errors on missing credentials', function (done) {
1223
+
1224
+ var auth = Browser.client.message('example.com', 8080, 'some message', {});
1225
+ expect(auth).to.not.exist();
1226
+ done();
1227
+ });
1228
+
1229
+ it('errors on missing options', function (done) {
1230
+
1231
+ var auth = Browser.client.message('example.com', 8080, 'some message');
1232
+ expect(auth).to.not.exist();
1233
+ done();
1234
+ });
1235
+
1236
+ it('errors on invalid credentials (id)', function (done) {
1237
+
1238
+ credentialsFunc('123456', function (err, credentials) {
1239
+
1240
+ var creds = Hoek.clone(credentials);
1241
+ delete creds.id;
1242
+ var auth = Browser.client.message('example.com', 8080, 'some message', { credentials: creds });
1243
+ expect(auth).to.not.exist();
1244
+ done();
1245
+ });
1246
+ });
1247
+
1248
+ it('errors on invalid credentials (key)', function (done) {
1249
+
1250
+ credentialsFunc('123456', function (err, credentials) {
1251
+
1252
+ var creds = Hoek.clone(credentials);
1253
+ delete creds.key;
1254
+ var auth = Browser.client.message('example.com', 8080, 'some message', { credentials: creds });
1255
+ expect(auth).to.not.exist();
1256
+ done();
1257
+ });
1258
+ });
1259
+
1260
+ it('errors on invalid algorithm', function (done) {
1261
+
1262
+ credentialsFunc('123456', function (err, credentials) {
1263
+
1264
+ var creds = Hoek.clone(credentials);
1265
+ creds.algorithm = 'blah';
1266
+ var auth = Browser.client.message('example.com', 8080, 'some message', { credentials: creds });
1267
+ expect(auth).to.not.exist();
1268
+ done();
1269
+ });
1270
+ });
1271
+ });
1272
+
1273
+ describe('authenticateTimestamp()', function (done) {
1274
+
1275
+ it('validates a timestamp', function (done) {
1276
+
1277
+ credentialsFunc('123456', function (err, credentials) {
1278
+
1279
+ var tsm = Hawk.crypto.timestampMessage(credentials);
1280
+ expect(Browser.client.authenticateTimestamp(tsm, credentials)).to.equal(true);
1281
+ done();
1282
+ });
1283
+ });
1284
+
1285
+ it('validates a timestamp without updating local time', function (done) {
1286
+
1287
+ credentialsFunc('123456', function (err, credentials) {
1288
+
1289
+ var offset = Browser.utils.getNtpOffset();
1290
+ var tsm = Hawk.crypto.timestampMessage(credentials, 10000);
1291
+ expect(Browser.client.authenticateTimestamp(tsm, credentials, false)).to.equal(true);
1292
+ expect(offset).to.equal(Browser.utils.getNtpOffset());
1293
+ done();
1294
+ });
1295
+ });
1296
+
1297
+ it('detects a bad timestamp', function (done) {
1298
+
1299
+ credentialsFunc('123456', function (err, credentials) {
1300
+
1301
+ var tsm = Hawk.crypto.timestampMessage(credentials);
1302
+ tsm.ts = 4;
1303
+ expect(Browser.client.authenticateTimestamp(tsm, credentials)).to.equal(false);
1304
+ done();
1305
+ });
1306
+ });
1307
+ });
1308
+ });
1309
+
1310
+ describe('internals', function () {
1311
+
1312
+ describe('LocalStorage', function () {
1313
+
1314
+ it('goes through the full lifecycle', function (done) {
1315
+
1316
+ var storage = new Browser.internals.LocalStorage();
1317
+ expect(storage.length).to.equal(0);
1318
+ expect(storage.getItem('a')).to.equal(null);
1319
+ storage.setItem('a', 5);
1320
+ expect(storage.length).to.equal(1);
1321
+ expect(storage.key()).to.equal('a');
1322
+ expect(storage.key(0)).to.equal('a');
1323
+ expect(storage.getItem('a')).to.equal('5');
1324
+ storage.setItem('b', 'test');
1325
+ expect(storage.key()).to.equal('a');
1326
+ expect(storage.key(0)).to.equal('a');
1327
+ expect(storage.key(1)).to.equal('b');
1328
+ expect(storage.length).to.equal(2);
1329
+ expect(storage.getItem('b')).to.equal('test');
1330
+ storage.removeItem('a');
1331
+ expect(storage.length).to.equal(1);
1332
+ expect(storage.getItem('a')).to.equal(null);
1333
+ expect(storage.getItem('b')).to.equal('test');
1334
+ storage.clear();
1335
+ expect(storage.length).to.equal(0);
1336
+ expect(storage.getItem('a')).to.equal(null);
1337
+ expect(storage.getItem('b')).to.equal(null);
1338
+ done();
1339
+ });
1340
+ });
1341
+ });
1342
+
1343
+ describe('utils', function () {
1344
+
1345
+ describe('setStorage()', function () {
1346
+
1347
+ it('sets storage for the first time', function (done) {
1348
+
1349
+ Browser.utils.storage = new Browser.internals.LocalStorage(); // Reset state
1350
+
1351
+ expect(Browser.utils.storage.getItem('hawk_ntp_offset')).to.not.exist();
1352
+ Browser.utils.storage.setItem('test', '1');
1353
+ Browser.utils.setStorage(new Browser.internals.LocalStorage());
1354
+ expect(Browser.utils.storage.getItem('test')).to.not.exist();
1355
+ Browser.utils.storage.setItem('test', '2');
1356
+ expect(Browser.utils.storage.getItem('test')).to.equal('2');
1357
+ done();
1358
+ });
1359
+ });
1360
+
1361
+ describe('setNtpOffset()', function (done) {
1362
+
1363
+ it('catches localStorage errors', { parallel: false }, function (done) {
1364
+
1365
+ var orig = Browser.utils.storage.setItem;
1366
+ var consoleOrig = console.error;
1367
+ var count = 0;
1368
+ console.error = function () {
1369
+
1370
+ if (count++ === 2) {
1371
+
1372
+ console.error = consoleOrig;
1373
+ }
1374
+ };
1375
+
1376
+ Browser.utils.storage.setItem = function () {
1377
+
1378
+ Browser.utils.storage.setItem = orig;
1379
+ throw new Error();
1380
+ };
1381
+
1382
+ expect(function () {
1383
+
1384
+ Browser.utils.setNtpOffset(100);
1385
+ }).not.to.throw();
1386
+
1387
+ done();
1388
+ });
1389
+ });
1390
+
1391
+ describe('parseAuthorizationHeader()', function (done) {
1392
+
1393
+ it('returns null on missing header', function (done) {
1394
+
1395
+ expect(Browser.utils.parseAuthorizationHeader()).to.equal(null);
1396
+ done();
1397
+ });
1398
+
1399
+ it('returns null on bad header syntax (structure)', function (done) {
1400
+
1401
+ expect(Browser.utils.parseAuthorizationHeader('Hawk')).to.equal(null);
1402
+ done();
1403
+ });
1404
+
1405
+ it('returns null on bad header syntax (parts)', function (done) {
1406
+
1407
+ expect(Browser.utils.parseAuthorizationHeader(' ')).to.equal(null);
1408
+ done();
1409
+ });
1410
+
1411
+ it('returns null on bad scheme name', function (done) {
1412
+
1413
+ expect(Browser.utils.parseAuthorizationHeader('Basic asdasd')).to.equal(null);
1414
+ done();
1415
+ });
1416
+
1417
+ it('returns null on bad attribute value', function (done) {
1418
+
1419
+ expect(Browser.utils.parseAuthorizationHeader('Hawk test="\t"', ['test'])).to.equal(null);
1420
+ done();
1421
+ });
1422
+
1423
+ it('returns null on duplicated attribute', function (done) {
1424
+
1425
+ expect(Browser.utils.parseAuthorizationHeader('Hawk test="a", test="b"', ['test'])).to.equal(null);
1426
+ done();
1427
+ });
1428
+ });
1429
+
1430
+ describe('parseUri()', function () {
1431
+
1432
+ it('returns empty port when unknown scheme', function (done) {
1433
+
1434
+ var uri = Browser.utils.parseUri('ftp://domain');
1435
+ expect(uri.port).to.equal('');
1436
+ done();
1437
+ });
1438
+
1439
+ it('returns default port when missing', function (done) {
1440
+
1441
+ var uri = Browser.utils.parseUri('http://');
1442
+ expect(uri.port).to.equal('80');
1443
+ done();
1444
+ });
1445
+ });
1446
+
1447
+ var str = 'https://www.google.ca/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=url';
1448
+ var base64str = 'aHR0cHM6Ly93d3cuZ29vZ2xlLmNhL3dlYmhwP3NvdXJjZWlkPWNocm9tZS1pbnN0YW50Jmlvbj0xJmVzcHY9MiZpZT1VVEYtOCNxPXVybA';
1449
+
1450
+ describe('base64urlEncode()', function () {
1451
+
1452
+ it('should base64 URL-safe decode a string', function (done) {
1453
+
1454
+ expect(Browser.utils.base64urlEncode(str)).to.equal(base64str);
1455
+ done();
1456
+ });
1457
+ });
1458
+ });
1459
+ });