fsevents 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of fsevents might be problematic. Click here for more details.
- package/node_modules/ansi/History.md +7 -0
- package/node_modules/ansi/LICENSE +24 -0
- package/node_modules/ansi/lib/ansi.js +2 -2
- package/node_modules/ansi/package.json +15 -10
- package/node_modules/ansi-regex/package.json +1 -0
- package/node_modules/ansi-styles/package.json +1 -0
- package/node_modules/are-we-there-yet/.npmignore +2 -0
- package/node_modules/are-we-there-yet/index.js +20 -18
- package/node_modules/are-we-there-yet/package.json +15 -13
- package/node_modules/asn1/package.json +3 -1
- package/node_modules/assert-plus/README.md +50 -21
- package/node_modules/assert-plus/assert.js +168 -207
- package/node_modules/assert-plus/package.json +55 -15
- package/node_modules/async/README.md +86 -4
- package/node_modules/async/dist/async.js +4 -3
- package/node_modules/async/dist/async.min.js +1 -1
- package/node_modules/async/lib/async.js +4 -3
- package/node_modules/async/package.json +10 -10
- package/node_modules/aws-sign2/package.json +1 -0
- package/node_modules/aws4/.npmignore +3 -0
- package/node_modules/aws4/.tern-port +1 -0
- package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → aws4}/.travis.yml +2 -0
- package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md → aws4/LICENSE} +1 -3
- package/node_modules/aws4/README.md +510 -0
- package/node_modules/aws4/aws4.js +313 -0
- package/node_modules/aws4/example.js +372 -0
- package/node_modules/aws4/node_modules/lru-cache/.npmignore +1 -0
- package/node_modules/aws4/node_modules/lru-cache/.travis.yml +8 -0
- package/node_modules/aws4/node_modules/lru-cache/CONTRIBUTORS +14 -0
- package/node_modules/aws4/node_modules/lru-cache/README.md +137 -0
- package/node_modules/aws4/node_modules/lru-cache/lib/lru-cache.js +334 -0
- package/node_modules/aws4/node_modules/lru-cache/package.json +66 -0
- package/node_modules/aws4/node_modules/lru-cache/test/basic.js +396 -0
- package/node_modules/aws4/node_modules/lru-cache/test/foreach.js +120 -0
- package/node_modules/aws4/node_modules/lru-cache/test/memory-leak.js +51 -0
- package/node_modules/aws4/node_modules/lru-cache/test/serialize.js +216 -0
- package/node_modules/aws4/package.json +113 -0
- package/node_modules/bl/.travis.yml +5 -6
- package/node_modules/bl/bl.js +5 -0
- package/node_modules/bl/package.json +16 -13
- package/node_modules/bl/test/test.js +554 -6
- package/node_modules/block-stream/package.json +1 -0
- package/node_modules/boom/package.json +1 -0
- package/node_modules/caseless/package.json +1 -0
- package/node_modules/chalk/package.json +1 -0
- package/node_modules/combined-stream/package.json +1 -0
- package/node_modules/commander/package.json +1 -0
- package/node_modules/core-util-is/package.json +2 -2
- package/node_modules/cryptiles/package.json +1 -0
- package/node_modules/dashdash/README.md +70 -7
- package/node_modules/dashdash/etc/dashdash.bash_completion.in +388 -0
- package/node_modules/dashdash/lib/dashdash.js +202 -2
- package/node_modules/dashdash/package.json +12 -9
- package/node_modules/debug/.jshintrc +3 -0
- package/node_modules/debug/.npmignore +6 -0
- package/node_modules/debug/History.md +195 -0
- package/node_modules/debug/Makefile +36 -0
- package/node_modules/debug/Readme.md +86 -13
- package/node_modules/debug/bower.json +28 -0
- package/node_modules/debug/browser.js +168 -0
- package/node_modules/debug/component.json +19 -0
- package/node_modules/debug/debug.js +132 -72
- package/node_modules/debug/node.js +209 -0
- package/node_modules/debug/package.json +32 -22
- package/node_modules/deep-extend/README.md +51 -50
- package/node_modules/deep-extend/package.json +14 -16
- package/node_modules/delayed-stream/package.json +1 -0
- package/node_modules/delegates/History.md +6 -0
- package/node_modules/delegates/License +20 -0
- package/node_modules/delegates/package.json +17 -13
- package/node_modules/ecc-jsbn/package.json +3 -1
- package/node_modules/escape-string-regexp/package.json +2 -2
- package/node_modules/extend/package.json +1 -0
- package/node_modules/extsprintf/package.json +4 -2
- package/node_modules/forever-agent/package.json +1 -0
- package/node_modules/form-data/package.json +1 -0
- package/node_modules/fstream/package.json +1 -0
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +1 -0
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +1 -0
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/package.json +1 -0
- package/node_modules/fstream-ignore/node_modules/minimatch/package.json +1 -0
- package/node_modules/fstream-ignore/package.json +3 -1
- package/node_modules/gauge/package.json +14 -12
- package/node_modules/gauge/progress-bar.js +4 -5
- package/node_modules/gauge/test/progress-bar.js +1 -1
- package/node_modules/generate-function/package.json +1 -0
- package/node_modules/generate-object-property/package.json +1 -0
- package/node_modules/graceful-fs/README.md +17 -0
- package/node_modules/graceful-fs/graceful-fs.js +2 -0
- package/node_modules/graceful-fs/package.json +16 -11
- package/node_modules/graceful-readlink/package.json +1 -0
- package/node_modules/har-validator/README.md +45 -122
- package/node_modules/har-validator/package.json +16 -16
- package/node_modules/has-ansi/package.json +1 -0
- package/node_modules/has-unicode/README.md +6 -3
- package/node_modules/has-unicode/index.js +7 -3
- package/node_modules/has-unicode/package.json +15 -13
- package/node_modules/has-unicode/test/index.js +1 -1
- package/node_modules/hawk/README.md +634 -634
- package/node_modules/hawk/bower.json +24 -24
- package/node_modules/hawk/component.json +18 -18
- package/node_modules/hawk/dist/client.js +343 -340
- package/node_modules/hawk/example/usage.js +78 -78
- package/node_modules/hawk/lib/browser.js +637 -637
- package/node_modules/hawk/lib/client.js +369 -369
- package/node_modules/hawk/lib/crypto.js +126 -126
- package/node_modules/hawk/lib/index.js +15 -15
- package/node_modules/hawk/lib/server.js +548 -540
- package/node_modules/hawk/lib/utils.js +184 -164
- package/node_modules/hawk/package.json +9 -8
- package/node_modules/hawk/test/browser.js +1492 -1492
- package/node_modules/hawk/test/client.js +440 -440
- package/node_modules/hawk/test/crypto.js +70 -70
- package/node_modules/hawk/test/index.js +378 -378
- package/node_modules/hawk/test/readme.js +95 -95
- package/node_modules/hawk/test/server.js +1329 -1302
- package/node_modules/hawk/test/uri.js +838 -838
- package/node_modules/hawk/test/utils.js +149 -121
- package/node_modules/hoek/package.json +1 -0
- package/node_modules/http-signature/CHANGES.md +7 -0
- package/node_modules/http-signature/http_signing.md +71 -3
- package/node_modules/http-signature/lib/signer.js +5 -0
- package/node_modules/http-signature/package.json +13 -11
- package/node_modules/ini/package.json +3 -1
- package/node_modules/is-my-json-valid/formats.js +1 -1
- package/node_modules/is-my-json-valid/package.json +11 -10
- package/node_modules/is-property/package.json +1 -0
- package/node_modules/is-typedarray/package.json +3 -1
- package/node_modules/isarray/package.json +2 -2
- package/node_modules/isstream/package.json +1 -0
- package/node_modules/jodid25519/package.json +3 -1
- package/node_modules/jsbn/package.json +3 -1
- package/node_modules/json-schema/package.json +2 -1
- package/node_modules/json-stringify-safe/package.json +1 -0
- package/node_modules/jsonpointer/package.json +1 -0
- package/node_modules/jsprim/package.json +3 -1
- package/node_modules/lodash._basetostring/package.json +4 -4
- package/node_modules/lodash._createpadding/package.json +3 -2
- package/node_modules/lodash._root/LICENSE +22 -0
- package/node_modules/lodash._root/README.md +18 -0
- package/node_modules/lodash._root/index.js +53 -0
- package/node_modules/lodash._root/package.json +77 -0
- package/node_modules/lodash.pad/LICENSE +2 -2
- package/node_modules/lodash.pad/README.md +4 -6
- package/node_modules/lodash.pad/index.js +347 -15
- package/node_modules/lodash.pad/package.json +20 -34
- package/node_modules/lodash.padleft/package.json +3 -1
- package/node_modules/lodash.padright/package.json +3 -1
- package/node_modules/lodash.repeat/LICENSE +2 -2
- package/node_modules/lodash.repeat/README.md +4 -6
- package/node_modules/lodash.repeat/index.js +262 -11
- package/node_modules/lodash.repeat/package.json +21 -34
- package/node_modules/mime-db/package.json +2 -2
- package/node_modules/mime-types/package.json +2 -2
- package/node_modules/ms/.npmignore +5 -0
- package/node_modules/{deep-extend → ms}/LICENSE +2 -2
- package/node_modules/ms/README.md +35 -0
- package/node_modules/ms/index.js +125 -0
- package/node_modules/ms/package.json +56 -0
- package/node_modules/node-pre-gyp/CHANGELOG.md +8 -0
- package/node_modules/node-pre-gyp/LICENSE +27 -0
- package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +36 -0
- package/node_modules/node-pre-gyp/package.json +23 -22
- package/node_modules/node-uuid/package.json +1 -0
- package/node_modules/npmlog/package.json +18 -16
- package/node_modules/oauth-sign/index.js +2 -0
- package/node_modules/oauth-sign/package.json +10 -9
- package/node_modules/once/README.md +18 -0
- package/node_modules/once/once.js +8 -6
- package/node_modules/once/package.json +20 -12
- package/node_modules/pinkie/index.js +3 -3
- package/node_modules/pinkie/package.json +10 -9
- package/node_modules/pinkie/readme.md +1 -1
- package/node_modules/pinkie-promise/package.json +1 -0
- package/node_modules/process-nextick-args/package.json +2 -2
- package/node_modules/qs/.eslintrc +17 -0
- package/node_modules/qs/.travis.yml +66 -5
- package/node_modules/qs/CHANGELOG.md +86 -75
- package/node_modules/qs/README.md +85 -81
- package/node_modules/qs/bower.json +1 -1
- package/node_modules/qs/component.json +1 -1
- package/node_modules/qs/dist/qs.js +108 -177
- package/node_modules/qs/lib/index.js +1 -7
- package/node_modules/qs/lib/parse.js +26 -49
- package/node_modules/qs/lib/stringify.js +22 -46
- package/node_modules/qs/lib/utils.js +45 -73
- package/node_modules/qs/package.json +51 -28
- package/node_modules/qs/test/index.js +5 -0
- package/node_modules/qs/test/parse.js +236 -321
- package/node_modules/qs/test/stringify.js +139 -197
- package/node_modules/qs/test/utils.js +6 -25
- package/node_modules/rc/node_modules/minimist/package.json +1 -0
- package/node_modules/rc/package.json +1 -0
- package/node_modules/readable-stream/package.json +1 -0
- package/node_modules/request/CHANGELOG.md +16 -1
- package/node_modules/request/README.md +1 -1
- package/node_modules/request/lib/har.js +3 -2
- package/node_modules/request/lib/multipart.js +3 -0
- package/node_modules/request/lib/tunnel.js +0 -2
- package/node_modules/request/package.json +20 -17
- package/node_modules/request/request.js +50 -26
- package/node_modules/rimraf/README.md +1 -1
- package/node_modules/rimraf/node_modules/glob/README.md +2 -2
- package/node_modules/rimraf/node_modules/glob/glob.js +14 -1
- package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +1 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json +1 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +2 -1
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +1 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +1 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +1 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json +1 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +1 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +1 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/package.json +1 -0
- package/node_modules/rimraf/node_modules/glob/package.json +11 -11
- package/node_modules/rimraf/package.json +13 -12
- package/node_modules/semver/package.json +3 -1
- package/node_modules/sntp/package.json +1 -0
- package/node_modules/sshpk/.npmignore +1 -0
- package/node_modules/sshpk/bin/sshpk-sign +176 -0
- package/node_modules/sshpk/bin/sshpk-verify +166 -0
- package/node_modules/sshpk/lib/ed-compat.js +2 -0
- package/node_modules/sshpk/lib/key.js +6 -0
- package/node_modules/sshpk/man/man1/sshpk-conv.1 +135 -0
- package/node_modules/sshpk/man/man1/sshpk-sign.1 +81 -0
- package/node_modules/sshpk/man/man1/sshpk-verify.1 +68 -0
- package/node_modules/sshpk/package.json +18 -9
- package/node_modules/string_decoder/package.json +2 -2
- package/node_modules/stringstream/package.json +1 -0
- package/node_modules/strip-ansi/package.json +1 -0
- package/node_modules/strip-json-comments/package.json +1 -0
- package/node_modules/supports-color/package.json +1 -0
- package/node_modules/tar/package.json +1 -0
- package/node_modules/tar-pack/README.md +2 -2
- package/node_modules/tar-pack/package.json +25 -26
- package/node_modules/tough-cookie/package.json +1 -0
- package/node_modules/tunnel-agent/package.json +1 -0
- package/node_modules/tweetnacl/README.md +1 -1
- package/node_modules/tweetnacl/package.json +13 -11
- package/node_modules/uid-number/package.json +14 -13
- package/node_modules/uid-number/uid-number.js +9 -4
- package/node_modules/util-deprecate/package.json +2 -2
- package/node_modules/verror/package.json +1 -0
- package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy → wrappy}/package.json +3 -2
- package/node_modules/xtend/package.json +1 -0
- package/package.json +2 -2
- package/node_modules/are-we-there-yet/README.md~ +0 -183
- package/node_modules/bl/test/basic-test.js +0 -541
- package/node_modules/bl/test/sauce.js +0 -38
- package/node_modules/debug/index.js +0 -5
- package/node_modules/debug/lib/debug.js +0 -147
- package/node_modules/deep-extend/test/index.spec.js +0 -220
- package/node_modules/deep-extend/test/mocha.opts +0 -1
- package/node_modules/gauge/README.md~ +0 -161
- package/node_modules/has-unicode/README.md~ +0 -4
- package/node_modules/once/LICENSE +0 -27
- package/node_modules/once/test/once.js +0 -18
- package/node_modules/sshpk/node_modules/assert-plus/README.md +0 -155
- package/node_modules/sshpk/node_modules/assert-plus/assert.js +0 -206
- package/node_modules/sshpk/node_modules/assert-plus/package.json +0 -88
- package/node_modules/tar-pack/node_modules/rimraf/README.md +0 -43
- package/node_modules/tar-pack/node_modules/rimraf/bin.js +0 -40
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/README.md +0 -359
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/common.js +0 -226
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/glob.js +0 -752
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/.eslintrc +0 -17
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/README.md +0 -37
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/inflight.js +0 -44
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +0 -58
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json +0 -67
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/test.js +0 -97
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE +0 -16
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md +0 -42
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js +0 -1
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js +0 -23
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +0 -58
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js +0 -25
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md +0 -216
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js +0 -912
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore +0 -3
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -122
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +0 -8
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -191
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +0 -2
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +0 -6
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +0 -89
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +0 -5
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +0 -50
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +0 -79
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +0 -84
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml +0 -4
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE +0 -18
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +0 -62
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +0 -6
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +0 -13
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +0 -90
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +0 -39
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -81
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json +0 -66
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/README.md +0 -51
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE +0 -15
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +0 -36
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +0 -51
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +0 -33
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/once.js +0 -21
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +0 -70
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/index.js +0 -20
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/package.json +0 -78
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/readme.md +0 -51
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/package.json +0 -79
- package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/sync.js +0 -460
- package/node_modules/tar-pack/node_modules/rimraf/package.json +0 -69
- package/node_modules/tar-pack/node_modules/rimraf/rimraf.js +0 -333
- package/node_modules/uid-number/LICENCE +0 -25
- /package/node_modules/{sshpk/node_modules/assert-plus → assert-plus}/AUTHORS +0 -0
- /package/node_modules/{sshpk/node_modules/assert-plus → assert-plus}/CHANGES.md +0 -0
- /package/node_modules/{tar-pack/node_modules/rimraf → aws4/node_modules/lru-cache}/LICENSE +0 -0
- /package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight → uid-number}/LICENSE +0 -0
- /package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy → wrappy}/LICENSE +0 -0
- /package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy → wrappy}/README.md +0 -0
- /package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy → wrappy}/test/basic.js +0 -0
- /package/node_modules/{tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy → wrappy}/wrappy.js +0 -0
@@ -1,155 +0,0 @@
|
|
1
|
-
# assert-plus
|
2
|
-
|
3
|
-
This library is a super small wrapper over node's assert module that has two
|
4
|
-
things: (1) the ability to disable assertions with the environment variable
|
5
|
-
NODE\_NDEBUG, and (2) some API wrappers for argument testing. Like
|
6
|
-
`assert.string(myArg, 'myArg')`. As a simple example, most of my code looks
|
7
|
-
like this:
|
8
|
-
|
9
|
-
```javascript
|
10
|
-
var assert = require('assert-plus');
|
11
|
-
|
12
|
-
function fooAccount(options, callback) {
|
13
|
-
assert.object(options, 'options');
|
14
|
-
assert.number(options.id, 'options.id');
|
15
|
-
assert.bool(options.isManager, 'options.isManager');
|
16
|
-
assert.string(options.name, 'options.name');
|
17
|
-
assert.arrayOfString(options.email, 'options.email');
|
18
|
-
assert.func(callback, 'callback');
|
19
|
-
|
20
|
-
// Do stuff
|
21
|
-
callback(null, {});
|
22
|
-
}
|
23
|
-
```
|
24
|
-
|
25
|
-
# API
|
26
|
-
|
27
|
-
All methods that *aren't* part of node's core assert API are simply assumed to
|
28
|
-
take an argument, and then a string 'name' that's not a message; `AssertionError`
|
29
|
-
will be thrown if the assertion fails with a message like:
|
30
|
-
|
31
|
-
AssertionError: foo (string) is required
|
32
|
-
at test (/home/mark/work/foo/foo.js:3:9)
|
33
|
-
at Object.<anonymous> (/home/mark/work/foo/foo.js:15:1)
|
34
|
-
at Module._compile (module.js:446:26)
|
35
|
-
at Object..js (module.js:464:10)
|
36
|
-
at Module.load (module.js:353:31)
|
37
|
-
at Function._load (module.js:311:12)
|
38
|
-
at Array.0 (module.js:484:10)
|
39
|
-
at EventEmitter._tickCallback (node.js:190:38)
|
40
|
-
|
41
|
-
from:
|
42
|
-
|
43
|
-
```javascript
|
44
|
-
function test(foo) {
|
45
|
-
assert.string(foo, 'foo');
|
46
|
-
}
|
47
|
-
```
|
48
|
-
|
49
|
-
There you go. You can check that arrays are of a homogeneous type with `Arrayof$Type`:
|
50
|
-
|
51
|
-
```javascript
|
52
|
-
function test(foo) {
|
53
|
-
assert.arrayOfString(foo, 'foo');
|
54
|
-
}
|
55
|
-
```
|
56
|
-
|
57
|
-
You can assert IFF an argument is not `undefined` (i.e., an optional arg):
|
58
|
-
|
59
|
-
```javascript
|
60
|
-
assert.optionalString(foo, 'foo');
|
61
|
-
```
|
62
|
-
|
63
|
-
Lastly, you can opt-out of assertion checking altogether by setting the
|
64
|
-
environment variable `NODE_NDEBUG=1`. This is pseudo-useful if you have
|
65
|
-
lots of assertions, and don't want to pay `typeof ()` taxes to v8 in
|
66
|
-
production. Be advised: The standard functions re-exported from `assert` are
|
67
|
-
also disabled in assert-plus if NDEBUG is specified. Using them directly from
|
68
|
-
the `assert` module avoids this behavior.
|
69
|
-
|
70
|
-
The complete list of APIs is:
|
71
|
-
|
72
|
-
* assert.array
|
73
|
-
* assert.bool
|
74
|
-
* assert.buffer
|
75
|
-
* assert.func
|
76
|
-
* assert.number
|
77
|
-
* assert.object
|
78
|
-
* assert.string
|
79
|
-
* assert.stream
|
80
|
-
* assert.date
|
81
|
-
* assert.regex
|
82
|
-
* assert.uuid
|
83
|
-
* assert.arrayOfArray
|
84
|
-
* assert.arrayOfBool
|
85
|
-
* assert.arrayOfBuffer
|
86
|
-
* assert.arrayOfFunc
|
87
|
-
* assert.arrayOfNumber
|
88
|
-
* assert.arrayOfObject
|
89
|
-
* assert.arrayOfString
|
90
|
-
* assert.arrayOfStream
|
91
|
-
* assert.arrayOfDate
|
92
|
-
* assert.arrayOfUuid
|
93
|
-
* assert.optionalArray
|
94
|
-
* assert.optionalBool
|
95
|
-
* assert.optionalBuffer
|
96
|
-
* assert.optionalFunc
|
97
|
-
* assert.optionalNumber
|
98
|
-
* assert.optionalObject
|
99
|
-
* assert.optionalString
|
100
|
-
* assert.optionalStream
|
101
|
-
* assert.optionalDate
|
102
|
-
* assert.optionalUuid
|
103
|
-
* assert.optionalArrayOfArray
|
104
|
-
* assert.optionalArrayOfBool
|
105
|
-
* assert.optionalArrayOfBuffer
|
106
|
-
* assert.optionalArrayOfFunc
|
107
|
-
* assert.optionalArrayOfNumber
|
108
|
-
* assert.optionalArrayOfObject
|
109
|
-
* assert.optionalArrayOfString
|
110
|
-
* assert.optionalArrayOfStream
|
111
|
-
* assert.optionalArrayOfDate
|
112
|
-
* assert.optionalArrayOfUuid
|
113
|
-
* assert.AssertionError
|
114
|
-
* assert.fail
|
115
|
-
* assert.ok
|
116
|
-
* assert.equal
|
117
|
-
* assert.notEqual
|
118
|
-
* assert.deepEqual
|
119
|
-
* assert.notDeepEqual
|
120
|
-
* assert.strictEqual
|
121
|
-
* assert.notStrictEqual
|
122
|
-
* assert.throws
|
123
|
-
* assert.doesNotThrow
|
124
|
-
* assert.ifError
|
125
|
-
|
126
|
-
# Installation
|
127
|
-
|
128
|
-
npm install assert-plus
|
129
|
-
|
130
|
-
## License
|
131
|
-
|
132
|
-
The MIT License (MIT)
|
133
|
-
Copyright (c) 2012 Mark Cavage
|
134
|
-
|
135
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
136
|
-
this software and associated documentation files (the "Software"), to deal in
|
137
|
-
the Software without restriction, including without limitation the rights to
|
138
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
139
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
140
|
-
subject to the following conditions:
|
141
|
-
|
142
|
-
The above copyright notice and this permission notice shall be included in all
|
143
|
-
copies or substantial portions of the Software.
|
144
|
-
|
145
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
146
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
147
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
148
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
149
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
150
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
151
|
-
SOFTWARE.
|
152
|
-
|
153
|
-
## Bugs
|
154
|
-
|
155
|
-
See <https://github.com/mcavage/node-assert-plus/issues>.
|
@@ -1,206 +0,0 @@
|
|
1
|
-
// Copyright (c) 2012, Mark Cavage. All rights reserved.
|
2
|
-
// Copyright 2015 Joyent, Inc.
|
3
|
-
|
4
|
-
var assert = require('assert');
|
5
|
-
var Stream = require('stream').Stream;
|
6
|
-
var util = require('util');
|
7
|
-
|
8
|
-
|
9
|
-
///--- Globals
|
10
|
-
|
11
|
-
/* JSSTYLED */
|
12
|
-
var UUID_REGEXP = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
13
|
-
|
14
|
-
|
15
|
-
///--- Internal
|
16
|
-
|
17
|
-
function _capitalize(str) {
|
18
|
-
return (str.charAt(0).toUpperCase() + str.slice(1));
|
19
|
-
}
|
20
|
-
|
21
|
-
function _toss(name, expected, oper, arg, actual) {
|
22
|
-
throw new assert.AssertionError({
|
23
|
-
message: util.format('%s (%s) is required', name, expected),
|
24
|
-
actual: (actual === undefined) ? typeof (arg) : actual(arg),
|
25
|
-
expected: expected,
|
26
|
-
operator: oper || '===',
|
27
|
-
stackStartFunction: _toss.caller
|
28
|
-
});
|
29
|
-
}
|
30
|
-
|
31
|
-
function _getClass(arg) {
|
32
|
-
return (Object.prototype.toString.call(arg).slice(8, -1));
|
33
|
-
}
|
34
|
-
|
35
|
-
function noop() {
|
36
|
-
// Why even bother with asserts?
|
37
|
-
}
|
38
|
-
|
39
|
-
|
40
|
-
///--- Exports
|
41
|
-
|
42
|
-
var types = {
|
43
|
-
bool: {
|
44
|
-
check: function (arg) { return typeof (arg) === 'boolean'; }
|
45
|
-
},
|
46
|
-
func: {
|
47
|
-
check: function (arg) { return typeof (arg) === 'function'; }
|
48
|
-
},
|
49
|
-
string: {
|
50
|
-
check: function (arg) { return typeof (arg) === 'string'; }
|
51
|
-
},
|
52
|
-
object: {
|
53
|
-
check: function (arg) {
|
54
|
-
return typeof (arg) === 'object' && arg !== null;
|
55
|
-
}
|
56
|
-
},
|
57
|
-
number: {
|
58
|
-
check: function (arg) {
|
59
|
-
return typeof (arg) === 'number' && !isNaN(arg) && isFinite(arg);
|
60
|
-
}
|
61
|
-
},
|
62
|
-
buffer: {
|
63
|
-
check: function (arg) { return Buffer.isBuffer(arg); },
|
64
|
-
operator: 'Buffer.isBuffer'
|
65
|
-
},
|
66
|
-
array: {
|
67
|
-
check: function (arg) { return Array.isArray(arg); },
|
68
|
-
operator: 'Array.isArray'
|
69
|
-
},
|
70
|
-
stream: {
|
71
|
-
check: function (arg) { return arg instanceof Stream; },
|
72
|
-
operator: 'instanceof',
|
73
|
-
actual: _getClass
|
74
|
-
},
|
75
|
-
date: {
|
76
|
-
check: function (arg) { return arg instanceof Date; },
|
77
|
-
operator: 'instanceof',
|
78
|
-
actual: _getClass
|
79
|
-
},
|
80
|
-
regexp: {
|
81
|
-
check: function (arg) { return arg instanceof RegExp; },
|
82
|
-
operator: 'instanceof',
|
83
|
-
actual: _getClass
|
84
|
-
},
|
85
|
-
uuid: {
|
86
|
-
check: function (arg) {
|
87
|
-
return typeof (arg) === 'string' && UUID_REGEXP.test(arg);
|
88
|
-
},
|
89
|
-
operator: 'isUUID'
|
90
|
-
}
|
91
|
-
};
|
92
|
-
|
93
|
-
function _setExports(ndebug) {
|
94
|
-
var keys = Object.keys(types);
|
95
|
-
var out;
|
96
|
-
|
97
|
-
/* re-export standard assert */
|
98
|
-
if (process.env.NODE_NDEBUG) {
|
99
|
-
out = noop;
|
100
|
-
} else {
|
101
|
-
out = function (arg, msg) {
|
102
|
-
if (!arg) {
|
103
|
-
_toss(msg, 'true', arg);
|
104
|
-
}
|
105
|
-
};
|
106
|
-
}
|
107
|
-
|
108
|
-
/* standard checks */
|
109
|
-
keys.forEach(function (k) {
|
110
|
-
if (ndebug) {
|
111
|
-
out[k] = noop;
|
112
|
-
return;
|
113
|
-
}
|
114
|
-
var type = types[k];
|
115
|
-
out[k] = function (arg, msg) {
|
116
|
-
if (!type.check(arg)) {
|
117
|
-
_toss(msg, k, type.operator, arg, type.actual);
|
118
|
-
}
|
119
|
-
};
|
120
|
-
});
|
121
|
-
|
122
|
-
/* optional checks */
|
123
|
-
keys.forEach(function (k) {
|
124
|
-
var name = 'optional' + _capitalize(k);
|
125
|
-
if (ndebug) {
|
126
|
-
out[name] = noop;
|
127
|
-
return;
|
128
|
-
}
|
129
|
-
var type = types[k];
|
130
|
-
out[name] = function (arg, msg) {
|
131
|
-
if (arg === undefined || arg === null) {
|
132
|
-
return;
|
133
|
-
}
|
134
|
-
if (!type.check(arg)) {
|
135
|
-
_toss(msg, k, type.operator, arg, type.actual);
|
136
|
-
}
|
137
|
-
};
|
138
|
-
});
|
139
|
-
|
140
|
-
/* arrayOf checks */
|
141
|
-
keys.forEach(function (k) {
|
142
|
-
var name = 'arrayOf' + _capitalize(k);
|
143
|
-
if (ndebug) {
|
144
|
-
out[name] = noop;
|
145
|
-
return;
|
146
|
-
}
|
147
|
-
var type = types[k];
|
148
|
-
var expected = '[' + k + ']';
|
149
|
-
out[name] = function (arg, msg) {
|
150
|
-
if (!Array.isArray(arg)) {
|
151
|
-
_toss(msg, expected, type.operator, arg, type.actual);
|
152
|
-
}
|
153
|
-
var i;
|
154
|
-
for (i = 0; i < arg.length; i++) {
|
155
|
-
if (!type.check(arg[i])) {
|
156
|
-
_toss(msg, expected, type.operator, arg, type.actual);
|
157
|
-
}
|
158
|
-
}
|
159
|
-
};
|
160
|
-
});
|
161
|
-
|
162
|
-
/* optionalArrayOf checks */
|
163
|
-
keys.forEach(function (k) {
|
164
|
-
var name = 'optionalArrayOf' + _capitalize(k);
|
165
|
-
if (ndebug) {
|
166
|
-
out[name] = noop;
|
167
|
-
return;
|
168
|
-
}
|
169
|
-
var type = types[k];
|
170
|
-
var expected = '[' + k + ']';
|
171
|
-
out[name] = function (arg, msg) {
|
172
|
-
if (arg === undefined || arg === null) {
|
173
|
-
return;
|
174
|
-
}
|
175
|
-
if (!Array.isArray(arg)) {
|
176
|
-
_toss(msg, expected, type.operator, arg, type.actual);
|
177
|
-
}
|
178
|
-
var i;
|
179
|
-
for (i = 0; i < arg.length; i++) {
|
180
|
-
if (!type.check(arg[i])) {
|
181
|
-
_toss(msg, expected, type.operator, arg, type.actual);
|
182
|
-
}
|
183
|
-
}
|
184
|
-
};
|
185
|
-
});
|
186
|
-
|
187
|
-
/* re-export built-in assertions */
|
188
|
-
Object.keys(assert).forEach(function (k) {
|
189
|
-
if (k === 'AssertionError') {
|
190
|
-
out[k] = assert[k];
|
191
|
-
return;
|
192
|
-
}
|
193
|
-
if (ndebug) {
|
194
|
-
out[k] = noop;
|
195
|
-
return;
|
196
|
-
}
|
197
|
-
out[k] = assert[k];
|
198
|
-
});
|
199
|
-
|
200
|
-
/* export ourselves (for unit tests _only_) */
|
201
|
-
out._setExports = _setExports;
|
202
|
-
|
203
|
-
return out;
|
204
|
-
}
|
205
|
-
|
206
|
-
module.exports = _setExports(process.env.NODE_NDEBUG);
|
@@ -1,88 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_from": "assert-plus@>=0.2.0 <0.3.0",
|
3
|
-
"_id": "assert-plus@0.2.0",
|
4
|
-
"_location": "/sshpk/assert-plus",
|
5
|
-
"_nodeVersion": "0.10.36",
|
6
|
-
"_npmUser": {
|
7
|
-
"email": "patrick.f.mooney@gmail.com",
|
8
|
-
"name": "pfmooney"
|
9
|
-
},
|
10
|
-
"_npmVersion": "3.3.8",
|
11
|
-
"_phantomChildren": {},
|
12
|
-
"_requiredBy": [
|
13
|
-
"/sshpk"
|
14
|
-
],
|
15
|
-
"_resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz",
|
16
|
-
"_shasum": "d74e1b87e7affc0db8aadb7021f3fe48101ab234",
|
17
|
-
"author": {
|
18
|
-
"email": "mcavage@gmail.com",
|
19
|
-
"name": "Mark Cavage"
|
20
|
-
},
|
21
|
-
"bugs": {
|
22
|
-
"url": "https://github.com/mcavage/node-assert-plus/issues"
|
23
|
-
},
|
24
|
-
"contributors": [
|
25
|
-
{
|
26
|
-
"name": "Dave Eddy",
|
27
|
-
"email": "dave@daveeddy.com"
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"name": "Fred Kuo",
|
31
|
-
"email": "fred.kuo@joyent.com"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"name": "Lars-Magnus Skog",
|
35
|
-
"email": "ralphtheninja@riseup.net"
|
36
|
-
},
|
37
|
-
{
|
38
|
-
"name": "Mark Cavage",
|
39
|
-
"email": "mcavage@gmail.com"
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"name": "Patrick Mooney",
|
43
|
-
"email": "pmooney@pfmooney.com"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"name": "Rob Gulewich",
|
47
|
-
"email": "robert.gulewich@joyent.com"
|
48
|
-
}
|
49
|
-
],
|
50
|
-
"dependencies": {},
|
51
|
-
"description": "Extra assertions on top of node's assert module",
|
52
|
-
"devDependencies": {
|
53
|
-
"faucet": "0.0.1",
|
54
|
-
"tape": "4.2.2"
|
55
|
-
},
|
56
|
-
"directories": {},
|
57
|
-
"dist": {
|
58
|
-
"shasum": "d74e1b87e7affc0db8aadb7021f3fe48101ab234",
|
59
|
-
"tarball": "http://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz"
|
60
|
-
},
|
61
|
-
"engines": {
|
62
|
-
"node": ">=0.8"
|
63
|
-
},
|
64
|
-
"homepage": "https://github.com/mcavage/node-assert-plus#readme",
|
65
|
-
"license": "MIT",
|
66
|
-
"main": "./assert.js",
|
67
|
-
"maintainers": [
|
68
|
-
{
|
69
|
-
"name": "mcavage",
|
70
|
-
"email": "mcavage@gmail.com"
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"name": "pfmooney",
|
74
|
-
"email": "patrick.f.mooney@gmail.com"
|
75
|
-
}
|
76
|
-
],
|
77
|
-
"name": "assert-plus",
|
78
|
-
"optionalDependencies": {},
|
79
|
-
"readme": "ERROR: No README data found!",
|
80
|
-
"repository": {
|
81
|
-
"type": "git",
|
82
|
-
"url": "git+https://github.com/mcavage/node-assert-plus.git"
|
83
|
-
},
|
84
|
-
"scripts": {
|
85
|
-
"test": "tape tests/*.js | ./node_modules/.bin/faucet"
|
86
|
-
},
|
87
|
-
"version": "0.2.0"
|
88
|
-
}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
[![Build Status](https://travis-ci.org/isaacs/rimraf.svg?branch=master)](https://travis-ci.org/isaacs/rimraf) [![Dependency Status](https://david-dm.org/isaacs/rimraf.svg)](https://david-dm.org/isaacs/rimraf) [![devDependency Status](https://david-dm.org/isaacs/rimraf/dev-status.svg)](https://david-dm.org/isaacs/rimraf#info=devDependencies)
|
2
|
-
|
3
|
-
The [UNIX command](http://en.wikipedia.org/wiki/Rm_(Unix)) `rm -rf` for node.
|
4
|
-
|
5
|
-
Install with `npm install rimraf`, or just drop rimraf.js somewhere.
|
6
|
-
|
7
|
-
## API
|
8
|
-
|
9
|
-
`rimraf(f, [opts], callback)`
|
10
|
-
|
11
|
-
The first parameter will be interpreted as a globbing pattern for files. If you
|
12
|
-
want to disable globbing you can do so with `opts.disableGlob` (defaults to
|
13
|
-
`false`). This might be handy, for instance, if you have filenames that contain
|
14
|
-
globbing wildcard characters.
|
15
|
-
|
16
|
-
The callback will be called with an error if there is one. Certain
|
17
|
-
errors are handled for you:
|
18
|
-
|
19
|
-
* Windows: `EBUSY` and `ENOTEMPTY` - rimraf will back off a maximum of
|
20
|
-
`opts.maxBusyTries` times before giving up, adding 100ms of wait
|
21
|
-
between each attempt. The default `maxBusyTries` is 3.
|
22
|
-
* `ENOENT` - If the file doesn't exist, rimraf will return
|
23
|
-
successfully, since your desired outcome is already the case.
|
24
|
-
* `EMFILE` - Since `readdir` requires opening a file descriptor, it's
|
25
|
-
possible to hit `EMFILE` if too many file descriptors are in use.
|
26
|
-
In the sync case, there's nothing to be done for this. But in the
|
27
|
-
async case, rimraf will gradually back off with timeouts up to
|
28
|
-
`opts.emfileWait` ms, which defaults to 1000.
|
29
|
-
|
30
|
-
## rimraf.sync
|
31
|
-
|
32
|
-
It can remove stuff synchronously, too. But that's not so good. Use
|
33
|
-
the async API. It's better.
|
34
|
-
|
35
|
-
## CLI
|
36
|
-
|
37
|
-
If installed with `npm install rimraf -g` it can be used as a global
|
38
|
-
command `rimraf <path> [<path> ...]` which is useful for cross platform support.
|
39
|
-
|
40
|
-
## mkdirp
|
41
|
-
|
42
|
-
If you need to create a directory recursively, check out
|
43
|
-
[mkdirp](https://github.com/substack/node-mkdirp).
|
@@ -1,40 +0,0 @@
|
|
1
|
-
#!/usr/bin/env node
|
2
|
-
|
3
|
-
var rimraf = require('./')
|
4
|
-
|
5
|
-
var help = false
|
6
|
-
var dashdash = false
|
7
|
-
var args = process.argv.slice(2).filter(function(arg) {
|
8
|
-
if (dashdash)
|
9
|
-
return !!arg
|
10
|
-
else if (arg === '--')
|
11
|
-
dashdash = true
|
12
|
-
else if (arg.match(/^(-+|\/)(h(elp)?|\?)$/))
|
13
|
-
help = true
|
14
|
-
else
|
15
|
-
return !!arg
|
16
|
-
});
|
17
|
-
|
18
|
-
if (help || args.length === 0) {
|
19
|
-
// If they didn't ask for help, then this is not a "success"
|
20
|
-
var log = help ? console.log : console.error
|
21
|
-
log('Usage: rimraf <path> [<path> ...]')
|
22
|
-
log('')
|
23
|
-
log(' Deletes all files and folders at "path" recursively.')
|
24
|
-
log('')
|
25
|
-
log('Options:')
|
26
|
-
log('')
|
27
|
-
log(' -h, --help Display this usage info')
|
28
|
-
process.exit(help ? 0 : 1)
|
29
|
-
} else
|
30
|
-
go(0)
|
31
|
-
|
32
|
-
function go (n) {
|
33
|
-
if (n >= args.length)
|
34
|
-
return
|
35
|
-
rimraf(args[n], function (er) {
|
36
|
-
if (er)
|
37
|
-
throw er
|
38
|
-
go(n+1)
|
39
|
-
})
|
40
|
-
}
|