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,62 +0,0 @@
|
|
1
|
-
concat-map
|
2
|
-
==========
|
3
|
-
|
4
|
-
Concatenative mapdashery.
|
5
|
-
|
6
|
-
[![browser support](http://ci.testling.com/substack/node-concat-map.png)](http://ci.testling.com/substack/node-concat-map)
|
7
|
-
|
8
|
-
[![build status](https://secure.travis-ci.org/substack/node-concat-map.png)](http://travis-ci.org/substack/node-concat-map)
|
9
|
-
|
10
|
-
example
|
11
|
-
=======
|
12
|
-
|
13
|
-
``` js
|
14
|
-
var concatMap = require('concat-map');
|
15
|
-
var xs = [ 1, 2, 3, 4, 5, 6 ];
|
16
|
-
var ys = concatMap(xs, function (x) {
|
17
|
-
return x % 2 ? [ x - 0.1, x, x + 0.1 ] : [];
|
18
|
-
});
|
19
|
-
console.dir(ys);
|
20
|
-
```
|
21
|
-
|
22
|
-
***
|
23
|
-
|
24
|
-
```
|
25
|
-
[ 0.9, 1, 1.1, 2.9, 3, 3.1, 4.9, 5, 5.1 ]
|
26
|
-
```
|
27
|
-
|
28
|
-
methods
|
29
|
-
=======
|
30
|
-
|
31
|
-
``` js
|
32
|
-
var concatMap = require('concat-map')
|
33
|
-
```
|
34
|
-
|
35
|
-
concatMap(xs, fn)
|
36
|
-
-----------------
|
37
|
-
|
38
|
-
Return an array of concatenated elements by calling `fn(x, i)` for each element
|
39
|
-
`x` and each index `i` in the array `xs`.
|
40
|
-
|
41
|
-
When `fn(x, i)` returns an array, its result will be concatenated with the
|
42
|
-
result array. If `fn(x, i)` returns anything else, that value will be pushed
|
43
|
-
onto the end of the result array.
|
44
|
-
|
45
|
-
install
|
46
|
-
=======
|
47
|
-
|
48
|
-
With [npm](http://npmjs.org) do:
|
49
|
-
|
50
|
-
```
|
51
|
-
npm install concat-map
|
52
|
-
```
|
53
|
-
|
54
|
-
license
|
55
|
-
=======
|
56
|
-
|
57
|
-
MIT
|
58
|
-
|
59
|
-
notes
|
60
|
-
=====
|
61
|
-
|
62
|
-
This module was written while sitting high above the ground in a tree.
|
@@ -1,13 +0,0 @@
|
|
1
|
-
module.exports = function (xs, fn) {
|
2
|
-
var res = [];
|
3
|
-
for (var i = 0; i < xs.length; i++) {
|
4
|
-
var x = fn(xs[i], i);
|
5
|
-
if (isArray(x)) res.push.apply(res, x);
|
6
|
-
else res.push(x);
|
7
|
-
}
|
8
|
-
return res;
|
9
|
-
};
|
10
|
-
|
11
|
-
var isArray = Array.isArray || function (xs) {
|
12
|
-
return Object.prototype.toString.call(xs) === '[object Array]';
|
13
|
-
};
|
@@ -1,90 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_from": "concat-map@0.0.1",
|
3
|
-
"_id": "concat-map@0.0.1",
|
4
|
-
"_location": "/tar-pack/rimraf/glob/minimatch/brace-expansion/concat-map",
|
5
|
-
"_npmUser": {
|
6
|
-
"email": "mail@substack.net",
|
7
|
-
"name": "substack"
|
8
|
-
},
|
9
|
-
"_npmVersion": "1.3.21",
|
10
|
-
"_phantomChildren": {},
|
11
|
-
"_requiredBy": [
|
12
|
-
"/tar-pack/rimraf/glob/minimatch/brace-expansion"
|
13
|
-
],
|
14
|
-
"_resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
15
|
-
"_shasum": "d8a96bd77fd68df7793a73036a3ba0d5405d477b",
|
16
|
-
"author": {
|
17
|
-
"email": "mail@substack.net",
|
18
|
-
"name": "James Halliday",
|
19
|
-
"url": "http://substack.net"
|
20
|
-
},
|
21
|
-
"bugs": {
|
22
|
-
"url": "https://github.com/substack/node-concat-map/issues"
|
23
|
-
},
|
24
|
-
"dependencies": {},
|
25
|
-
"description": "concatenative mapdashery",
|
26
|
-
"devDependencies": {
|
27
|
-
"tape": "~2.4.0"
|
28
|
-
},
|
29
|
-
"directories": {
|
30
|
-
"example": "example",
|
31
|
-
"test": "test"
|
32
|
-
},
|
33
|
-
"dist": {
|
34
|
-
"shasum": "d8a96bd77fd68df7793a73036a3ba0d5405d477b",
|
35
|
-
"tarball": "http://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz"
|
36
|
-
},
|
37
|
-
"homepage": "https://github.com/substack/node-concat-map",
|
38
|
-
"keywords": [
|
39
|
-
"concat",
|
40
|
-
"concatMap",
|
41
|
-
"functional",
|
42
|
-
"higher-order",
|
43
|
-
"map"
|
44
|
-
],
|
45
|
-
"license": "MIT",
|
46
|
-
"main": "index.js",
|
47
|
-
"maintainers": [
|
48
|
-
{
|
49
|
-
"name": "substack",
|
50
|
-
"email": "mail@substack.net"
|
51
|
-
}
|
52
|
-
],
|
53
|
-
"name": "concat-map",
|
54
|
-
"optionalDependencies": {},
|
55
|
-
"readme": "ERROR: No README data found!",
|
56
|
-
"repository": {
|
57
|
-
"type": "git",
|
58
|
-
"url": "git://github.com/substack/node-concat-map.git"
|
59
|
-
},
|
60
|
-
"scripts": {
|
61
|
-
"test": "tape test/*.js"
|
62
|
-
},
|
63
|
-
"testling": {
|
64
|
-
"browsers": {
|
65
|
-
"chrome": [
|
66
|
-
10,
|
67
|
-
22
|
68
|
-
],
|
69
|
-
"ff": [
|
70
|
-
10,
|
71
|
-
15,
|
72
|
-
3.5
|
73
|
-
],
|
74
|
-
"ie": [
|
75
|
-
6,
|
76
|
-
7,
|
77
|
-
8,
|
78
|
-
9
|
79
|
-
],
|
80
|
-
"opera": [
|
81
|
-
12
|
82
|
-
],
|
83
|
-
"safari": [
|
84
|
-
5.1
|
85
|
-
]
|
86
|
-
},
|
87
|
-
"files": "test/*.js"
|
88
|
-
},
|
89
|
-
"version": "0.0.1"
|
90
|
-
}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
var concatMap = require('../');
|
2
|
-
var test = require('tape');
|
3
|
-
|
4
|
-
test('empty or not', function (t) {
|
5
|
-
var xs = [ 1, 2, 3, 4, 5, 6 ];
|
6
|
-
var ixes = [];
|
7
|
-
var ys = concatMap(xs, function (x, ix) {
|
8
|
-
ixes.push(ix);
|
9
|
-
return x % 2 ? [ x - 0.1, x, x + 0.1 ] : [];
|
10
|
-
});
|
11
|
-
t.same(ys, [ 0.9, 1, 1.1, 2.9, 3, 3.1, 4.9, 5, 5.1 ]);
|
12
|
-
t.same(ixes, [ 0, 1, 2, 3, 4, 5 ]);
|
13
|
-
t.end();
|
14
|
-
});
|
15
|
-
|
16
|
-
test('always something', function (t) {
|
17
|
-
var xs = [ 'a', 'b', 'c', 'd' ];
|
18
|
-
var ys = concatMap(xs, function (x) {
|
19
|
-
return x === 'b' ? [ 'B', 'B', 'B' ] : [ x ];
|
20
|
-
});
|
21
|
-
t.same(ys, [ 'a', 'B', 'B', 'B', 'c', 'd' ]);
|
22
|
-
t.end();
|
23
|
-
});
|
24
|
-
|
25
|
-
test('scalars', function (t) {
|
26
|
-
var xs = [ 'a', 'b', 'c', 'd' ];
|
27
|
-
var ys = concatMap(xs, function (x) {
|
28
|
-
return x === 'b' ? [ 'B', 'B', 'B' ] : x;
|
29
|
-
});
|
30
|
-
t.same(ys, [ 'a', 'B', 'B', 'B', 'c', 'd' ]);
|
31
|
-
t.end();
|
32
|
-
});
|
33
|
-
|
34
|
-
test('undefs', function (t) {
|
35
|
-
var xs = [ 'a', 'b', 'c', 'd' ];
|
36
|
-
var ys = concatMap(xs, function () {});
|
37
|
-
t.same(ys, [ undefined, undefined, undefined, undefined ]);
|
38
|
-
t.end();
|
39
|
-
});
|
@@ -1,81 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_from": "brace-expansion@^1.0.0",
|
3
|
-
"_id": "brace-expansion@1.1.2",
|
4
|
-
"_location": "/tar-pack/rimraf/glob/minimatch/brace-expansion",
|
5
|
-
"_nodeVersion": "4.2.1",
|
6
|
-
"_npmUser": {
|
7
|
-
"email": "julian@juliangruber.com",
|
8
|
-
"name": "juliangruber"
|
9
|
-
},
|
10
|
-
"_npmVersion": "2.14.7",
|
11
|
-
"_phantomChildren": {},
|
12
|
-
"_requiredBy": [
|
13
|
-
"/tar-pack/rimraf/glob/minimatch"
|
14
|
-
],
|
15
|
-
"_resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.2.tgz",
|
16
|
-
"_shasum": "f21445d0488b658e2771efd870eff51df29f04ef",
|
17
|
-
"author": {
|
18
|
-
"email": "mail@juliangruber.com",
|
19
|
-
"name": "Julian Gruber",
|
20
|
-
"url": "http://juliangruber.com"
|
21
|
-
},
|
22
|
-
"bugs": {
|
23
|
-
"url": "https://github.com/juliangruber/brace-expansion/issues"
|
24
|
-
},
|
25
|
-
"dependencies": {
|
26
|
-
"balanced-match": "^0.3.0",
|
27
|
-
"concat-map": "0.0.1"
|
28
|
-
},
|
29
|
-
"description": "Brace expansion as known from sh/bash",
|
30
|
-
"devDependencies": {
|
31
|
-
"tape": "4.2.2"
|
32
|
-
},
|
33
|
-
"directories": {},
|
34
|
-
"dist": {
|
35
|
-
"shasum": "f21445d0488b658e2771efd870eff51df29f04ef",
|
36
|
-
"tarball": "http://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.2.tgz"
|
37
|
-
},
|
38
|
-
"gitHead": "b03773a30fa516b1374945b68e9acb6253d595fa",
|
39
|
-
"homepage": "https://github.com/juliangruber/brace-expansion",
|
40
|
-
"keywords": [],
|
41
|
-
"license": "MIT",
|
42
|
-
"main": "index.js",
|
43
|
-
"maintainers": [
|
44
|
-
{
|
45
|
-
"name": "juliangruber",
|
46
|
-
"email": "julian@juliangruber.com"
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"name": "isaacs",
|
50
|
-
"email": "isaacs@npmjs.com"
|
51
|
-
}
|
52
|
-
],
|
53
|
-
"name": "brace-expansion",
|
54
|
-
"optionalDependencies": {},
|
55
|
-
"readme": "ERROR: No README data found!",
|
56
|
-
"repository": {
|
57
|
-
"type": "git",
|
58
|
-
"url": "git://github.com/juliangruber/brace-expansion.git"
|
59
|
-
},
|
60
|
-
"scripts": {
|
61
|
-
"gentest": "bash test/generate.sh",
|
62
|
-
"test": "tape test/*.js"
|
63
|
-
},
|
64
|
-
"testling": {
|
65
|
-
"browsers": [
|
66
|
-
"android-browser/4.2..latest",
|
67
|
-
"chrome/25..latest",
|
68
|
-
"chrome/canary",
|
69
|
-
"firefox/20..latest",
|
70
|
-
"firefox/nightly",
|
71
|
-
"ie/8..latest",
|
72
|
-
"ipad/6.0..latest",
|
73
|
-
"iphone/6.0..latest",
|
74
|
-
"opera/12..latest",
|
75
|
-
"opera/next",
|
76
|
-
"safari/5.1..latest"
|
77
|
-
],
|
78
|
-
"files": "test/*.js"
|
79
|
-
},
|
80
|
-
"version": "1.1.2"
|
81
|
-
}
|
@@ -1,66 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_from": "minimatch@2 || 3",
|
3
|
-
"_id": "minimatch@3.0.0",
|
4
|
-
"_location": "/tar-pack/rimraf/glob/minimatch",
|
5
|
-
"_nodeVersion": "4.0.0",
|
6
|
-
"_npmUser": {
|
7
|
-
"email": "isaacs@npmjs.com",
|
8
|
-
"name": "isaacs"
|
9
|
-
},
|
10
|
-
"_npmVersion": "3.3.2",
|
11
|
-
"_phantomChildren": {},
|
12
|
-
"_requiredBy": [
|
13
|
-
"/tar-pack/rimraf/glob"
|
14
|
-
],
|
15
|
-
"_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.0.tgz",
|
16
|
-
"_shasum": "5236157a51e4f004c177fb3c527ff7dd78f0ef83",
|
17
|
-
"author": {
|
18
|
-
"email": "i@izs.me",
|
19
|
-
"name": "Isaac Z. Schlueter",
|
20
|
-
"url": "http://blog.izs.me"
|
21
|
-
},
|
22
|
-
"bugs": {
|
23
|
-
"url": "https://github.com/isaacs/minimatch/issues"
|
24
|
-
},
|
25
|
-
"dependencies": {
|
26
|
-
"brace-expansion": "^1.0.0"
|
27
|
-
},
|
28
|
-
"description": "a glob matcher in javascript",
|
29
|
-
"devDependencies": {
|
30
|
-
"standard": "^3.7.2",
|
31
|
-
"tap": "^1.2.0"
|
32
|
-
},
|
33
|
-
"directories": {},
|
34
|
-
"dist": {
|
35
|
-
"shasum": "5236157a51e4f004c177fb3c527ff7dd78f0ef83",
|
36
|
-
"tarball": "http://registry.npmjs.org/minimatch/-/minimatch-3.0.0.tgz"
|
37
|
-
},
|
38
|
-
"engines": {
|
39
|
-
"node": "*"
|
40
|
-
},
|
41
|
-
"files": [
|
42
|
-
"minimatch.js"
|
43
|
-
],
|
44
|
-
"gitHead": "270dbea567f0af6918cb18103e98c612aa717a20",
|
45
|
-
"homepage": "https://github.com/isaacs/minimatch#readme",
|
46
|
-
"license": "ISC",
|
47
|
-
"main": "minimatch.js",
|
48
|
-
"maintainers": [
|
49
|
-
{
|
50
|
-
"name": "isaacs",
|
51
|
-
"email": "i@izs.me"
|
52
|
-
}
|
53
|
-
],
|
54
|
-
"name": "minimatch",
|
55
|
-
"optionalDependencies": {},
|
56
|
-
"readme": "ERROR: No README data found!",
|
57
|
-
"repository": {
|
58
|
-
"type": "git",
|
59
|
-
"url": "git://github.com/isaacs/minimatch.git"
|
60
|
-
},
|
61
|
-
"scripts": {
|
62
|
-
"posttest": "standard minimatch.js test/*.js",
|
63
|
-
"test": "tap test/*.js"
|
64
|
-
},
|
65
|
-
"version": "3.0.0"
|
66
|
-
}
|
package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/README.md
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
# once
|
2
|
-
|
3
|
-
Only call a function once.
|
4
|
-
|
5
|
-
## usage
|
6
|
-
|
7
|
-
```javascript
|
8
|
-
var once = require('once')
|
9
|
-
|
10
|
-
function load (file, cb) {
|
11
|
-
cb = once(cb)
|
12
|
-
loader.load('file')
|
13
|
-
loader.once('load', cb)
|
14
|
-
loader.once('error', cb)
|
15
|
-
}
|
16
|
-
```
|
17
|
-
|
18
|
-
Or add to the Function.prototype in a responsible way:
|
19
|
-
|
20
|
-
```javascript
|
21
|
-
// only has to be done once
|
22
|
-
require('once').proto()
|
23
|
-
|
24
|
-
function load (file, cb) {
|
25
|
-
cb = cb.once()
|
26
|
-
loader.load('file')
|
27
|
-
loader.once('load', cb)
|
28
|
-
loader.once('error', cb)
|
29
|
-
}
|
30
|
-
```
|
31
|
-
|
32
|
-
Ironically, the prototype feature makes this module twice as
|
33
|
-
complicated as necessary.
|
34
|
-
|
35
|
-
To check whether you function has been called, use `fn.called`. Once the
|
36
|
-
function is called for the first time the return value of the original
|
37
|
-
function is saved in `fn.value` and subsequent calls will continue to
|
38
|
-
return this value.
|
39
|
-
|
40
|
-
```javascript
|
41
|
-
var once = require('once')
|
42
|
-
|
43
|
-
function load (cb) {
|
44
|
-
cb = once(cb)
|
45
|
-
var stream = createStream()
|
46
|
-
stream.once('data', cb)
|
47
|
-
stream.once('end', function () {
|
48
|
-
if (!cb.called) cb(new Error('not found'))
|
49
|
-
})
|
50
|
-
}
|
51
|
-
```
|
@@ -1,15 +0,0 @@
|
|
1
|
-
The ISC License
|
2
|
-
|
3
|
-
Copyright (c) Isaac Z. Schlueter and Contributors
|
4
|
-
|
5
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
6
|
-
purpose with or without fee is hereby granted, provided that the above
|
7
|
-
copyright notice and this permission notice appear in all copies.
|
8
|
-
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
10
|
-
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
11
|
-
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
12
|
-
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
13
|
-
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
14
|
-
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
15
|
-
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
@@ -1,36 +0,0 @@
|
|
1
|
-
# wrappy
|
2
|
-
|
3
|
-
Callback wrapping utility
|
4
|
-
|
5
|
-
## USAGE
|
6
|
-
|
7
|
-
```javascript
|
8
|
-
var wrappy = require("wrappy")
|
9
|
-
|
10
|
-
// var wrapper = wrappy(wrapperFunction)
|
11
|
-
|
12
|
-
// make sure a cb is called only once
|
13
|
-
// See also: http://npm.im/once for this specific use case
|
14
|
-
var once = wrappy(function (cb) {
|
15
|
-
var called = false
|
16
|
-
return function () {
|
17
|
-
if (called) return
|
18
|
-
called = true
|
19
|
-
return cb.apply(this, arguments)
|
20
|
-
}
|
21
|
-
})
|
22
|
-
|
23
|
-
function printBoo () {
|
24
|
-
console.log('boo')
|
25
|
-
}
|
26
|
-
// has some rando property
|
27
|
-
printBoo.iAmBooPrinter = true
|
28
|
-
|
29
|
-
var onlyPrintOnce = once(printBoo)
|
30
|
-
|
31
|
-
onlyPrintOnce() // prints 'boo'
|
32
|
-
onlyPrintOnce() // does nothing
|
33
|
-
|
34
|
-
// random property is retained!
|
35
|
-
assert.equal(onlyPrintOnce.iAmBooPrinter, true)
|
36
|
-
```
|
@@ -1,51 +0,0 @@
|
|
1
|
-
var test = require('tap').test
|
2
|
-
var wrappy = require('../wrappy.js')
|
3
|
-
|
4
|
-
test('basic', function (t) {
|
5
|
-
function onceifier (cb) {
|
6
|
-
var called = false
|
7
|
-
return function () {
|
8
|
-
if (called) return
|
9
|
-
called = true
|
10
|
-
return cb.apply(this, arguments)
|
11
|
-
}
|
12
|
-
}
|
13
|
-
onceifier.iAmOnce = {}
|
14
|
-
var once = wrappy(onceifier)
|
15
|
-
t.equal(once.iAmOnce, onceifier.iAmOnce)
|
16
|
-
|
17
|
-
var called = 0
|
18
|
-
function boo () {
|
19
|
-
t.equal(called, 0)
|
20
|
-
called++
|
21
|
-
}
|
22
|
-
// has some rando property
|
23
|
-
boo.iAmBoo = true
|
24
|
-
|
25
|
-
var onlyPrintOnce = once(boo)
|
26
|
-
|
27
|
-
onlyPrintOnce() // prints 'boo'
|
28
|
-
onlyPrintOnce() // does nothing
|
29
|
-
t.equal(called, 1)
|
30
|
-
|
31
|
-
// random property is retained!
|
32
|
-
t.equal(onlyPrintOnce.iAmBoo, true)
|
33
|
-
|
34
|
-
var logs = []
|
35
|
-
var logwrap = wrappy(function (msg, cb) {
|
36
|
-
logs.push(msg + ' wrapping cb')
|
37
|
-
return function () {
|
38
|
-
logs.push(msg + ' before cb')
|
39
|
-
var ret = cb.apply(this, arguments)
|
40
|
-
logs.push(msg + ' after cb')
|
41
|
-
}
|
42
|
-
})
|
43
|
-
|
44
|
-
var c = logwrap('foo', function () {
|
45
|
-
t.same(logs, [ 'foo wrapping cb', 'foo before cb' ])
|
46
|
-
})
|
47
|
-
c()
|
48
|
-
t.same(logs, [ 'foo wrapping cb', 'foo before cb', 'foo after cb' ])
|
49
|
-
|
50
|
-
t.end()
|
51
|
-
})
|
@@ -1,33 +0,0 @@
|
|
1
|
-
// Returns a wrapper function that returns a wrapped callback
|
2
|
-
// The wrapper function should do some stuff, and return a
|
3
|
-
// presumably different callback function.
|
4
|
-
// This makes sure that own properties are retained, so that
|
5
|
-
// decorations and such are not lost along the way.
|
6
|
-
module.exports = wrappy
|
7
|
-
function wrappy (fn, cb) {
|
8
|
-
if (fn && cb) return wrappy(fn)(cb)
|
9
|
-
|
10
|
-
if (typeof fn !== 'function')
|
11
|
-
throw new TypeError('need wrapper function')
|
12
|
-
|
13
|
-
Object.keys(fn).forEach(function (k) {
|
14
|
-
wrapper[k] = fn[k]
|
15
|
-
})
|
16
|
-
|
17
|
-
return wrapper
|
18
|
-
|
19
|
-
function wrapper() {
|
20
|
-
var args = new Array(arguments.length)
|
21
|
-
for (var i = 0; i < args.length; i++) {
|
22
|
-
args[i] = arguments[i]
|
23
|
-
}
|
24
|
-
var ret = fn.apply(this, args)
|
25
|
-
var cb = args[args.length-1]
|
26
|
-
if (typeof ret === 'function' && ret !== cb) {
|
27
|
-
Object.keys(cb).forEach(function (k) {
|
28
|
-
ret[k] = cb[k]
|
29
|
-
})
|
30
|
-
}
|
31
|
-
return ret
|
32
|
-
}
|
33
|
-
}
|
package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/once.js
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
var wrappy = require('wrappy')
|
2
|
-
module.exports = wrappy(once)
|
3
|
-
|
4
|
-
once.proto = once(function () {
|
5
|
-
Object.defineProperty(Function.prototype, 'once', {
|
6
|
-
value: function () {
|
7
|
-
return once(this)
|
8
|
-
},
|
9
|
-
configurable: true
|
10
|
-
})
|
11
|
-
})
|
12
|
-
|
13
|
-
function once (fn) {
|
14
|
-
var f = function () {
|
15
|
-
if (f.called) return f.value
|
16
|
-
f.called = true
|
17
|
-
return f.value = fn.apply(this, arguments)
|
18
|
-
}
|
19
|
-
f.called = false
|
20
|
-
return f
|
21
|
-
}
|
package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/package.json
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_from": "once@^1.3.0",
|
3
|
-
"_id": "once@1.3.3",
|
4
|
-
"_location": "/tar-pack/rimraf/glob/once",
|
5
|
-
"_nodeVersion": "4.0.0",
|
6
|
-
"_npmUser": {
|
7
|
-
"email": "i@izs.me",
|
8
|
-
"name": "isaacs"
|
9
|
-
},
|
10
|
-
"_npmVersion": "3.3.2",
|
11
|
-
"_phantomChildren": {},
|
12
|
-
"_requiredBy": [
|
13
|
-
"/tar-pack/rimraf/glob",
|
14
|
-
"/tar-pack/rimraf/glob/inflight"
|
15
|
-
],
|
16
|
-
"_resolved": "https://registry.npmjs.org/once/-/once-1.3.3.tgz",
|
17
|
-
"_shasum": "b2e261557ce4c314ec8304f3fa82663e4297ca20",
|
18
|
-
"author": {
|
19
|
-
"email": "i@izs.me",
|
20
|
-
"name": "Isaac Z. Schlueter",
|
21
|
-
"url": "http://blog.izs.me/"
|
22
|
-
},
|
23
|
-
"bugs": {
|
24
|
-
"url": "https://github.com/isaacs/once/issues"
|
25
|
-
},
|
26
|
-
"dependencies": {
|
27
|
-
"wrappy": "1"
|
28
|
-
},
|
29
|
-
"description": "Run a function exactly one time",
|
30
|
-
"devDependencies": {
|
31
|
-
"tap": "^1.2.0"
|
32
|
-
},
|
33
|
-
"directories": {
|
34
|
-
"test": "test"
|
35
|
-
},
|
36
|
-
"dist": {
|
37
|
-
"shasum": "b2e261557ce4c314ec8304f3fa82663e4297ca20",
|
38
|
-
"tarball": "http://registry.npmjs.org/once/-/once-1.3.3.tgz"
|
39
|
-
},
|
40
|
-
"files": [
|
41
|
-
"once.js"
|
42
|
-
],
|
43
|
-
"gitHead": "2ad558657e17fafd24803217ba854762842e4178",
|
44
|
-
"homepage": "https://github.com/isaacs/once#readme",
|
45
|
-
"keywords": [
|
46
|
-
"function",
|
47
|
-
"once",
|
48
|
-
"one",
|
49
|
-
"single"
|
50
|
-
],
|
51
|
-
"license": "ISC",
|
52
|
-
"main": "once.js",
|
53
|
-
"maintainers": [
|
54
|
-
{
|
55
|
-
"name": "isaacs",
|
56
|
-
"email": "i@izs.me"
|
57
|
-
}
|
58
|
-
],
|
59
|
-
"name": "once",
|
60
|
-
"optionalDependencies": {},
|
61
|
-
"readme": "ERROR: No README data found!",
|
62
|
-
"repository": {
|
63
|
-
"type": "git",
|
64
|
-
"url": "git://github.com/isaacs/once.git"
|
65
|
-
},
|
66
|
-
"scripts": {
|
67
|
-
"test": "tap test/*.js"
|
68
|
-
},
|
69
|
-
"version": "1.3.3"
|
70
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
function posix(path) {
|
4
|
-
return path.charAt(0) === '/';
|
5
|
-
};
|
6
|
-
|
7
|
-
function win32(path) {
|
8
|
-
// https://github.com/joyent/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56
|
9
|
-
var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
|
10
|
-
var result = splitDeviceRe.exec(path);
|
11
|
-
var device = result[1] || '';
|
12
|
-
var isUnc = !!device && device.charAt(1) !== ':';
|
13
|
-
|
14
|
-
// UNC paths are always absolute
|
15
|
-
return !!result[2] || isUnc;
|
16
|
-
};
|
17
|
-
|
18
|
-
module.exports = process.platform === 'win32' ? win32 : posix;
|
19
|
-
module.exports.posix = posix;
|
20
|
-
module.exports.win32 = win32;
|