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,10 +1,7 @@
|
|
1
|
-
|
1
|
+
'use strict';
|
2
2
|
|
3
3
|
var Utils = require('./utils');
|
4
4
|
|
5
|
-
|
6
|
-
// Declare internals
|
7
|
-
|
8
5
|
var internals = {
|
9
6
|
delimiter: '&',
|
10
7
|
depth: 5,
|
@@ -16,13 +13,11 @@ var internals = {
|
|
16
13
|
allowDots: false
|
17
14
|
};
|
18
15
|
|
19
|
-
|
20
16
|
internals.parseValues = function (str, options) {
|
21
|
-
|
22
17
|
var obj = {};
|
23
18
|
var parts = str.split(options.delimiter, options.parameterLimit === Infinity ? undefined : options.parameterLimit);
|
24
19
|
|
25
|
-
for (var i = 0
|
20
|
+
for (var i = 0; i < parts.length; ++i) {
|
26
21
|
var part = parts[i];
|
27
22
|
var pos = part.indexOf(']=') === -1 ? part.indexOf('=') : part.indexOf(']=') + 1;
|
28
23
|
|
@@ -32,16 +27,14 @@ internals.parseValues = function (str, options) {
|
|
32
27
|
if (options.strictNullHandling) {
|
33
28
|
obj[Utils.decode(part)] = null;
|
34
29
|
}
|
35
|
-
}
|
36
|
-
else {
|
30
|
+
} else {
|
37
31
|
var key = Utils.decode(part.slice(0, pos));
|
38
32
|
var val = Utils.decode(part.slice(pos + 1));
|
39
33
|
|
40
|
-
if (
|
41
|
-
obj[key] = val;
|
42
|
-
}
|
43
|
-
else {
|
34
|
+
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
44
35
|
obj[key] = [].concat(obj[key]).concat(val);
|
36
|
+
} else {
|
37
|
+
obj[key] = val;
|
45
38
|
}
|
46
39
|
}
|
47
40
|
}
|
@@ -49,9 +42,7 @@ internals.parseValues = function (str, options) {
|
|
49
42
|
return obj;
|
50
43
|
};
|
51
44
|
|
52
|
-
|
53
45
|
internals.parseObject = function (chain, val, options) {
|
54
|
-
|
55
46
|
if (!chain.length) {
|
56
47
|
return val;
|
57
48
|
}
|
@@ -62,23 +53,20 @@ internals.parseObject = function (chain, val, options) {
|
|
62
53
|
if (root === '[]') {
|
63
54
|
obj = [];
|
64
55
|
obj = obj.concat(internals.parseObject(chain, val, options));
|
65
|
-
}
|
66
|
-
else {
|
56
|
+
} else {
|
67
57
|
obj = options.plainObjects ? Object.create(null) : {};
|
68
58
|
var cleanRoot = root[0] === '[' && root[root.length - 1] === ']' ? root.slice(1, root.length - 1) : root;
|
69
59
|
var index = parseInt(cleanRoot, 10);
|
70
|
-
|
71
|
-
|
60
|
+
if (
|
61
|
+
!isNaN(index) &&
|
72
62
|
root !== cleanRoot &&
|
73
|
-
|
63
|
+
String(index) === cleanRoot &&
|
74
64
|
index >= 0 &&
|
75
|
-
(options.parseArrays &&
|
76
|
-
|
77
|
-
|
65
|
+
(options.parseArrays && index <= options.arrayLimit)
|
66
|
+
) {
|
78
67
|
obj = [];
|
79
68
|
obj[index] = internals.parseObject(chain, val, options);
|
80
|
-
}
|
81
|
-
else {
|
69
|
+
} else {
|
82
70
|
obj[cleanRoot] = internals.parseObject(chain, val, options);
|
83
71
|
}
|
84
72
|
}
|
@@ -86,18 +74,13 @@ internals.parseObject = function (chain, val, options) {
|
|
86
74
|
return obj;
|
87
75
|
};
|
88
76
|
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
if (!key) {
|
77
|
+
internals.parseKeys = function (givenKey, val, options) {
|
78
|
+
if (!givenKey) {
|
93
79
|
return;
|
94
80
|
}
|
95
81
|
|
96
82
|
// Transform dot notation to bracket notation
|
97
|
-
|
98
|
-
if (options.allowDots) {
|
99
|
-
key = key.replace(/\.([^\.\[]+)/g, '[$1]');
|
100
|
-
}
|
83
|
+
var key = options.allowDots ? givenKey.replace(/\.([^\.\[]+)/g, '[$1]') : givenKey;
|
101
84
|
|
102
85
|
// The regex chunks
|
103
86
|
|
@@ -114,9 +97,7 @@ internals.parseKeys = function (key, val, options) {
|
|
114
97
|
if (segment[1]) {
|
115
98
|
// If we aren't using plain objects, optionally prefix keys
|
116
99
|
// that would overwrite object prototype properties
|
117
|
-
if (!options.plainObjects &&
|
118
|
-
Object.prototype.hasOwnProperty(segment[1])) {
|
119
|
-
|
100
|
+
if (!options.plainObjects && Object.prototype.hasOwnProperty(segment[1])) {
|
120
101
|
if (!options.allowPrototypes) {
|
121
102
|
return;
|
122
103
|
}
|
@@ -129,11 +110,8 @@ internals.parseKeys = function (key, val, options) {
|
|
129
110
|
|
130
111
|
var i = 0;
|
131
112
|
while ((segment = child.exec(key)) !== null && i < options.depth) {
|
132
|
-
|
133
|
-
|
134
|
-
if (!options.plainObjects &&
|
135
|
-
Object.prototype.hasOwnProperty(segment[1].replace(/\[|\]/g, ''))) {
|
136
|
-
|
113
|
+
i += 1;
|
114
|
+
if (!options.plainObjects && Object.prototype.hasOwnProperty(segment[1].replace(/\[|\]/g, ''))) {
|
137
115
|
if (!options.allowPrototypes) {
|
138
116
|
continue;
|
139
117
|
}
|
@@ -150,10 +128,8 @@ internals.parseKeys = function (key, val, options) {
|
|
150
128
|
return internals.parseObject(keys, val, options);
|
151
129
|
};
|
152
130
|
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
options = options || {};
|
131
|
+
module.exports = function (str, opts) {
|
132
|
+
var options = opts || {};
|
157
133
|
options.delimiter = typeof options.delimiter === 'string' || Utils.isRegExp(options.delimiter) ? options.delimiter : internals.delimiter;
|
158
134
|
options.depth = typeof options.depth === 'number' ? options.depth : internals.depth;
|
159
135
|
options.arrayLimit = typeof options.arrayLimit === 'number' ? options.arrayLimit : internals.arrayLimit;
|
@@ -164,10 +140,11 @@ module.exports = function (str, options) {
|
|
164
140
|
options.parameterLimit = typeof options.parameterLimit === 'number' ? options.parameterLimit : internals.parameterLimit;
|
165
141
|
options.strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : internals.strictNullHandling;
|
166
142
|
|
167
|
-
if (
|
143
|
+
if (
|
144
|
+
str === '' ||
|
168
145
|
str === null ||
|
169
|
-
typeof str === 'undefined'
|
170
|
-
|
146
|
+
typeof str === 'undefined'
|
147
|
+
) {
|
171
148
|
return options.plainObjects ? Object.create(null) : {};
|
172
149
|
}
|
173
150
|
|
@@ -177,7 +154,7 @@ module.exports = function (str, options) {
|
|
177
154
|
// Iterate over the keys and setup the new object
|
178
155
|
|
179
156
|
var keys = Object.keys(tempObj);
|
180
|
-
for (var i = 0
|
157
|
+
for (var i = 0; i < keys.length; ++i) {
|
181
158
|
var key = keys[i];
|
182
159
|
var newObj = internals.parseKeys(key, tempObj[key], options);
|
183
160
|
obj = Utils.merge(obj, newObj, options);
|
@@ -1,23 +1,17 @@
|
|
1
|
-
|
1
|
+
'use strict';
|
2
2
|
|
3
3
|
var Utils = require('./utils');
|
4
4
|
|
5
|
-
|
6
|
-
// Declare internals
|
7
|
-
|
8
5
|
var internals = {
|
9
6
|
delimiter: '&',
|
10
7
|
arrayPrefixGenerators: {
|
11
|
-
brackets: function (prefix
|
12
|
-
|
8
|
+
brackets: function (prefix) {
|
13
9
|
return prefix + '[]';
|
14
10
|
},
|
15
11
|
indices: function (prefix, key) {
|
16
|
-
|
17
12
|
return prefix + '[' + key + ']';
|
18
13
|
},
|
19
|
-
repeat: function (prefix
|
20
|
-
|
14
|
+
repeat: function (prefix) {
|
21
15
|
return prefix;
|
22
16
|
}
|
23
17
|
},
|
@@ -26,19 +20,15 @@ var internals = {
|
|
26
20
|
encode: true
|
27
21
|
};
|
28
22
|
|
29
|
-
|
30
|
-
|
31
|
-
|
23
|
+
internals.stringify = function (object, prefix, generateArrayPrefix, strictNullHandling, skipNulls, encode, filter, sort) {
|
24
|
+
var obj = object;
|
32
25
|
if (typeof filter === 'function') {
|
33
26
|
obj = filter(prefix, obj);
|
34
|
-
}
|
35
|
-
|
36
|
-
|
37
|
-
}
|
38
|
-
else if (obj instanceof Date) {
|
27
|
+
} else if (Utils.isBuffer(obj)) {
|
28
|
+
obj = String(obj);
|
29
|
+
} else if (obj instanceof Date) {
|
39
30
|
obj = obj.toISOString();
|
40
|
-
}
|
41
|
-
else if (obj === null) {
|
31
|
+
} else if (obj === null) {
|
42
32
|
if (strictNullHandling) {
|
43
33
|
return encode ? Utils.encode(prefix) : prefix;
|
44
34
|
}
|
@@ -46,10 +36,7 @@ internals.stringify = function (obj, prefix, generateArrayPrefix, strictNullHand
|
|
46
36
|
obj = '';
|
47
37
|
}
|
48
38
|
|
49
|
-
if (typeof obj === 'string' ||
|
50
|
-
typeof obj === 'number' ||
|
51
|
-
typeof obj === 'boolean') {
|
52
|
-
|
39
|
+
if (typeof obj === 'string' || typeof obj === 'number' || typeof obj === 'boolean') {
|
53
40
|
if (encode) {
|
54
41
|
return [Utils.encode(prefix) + '=' + Utils.encode(obj)];
|
55
42
|
}
|
@@ -70,19 +57,16 @@ internals.stringify = function (obj, prefix, generateArrayPrefix, strictNullHand
|
|
70
57
|
objKeys = sort ? keys.sort(sort) : keys;
|
71
58
|
}
|
72
59
|
|
73
|
-
for (var i = 0
|
60
|
+
for (var i = 0; i < objKeys.length; ++i) {
|
74
61
|
var key = objKeys[i];
|
75
62
|
|
76
|
-
if (skipNulls &&
|
77
|
-
obj[key] === null) {
|
78
|
-
|
63
|
+
if (skipNulls && obj[key] === null) {
|
79
64
|
continue;
|
80
65
|
}
|
81
66
|
|
82
67
|
if (Array.isArray(obj)) {
|
83
68
|
values = values.concat(internals.stringify(obj[key], generateArrayPrefix(prefix, key), generateArrayPrefix, strictNullHandling, skipNulls, encode, filter));
|
84
|
-
}
|
85
|
-
else {
|
69
|
+
} else {
|
86
70
|
values = values.concat(internals.stringify(obj[key], prefix + '[' + key + ']', generateArrayPrefix, strictNullHandling, skipNulls, encode, filter));
|
87
71
|
}
|
88
72
|
}
|
@@ -90,10 +74,9 @@ internals.stringify = function (obj, prefix, generateArrayPrefix, strictNullHand
|
|
90
74
|
return values;
|
91
75
|
};
|
92
76
|
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
options = options || {};
|
77
|
+
module.exports = function (object, opts) {
|
78
|
+
var obj = object;
|
79
|
+
var options = opts || {};
|
97
80
|
var delimiter = typeof options.delimiter === 'undefined' ? internals.delimiter : options.delimiter;
|
98
81
|
var strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : internals.strictNullHandling;
|
99
82
|
var skipNulls = typeof options.skipNulls === 'boolean' ? options.skipNulls : internals.skipNulls;
|
@@ -104,27 +87,22 @@ module.exports = function (obj, options) {
|
|
104
87
|
if (typeof options.filter === 'function') {
|
105
88
|
filter = options.filter;
|
106
89
|
obj = filter('', obj);
|
107
|
-
}
|
108
|
-
else if (Array.isArray(options.filter)) {
|
90
|
+
} else if (Array.isArray(options.filter)) {
|
109
91
|
objKeys = filter = options.filter;
|
110
92
|
}
|
111
93
|
|
112
94
|
var keys = [];
|
113
95
|
|
114
|
-
if (typeof obj !== 'object' ||
|
115
|
-
obj === null) {
|
116
|
-
|
96
|
+
if (typeof obj !== 'object' || obj === null) {
|
117
97
|
return '';
|
118
98
|
}
|
119
99
|
|
120
100
|
var arrayFormat;
|
121
101
|
if (options.arrayFormat in internals.arrayPrefixGenerators) {
|
122
102
|
arrayFormat = options.arrayFormat;
|
123
|
-
}
|
124
|
-
else if ('indices' in options) {
|
103
|
+
} else if ('indices' in options) {
|
125
104
|
arrayFormat = options.indices ? 'indices' : 'repeat';
|
126
|
-
}
|
127
|
-
else {
|
105
|
+
} else {
|
128
106
|
arrayFormat = 'indices';
|
129
107
|
}
|
130
108
|
|
@@ -138,12 +116,10 @@ module.exports = function (obj, options) {
|
|
138
116
|
objKeys.sort(sort);
|
139
117
|
}
|
140
118
|
|
141
|
-
for (var i = 0
|
119
|
+
for (var i = 0; i < objKeys.length; ++i) {
|
142
120
|
var key = objKeys[i];
|
143
121
|
|
144
|
-
if (skipNulls &&
|
145
|
-
obj[key] === null) {
|
146
|
-
|
122
|
+
if (skipNulls && obj[key] === null) {
|
147
123
|
continue;
|
148
124
|
}
|
149
125
|
|
@@ -1,21 +1,18 @@
|
|
1
|
-
|
1
|
+
'use strict';
|
2
2
|
|
3
|
+
var hexTable = (function () {
|
4
|
+
var array = new Array(256);
|
5
|
+
for (var i = 0; i < 256; ++i) {
|
6
|
+
array[i] = '%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase();
|
7
|
+
}
|
3
8
|
|
4
|
-
|
5
|
-
|
6
|
-
var internals = {};
|
7
|
-
internals.hexTable = new Array(256);
|
8
|
-
for (var h = 0; h < 256; ++h) {
|
9
|
-
internals.hexTable[h] = '%' + ((h < 16 ? '0' : '') + h.toString(16)).toUpperCase();
|
10
|
-
}
|
11
|
-
|
9
|
+
return array;
|
10
|
+
}());
|
12
11
|
|
13
12
|
exports.arrayToObject = function (source, options) {
|
14
|
-
|
15
13
|
var obj = options.plainObjects ? Object.create(null) : {};
|
16
|
-
for (var i = 0
|
14
|
+
for (var i = 0; i < source.length; ++i) {
|
17
15
|
if (typeof source[i] !== 'undefined') {
|
18
|
-
|
19
16
|
obj[i] = source[i];
|
20
17
|
}
|
21
18
|
}
|
@@ -23,9 +20,7 @@ exports.arrayToObject = function (source, options) {
|
|
23
20
|
return obj;
|
24
21
|
};
|
25
22
|
|
26
|
-
|
27
23
|
exports.merge = function (target, source, options) {
|
28
|
-
|
29
24
|
if (!source) {
|
30
25
|
return target;
|
31
26
|
}
|
@@ -33,47 +28,37 @@ exports.merge = function (target, source, options) {
|
|
33
28
|
if (typeof source !== 'object') {
|
34
29
|
if (Array.isArray(target)) {
|
35
30
|
target.push(source);
|
36
|
-
}
|
37
|
-
else if (typeof target === 'object') {
|
31
|
+
} else if (typeof target === 'object') {
|
38
32
|
target[source] = true;
|
39
|
-
}
|
40
|
-
|
41
|
-
target = [target, source];
|
33
|
+
} else {
|
34
|
+
return [target, source];
|
42
35
|
}
|
43
36
|
|
44
37
|
return target;
|
45
38
|
}
|
46
39
|
|
47
40
|
if (typeof target !== 'object') {
|
48
|
-
|
49
|
-
return target;
|
41
|
+
return [target].concat(source);
|
50
42
|
}
|
51
43
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
target = exports.arrayToObject(target, options);
|
44
|
+
var mergeTarget = target;
|
45
|
+
if (Array.isArray(target) && !Array.isArray(source)) {
|
46
|
+
mergeTarget = exports.arrayToObject(target, options);
|
56
47
|
}
|
57
48
|
|
58
|
-
|
59
|
-
for (var k = 0, kl = keys.length; k < kl; ++k) {
|
60
|
-
var key = keys[k];
|
49
|
+
return Object.keys(source).reduce(function (acc, key) {
|
61
50
|
var value = source[key];
|
62
51
|
|
63
|
-
if (
|
64
|
-
|
65
|
-
}
|
66
|
-
|
67
|
-
target[key] = exports.merge(target[key], value, options);
|
52
|
+
if (Object.prototype.hasOwnProperty.call(acc, key)) {
|
53
|
+
acc[key] = exports.merge(acc[key], value, options);
|
54
|
+
} else {
|
55
|
+
acc[key] = value;
|
68
56
|
}
|
69
|
-
|
70
|
-
|
71
|
-
return target;
|
57
|
+
return acc;
|
58
|
+
}, mergeTarget);
|
72
59
|
};
|
73
60
|
|
74
|
-
|
75
61
|
exports.decode = function (str) {
|
76
|
-
|
77
62
|
try {
|
78
63
|
return decodeURIComponent(str.replace(/\+/g, ' '));
|
79
64
|
} catch (e) {
|
@@ -82,65 +67,60 @@ exports.decode = function (str) {
|
|
82
67
|
};
|
83
68
|
|
84
69
|
exports.encode = function (str) {
|
85
|
-
|
86
70
|
// This code was originally written by Brian White (mscdex) for the io.js core querystring library.
|
87
71
|
// It has been adapted here for stricter adherence to RFC 3986
|
88
72
|
if (str.length === 0) {
|
89
73
|
return str;
|
90
74
|
}
|
91
75
|
|
92
|
-
|
93
|
-
str = '' + str;
|
94
|
-
}
|
76
|
+
var string = typeof str === 'string' ? str : String(str);
|
95
77
|
|
96
78
|
var out = '';
|
97
|
-
for (var i = 0
|
98
|
-
var c =
|
79
|
+
for (var i = 0; i < string.length; ++i) {
|
80
|
+
var c = string.charCodeAt(i);
|
99
81
|
|
100
|
-
if (
|
82
|
+
if (
|
83
|
+
c === 0x2D || // -
|
101
84
|
c === 0x2E || // .
|
102
85
|
c === 0x5F || // _
|
103
86
|
c === 0x7E || // ~
|
104
87
|
(c >= 0x30 && c <= 0x39) || // 0-9
|
105
88
|
(c >= 0x41 && c <= 0x5A) || // a-z
|
106
|
-
(c >= 0x61 && c <= 0x7A)
|
107
|
-
|
108
|
-
out +=
|
89
|
+
(c >= 0x61 && c <= 0x7A) // A-Z
|
90
|
+
) {
|
91
|
+
out += string.charAt(i);
|
109
92
|
continue;
|
110
93
|
}
|
111
94
|
|
112
95
|
if (c < 0x80) {
|
113
|
-
out
|
96
|
+
out = out + hexTable[c];
|
114
97
|
continue;
|
115
98
|
}
|
116
99
|
|
117
100
|
if (c < 0x800) {
|
118
|
-
out
|
101
|
+
out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
|
119
102
|
continue;
|
120
103
|
}
|
121
104
|
|
122
105
|
if (c < 0xD800 || c >= 0xE000) {
|
123
|
-
out
|
106
|
+
out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
|
124
107
|
continue;
|
125
108
|
}
|
126
109
|
|
127
|
-
|
128
|
-
c = 0x10000 + (((c & 0x3FF) << 10) | (
|
129
|
-
out +=
|
110
|
+
i += 1;
|
111
|
+
c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
|
112
|
+
out += (hexTable[0xF0 | (c >> 18)] + hexTable[0x80 | ((c >> 12) & 0x3F)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
|
130
113
|
}
|
131
114
|
|
132
115
|
return out;
|
133
116
|
};
|
134
117
|
|
135
|
-
exports.compact = function (obj,
|
136
|
-
|
137
|
-
if (typeof obj !== 'object' ||
|
138
|
-
obj === null) {
|
139
|
-
|
118
|
+
exports.compact = function (obj, references) {
|
119
|
+
if (typeof obj !== 'object' || obj === null) {
|
140
120
|
return obj;
|
141
121
|
}
|
142
122
|
|
143
|
-
refs =
|
123
|
+
var refs = references || [];
|
144
124
|
var lookup = refs.indexOf(obj);
|
145
125
|
if (lookup !== -1) {
|
146
126
|
return refs[lookup];
|
@@ -151,7 +131,7 @@ exports.compact = function (obj, refs) {
|
|
151
131
|
if (Array.isArray(obj)) {
|
152
132
|
var compacted = [];
|
153
133
|
|
154
|
-
for (var i = 0
|
134
|
+
for (var i = 0; i < obj.length; ++i) {
|
155
135
|
if (typeof obj[i] !== 'undefined') {
|
156
136
|
compacted.push(obj[i]);
|
157
137
|
}
|
@@ -161,30 +141,22 @@ exports.compact = function (obj, refs) {
|
|
161
141
|
}
|
162
142
|
|
163
143
|
var keys = Object.keys(obj);
|
164
|
-
for (
|
165
|
-
var key = keys[
|
144
|
+
for (var j = 0; j < keys.length; ++j) {
|
145
|
+
var key = keys[j];
|
166
146
|
obj[key] = exports.compact(obj[key], refs);
|
167
147
|
}
|
168
148
|
|
169
149
|
return obj;
|
170
150
|
};
|
171
151
|
|
172
|
-
|
173
152
|
exports.isRegExp = function (obj) {
|
174
|
-
|
175
153
|
return Object.prototype.toString.call(obj) === '[object RegExp]';
|
176
154
|
};
|
177
155
|
|
178
|
-
|
179
156
|
exports.isBuffer = function (obj) {
|
180
|
-
|
181
|
-
if (obj === null ||
|
182
|
-
typeof obj === 'undefined') {
|
183
|
-
|
157
|
+
if (obj === null || typeof obj === 'undefined') {
|
184
158
|
return false;
|
185
159
|
}
|
186
160
|
|
187
|
-
return !!(obj.constructor &&
|
188
|
-
obj.constructor.isBuffer &&
|
189
|
-
obj.constructor.isBuffer(obj));
|
161
|
+
return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
|
190
162
|
};
|