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.
- package/.npmignore +1 -0
- package/.travis.yml +81 -6
- package/Readme.md +1 -1
- package/binding.gyp +9 -1
- package/fsevents.js +4 -1
- package/node_modules/node-pre-gyp/CHANGELOG.md +234 -0
- package/node_modules/node-pre-gyp/LICENSE +27 -0
- package/node_modules/node-pre-gyp/README.md +581 -0
- package/node_modules/node-pre-gyp/appveyor.yml +30 -0
- package/node_modules/node-pre-gyp/bin/node-pre-gyp +131 -0
- package/node_modules/node-pre-gyp/bin/node-pre-gyp.cmd +2 -0
- package/node_modules/node-pre-gyp/lib/build.js +43 -0
- package/node_modules/node-pre-gyp/lib/clean.js +23 -0
- package/node_modules/node-pre-gyp/lib/configure.js +48 -0
- package/node_modules/node-pre-gyp/lib/info.js +40 -0
- package/node_modules/node-pre-gyp/lib/install.js +205 -0
- package/node_modules/node-pre-gyp/lib/node-pre-gyp.js +192 -0
- package/node_modules/node-pre-gyp/lib/package.js +46 -0
- package/node_modules/node-pre-gyp/lib/pre-binding.js +25 -0
- package/node_modules/node-pre-gyp/lib/publish.js +77 -0
- package/node_modules/node-pre-gyp/lib/rebuild.js +13 -0
- package/node_modules/node-pre-gyp/lib/reinstall.js +13 -0
- package/node_modules/node-pre-gyp/lib/reveal.js +31 -0
- package/node_modules/node-pre-gyp/lib/testbinary.js +73 -0
- package/node_modules/node-pre-gyp/lib/testpackage.js +49 -0
- package/node_modules/node-pre-gyp/lib/unpublish.js +41 -0
- package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +522 -0
- package/node_modules/node-pre-gyp/lib/util/compile.js +87 -0
- package/node_modules/node-pre-gyp/lib/util/handle_gyp_opts.js +94 -0
- package/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html +26 -0
- package/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/package.json +9 -0
- package/node_modules/node-pre-gyp/lib/util/s3_setup.js +27 -0
- package/node_modules/node-pre-gyp/lib/util/versioning.js +276 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/.travis.yml +8 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/LICENSE +21 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/bin/cmd.js +33 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/bin/usage.txt +12 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/examples/pow.js +6 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/index.js +98 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/.travis.yml +4 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/LICENSE +18 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/example/parse.js +2 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/index.js +187 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/package.json +66 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/readme.markdown +73 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/dash.js +24 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/default_bool.js +20 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/dotted.js +16 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/long.js +31 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/parse.js +318 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/parse_modified.js +9 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/short.js +67 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/whitespace.js +8 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/package.json +60 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/readme.markdown +100 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/test/chmod.js +41 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/test/clobber.js +38 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/test/mkdirp.js +28 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/test/opts_fs.js +29 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/test/opts_fs_sync.js +27 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/test/perm.js +32 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/test/perm_sync.js +36 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/test/race.js +37 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/test/rel.js +32 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/test/return.js +25 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/test/return_sync.js +24 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/test/root.js +19 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/test/sync.js +32 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/test/umask.js +28 -0
- package/node_modules/node-pre-gyp/node_modules/mkdirp/test/umask_sync.js +32 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/.travis.yml +9 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/README.md +210 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/bin/nopt.js +54 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/examples/my-program.js +30 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/lib/nopt.js +414 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/.npmignore +4 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/.travis.yml +5 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/CONTRIBUTING.md +3 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/README.md +23 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/abbrev.js +62 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/package.json +48 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/test.js +47 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/package.json +55 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/test/basic.js +251 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/README.md +195 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/example.js +39 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/log.js +247 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/.jshintrc +4 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/History.md +16 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/README.md +98 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/examples/beep/index.js +16 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/examples/clear/index.js +15 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/examples/cursorPosition.js +32 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/examples/progress/index.js +87 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/lib/ansi.js +405 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/lib/newlines.js +71 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/package.json +54 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/.npmignore +3 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/README.md +183 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/index.js +130 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/History.md +16 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/Makefile +8 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/Readme.md +94 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/index.js +121 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/package.json +48 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/test/index.js +94 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/.npmignore +5 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/LICENSE +18 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/README.md +15 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/float.patch +923 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/package.json +70 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/readable.js +7 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/writable.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/package.json +51 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/test/tracker.js +56 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/test/trackergroup.js +87 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/test/trackerstream.js +65 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/.npmignore +32 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/LICENSE +13 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/README.md +166 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/README.md~ +161 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/example.png +0 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/.npmignore +32 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/LICENSE +14 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/README.md +40 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/README.md~ +4 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/index.js +18 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/package.json +53 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/test/index.js +26 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/LICENSE +22 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/README.md +20 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/index.js +55 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._basetostring/LICENSE +22 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._basetostring/README.md +20 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._basetostring/index.js +22 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._basetostring/package.json +88 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._createpadding/LICENSE +22 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._createpadding/README.md +20 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._createpadding/index.js +37 -0
- 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
- 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
- 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
- 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
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._createpadding/package.json +91 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/package.json +98 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/LICENSE.txt +22 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/README.md +20 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/index.js +50 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._basetostring/LICENSE +22 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._basetostring/README.md +20 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._basetostring/index.js +22 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._basetostring/package.json +88 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._createpadding/LICENSE +22 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._createpadding/README.md +20 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._createpadding/index.js +37 -0
- 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
- 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
- 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
- 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
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._createpadding/package.json +91 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/package.json +98 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/LICENSE.txt +22 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/README.md +20 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/index.js +50 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._basetostring/LICENSE +22 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._basetostring/README.md +20 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._basetostring/index.js +22 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._basetostring/package.json +88 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._createpadding/LICENSE +22 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._createpadding/README.md +20 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._createpadding/index.js +37 -0
- 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
- 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
- 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
- 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
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._createpadding/package.json +91 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/package.json +98 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/package.json +60 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/progress-bar.js +226 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/test/progress-bar.js +176 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/package.json +58 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/test/basic.js +228 -0
- package/node_modules/node-pre-gyp/node_modules/npmlog/test/progress.js +114 -0
- package/node_modules/node-pre-gyp/node_modules/rc/.npmignore +3 -0
- package/node_modules/node-pre-gyp/node_modules/rc/LICENSE.APACHE2 +15 -0
- package/node_modules/node-pre-gyp/node_modules/rc/LICENSE.BSD +26 -0
- package/node_modules/node-pre-gyp/node_modules/rc/LICENSE.MIT +24 -0
- package/node_modules/node-pre-gyp/node_modules/rc/README.md +149 -0
- package/node_modules/node-pre-gyp/node_modules/rc/browser.js +7 -0
- package/node_modules/node-pre-gyp/node_modules/rc/index.js +60 -0
- package/node_modules/node-pre-gyp/node_modules/rc/lib/utils.js +101 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/LICENSE +20 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/README.md +52 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/index.js +90 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/package.json +59 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/test/index.spec.js +57 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/test/mocha.opts +1 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/ini/README.md +102 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/ini/ini.js +190 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/ini/package.json +56 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/.travis.yml +8 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/LICENSE +18 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/example/parse.js +2 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/index.js +224 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/package.json +70 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/readme.markdown +91 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/all_bool.js +32 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/bool.js +143 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/dash.js +31 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/default_bool.js +35 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/dotted.js +22 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/long.js +31 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/num.js +36 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/parse.js +197 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/parse_modified.js +9 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/short.js +67 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/stop_early.js +15 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/unknown.js +102 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/whitespace.js +8 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/strip-json-comments/cli.js +41 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/strip-json-comments/package.json +77 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/strip-json-comments/readme.md +74 -0
- package/node_modules/node-pre-gyp/node_modules/rc/node_modules/strip-json-comments/strip-json-comments.js +64 -0
- package/node_modules/node-pre-gyp/node_modules/rc/package.json +61 -0
- package/node_modules/node-pre-gyp/node_modules/rc/test/ini.js +16 -0
- package/node_modules/node-pre-gyp/node_modules/rc/test/nested-env-vars.js +39 -0
- package/node_modules/node-pre-gyp/node_modules/rc/test/test.js +59 -0
- package/node_modules/node-pre-gyp/node_modules/request/.eslintrc +45 -0
- package/node_modules/node-pre-gyp/node_modules/request/.npmignore +3 -0
- package/node_modules/node-pre-gyp/node_modules/request/.travis.yml +14 -0
- package/node_modules/node-pre-gyp/node_modules/request/CHANGELOG.md +512 -0
- package/node_modules/node-pre-gyp/node_modules/request/CONTRIBUTING.md +44 -0
- package/node_modules/node-pre-gyp/node_modules/request/LICENSE +55 -0
- package/node_modules/node-pre-gyp/node_modules/request/README.md +1063 -0
- package/node_modules/node-pre-gyp/node_modules/request/disabled.appveyor.yml +36 -0
- package/node_modules/node-pre-gyp/node_modules/request/examples/README.md +115 -0
- package/node_modules/node-pre-gyp/node_modules/request/index.js +152 -0
- package/node_modules/node-pre-gyp/node_modules/request/lib/auth.js +153 -0
- package/node_modules/node-pre-gyp/node_modules/request/lib/cookies.js +39 -0
- package/node_modules/node-pre-gyp/node_modules/request/lib/getProxyFromURI.js +79 -0
- package/node_modules/node-pre-gyp/node_modules/request/lib/har.js +205 -0
- package/node_modules/node-pre-gyp/node_modules/request/lib/helpers.js +74 -0
- package/node_modules/node-pre-gyp/node_modules/request/lib/multipart.js +109 -0
- package/node_modules/node-pre-gyp/node_modules/request/lib/oauth.js +147 -0
- package/node_modules/node-pre-gyp/node_modules/request/lib/querystring.js +51 -0
- package/node_modules/node-pre-gyp/node_modules/request/lib/redirect.js +154 -0
- package/node_modules/node-pre-gyp/node_modules/request/lib/tunnel.js +183 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/aws-sign2/LICENSE +55 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/aws-sign2/README.md +4 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/aws-sign2/index.js +202 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/aws-sign2/package.json +47 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/.jshintrc +59 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/.travis.yml +14 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/LICENSE.md +13 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/README.md +200 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/bl.js +216 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/.npmignore +5 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/.travis.yml +39 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/.zuul.yml +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/LICENSE +18 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/README.md +36 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/doc/stream.markdown +1651 -0
- 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
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +82 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +27 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +959 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +197 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +520 -0
- 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
- 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
- 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
- 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
- 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
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/LICENSE +16 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/README.md +42 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/inherits.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/inherits_browser.js +23 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/package.json +50 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/test.js +25 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/README.md +54 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/build/build.js +209 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/component.json +19 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/index.js +3 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/package.json +53 -0
- 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
- 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
- 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
- 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
- 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
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/.npmignore +2 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/LICENSE +20 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/README.md +7 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/index.js +221 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/package.json +54 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/History.md +11 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/LICENSE +24 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/README.md +53 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/browser.js +62 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/package.json +53 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/package.json +74 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/readable.js +12 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/writable.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/package.json +61 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/test/basic-test.js +541 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/test/sauce.js +38 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/test/test.js +9 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/caseless/LICENSE +28 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/caseless/README.md +45 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/caseless/index.js +66 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/caseless/package.json +61 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/caseless/test.js +40 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/License +19 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/Readme.md +138 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/lib/combined_stream.js +188 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/License +19 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/Makefile +7 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/Readme.md +141 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/package.json +64 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/package.json +67 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/.eslintrc +192 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/.jscs.json +104 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/.travis.yml +44 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/CHANGELOG.md +69 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/LICENSE +23 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/README.md +62 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/component.json +32 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/index.js +86 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/package.json +72 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/forever-agent/LICENSE +55 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/forever-agent/README.md +4 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/forever-agent/index.js +138 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/forever-agent/package.json +56 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/License +19 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/Readme.md +175 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/lib/browser.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/lib/form_data.js +351 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/node_modules/async/.jscsrc +3 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/node_modules/async/CHANGELOG.md +81 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/node_modules/async/LICENSE +19 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/node_modules/async/README.md +1789 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/node_modules/async/lib/async.js +1216 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/node_modules/async/package.json +105 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/node_modules/async/support/sync-package-managers.js +53 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/package.json +76 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/README.md +362 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/bin/har-validator +45 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/error.js +10 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/index.js +39 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/cache.json +13 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/cacheEntry.json +31 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/content.json +27 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/cookie.json +34 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/creator.json +18 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/entry.json +51 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/har.json +11 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/index.js +49 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/log.json +34 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/page.json +30 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/pageTimings.json +16 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/postData.json +41 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/record.json +18 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/request.json +55 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/response.json +52 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/timings.json +40 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/README.md +676 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/browser/bluebird.js +4857 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/browser/bluebird.min.js +31 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/any.js +21 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/assert.js +55 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/async.js +150 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/bind.js +72 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/bluebird.js +11 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/call_get.js +123 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/cancel.js +48 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/captured_trace.js +493 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/catch_filter.js +66 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/context.js +38 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/debuggability.js +160 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/direct_resolve.js +61 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/each.js +12 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/errors.js +111 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/es5.js +80 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/filter.js +12 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/finally.js +98 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/generators.js +136 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/join.js +107 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/map.js +133 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/method.js +44 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/nodeify.js +59 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/progress.js +76 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/promise.js +750 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/promise_array.js +142 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/promise_resolver.js +123 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/promisify.js +302 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/props.js +79 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/queue.js +90 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/race.js +47 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/reduce.js +148 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/schedule.js +35 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/settle.js +40 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/some.js +125 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/synchronous_inspection.js +94 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/thenables.js +84 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/timers.js +58 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/using.js +202 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/util.js +321 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/package.json +99 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/index.js +116 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles/index.js +65 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles/package.json +80 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles/readme.md +86 -0
- 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
- 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
- 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
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/index.js +4 -0
- 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
- 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
- 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
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/package.json +85 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/readme.md +36 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/index.js +6 -0
- 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
- 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
- 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
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/package.json +85 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/readme.md +33 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color/index.js +50 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color/package.json +79 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color/readme.md +36 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/package.json +96 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/readme.md +212 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/Readme.md +342 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/index.js +1103 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/.npmignore +3 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/.travis.yml +5 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/LICENSE +22 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/README.md +17 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/index.js +12 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/package.json +48 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/package.json +75 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/.npmignore +2 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/.travis.yml +3 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/LICENSE +21 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/README.md +173 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/example.js +18 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/formats.js +14 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/index.js +573 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/package.json +66 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/require.js +12 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/misc.js +429 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/package.json +87 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/.npmignore +20 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/.travis.yml +5 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/LICENSE +28 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/README.md +634 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/bower.json +24 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/component.json +19 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/example/usage.js +78 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/images/hawk.png +0 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/images/logo.png +0 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/lib/browser.js +643 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/lib/client.js +369 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/lib/crypto.js +126 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/lib/index.js +15 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/lib/server.js +540 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/lib/utils.js +164 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/.npmignore +18 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/.travis.yml +7 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/CONTRIBUTING.md +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/LICENSE +28 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/README.md +597 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png +0 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js +301 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/package.json +64 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/test/index.js +616 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/.npmignore +18 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/.travis.yml +5 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/LICENSE +28 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/Makefile +9 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md +14 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/index.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/lib/index.js +68 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/package.json +65 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/test/index.js +108 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/.npmignore +18 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/.travis.yml +7 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/CONTRIBUTING.md +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/LICENSE +31 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/Makefile +8 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/README.md +574 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png +0 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/index.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/lib/escape.js +132 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/lib/index.js +977 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/package.json +60 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/escaper.js +88 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/index.js +2425 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/ignore.txt +0 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test1.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test2.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test3.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/.npmignore +18 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/.travis.yml +5 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/LICENSE +28 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/Makefile +9 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/README.md +68 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js +16 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js +25 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/index.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js +412 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/package.json +65 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/test/index.js +435 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/package.json +67 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/browser.js +1459 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/client.js +440 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/crypto.js +70 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/index.js +378 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/readme.js +95 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/server.js +1314 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/uri.js +849 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/test/utils.js +121 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/.dir-locals.el +6 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/.npmignore +7 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/LICENSE +18 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/README.md +79 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/http_signing.md +296 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/lib/index.js +27 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/lib/parser.js +304 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/lib/signer.js +178 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/lib/util.js +306 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/lib/verify.js +56 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/.npmignore +2 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/LICENSE +19 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/README.md +50 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/errors.js +13 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/index.js +27 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/reader.js +267 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/types.js +36 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/writer.js +317 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/index.js +20 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/package.json +63 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/reader.test.js +172 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/writer.test.js +296 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/assert-plus/README.md +126 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/assert-plus/assert.js +245 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json +46 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/CHANGELOG +78 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/LICENSE +24 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/README +82 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/README.old +298 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/ctf.js +245 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/ctio.js +1485 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/ctype.js +944 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/man/man3ctype/ctio.3ctype +241 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/package.json +43 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsl.conf +129 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsstyle +839 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/package.json +77 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/.jshintrc +59 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/.travis.yml +12 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/LICENSE.md +11 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/README.md +66 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/isstream.js +27 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/package.json +59 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/test.js +168 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/CHANGELOG.md +14 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/Makefile +35 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/README.md +52 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/package.json +68 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/stringify.js +27 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/test/mocha.opts +2 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/test/stringify_test.js +246 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/HISTORY.md +147 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/LICENSE +23 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/README.md +103 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/index.js +188 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/node_modules/mime-db/HISTORY.md +241 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/node_modules/mime-db/LICENSE +22 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/node_modules/mime-db/README.md +82 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/node_modules/mime-db/db.json +6424 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/node_modules/mime-db/index.js +11 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/node_modules/mime-db/package.json +94 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/package.json +84 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/.npmignore +2 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/LICENSE.md +21 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/README.md +243 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/benchmark/README.md +53 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu +174 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/benchmark/bench.sh +34 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/benchmark/benchmark-native.c +34 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js +84 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/bin/uuid +26 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/bower.json +23 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/component.json +18 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/package.json +65 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/test/compare_v1.js +63 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/test/test.html +17 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/test/test.js +228 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/uuid.js +247 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/oauth-sign/LICENSE +55 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/oauth-sign/README.md +4 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/oauth-sign/index.js +134 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/oauth-sign/package.json +59 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/oauth-sign/test.js +89 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/.eslintignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/.npmignore +19 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/.travis.yml +6 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/CHANGELOG.md +88 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/CONTRIBUTING.md +1 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/LICENSE +28 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/README.md +317 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/bower.json +22 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/lib/index.js +15 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/lib/parse.js +186 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/lib/stringify.js +121 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/lib/utils.js +190 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/package.json +56 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/test/parse.js +478 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/test/stringify.js +259 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/test/utils.js +28 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/.npmignore +15 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/.travis.yml +4 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/LICENSE.txt +4 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/README.md +38 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/example.js +27 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/package.json +49 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/stringstream.js +102 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/.editorconfig +12 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/.jshintrc +70 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/.npmignore +4 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/.travis.yml +9 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/LICENSE +74 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/README.md +486 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/generate-pubsuffix.js +293 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/lib/cookie.js +1309 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/lib/memstore.js +170 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/lib/pathMatch.js +61 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/lib/permuteDomain.js +56 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/lib/pubsuffix.js +98 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/lib/store.js +71 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/package.json +66 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/public-suffix.txt +10309 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/api_test.js +372 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/cookie_jar_test.js +468 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/cookie_sorting_test.js +156 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/cookie_to_json_test.js +164 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/cookie_to_string_test.js +162 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/date_test.js +79 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/domain_and_path_test.js +201 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/ietf_data/dates/bsd-examples.json +168 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/ietf_data/dates/examples.json +48 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/ietf_data/parser.json +1959 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/ietf_test.js +105 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/jar_serialization_test.js +348 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/lifetime_test.js +97 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/parsing_test.js +294 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/test/regression_test.js +143 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tunnel-agent/.jshintrc +5 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tunnel-agent/LICENSE +55 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tunnel-agent/README.md +4 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tunnel-agent/index.js +241 -0
- package/node_modules/node-pre-gyp/node_modules/request/node_modules/tunnel-agent/package.json +60 -0
- package/node_modules/node-pre-gyp/node_modules/request/package.json +111 -0
- package/node_modules/node-pre-gyp/node_modules/request/release.sh +45 -0
- package/node_modules/node-pre-gyp/node_modules/request/request.js +1408 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/README.md +38 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/bin.js +40 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/README.md +377 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/common.js +245 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/glob.js +752 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/.eslintrc +17 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/README.md +37 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/inflight.js +44 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md +36 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +52 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js +51 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json +61 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/test.js +97 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE +16 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md +42 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js +23 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +50 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js +25 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md +216 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/browser.js +1159 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js +912 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore +2 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.travis.yml +3 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +121 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +8 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +191 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +75 -0
- 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
- 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
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/cases.txt +182 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/dollar.js +9 -0
- 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
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/generate.sh +24 -0
- 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
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/nested.js +16 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/order.js +10 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/pad.js +13 -0
- 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
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/sequence.js +50 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json +62 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/README.md +51 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +36 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +52 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +51 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/once.js +21 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +60 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/test/once.js +23 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/index.js +20 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/package.json +70 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/readme.md +51 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/package.json +72 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/sync.js +460 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/package.json +61 -0
- package/node_modules/node-pre-gyp/node_modules/rimraf/rimraf.js +333 -0
- package/node_modules/node-pre-gyp/node_modules/semver/.npmignore +4 -0
- package/node_modules/node-pre-gyp/node_modules/semver/.travis.yml +5 -0
- package/node_modules/node-pre-gyp/node_modules/semver/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/semver/README.md +303 -0
- package/node_modules/node-pre-gyp/node_modules/semver/bin/semver +133 -0
- package/node_modules/node-pre-gyp/node_modules/semver/package.json +52 -0
- package/node_modules/node-pre-gyp/node_modules/semver/semver.js +1199 -0
- package/node_modules/node-pre-gyp/node_modules/semver/test/big-numbers.js +31 -0
- package/node_modules/node-pre-gyp/node_modules/semver/test/clean.js +29 -0
- package/node_modules/node-pre-gyp/node_modules/semver/test/gtr.js +173 -0
- package/node_modules/node-pre-gyp/node_modules/semver/test/index.js +685 -0
- package/node_modules/node-pre-gyp/node_modules/semver/test/ltr.js +181 -0
- package/node_modules/node-pre-gyp/node_modules/semver/test/major-minor-patch.js +72 -0
- package/node_modules/node-pre-gyp/node_modules/tar/.npmignore +5 -0
- package/node_modules/node-pre-gyp/node_modules/tar/.travis.yml +4 -0
- package/node_modules/node-pre-gyp/node_modules/tar/LICENSE +12 -0
- package/node_modules/node-pre-gyp/node_modules/tar/README.md +50 -0
- package/node_modules/node-pre-gyp/node_modules/tar/examples/extracter.js +19 -0
- package/node_modules/node-pre-gyp/node_modules/tar/examples/packer.js +24 -0
- package/node_modules/node-pre-gyp/node_modules/tar/examples/reader.js +36 -0
- package/node_modules/node-pre-gyp/node_modules/tar/lib/buffer-entry.js +30 -0
- package/node_modules/node-pre-gyp/node_modules/tar/lib/entry-writer.js +169 -0
- package/node_modules/node-pre-gyp/node_modules/tar/lib/entry.js +213 -0
- package/node_modules/node-pre-gyp/node_modules/tar/lib/extended-header-writer.js +191 -0
- package/node_modules/node-pre-gyp/node_modules/tar/lib/extended-header.js +140 -0
- package/node_modules/node-pre-gyp/node_modules/tar/lib/extract.js +94 -0
- package/node_modules/node-pre-gyp/node_modules/tar/lib/global-header-writer.js +14 -0
- package/node_modules/node-pre-gyp/node_modules/tar/lib/header.js +385 -0
- package/node_modules/node-pre-gyp/node_modules/tar/lib/pack.js +236 -0
- package/node_modules/node-pre-gyp/node_modules/tar/lib/parse.js +271 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/LICENCE +25 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/README.md +14 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/bench/block-stream-pause.js +70 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/bench/block-stream.js +68 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/bench/dropper-pause.js +70 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/bench/dropper.js +68 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/block-stream.js +209 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/package.json +55 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/test/basic.js +27 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/test/nopad-thorough.js +68 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/test/nopad.js +57 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/test/pause-resume.js +73 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/test/thorough.js +68 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/test/two-stream.js +59 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/.npmignore +5 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/.travis.yml +9 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/README.md +76 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/examples/filter-pipe.js +134 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/examples/pipe.js +118 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/examples/reader.js +68 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/examples/symlink-write.js +27 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/fstream.js +35 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/abstract.js +85 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/collect.js +68 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/dir-reader.js +252 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/dir-writer.js +174 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/file-reader.js +150 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/file-writer.js +107 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/get-type.js +33 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/link-reader.js +53 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/link-writer.js +95 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/proxy-reader.js +95 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/proxy-writer.js +111 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/reader.js +255 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/socket-reader.js +36 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/writer.js +390 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/README.md +36 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/fs.js +11 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/graceful-fs.js +158 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/package.json +72 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/polyfills.js +255 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/test/max-open.js +69 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/test/open.js +39 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/test/readdir-sort.js +20 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/test/write-then-read.js +47 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/package.json +67 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/inherits/LICENSE +16 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/inherits/README.md +42 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/inherits/inherits.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/inherits/inherits_browser.js +23 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/inherits/package.json +50 -0
- package/node_modules/node-pre-gyp/node_modules/tar/node_modules/inherits/test.js +25 -0
- package/node_modules/node-pre-gyp/node_modules/tar/package.json +61 -0
- package/node_modules/node-pre-gyp/node_modules/tar/tar.js +173 -0
- package/node_modules/node-pre-gyp/node_modules/tar/test/00-setup-fixtures.js +53 -0
- package/node_modules/node-pre-gyp/node_modules/tar/test/cb-never-called-1.0.1.tgz +0 -0
- package/node_modules/node-pre-gyp/node_modules/tar/test/dir-normalization.js +177 -0
- package/node_modules/node-pre-gyp/node_modules/tar/test/dir-normalization.tar +0 -0
- package/node_modules/node-pre-gyp/node_modules/tar/test/error-on-broken.js +33 -0
- package/node_modules/node-pre-gyp/node_modules/tar/test/extract-move.js +132 -0
- package/node_modules/node-pre-gyp/node_modules/tar/test/extract.js +367 -0
- package/node_modules/node-pre-gyp/node_modules/tar/test/fixtures.tgz +0 -0
- package/node_modules/node-pre-gyp/node_modules/tar/test/header.js +183 -0
- package/node_modules/node-pre-gyp/node_modules/tar/test/pack-no-proprietary.js +886 -0
- package/node_modules/node-pre-gyp/node_modules/tar/test/pack.js +952 -0
- package/node_modules/node-pre-gyp/node_modules/tar/test/parse.js +359 -0
- package/node_modules/node-pre-gyp/node_modules/tar/test/zz-cleanup.js +20 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/.npmignore +14 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/.travis.yml +4 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/README.md +81 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/index.js +246 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/debug/Readme.md +115 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/debug/debug.js +137 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/debug/index.js +5 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/debug/lib/debug.js +147 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/debug/package.json +63 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/.npmignore +5 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/.travis.yml +3 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/LICENSE +27 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/README.md +76 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/examples/filter-pipe.js +131 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/examples/pipe.js +115 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/examples/reader.js +54 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/examples/symlink-write.js +24 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/fstream.js +31 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/abstract.js +85 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/collect.js +67 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/dir-reader.js +251 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/dir-writer.js +171 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/file-reader.js +147 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/file-writer.js +104 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/get-type.js +32 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/link-reader.js +54 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/link-writer.js +95 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/proxy-reader.js +93 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/proxy-writer.js +109 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/reader.js +262 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/socket-reader.js +38 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/lib/writer.js +389 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/README.md +36 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/fs.js +11 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/graceful-fs.js +158 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/package.json +72 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/polyfills.js +255 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/test/max-open.js +69 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/test/open.js +39 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/test/readdir-sort.js +20 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/test/write-then-read.js +47 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/inherits/LICENSE +16 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/inherits/README.md +42 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/inherits/inherits.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/inherits/inherits_browser.js +23 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/inherits/package.json +50 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/inherits/test.js +25 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/package.json +57 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/LICENSE +27 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/README.md +22 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/example/basic.js +13 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/ignore.js +275 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/inherits/LICENSE +16 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/inherits/README.md +42 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/inherits/inherits.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/inherits/inherits_browser.js +23 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/inherits/package.json +50 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/inherits/test.js +25 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/LICENSE +23 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/README.md +218 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/minimatch.js +1055 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/.npmignore +1 -0
- 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
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS +14 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/LICENSE +15 -0
- 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
- 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
- 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
- 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
- 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
- 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
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/sigmund/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/sigmund/README.md +53 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/sigmund/bench.js +283 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/sigmund/package.json +60 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/sigmund/sigmund.js +39 -0
- 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
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/package.json +57 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/test/basic.js +399 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/test/brace-expand.js +33 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/test/caching.js +14 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/test/defaults.js +274 -0
- 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
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/package.json +54 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/.ignore +2 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/00-setup.js +71 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/basic.js +28 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/common.js +40 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/ignore-most.js +41 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/nested-ignores.js +51 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/unignore-child.js +38 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/zz-cleanup.js +10 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/graceful-fs/.npmignore +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/graceful-fs/LICENSE +27 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/graceful-fs/README.md +33 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/graceful-fs/graceful-fs.js +442 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/graceful-fs/package.json +65 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/graceful-fs/test/open.js +46 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/graceful-fs/test/ulimit.js +158 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/once/LICENSE +27 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/once/README.md +33 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/once/once.js +19 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/once/package.json +56 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/once/test/once.js +18 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/.npmignore +5 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/LICENSE +18 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/README.md +15 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_duplex.js +89 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_passthrough.js +46 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_readable.js +982 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_transform.js +210 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_writable.js +386 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/README.md +3 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/float.patch +604 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +107 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/package.json +54 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/util.js +106 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/LICENSE +16 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/README.md +42 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/inherits.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/inherits_browser.js +23 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/package.json +50 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/test.js +25 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/README.md +54 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/build/build.js +209 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/component.json +19 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/index.js +3 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/package.json +53 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/.npmignore +2 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/LICENSE +20 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/README.md +7 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/index.js +221 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/package.json +54 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/package.json +70 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/readable.js +8 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/writable.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/AUTHORS +6 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/LICENSE +23 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/README.md +30 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/bin.js +33 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/package.json +73 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/rimraf.js +248 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/test/run.sh +16 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/test/setup.sh +47 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/test/test-async.js +5 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/test/test-sync.js +3 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/.npmignore +5 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/.travis.yml +3 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/LICENCE +25 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/README.md +48 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/examples/extracter.js +11 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/examples/packer.js +10 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/examples/reader.js +36 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/buffer-entry.js +30 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/entry-writer.js +169 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/entry.js +213 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/extended-header-writer.js +191 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/extended-header.js +140 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/extract.js +78 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/global-header-writer.js +14 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/header.js +385 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/pack.js +231 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/parse.js +271 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/LICENCE +25 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/LICENSE +15 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/README.md +14 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/bench/block-stream-pause.js +70 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/bench/block-stream.js +68 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/bench/dropper-pause.js +70 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/bench/dropper.js +68 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/block-stream.js +209 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/package.json +55 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/test/basic.js +27 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/test/nopad-thorough.js +68 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/test/nopad.js +57 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/test/pause-resume.js +73 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/test/thorough.js +68 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/test/two-stream.js +59 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/inherits/LICENSE +16 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/inherits/README.md +42 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/inherits/inherits.js +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/inherits/inherits_browser.js +23 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/inherits/package.json +50 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/inherits/test.js +25 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/package.json +54 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/tar.js +173 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/00-setup-fixtures.js +53 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/extract.js +367 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/fixtures.tgz +0 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/header.js +183 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/pack-no-proprietary.js +854 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/pack.js +897 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/parse.js +359 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/zz-cleanup.js +20 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/uid-number/LICENCE +25 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/uid-number/README.md +17 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/uid-number/get-uid-gid.js +24 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/uid-number/package.json +50 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/uid-number/uid-number.js +54 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/package.json +58 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/test/fixtures/packed-file.txt +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/test/fixtures/packed.tar +0 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/test/fixtures/packed.tar.gz +0 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/test/fixtures/to-pack/bar.txt +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/test/fixtures/to-pack/foo.txt +1 -0
- package/node_modules/node-pre-gyp/node_modules/tar-pack/test/index.js +67 -0
- package/node_modules/node-pre-gyp/package.json +114 -0
- package/package.json +14 -2
@@ -0,0 +1,1314 @@
|
|
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
|
+
|
9
|
+
|
10
|
+
// Declare internals
|
11
|
+
|
12
|
+
var internals = {};
|
13
|
+
|
14
|
+
|
15
|
+
// Test shortcuts
|
16
|
+
|
17
|
+
var lab = exports.lab = Lab.script();
|
18
|
+
var describe = lab.experiment;
|
19
|
+
var it = lab.test;
|
20
|
+
var expect = Code.expect;
|
21
|
+
|
22
|
+
|
23
|
+
describe('Server', function () {
|
24
|
+
|
25
|
+
var credentialsFunc = function (id, callback) {
|
26
|
+
|
27
|
+
var credentials = {
|
28
|
+
id: id,
|
29
|
+
key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
|
30
|
+
algorithm: (id === '1' ? 'sha1' : 'sha256'),
|
31
|
+
user: 'steve'
|
32
|
+
};
|
33
|
+
|
34
|
+
return callback(null, credentials);
|
35
|
+
};
|
36
|
+
|
37
|
+
describe('authenticate()', function () {
|
38
|
+
|
39
|
+
it('parses a valid authentication header (sha1)', function (done) {
|
40
|
+
|
41
|
+
var req = {
|
42
|
+
method: 'GET',
|
43
|
+
url: '/resource/4?filter=a',
|
44
|
+
host: 'example.com',
|
45
|
+
port: 8080,
|
46
|
+
authorization: 'Hawk id="1", ts="1353788437", nonce="k3j4h2", mac="zy79QQ5/EYFmQqutVnYb73gAc/U=", ext="hello"'
|
47
|
+
};
|
48
|
+
|
49
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
50
|
+
|
51
|
+
expect(err).to.not.exist();
|
52
|
+
expect(credentials.user).to.equal('steve');
|
53
|
+
done();
|
54
|
+
});
|
55
|
+
});
|
56
|
+
|
57
|
+
it('parses a valid authentication header (sha256)', function (done) {
|
58
|
+
|
59
|
+
var req = {
|
60
|
+
method: 'GET',
|
61
|
+
url: '/resource/1?b=1&a=2',
|
62
|
+
host: 'example.com',
|
63
|
+
port: 8000,
|
64
|
+
authorization: 'Hawk id="dh37fgj492je", ts="1353832234", nonce="j4h3g2", mac="m8r1rHbXN6NgO+KIIhjO7sFRyd78RNGVUwehe8Cp2dU=", ext="some-app-data"'
|
65
|
+
};
|
66
|
+
|
67
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353832234000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
68
|
+
|
69
|
+
expect(err).to.not.exist();
|
70
|
+
expect(credentials.user).to.equal('steve');
|
71
|
+
done();
|
72
|
+
});
|
73
|
+
});
|
74
|
+
|
75
|
+
it('parses a valid authentication header (host override)', function (done) {
|
76
|
+
|
77
|
+
var req = {
|
78
|
+
method: 'GET',
|
79
|
+
url: '/resource/4?filter=a',
|
80
|
+
headers: {
|
81
|
+
host: 'example1.com:8080',
|
82
|
+
authorization: 'Hawk id="1", ts="1353788437", nonce="k3j4h2", mac="zy79QQ5/EYFmQqutVnYb73gAc/U=", ext="hello"'
|
83
|
+
}
|
84
|
+
};
|
85
|
+
|
86
|
+
Hawk.server.authenticate(req, credentialsFunc, { host: 'example.com', localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
87
|
+
|
88
|
+
expect(err).to.not.exist();
|
89
|
+
expect(credentials.user).to.equal('steve');
|
90
|
+
done();
|
91
|
+
});
|
92
|
+
});
|
93
|
+
|
94
|
+
it('parses a valid authentication header (host port override)', function (done) {
|
95
|
+
|
96
|
+
var req = {
|
97
|
+
method: 'GET',
|
98
|
+
url: '/resource/4?filter=a',
|
99
|
+
headers: {
|
100
|
+
host: 'example1.com:80',
|
101
|
+
authorization: 'Hawk id="1", ts="1353788437", nonce="k3j4h2", mac="zy79QQ5/EYFmQqutVnYb73gAc/U=", ext="hello"'
|
102
|
+
}
|
103
|
+
};
|
104
|
+
|
105
|
+
Hawk.server.authenticate(req, credentialsFunc, { host: 'example.com', port: 8080, localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
106
|
+
|
107
|
+
expect(err).to.not.exist();
|
108
|
+
expect(credentials.user).to.equal('steve');
|
109
|
+
done();
|
110
|
+
});
|
111
|
+
});
|
112
|
+
|
113
|
+
it('parses a valid authentication header (POST with payload)', function (done) {
|
114
|
+
|
115
|
+
var req = {
|
116
|
+
method: 'POST',
|
117
|
+
url: '/resource/4?filter=a',
|
118
|
+
host: 'example.com',
|
119
|
+
port: 8080,
|
120
|
+
authorization: 'Hawk id="123456", ts="1357926341", nonce="1AwuJD", hash="qAiXIVv+yjDATneWxZP2YCTa9aHRgQdnH9b3Wc+o3dg=", ext="some-app-data", mac="UeYcj5UoTVaAWXNvJfLVia7kU3VabxCqrccXP8sUGC4="'
|
121
|
+
};
|
122
|
+
|
123
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1357926341000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
124
|
+
|
125
|
+
expect(err).to.not.exist();
|
126
|
+
expect(credentials.user).to.equal('steve');
|
127
|
+
done();
|
128
|
+
});
|
129
|
+
});
|
130
|
+
|
131
|
+
it('errors on missing hash', function (done) {
|
132
|
+
|
133
|
+
var req = {
|
134
|
+
method: 'GET',
|
135
|
+
url: '/resource/1?b=1&a=2',
|
136
|
+
host: 'example.com',
|
137
|
+
port: 8000,
|
138
|
+
authorization: 'Hawk id="dh37fgj492je", ts="1353832234", nonce="j4h3g2", mac="m8r1rHbXN6NgO+KIIhjO7sFRyd78RNGVUwehe8Cp2dU=", ext="some-app-data"'
|
139
|
+
};
|
140
|
+
|
141
|
+
Hawk.server.authenticate(req, credentialsFunc, { payload: 'body', localtimeOffsetMsec: 1353832234000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
142
|
+
|
143
|
+
expect(err).to.exist();
|
144
|
+
expect(err.output.payload.message).to.equal('Missing required payload hash');
|
145
|
+
done();
|
146
|
+
});
|
147
|
+
});
|
148
|
+
|
149
|
+
it('errors on a stale timestamp', function (done) {
|
150
|
+
|
151
|
+
var req = {
|
152
|
+
method: 'GET',
|
153
|
+
url: '/resource/4?filter=a',
|
154
|
+
host: 'example.com',
|
155
|
+
port: 8080,
|
156
|
+
authorization: 'Hawk id="123456", ts="1362337299", nonce="UzmxSs", ext="some-app-data", mac="wnNUxchvvryMH2RxckTdZ/gY3ijzvccx4keVvELC61w="'
|
157
|
+
};
|
158
|
+
|
159
|
+
Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
|
160
|
+
|
161
|
+
expect(err).to.exist();
|
162
|
+
expect(err.output.payload.message).to.equal('Stale timestamp');
|
163
|
+
var header = err.output.headers['WWW-Authenticate'];
|
164
|
+
var ts = header.match(/^Hawk ts\=\"(\d+)\"\, tsm\=\"([^\"]+)\"\, error=\"Stale timestamp\"$/);
|
165
|
+
var now = Hawk.utils.now();
|
166
|
+
expect(parseInt(ts[1], 10) * 1000).to.be.within(now - 1000, now + 1000);
|
167
|
+
|
168
|
+
var res = {
|
169
|
+
headers: {
|
170
|
+
'www-authenticate': header
|
171
|
+
}
|
172
|
+
};
|
173
|
+
|
174
|
+
expect(Hawk.client.authenticate(res, credentials, artifacts)).to.equal(true);
|
175
|
+
done();
|
176
|
+
});
|
177
|
+
});
|
178
|
+
|
179
|
+
it('errors on a replay', function (done) {
|
180
|
+
|
181
|
+
var req = {
|
182
|
+
method: 'GET',
|
183
|
+
url: '/resource/4?filter=a',
|
184
|
+
host: 'example.com',
|
185
|
+
port: 8080,
|
186
|
+
authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="bXx7a7p1h9QYQNZ8x7QhvDQym8ACgab4m3lVSFn4DBw=", ext="hello"'
|
187
|
+
};
|
188
|
+
|
189
|
+
var memoryCache = {};
|
190
|
+
var options = {
|
191
|
+
localtimeOffsetMsec: 1353788437000 - Hawk.utils.now(),
|
192
|
+
nonceFunc: function (key, nonce, ts, callback) {
|
193
|
+
|
194
|
+
if (memoryCache[key + nonce]) {
|
195
|
+
return callback(new Error());
|
196
|
+
}
|
197
|
+
|
198
|
+
memoryCache[key + nonce] = true;
|
199
|
+
return callback();
|
200
|
+
}
|
201
|
+
};
|
202
|
+
|
203
|
+
Hawk.server.authenticate(req, credentialsFunc, options, function (err, credentials, artifacts) {
|
204
|
+
|
205
|
+
expect(err).to.not.exist();
|
206
|
+
expect(credentials.user).to.equal('steve');
|
207
|
+
|
208
|
+
Hawk.server.authenticate(req, credentialsFunc, options, function (err, credentials, artifacts) {
|
209
|
+
|
210
|
+
expect(err).to.exist();
|
211
|
+
expect(err.output.payload.message).to.equal('Invalid nonce');
|
212
|
+
done();
|
213
|
+
});
|
214
|
+
});
|
215
|
+
});
|
216
|
+
|
217
|
+
it('does not error on nonce collision if keys differ', function (done) {
|
218
|
+
|
219
|
+
var reqSteve = {
|
220
|
+
method: 'GET',
|
221
|
+
url: '/resource/4?filter=a',
|
222
|
+
host: 'example.com',
|
223
|
+
port: 8080,
|
224
|
+
authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="bXx7a7p1h9QYQNZ8x7QhvDQym8ACgab4m3lVSFn4DBw=", ext="hello"'
|
225
|
+
};
|
226
|
+
|
227
|
+
var reqBob = {
|
228
|
+
method: 'GET',
|
229
|
+
url: '/resource/4?filter=a',
|
230
|
+
host: 'example.com',
|
231
|
+
port: 8080,
|
232
|
+
authorization: 'Hawk id="456", ts="1353788437", nonce="k3j4h2", mac="LXfmTnRzrLd9TD7yfH+4se46Bx6AHyhpM94hLCiNia4=", ext="hello"'
|
233
|
+
};
|
234
|
+
|
235
|
+
var credentialsFunc = function (id, callback) {
|
236
|
+
|
237
|
+
var credentials = {
|
238
|
+
'123': {
|
239
|
+
id: id,
|
240
|
+
key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
|
241
|
+
algorithm: (id === '1' ? 'sha1' : 'sha256'),
|
242
|
+
user: 'steve'
|
243
|
+
},
|
244
|
+
'456': {
|
245
|
+
id: id,
|
246
|
+
key: 'xrunpaw3489ruxnpa98w4rxnwerxhqb98rpaxn39848',
|
247
|
+
algorithm: (id === '1' ? 'sha1' : 'sha256'),
|
248
|
+
user: 'bob'
|
249
|
+
}
|
250
|
+
};
|
251
|
+
|
252
|
+
return callback(null, credentials[id]);
|
253
|
+
};
|
254
|
+
|
255
|
+
var memoryCache = {};
|
256
|
+
var options = {
|
257
|
+
localtimeOffsetMsec: 1353788437000 - Hawk.utils.now(),
|
258
|
+
nonceFunc: function (key, nonce, ts, callback) {
|
259
|
+
|
260
|
+
if (memoryCache[key + nonce]) {
|
261
|
+
return callback(new Error());
|
262
|
+
}
|
263
|
+
|
264
|
+
memoryCache[key + nonce] = true;
|
265
|
+
return callback();
|
266
|
+
}
|
267
|
+
};
|
268
|
+
|
269
|
+
Hawk.server.authenticate(reqSteve, credentialsFunc, options, function (err, credentials, artifacts) {
|
270
|
+
|
271
|
+
expect(err).to.not.exist();
|
272
|
+
expect(credentials.user).to.equal('steve');
|
273
|
+
|
274
|
+
Hawk.server.authenticate(reqBob, credentialsFunc, options, function (err, credentials, artifacts) {
|
275
|
+
|
276
|
+
expect(err).to.not.exist();
|
277
|
+
expect(credentials.user).to.equal('bob');
|
278
|
+
done();
|
279
|
+
});
|
280
|
+
});
|
281
|
+
});
|
282
|
+
|
283
|
+
it('errors on an invalid authentication header: wrong scheme', function (done) {
|
284
|
+
|
285
|
+
var req = {
|
286
|
+
method: 'GET',
|
287
|
+
url: '/resource/4?filter=a',
|
288
|
+
host: 'example.com',
|
289
|
+
port: 8080,
|
290
|
+
authorization: 'Basic asdasdasdasd'
|
291
|
+
};
|
292
|
+
|
293
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
294
|
+
|
295
|
+
expect(err).to.exist();
|
296
|
+
expect(err.output.payload.message).to.not.exist();
|
297
|
+
done();
|
298
|
+
});
|
299
|
+
});
|
300
|
+
|
301
|
+
it('errors on an invalid authentication header: no scheme', function (done) {
|
302
|
+
|
303
|
+
var req = {
|
304
|
+
method: 'GET',
|
305
|
+
url: '/resource/4?filter=a',
|
306
|
+
host: 'example.com',
|
307
|
+
port: 8080,
|
308
|
+
authorization: '!@#'
|
309
|
+
};
|
310
|
+
|
311
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
312
|
+
|
313
|
+
expect(err).to.exist();
|
314
|
+
expect(err.output.payload.message).to.equal('Invalid header syntax');
|
315
|
+
done();
|
316
|
+
});
|
317
|
+
});
|
318
|
+
|
319
|
+
it('errors on an missing authorization header', function (done) {
|
320
|
+
|
321
|
+
var req = {
|
322
|
+
method: 'GET',
|
323
|
+
url: '/resource/4?filter=a',
|
324
|
+
host: 'example.com',
|
325
|
+
port: 8080
|
326
|
+
};
|
327
|
+
|
328
|
+
Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
|
329
|
+
|
330
|
+
expect(err).to.exist();
|
331
|
+
expect(err.isMissing).to.equal(true);
|
332
|
+
done();
|
333
|
+
});
|
334
|
+
});
|
335
|
+
|
336
|
+
it('errors on an missing host header', function (done) {
|
337
|
+
|
338
|
+
var req = {
|
339
|
+
method: 'GET',
|
340
|
+
url: '/resource/4?filter=a',
|
341
|
+
headers: {
|
342
|
+
authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
343
|
+
}
|
344
|
+
};
|
345
|
+
|
346
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
347
|
+
|
348
|
+
expect(err).to.exist();
|
349
|
+
expect(err.output.payload.message).to.equal('Invalid Host header');
|
350
|
+
done();
|
351
|
+
});
|
352
|
+
});
|
353
|
+
|
354
|
+
it('errors on an missing authorization attribute (id)', function (done) {
|
355
|
+
|
356
|
+
var req = {
|
357
|
+
method: 'GET',
|
358
|
+
url: '/resource/4?filter=a',
|
359
|
+
host: 'example.com',
|
360
|
+
port: 8080,
|
361
|
+
authorization: 'Hawk ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
362
|
+
};
|
363
|
+
|
364
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
365
|
+
|
366
|
+
expect(err).to.exist();
|
367
|
+
expect(err.output.payload.message).to.equal('Missing attributes');
|
368
|
+
done();
|
369
|
+
});
|
370
|
+
});
|
371
|
+
|
372
|
+
it('errors on an missing authorization attribute (ts)', function (done) {
|
373
|
+
|
374
|
+
var req = {
|
375
|
+
method: 'GET',
|
376
|
+
url: '/resource/4?filter=a',
|
377
|
+
host: 'example.com',
|
378
|
+
port: 8080,
|
379
|
+
authorization: 'Hawk id="123", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
380
|
+
};
|
381
|
+
|
382
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
383
|
+
|
384
|
+
expect(err).to.exist();
|
385
|
+
expect(err.output.payload.message).to.equal('Missing attributes');
|
386
|
+
done();
|
387
|
+
});
|
388
|
+
});
|
389
|
+
|
390
|
+
it('errors on an missing authorization attribute (nonce)', function (done) {
|
391
|
+
|
392
|
+
var req = {
|
393
|
+
method: 'GET',
|
394
|
+
url: '/resource/4?filter=a',
|
395
|
+
host: 'example.com',
|
396
|
+
port: 8080,
|
397
|
+
authorization: 'Hawk id="123", ts="1353788437", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
398
|
+
};
|
399
|
+
|
400
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
401
|
+
|
402
|
+
expect(err).to.exist();
|
403
|
+
expect(err.output.payload.message).to.equal('Missing attributes');
|
404
|
+
done();
|
405
|
+
});
|
406
|
+
});
|
407
|
+
|
408
|
+
it('errors on an missing authorization attribute (mac)', function (done) {
|
409
|
+
|
410
|
+
var req = {
|
411
|
+
method: 'GET',
|
412
|
+
url: '/resource/4?filter=a',
|
413
|
+
host: 'example.com',
|
414
|
+
port: 8080,
|
415
|
+
authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", ext="hello"'
|
416
|
+
};
|
417
|
+
|
418
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
419
|
+
|
420
|
+
expect(err).to.exist();
|
421
|
+
expect(err.output.payload.message).to.equal('Missing attributes');
|
422
|
+
done();
|
423
|
+
});
|
424
|
+
});
|
425
|
+
|
426
|
+
it('errors on an unknown authorization attribute', function (done) {
|
427
|
+
|
428
|
+
var req = {
|
429
|
+
method: 'GET',
|
430
|
+
url: '/resource/4?filter=a',
|
431
|
+
host: 'example.com',
|
432
|
+
port: 8080,
|
433
|
+
authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", x="3", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
434
|
+
};
|
435
|
+
|
436
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
437
|
+
|
438
|
+
expect(err).to.exist();
|
439
|
+
expect(err.output.payload.message).to.equal('Unknown attribute: x');
|
440
|
+
done();
|
441
|
+
});
|
442
|
+
});
|
443
|
+
|
444
|
+
it('errors on an bad authorization header format', function (done) {
|
445
|
+
|
446
|
+
var req = {
|
447
|
+
method: 'GET',
|
448
|
+
url: '/resource/4?filter=a',
|
449
|
+
host: 'example.com',
|
450
|
+
port: 8080,
|
451
|
+
authorization: 'Hawk id="123\\", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
452
|
+
};
|
453
|
+
|
454
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
455
|
+
|
456
|
+
expect(err).to.exist();
|
457
|
+
expect(err.output.payload.message).to.equal('Bad header format');
|
458
|
+
done();
|
459
|
+
});
|
460
|
+
});
|
461
|
+
|
462
|
+
it('errors on an bad authorization attribute value', function (done) {
|
463
|
+
|
464
|
+
var req = {
|
465
|
+
method: 'GET',
|
466
|
+
url: '/resource/4?filter=a',
|
467
|
+
host: 'example.com',
|
468
|
+
port: 8080,
|
469
|
+
authorization: 'Hawk id="\t", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
470
|
+
};
|
471
|
+
|
472
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
473
|
+
|
474
|
+
expect(err).to.exist();
|
475
|
+
expect(err.output.payload.message).to.equal('Bad attribute value: id');
|
476
|
+
done();
|
477
|
+
});
|
478
|
+
});
|
479
|
+
|
480
|
+
it('errors on an empty authorization attribute value', function (done) {
|
481
|
+
|
482
|
+
var req = {
|
483
|
+
method: 'GET',
|
484
|
+
url: '/resource/4?filter=a',
|
485
|
+
host: 'example.com',
|
486
|
+
port: 8080,
|
487
|
+
authorization: 'Hawk id="", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
488
|
+
};
|
489
|
+
|
490
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
491
|
+
|
492
|
+
expect(err).to.exist();
|
493
|
+
expect(err.output.payload.message).to.equal('Bad attribute value: id');
|
494
|
+
done();
|
495
|
+
});
|
496
|
+
});
|
497
|
+
|
498
|
+
it('errors on duplicated authorization attribute key', function (done) {
|
499
|
+
|
500
|
+
var req = {
|
501
|
+
method: 'GET',
|
502
|
+
url: '/resource/4?filter=a',
|
503
|
+
host: 'example.com',
|
504
|
+
port: 8080,
|
505
|
+
authorization: 'Hawk id="123", id="456", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
506
|
+
};
|
507
|
+
|
508
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
509
|
+
|
510
|
+
expect(err).to.exist();
|
511
|
+
expect(err.output.payload.message).to.equal('Duplicate attribute: id');
|
512
|
+
done();
|
513
|
+
});
|
514
|
+
});
|
515
|
+
|
516
|
+
it('errors on an invalid authorization header format', function (done) {
|
517
|
+
|
518
|
+
var req = {
|
519
|
+
method: 'GET',
|
520
|
+
url: '/resource/4?filter=a',
|
521
|
+
host: 'example.com',
|
522
|
+
port: 8080,
|
523
|
+
authorization: 'Hawk'
|
524
|
+
};
|
525
|
+
|
526
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
527
|
+
|
528
|
+
expect(err).to.exist();
|
529
|
+
expect(err.output.payload.message).to.equal('Invalid header syntax');
|
530
|
+
done();
|
531
|
+
});
|
532
|
+
});
|
533
|
+
|
534
|
+
it('errors on an bad host header (missing host)', function (done) {
|
535
|
+
|
536
|
+
var req = {
|
537
|
+
method: 'GET',
|
538
|
+
url: '/resource/4?filter=a',
|
539
|
+
headers: {
|
540
|
+
host: ':8080',
|
541
|
+
authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
542
|
+
}
|
543
|
+
};
|
544
|
+
|
545
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
546
|
+
|
547
|
+
expect(err).to.exist();
|
548
|
+
expect(err.output.payload.message).to.equal('Invalid Host header');
|
549
|
+
done();
|
550
|
+
});
|
551
|
+
});
|
552
|
+
|
553
|
+
it('errors on an bad host header (pad port)', function (done) {
|
554
|
+
|
555
|
+
var req = {
|
556
|
+
method: 'GET',
|
557
|
+
url: '/resource/4?filter=a',
|
558
|
+
headers: {
|
559
|
+
host: 'example.com:something',
|
560
|
+
authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
561
|
+
}
|
562
|
+
};
|
563
|
+
|
564
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
565
|
+
|
566
|
+
expect(err).to.exist();
|
567
|
+
expect(err.output.payload.message).to.equal('Invalid Host header');
|
568
|
+
done();
|
569
|
+
});
|
570
|
+
});
|
571
|
+
|
572
|
+
it('errors on credentialsFunc error', function (done) {
|
573
|
+
|
574
|
+
var req = {
|
575
|
+
method: 'GET',
|
576
|
+
url: '/resource/4?filter=a',
|
577
|
+
host: 'example.com',
|
578
|
+
port: 8080,
|
579
|
+
authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
580
|
+
};
|
581
|
+
|
582
|
+
var credentialsFunc = function (id, callback) {
|
583
|
+
|
584
|
+
return callback(new Error('Unknown user'));
|
585
|
+
};
|
586
|
+
|
587
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
588
|
+
|
589
|
+
expect(err).to.exist();
|
590
|
+
expect(err.message).to.equal('Unknown user');
|
591
|
+
done();
|
592
|
+
});
|
593
|
+
});
|
594
|
+
|
595
|
+
it('errors on credentialsFunc error (with credentials)', function (done) {
|
596
|
+
|
597
|
+
var req = {
|
598
|
+
method: 'GET',
|
599
|
+
url: '/resource/4?filter=a',
|
600
|
+
host: 'example.com',
|
601
|
+
port: 8080,
|
602
|
+
authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
603
|
+
};
|
604
|
+
|
605
|
+
var credentialsFunc = function (id, callback) {
|
606
|
+
|
607
|
+
return callback(new Error('Unknown user'), { some: 'value' });
|
608
|
+
};
|
609
|
+
|
610
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
611
|
+
|
612
|
+
expect(err).to.exist();
|
613
|
+
expect(err.message).to.equal('Unknown user');
|
614
|
+
expect(credentials.some).to.equal('value');
|
615
|
+
done();
|
616
|
+
});
|
617
|
+
});
|
618
|
+
|
619
|
+
it('errors on missing credentials', function (done) {
|
620
|
+
|
621
|
+
var req = {
|
622
|
+
method: 'GET',
|
623
|
+
url: '/resource/4?filter=a',
|
624
|
+
host: 'example.com',
|
625
|
+
port: 8080,
|
626
|
+
authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
627
|
+
};
|
628
|
+
|
629
|
+
var credentialsFunc = function (id, callback) {
|
630
|
+
|
631
|
+
return callback(null, null);
|
632
|
+
};
|
633
|
+
|
634
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
635
|
+
|
636
|
+
expect(err).to.exist();
|
637
|
+
expect(err.output.payload.message).to.equal('Unknown credentials');
|
638
|
+
done();
|
639
|
+
});
|
640
|
+
});
|
641
|
+
|
642
|
+
it('errors on invalid credentials (id)', function (done) {
|
643
|
+
|
644
|
+
var req = {
|
645
|
+
method: 'GET',
|
646
|
+
url: '/resource/4?filter=a',
|
647
|
+
host: 'example.com',
|
648
|
+
port: 8080,
|
649
|
+
authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
650
|
+
};
|
651
|
+
|
652
|
+
var credentialsFunc = function (id, callback) {
|
653
|
+
|
654
|
+
var credentials = {
|
655
|
+
key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
|
656
|
+
user: 'steve'
|
657
|
+
};
|
658
|
+
|
659
|
+
return callback(null, credentials);
|
660
|
+
};
|
661
|
+
|
662
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
663
|
+
|
664
|
+
expect(err).to.exist();
|
665
|
+
expect(err.message).to.equal('Invalid credentials');
|
666
|
+
expect(err.output.payload.message).to.equal('An internal server error occurred');
|
667
|
+
done();
|
668
|
+
});
|
669
|
+
});
|
670
|
+
|
671
|
+
it('errors on invalid credentials (key)', function (done) {
|
672
|
+
|
673
|
+
var req = {
|
674
|
+
method: 'GET',
|
675
|
+
url: '/resource/4?filter=a',
|
676
|
+
host: 'example.com',
|
677
|
+
port: 8080,
|
678
|
+
authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
679
|
+
};
|
680
|
+
|
681
|
+
var credentialsFunc = function (id, callback) {
|
682
|
+
|
683
|
+
var credentials = {
|
684
|
+
id: '23434d3q4d5345d',
|
685
|
+
user: 'steve'
|
686
|
+
};
|
687
|
+
|
688
|
+
return callback(null, credentials);
|
689
|
+
};
|
690
|
+
|
691
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
692
|
+
|
693
|
+
expect(err).to.exist();
|
694
|
+
expect(err.message).to.equal('Invalid credentials');
|
695
|
+
expect(err.output.payload.message).to.equal('An internal server error occurred');
|
696
|
+
done();
|
697
|
+
});
|
698
|
+
});
|
699
|
+
|
700
|
+
it('errors on unknown credentials algorithm', function (done) {
|
701
|
+
|
702
|
+
var req = {
|
703
|
+
method: 'GET',
|
704
|
+
url: '/resource/4?filter=a',
|
705
|
+
host: 'example.com',
|
706
|
+
port: 8080,
|
707
|
+
authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
708
|
+
};
|
709
|
+
|
710
|
+
var credentialsFunc = function (id, callback) {
|
711
|
+
|
712
|
+
var credentials = {
|
713
|
+
key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
|
714
|
+
algorithm: 'hmac-sha-0',
|
715
|
+
user: 'steve'
|
716
|
+
};
|
717
|
+
|
718
|
+
return callback(null, credentials);
|
719
|
+
};
|
720
|
+
|
721
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
722
|
+
|
723
|
+
expect(err).to.exist();
|
724
|
+
expect(err.message).to.equal('Unknown algorithm');
|
725
|
+
expect(err.output.payload.message).to.equal('An internal server error occurred');
|
726
|
+
done();
|
727
|
+
});
|
728
|
+
});
|
729
|
+
|
730
|
+
it('errors on unknown bad mac', function (done) {
|
731
|
+
|
732
|
+
var req = {
|
733
|
+
method: 'GET',
|
734
|
+
url: '/resource/4?filter=a',
|
735
|
+
host: 'example.com',
|
736
|
+
port: 8080,
|
737
|
+
authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcU4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
|
738
|
+
};
|
739
|
+
|
740
|
+
var credentialsFunc = function (id, callback) {
|
741
|
+
|
742
|
+
var credentials = {
|
743
|
+
key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
|
744
|
+
algorithm: 'sha256',
|
745
|
+
user: 'steve'
|
746
|
+
};
|
747
|
+
|
748
|
+
return callback(null, credentials);
|
749
|
+
};
|
750
|
+
|
751
|
+
Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
|
752
|
+
|
753
|
+
expect(err).to.exist();
|
754
|
+
expect(err.output.payload.message).to.equal('Bad mac');
|
755
|
+
done();
|
756
|
+
});
|
757
|
+
});
|
758
|
+
});
|
759
|
+
|
760
|
+
describe('header()', function () {
|
761
|
+
|
762
|
+
it('generates header', function (done) {
|
763
|
+
|
764
|
+
var credentials = {
|
765
|
+
id: '123456',
|
766
|
+
key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
|
767
|
+
algorithm: 'sha256',
|
768
|
+
user: 'steve'
|
769
|
+
};
|
770
|
+
|
771
|
+
var artifacts = {
|
772
|
+
method: 'POST',
|
773
|
+
host: 'example.com',
|
774
|
+
port: '8080',
|
775
|
+
resource: '/resource/4?filter=a',
|
776
|
+
ts: '1398546787',
|
777
|
+
nonce: 'xUwusx',
|
778
|
+
hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
|
779
|
+
ext: 'some-app-data',
|
780
|
+
mac: 'dvIvMThwi28J61Jc3P0ryAhuKpanU63GXdx6hkmQkJA=',
|
781
|
+
id: '123456'
|
782
|
+
};
|
783
|
+
|
784
|
+
var header = Hawk.server.header(credentials, artifacts, { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' });
|
785
|
+
expect(header).to.equal('Hawk mac=\"n14wVJK4cOxAytPUMc5bPezQzuJGl5n7MYXhFQgEKsE=\", hash=\"f9cDF/TDm7TkYRLnGwRMfeDzT6LixQVLvrIKhh0vgmM=\", ext=\"response-specific\"');
|
786
|
+
done();
|
787
|
+
});
|
788
|
+
|
789
|
+
it('generates header (empty payload)', function (done) {
|
790
|
+
|
791
|
+
var credentials = {
|
792
|
+
id: '123456',
|
793
|
+
key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
|
794
|
+
algorithm: 'sha256',
|
795
|
+
user: 'steve'
|
796
|
+
};
|
797
|
+
|
798
|
+
var artifacts = {
|
799
|
+
method: 'POST',
|
800
|
+
host: 'example.com',
|
801
|
+
port: '8080',
|
802
|
+
resource: '/resource/4?filter=a',
|
803
|
+
ts: '1398546787',
|
804
|
+
nonce: 'xUwusx',
|
805
|
+
hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
|
806
|
+
ext: 'some-app-data',
|
807
|
+
mac: 'dvIvMThwi28J61Jc3P0ryAhuKpanU63GXdx6hkmQkJA=',
|
808
|
+
id: '123456'
|
809
|
+
};
|
810
|
+
|
811
|
+
var header = Hawk.server.header(credentials, artifacts, { payload: '', contentType: 'text/plain', ext: 'response-specific' });
|
812
|
+
expect(header).to.equal('Hawk mac=\"i8/kUBDx0QF+PpCtW860kkV/fa9dbwEoe/FpGUXowf0=\", hash=\"q/t+NNAkQZNlq/aAD6PlexImwQTxwgT2MahfTa9XRLA=\", ext=\"response-specific\"');
|
813
|
+
done();
|
814
|
+
});
|
815
|
+
|
816
|
+
it('generates header (pre calculated hash)', function (done) {
|
817
|
+
|
818
|
+
var credentials = {
|
819
|
+
id: '123456',
|
820
|
+
key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
|
821
|
+
algorithm: 'sha256',
|
822
|
+
user: 'steve'
|
823
|
+
};
|
824
|
+
|
825
|
+
var artifacts = {
|
826
|
+
method: 'POST',
|
827
|
+
host: 'example.com',
|
828
|
+
port: '8080',
|
829
|
+
resource: '/resource/4?filter=a',
|
830
|
+
ts: '1398546787',
|
831
|
+
nonce: 'xUwusx',
|
832
|
+
hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
|
833
|
+
ext: 'some-app-data',
|
834
|
+
mac: 'dvIvMThwi28J61Jc3P0ryAhuKpanU63GXdx6hkmQkJA=',
|
835
|
+
id: '123456'
|
836
|
+
};
|
837
|
+
|
838
|
+
var options = { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' };
|
839
|
+
options.hash = Hawk.crypto.calculatePayloadHash(options.payload, credentials.algorithm, options.contentType);
|
840
|
+
var header = Hawk.server.header(credentials, artifacts, options);
|
841
|
+
expect(header).to.equal('Hawk mac=\"n14wVJK4cOxAytPUMc5bPezQzuJGl5n7MYXhFQgEKsE=\", hash=\"f9cDF/TDm7TkYRLnGwRMfeDzT6LixQVLvrIKhh0vgmM=\", ext=\"response-specific\"');
|
842
|
+
done();
|
843
|
+
});
|
844
|
+
|
845
|
+
it('generates header (null ext)', function (done) {
|
846
|
+
|
847
|
+
var credentials = {
|
848
|
+
id: '123456',
|
849
|
+
key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
|
850
|
+
algorithm: 'sha256',
|
851
|
+
user: 'steve'
|
852
|
+
};
|
853
|
+
|
854
|
+
var artifacts = {
|
855
|
+
method: 'POST',
|
856
|
+
host: 'example.com',
|
857
|
+
port: '8080',
|
858
|
+
resource: '/resource/4?filter=a',
|
859
|
+
ts: '1398546787',
|
860
|
+
nonce: 'xUwusx',
|
861
|
+
hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
|
862
|
+
mac: 'dvIvMThwi28J61Jc3P0ryAhuKpanU63GXdx6hkmQkJA=',
|
863
|
+
id: '123456'
|
864
|
+
};
|
865
|
+
|
866
|
+
var header = Hawk.server.header(credentials, artifacts, { payload: 'some reply', contentType: 'text/plain', ext: null });
|
867
|
+
expect(header).to.equal('Hawk mac=\"6PrybJTJs20jsgBw5eilXpcytD8kUbaIKNYXL+6g0ns=\", hash=\"f9cDF/TDm7TkYRLnGwRMfeDzT6LixQVLvrIKhh0vgmM=\"');
|
868
|
+
done();
|
869
|
+
});
|
870
|
+
|
871
|
+
it('errors on missing artifacts', function (done) {
|
872
|
+
|
873
|
+
var credentials = {
|
874
|
+
id: '123456',
|
875
|
+
key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
|
876
|
+
algorithm: 'sha256',
|
877
|
+
user: 'steve'
|
878
|
+
};
|
879
|
+
|
880
|
+
var header = Hawk.server.header(credentials, null, { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' });
|
881
|
+
expect(header).to.equal('');
|
882
|
+
done();
|
883
|
+
});
|
884
|
+
|
885
|
+
it('errors on invalid artifacts', function (done) {
|
886
|
+
|
887
|
+
var credentials = {
|
888
|
+
id: '123456',
|
889
|
+
key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
|
890
|
+
algorithm: 'sha256',
|
891
|
+
user: 'steve'
|
892
|
+
};
|
893
|
+
|
894
|
+
var header = Hawk.server.header(credentials, 5, { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' });
|
895
|
+
expect(header).to.equal('');
|
896
|
+
done();
|
897
|
+
});
|
898
|
+
|
899
|
+
it('errors on missing credentials', function (done) {
|
900
|
+
|
901
|
+
var artifacts = {
|
902
|
+
method: 'POST',
|
903
|
+
host: 'example.com',
|
904
|
+
port: '8080',
|
905
|
+
resource: '/resource/4?filter=a',
|
906
|
+
ts: '1398546787',
|
907
|
+
nonce: 'xUwusx',
|
908
|
+
hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
|
909
|
+
ext: 'some-app-data',
|
910
|
+
mac: 'dvIvMThwi28J61Jc3P0ryAhuKpanU63GXdx6hkmQkJA=',
|
911
|
+
id: '123456'
|
912
|
+
};
|
913
|
+
|
914
|
+
var header = Hawk.server.header(null, artifacts, { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' });
|
915
|
+
expect(header).to.equal('');
|
916
|
+
done();
|
917
|
+
});
|
918
|
+
|
919
|
+
it('errors on invalid credentials (key)', function (done) {
|
920
|
+
|
921
|
+
var credentials = {
|
922
|
+
id: '123456',
|
923
|
+
algorithm: 'sha256',
|
924
|
+
user: 'steve'
|
925
|
+
};
|
926
|
+
|
927
|
+
var artifacts = {
|
928
|
+
method: 'POST',
|
929
|
+
host: 'example.com',
|
930
|
+
port: '8080',
|
931
|
+
resource: '/resource/4?filter=a',
|
932
|
+
ts: '1398546787',
|
933
|
+
nonce: 'xUwusx',
|
934
|
+
hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
|
935
|
+
ext: 'some-app-data',
|
936
|
+
mac: 'dvIvMThwi28J61Jc3P0ryAhuKpanU63GXdx6hkmQkJA=',
|
937
|
+
id: '123456'
|
938
|
+
};
|
939
|
+
|
940
|
+
var header = Hawk.server.header(credentials, artifacts, { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' });
|
941
|
+
expect(header).to.equal('');
|
942
|
+
done();
|
943
|
+
});
|
944
|
+
|
945
|
+
it('errors on invalid algorithm', function (done) {
|
946
|
+
|
947
|
+
var credentials = {
|
948
|
+
id: '123456',
|
949
|
+
key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
|
950
|
+
algorithm: 'x',
|
951
|
+
user: 'steve'
|
952
|
+
};
|
953
|
+
|
954
|
+
var artifacts = {
|
955
|
+
method: 'POST',
|
956
|
+
host: 'example.com',
|
957
|
+
port: '8080',
|
958
|
+
resource: '/resource/4?filter=a',
|
959
|
+
ts: '1398546787',
|
960
|
+
nonce: 'xUwusx',
|
961
|
+
hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
|
962
|
+
ext: 'some-app-data',
|
963
|
+
mac: 'dvIvMThwi28J61Jc3P0ryAhuKpanU63GXdx6hkmQkJA=',
|
964
|
+
id: '123456'
|
965
|
+
};
|
966
|
+
|
967
|
+
var header = Hawk.server.header(credentials, artifacts, { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' });
|
968
|
+
expect(header).to.equal('');
|
969
|
+
done();
|
970
|
+
});
|
971
|
+
});
|
972
|
+
|
973
|
+
describe('authenticateMessage()', function () {
|
974
|
+
|
975
|
+
it('errors on invalid authorization (ts)', function (done) {
|
976
|
+
|
977
|
+
credentialsFunc('123456', function (err, credentials) {
|
978
|
+
|
979
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials });
|
980
|
+
delete auth.ts;
|
981
|
+
|
982
|
+
Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, {}, function (err, credentials) {
|
983
|
+
|
984
|
+
expect(err).to.exist();
|
985
|
+
expect(err.message).to.equal('Invalid authorization');
|
986
|
+
done();
|
987
|
+
});
|
988
|
+
});
|
989
|
+
});
|
990
|
+
|
991
|
+
it('errors on invalid authorization (nonce)', function (done) {
|
992
|
+
|
993
|
+
credentialsFunc('123456', function (err, credentials) {
|
994
|
+
|
995
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials });
|
996
|
+
delete auth.nonce;
|
997
|
+
|
998
|
+
Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, {}, function (err, credentials) {
|
999
|
+
|
1000
|
+
expect(err).to.exist();
|
1001
|
+
expect(err.message).to.equal('Invalid authorization');
|
1002
|
+
done();
|
1003
|
+
});
|
1004
|
+
});
|
1005
|
+
});
|
1006
|
+
|
1007
|
+
it('errors on invalid authorization (hash)', function (done) {
|
1008
|
+
|
1009
|
+
credentialsFunc('123456', function (err, credentials) {
|
1010
|
+
|
1011
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials });
|
1012
|
+
delete auth.hash;
|
1013
|
+
|
1014
|
+
Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, {}, function (err, credentials) {
|
1015
|
+
|
1016
|
+
expect(err).to.exist();
|
1017
|
+
expect(err.message).to.equal('Invalid authorization');
|
1018
|
+
done();
|
1019
|
+
});
|
1020
|
+
});
|
1021
|
+
});
|
1022
|
+
|
1023
|
+
it('errors with credentials', function (done) {
|
1024
|
+
|
1025
|
+
credentialsFunc('123456', function (err, credentials) {
|
1026
|
+
|
1027
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials });
|
1028
|
+
|
1029
|
+
Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, function (id, callback) {
|
1030
|
+
|
1031
|
+
callback(new Error('something'), { some: 'value' });
|
1032
|
+
}, {}, function (err, credentials) {
|
1033
|
+
|
1034
|
+
expect(err).to.exist();
|
1035
|
+
expect(err.message).to.equal('something');
|
1036
|
+
expect(credentials.some).to.equal('value');
|
1037
|
+
done();
|
1038
|
+
});
|
1039
|
+
});
|
1040
|
+
});
|
1041
|
+
|
1042
|
+
it('errors on nonce collision', function (done) {
|
1043
|
+
|
1044
|
+
credentialsFunc('123456', function (err, credentials) {
|
1045
|
+
|
1046
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials });
|
1047
|
+
Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, {
|
1048
|
+
nonceFunc: function (key, nonce, ts, nonceCallback) {
|
1049
|
+
|
1050
|
+
nonceCallback(true);
|
1051
|
+
}
|
1052
|
+
}, function (err, credentials) {
|
1053
|
+
|
1054
|
+
expect(err).to.exist();
|
1055
|
+
expect(err.message).to.equal('Invalid nonce');
|
1056
|
+
done();
|
1057
|
+
});
|
1058
|
+
});
|
1059
|
+
});
|
1060
|
+
|
1061
|
+
var credentialsFunc = function (id, callback) {
|
1062
|
+
|
1063
|
+
var credentials = {
|
1064
|
+
id: id,
|
1065
|
+
key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
|
1066
|
+
algorithm: (id === '1' ? 'sha1' : 'sha256'),
|
1067
|
+
user: 'steve'
|
1068
|
+
};
|
1069
|
+
|
1070
|
+
return callback(null, credentials);
|
1071
|
+
};
|
1072
|
+
|
1073
|
+
it('should generate an authorization then successfully parse it', function (done) {
|
1074
|
+
|
1075
|
+
credentialsFunc('123456', function (err, credentials) {
|
1076
|
+
|
1077
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials });
|
1078
|
+
expect(auth).to.exist();
|
1079
|
+
|
1080
|
+
Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, {}, function (err, credentials) {
|
1081
|
+
|
1082
|
+
expect(err).to.not.exist();
|
1083
|
+
expect(credentials.user).to.equal('steve');
|
1084
|
+
done();
|
1085
|
+
});
|
1086
|
+
});
|
1087
|
+
});
|
1088
|
+
|
1089
|
+
it('should fail authorization on mismatching host', function (done) {
|
1090
|
+
|
1091
|
+
credentialsFunc('123456', function (err, credentials) {
|
1092
|
+
|
1093
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials });
|
1094
|
+
expect(auth).to.exist();
|
1095
|
+
|
1096
|
+
Hawk.server.authenticateMessage('example1.com', 8080, 'some message', auth, credentialsFunc, {}, function (err, credentials) {
|
1097
|
+
|
1098
|
+
expect(err).to.exist();
|
1099
|
+
expect(err.message).to.equal('Bad mac');
|
1100
|
+
done();
|
1101
|
+
});
|
1102
|
+
});
|
1103
|
+
});
|
1104
|
+
|
1105
|
+
it('should fail authorization on stale timestamp', function (done) {
|
1106
|
+
|
1107
|
+
credentialsFunc('123456', function (err, credentials) {
|
1108
|
+
|
1109
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials });
|
1110
|
+
expect(auth).to.exist();
|
1111
|
+
|
1112
|
+
Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, { localtimeOffsetMsec: 100000 }, function (err, credentials) {
|
1113
|
+
|
1114
|
+
expect(err).to.exist();
|
1115
|
+
expect(err.message).to.equal('Stale timestamp');
|
1116
|
+
done();
|
1117
|
+
});
|
1118
|
+
});
|
1119
|
+
});
|
1120
|
+
|
1121
|
+
it('overrides timestampSkewSec', function (done) {
|
1122
|
+
|
1123
|
+
credentialsFunc('123456', function (err, credentials) {
|
1124
|
+
|
1125
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials, localtimeOffsetMsec: 100000 });
|
1126
|
+
expect(auth).to.exist();
|
1127
|
+
|
1128
|
+
Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, { timestampSkewSec: 500 }, function (err, credentials) {
|
1129
|
+
|
1130
|
+
expect(err).to.not.exist();
|
1131
|
+
done();
|
1132
|
+
});
|
1133
|
+
});
|
1134
|
+
});
|
1135
|
+
|
1136
|
+
it('should fail authorization on invalid authorization', function (done) {
|
1137
|
+
|
1138
|
+
credentialsFunc('123456', function (err, credentials) {
|
1139
|
+
|
1140
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials });
|
1141
|
+
expect(auth).to.exist();
|
1142
|
+
delete auth.id;
|
1143
|
+
|
1144
|
+
Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, {}, function (err, credentials) {
|
1145
|
+
|
1146
|
+
expect(err).to.exist();
|
1147
|
+
expect(err.message).to.equal('Invalid authorization');
|
1148
|
+
done();
|
1149
|
+
});
|
1150
|
+
});
|
1151
|
+
});
|
1152
|
+
|
1153
|
+
it('should fail authorization on bad hash', function (done) {
|
1154
|
+
|
1155
|
+
credentialsFunc('123456', function (err, credentials) {
|
1156
|
+
|
1157
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials });
|
1158
|
+
expect(auth).to.exist();
|
1159
|
+
|
1160
|
+
Hawk.server.authenticateMessage('example.com', 8080, 'some message1', auth, credentialsFunc, {}, function (err, credentials) {
|
1161
|
+
|
1162
|
+
expect(err).to.exist();
|
1163
|
+
expect(err.message).to.equal('Bad message hash');
|
1164
|
+
done();
|
1165
|
+
});
|
1166
|
+
});
|
1167
|
+
});
|
1168
|
+
|
1169
|
+
it('should fail authorization on nonce error', function (done) {
|
1170
|
+
|
1171
|
+
credentialsFunc('123456', function (err, credentials) {
|
1172
|
+
|
1173
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials });
|
1174
|
+
expect(auth).to.exist();
|
1175
|
+
|
1176
|
+
Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, {
|
1177
|
+
nonceFunc: function (key, nonce, ts, callback) {
|
1178
|
+
|
1179
|
+
callback(new Error('kaboom'));
|
1180
|
+
}
|
1181
|
+
}, function (err, credentials) {
|
1182
|
+
|
1183
|
+
expect(err).to.exist();
|
1184
|
+
expect(err.message).to.equal('Invalid nonce');
|
1185
|
+
done();
|
1186
|
+
});
|
1187
|
+
});
|
1188
|
+
});
|
1189
|
+
|
1190
|
+
it('should fail authorization on credentials error', function (done) {
|
1191
|
+
|
1192
|
+
credentialsFunc('123456', function (err, credentials) {
|
1193
|
+
|
1194
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials });
|
1195
|
+
expect(auth).to.exist();
|
1196
|
+
|
1197
|
+
var errFunc = function (id, callback) {
|
1198
|
+
|
1199
|
+
callback(new Error('kablooey'));
|
1200
|
+
};
|
1201
|
+
|
1202
|
+
Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, errFunc, {}, function (err, credentials) {
|
1203
|
+
|
1204
|
+
expect(err).to.exist();
|
1205
|
+
expect(err.message).to.equal('kablooey');
|
1206
|
+
done();
|
1207
|
+
});
|
1208
|
+
});
|
1209
|
+
});
|
1210
|
+
|
1211
|
+
it('should fail authorization on missing credentials', function (done) {
|
1212
|
+
|
1213
|
+
credentialsFunc('123456', function (err, credentials) {
|
1214
|
+
|
1215
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials });
|
1216
|
+
expect(auth).to.exist();
|
1217
|
+
|
1218
|
+
var errFunc = function (id, callback) {
|
1219
|
+
|
1220
|
+
callback();
|
1221
|
+
};
|
1222
|
+
|
1223
|
+
Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, errFunc, {}, function (err, credentials) {
|
1224
|
+
|
1225
|
+
expect(err).to.exist();
|
1226
|
+
expect(err.message).to.equal('Unknown credentials');
|
1227
|
+
done();
|
1228
|
+
});
|
1229
|
+
});
|
1230
|
+
});
|
1231
|
+
|
1232
|
+
it('should fail authorization on invalid credentials', function (done) {
|
1233
|
+
|
1234
|
+
credentialsFunc('123456', function (err, credentials) {
|
1235
|
+
|
1236
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials });
|
1237
|
+
expect(auth).to.exist();
|
1238
|
+
|
1239
|
+
var errFunc = function (id, callback) {
|
1240
|
+
|
1241
|
+
callback(null, {});
|
1242
|
+
};
|
1243
|
+
|
1244
|
+
Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, errFunc, {}, function (err, credentials) {
|
1245
|
+
|
1246
|
+
expect(err).to.exist();
|
1247
|
+
expect(err.message).to.equal('Invalid credentials');
|
1248
|
+
done();
|
1249
|
+
});
|
1250
|
+
});
|
1251
|
+
});
|
1252
|
+
|
1253
|
+
it('should fail authorization on invalid credentials algorithm', function (done) {
|
1254
|
+
|
1255
|
+
credentialsFunc('123456', function (err, credentials) {
|
1256
|
+
|
1257
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials });
|
1258
|
+
expect(auth).to.exist();
|
1259
|
+
|
1260
|
+
var errFunc = function (id, callback) {
|
1261
|
+
|
1262
|
+
callback(null, { key: '123', algorithm: '456' });
|
1263
|
+
};
|
1264
|
+
|
1265
|
+
Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, errFunc, {}, function (err, credentials) {
|
1266
|
+
|
1267
|
+
expect(err).to.exist();
|
1268
|
+
expect(err.message).to.equal('Unknown algorithm');
|
1269
|
+
done();
|
1270
|
+
});
|
1271
|
+
});
|
1272
|
+
});
|
1273
|
+
|
1274
|
+
it('should fail on missing host', function (done) {
|
1275
|
+
|
1276
|
+
credentialsFunc('123456', function (err, credentials) {
|
1277
|
+
|
1278
|
+
var auth = Hawk.client.message(null, 8080, 'some message', { credentials: credentials });
|
1279
|
+
expect(auth).to.not.exist();
|
1280
|
+
done();
|
1281
|
+
});
|
1282
|
+
});
|
1283
|
+
|
1284
|
+
it('should fail on missing credentials', function (done) {
|
1285
|
+
|
1286
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', {});
|
1287
|
+
expect(auth).to.not.exist();
|
1288
|
+
done();
|
1289
|
+
});
|
1290
|
+
|
1291
|
+
it('should fail on invalid algorithm', function (done) {
|
1292
|
+
|
1293
|
+
credentialsFunc('123456', function (err, credentials) {
|
1294
|
+
|
1295
|
+
var creds = Hoek.clone(credentials);
|
1296
|
+
creds.algorithm = 'blah';
|
1297
|
+
var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: creds });
|
1298
|
+
expect(auth).to.not.exist();
|
1299
|
+
done();
|
1300
|
+
});
|
1301
|
+
});
|
1302
|
+
});
|
1303
|
+
|
1304
|
+
describe('authenticatePayloadHash()', function () {
|
1305
|
+
|
1306
|
+
it('checks payload hash', function (done) {
|
1307
|
+
|
1308
|
+
expect(Hawk.server.authenticatePayloadHash('abcdefg', { hash: 'abcdefg' })).to.equal(true);
|
1309
|
+
expect(Hawk.server.authenticatePayloadHash('1234567', { hash: 'abcdefg' })).to.equal(false);
|
1310
|
+
done();
|
1311
|
+
});
|
1312
|
+
});
|
1313
|
+
});
|
1314
|
+
|