fsevents 1.0.12 → 1.0.14
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 -3
- package/.travis.yml +6 -5
- package/build/.target.mk +49 -0
- package/build/Makefile +352 -0
- package/build/action_after_build.target.mk +32 -0
- package/build/binding.Makefile +6 -0
- package/build/fse.target.mk +169 -0
- package/build/gyp-mac-tool +612 -0
- package/lib/binding/Release/node-v11-darwin-x64/fse.node +0 -0
- package/lib/binding/Release/node-v46-darwin-x64/fse.node +0 -0
- package/lib/binding/Release/node-v47-darwin-x64/fse.node +0 -0
- package/node_modules/abbrev/package.json +82 -0
- package/node_modules/{lodash.repeat/LICENSE → ansi-regex/license} +5 -7
- package/node_modules/ansi-regex/package.json +20 -2
- package/node_modules/{lodash.padstart/LICENSE → ansi-styles/license} +5 -7
- package/node_modules/ansi-styles/package.json +21 -4
- package/node_modules/aproba/LICENSE +14 -0
- package/node_modules/aproba/README.md +59 -0
- package/node_modules/aproba/index.js +62 -0
- package/node_modules/aproba/package.json +88 -0
- package/node_modules/are-we-there-yet/package.json +21 -4
- package/node_modules/asn1/package.json +19 -1
- package/node_modules/assert-plus/package.json +21 -4
- package/node_modules/async/CHANGELOG.md +125 -0
- package/node_modules/async/LICENSE +19 -0
- package/node_modules/async/package.json +20 -2
- package/node_modules/aws-sign2/package.json +20 -2
- package/node_modules/aws4/aws4.js +1 -1
- package/node_modules/aws4/lru.js +96 -0
- package/node_modules/aws4/package.json +31 -16
- package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion → balanced-match}/.npmignore +2 -0
- package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → balanced-match}/README.md +5 -3
- package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → balanced-match}/index.js +9 -1
- package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → balanced-match}/package.json +35 -13
- package/node_modules/bl/README.md +3 -3
- package/node_modules/bl/bl.js +54 -38
- package/node_modules/bl/node_modules/readable-stream/.npmignore +5 -0
- package/node_modules/bl/node_modules/readable-stream/.travis.yml +52 -0
- package/node_modules/bl/node_modules/readable-stream/LICENSE +18 -0
- package/node_modules/bl/node_modules/readable-stream/README.md +36 -0
- package/node_modules/bl/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/node_modules/bl/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +75 -0
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +26 -0
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +880 -0
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +180 -0
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +516 -0
- package/node_modules/bl/node_modules/readable-stream/package.json +105 -0
- package/node_modules/bl/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/bl/node_modules/readable-stream/readable.js +12 -0
- package/node_modules/bl/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/bl/node_modules/readable-stream/writable.js +1 -0
- package/node_modules/bl/package.json +39 -15
- package/node_modules/bl/test/test.js +71 -2
- package/node_modules/block-stream/package.json +37 -12
- package/node_modules/boom/package.json +20 -2
- package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion → brace-expansion}/package.json +34 -16
- package/node_modules/buffer-shims/index.js +108 -0
- package/node_modules/buffer-shims/license.md +19 -0
- package/node_modules/buffer-shims/package.json +77 -0
- package/node_modules/buffer-shims/readme.md +21 -0
- package/node_modules/caseless/package.json +20 -2
- package/node_modules/{lodash.pad/LICENSE → chalk/license} +5 -7
- package/node_modules/chalk/package.json +21 -4
- package/node_modules/code-point-at/index.js +33 -0
- package/node_modules/{lodash.padend/LICENSE → code-point-at/license} +5 -7
- package/node_modules/code-point-at/package.json +96 -0
- package/node_modules/code-point-at/readme.md +34 -0
- package/node_modules/combined-stream/package.json +20 -2
- package/node_modules/commander/History.md +261 -0
- package/node_modules/commander/LICENSE +22 -0
- package/node_modules/commander/package.json +20 -2
- package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/package.json +21 -3
- package/node_modules/console-control-strings/LICENSE +13 -0
- package/node_modules/console-control-strings/README.md +145 -0
- package/node_modules/console-control-strings/README.md~ +140 -0
- package/node_modules/console-control-strings/index.js +125 -0
- package/node_modules/console-control-strings/package.json +88 -0
- package/node_modules/core-util-is/package.json +21 -2
- package/node_modules/cryptiles/package.json +20 -2
- package/node_modules/dashdash/lib/dashdash.js +34 -1
- package/node_modules/dashdash/node_modules/assert-plus/package.json +21 -4
- package/node_modules/dashdash/package.json +29 -12
- package/node_modules/debug/package.json +20 -2
- package/node_modules/deep-extend/CHANGELOG.md +21 -0
- package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → deep-extend}/LICENSE +3 -1
- package/node_modules/deep-extend/package.json +21 -4
- package/node_modules/delayed-stream/package.json +20 -2
- package/node_modules/delegates/package.json +21 -4
- package/node_modules/ecc-jsbn/package.json +20 -2
- package/node_modules/escape-string-regexp/license +21 -0
- package/node_modules/escape-string-regexp/package.json +21 -4
- package/node_modules/extend/package.json +20 -2
- package/node_modules/extsprintf/package.json +20 -3
- package/node_modules/forever-agent/package.json +20 -2
- package/node_modules/form-data/package.json +21 -4
- package/node_modules/fs.realpath/LICENSE +43 -0
- package/node_modules/fs.realpath/README.md +33 -0
- package/node_modules/fs.realpath/index.js +66 -0
- package/node_modules/fs.realpath/old.js +303 -0
- package/node_modules/fs.realpath/package.json +86 -0
- package/node_modules/fstream/.travis.yml +4 -4
- package/node_modules/fstream/lib/collect.js +2 -0
- package/node_modules/fstream/package.json +37 -15
- package/node_modules/fstream-ignore/package.json +45 -17
- package/node_modules/gauge/CHANGELOG.md +131 -0
- package/node_modules/gauge/CHANGELOG.md~ +123 -0
- package/node_modules/gauge/README.md +317 -88
- package/node_modules/gauge/README.md~ +393 -0
- package/node_modules/gauge/base-theme.js +14 -0
- package/node_modules/gauge/error.js +24 -0
- package/node_modules/gauge/has-color.js +12 -0
- package/node_modules/gauge/index.js +226 -0
- package/node_modules/gauge/package.json +67 -21
- package/node_modules/gauge/plumbing.js +47 -0
- package/node_modules/gauge/process.js +3 -0
- package/node_modules/gauge/progress-bar.js +29 -219
- package/node_modules/gauge/render-template.js +181 -0
- package/node_modules/gauge/set-immediate.js +7 -0
- package/node_modules/gauge/set-interval.js +3 -0
- package/node_modules/gauge/spin.js +5 -0
- package/node_modules/gauge/template-item.js +73 -0
- package/node_modules/gauge/theme-set.js +115 -0
- package/node_modules/gauge/themes.js +54 -0
- package/node_modules/gauge/wide-truncate.js +25 -0
- package/node_modules/generate-function/package.json +20 -2
- package/node_modules/generate-object-property/package.json +20 -2
- package/node_modules/getpass/.npmignore +8 -0
- package/node_modules/getpass/.travis.yml +9 -0
- package/node_modules/getpass/LICENSE +18 -0
- package/node_modules/getpass/README.md +32 -0
- package/node_modules/getpass/lib/index.js +123 -0
- package/node_modules/getpass/node_modules/assert-plus/AUTHORS +6 -0
- package/node_modules/getpass/node_modules/assert-plus/CHANGES.md +14 -0
- package/node_modules/getpass/node_modules/assert-plus/README.md +162 -0
- package/node_modules/getpass/node_modules/assert-plus/assert.js +211 -0
- package/node_modules/getpass/node_modules/assert-plus/package.json +107 -0
- package/node_modules/getpass/package.json +82 -0
- package/node_modules/glob/changelog.md +67 -0
- package/node_modules/{rimraf/node_modules/glob → glob}/glob.js +2 -1
- package/node_modules/glob/package.json +103 -0
- package/node_modules/{rimraf/node_modules/glob → glob}/sync.js +2 -1
- package/node_modules/graceful-fs/LICENSE +15 -0
- package/node_modules/graceful-fs/README.md +82 -2
- package/node_modules/graceful-fs/package.json +30 -12
- package/node_modules/graceful-readlink/package.json +20 -2
- package/node_modules/har-validator/LICENSE +13 -0
- package/node_modules/har-validator/package.json +20 -2
- package/node_modules/has-ansi/license +21 -0
- package/node_modules/has-ansi/package.json +20 -2
- package/node_modules/has-color/index.js +32 -0
- package/node_modules/has-color/package.json +97 -0
- package/node_modules/has-color/readme.md +30 -0
- package/node_modules/has-unicode/index.js +3 -8
- package/node_modules/has-unicode/package.json +36 -12
- package/node_modules/hawk/package.json +20 -2
- package/node_modules/hoek/package.json +20 -2
- package/node_modules/http-signature/package.json +20 -2
- package/node_modules/inflight/package.json +97 -0
- package/node_modules/inherits/package.json +16 -9
- package/node_modules/ini/package.json +21 -4
- package/node_modules/is-fullwidth-code-point/index.js +46 -0
- package/node_modules/is-fullwidth-code-point/license +21 -0
- package/node_modules/is-fullwidth-code-point/package.json +100 -0
- package/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/node_modules/is-my-json-valid/package.json +21 -4
- package/node_modules/is-property/package.json +20 -2
- package/node_modules/is-typedarray/package.json +20 -2
- package/node_modules/isarray/package.json +21 -2
- package/node_modules/isstream/package.json +20 -2
- package/node_modules/jodid25519/package.json +19 -1
- package/node_modules/jsbn/package.json +19 -1
- package/node_modules/json-schema/package.json +20 -2
- package/node_modules/json-stringify-safe/package.json +20 -2
- package/node_modules/jsonpointer/package.json +19 -1
- package/node_modules/jsprim/CHANGES.md +5 -0
- package/node_modules/jsprim/README.md +13 -4
- package/node_modules/jsprim/lib/jsprim.js +12 -2
- package/node_modules/jsprim/package.json +33 -11
- package/node_modules/mime-db/HISTORY.md +21 -0
- package/node_modules/mime-db/db.json +53 -1
- package/node_modules/mime-db/package.json +36 -19
- package/node_modules/mime-types/HISTORY.md +6 -0
- package/node_modules/mime-types/package.json +33 -16
- package/node_modules/{fstream-ignore/node_modules/minimatch → minimatch}/README.md +2 -9
- package/node_modules/{fstream-ignore/node_modules/minimatch → minimatch}/minimatch.js +15 -3
- package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch → minimatch}/package.json +37 -14
- package/node_modules/mkdirp/package.json +10 -8
- package/node_modules/ms/History.md +66 -0
- package/node_modules/ms/package.json +19 -1
- package/node_modules/node-pre-gyp/CHANGELOG.md +21 -0
- package/node_modules/node-pre-gyp/appveyor.yml +2 -2
- package/node_modules/node-pre-gyp/lib/install.js +12 -2
- package/node_modules/node-pre-gyp/lib/testbinary.js +9 -9
- package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +84 -0
- package/node_modules/node-pre-gyp/package.json +21 -31
- package/node_modules/node-uuid/package.json +20 -2
- package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/package.json +21 -3
- package/node_modules/npmlog/CHANGELOG.md +36 -0
- package/node_modules/npmlog/CHANGELOG.md~ +31 -0
- package/node_modules/npmlog/README.md +16 -1
- package/node_modules/npmlog/log.js +97 -50
- package/node_modules/npmlog/package.json +43 -17
- package/node_modules/number-is-nan/index.js +4 -0
- package/node_modules/number-is-nan/license +21 -0
- package/node_modules/number-is-nan/package.json +94 -0
- package/node_modules/number-is-nan/readme.md +30 -0
- package/node_modules/oauth-sign/package.json +36 -12
- package/node_modules/object-assign/index.js +83 -0
- package/node_modules/object-assign/license +21 -0
- package/node_modules/object-assign/package.json +106 -0
- package/node_modules/object-assign/readme.md +56 -0
- package/node_modules/once/package.json +22 -2
- package/node_modules/path-is-absolute/license +21 -0
- package/node_modules/{rimraf/node_modules/glob/node_modules/path-is-absolute → path-is-absolute}/package.json +22 -4
- package/node_modules/pinkie/license +21 -0
- package/node_modules/pinkie/package.json +21 -4
- package/node_modules/pinkie-promise/index.js +1 -1
- package/node_modules/pinkie-promise/license +21 -0
- package/node_modules/pinkie-promise/package.json +32 -10
- package/node_modules/process-nextick-args/index.js +31 -8
- package/node_modules/process-nextick-args/package.json +33 -10
- package/node_modules/qs/.eslintrc +5 -3
- package/node_modules/qs/.jscs.json +176 -0
- package/node_modules/qs/CHANGELOG.md +10 -0
- package/node_modules/qs/dist/qs.js +75 -63
- package/node_modules/qs/lib/parse.js +32 -29
- package/node_modules/qs/lib/stringify.js +37 -30
- package/node_modules/qs/lib/utils.js +6 -4
- package/node_modules/qs/package.json +41 -18
- package/node_modules/qs/test/parse.js +30 -0
- package/node_modules/qs/test/stringify.js +70 -0
- package/node_modules/rc/node_modules/minimist/package.json +20 -2
- package/node_modules/rc/package.json +21 -4
- package/node_modules/readable-stream/.npmignore +4 -1
- package/node_modules/readable-stream/.travis.yml +2 -0
- package/node_modules/readable-stream/README.md +2 -2
- package/node_modules/readable-stream/doc/stream.md +1772 -0
- package/node_modules/readable-stream/lib/_stream_readable.js +33 -20
- package/node_modules/readable-stream/lib/_stream_transform.js +3 -3
- package/node_modules/readable-stream/lib/_stream_writable.js +25 -15
- package/node_modules/readable-stream/package.json +44 -15
- package/node_modules/readable-stream/readable.js +4 -0
- package/node_modules/request/.eslintrc +1 -1
- package/node_modules/request/.travis.yml +9 -3
- package/node_modules/request/CHANGELOG.md +46 -8
- package/node_modules/request/CONTRIBUTING.md +41 -4
- package/node_modules/request/README.md +9 -6
- package/node_modules/request/codecov.yml +2 -0
- package/node_modules/request/index.js +6 -5
- package/node_modules/request/lib/helpers.js +3 -3
- package/node_modules/request/package.json +52 -30
- package/node_modules/request/request.js +58 -43
- package/node_modules/rimraf/package.json +33 -16
- package/node_modules/rimraf/rimraf.js +10 -2
- package/node_modules/semver/README.md +27 -8
- package/node_modules/semver/package.json +38 -12
- package/node_modules/semver/range.bnf +1 -1
- package/node_modules/semver/semver.js +7 -1
- package/node_modules/set-blocking/CHANGELOG.md +26 -0
- package/node_modules/set-blocking/LICENSE.txt +14 -0
- package/node_modules/set-blocking/README.md +31 -0
- package/node_modules/set-blocking/index.js +7 -0
- package/node_modules/set-blocking/package.json +98 -0
- package/node_modules/signal-exit/CHANGELOG.md +17 -0
- package/node_modules/signal-exit/LICENSE.txt +14 -0
- package/node_modules/signal-exit/README.md +40 -0
- package/node_modules/signal-exit/index.js +148 -0
- package/node_modules/signal-exit/package.json +98 -0
- package/node_modules/signal-exit/signals.js +52 -0
- package/node_modules/sntp/package.json +20 -2
- package/node_modules/sshpk/.travis.yml +3 -3
- package/node_modules/sshpk/README.md +26 -7
- package/node_modules/sshpk/bin/sshpk-conv +14 -2
- package/node_modules/sshpk/bin/sshpk-sign +16 -1
- package/node_modules/sshpk/lib/errors.js +14 -1
- package/node_modules/sshpk/lib/formats/auto.js +8 -8
- package/node_modules/sshpk/lib/formats/pem.js +39 -5
- package/node_modules/sshpk/lib/formats/pkcs1.js +4 -4
- package/node_modules/sshpk/lib/formats/pkcs8.js +4 -4
- package/node_modules/sshpk/lib/formats/rfc4253.js +2 -2
- package/node_modules/sshpk/lib/formats/ssh-private.js +3 -3
- package/node_modules/sshpk/lib/formats/ssh.js +2 -2
- package/node_modules/sshpk/lib/index.js +2 -1
- package/node_modules/sshpk/lib/key.js +20 -17
- package/node_modules/sshpk/lib/private-key.js +19 -12
- package/node_modules/sshpk/lib/utils.js +40 -1
- package/node_modules/sshpk/node_modules/assert-plus/AUTHORS +6 -0
- package/node_modules/sshpk/node_modules/assert-plus/CHANGES.md +14 -0
- package/node_modules/sshpk/node_modules/assert-plus/README.md +162 -0
- package/node_modules/sshpk/node_modules/assert-plus/assert.js +211 -0
- package/node_modules/sshpk/node_modules/assert-plus/package.json +107 -0
- package/node_modules/sshpk/package.json +48 -30
- package/node_modules/string-width/index.js +32 -0
- package/node_modules/string-width/license +21 -0
- package/node_modules/string-width/package.json +111 -0
- package/node_modules/string-width/readme.md +41 -0
- package/node_modules/string_decoder/package.json +21 -2
- package/node_modules/stringstream/package.json +20 -2
- package/node_modules/strip-ansi/license +21 -0
- package/node_modules/strip-ansi/package.json +24 -5
- package/node_modules/strip-json-comments/license +21 -0
- package/node_modules/strip-json-comments/package.json +20 -2
- package/node_modules/supports-color/license +21 -0
- package/node_modules/supports-color/package.json +20 -2
- package/node_modules/tar/package.json +20 -2
- package/node_modules/tar-pack/package.json +34 -17
- package/node_modules/tough-cookie/LICENSE +27 -0
- package/node_modules/tough-cookie/package.json +21 -4
- package/node_modules/tunnel-agent/package.json +35 -10
- package/node_modules/tweetnacl/CHANGELOG.md +0 -53
- package/node_modules/tweetnacl/README.md +42 -24
- package/node_modules/tweetnacl/nacl-fast.js +52 -22
- package/node_modules/tweetnacl/nacl-fast.min.js +2 -2
- package/node_modules/tweetnacl/nacl.js +51 -21
- package/node_modules/tweetnacl/nacl.min.js +1 -1
- package/node_modules/tweetnacl/package.json +56 -30
- package/node_modules/uid-number/package.json +21 -4
- package/node_modules/util-deprecate/package.json +21 -2
- package/node_modules/verror/package.json +20 -3
- package/node_modules/wide-align/.npmignore +5 -0
- package/node_modules/wide-align/LICENSE +14 -0
- package/node_modules/wide-align/README.md +47 -0
- package/node_modules/wide-align/align.js +65 -0
- package/node_modules/wide-align/package.json +85 -0
- package/node_modules/wide-align/test/align.js +37 -0
- package/node_modules/wrappy/package.json +44 -14
- package/node_modules/xtend/package.json +20 -2
- package/package.json +2 -2
- package/node_modules/ansi/.jshintrc +0 -4
- package/node_modules/ansi/History.md +0 -23
- package/node_modules/ansi/LICENSE +0 -24
- package/node_modules/ansi/README.md +0 -98
- package/node_modules/ansi/examples/beep/index.js +0 -16
- package/node_modules/ansi/examples/clear/index.js +0 -15
- package/node_modules/ansi/examples/cursorPosition.js +0 -32
- package/node_modules/ansi/examples/progress/index.js +0 -87
- package/node_modules/ansi/lib/ansi.js +0 -405
- package/node_modules/ansi/lib/newlines.js +0 -71
- package/node_modules/ansi/package.json +0 -69
- package/node_modules/aws4/node_modules/lru-cache/README.md +0 -142
- package/node_modules/aws4/node_modules/lru-cache/lib/lru-cache.js +0 -469
- package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/README.md +0 -60
- package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/map.js +0 -9
- package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/package.json +0 -60
- package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/pseudomap.js +0 -113
- package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/test/basic.js +0 -86
- package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/.npmignore +0 -4
- package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/.travis.yml +0 -7
- package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/CONTRIBUTING.md +0 -4
- package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/README.md +0 -204
- package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/package.json +0 -60
- package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/test/basic.js +0 -188
- package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/yallist.js +0 -360
- package/node_modules/aws4/node_modules/lru-cache/package.json +0 -78
- package/node_modules/block-stream/bench/block-stream-pause.js +0 -70
- package/node_modules/block-stream/bench/block-stream.js +0 -68
- package/node_modules/block-stream/bench/dropper-pause.js +0 -70
- package/node_modules/block-stream/bench/dropper.js +0 -68
- package/node_modules/block-stream/test/basic.js +0 -27
- package/node_modules/block-stream/test/nopad-thorough.js +0 -68
- package/node_modules/block-stream/test/nopad.js +0 -57
- package/node_modules/block-stream/test/pause-resume.js +0 -73
- package/node_modules/block-stream/test/thorough.js +0 -68
- package/node_modules/block-stream/test/two-stream.js +0 -59
- package/node_modules/fstream-ignore/.npmignore +0 -1
- package/node_modules/fstream-ignore/example/basic.js +0 -13
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/.npmignore +0 -3
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/example.js +0 -8
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +0 -2
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml +0 -3
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +0 -6
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +0 -89
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +0 -5
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +0 -80
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +0 -84
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +0 -91
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -86
- package/node_modules/fstream-ignore/node_modules/minimatch/package.json +0 -67
- package/node_modules/fstream-ignore/test/.ignore +0 -2
- package/node_modules/fstream-ignore/test/.npmignore +0 -1
- package/node_modules/fstream-ignore/test/00-setup.js +0 -71
- package/node_modules/fstream-ignore/test/basic.js +0 -28
- package/node_modules/fstream-ignore/test/common.js +0 -40
- package/node_modules/fstream-ignore/test/ignore-most.js +0 -41
- package/node_modules/fstream-ignore/test/nested-ignores.js +0 -51
- package/node_modules/fstream-ignore/test/read-file-order.js +0 -81
- package/node_modules/fstream-ignore/test/unignore-child.js +0 -38
- package/node_modules/fstream-ignore/test/zz-cleanup.js +0 -10
- package/node_modules/gauge/.npmignore +0 -32
- package/node_modules/gauge/example.png +0 -0
- package/node_modules/gauge/test/progress-bar.js +0 -176
- package/node_modules/has-unicode/.npmignore +0 -32
- package/node_modules/has-unicode/test/index.js +0 -26
- package/node_modules/lodash.pad/README.md +0 -18
- package/node_modules/lodash.pad/index.js +0 -296
- package/node_modules/lodash.pad/package.json +0 -91
- package/node_modules/lodash.padend/README.md +0 -18
- package/node_modules/lodash.padend/index.js +0 -285
- package/node_modules/lodash.padend/package.json +0 -91
- package/node_modules/lodash.padstart/README.md +0 -18
- package/node_modules/lodash.padstart/index.js +0 -285
- package/node_modules/lodash.padstart/package.json +0 -91
- package/node_modules/lodash.repeat/README.md +0 -18
- package/node_modules/lodash.repeat/index.js +0 -215
- package/node_modules/lodash.repeat/package.json +0 -92
- package/node_modules/lodash.tostring/LICENSE +0 -23
- package/node_modules/lodash.tostring/README.md +0 -18
- package/node_modules/lodash.tostring/index.js +0 -164
- package/node_modules/lodash.tostring/package.json +0 -91
- package/node_modules/node-pre-gyp/README.md +0 -570
- package/node_modules/node-pre-gyp/node_modules/nopt/.npmignore +0 -1
- package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/.npmignore +0 -4
- package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/.travis.yml +0 -5
- package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/CONTRIBUTING.md +0 -3
- package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/package.json +0 -56
- package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/test.js +0 -47
- package/node_modules/npmlog/.nyc_output/64996.json +0 -1
- package/node_modules/npmlog/.nyc_output/64998.json +0 -1
- package/node_modules/npmlog/.nyc_output/65000.json +0 -1
- package/node_modules/npmlog/.travis.yml +0 -14
- package/node_modules/npmlog/example.js +0 -39
- package/node_modules/npmlog/test/basic.js +0 -235
- package/node_modules/npmlog/test/progress.js +0 -131
- package/node_modules/oauth-sign/test.js +0 -89
- package/node_modules/qs/.npmignore +0 -18
- package/node_modules/qs/.travis.yml +0 -69
- package/node_modules/qs/README.md +0 -335
- package/node_modules/qs/bower.json +0 -22
- package/node_modules/qs/component.json +0 -15
- package/node_modules/rimraf/node_modules/glob/node_modules/inflight/.eslintrc +0 -17
- package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md +0 -36
- package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +0 -59
- package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js +0 -51
- package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js +0 -33
- package/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json +0 -68
- package/node_modules/rimraf/node_modules/glob/node_modules/inflight/test.js +0 -97
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE +0 -16
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md +0 -42
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js +0 -1
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js +0 -23
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +0 -59
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js +0 -25
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md +0 -216
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js +0 -912
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -122
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +0 -8
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -191
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +0 -2
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml +0 -3
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md +0 -21
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +0 -6
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +0 -5
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +0 -50
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +0 -84
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml +0 -4
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +0 -62
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +0 -6
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +0 -13
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +0 -39
- package/node_modules/rimraf/node_modules/glob/node_modules/once/README.md +0 -51
- package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +0 -36
- package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +0 -59
- package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +0 -51
- package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +0 -33
- package/node_modules/rimraf/node_modules/glob/node_modules/once/once.js +0 -21
- package/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +0 -71
- package/node_modules/rimraf/node_modules/glob/package.json +0 -85
- package/node_modules/semver/.npmignore +0 -4
- package/node_modules/semver/.travis.yml +0 -5
- package/node_modules/semver/test/big-numbers.js +0 -31
- package/node_modules/semver/test/clean.js +0 -29
- package/node_modules/semver/test/gtr.js +0 -173
- package/node_modules/semver/test/index.js +0 -698
- package/node_modules/semver/test/ltr.js +0 -181
- package/node_modules/semver/test/major-minor-patch.js +0 -72
- package/node_modules/tunnel-agent/.jshintrc +0 -5
- package/node_modules/tweetnacl/COPYING.txt +0 -9
- package/node_modules/wrappy/test/basic.js +0 -51
- package/test/fsevents.js +0 -27
- package/test/function.js +0 -93
- /package/node_modules/{aws4/node_modules/lru-cache/node_modules/pseudomap → abbrev}/LICENSE +0 -0
- /package/node_modules/{node-pre-gyp/node_modules/nopt/node_modules/abbrev → abbrev}/README.md +0 -0
- /package/node_modules/{node-pre-gyp/node_modules/nopt/node_modules/abbrev → abbrev}/abbrev.js +0 -0
- /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → balanced-match}/LICENSE.md +0 -0
- /package/node_modules/{readable-stream → bl/node_modules/readable-stream}/.zuul.yml +0 -0
- /package/node_modules/{readable-stream → bl/node_modules/readable-stream}/doc/stream.markdown +0 -0
- /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion → brace-expansion}/README.md +0 -0
- /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion → brace-expansion}/index.js +0 -0
- /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/.travis.yml +0 -0
- /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/LICENSE +0 -0
- /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/README.markdown +0 -0
- /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/example/map.js +0 -0
- /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/index.js +0 -0
- /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/test/map.js +0 -0
- /package/node_modules/{aws4/node_modules/lru-cache/node_modules/yallist → glob}/LICENSE +0 -0
- /package/node_modules/{rimraf/node_modules/glob → glob}/README.md +0 -0
- /package/node_modules/{rimraf/node_modules/glob → glob}/common.js +0 -0
- /package/node_modules/{rimraf/node_modules/glob/node_modules/inflight → inflight}/LICENSE +0 -0
- /package/node_modules/{rimraf/node_modules/glob/node_modules/inflight → inflight}/README.md +0 -0
- /package/node_modules/{rimraf/node_modules/glob/node_modules/inflight → inflight}/inflight.js +0 -0
- /package/node_modules/{node-pre-gyp/node_modules/nopt → ini}/LICENSE +0 -0
- /package/node_modules/{node-pre-gyp/node_modules/nopt/node_modules/abbrev → minimatch}/LICENSE +0 -0
- /package/node_modules/{ansi → nopt}/.npmignore +0 -0
- /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/.travis.yml +0 -0
- /package/node_modules/{rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy → nopt}/LICENSE +0 -0
- /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/README.md +0 -0
- /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/bin/nopt.js +0 -0
- /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/examples/my-program.js +0 -0
- /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/lib/nopt.js +0 -0
- /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/test/basic.js +0 -0
- /package/node_modules/{rimraf/node_modules/glob/node_modules/once/node_modules/wrappy → once}/LICENSE +0 -0
- /package/node_modules/{rimraf/node_modules/glob/node_modules/path-is-absolute → path-is-absolute}/index.js +0 -0
- /package/node_modules/{rimraf/node_modules/glob/node_modules/path-is-absolute → path-is-absolute}/readme.md +0 -0
@@ -1,8 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright
|
4
|
-
Based on Underscore.js, copyright 2009-2016 Jeremy Ashkenas,
|
5
|
-
DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
|
3
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
6
4
|
|
7
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
6
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -11,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
9
|
copies of the Software, and to permit persons to whom the Software is
|
12
10
|
furnished to do so, subject to the following conditions:
|
13
11
|
|
14
|
-
The above copyright notice and this permission notice shall be included in
|
15
|
-
copies or substantial portions of the Software.
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
16
14
|
|
17
15
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
23
|
-
SOFTWARE.
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
@@ -1,6 +1,14 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"_args": [
|
3
|
+
[
|
4
|
+
"ansi-regex@^2.0.0",
|
5
|
+
"/Users/eshanker/Code/fsevents/node_modules/strip-ansi"
|
6
|
+
]
|
7
|
+
],
|
8
|
+
"_from": "ansi-regex@>=2.0.0 <3.0.0",
|
3
9
|
"_id": "ansi-regex@2.0.0",
|
10
|
+
"_inCache": true,
|
11
|
+
"_installable": true,
|
4
12
|
"_location": "/ansi-regex",
|
5
13
|
"_nodeVersion": "0.12.5",
|
6
14
|
"_npmUser": {
|
@@ -9,6 +17,14 @@
|
|
9
17
|
},
|
10
18
|
"_npmVersion": "2.11.2",
|
11
19
|
"_phantomChildren": {},
|
20
|
+
"_requested": {
|
21
|
+
"name": "ansi-regex",
|
22
|
+
"raw": "ansi-regex@^2.0.0",
|
23
|
+
"rawSpec": "^2.0.0",
|
24
|
+
"scope": null,
|
25
|
+
"spec": ">=2.0.0 <3.0.0",
|
26
|
+
"type": "range"
|
27
|
+
},
|
12
28
|
"_requiredBy": [
|
13
29
|
"/has-ansi",
|
14
30
|
"/strip-ansi"
|
@@ -16,6 +32,8 @@
|
|
16
32
|
"_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz",
|
17
33
|
"_shasum": "c5061b6e0ef8a81775e50f5d66151bf6bf371107",
|
18
34
|
"_shrinkwrap": null,
|
35
|
+
"_spec": "ansi-regex@^2.0.0",
|
36
|
+
"_where": "/Users/eshanker/Code/fsevents/node_modules/strip-ansi",
|
19
37
|
"author": {
|
20
38
|
"email": "sindresorhus@gmail.com",
|
21
39
|
"name": "Sindre Sorhus",
|
@@ -32,7 +50,7 @@
|
|
32
50
|
"directories": {},
|
33
51
|
"dist": {
|
34
52
|
"shasum": "c5061b6e0ef8a81775e50f5d66151bf6bf371107",
|
35
|
-
"tarball": "
|
53
|
+
"tarball": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz"
|
36
54
|
},
|
37
55
|
"engines": {
|
38
56
|
"node": ">=0.10.0"
|
@@ -1,8 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright
|
4
|
-
Based on Underscore.js, copyright 2009-2016 Jeremy Ashkenas,
|
5
|
-
DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
|
3
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
6
4
|
|
7
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
6
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -11,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
9
|
copies of the Software, and to permit persons to whom the Software is
|
12
10
|
furnished to do so, subject to the following conditions:
|
13
11
|
|
14
|
-
The above copyright notice and this permission notice shall be included in
|
15
|
-
copies or substantial portions of the Software.
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
16
14
|
|
17
15
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
23
|
-
SOFTWARE.
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
@@ -1,6 +1,14 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"_args": [
|
3
|
+
[
|
4
|
+
"ansi-styles@^2.2.1",
|
5
|
+
"/Users/eshanker/Code/fsevents/node_modules/chalk"
|
6
|
+
]
|
7
|
+
],
|
8
|
+
"_from": "ansi-styles@>=2.2.1 <3.0.0",
|
3
9
|
"_id": "ansi-styles@2.2.1",
|
10
|
+
"_inCache": true,
|
11
|
+
"_installable": true,
|
4
12
|
"_location": "/ansi-styles",
|
5
13
|
"_nodeVersion": "4.3.0",
|
6
14
|
"_npmOperationalInternal": {
|
@@ -13,12 +21,22 @@
|
|
13
21
|
},
|
14
22
|
"_npmVersion": "3.8.3",
|
15
23
|
"_phantomChildren": {},
|
24
|
+
"_requested": {
|
25
|
+
"name": "ansi-styles",
|
26
|
+
"raw": "ansi-styles@^2.2.1",
|
27
|
+
"rawSpec": "^2.2.1",
|
28
|
+
"scope": null,
|
29
|
+
"spec": ">=2.2.1 <3.0.0",
|
30
|
+
"type": "range"
|
31
|
+
},
|
16
32
|
"_requiredBy": [
|
17
33
|
"/chalk"
|
18
34
|
],
|
19
35
|
"_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
|
20
36
|
"_shasum": "b432dd3358b634cf75e1e4664368240533c1ddbe",
|
21
37
|
"_shrinkwrap": null,
|
38
|
+
"_spec": "ansi-styles@^2.2.1",
|
39
|
+
"_where": "/Users/eshanker/Code/fsevents/node_modules/chalk",
|
22
40
|
"author": {
|
23
41
|
"email": "sindresorhus@gmail.com",
|
24
42
|
"name": "Sindre Sorhus",
|
@@ -35,7 +53,7 @@
|
|
35
53
|
"directories": {},
|
36
54
|
"dist": {
|
37
55
|
"shasum": "b432dd3358b634cf75e1e4664368240533c1ddbe",
|
38
|
-
"tarball": "
|
56
|
+
"tarball": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
|
39
57
|
},
|
40
58
|
"engines": {
|
41
59
|
"node": ">=0.10.0"
|
@@ -76,8 +94,7 @@
|
|
76
94
|
],
|
77
95
|
"name": "ansi-styles",
|
78
96
|
"optionalDependencies": {},
|
79
|
-
"readme": "
|
80
|
-
"readmeFilename": "readme.md",
|
97
|
+
"readme": "ERROR: No README data found!",
|
81
98
|
"repository": {
|
82
99
|
"type": "git",
|
83
100
|
"url": "git+https://github.com/chalk/ansi-styles.git"
|
@@ -0,0 +1,14 @@
|
|
1
|
+
Copyright (c) 2015, Rebecca Turner <me@re-becca.org>
|
2
|
+
|
3
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
4
|
+
purpose with or without fee is hereby granted, provided that the above
|
5
|
+
copyright notice and this permission notice appear in all copies.
|
6
|
+
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
8
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
9
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
10
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
11
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
12
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
13
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
14
|
+
|
@@ -0,0 +1,59 @@
|
|
1
|
+
aproba
|
2
|
+
======
|
3
|
+
|
4
|
+
A ridiculously light-weight function argument validator
|
5
|
+
|
6
|
+
```
|
7
|
+
var validate = require("aproba")
|
8
|
+
|
9
|
+
function myfunc(a, b, c) {
|
10
|
+
// `a` must be a string, `b` a number, `c` a function
|
11
|
+
validate('SNF', arguments) // [a,b,c] is also valid
|
12
|
+
}
|
13
|
+
|
14
|
+
myfunc('test', 23, function () {}) // ok
|
15
|
+
myfunc(123, 23, function () {}) // type error
|
16
|
+
myfunc('test', 23) // missing arg error
|
17
|
+
myfunc('test', 23, function () {}, true) // too many args error
|
18
|
+
|
19
|
+
```
|
20
|
+
|
21
|
+
Valid types are:
|
22
|
+
|
23
|
+
type | description
|
24
|
+
---- | -----------
|
25
|
+
* | matches any type
|
26
|
+
A | Array.isArray OR an arguments object
|
27
|
+
S | typeof == string
|
28
|
+
N | typeof == number
|
29
|
+
F | typeof == function
|
30
|
+
O | typeof == object and not type A and not type E
|
31
|
+
B | typeof == boolean
|
32
|
+
E | instanceof Error OR null
|
33
|
+
|
34
|
+
Validation failures throw one of three exception types, distinguished by a
|
35
|
+
`code` property of `EMISSINGARG`, `EINVALIDTYPE` or `ETOOMANYARGS`.
|
36
|
+
|
37
|
+
If you pass in an invalid type then it will throw with a code of
|
38
|
+
`EUNKNOWNTYPE`.
|
39
|
+
|
40
|
+
If an error argument is found and is not null then the remaining arguments
|
41
|
+
will not be validated.
|
42
|
+
|
43
|
+
### Why this exists
|
44
|
+
|
45
|
+
I wanted a very simple argument validator. It needed to do two things:
|
46
|
+
|
47
|
+
1. Be more concise and easier to use than assertions
|
48
|
+
|
49
|
+
2. Not encourage an infinite bikeshed of DSLs
|
50
|
+
|
51
|
+
This is why types are specified by a single character and there's no such
|
52
|
+
thing as an optional argument.
|
53
|
+
|
54
|
+
This is not intended to validate user data. This is specifically about
|
55
|
+
asserting the interface of your functions.
|
56
|
+
|
57
|
+
If you need greater validation, I encourage you to write them by hand or
|
58
|
+
look elsewhere.
|
59
|
+
|
@@ -0,0 +1,62 @@
|
|
1
|
+
'use strict'
|
2
|
+
|
3
|
+
function isArguments (thingy) {
|
4
|
+
return typeof thingy === 'object' && thingy.hasOwnProperty('callee')
|
5
|
+
}
|
6
|
+
|
7
|
+
var types = {
|
8
|
+
'*': ['any', function () { return true }],
|
9
|
+
A: ['array', function (thingy) { return Array.isArray(thingy) || isArguments(thingy) }],
|
10
|
+
S: ['string', function (thingy) { return typeof thingy === 'string' }],
|
11
|
+
N: ['number', function (thingy) { return typeof thingy === 'number' }],
|
12
|
+
F: ['function', function (thingy) { return typeof thingy === 'function' }],
|
13
|
+
O: ['object', function (thingy) { return typeof thingy === 'object' && !types.A[1](thingy) && !types.E[1](thingy) }],
|
14
|
+
B: ['boolean', function (thingy) { return typeof thingy === 'boolean' }],
|
15
|
+
E: ['error', function (thingy) { return thingy instanceof Error }]
|
16
|
+
}
|
17
|
+
|
18
|
+
var validate = module.exports = function (schema, args) {
|
19
|
+
if (!schema) throw missingRequiredArg(0, 'schema')
|
20
|
+
if (!args) throw missingRequiredArg(1, 'args')
|
21
|
+
if (!types.S[1](schema)) throw invalidType(0, 'string', schema)
|
22
|
+
if (!types.A[1](args)) throw invalidType(1, 'array', args)
|
23
|
+
for (var ii = 0; ii < schema.length; ++ii) {
|
24
|
+
var type = schema[ii]
|
25
|
+
if (!types[type]) throw unknownType(ii, type)
|
26
|
+
var typeLabel = types[type][0]
|
27
|
+
var typeCheck = types[type][1]
|
28
|
+
if (type === 'E' && args[ii] == null) continue
|
29
|
+
if (args[ii] == null) throw missingRequiredArg(ii)
|
30
|
+
if (!typeCheck(args[ii])) throw invalidType(ii, typeLabel, args[ii])
|
31
|
+
if (type === 'E') return
|
32
|
+
}
|
33
|
+
if (schema.length < args.length) throw tooManyArgs(schema.length, args.length)
|
34
|
+
}
|
35
|
+
|
36
|
+
function missingRequiredArg (num) {
|
37
|
+
return newException('EMISSINGARG', 'Missing required argument #' + (num + 1))
|
38
|
+
}
|
39
|
+
|
40
|
+
function unknownType (num, type) {
|
41
|
+
return newException('EUNKNOWNTYPE', 'Unknown type ' + type + ' in argument #' + (num + 1))
|
42
|
+
}
|
43
|
+
|
44
|
+
function invalidType (num, expectedType, value) {
|
45
|
+
var valueType
|
46
|
+
Object.keys(types).forEach(function (typeCode) {
|
47
|
+
if (types[typeCode][1](value)) valueType = types[typeCode][0]
|
48
|
+
})
|
49
|
+
return newException('EINVALIDTYPE', 'Argument #' + (num + 1) + ': Expected ' +
|
50
|
+
expectedType + ' but got ' + valueType)
|
51
|
+
}
|
52
|
+
|
53
|
+
function tooManyArgs (expected, got) {
|
54
|
+
return newException('ETOOMANYARGS', 'Too many arguments, expected ' + expected + ' and got ' + got)
|
55
|
+
}
|
56
|
+
|
57
|
+
function newException (code, msg) {
|
58
|
+
var e = new Error(msg)
|
59
|
+
e.code = code
|
60
|
+
Error.captureStackTrace(e, validate)
|
61
|
+
return e
|
62
|
+
}
|
@@ -0,0 +1,88 @@
|
|
1
|
+
{
|
2
|
+
"_args": [
|
3
|
+
[
|
4
|
+
"aproba@^1.0.3",
|
5
|
+
"/Users/eshanker/Code/fsevents/node_modules/gauge"
|
6
|
+
]
|
7
|
+
],
|
8
|
+
"_from": "aproba@>=1.0.3 <2.0.0",
|
9
|
+
"_id": "aproba@1.0.4",
|
10
|
+
"_inCache": true,
|
11
|
+
"_installable": true,
|
12
|
+
"_location": "/aproba",
|
13
|
+
"_nodeVersion": "4.4.0",
|
14
|
+
"_npmOperationalInternal": {
|
15
|
+
"host": "packages-12-west.internal.npmjs.com",
|
16
|
+
"tmp": "tmp/aproba-1.0.4.tgz_1466718885402_0.5348939662799239"
|
17
|
+
},
|
18
|
+
"_npmUser": {
|
19
|
+
"email": "me@re-becca.org",
|
20
|
+
"name": "iarna"
|
21
|
+
},
|
22
|
+
"_npmVersion": "3.10.2",
|
23
|
+
"_phantomChildren": {},
|
24
|
+
"_requested": {
|
25
|
+
"name": "aproba",
|
26
|
+
"raw": "aproba@^1.0.3",
|
27
|
+
"rawSpec": "^1.0.3",
|
28
|
+
"scope": null,
|
29
|
+
"spec": ">=1.0.3 <2.0.0",
|
30
|
+
"type": "range"
|
31
|
+
},
|
32
|
+
"_requiredBy": [
|
33
|
+
"/gauge"
|
34
|
+
],
|
35
|
+
"_resolved": "https://registry.npmjs.org/aproba/-/aproba-1.0.4.tgz",
|
36
|
+
"_shasum": "2713680775e7614c8ba186c065d4e2e52d1072c0",
|
37
|
+
"_shrinkwrap": null,
|
38
|
+
"_spec": "aproba@^1.0.3",
|
39
|
+
"_where": "/Users/eshanker/Code/fsevents/node_modules/gauge",
|
40
|
+
"author": {
|
41
|
+
"email": "me@re-becca.org",
|
42
|
+
"name": "Rebecca Turner"
|
43
|
+
},
|
44
|
+
"bugs": {
|
45
|
+
"url": "https://github.com/iarna/aproba/issues"
|
46
|
+
},
|
47
|
+
"dependencies": {},
|
48
|
+
"description": "A rediculously light-weight argument validator",
|
49
|
+
"devDependencies": {
|
50
|
+
"standard": "^7.1.2",
|
51
|
+
"tap": "^5.7.3"
|
52
|
+
},
|
53
|
+
"directories": {
|
54
|
+
"test": "test"
|
55
|
+
},
|
56
|
+
"dist": {
|
57
|
+
"shasum": "2713680775e7614c8ba186c065d4e2e52d1072c0",
|
58
|
+
"tarball": "https://registry.npmjs.org/aproba/-/aproba-1.0.4.tgz"
|
59
|
+
},
|
60
|
+
"files": [
|
61
|
+
"index.js"
|
62
|
+
],
|
63
|
+
"gitHead": "c6c8f82d519b9ec3816f20f23a9101083c022200",
|
64
|
+
"homepage": "https://github.com/iarna/aproba",
|
65
|
+
"keywords": [
|
66
|
+
"argument",
|
67
|
+
"validate"
|
68
|
+
],
|
69
|
+
"license": "ISC",
|
70
|
+
"main": "index.js",
|
71
|
+
"maintainers": [
|
72
|
+
{
|
73
|
+
"name": "iarna",
|
74
|
+
"email": "me@re-becca.org"
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"name": "aproba",
|
78
|
+
"optionalDependencies": {},
|
79
|
+
"readme": "ERROR: No README data found!",
|
80
|
+
"repository": {
|
81
|
+
"type": "git",
|
82
|
+
"url": "git+https://github.com/iarna/aproba.git"
|
83
|
+
},
|
84
|
+
"scripts": {
|
85
|
+
"test": "standard && tap test/*.js"
|
86
|
+
},
|
87
|
+
"version": "1.0.4"
|
88
|
+
}
|
@@ -1,6 +1,14 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"_args": [
|
3
|
+
[
|
4
|
+
"are-we-there-yet@~1.1.2",
|
5
|
+
"/Users/eshanker/Code/fsevents/node_modules/npmlog"
|
6
|
+
]
|
7
|
+
],
|
8
|
+
"_from": "are-we-there-yet@>=1.1.2 <1.2.0",
|
3
9
|
"_id": "are-we-there-yet@1.1.2",
|
10
|
+
"_inCache": true,
|
11
|
+
"_installable": true,
|
4
12
|
"_location": "/are-we-there-yet",
|
5
13
|
"_nodeVersion": "4.2.2",
|
6
14
|
"_npmOperationalInternal": {
|
@@ -13,12 +21,22 @@
|
|
13
21
|
},
|
14
22
|
"_npmVersion": "3.8.1",
|
15
23
|
"_phantomChildren": {},
|
24
|
+
"_requested": {
|
25
|
+
"name": "are-we-there-yet",
|
26
|
+
"raw": "are-we-there-yet@~1.1.2",
|
27
|
+
"rawSpec": "~1.1.2",
|
28
|
+
"scope": null,
|
29
|
+
"spec": ">=1.1.2 <1.2.0",
|
30
|
+
"type": "range"
|
31
|
+
},
|
16
32
|
"_requiredBy": [
|
17
33
|
"/npmlog"
|
18
34
|
],
|
19
35
|
"_resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.2.tgz",
|
20
36
|
"_shasum": "80e470e95a084794fe1899262c5667c6e88de1b3",
|
21
37
|
"_shrinkwrap": null,
|
38
|
+
"_spec": "are-we-there-yet@~1.1.2",
|
39
|
+
"_where": "/Users/eshanker/Code/fsevents/node_modules/npmlog",
|
22
40
|
"author": {
|
23
41
|
"name": "Rebecca Turner",
|
24
42
|
"url": "http://re-becca.org"
|
@@ -38,7 +56,7 @@
|
|
38
56
|
"directories": {},
|
39
57
|
"dist": {
|
40
58
|
"shasum": "80e470e95a084794fe1899262c5667c6e88de1b3",
|
41
|
-
"tarball": "
|
59
|
+
"tarball": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.2.tgz"
|
42
60
|
},
|
43
61
|
"gitHead": "dd5706e2204cb681e78031d0ffe156ed4cc75823",
|
44
62
|
"homepage": "https://github.com/iarna/are-we-there-yet",
|
@@ -52,8 +70,7 @@
|
|
52
70
|
],
|
53
71
|
"name": "are-we-there-yet",
|
54
72
|
"optionalDependencies": {},
|
55
|
-
"readme": "
|
56
|
-
"readmeFilename": "README.md",
|
73
|
+
"readme": "ERROR: No README data found!",
|
57
74
|
"repository": {
|
58
75
|
"type": "git",
|
59
76
|
"url": "git+https://github.com/iarna/are-we-there-yet.git"
|
@@ -1,6 +1,14 @@
|
|
1
1
|
{
|
2
|
+
"_args": [
|
3
|
+
[
|
4
|
+
"asn1@~0.2.3",
|
5
|
+
"/Users/eshanker/Code/fsevents/node_modules/sshpk"
|
6
|
+
]
|
7
|
+
],
|
2
8
|
"_from": "asn1@>=0.2.3 <0.3.0",
|
3
9
|
"_id": "asn1@0.2.3",
|
10
|
+
"_inCache": true,
|
11
|
+
"_installable": true,
|
4
12
|
"_location": "/asn1",
|
5
13
|
"_npmUser": {
|
6
14
|
"email": "patrick.f.mooney@gmail.com",
|
@@ -8,12 +16,22 @@
|
|
8
16
|
},
|
9
17
|
"_npmVersion": "1.4.28",
|
10
18
|
"_phantomChildren": {},
|
19
|
+
"_requested": {
|
20
|
+
"name": "asn1",
|
21
|
+
"raw": "asn1@~0.2.3",
|
22
|
+
"rawSpec": "~0.2.3",
|
23
|
+
"scope": null,
|
24
|
+
"spec": ">=0.2.3 <0.3.0",
|
25
|
+
"type": "range"
|
26
|
+
},
|
11
27
|
"_requiredBy": [
|
12
28
|
"/sshpk"
|
13
29
|
],
|
14
30
|
"_resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz",
|
15
31
|
"_shasum": "dac8787713c9966849fc8180777ebe9c1ddf3b86",
|
16
32
|
"_shrinkwrap": null,
|
33
|
+
"_spec": "asn1@~0.2.3",
|
34
|
+
"_where": "/Users/eshanker/Code/fsevents/node_modules/sshpk",
|
17
35
|
"author": {
|
18
36
|
"email": "mcavage@gmail.com",
|
19
37
|
"name": "Mark Cavage"
|
@@ -43,7 +61,7 @@
|
|
43
61
|
"directories": {},
|
44
62
|
"dist": {
|
45
63
|
"shasum": "dac8787713c9966849fc8180777ebe9c1ddf3b86",
|
46
|
-
"tarball": "
|
64
|
+
"tarball": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz"
|
47
65
|
},
|
48
66
|
"homepage": "https://github.com/mcavage/node-asn1",
|
49
67
|
"license": "MIT",
|
@@ -1,6 +1,14 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"_args": [
|
3
|
+
[
|
4
|
+
"assert-plus@^0.2.0",
|
5
|
+
"/Users/eshanker/Code/fsevents/node_modules/http-signature"
|
6
|
+
]
|
7
|
+
],
|
8
|
+
"_from": "assert-plus@>=0.2.0 <0.3.0",
|
3
9
|
"_id": "assert-plus@0.2.0",
|
10
|
+
"_inCache": true,
|
11
|
+
"_installable": true,
|
4
12
|
"_location": "/assert-plus",
|
5
13
|
"_nodeVersion": "0.10.36",
|
6
14
|
"_npmUser": {
|
@@ -9,13 +17,22 @@
|
|
9
17
|
},
|
10
18
|
"_npmVersion": "3.3.8",
|
11
19
|
"_phantomChildren": {},
|
20
|
+
"_requested": {
|
21
|
+
"name": "assert-plus",
|
22
|
+
"raw": "assert-plus@^0.2.0",
|
23
|
+
"rawSpec": "^0.2.0",
|
24
|
+
"scope": null,
|
25
|
+
"spec": ">=0.2.0 <0.3.0",
|
26
|
+
"type": "range"
|
27
|
+
},
|
12
28
|
"_requiredBy": [
|
13
|
-
"/http-signature"
|
14
|
-
"/sshpk"
|
29
|
+
"/http-signature"
|
15
30
|
],
|
16
31
|
"_resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz",
|
17
32
|
"_shasum": "d74e1b87e7affc0db8aadb7021f3fe48101ab234",
|
18
33
|
"_shrinkwrap": null,
|
34
|
+
"_spec": "assert-plus@^0.2.0",
|
35
|
+
"_where": "/Users/eshanker/Code/fsevents/node_modules/http-signature",
|
19
36
|
"author": {
|
20
37
|
"email": "mcavage@gmail.com",
|
21
38
|
"name": "Mark Cavage"
|
@@ -58,7 +75,7 @@
|
|
58
75
|
"directories": {},
|
59
76
|
"dist": {
|
60
77
|
"shasum": "d74e1b87e7affc0db8aadb7021f3fe48101ab234",
|
61
|
-
"tarball": "
|
78
|
+
"tarball": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz"
|
62
79
|
},
|
63
80
|
"engines": {
|
64
81
|
"node": ">=0.8"
|