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
@@ -14,6 +14,7 @@
|
|
14
14
|
],
|
15
15
|
"_resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz",
|
16
16
|
"_shasum": "e1080e0658e300b06294990cc70e1502235fd550",
|
17
|
+
"_shrinkwrap": null,
|
17
18
|
"bugs": {
|
18
19
|
"url": "https://github.com/davepacheco/node-extsprintf/issues"
|
19
20
|
},
|
@@ -28,7 +29,7 @@
|
|
28
29
|
"engines": [
|
29
30
|
"node >=0.6.0"
|
30
31
|
],
|
31
|
-
"homepage": "https://github.com/davepacheco/node-extsprintf",
|
32
|
+
"homepage": "https://github.com/davepacheco/node-extsprintf#readme",
|
32
33
|
"main": "./lib/extsprintf.js",
|
33
34
|
"maintainers": [
|
34
35
|
{
|
@@ -38,7 +39,8 @@
|
|
38
39
|
],
|
39
40
|
"name": "extsprintf",
|
40
41
|
"optionalDependencies": {},
|
41
|
-
"readme": "
|
42
|
+
"readme": "# extsprintf: extended POSIX-style sprintf\n\nStripped down version of s[n]printf(3c). We make a best effort to throw an\nexception when given a format string we don't understand, rather than ignoring\nit, so that we won't break existing programs if/when we go implement the rest\nof this.\n\nThis implementation currently supports specifying\n\n* field alignment ('-' flag),\n* zero-pad ('0' flag)\n* always show numeric sign ('+' flag),\n* field width\n* conversions for strings, decimal integers, and floats (numbers).\n* argument size specifiers. These are all accepted but ignored, since\n Javascript has no notion of the physical size of an argument.\n\nEverything else is currently unsupported, most notably: precision, unsigned\nnumbers, non-decimal numbers, and characters.\n\nBesides the usual POSIX conversions, this implementation supports:\n\n* `%j`: pretty-print a JSON object (using node's \"inspect\")\n* `%r`: pretty-print an Error object\n\n# Example\n\nFirst, install it:\n\n # npm install extsprintf\n\nNow, use it:\n\n var mod_extsprintf = require('extsprintf');\n console.log(mod_extsprintf.sprintf('hello %25s', 'world'));\n\noutputs:\n\n hello world\n",
|
43
|
+
"readmeFilename": "README.md",
|
42
44
|
"repository": {
|
43
45
|
"type": "git",
|
44
46
|
"url": "git://github.com/davepacheco/node-extsprintf.git"
|
@@ -14,6 +14,7 @@
|
|
14
14
|
],
|
15
15
|
"_resolved": "https://registry.npmjs.org/fstream-ignore/-/fstream-ignore-1.0.3.tgz",
|
16
16
|
"_shasum": "4c74d91fa88b22b42f4f86a18a2820dd79d8fcdd",
|
17
|
+
"_shrinkwrap": null,
|
17
18
|
"author": {
|
18
19
|
"email": "i@izs.me",
|
19
20
|
"name": "Isaac Z. Schlueter",
|
@@ -54,7 +55,8 @@
|
|
54
55
|
],
|
55
56
|
"name": "fstream-ignore",
|
56
57
|
"optionalDependencies": {},
|
57
|
-
"readme": "
|
58
|
+
"readme": "# fstream-ignore\n\nA fstream DirReader that filters out files that match globs in `.ignore`\nfiles throughout the tree, like how git ignores files based on a\n`.gitignore` file.\n\nHere's an example:\n\n```javascript\nvar Ignore = require(\"fstream-ignore\")\nIgnore({ path: __dirname\n , ignoreFiles: [\".ignore\", \".gitignore\"]\n })\n .on(\"child\", function (c) {\n console.error(c.path.substr(c.root.path.length + 1))\n })\n .pipe(tar.Pack())\n .pipe(fs.createWriteStream(\"foo.tar\"))\n```\n\nThis will tar up the files in __dirname into `foo.tar`, ignoring\nanything matched by the globs in any .iginore or .gitignore file.\n",
|
59
|
+
"readmeFilename": "README.md",
|
58
60
|
"repository": {
|
59
61
|
"type": "git",
|
60
62
|
"url": "git://github.com/isaacs/fstream-ignore.git"
|
@@ -1,19 +1,20 @@
|
|
1
1
|
{
|
2
|
-
"_from": "gauge@~1.2.
|
3
|
-
"_id": "gauge@1.2.
|
2
|
+
"_from": "gauge@~1.2.5",
|
3
|
+
"_id": "gauge@1.2.5",
|
4
4
|
"_location": "/gauge",
|
5
|
-
"_nodeVersion": "
|
5
|
+
"_nodeVersion": "5.4.0",
|
6
6
|
"_npmUser": {
|
7
7
|
"email": "me@re-becca.org",
|
8
8
|
"name": "iarna"
|
9
9
|
},
|
10
|
-
"_npmVersion": "3.
|
10
|
+
"_npmVersion": "3.6.0",
|
11
11
|
"_phantomChildren": {},
|
12
12
|
"_requiredBy": [
|
13
13
|
"/npmlog"
|
14
14
|
],
|
15
|
-
"_resolved": "https://registry.npmjs.org/gauge/-/gauge-1.2.
|
16
|
-
"_shasum": "
|
15
|
+
"_resolved": "https://registry.npmjs.org/gauge/-/gauge-1.2.5.tgz",
|
16
|
+
"_shasum": "b80f107dd1f7d3c5a85f5aa74f9e0124caac9da7",
|
17
|
+
"_shrinkwrap": null,
|
17
18
|
"author": {
|
18
19
|
"email": "me@re-becca.org",
|
19
20
|
"name": "Rebecca Turner"
|
@@ -23,7 +24,7 @@
|
|
23
24
|
},
|
24
25
|
"dependencies": {
|
25
26
|
"ansi": "^0.3.0",
|
26
|
-
"has-unicode": "^
|
27
|
+
"has-unicode": "^2.0.0",
|
27
28
|
"lodash.pad": "^3.0.0",
|
28
29
|
"lodash.padleft": "^3.0.0",
|
29
30
|
"lodash.padright": "^3.0.0"
|
@@ -34,10 +35,10 @@
|
|
34
35
|
},
|
35
36
|
"directories": {},
|
36
37
|
"dist": {
|
37
|
-
"shasum": "
|
38
|
-
"tarball": "http://registry.npmjs.org/gauge/-/gauge-1.2.
|
38
|
+
"shasum": "b80f107dd1f7d3c5a85f5aa74f9e0124caac9da7",
|
39
|
+
"tarball": "http://registry.npmjs.org/gauge/-/gauge-1.2.5.tgz"
|
39
40
|
},
|
40
|
-
"gitHead": "
|
41
|
+
"gitHead": "bd0bb377d121e17d343bba156dd92fe6a8b21581",
|
41
42
|
"homepage": "https://github.com/iarna/gauge",
|
42
43
|
"keywords": [
|
43
44
|
"gauge",
|
@@ -54,7 +55,8 @@
|
|
54
55
|
],
|
55
56
|
"name": "gauge",
|
56
57
|
"optionalDependencies": {},
|
57
|
-
"readme": "
|
58
|
+
"readme": "gauge\n=====\n\nA nearly stateless terminal based horizontal guage / progress bar.\n\n```javascript\nvar Gauge = require(\"gauge\")\n\nvar gauge = new Gauge()\n\ngauge.show(\"test\", 0.20)\n\ngauge.pulse(\"this\")\n\ngauge.hide()\n```\n\n![](example.png)\n\n\n### `var gauge = new Gauge([options], [ansiStream])`\n\n* **options** – *(optional)* An option object. (See [below] for details.)\n* **ansiStream** – *(optional)* A stream that's been blessed by the [ansi]\n module to include various commands for controlling the cursor in a terminal.\n\n[ansi]: https://www.npmjs.com/package/ansi\n[below]: #theme-objects\n\nConstructs a new gauge. Gauges are drawn on a single line, and are not drawn\nif the current terminal isn't a tty.\n\nIf you resize your terminal in a way that can be detected then the gauge\nwill be drawn at the new size. As a general rule, growing your terminal will\nbe clean, but shrinking your terminal will result in cruft as we don't have\nenough information to know where what we wrote previously is now located.\n\nThe **options** object can have the following properties, all of which are\noptional:\n\n* maxUpdateFrequency: defaults to 50 msec, the gauge will not be drawn more\n than once in this period of time. This applies to `show` and `pulse`\n calls, but if you `hide` and then `show` the gauge it will draw it\n regardless of time since last draw.\n* theme: defaults to Gauge.unicode` if the terminal supports\n unicode according to [has-unicode], otherwise it defaults to `Gauge.ascii`.\n Details on the [theme object](#theme-objects) are documented elsewhere.\n* template: see [documentation elsewhere](#template-objects) for\n defaults and details.\n\n[has-unicode]: https://www.npmjs.com/package/has-unicode\n\nIf **ansiStream** isn't passed in, then one will be constructed from stderr\nwith `ansi(process.stderr)`.\n\n### `gauge.show([name, [completed]])`\n\n* **name** – *(optional)* The name of the current thing contributing to progress. Defaults to the last value used, or \"\".\n* **completed** – *(optional)* The portion completed as a value between 0 and 1. Defaults to the last value used, or 0.\n\nIf `process.stdout.isTTY` is false then this does nothing. If completed is 0\nand `gauge.pulse` has never been called, then similarly nothing will be printed.\n\nIf `maxUpdateFrequency` msec haven't passed since the last call to `show` or\n`pulse` then similarly, nothing will be printed. (Actually, the update is\ndeferred until `maxUpdateFrequency` msec have passed and if nothing else has\nhappened, the gauge update will happen.)\n\n### `gauge.hide()`\n\nRemoves the gauge from the terminal.\n\n### `gauge.pulse([name])`\n\n* **name** – *(optional)* The specific thing that triggered this pulse\n\nSpins the spinner in the gauge to show output. If **name** is included then\nit will be combined with the last name passed to `gauge.show` using the\nsubsection property of the theme (typically a right facing arrow).\n\n### `gauge.disable()`\n\nHides the gauge and ignores further calls to `show` or `pulse`.\n\n### `gauge.enable()`\n\nShows the gauge and resumes updating when `show` or `pulse` is called.\n\n### `gauge.setTheme(theme)`\n\nChange the active theme, will be displayed with the next show or pulse\n\n### `gauge.setTemplate(template)`\n\nChange the active template, will be displayed with the next show or pulse\n\n### Theme Objects\n\nThere are two theme objects available as a part of the module, `Gauge.unicode` and `Gauge.ascii`.\nTheme objects have the follow properties:\n\n| Property | Unicode | ASCII |\n| ---------- | ------- | ----- |\n| startgroup | ╢ | \\| |\n| endgroup | ╟ | \\| |\n| complete | █ | # |\n| incomplete | ░ | - |\n| spinner | ▀▐▄▌ | -\\\\\\|/ |\n| subsection | → | -> |\n\n*startgroup*, *endgroup* and *subsection* can be as many characters as you want.\n\n*complete* and *incomplete* should be a single character width each.\n\n*spinner* is a list of characters to use in turn when displaying an activity\nspinner. The Gauge will spin as many characters as you give here.\n\n### Template Objects\n\nA template is an array of objects and strings that, after being evaluated,\nwill be turned into the gauge line. The default template is:\n\n```javascript\n[\n {type: \"name\", separated: true, maxLength: 25, minLength: 25, align: \"left\"},\n {type: \"spinner\", separated: true},\n {type: \"startgroup\"},\n {type: \"completionbar\"},\n {type: \"endgroup\"}\n]\n```\n\nThe various template elements can either be **plain strings**, in which case they will\nbe be included verbatum in the output.\n\nIf the template element is an object, it can have the following keys:\n\n* *type* can be:\n * `name` – The most recent name passed to `show`; if this is in response to a\n `pulse` then the name passed to `pulse` will be appended along with the\n subsection property from the theme.\n * `spinner` – If you've ever called `pulse` this will be one of the characters\n from the spinner property of the theme.\n * `startgroup` – The `startgroup` property from the theme.\n * `completionbar` – This progress bar itself\n * `endgroup` – The `endgroup` property from the theme.\n* *separated* – If true, the element will be separated with spaces from things on\n either side (and margins count as space, so it won't be indented), but only\n if its included.\n* *maxLength* – The maximum length for this element. If its value is longer it\n will be truncated.\n* *minLength* – The minimum length for this element. If its value is shorter it\n will be padded according to the *align* value.\n* *align* – (Default: left) Possible values \"left\", \"right\" and \"center\". Works\n as you'd expect from word processors.\n* *length* – Provides a single value for both *minLength* and *maxLength*. If both\n *length* and *minLength or *maxLength* are specifed then the latter take precedence.\n\n### Tracking Completion\n\nIf you have more than one thing going on that you want to track completion\nof, you may find the related [are-we-there-yet] helpful. It's `change`\nevent can be wired up to the `show` method to get a more traditional\nprogress bar interface.\n\n[are-we-there-yet]: https://www.npmjs.com/package/are-we-there-yet\n",
|
59
|
+
"readmeFilename": "README.md",
|
58
60
|
"repository": {
|
59
61
|
"type": "git",
|
60
62
|
"url": "git+https://github.com/iarna/gauge.git"
|
@@ -62,5 +64,5 @@
|
|
62
64
|
"scripts": {
|
63
65
|
"test": "tap test/*.js"
|
64
66
|
},
|
65
|
-
"version": "1.2.
|
67
|
+
"version": "1.2.5"
|
66
68
|
}
|
@@ -36,7 +36,7 @@ var ProgressBar = module.exports = function (options, cursor) {
|
|
36
36
|
{type: "completionbar"},
|
37
37
|
{type: "endgroup"}
|
38
38
|
]
|
39
|
-
this.updatefreq = options.maxUpdateFrequency
|
39
|
+
this.updatefreq = options.maxUpdateFrequency == null ? 50 : options.maxUpdateFrequency
|
40
40
|
this.lastName = ""
|
41
41
|
this.lastCompleted = 0
|
42
42
|
this.spun = 0
|
@@ -132,13 +132,12 @@ ProgressBar.prototype.show = function(name, completed) {
|
|
132
132
|
if (!isTTY()) return
|
133
133
|
if (this.disabled) return
|
134
134
|
if (! this.spun && ! completed) return
|
135
|
-
if (this.tryAgain)
|
136
|
-
clearTimeout(this.tryAgain)
|
137
|
-
this.tryAgain = null
|
138
|
-
}
|
135
|
+
if (this.tryAgain) return
|
139
136
|
var self = this
|
137
|
+
|
140
138
|
if (this.showing && new Date() - this.last < this.updatefreq) {
|
141
139
|
this.tryAgain = setTimeout(function () {
|
140
|
+
self.tryAgain = null
|
142
141
|
if (self.disabled) return
|
143
142
|
if (! self.spun && ! completed) return
|
144
143
|
drawBar()
|
@@ -4,7 +4,7 @@ var ProgressBar = require("../progress-bar.js")
|
|
4
4
|
|
5
5
|
var cursor = []
|
6
6
|
var C
|
7
|
-
var bar = new ProgressBar({theme: ProgressBar.ascii}, C = {
|
7
|
+
var bar = new ProgressBar({theme: ProgressBar.ascii, maxUpdateFrequency: 0}, C = {
|
8
8
|
show: function () {
|
9
9
|
cursor.push(["show"])
|
10
10
|
return C
|
@@ -34,3 +34,20 @@ var fs = require('graceful-fs')
|
|
34
34
|
// now go and do stuff with it...
|
35
35
|
fs.readFileSync('some-file-or-whatever')
|
36
36
|
```
|
37
|
+
|
38
|
+
## Global Patching
|
39
|
+
|
40
|
+
If you want to patch the global fs module (or any other fs-like
|
41
|
+
module) you can do this:
|
42
|
+
|
43
|
+
```javascript
|
44
|
+
// Make sure to read the caveat below.
|
45
|
+
var realFs = require('fs')
|
46
|
+
var gracefulFs = require('graceful-fs')
|
47
|
+
gracefulFs.gracefulify(realFs)
|
48
|
+
```
|
49
|
+
|
50
|
+
This should only ever be done at the top-level application layer, in
|
51
|
+
order to delay on EMFILE errors from any fs-using dependencies. You
|
52
|
+
should **not** do this in a library, because it can cause unexpected
|
53
|
+
delays in other parts of the program.
|
@@ -33,6 +33,7 @@ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH) {
|
|
33
33
|
// retry() whenever a close happens *anywhere* in the program.
|
34
34
|
// This is essential when multiple graceful-fs instances are
|
35
35
|
// in play at the same time.
|
36
|
+
module.exports.close =
|
36
37
|
fs.close = (function (fs$close) { return function (fd, cb) {
|
37
38
|
return fs$close.call(fs, fd, function (err) {
|
38
39
|
if (!err)
|
@@ -43,6 +44,7 @@ fs.close = (function (fs$close) { return function (fd, cb) {
|
|
43
44
|
})
|
44
45
|
}})(fs.close)
|
45
46
|
|
47
|
+
module.exports.closeSync =
|
46
48
|
fs.closeSync = (function (fs$closeSync) { return function (fd) {
|
47
49
|
// Note that graceful-fs also retries when fs.closeSync() fails.
|
48
50
|
// Looks like a bug to me, although it's probably a harmless one.
|
@@ -1,19 +1,24 @@
|
|
1
1
|
{
|
2
2
|
"_from": "graceful-fs@^4.1.2",
|
3
|
-
"_id": "graceful-fs@4.1.
|
3
|
+
"_id": "graceful-fs@4.1.3",
|
4
4
|
"_location": "/graceful-fs",
|
5
|
-
"_nodeVersion": "
|
5
|
+
"_nodeVersion": "4.0.0",
|
6
|
+
"_npmOperationalInternal": {
|
7
|
+
"host": "packages-6-west.internal.npmjs.com",
|
8
|
+
"tmp": "tmp/graceful-fs-4.1.3.tgz_1454449326495_0.943017533281818"
|
9
|
+
},
|
6
10
|
"_npmUser": {
|
7
|
-
"email": "
|
11
|
+
"email": "i@izs.me",
|
8
12
|
"name": "isaacs"
|
9
13
|
},
|
10
|
-
"_npmVersion": "3.
|
14
|
+
"_npmVersion": "3.7.0",
|
11
15
|
"_phantomChildren": {},
|
12
16
|
"_requiredBy": [
|
13
17
|
"/fstream"
|
14
18
|
],
|
15
|
-
"_resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.
|
16
|
-
"_shasum": "
|
19
|
+
"_resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.3.tgz",
|
20
|
+
"_shasum": "92033ce11113c41e2628d61fdfa40bc10dc0155c",
|
21
|
+
"_shrinkwrap": null,
|
17
22
|
"bugs": {
|
18
23
|
"url": "https://github.com/isaacs/node-graceful-fs/issues"
|
19
24
|
},
|
@@ -22,14 +27,14 @@
|
|
22
27
|
"devDependencies": {
|
23
28
|
"mkdirp": "^0.5.0",
|
24
29
|
"rimraf": "^2.2.8",
|
25
|
-
"tap": "^
|
30
|
+
"tap": "^5.4.2"
|
26
31
|
},
|
27
32
|
"directories": {
|
28
33
|
"test": "test"
|
29
34
|
},
|
30
35
|
"dist": {
|
31
|
-
"shasum": "
|
32
|
-
"tarball": "http://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.
|
36
|
+
"shasum": "92033ce11113c41e2628d61fdfa40bc10dc0155c",
|
37
|
+
"tarball": "http://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.3.tgz"
|
33
38
|
},
|
34
39
|
"engines": {
|
35
40
|
"node": ">=0.4.0"
|
@@ -40,7 +45,7 @@
|
|
40
45
|
"legacy-streams.js",
|
41
46
|
"polyfills.js"
|
42
47
|
],
|
43
|
-
"gitHead": "
|
48
|
+
"gitHead": "694c56f3aed4aee62d6df169be123d3984f61b85",
|
44
49
|
"homepage": "https://github.com/isaacs/node-graceful-fs#readme",
|
45
50
|
"keywords": [
|
46
51
|
"EACCESS",
|
@@ -76,5 +81,5 @@
|
|
76
81
|
"scripts": {
|
77
82
|
"test": "node test.js | tap -"
|
78
83
|
},
|
79
|
-
"version": "4.1.
|
84
|
+
"version": "4.1.3"
|
80
85
|
}
|
@@ -52,16 +52,9 @@ har-validator --schema request request.json
|
|
52
52
|
a full [HAR](http://www.softwareishard.com/blog/har-12-spec/) object
|
53
53
|
|
54
54
|
```js
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
validate(HAR)
|
59
|
-
.then(function (HAR) {
|
60
|
-
console.log('horray!')
|
61
|
-
})
|
62
|
-
.catch(function (error) {
|
63
|
-
console.error(error)
|
64
|
-
})
|
55
|
+
validate(data)
|
56
|
+
.then(data => console.log('horray!'))
|
57
|
+
.catch(console.error)
|
65
58
|
```
|
66
59
|
|
67
60
|
### Validate.log(data)
|
@@ -72,14 +65,9 @@ validate(HAR)
|
|
72
65
|
a [log](http://www.softwareishard.com/blog/har-12-spec/#log) object
|
73
66
|
|
74
67
|
```js
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
console.log('horray!')
|
79
|
-
})
|
80
|
-
.catch(function (error) {
|
81
|
-
console.error(error)
|
82
|
-
})
|
68
|
+
validate.log(data)
|
69
|
+
.then(data => console.log('horray!'))
|
70
|
+
.catch(console.error)
|
83
71
|
```
|
84
72
|
|
85
73
|
### Validate.cache(data)
|
@@ -90,14 +78,9 @@ validate.log(data.then(function (HAR) {
|
|
90
78
|
a [cache](http://www.softwareishard.com/blog/har-12-spec/#cache) object
|
91
79
|
|
92
80
|
```js
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
console.log('horray!')
|
97
|
-
})
|
98
|
-
.catch(function (error) {
|
99
|
-
console.error(error)
|
100
|
-
})
|
81
|
+
validate.cache(data)
|
82
|
+
.then(data => console.log('horray!'))
|
83
|
+
.catch(console.error)
|
101
84
|
```
|
102
85
|
|
103
86
|
### Validate.cacheEntry(data)
|
@@ -108,14 +91,9 @@ validate.cache(data.then(function (HAR) {
|
|
108
91
|
a ["beforeRequest" or "afterRequest"](http://www.softwareishard.com/blog/har-12-spec/#cache) objects
|
109
92
|
|
110
93
|
```js
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
console.log('horray!')
|
115
|
-
})
|
116
|
-
.catch(function (error) {
|
117
|
-
console.error(error)
|
118
|
-
})
|
94
|
+
validate.cacheEntry(data)
|
95
|
+
.then(data => console.log('horray!'))
|
96
|
+
.catch(console.error)
|
119
97
|
```
|
120
98
|
|
121
99
|
### Validate.content(data)
|
@@ -126,14 +104,9 @@ validate.cacheEntry(data.then(function (HAR) {
|
|
126
104
|
a [content](http://www.softwareishard.com/blog/har-12-spec/#content) object
|
127
105
|
|
128
106
|
```js
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
console.log('horray!')
|
133
|
-
})
|
134
|
-
.catch(function (error) {
|
135
|
-
console.error(error)
|
136
|
-
})
|
107
|
+
validate.content(data)
|
108
|
+
.then(data => console.log('horray!'))
|
109
|
+
.catch(console.error)
|
137
110
|
```
|
138
111
|
|
139
112
|
### Validate.cookie(data)
|
@@ -144,14 +117,9 @@ validate.content(data.then(function (HAR) {
|
|
144
117
|
a [cookie](http://www.softwareishard.com/blog/har-12-spec/#cookies) object
|
145
118
|
|
146
119
|
```js
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
console.log('horray!')
|
151
|
-
})
|
152
|
-
.catch(function (error) {
|
153
|
-
console.error(error)
|
154
|
-
})
|
120
|
+
validate.cookie(data)
|
121
|
+
.then(data => console.log('horray!'))
|
122
|
+
.catch(console.error)
|
155
123
|
```
|
156
124
|
|
157
125
|
### Validate.creator(data)
|
@@ -162,14 +130,9 @@ validate.cookie(data.then(function (HAR) {
|
|
162
130
|
a [creator](http://www.softwareishard.com/blog/har-12-spec/#creator) object
|
163
131
|
|
164
132
|
```js
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
console.log('horray!')
|
169
|
-
})
|
170
|
-
.catch(function (error) {
|
171
|
-
console.error(error)
|
172
|
-
})
|
133
|
+
validate.creator(data)
|
134
|
+
.then(data => console.log('horray!'))
|
135
|
+
.catch(console.error)
|
173
136
|
```
|
174
137
|
|
175
138
|
### Validate.entry(data)
|
@@ -180,14 +143,9 @@ validate.creator(data.then(function (HAR) {
|
|
180
143
|
an [entry](http://www.softwareishard.com/blog/har-12-spec/#entries) object
|
181
144
|
|
182
145
|
```js
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
console.log('horray!')
|
187
|
-
})
|
188
|
-
.catch(function (error) {
|
189
|
-
console.error(error)
|
190
|
-
})
|
146
|
+
validate.entry(data)
|
147
|
+
.then(data => console.log('horray!'))
|
148
|
+
.catch(console.error)
|
191
149
|
```
|
192
150
|
|
193
151
|
### Validate.log(data)
|
@@ -202,14 +160,9 @@ alias of [`Validate(data)`](#validate-data-callback-)
|
|
202
160
|
a [page](http://www.softwareishard.com/blog/har-12-spec/#pages) object
|
203
161
|
|
204
162
|
```js
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
console.log('horray!')
|
209
|
-
})
|
210
|
-
.catch(function (error) {
|
211
|
-
console.error(error)
|
212
|
-
})
|
163
|
+
validate.page(data)
|
164
|
+
.then(data => console.log('horray!'))
|
165
|
+
.catch(console.error)
|
213
166
|
```
|
214
167
|
|
215
168
|
### Validate.pageTimings(data)
|
@@ -220,14 +173,9 @@ validate.page(data.then(function (HAR) {
|
|
220
173
|
a [pageTimings](http://www.softwareishard.com/blog/har-12-spec/#pageTimings) object
|
221
174
|
|
222
175
|
```js
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
console.log('horray!')
|
227
|
-
})
|
228
|
-
.catch(function (error) {
|
229
|
-
console.error(error)
|
230
|
-
})
|
176
|
+
validate.pageTimings(data)
|
177
|
+
.then(data => console.log('horray!'))
|
178
|
+
.catch(console.error)
|
231
179
|
```
|
232
180
|
|
233
181
|
### Validate.postData(data)
|
@@ -238,14 +186,9 @@ validate.pageTimings(data.then(function (HAR) {
|
|
238
186
|
a [postData](http://www.softwareishard.com/blog/har-12-spec/#postData) object
|
239
187
|
|
240
188
|
```js
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
console.log('horray!')
|
245
|
-
})
|
246
|
-
.catch(function (error) {
|
247
|
-
console.error(error)
|
248
|
-
})
|
189
|
+
validate.postData(data)
|
190
|
+
.then(data => console.log('horray!'))
|
191
|
+
.catch(console.error)
|
249
192
|
```
|
250
193
|
|
251
194
|
### Validate.record(data)
|
@@ -256,14 +199,9 @@ validate.postData(data.then(function (HAR) {
|
|
256
199
|
a [record](http://www.softwareishard.com/blog/har-12-spec/#headers) object
|
257
200
|
|
258
201
|
```js
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
console.log('horray!')
|
263
|
-
})
|
264
|
-
.catch(function (error) {
|
265
|
-
console.error(error)
|
266
|
-
})
|
202
|
+
validate.record(data)
|
203
|
+
.then(data => console.log('horray!'))
|
204
|
+
.catch(console.error)
|
267
205
|
```
|
268
206
|
|
269
207
|
### Validate.request(data)
|
@@ -274,14 +212,9 @@ validate.record(data.then(function (HAR) {
|
|
274
212
|
a [request](http://www.softwareishard.com/blog/har-12-spec/#request) object
|
275
213
|
|
276
214
|
```js
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
console.log('horray!')
|
281
|
-
})
|
282
|
-
.catch(function (error) {
|
283
|
-
console.error(error)
|
284
|
-
})
|
215
|
+
validate.request(data)
|
216
|
+
.then(data => console.log('horray!'))
|
217
|
+
.catch(console.error)
|
285
218
|
```
|
286
219
|
|
287
220
|
### Validate.response(data)
|
@@ -292,14 +225,9 @@ validate.request(data.then(function (HAR) {
|
|
292
225
|
a [response](http://www.softwareishard.com/blog/har-12-spec/#response) object
|
293
226
|
|
294
227
|
```js
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
console.log('horray!')
|
299
|
-
})
|
300
|
-
.catch(function (error) {
|
301
|
-
console.error(error)
|
302
|
-
})
|
228
|
+
validate.cacheEntry(data)
|
229
|
+
.then(data => console.log('horray!'))
|
230
|
+
.catch(console.error)
|
303
231
|
```
|
304
232
|
|
305
233
|
### Validate.timings(data)
|
@@ -310,14 +238,9 @@ validate.cacheEntry(data.then(function (HAR) {
|
|
310
238
|
a [timings](http://www.softwareishard.com/blog/har-12-spec/#timings) object
|
311
239
|
|
312
240
|
```js
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
console.log('horray!')
|
317
|
-
})
|
318
|
-
.catch(function (error) {
|
319
|
-
console.error(error)
|
320
|
-
})
|
241
|
+
validate.timings(data)
|
242
|
+
.then(data => console.log('horray!'))
|
243
|
+
.catch(console.error)
|
321
244
|
```
|
322
245
|
|
323
246
|
----
|