fsevents 1.0.7 → 1.0.8

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 (322) hide show
  1. package/node_modules/ansi/History.md +7 -0
  2. package/node_modules/ansi/LICENSE +24 -0
  3. package/node_modules/ansi/lib/ansi.js +2 -2
  4. package/node_modules/ansi/package.json +15 -10
  5. package/node_modules/ansi-regex/package.json +1 -0
  6. package/node_modules/ansi-styles/package.json +1 -0
  7. package/node_modules/are-we-there-yet/.npmignore +2 -0
  8. package/node_modules/are-we-there-yet/index.js +20 -18
  9. package/node_modules/are-we-there-yet/package.json +15 -13
  10. package/node_modules/asn1/package.json +3 -1
  11. package/node_modules/assert-plus/README.md +50 -21
  12. package/node_modules/assert-plus/assert.js +168 -207
  13. package/node_modules/assert-plus/package.json +55 -15
  14. package/node_modules/async/README.md +86 -4
  15. package/node_modules/async/dist/async.js +4 -3
  16. package/node_modules/async/dist/async.min.js +1 -1
  17. package/node_modules/async/lib/async.js +4 -3
  18. package/node_modules/async/package.json +10 -10
  19. package/node_modules/aws-sign2/package.json +1 -0
  20. package/node_modules/aws4/.npmignore +3 -0
  21. package/node_modules/aws4/.tern-port +1 -0
  22. package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → aws4}/.travis.yml +2 -0
  23. package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md → aws4/LICENSE} +1 -3
  24. package/node_modules/aws4/README.md +510 -0
  25. package/node_modules/aws4/aws4.js +313 -0
  26. package/node_modules/aws4/example.js +372 -0
  27. package/node_modules/aws4/node_modules/lru-cache/.npmignore +1 -0
  28. package/node_modules/aws4/node_modules/lru-cache/.travis.yml +8 -0
  29. package/node_modules/aws4/node_modules/lru-cache/CONTRIBUTORS +14 -0
  30. package/node_modules/aws4/node_modules/lru-cache/README.md +137 -0
  31. package/node_modules/aws4/node_modules/lru-cache/lib/lru-cache.js +334 -0
  32. package/node_modules/aws4/node_modules/lru-cache/package.json +66 -0
  33. package/node_modules/aws4/node_modules/lru-cache/test/basic.js +396 -0
  34. package/node_modules/aws4/node_modules/lru-cache/test/foreach.js +120 -0
  35. package/node_modules/aws4/node_modules/lru-cache/test/memory-leak.js +51 -0
  36. package/node_modules/aws4/node_modules/lru-cache/test/serialize.js +216 -0
  37. package/node_modules/aws4/package.json +113 -0
  38. package/node_modules/bl/.travis.yml +5 -6
  39. package/node_modules/bl/bl.js +5 -0
  40. package/node_modules/bl/package.json +16 -13
  41. package/node_modules/bl/test/test.js +554 -6
  42. package/node_modules/block-stream/package.json +1 -0
  43. package/node_modules/boom/package.json +1 -0
  44. package/node_modules/caseless/package.json +1 -0
  45. package/node_modules/chalk/package.json +1 -0
  46. package/node_modules/combined-stream/package.json +1 -0
  47. package/node_modules/commander/package.json +1 -0
  48. package/node_modules/core-util-is/package.json +2 -2
  49. package/node_modules/cryptiles/package.json +1 -0
  50. package/node_modules/dashdash/README.md +70 -7
  51. package/node_modules/dashdash/etc/dashdash.bash_completion.in +388 -0
  52. package/node_modules/dashdash/lib/dashdash.js +202 -2
  53. package/node_modules/dashdash/package.json +12 -9
  54. package/node_modules/debug/.jshintrc +3 -0
  55. package/node_modules/debug/.npmignore +6 -0
  56. package/node_modules/debug/History.md +195 -0
  57. package/node_modules/debug/Makefile +36 -0
  58. package/node_modules/debug/Readme.md +86 -13
  59. package/node_modules/debug/bower.json +28 -0
  60. package/node_modules/debug/browser.js +168 -0
  61. package/node_modules/debug/component.json +19 -0
  62. package/node_modules/debug/debug.js +132 -72
  63. package/node_modules/debug/node.js +209 -0
  64. package/node_modules/debug/package.json +32 -22
  65. package/node_modules/deep-extend/README.md +51 -50
  66. package/node_modules/deep-extend/package.json +14 -16
  67. package/node_modules/delayed-stream/package.json +1 -0
  68. package/node_modules/delegates/History.md +6 -0
  69. package/node_modules/delegates/License +20 -0
  70. package/node_modules/delegates/package.json +17 -13
  71. package/node_modules/ecc-jsbn/package.json +3 -1
  72. package/node_modules/escape-string-regexp/package.json +2 -2
  73. package/node_modules/extend/package.json +1 -0
  74. package/node_modules/extsprintf/package.json +4 -2
  75. package/node_modules/forever-agent/package.json +1 -0
  76. package/node_modules/form-data/package.json +1 -0
  77. package/node_modules/fstream/package.json +1 -0
  78. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +1 -0
  79. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +1 -0
  80. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/package.json +1 -0
  81. package/node_modules/fstream-ignore/node_modules/minimatch/package.json +1 -0
  82. package/node_modules/fstream-ignore/package.json +3 -1
  83. package/node_modules/gauge/package.json +14 -12
  84. package/node_modules/gauge/progress-bar.js +4 -5
  85. package/node_modules/gauge/test/progress-bar.js +1 -1
  86. package/node_modules/generate-function/package.json +1 -0
  87. package/node_modules/generate-object-property/package.json +1 -0
  88. package/node_modules/graceful-fs/README.md +17 -0
  89. package/node_modules/graceful-fs/graceful-fs.js +2 -0
  90. package/node_modules/graceful-fs/package.json +16 -11
  91. package/node_modules/graceful-readlink/package.json +1 -0
  92. package/node_modules/har-validator/README.md +45 -122
  93. package/node_modules/har-validator/package.json +16 -16
  94. package/node_modules/has-ansi/package.json +1 -0
  95. package/node_modules/has-unicode/README.md +6 -3
  96. package/node_modules/has-unicode/index.js +7 -3
  97. package/node_modules/has-unicode/package.json +15 -13
  98. package/node_modules/has-unicode/test/index.js +1 -1
  99. package/node_modules/hawk/README.md +634 -634
  100. package/node_modules/hawk/bower.json +24 -24
  101. package/node_modules/hawk/component.json +18 -18
  102. package/node_modules/hawk/dist/client.js +343 -340
  103. package/node_modules/hawk/example/usage.js +78 -78
  104. package/node_modules/hawk/lib/browser.js +637 -637
  105. package/node_modules/hawk/lib/client.js +369 -369
  106. package/node_modules/hawk/lib/crypto.js +126 -126
  107. package/node_modules/hawk/lib/index.js +15 -15
  108. package/node_modules/hawk/lib/server.js +548 -540
  109. package/node_modules/hawk/lib/utils.js +184 -164
  110. package/node_modules/hawk/package.json +9 -8
  111. package/node_modules/hawk/test/browser.js +1492 -1492
  112. package/node_modules/hawk/test/client.js +440 -440
  113. package/node_modules/hawk/test/crypto.js +70 -70
  114. package/node_modules/hawk/test/index.js +378 -378
  115. package/node_modules/hawk/test/readme.js +95 -95
  116. package/node_modules/hawk/test/server.js +1329 -1302
  117. package/node_modules/hawk/test/uri.js +838 -838
  118. package/node_modules/hawk/test/utils.js +149 -121
  119. package/node_modules/hoek/package.json +1 -0
  120. package/node_modules/http-signature/CHANGES.md +7 -0
  121. package/node_modules/http-signature/http_signing.md +71 -3
  122. package/node_modules/http-signature/lib/signer.js +5 -0
  123. package/node_modules/http-signature/package.json +13 -11
  124. package/node_modules/ini/package.json +3 -1
  125. package/node_modules/is-my-json-valid/formats.js +1 -1
  126. package/node_modules/is-my-json-valid/package.json +11 -10
  127. package/node_modules/is-property/package.json +1 -0
  128. package/node_modules/is-typedarray/package.json +3 -1
  129. package/node_modules/isarray/package.json +2 -2
  130. package/node_modules/isstream/package.json +1 -0
  131. package/node_modules/jodid25519/package.json +3 -1
  132. package/node_modules/jsbn/package.json +3 -1
  133. package/node_modules/json-schema/package.json +2 -1
  134. package/node_modules/json-stringify-safe/package.json +1 -0
  135. package/node_modules/jsonpointer/package.json +1 -0
  136. package/node_modules/jsprim/package.json +3 -1
  137. package/node_modules/lodash._basetostring/package.json +4 -4
  138. package/node_modules/lodash._createpadding/package.json +3 -2
  139. package/node_modules/lodash._root/LICENSE +22 -0
  140. package/node_modules/lodash._root/README.md +18 -0
  141. package/node_modules/lodash._root/index.js +53 -0
  142. package/node_modules/lodash._root/package.json +77 -0
  143. package/node_modules/lodash.pad/LICENSE +2 -2
  144. package/node_modules/lodash.pad/README.md +4 -6
  145. package/node_modules/lodash.pad/index.js +347 -15
  146. package/node_modules/lodash.pad/package.json +20 -34
  147. package/node_modules/lodash.padleft/package.json +3 -1
  148. package/node_modules/lodash.padright/package.json +3 -1
  149. package/node_modules/lodash.repeat/LICENSE +2 -2
  150. package/node_modules/lodash.repeat/README.md +4 -6
  151. package/node_modules/lodash.repeat/index.js +262 -11
  152. package/node_modules/lodash.repeat/package.json +21 -34
  153. package/node_modules/mime-db/package.json +2 -2
  154. package/node_modules/mime-types/package.json +2 -2
  155. package/node_modules/ms/.npmignore +5 -0
  156. package/node_modules/{deep-extend → ms}/LICENSE +2 -2
  157. package/node_modules/ms/README.md +35 -0
  158. package/node_modules/ms/index.js +125 -0
  159. package/node_modules/ms/package.json +56 -0
  160. package/node_modules/node-pre-gyp/CHANGELOG.md +8 -0
  161. package/node_modules/node-pre-gyp/LICENSE +27 -0
  162. package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +36 -0
  163. package/node_modules/node-pre-gyp/package.json +23 -22
  164. package/node_modules/node-uuid/package.json +1 -0
  165. package/node_modules/npmlog/package.json +18 -16
  166. package/node_modules/oauth-sign/index.js +2 -0
  167. package/node_modules/oauth-sign/package.json +10 -9
  168. package/node_modules/once/README.md +18 -0
  169. package/node_modules/once/once.js +8 -6
  170. package/node_modules/once/package.json +20 -12
  171. package/node_modules/pinkie/index.js +3 -3
  172. package/node_modules/pinkie/package.json +10 -9
  173. package/node_modules/pinkie/readme.md +1 -1
  174. package/node_modules/pinkie-promise/package.json +1 -0
  175. package/node_modules/process-nextick-args/package.json +2 -2
  176. package/node_modules/qs/.eslintrc +17 -0
  177. package/node_modules/qs/.travis.yml +66 -5
  178. package/node_modules/qs/CHANGELOG.md +86 -75
  179. package/node_modules/qs/README.md +85 -81
  180. package/node_modules/qs/bower.json +1 -1
  181. package/node_modules/qs/component.json +1 -1
  182. package/node_modules/qs/dist/qs.js +108 -177
  183. package/node_modules/qs/lib/index.js +1 -7
  184. package/node_modules/qs/lib/parse.js +26 -49
  185. package/node_modules/qs/lib/stringify.js +22 -46
  186. package/node_modules/qs/lib/utils.js +45 -73
  187. package/node_modules/qs/package.json +51 -28
  188. package/node_modules/qs/test/index.js +5 -0
  189. package/node_modules/qs/test/parse.js +236 -321
  190. package/node_modules/qs/test/stringify.js +139 -197
  191. package/node_modules/qs/test/utils.js +6 -25
  192. package/node_modules/rc/node_modules/minimist/package.json +1 -0
  193. package/node_modules/rc/package.json +1 -0
  194. package/node_modules/readable-stream/package.json +1 -0
  195. package/node_modules/request/CHANGELOG.md +16 -1
  196. package/node_modules/request/README.md +1 -1
  197. package/node_modules/request/lib/har.js +3 -2
  198. package/node_modules/request/lib/multipart.js +3 -0
  199. package/node_modules/request/lib/tunnel.js +0 -2
  200. package/node_modules/request/package.json +20 -17
  201. package/node_modules/request/request.js +50 -26
  202. package/node_modules/rimraf/README.md +1 -1
  203. package/node_modules/rimraf/node_modules/glob/README.md +2 -2
  204. package/node_modules/rimraf/node_modules/glob/glob.js +14 -1
  205. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +1 -0
  206. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json +1 -0
  207. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +2 -1
  208. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +1 -0
  209. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +1 -0
  210. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +1 -0
  211. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json +1 -0
  212. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +1 -0
  213. package/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +1 -0
  214. package/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/package.json +1 -0
  215. package/node_modules/rimraf/node_modules/glob/package.json +11 -11
  216. package/node_modules/rimraf/package.json +13 -12
  217. package/node_modules/semver/package.json +3 -1
  218. package/node_modules/sntp/package.json +1 -0
  219. package/node_modules/sshpk/.npmignore +1 -0
  220. package/node_modules/sshpk/bin/sshpk-sign +176 -0
  221. package/node_modules/sshpk/bin/sshpk-verify +166 -0
  222. package/node_modules/sshpk/lib/ed-compat.js +2 -0
  223. package/node_modules/sshpk/lib/key.js +6 -0
  224. package/node_modules/sshpk/man/man1/sshpk-conv.1 +135 -0
  225. package/node_modules/sshpk/man/man1/sshpk-sign.1 +81 -0
  226. package/node_modules/sshpk/man/man1/sshpk-verify.1 +68 -0
  227. package/node_modules/sshpk/package.json +18 -9
  228. package/node_modules/string_decoder/package.json +2 -2
  229. package/node_modules/stringstream/package.json +1 -0
  230. package/node_modules/strip-ansi/package.json +1 -0
  231. package/node_modules/strip-json-comments/package.json +1 -0
  232. package/node_modules/supports-color/package.json +1 -0
  233. package/node_modules/tar/package.json +1 -0
  234. package/node_modules/tar-pack/README.md +2 -2
  235. package/node_modules/tar-pack/package.json +25 -26
  236. package/node_modules/tough-cookie/package.json +1 -0
  237. package/node_modules/tunnel-agent/package.json +1 -0
  238. package/node_modules/tweetnacl/README.md +1 -1
  239. package/node_modules/tweetnacl/package.json +13 -11
  240. package/node_modules/uid-number/package.json +14 -13
  241. package/node_modules/uid-number/uid-number.js +9 -4
  242. package/node_modules/util-deprecate/package.json +2 -2
  243. package/node_modules/verror/package.json +1 -0
  244. package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy → wrappy}/package.json +3 -2
  245. package/node_modules/xtend/package.json +1 -0
  246. package/package.json +2 -2
  247. package/node_modules/are-we-there-yet/README.md~ +0 -183
  248. package/node_modules/bl/test/basic-test.js +0 -541
  249. package/node_modules/bl/test/sauce.js +0 -38
  250. package/node_modules/debug/index.js +0 -5
  251. package/node_modules/debug/lib/debug.js +0 -147
  252. package/node_modules/deep-extend/test/index.spec.js +0 -220
  253. package/node_modules/deep-extend/test/mocha.opts +0 -1
  254. package/node_modules/gauge/README.md~ +0 -161
  255. package/node_modules/has-unicode/README.md~ +0 -4
  256. package/node_modules/once/LICENSE +0 -27
  257. package/node_modules/once/test/once.js +0 -18
  258. package/node_modules/sshpk/node_modules/assert-plus/README.md +0 -155
  259. package/node_modules/sshpk/node_modules/assert-plus/assert.js +0 -206
  260. package/node_modules/sshpk/node_modules/assert-plus/package.json +0 -88
  261. package/node_modules/tar-pack/node_modules/rimraf/README.md +0 -43
  262. package/node_modules/tar-pack/node_modules/rimraf/bin.js +0 -40
  263. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/README.md +0 -359
  264. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/common.js +0 -226
  265. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/glob.js +0 -752
  266. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/.eslintrc +0 -17
  267. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/README.md +0 -37
  268. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/inflight.js +0 -44
  269. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +0 -58
  270. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json +0 -67
  271. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/test.js +0 -97
  272. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE +0 -16
  273. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md +0 -42
  274. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js +0 -1
  275. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js +0 -23
  276. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +0 -58
  277. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js +0 -25
  278. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md +0 -216
  279. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js +0 -912
  280. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore +0 -3
  281. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -122
  282. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +0 -8
  283. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -191
  284. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +0 -2
  285. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +0 -6
  286. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +0 -89
  287. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +0 -5
  288. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +0 -50
  289. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +0 -79
  290. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +0 -84
  291. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml +0 -4
  292. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE +0 -18
  293. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +0 -62
  294. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +0 -6
  295. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +0 -13
  296. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +0 -90
  297. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +0 -39
  298. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -81
  299. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json +0 -66
  300. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/README.md +0 -51
  301. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE +0 -15
  302. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +0 -36
  303. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +0 -51
  304. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +0 -33
  305. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/once.js +0 -21
  306. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +0 -70
  307. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/index.js +0 -20
  308. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/package.json +0 -78
  309. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/readme.md +0 -51
  310. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/package.json +0 -79
  311. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/sync.js +0 -460
  312. package/node_modules/tar-pack/node_modules/rimraf/package.json +0 -69
  313. package/node_modules/tar-pack/node_modules/rimraf/rimraf.js +0 -333
  314. package/node_modules/uid-number/LICENCE +0 -25
  315. /package/node_modules/{sshpk/node_modules/assert-plus → assert-plus}/AUTHORS +0 -0
  316. /package/node_modules/{sshpk/node_modules/assert-plus → assert-plus}/CHANGES.md +0 -0
  317. /package/node_modules/{tar-pack/node_modules/rimraf → aws4/node_modules/lru-cache}/LICENSE +0 -0
  318. /package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight → uid-number}/LICENSE +0 -0
  319. /package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy → wrappy}/LICENSE +0 -0
  320. /package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy → wrappy}/README.md +0 -0
  321. /package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy → wrappy}/test/basic.js +0 -0
  322. /package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy → wrappy}/wrappy.js +0 -0
@@ -0,0 +1,313 @@
1
+ var aws4 = exports,
2
+ url = require('url'),
3
+ querystring = require('querystring'),
4
+ crypto = require('crypto'),
5
+ lru = require('lru-cache'),
6
+ credentialsCache = lru(1000)
7
+
8
+ // http://docs.amazonwebservices.com/general/latest/gr/signature-version-4.html
9
+
10
+ function hmac(key, string, encoding) {
11
+ return crypto.createHmac('sha256', key).update(string, 'utf8').digest(encoding)
12
+ }
13
+
14
+ function hash(string, encoding) {
15
+ return crypto.createHash('sha256').update(string, 'utf8').digest(encoding)
16
+ }
17
+
18
+ // This function assumes the string has already been percent encoded
19
+ function encodeRfc3986(urlEncodedString) {
20
+ return urlEncodedString.replace(/[!'()*]/g, function(c) {
21
+ return '%' + c.charCodeAt(0).toString(16).toUpperCase()
22
+ })
23
+ }
24
+
25
+ // request: { path | body, [host], [method], [headers], [service], [region] }
26
+ // credentials: { accessKeyId, secretAccessKey, [sessionToken] }
27
+ function RequestSigner(request, credentials) {
28
+
29
+ if (typeof request === 'string') request = url.parse(request)
30
+
31
+ var headers = request.headers = (request.headers || {}),
32
+ hostParts = this.matchHost(request.hostname || request.host || headers.Host || headers.host)
33
+
34
+ this.request = request
35
+ this.credentials = credentials || this.defaultCredentials()
36
+
37
+ this.service = request.service || hostParts[0] || ''
38
+ this.region = request.region || hostParts[1] || 'us-east-1'
39
+
40
+ // SES uses a different domain from the service name
41
+ if (this.service === 'email') this.service = 'ses'
42
+
43
+ if (!request.method && request.body)
44
+ request.method = 'POST'
45
+
46
+ if (!headers.Host && !headers.host)
47
+ headers.Host = request.hostname || request.host || this.createHost()
48
+ if (!request.hostname && !request.host)
49
+ request.hostname = headers.Host || headers.host
50
+ }
51
+
52
+ RequestSigner.prototype.matchHost = function(host) {
53
+ var match = (host || '').match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com$/)
54
+ var hostParts = (match || []).slice(1, 3)
55
+
56
+ // ES's hostParts are sometimes the other way round, if the value that is expected
57
+ // to be region equals ‘es’ switch them back
58
+ // e.g. search-cluster-name-aaaa00aaaa0aaa0aaaaaaa0aaa.us-east-1.es.amazonaws.com
59
+ if (hostParts[1] === 'es')
60
+ hostParts = hostParts.reverse()
61
+
62
+ return hostParts
63
+ }
64
+
65
+ // http://docs.aws.amazon.com/general/latest/gr/rande.html
66
+ RequestSigner.prototype.isSingleRegion = function() {
67
+ // Special case for S3 and SimpleDB in us-east-1
68
+ if (['s3', 'sdb'].indexOf(this.service) >= 0 && this.region === 'us-east-1') return true
69
+
70
+ return ['cloudfront', 'ls', 'route53', 'iam', 'importexport', 'sts']
71
+ .indexOf(this.service) >= 0
72
+ }
73
+
74
+ RequestSigner.prototype.createHost = function() {
75
+ var region = this.isSingleRegion() ? '' :
76
+ (this.service === 's3' && this.region !== 'us-east-1' ? '-' : '.') + this.region,
77
+ service = this.service === 'ses' ? 'email' : this.service
78
+ return service + region + '.amazonaws.com'
79
+ }
80
+
81
+ RequestSigner.prototype.prepareRequest = function() {
82
+ this.parsePath()
83
+
84
+ var request = this.request, headers = request.headers, query
85
+
86
+ if (request.signQuery) {
87
+
88
+ this.parsedPath.query = query = this.parsedPath.query || {}
89
+
90
+ if (this.credentials.sessionToken)
91
+ query['X-Amz-Security-Token'] = this.credentials.sessionToken
92
+
93
+ if (this.service === 's3' && !query['X-Amz-Expires'])
94
+ query['X-Amz-Expires'] = 86400
95
+
96
+ if (query['X-Amz-Date'])
97
+ this.datetime = query['X-Amz-Date']
98
+ else
99
+ query['X-Amz-Date'] = this.getDateTime()
100
+
101
+ query['X-Amz-Algorithm'] = 'AWS4-HMAC-SHA256'
102
+ query['X-Amz-Credential'] = this.credentials.accessKeyId + '/' + this.credentialString()
103
+ query['X-Amz-SignedHeaders'] = this.signedHeaders()
104
+
105
+ } else {
106
+
107
+ if (!request.doNotModifyHeaders) {
108
+ if (request.body && !headers['Content-Type'] && !headers['content-type'])
109
+ headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=utf-8'
110
+
111
+ if (request.body && !headers['Content-Length'] && !headers['content-length'])
112
+ headers['Content-Length'] = Buffer.byteLength(request.body)
113
+
114
+ if (this.credentials.sessionToken)
115
+ headers['X-Amz-Security-Token'] = this.credentials.sessionToken
116
+
117
+ if (this.service === 's3')
118
+ headers['X-Amz-Content-Sha256'] = hash(this.request.body || '', 'hex')
119
+
120
+ if (headers['X-Amz-Date'])
121
+ this.datetime = headers['X-Amz-Date']
122
+ else
123
+ headers['X-Amz-Date'] = this.getDateTime()
124
+ }
125
+
126
+ delete headers.Authorization
127
+ delete headers.authorization
128
+ }
129
+ }
130
+
131
+ RequestSigner.prototype.sign = function() {
132
+ if (!this.parsedPath) this.prepareRequest()
133
+
134
+ if (this.request.signQuery) {
135
+ this.parsedPath.query['X-Amz-Signature'] = this.signature()
136
+ } else {
137
+ this.request.headers.Authorization = this.authHeader()
138
+ }
139
+
140
+ this.request.path = this.formatPath()
141
+
142
+ return this.request
143
+ }
144
+
145
+ RequestSigner.prototype.getDateTime = function() {
146
+ if (!this.datetime) {
147
+ var headers = this.request.headers,
148
+ date = new Date(headers.Date || headers.date || new Date)
149
+
150
+ this.datetime = date.toISOString().replace(/[:\-]|\.\d{3}/g, '')
151
+ }
152
+ return this.datetime
153
+ }
154
+
155
+ RequestSigner.prototype.getDate = function() {
156
+ return this.getDateTime().substr(0, 8)
157
+ }
158
+
159
+ RequestSigner.prototype.authHeader = function() {
160
+ return [
161
+ 'AWS4-HMAC-SHA256 Credential=' + this.credentials.accessKeyId + '/' + this.credentialString(),
162
+ 'SignedHeaders=' + this.signedHeaders(),
163
+ 'Signature=' + this.signature(),
164
+ ].join(', ')
165
+ }
166
+
167
+ RequestSigner.prototype.signature = function() {
168
+ var date = this.getDate(),
169
+ cacheKey = [this.credentials.secretAccessKey, date, this.region, this.service].join(),
170
+ kDate, kRegion, kService, kCredentials = credentialsCache.get(cacheKey)
171
+ if (!kCredentials) {
172
+ kDate = hmac('AWS4' + this.credentials.secretAccessKey, date)
173
+ kRegion = hmac(kDate, this.region)
174
+ kService = hmac(kRegion, this.service)
175
+ kCredentials = hmac(kService, 'aws4_request')
176
+ credentialsCache.set(cacheKey, kCredentials)
177
+ }
178
+ return hmac(kCredentials, this.stringToSign(), 'hex')
179
+ }
180
+
181
+ RequestSigner.prototype.stringToSign = function() {
182
+ return [
183
+ 'AWS4-HMAC-SHA256',
184
+ this.getDateTime(),
185
+ this.credentialString(),
186
+ hash(this.canonicalString(), 'hex'),
187
+ ].join('\n')
188
+ }
189
+
190
+ RequestSigner.prototype.canonicalString = function() {
191
+ if (!this.parsedPath) this.prepareRequest()
192
+
193
+ var pathStr = this.parsedPath.path,
194
+ query = this.parsedPath.query,
195
+ queryStr = '',
196
+ normalizePath = this.service !== 's3',
197
+ decodePath = this.service === 's3' || this.request.doNotEncodePath,
198
+ decodeSlashesInPath = this.service === 's3',
199
+ firstValOnly = this.service === 's3',
200
+ bodyHash = this.service === 's3' && this.request.signQuery ?
201
+ 'UNSIGNED-PAYLOAD' : hash(this.request.body || '', 'hex')
202
+
203
+ if (query) {
204
+ queryStr = encodeRfc3986(querystring.stringify(Object.keys(query).sort().reduce(function(obj, key) {
205
+ if (!key) return obj
206
+ obj[key] = !Array.isArray(query[key]) ? query[key] :
207
+ (firstValOnly ? query[key][0] : query[key].slice().sort())
208
+ return obj
209
+ }, {})))
210
+ }
211
+ if (pathStr !== '/') {
212
+ if (normalizePath) pathStr = pathStr.replace(/\/{2,}/g, '/')
213
+ if (pathStr[0] === '/') pathStr = pathStr.slice(1)
214
+ pathStr = '/' + pathStr.split('/').reduce(function(path, piece) {
215
+ if (normalizePath && piece === '..') {
216
+ path.pop()
217
+ } else if (!normalizePath || piece !== '.') {
218
+ if (decodePath) piece = querystring.unescape(piece)
219
+ path.push(encodeRfc3986(querystring.escape(piece)))
220
+ }
221
+ return path
222
+ }, []).join('/')
223
+ if (decodeSlashesInPath) pathStr = pathStr.replace(/%2F/g, '/')
224
+ }
225
+
226
+ return [
227
+ this.request.method || 'GET',
228
+ pathStr,
229
+ queryStr,
230
+ this.canonicalHeaders() + '\n',
231
+ this.signedHeaders(),
232
+ bodyHash,
233
+ ].join('\n')
234
+ }
235
+
236
+ RequestSigner.prototype.canonicalHeaders = function() {
237
+ var headers = this.request.headers
238
+ function trimAll(header) {
239
+ return header.toString().trim().replace(/\s+/g, ' ')
240
+ }
241
+ return Object.keys(headers)
242
+ .sort(function(a, b) { return a.toLowerCase() < b.toLowerCase() ? -1 : 1 })
243
+ .map(function(key) { return key.toLowerCase() + ':' + trimAll(headers[key]) })
244
+ .join('\n')
245
+ }
246
+
247
+ RequestSigner.prototype.signedHeaders = function() {
248
+ return Object.keys(this.request.headers)
249
+ .map(function(key) { return key.toLowerCase() })
250
+ .sort()
251
+ .join(';')
252
+ }
253
+
254
+ RequestSigner.prototype.credentialString = function() {
255
+ return [
256
+ this.getDate(),
257
+ this.region,
258
+ this.service,
259
+ 'aws4_request',
260
+ ].join('/')
261
+ }
262
+
263
+ RequestSigner.prototype.defaultCredentials = function() {
264
+ var env = process.env
265
+ return {
266
+ accessKeyId: env.AWS_ACCESS_KEY_ID || env.AWS_ACCESS_KEY,
267
+ secretAccessKey: env.AWS_SECRET_ACCESS_KEY || env.AWS_SECRET_KEY,
268
+ sessionToken: env.AWS_SESSION_TOKEN,
269
+ }
270
+ }
271
+
272
+ RequestSigner.prototype.parsePath = function() {
273
+ var path = this.request.path || '/',
274
+ queryIx = path.indexOf('?'),
275
+ query = null
276
+
277
+ if (queryIx >= 0) {
278
+ query = querystring.parse(path.slice(queryIx + 1))
279
+ path = path.slice(0, queryIx)
280
+ }
281
+
282
+ // S3 doesn't always encode characters > 127 correctly and
283
+ // all services don't encode characters > 255 correctly
284
+ // So if there are non-reserved chars (and it's not already all % encoded), just encode them all
285
+ if (/[^0-9A-Za-z!'()*\-._~%/]/.test(path)) {
286
+ path = path.split('/').map(function(piece) {
287
+ return querystring.escape(querystring.unescape(piece))
288
+ }).join('/')
289
+ }
290
+
291
+ this.parsedPath = {
292
+ path: path,
293
+ query: query,
294
+ }
295
+ }
296
+
297
+ RequestSigner.prototype.formatPath = function() {
298
+ var path = this.parsedPath.path,
299
+ query = this.parsedPath.query
300
+
301
+ if (!query) return path
302
+
303
+ // Services don't support empty query string keys
304
+ if (query[''] != null) delete query['']
305
+
306
+ return path + '?' + encodeRfc3986(querystring.stringify(query))
307
+ }
308
+
309
+ aws4.RequestSigner = RequestSigner
310
+
311
+ aws4.sign = function(request, credentials) {
312
+ return new RequestSigner(request, credentials).sign()
313
+ }
@@ -0,0 +1,372 @@
1
+ var http = require('http'),
2
+ https = require('https'),
3
+ aws4 = require('aws4')
4
+
5
+ // given an options object you could pass to http.request
6
+ var opts = {host: 'sqs.us-east-1.amazonaws.com', path: '/?Action=ListQueues'}
7
+
8
+ // alternatively (as aws4 can infer the host):
9
+ opts = {service: 'sqs', region: 'us-east-1', path: '/?Action=ListQueues'}
10
+
11
+ // alternatively (as us-east-1 is default):
12
+ opts = {service: 'sqs', path: '/?Action=ListQueues'}
13
+
14
+ aws4.sign(opts) // assumes AWS credentials are available in process.env
15
+
16
+ console.log(opts)
17
+ /*
18
+ {
19
+ host: 'sqs.us-east-1.amazonaws.com',
20
+ path: '/?Action=ListQueues',
21
+ headers: {
22
+ Host: 'sqs.us-east-1.amazonaws.com',
23
+ 'X-Amz-Date': '20121226T061030Z',
24
+ Authorization: 'AWS4-HMAC-SHA256 Credential=ABCDEF/20121226/us-east-1/sqs/aws4_request, ...'
25
+ }
26
+ }
27
+ */
28
+
29
+ // we can now use this to query AWS using the standard node.js http API
30
+ http.request(opts, function(res) { res.pipe(process.stdout) }).end()
31
+ /*
32
+ <?xml version="1.0"?>
33
+ <ListQueuesResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/">
34
+ ...
35
+ */
36
+
37
+ // you can also pass AWS credentials in explicitly (otherwise taken from process.env)
38
+ aws4.sign(opts, {accessKeyId: '', secretAccessKey: ''})
39
+
40
+ // can also add the signature to query strings
41
+ aws4.sign({service: 's3', path: '/my-bucket?X-Amz-Expires=12345', signQuery: true})
42
+
43
+ // create a utility function to pipe to stdout (with https this time)
44
+ function request(o) { https.request(o, function(res) { res.pipe(process.stdout) }).end(o.body || '') }
45
+
46
+ // aws4 can infer the HTTP method if a body is passed in
47
+ // method will be POST and Content-Type: 'application/x-www-form-urlencoded; charset=utf-8'
48
+ request(aws4.sign({service: 'iam', body: 'Action=ListGroups&Version=2010-05-08'}))
49
+ /*
50
+ <ListGroupsResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
51
+ ...
52
+ */
53
+
54
+ // can specify any custom option or header as per usual
55
+ request(aws4.sign({
56
+ service: 'dynamodb',
57
+ region: 'ap-southeast-2',
58
+ method: 'POST',
59
+ path: '/',
60
+ headers: {
61
+ 'Content-Type': 'application/x-amz-json-1.0',
62
+ 'X-Amz-Target': 'DynamoDB_20120810.ListTables'
63
+ },
64
+ body: '{}'
65
+ }))
66
+ /*
67
+ {"TableNames":[]}
68
+ ...
69
+ */
70
+
71
+ // works with all other services that support Signature Version 4
72
+
73
+ request(aws4.sign({service: 's3', path: '/', signQuery: true}))
74
+ /*
75
+ <ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
76
+ ...
77
+ */
78
+
79
+ request(aws4.sign({service: 'ec2', path: '/?Action=DescribeRegions&Version=2014-06-15'}))
80
+ /*
81
+ <DescribeRegionsResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
82
+ ...
83
+ */
84
+
85
+ request(aws4.sign({service: 'sns', path: '/?Action=ListTopics&Version=2010-03-31'}))
86
+ /*
87
+ <ListTopicsResponse xmlns="http://sns.amazonaws.com/doc/2010-03-31/">
88
+ ...
89
+ */
90
+
91
+ request(aws4.sign({service: 'sts', path: '/?Action=GetSessionToken&Version=2011-06-15'}))
92
+ /*
93
+ <GetSessionTokenResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
94
+ ...
95
+ */
96
+
97
+ request(aws4.sign({service: 'cloudsearch', path: '/?Action=ListDomainNames&Version=2013-01-01'}))
98
+ /*
99
+ <ListDomainNamesResponse xmlns="http://cloudsearch.amazonaws.com/doc/2013-01-01/">
100
+ ...
101
+ */
102
+
103
+ request(aws4.sign({service: 'ses', path: '/?Action=ListIdentities&Version=2010-12-01'}))
104
+ /*
105
+ <ListIdentitiesResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/">
106
+ ...
107
+ */
108
+
109
+ request(aws4.sign({service: 'autoscaling', path: '/?Action=DescribeAutoScalingInstances&Version=2011-01-01'}))
110
+ /*
111
+ <DescribeAutoScalingInstancesResponse xmlns="http://autoscaling.amazonaws.com/doc/2011-01-01/">
112
+ ...
113
+ */
114
+
115
+ request(aws4.sign({service: 'elasticloadbalancing', path: '/?Action=DescribeLoadBalancers&Version=2012-06-01'}))
116
+ /*
117
+ <DescribeLoadBalancersResponse xmlns="http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/">
118
+ ...
119
+ */
120
+
121
+ request(aws4.sign({service: 'cloudformation', path: '/?Action=ListStacks&Version=2010-05-15'}))
122
+ /*
123
+ <ListStacksResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/">
124
+ ...
125
+ */
126
+
127
+ request(aws4.sign({service: 'elasticbeanstalk', path: '/?Action=ListAvailableSolutionStacks&Version=2010-12-01'}))
128
+ /*
129
+ <ListAvailableSolutionStacksResponse xmlns="http://elasticbeanstalk.amazonaws.com/docs/2010-12-01/">
130
+ ...
131
+ */
132
+
133
+ request(aws4.sign({service: 'rds', path: '/?Action=DescribeDBInstances&Version=2012-09-17'}))
134
+ /*
135
+ <DescribeDBInstancesResponse xmlns="http://rds.amazonaws.com/doc/2012-09-17/">
136
+ ...
137
+ */
138
+
139
+ request(aws4.sign({service: 'monitoring', path: '/?Action=ListMetrics&Version=2010-08-01'}))
140
+ /*
141
+ <ListMetricsResponse xmlns="http://monitoring.amazonaws.com/doc/2010-08-01/">
142
+ ...
143
+ */
144
+
145
+ request(aws4.sign({service: 'redshift', path: '/?Action=DescribeClusters&Version=2012-12-01'}))
146
+ /*
147
+ <DescribeClustersResponse xmlns="http://redshift.amazonaws.com/doc/2012-12-01/">
148
+ ...
149
+ */
150
+
151
+ request(aws4.sign({service: 'cloudfront', path: '/2014-05-31/distribution'}))
152
+ /*
153
+ <DistributionList xmlns="http://cloudfront.amazonaws.com/doc/2014-05-31/">
154
+ ...
155
+ */
156
+
157
+ request(aws4.sign({service: 'elasticache', path: '/?Action=DescribeCacheClusters&Version=2014-07-15'}))
158
+ /*
159
+ <DescribeCacheClustersResponse xmlns="http://elasticache.amazonaws.com/doc/2014-07-15/">
160
+ ...
161
+ */
162
+
163
+ request(aws4.sign({service: 'elasticmapreduce', path: '/?Action=DescribeJobFlows&Version=2009-03-31'}))
164
+ /*
165
+ <DescribeJobFlowsResponse xmlns="http://elasticmapreduce.amazonaws.com/doc/2009-03-31">
166
+ ...
167
+ */
168
+
169
+ request(aws4.sign({service: 'route53', path: '/2013-04-01/hostedzone'}))
170
+ /*
171
+ <ListHostedZonesResponse xmlns="https://route53.amazonaws.com/doc/2013-04-01/">
172
+ ...
173
+ */
174
+
175
+ request(aws4.sign({service: 'appstream', path: '/applications'}))
176
+ /*
177
+ {"_links":{"curie":[{"href":"http://docs.aws.amazon.com/appstream/latest/...
178
+ ...
179
+ */
180
+
181
+ request(aws4.sign({service: 'cognito-sync', path: '/identitypools'}))
182
+ /*
183
+ {"Count":0,"IdentityPoolUsages":[],"MaxResults":16,"NextToken":null}
184
+ ...
185
+ */
186
+
187
+ request(aws4.sign({service: 'elastictranscoder', path: '/2012-09-25/pipelines'}))
188
+ /*
189
+ {"NextPageToken":null,"Pipelines":[]}
190
+ ...
191
+ */
192
+
193
+ request(aws4.sign({service: 'lambda', path: '/2014-11-13/functions/'}))
194
+ /*
195
+ {"Functions":[],"NextMarker":null}
196
+ ...
197
+ */
198
+
199
+ request(aws4.sign({service: 'ecs', path: '/?Action=ListClusters&Version=2014-11-13'}))
200
+ /*
201
+ <ListClustersResponse xmlns="http://ecs.amazonaws.com/doc/2014-11-13/">
202
+ ...
203
+ */
204
+
205
+ request(aws4.sign({service: 'glacier', path: '/-/vaults', headers: {'X-Amz-Glacier-Version': '2012-06-01'}}))
206
+ /*
207
+ {"Marker":null,"VaultList":[]}
208
+ ...
209
+ */
210
+
211
+ request(aws4.sign({service: 'storagegateway', body: '{}', headers: {
212
+ 'Content-Type': 'application/x-amz-json-1.1',
213
+ 'X-Amz-Target': 'StorageGateway_20120630.ListGateways'
214
+ }}))
215
+ /*
216
+ {"Gateways":[]}
217
+ ...
218
+ */
219
+
220
+ request(aws4.sign({service: 'datapipeline', body: '{}', headers: {
221
+ 'Content-Type': 'application/x-amz-json-1.1',
222
+ 'X-Amz-Target': 'DataPipeline.ListPipelines'
223
+ }}))
224
+ /*
225
+ {"hasMoreResults":false,"pipelineIdList":[]}
226
+ ...
227
+ */
228
+
229
+ request(aws4.sign({service: 'opsworks', body: '{}', headers: {
230
+ 'Content-Type': 'application/x-amz-json-1.1',
231
+ 'X-Amz-Target': 'OpsWorks_20130218.DescribeStacks'
232
+ }}))
233
+ /*
234
+ {"Stacks":[]}
235
+ ...
236
+ */
237
+
238
+ request(aws4.sign({service: 'route53domains', body: '{}', headers: {
239
+ 'Content-Type': 'application/x-amz-json-1.1',
240
+ 'X-Amz-Target': 'Route53Domains_v20140515.ListDomains'
241
+ }}))
242
+ /*
243
+ {"Domains":[]}
244
+ ...
245
+ */
246
+
247
+ request(aws4.sign({service: 'kinesis', body: '{}', headers: {
248
+ 'Content-Type': 'application/x-amz-json-1.1',
249
+ 'X-Amz-Target': 'Kinesis_20131202.ListStreams'
250
+ }}))
251
+ /*
252
+ {"HasMoreStreams":false,"StreamNames":[]}
253
+ ...
254
+ */
255
+
256
+ request(aws4.sign({service: 'cloudtrail', body: '{}', headers: {
257
+ 'Content-Type': 'application/x-amz-json-1.1',
258
+ 'X-Amz-Target': 'CloudTrail_20131101.DescribeTrails'
259
+ }}))
260
+ /*
261
+ {"trailList":[]}
262
+ ...
263
+ */
264
+
265
+ request(aws4.sign({service: 'logs', body: '{}', headers: {
266
+ 'Content-Type': 'application/x-amz-json-1.1',
267
+ 'X-Amz-Target': 'Logs_20140328.DescribeLogGroups'
268
+ }}))
269
+ /*
270
+ {"logGroups":[]}
271
+ ...
272
+ */
273
+
274
+ request(aws4.sign({service: 'codedeploy', body: '{}', headers: {
275
+ 'Content-Type': 'application/x-amz-json-1.1',
276
+ 'X-Amz-Target': 'CodeDeploy_20141006.ListApplications'
277
+ }}))
278
+ /*
279
+ {"applications":[]}
280
+ ...
281
+ */
282
+
283
+ request(aws4.sign({service: 'directconnect', body: '{}', headers: {
284
+ 'Content-Type': 'application/x-amz-json-1.1',
285
+ 'X-Amz-Target': 'OvertureService.DescribeConnections'
286
+ }}))
287
+ /*
288
+ {"connections":[]}
289
+ ...
290
+ */
291
+
292
+ request(aws4.sign({service: 'kms', body: '{}', headers: {
293
+ 'Content-Type': 'application/x-amz-json-1.1',
294
+ 'X-Amz-Target': 'TrentService.ListKeys'
295
+ }}))
296
+ /*
297
+ {"Keys":[],"Truncated":false}
298
+ ...
299
+ */
300
+
301
+ request(aws4.sign({service: 'config', body: '{}', headers: {
302
+ 'Content-Type': 'application/x-amz-json-1.1',
303
+ 'X-Amz-Target': 'StarlingDoveService.DescribeDeliveryChannels'
304
+ }}))
305
+ /*
306
+ {"DeliveryChannels":[]}
307
+ ...
308
+ */
309
+
310
+ request(aws4.sign({service: 'cloudhsm', body: '{}', headers: {
311
+ 'Content-Type': 'application/x-amz-json-1.1',
312
+ 'X-Amz-Target': 'CloudHsmFrontendService.ListAvailableZones'
313
+ }}))
314
+ /*
315
+ {"AZList":["us-east-1a","us-east-1b","us-east-1c"]}
316
+ ...
317
+ */
318
+
319
+ request(aws4.sign({
320
+ service: 'swf',
321
+ body: '{"registrationStatus":"REGISTERED"}',
322
+ headers: {
323
+ 'Content-Type': 'application/x-amz-json-1.0',
324
+ 'X-Amz-Target': 'SimpleWorkflowService.ListDomains'
325
+ }
326
+ }))
327
+ /*
328
+ {"domainInfos":[]}
329
+ ...
330
+ */
331
+
332
+ request(aws4.sign({
333
+ service: 'cognito-identity',
334
+ body: '{"MaxResults": 1}',
335
+ headers: {
336
+ 'Content-Type': 'application/x-amz-json-1.1',
337
+ 'X-Amz-Target': 'AWSCognitoIdentityService.ListIdentityPools'
338
+ }
339
+ }))
340
+ /*
341
+ {"IdentityPools":[]}
342
+ ...
343
+ */
344
+
345
+ request(aws4.sign({
346
+ service: 'mobileanalytics',
347
+ path: '/2014-06-05/events',
348
+ body: JSON.stringify({events:[{
349
+ eventType: 'a',
350
+ timestamp: new Date().toISOString(),
351
+ session: {},
352
+ }]}),
353
+ headers: {
354
+ 'Content-Type': 'application/json',
355
+ 'X-Amz-Client-Context': JSON.stringify({
356
+ client: {client_id: 'a', app_title: 'a'},
357
+ custom: {},
358
+ env: {platform: 'a'},
359
+ services: {},
360
+ }),
361
+ }
362
+ }))
363
+ /*
364
+ (HTTP 202, empty response)
365
+ */
366
+
367
+ // Still not updated to v4...
368
+
369
+ //request(aws4.sign({service: 'importexport', path: '/?Action=ListJobs&Version=2010-06-01'}))
370
+
371
+ //request(aws4.sign({service: 'sdb', path: '/?Action=ListDomains&Version=2009-04-15'}))
372
+
@@ -0,0 +1 @@
1
+ /node_modules
@@ -0,0 +1,8 @@
1
+ language: node_js
2
+ node_js:
3
+ - '0.8'
4
+ - '0.10'
5
+ - '0.12'
6
+ - 'iojs'
7
+ before_install:
8
+ - npm install -g npm@latest