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
@@ -0,0 +1,81 @@
|
|
1
|
+
.TH sshpk\-sign 1 "Jan 2016" sshpk "sshpk Commands"
|
2
|
+
.SH NAME
|
3
|
+
.PP
|
4
|
+
sshpk\-sign \- sign data using an SSH key
|
5
|
+
.SH SYNOPSYS
|
6
|
+
.PP
|
7
|
+
\fB\fCsshpk\-sign\fR \-i KEYPATH [OPTION...]
|
8
|
+
.SH DESCRIPTION
|
9
|
+
.PP
|
10
|
+
Takes in arbitrary bytes, and signs them using an SSH private key. The key can
|
11
|
+
be of any type or format supported by the \fB\fCsshpk\fR library, including the
|
12
|
+
standard OpenSSH formats, as well as PEM PKCS#1 and PKCS#8.
|
13
|
+
.PP
|
14
|
+
The signature is printed out in Base64 encoding, unless the \fB\fC\-\-binary\fR or \fB\fC\-b\fR
|
15
|
+
option is given.
|
16
|
+
.SH EXAMPLES
|
17
|
+
.PP
|
18
|
+
Signing with default settings:
|
19
|
+
.PP
|
20
|
+
.RS
|
21
|
+
.nf
|
22
|
+
$ printf 'foo' | sshpk\-sign \-i ~/.ssh/id_ecdsa
|
23
|
+
MEUCIAMdLS/vXrrtWFepwe...
|
24
|
+
.fi
|
25
|
+
.RE
|
26
|
+
.PP
|
27
|
+
Signing in SSH (RFC 4253) format (rather than the default ASN.1):
|
28
|
+
.PP
|
29
|
+
.RS
|
30
|
+
.nf
|
31
|
+
$ printf 'foo' | sshpk\-sign \-i ~/.ssh/id_ecdsa \-t ssh
|
32
|
+
AAAAFGVjZHNhLXNoYTIt...
|
33
|
+
.fi
|
34
|
+
.RE
|
35
|
+
.PP
|
36
|
+
Saving the binary signature to a file:
|
37
|
+
.PP
|
38
|
+
.RS
|
39
|
+
.nf
|
40
|
+
$ printf 'foo' | sshpk\-sign \-i ~/.ssh/id_ecdsa \\
|
41
|
+
\-o signature.bin \-b
|
42
|
+
$ cat signature.bin | base64
|
43
|
+
MEUCIAMdLS/vXrrtWFepwe...
|
44
|
+
.fi
|
45
|
+
.RE
|
46
|
+
.SH OPTIONS
|
47
|
+
.TP
|
48
|
+
\fB\fC\-v, \-\-verbose\fR
|
49
|
+
Print extra information about the key and signature to stderr when signing.
|
50
|
+
.TP
|
51
|
+
\fB\fC\-b, \-\-binary\fR
|
52
|
+
Don't base64\-encode the signature before outputting it.
|
53
|
+
.TP
|
54
|
+
\fB\fC\-i KEY, \-\-identity=KEY\fR
|
55
|
+
Select the key to be used for signing. \fB\fCKEY\fR must be a relative or absolute
|
56
|
+
filesystem path to the key file. Any format supported by the \fB\fCsshpk\fR library
|
57
|
+
is supported, including OpenSSH formats and standard PEM PKCS.
|
58
|
+
.TP
|
59
|
+
\fB\fC\-f PATH, \-\-file=PATH\fR
|
60
|
+
Input file to sign instead of stdin.
|
61
|
+
.TP
|
62
|
+
\fB\fC\-o PATH, \-\-out=PATH\fR
|
63
|
+
Output file to save signature in instead of stdout.
|
64
|
+
.TP
|
65
|
+
\fB\fC\-H HASH, \-\-hash=HASH\fR
|
66
|
+
Set the hash algorithm to be used for signing. This should be one of \fB\fCsha1\fR,
|
67
|
+
\fB\fCsha256\fR or \fB\fCsha512\fR\&. Some key types may place restrictions on which hash
|
68
|
+
algorithms may be used (e.g. ED25519 keys can only use SHA\-512).
|
69
|
+
.TP
|
70
|
+
\fB\fC\-t FORMAT, \-\-format=FORMAT\fR
|
71
|
+
Choose the signature format to use, from \fB\fCasn1\fR, \fB\fCssh\fR or \fB\fCraw\fR (only for
|
72
|
+
ED25519 signatures). The \fB\fCasn1\fR format is the default, as it is the format
|
73
|
+
used with TLS and typically the standard in most non\-SSH libraries (e.g.
|
74
|
+
OpenSSL). The \fB\fCssh\fR format is used in the SSH protocol and by the ssh\-agent.
|
75
|
+
.SH SEE ALSO
|
76
|
+
.PP
|
77
|
+
.BR sshpk-verify (1)
|
78
|
+
.SH BUGS
|
79
|
+
.PP
|
80
|
+
Report bugs at Github
|
81
|
+
\[la]https://github.com/arekinath/node-sshpk/issues\[ra]
|
@@ -0,0 +1,68 @@
|
|
1
|
+
.TH sshpk\-verify 1 "Jan 2016" sshpk "sshpk Commands"
|
2
|
+
.SH NAME
|
3
|
+
.PP
|
4
|
+
sshpk\-verify \- verify a signature on data using an SSH key
|
5
|
+
.SH SYNOPSYS
|
6
|
+
.PP
|
7
|
+
\fB\fCsshpk\-verify\fR \-i KEYPATH \-s SIGNATURE [OPTION...]
|
8
|
+
.SH DESCRIPTION
|
9
|
+
.PP
|
10
|
+
Takes in arbitrary bytes and a Base64\-encoded signature, and verifies that the
|
11
|
+
signature was produced by the private half of the given SSH public key.
|
12
|
+
.SH EXAMPLES
|
13
|
+
.PP
|
14
|
+
.RS
|
15
|
+
.nf
|
16
|
+
$ printf 'foo' | sshpk\-verify \-i ~/.ssh/id_ecdsa \-s MEUCIQCYp...
|
17
|
+
OK
|
18
|
+
$ printf 'foo' | sshpk\-verify \-i ~/.ssh/id_ecdsa \-s GARBAGE...
|
19
|
+
NOT OK
|
20
|
+
.fi
|
21
|
+
.RE
|
22
|
+
.SH EXIT STATUS
|
23
|
+
.TP
|
24
|
+
\fB\fC0\fR
|
25
|
+
Signature validates and matches the key.
|
26
|
+
.TP
|
27
|
+
\fB\fC1\fR
|
28
|
+
Signature is parseable and the correct length but does not match the key or
|
29
|
+
otherwise is invalid.
|
30
|
+
.TP
|
31
|
+
\fB\fC2\fR
|
32
|
+
The signature or key could not be parsed.
|
33
|
+
.TP
|
34
|
+
\fB\fC3\fR
|
35
|
+
Invalid commandline options were supplied.
|
36
|
+
.SH OPTIONS
|
37
|
+
.TP
|
38
|
+
\fB\fC\-v, \-\-verbose\fR
|
39
|
+
Print extra information about the key and signature to stderr when verifying.
|
40
|
+
.TP
|
41
|
+
\fB\fC\-i KEY, \-\-identity=KEY\fR
|
42
|
+
Select the key to be used for verification. \fB\fCKEY\fR must be a relative or
|
43
|
+
absolute filesystem path to the key file. Any format supported by the \fB\fCsshpk\fR
|
44
|
+
library is supported, including OpenSSH formats and standard PEM PKCS.
|
45
|
+
.TP
|
46
|
+
\fB\fC\-s BASE64, \-\-signature=BASE64\fR
|
47
|
+
Supplies the base64\-encoded signature to be verified.
|
48
|
+
.TP
|
49
|
+
\fB\fC\-f PATH, \-\-file=PATH\fR
|
50
|
+
Input file to verify instead of stdin.
|
51
|
+
.TP
|
52
|
+
\fB\fC\-H HASH, \-\-hash=HASH\fR
|
53
|
+
Set the hash algorithm to be used for signing. This should be one of \fB\fCsha1\fR,
|
54
|
+
\fB\fCsha256\fR or \fB\fCsha512\fR\&. Some key types may place restrictions on which hash
|
55
|
+
algorithms may be used (e.g. ED25519 keys can only use SHA\-512).
|
56
|
+
.TP
|
57
|
+
\fB\fC\-t FORMAT, \-\-format=FORMAT\fR
|
58
|
+
Choose the signature format to use, from \fB\fCasn1\fR, \fB\fCssh\fR or \fB\fCraw\fR (only for
|
59
|
+
ED25519 signatures). The \fB\fCasn1\fR format is the default, as it is the format
|
60
|
+
used with TLS and typically the standard in most non\-SSH libraries (e.g.
|
61
|
+
OpenSSL). The \fB\fCssh\fR format is used in the SSH protocol and by the ssh\-agent.
|
62
|
+
.SH SEE ALSO
|
63
|
+
.PP
|
64
|
+
.BR sshpk-sign (1)
|
65
|
+
.SH BUGS
|
66
|
+
.PP
|
67
|
+
Report bugs at Github
|
68
|
+
\[la]https://github.com/arekinath/node-sshpk/issues\[ra]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"_from": "sshpk@^1.7.0",
|
3
|
-
"_id": "sshpk@1.7.
|
3
|
+
"_id": "sshpk@1.7.3",
|
4
4
|
"_location": "/sshpk",
|
5
5
|
"_nodeVersion": "0.12.9",
|
6
6
|
"_npmUser": {
|
@@ -12,13 +12,16 @@
|
|
12
12
|
"_requiredBy": [
|
13
13
|
"/http-signature"
|
14
14
|
],
|
15
|
-
"_resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.7.
|
16
|
-
"_shasum": "
|
15
|
+
"_resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.7.3.tgz",
|
16
|
+
"_shasum": "caa8ef95e30765d856698b7025f9f211ab65962f",
|
17
|
+
"_shrinkwrap": null,
|
17
18
|
"author": {
|
18
19
|
"name": "Joyent, Inc"
|
19
20
|
},
|
20
21
|
"bin": {
|
21
|
-
"sshpk-conv": "bin/sshpk-conv"
|
22
|
+
"sshpk-conv": "bin/sshpk-conv",
|
23
|
+
"sshpk-sign": "bin/sshpk-sign",
|
24
|
+
"sshpk-verify": "bin/sshpk-verify"
|
22
25
|
},
|
23
26
|
"bugs": {
|
24
27
|
"url": "https://github.com/arekinath/node-sshpk/issues"
|
@@ -55,16 +58,17 @@
|
|
55
58
|
},
|
56
59
|
"directories": {
|
57
60
|
"bin": "./bin",
|
58
|
-
"lib": "./lib"
|
61
|
+
"lib": "./lib",
|
62
|
+
"man": "./man/man1"
|
59
63
|
},
|
60
64
|
"dist": {
|
61
|
-
"shasum": "
|
62
|
-
"tarball": "http://registry.npmjs.org/sshpk/-/sshpk-1.7.
|
65
|
+
"shasum": "caa8ef95e30765d856698b7025f9f211ab65962f",
|
66
|
+
"tarball": "http://registry.npmjs.org/sshpk/-/sshpk-1.7.3.tgz"
|
63
67
|
},
|
64
68
|
"engines": {
|
65
69
|
"node": ">=0.8.0"
|
66
70
|
},
|
67
|
-
"gitHead": "
|
71
|
+
"gitHead": "3d98bfc22bb1c09f0747244acbb408f3ca9448b5",
|
68
72
|
"homepage": "https://github.com/arekinath/node-sshpk#readme",
|
69
73
|
"license": "MIT",
|
70
74
|
"main": "lib/index.js",
|
@@ -74,6 +78,11 @@
|
|
74
78
|
"email": "alex@cooperi.net"
|
75
79
|
}
|
76
80
|
],
|
81
|
+
"man": [
|
82
|
+
"/Users/alex.wilson/dev/sshpk/man/man1/sshpk-conv.1",
|
83
|
+
"/Users/alex.wilson/dev/sshpk/man/man1/sshpk-sign.1",
|
84
|
+
"/Users/alex.wilson/dev/sshpk/man/man1/sshpk-verify.1"
|
85
|
+
],
|
77
86
|
"name": "sshpk",
|
78
87
|
"optionalDependencies": {
|
79
88
|
"ecc-jsbn": ">=0.0.1 <1.0.0",
|
@@ -90,5 +99,5 @@
|
|
90
99
|
"scripts": {
|
91
100
|
"test": "tape test/*.js"
|
92
101
|
},
|
93
|
-
"version": "1.7.
|
102
|
+
"version": "1.7.3"
|
94
103
|
}
|
@@ -9,11 +9,11 @@
|
|
9
9
|
"_npmVersion": "1.4.23",
|
10
10
|
"_phantomChildren": {},
|
11
11
|
"_requiredBy": [
|
12
|
-
"/readable-stream"
|
13
|
-
"/tar-pack/readable-stream"
|
12
|
+
"/readable-stream"
|
14
13
|
],
|
15
14
|
"_resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
|
16
15
|
"_shasum": "62e203bc41766c6c28c9fc84301dab1c5310fa94",
|
16
|
+
"_shrinkwrap": null,
|
17
17
|
"bugs": {
|
18
18
|
"url": "https://github.com/rvagg/string_decoder/issues"
|
19
19
|
},
|
@@ -14,6 +14,7 @@
|
|
14
14
|
],
|
15
15
|
"_resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.4.tgz",
|
16
16
|
"_shasum": "1e15fbcac97d3ee99bf2d73b4c656b082bbafb91",
|
17
|
+
"_shrinkwrap": null,
|
17
18
|
"author": {
|
18
19
|
"email": "sindresorhus@gmail.com",
|
19
20
|
"name": "Sindre Sorhus",
|
@@ -3,8 +3,8 @@
|
|
3
3
|
Package and un-package modules of some sort (in tar/gz bundles). This is mostly useful for package managers. Note that it doesn't check for or touch `package.json` so it can be used even if that's not the way you store your package info.
|
4
4
|
|
5
5
|
[![Build Status](https://img.shields.io/travis/ForbesLindesay/tar-pack/master.svg)](https://travis-ci.org/ForbesLindesay/tar-pack)
|
6
|
-
[![Dependency Status](https://img.shields.io/
|
7
|
-
[![NPM version](https://img.shields.io/npm/v/tar-pack.svg)](
|
6
|
+
[![Dependency Status](https://img.shields.io/david/ForbesLindesay/tar-pack.svg)](https://david-dm.org/ForbesLindesay/tar-pack)
|
7
|
+
[![NPM version](https://img.shields.io/npm/v/tar-pack.svg)](https://www.npmjs.com/package/tar-pack)
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
@@ -1,38 +1,36 @@
|
|
1
1
|
{
|
2
2
|
"_from": "tar-pack@~3.1.0",
|
3
|
-
"_id": "tar-pack@3.1.
|
3
|
+
"_id": "tar-pack@3.1.3",
|
4
4
|
"_location": "/tar-pack",
|
5
|
-
"_nodeVersion": "
|
6
|
-
"
|
7
|
-
"
|
8
|
-
"
|
5
|
+
"_nodeVersion": "5.5.0",
|
6
|
+
"_npmOperationalInternal": {
|
7
|
+
"host": "packages-9-west.internal.npmjs.com",
|
8
|
+
"tmp": "tmp/tar-pack-3.1.3.tgz_1454926580977_0.40208991430699825"
|
9
9
|
},
|
10
|
-
"
|
11
|
-
|
12
|
-
"
|
13
|
-
"inherits": "2.0.1",
|
14
|
-
"isarray": "0.0.1",
|
15
|
-
"process-nextick-args": "1.0.6",
|
16
|
-
"string_decoder": "0.10.31",
|
17
|
-
"util-deprecate": "1.0.2"
|
10
|
+
"_npmUser": {
|
11
|
+
"email": "snnskwtnb@gmail.com",
|
12
|
+
"name": "shinnn"
|
18
13
|
},
|
14
|
+
"_npmVersion": "3.7.1",
|
15
|
+
"_phantomChildren": {},
|
19
16
|
"_requiredBy": [
|
20
17
|
"/node-pre-gyp"
|
21
18
|
],
|
22
|
-
"_resolved": "https://registry.npmjs.org/tar-pack/-/tar-pack-3.1.
|
23
|
-
"_shasum": "
|
19
|
+
"_resolved": "https://registry.npmjs.org/tar-pack/-/tar-pack-3.1.3.tgz",
|
20
|
+
"_shasum": "611b7e62eb2f27aeda64554f7a7fb48900c7e157",
|
21
|
+
"_shrinkwrap": null,
|
24
22
|
"bugs": {
|
25
23
|
"url": "https://github.com/ForbesLindesay/tar-pack/issues"
|
26
24
|
},
|
27
25
|
"dependencies": {
|
28
|
-
"debug": "~
|
26
|
+
"debug": "~2.2.0",
|
29
27
|
"fstream": "~1.0.8",
|
30
28
|
"fstream-ignore": "~1.0.3",
|
31
|
-
"once": "~1.
|
29
|
+
"once": "~1.3.3",
|
32
30
|
"readable-stream": "~2.0.4",
|
33
|
-
"rimraf": "~2.
|
31
|
+
"rimraf": "~2.5.1",
|
34
32
|
"tar": "~2.2.1",
|
35
|
-
"uid-number": "0.0.
|
33
|
+
"uid-number": "~0.0.6"
|
36
34
|
},
|
37
35
|
"description": "Package and un-package modules of some sort (in tar/gz bundles).",
|
38
36
|
"devDependencies": {
|
@@ -42,12 +40,12 @@
|
|
42
40
|
},
|
43
41
|
"directories": {},
|
44
42
|
"dist": {
|
45
|
-
"shasum": "
|
46
|
-
"tarball": "http://registry.npmjs.org/tar-pack/-/tar-pack-3.1.
|
43
|
+
"shasum": "611b7e62eb2f27aeda64554f7a7fb48900c7e157",
|
44
|
+
"tarball": "http://registry.npmjs.org/tar-pack/-/tar-pack-3.1.3.tgz"
|
47
45
|
},
|
48
|
-
"gitHead": "
|
49
|
-
"homepage": "https://github.com/ForbesLindesay/tar-pack",
|
50
|
-
"license": "BSD",
|
46
|
+
"gitHead": "556865a6b684bbf1fb44ae1bd92aaf251f3f4a94",
|
47
|
+
"homepage": "https://github.com/ForbesLindesay/tar-pack#readme",
|
48
|
+
"license": "BSD-2-Clause",
|
51
49
|
"maintainers": [
|
52
50
|
{
|
53
51
|
"name": "es128",
|
@@ -64,7 +62,8 @@
|
|
64
62
|
],
|
65
63
|
"name": "tar-pack",
|
66
64
|
"optionalDependencies": {},
|
67
|
-
"readme": "
|
65
|
+
"readme": "# Tar Pack\n\nPackage and un-package modules of some sort (in tar/gz bundles). This is mostly useful for package managers. Note that it doesn't check for or touch `package.json` so it can be used even if that's not the way you store your package info.\n\n[![Build Status](https://img.shields.io/travis/ForbesLindesay/tar-pack/master.svg)](https://travis-ci.org/ForbesLindesay/tar-pack)\n[![Dependency Status](https://img.shields.io/david/ForbesLindesay/tar-pack.svg)](https://david-dm.org/ForbesLindesay/tar-pack)\n[![NPM version](https://img.shields.io/npm/v/tar-pack.svg)](https://www.npmjs.com/package/tar-pack)\n\n## Installation\n\n $ npm install tar-pack\n\n## API\n\n### pack(folder|packer, [options])\n\nPack the folder at `folder` into a gzipped tarball and return the tgz as a stream. Files ignored by `.gitignore` will not be in the package.\n\nYou can optionally pass a `fstream.DirReader` directly, instead of folder. For example, to create an npm package, do:\n\n```js\npack(require(\"fstream-npm\")(folder), [options])\n```\n\nOptions:\n\n - `noProprietary` (defaults to `false`) Set this to `true` to prevent any proprietary attributes being added to the tarball. These attributes are allowed by the spec, but may trip up some poorly written tarball parsers.\n - `ignoreFiles` (defaults to `['.gitignore']`) These files can specify files to be excluded from the package using the syntax of `.gitignore`. This option is ignored if you parse a `fstream.DirReader` instead of a string for folder.\n - `filter` (defaults to `entry => true`) A function that takes an entry and returns `true` if it should be included in the package and `false` if it should not. Entryies are of the form `{path, basename, dirname, type}` where (type is \"Directory\" or \"File\"). This function is ignored if you parse a `fstream.DirReader` instead of a string for folder.\n\nExample:\n\n```js\nvar write = require('fs').createWriteStream\nvar pack = require('tar-pack').pack\npack(process.cwd())\n .pipe(write(__dirname + '/package.tar.gz'))\n .on('error', function (err) {\n console.error(err.stack)\n })\n .on('close', function () {\n console.log('done')\n })\n```\n\n### unpack(folder, [options,] cb)\n\nReturn a stream that unpacks a tarball into a folder at `folder`. N.B. the output folder will be removed first if it already exists.\n\nThe callback is called with an optional error and, as its second argument, a string which is one of:\n\n - `'directory'`, indicating that the extracted package was a directory (either `.tar.gz` or `.tar`)\n - `'file'`, incating that the extracted package was just a single file (extracted to `defaultName`, see options)\n\nBasic Options:\n\n - `defaultName` (defaults to `index.js`) If the package is a single file, rather than a tarball, it will be \"extracted\" to this file name, set to `false` to disable.\n\nAdvanced Options (you probably don't need any of these):\n\n - `gid` - (defaults to `null`) the `gid` to use when writing files\n - `uid` - (defaults to `null`) the `uid` to use when writing files\n - `dmode` - (defaults to `0777`) The mode to use when creating directories\n - `fmode` - (defaults to `0666`) The mode to use when creating files\n - `unsafe` - (defaults to `false`) (on non win32 OSes it overrides `gid` and `uid` with the current processes IDs)\n\nExample:\n\n```js\nvar read = require('fs').createReadStream\nvar unpack = require('tar-pack').unpack\nread(process.cwd() + '/package.tar.gz')\n .pipe(unpack(__dirname + '/package/', function (err) {\n if (err) console.error(err.stack)\n else console.log('done')\n }))\n```\n\n## License\n\n BSD",
|
66
|
+
"readmeFilename": "README.md",
|
68
67
|
"repository": {
|
69
68
|
"type": "git",
|
70
69
|
"url": "git+https://github.com/ForbesLindesay/tar-pack.git"
|
@@ -72,5 +71,5 @@
|
|
72
71
|
"scripts": {
|
73
72
|
"test": "mocha -R list"
|
74
73
|
},
|
75
|
-
"version": "3.1.
|
74
|
+
"version": "3.1.3"
|
76
75
|
}
|
@@ -1,19 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"_from": "tweetnacl@>=0.13.0 <1.0.0",
|
3
|
-
"_id": "tweetnacl@0.13.
|
3
|
+
"_id": "tweetnacl@0.13.3",
|
4
4
|
"_location": "/tweetnacl",
|
5
|
-
"_nodeVersion": "
|
5
|
+
"_nodeVersion": "4.2.3",
|
6
6
|
"_npmUser": {
|
7
7
|
"email": "dmitry@codingrobots.com",
|
8
8
|
"name": "dchest"
|
9
9
|
},
|
10
|
-
"_npmVersion": "2.
|
10
|
+
"_npmVersion": "2.14.7",
|
11
11
|
"_phantomChildren": {},
|
12
12
|
"_requiredBy": [
|
13
13
|
"/sshpk"
|
14
14
|
],
|
15
|
-
"_resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.13.
|
16
|
-
"_shasum": "
|
15
|
+
"_resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.13.3.tgz",
|
16
|
+
"_shasum": "d628b56f3bcc3d5ae74ba9d4c1a704def5ab4b56",
|
17
|
+
"_shrinkwrap": null,
|
17
18
|
"author": {
|
18
19
|
"name": "TweetNaCl-js contributors"
|
19
20
|
},
|
@@ -39,10 +40,10 @@
|
|
39
40
|
"test": "test"
|
40
41
|
},
|
41
42
|
"dist": {
|
42
|
-
"shasum": "
|
43
|
-
"tarball": "http://registry.npmjs.org/tweetnacl/-/tweetnacl-0.13.
|
43
|
+
"shasum": "d628b56f3bcc3d5ae74ba9d4c1a704def5ab4b56",
|
44
|
+
"tarball": "http://registry.npmjs.org/tweetnacl/-/tweetnacl-0.13.3.tgz"
|
44
45
|
},
|
45
|
-
"gitHead": "
|
46
|
+
"gitHead": "2bb422cb707fba4a5ec9654688564a4fb861b068",
|
46
47
|
"homepage": "https://dchest.github.io/tweetnacl-js",
|
47
48
|
"keywords": [
|
48
49
|
"crypto",
|
@@ -58,7 +59,7 @@
|
|
58
59
|
"salsa20",
|
59
60
|
"signatures"
|
60
61
|
],
|
61
|
-
"license": "
|
62
|
+
"license": "Public domain",
|
62
63
|
"main": "nacl-fast.js",
|
63
64
|
"maintainers": [
|
64
65
|
{
|
@@ -68,7 +69,8 @@
|
|
68
69
|
],
|
69
70
|
"name": "tweetnacl",
|
70
71
|
"optionalDependencies": {},
|
71
|
-
"readme": "ERROR: No README data found!",
|
72
|
+
"readme": "TweetNaCl.js\n============\n\nPort of [TweetNaCl](http://tweetnacl.cr.yp.to) / [NaCl](http://nacl.cr.yp.to/)\nto JavaScript for modern browsers and Node.js. Public domain.\n\n[![Build Status](https://travis-ci.org/dchest/tweetnacl-js.svg?branch=master)\n](https://travis-ci.org/dchest/tweetnacl-js)\n\n[Demo](https://dchest.github.io/tweetnacl-js/)\n\n**:warning: Beta version. The library is stable and API is frozen, however\nit has not been independently reviewed. If you can help reviewing it, please\n[contact me](mailto:dmitry@codingrobots.com).**\n\nDocumentation\n=============\n\n* [Overview](#overview)\n* [Installation](#installation)\n* [Usage](#usage)\n * [Public-key authenticated encryption (box)](#public-key-authenticated-encryption-box)\n * [Secret-key authenticated encryption (secretbox)](#secret-key-authenticated-encryption-secretbox)\n * [Scalar multiplication](#scalar-multiplication)\n * [Signatures](#signatures)\n * [Hashing](#hashing)\n * [Random bytes generation](#random-bytes-generation)\n * [Constant-time comparison](#constant-time-comparison)\n * [Utilities](#utilities)\n* [Examples](#examples)\n* [System requirements](#system-requirements)\n* [Development and testing](#development-and-testing)\n* [Contributors](#contributors)\n* [Who uses it](#who-uses-it)\n\n\nOverview\n--------\n\nThe primary goal of this project is to produce a translation of TweetNaCl to\nJavaScript which is as close as possible to the original C implementation, plus\na thin layer of idiomatic high-level API on top of it.\n\nThere are two versions, you can use either of them:\n\n* `nacl.js` is the port of TweetNaCl with minimum differences from the\n original + high-level API.\n\n* `nacl-fast.js` is like `nacl.js`, but with some functions replaced with\n faster versions.\n\n\nInstallation\n------------\n\nYou can install TweetNaCl.js via a package manager:\n\n[Bower](http://bower.io):\n\n $ bower install tweetnacl\n\n[NPM](https://www.npmjs.org/):\n\n $ npm install tweetnacl\n\nor [download source code](https://github.com/dchest/tweetnacl-js/releases).\n\n\nUsage\n------\n\nAll API functions accept and return bytes as `Uint8Array`s. If you need to\nencode or decode strings, use functions from `nacl.util` namespace.\n\n### Public-key authenticated encryption (box)\n\nImplements *curve25519-xsalsa20-poly1305*.\n\n#### nacl.box.keyPair()\n\nGenerates a new random key pair for box and returns it as an object with\n`publicKey` and `secretKey` members:\n\n {\n publicKey: ..., // Uint8Array with 32-byte public key\n secretKey: ... // Uint8Array with 32-byte secret key\n }\n\n\n#### nacl.box.keyPair.fromSecretKey(secretKey)\n\nReturns a key pair for box with public key corresponding to the given secret\nkey.\n\n#### nacl.box(message, nonce, theirPublicKey, mySecretKey)\n\nEncrypt and authenticates message using peer's public key, our secret key, and\nthe given nonce, which must be unique for each distinct message for a key pair.\n\nReturns an encrypted and authenticated message, which is\n`nacl.box.overheadLength` longer than the original message.\n\n#### nacl.box.open(box, nonce, theirPublicKey, mySecretKey)\n\nAuthenticates and decrypts the given box with peer's public key, our secret\nkey, and the given nonce.\n\nReturns the original message, or `false` if authentication fails.\n\n#### nacl.box.before(theirPublicKey, mySecretKey)\n\nReturns a precomputed shared key which can be used in `nacl.box.after` and\n`nacl.box.open.after`.\n\n#### nacl.box.after(message, nonce, sharedKey)\n\nSame as `nacl.box`, but uses a shared key precomputed with `nacl.box.before`.\n\n#### nacl.box.open.after(box, nonce, sharedKey)\n\nSame as `nacl.box.open`, but uses a shared key precomputed with `nacl.box.before`.\n\n#### nacl.box.publicKeyLength = 32\n\nLength of public key in bytes.\n\n#### nacl.box.secretKeyLength = 32\n\nLength of secret key in bytes.\n\n#### nacl.box.sharedKeyLength = 32\n\nLength of precomputed shared key in bytes.\n\n#### nacl.box.nonceLength = 24\n\nLength of nonce in bytes.\n\n#### nacl.box.overheadLength = 16\n\nLength of overhead added to box compared to original message.\n\n\n### Secret-key authenticated encryption (secretbox)\n\nImplements *xsalsa20-poly1305*.\n\n#### nacl.secretbox(message, nonce, key)\n\nEncrypt and authenticates message using the key and the nonce. The nonce must\nbe unique for each distinct message for this key.\n\nReturns an encrypted and authenticated message, which is\n`nacl.secretbox.overheadLength` longer than the original message.\n\n#### nacl.secretbox.open(box, nonce, key)\n\nAuthenticates and decrypts the given secret box using the key and the nonce.\n\nReturns the original message, or `false` if authentication fails.\n\n#### nacl.secretbox.keyLength = 32\n\nLength of key in bytes.\n\n#### nacl.secretbox.nonceLength = 24\n\nLength of nonce in bytes.\n\n#### nacl.secretbox.overheadLength = 16\n\nLength of overhead added to secret box compared to original message.\n\n\n### Scalar multiplication\n\nImplements *curve25519*.\n\n#### nacl.scalarMult(n, p)\n\nMultiplies an integer `n` by a group element `p` and returns the resulting\ngroup element.\n\n#### nacl.scalarMult.base(n)\n\nMultiplies an integer `n` by a standard group element and returns the resulting\ngroup element.\n\n#### nacl.scalarMult.scalarLength = 32\n\nLength of scalar in bytes.\n\n#### nacl.scalarMult.groupElementLength = 32\n\nLength of group element in bytes.\n\n\n### Signatures\n\nImplements [ed25519](http://ed25519.cr.yp.to).\n\n#### nacl.sign.keyPair()\n\nGenerates new random key pair for signing and returns it as an object with\n`publicKey` and `secretKey` members:\n\n {\n publicKey: ..., // Uint8Array with 32-byte public key\n secretKey: ... // Uint8Array with 64-byte secret key\n }\n\n#### nacl.sign.keyPair.fromSecretKey(secretKey)\n\nReturns a signing key pair with public key corresponding to the given\n64-byte secret key. The secret key must have been generated by\n`nacl.sign.keyPair` or `nacl.sign.keyPair.fromSeed`.\n\n#### nacl.sign.keyPair.fromSeed(seed)\n\nReturns a new signing key pair generated deterministically from a 32-byte seed.\nThe seed must contain enough entropy to be secure. This method is not\nrecommended for general use: instead, use `nacl.sign.keyPair` to generate a new\nkey pair from a random seed.\n\n#### nacl.sign(message, secretKey)\n\nSigns the message using the secret key and returns a signed message.\n\n#### nacl.sign.open(signedMessage, publicKey)\n\nVerifies the signed message and returns the message without signature.\n\nReturns `null` if verification failed.\n\n#### nacl.sign.detached(message, secretKey)\n\nSigns the message using the secret key and returns a signature.\n\n#### nacl.sign.detached.verify(message, signature, publicKey)\n\nVerifies the signature for the message and returns `true` if verification\nsucceeded or `false` if it failed.\n\n#### nacl.sign.publicKeyLength = 32\n\nLength of signing public key in bytes.\n\n#### nacl.sign.secretKeyLength = 64\n\nLength of signing secret key in bytes.\n\n#### nacl.sign.seedLength = 32\n\nLength of seed for `nacl.sign.keyPair.fromSeed` in bytes.\n\n#### nacl.sign.signatureLength = 64\n\nLength of signature in bytes.\n\n\n### Hashing\n\nImplements *SHA-512*.\n\n#### nacl.hash(message)\n\nReturns SHA-512 hash of the message.\n\n#### nacl.hash.hashLength = 64\n\nLength of hash in bytes.\n\n\n### Random bytes generation\n\n#### nacl.randomBytes(length)\n\nReturns a `Uint8Array` of the given length containing random bytes of\ncryptographic quality.\n\n**Implementation note**\n\nTweetNaCl.js uses the following methods to generate random bytes,\ndepending on the platform it runs on:\n\n* `window.crypto.getRandomValues` (WebCrypto standard)\n* `window.msCrypto.getRandomValues` (Internet Explorer 11)\n* `crypto.randomBytes` (Node.js)\n\nNote that browsers are required to throw `QuotaExceededError` exception if\nrequested `length` is more than 65536, so do not ask for more than 65536 bytes\nin *one call* (multiple calls to get as many bytes as you like are okay:\nbrowsers can generate infinite amount of random bytes without any bad\nconsequences).\n\nIf the platform doesn't provide a suitable PRNG, the following functions,\nwhich require random numbers, will throw exception:\n\n* `nacl.randomBytes`\n* `nacl.box.keyPair`\n* `nacl.sign.keyPair`\n\nOther functions are deterministic and will continue working.\n\nIf a platform you are targeting doesn't implement secure random number\ngenerator, but you somehow have a cryptographically-strong source of entropy\n(not `Math.random`!), and you know what you are doing, you can plug it into\nTweetNaCl.js like this:\n\n nacl.setPRNG(function(x, n) {\n // ... copy n random bytes into x ...\n });\n\nNote that `nacl.setPRNG` *completely replaces* internal random byte generator\nwith the one provided.\n\n\n### Constant-time comparison\n\n#### nacl.verify(x, y)\n\nCompares `x` and `y` in constant time and returns `true` if their lengths are\nnon-zero and equal, and their contents are equal.\n\nReturns `false` if either of the arguments has zero length, or arguments have\ndifferent lengths, or their contents differ.\n\n\n### Utilities\n\nEncoding/decoding functions are provided for convenience. They are correct,\nhowever their performance and wide compatibility with uncommon runtimes is not\nsomething that is considered important compared to the simplicity and size of\nimplementation. You can use third-party libraries if you need to.\n\n#### nacl.util.decodeUTF8(string)\n\nDecodes string and returns `Uint8Array` of bytes.\n\n#### nacl.util.encodeUTF8(array)\n\nEncodes `Uint8Array` or `Array` of bytes into string.\n\n#### nacl.util.decodeBase64(string)\n\nDecodes Base-64 encoded string and returns `Uint8Array` of bytes.\n\n#### nacl.util.encodeBase64(array)\n\nEncodes `Uint8Array` or `Array` of bytes into string using Base-64 encoding.\n\n\nSystem requirements\n-------------------\n\nTweetNaCl.js supports modern browsers that have a cryptographically secure\npseudorandom number generator and typed arrays, including the latest versions\nof:\n\n* Chrome\n* Firefox\n* Safari (Mac, iOS)\n* Internet Explorer 11\n\nOther systems:\n\n* Node.js (we test on 0.10 and later)\n\n\nDevelopment and testing\n------------------------\n\nInstall NPM modules needed for development:\n\n $ npm install\n\nTo build minified versions:\n\n $ npm run build\n\nTests use minified version, so make sure to rebuild it every time you change\n`nacl.js` or `nacl-fast.js`.\n\n### Testing\n\nTo run tests in Node.js:\n\n $ npm test\n\nBy default all tests described here work on `nacl.min.js`. To test other\nversions, set environment variable `NACL_SRC` to the file name you want to test.\nFor example, the following command will test fast minified version:\n\n $ NACL_SRC=nacl-fast.min.js npm test\n\nTo run full suite of tests in Node.js, including comparing outputs of\nJavaScript port to outputs of the original C version:\n\n $ npm run testall\n\nTo prepare tests for browsers:\n\n $ npm run browser\n\nand then open `test/browser/test.html` (or `test/browser/test-fast.html`) to\nrun them.\n\nTo run headless browser tests with `testling`:\n\n $ npm run testling\n\n(If you get `Error: spawn ENOENT`, install *xvfb*: `sudo apt-get install xvfb`.)\n\n### Benchmarking\n\nTo run benchmarks in Node.js:\n\n $ npm run bench\n $ NACL_SRC=nacl-fast.min.js npm run bench\n\nTo run benchmarks in a browser, open `test/benchmark/bench.html` (or\n`test/benchmark/bench-fast.html`).\n\n\nContributors\n------------\n\nJavaScript port:\n\n * [Dmitry Chestnykh](http://github.com/dchest) (ported xsalsa20, poly1305, curve25519)\n * [Devi Mandiri](https://github.com/devi) (ported curve25519, ed25519, sha512)\n\nOriginal authors of [NaCl](http://nacl.cr.yp.to), [TweetNaCl](http://tweetnacl.cr.yp.to)\nand [Poly1305-donna](https://github.com/floodyberry/poly1305-donna)\n(who are *not* responsible for any errors in this implementation):\n\n * [Daniel J. Bernstein](http://cr.yp.to/djb.html)\n * Wesley Janssen\n * [Tanja Lange](http://hyperelliptic.org/tanja)\n * [Peter Schwabe](http://www.cryptojedi.org/users/peter/)\n * [Matthew Dempsky](https://github.com/mdempsky)\n * [Andrew Moon](https://github.com/floodyberry)\n\nContributors have dedicated their work to the public domain.\n\nThis software is distributed without any warranty.\n\n\nThird-party libraries based on TweetNaCl.js\n-------------------------------------------\n\n* [forward-secrecy](https://github.com/alax/forward-secrecy) — Axolotl ratchet implementation\n* [nacl-stream](https://github.com/dchest/nacl-stream-js) - streaming encryption\n* [tweetnacl-auth-js](https://github.com/dchest/tweetnacl-auth-js) — implementation of [`crypto_auth`](http://nacl.cr.yp.to/auth.html)\n\n\nWho uses it\n-----------\n\nSome notable users of TweetNaCl.js:\n\n* [miniLock](http://minilock.io/)\n* [Stellar](https://www.stellar.org/)\n",
|
73
|
+
"readmeFilename": "README.md",
|
72
74
|
"repository": {
|
73
75
|
"type": "git",
|
74
76
|
"url": "git+https://github.com/dchest/tweetnacl-js.git"
|
@@ -97,5 +99,5 @@
|
|
97
99
|
],
|
98
100
|
"files": "test/*.js"
|
99
101
|
},
|
100
|
-
"version": "0.13.
|
102
|
+
"version": "0.13.3"
|
101
103
|
}
|
@@ -1,21 +1,20 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
"_from": "uid-number@0.0.3",
|
5
|
-
"_id": "uid-number@0.0.3",
|
2
|
+
"_from": "uid-number@~0.0.6",
|
3
|
+
"_id": "uid-number@0.0.6",
|
6
4
|
"_location": "/uid-number",
|
7
|
-
"_nodeVersion": "
|
5
|
+
"_nodeVersion": "0.10.31",
|
8
6
|
"_npmUser": {
|
9
7
|
"email": "i@izs.me",
|
10
8
|
"name": "isaacs"
|
11
9
|
},
|
12
|
-
"_npmVersion": "
|
10
|
+
"_npmVersion": "2.1.3",
|
13
11
|
"_phantomChildren": {},
|
14
12
|
"_requiredBy": [
|
15
13
|
"/tar-pack"
|
16
14
|
],
|
17
|
-
"_resolved": "https://registry.npmjs.org/uid-number/-/uid-number-0.0.
|
18
|
-
"_shasum": "
|
15
|
+
"_resolved": "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz",
|
16
|
+
"_shasum": "0ea10e8035e8eb5b8e4449f06da1c730663baa81",
|
17
|
+
"_shrinkwrap": null,
|
19
18
|
"author": {
|
20
19
|
"email": "i@izs.me",
|
21
20
|
"name": "Isaac Z. Schlueter",
|
@@ -29,14 +28,15 @@
|
|
29
28
|
"devDependencies": {},
|
30
29
|
"directories": {},
|
31
30
|
"dist": {
|
32
|
-
"shasum": "
|
33
|
-
"tarball": "http://registry.npmjs.org/uid-number/-/uid-number-0.0.
|
31
|
+
"shasum": "0ea10e8035e8eb5b8e4449f06da1c730663baa81",
|
32
|
+
"tarball": "http://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz"
|
34
33
|
},
|
35
34
|
"engines": {
|
36
35
|
"node": "*"
|
37
36
|
},
|
37
|
+
"gitHead": "aab48f5d6bda85794946b26d945d2ee452e0e9ab",
|
38
38
|
"homepage": "https://github.com/isaacs/uid-number",
|
39
|
-
"license": "
|
39
|
+
"license": "ISC",
|
40
40
|
"main": "uid-number.js",
|
41
41
|
"maintainers": [
|
42
42
|
{
|
@@ -46,11 +46,12 @@
|
|
46
46
|
],
|
47
47
|
"name": "uid-number",
|
48
48
|
"optionalDependencies": {},
|
49
|
-
"readme": "
|
49
|
+
"readme": "Use this module to convert a username/groupname to a uid/gid number.\n\nUsage:\n\n```\nnpm install uid-number\n```\n\nThen, in your node program:\n\n```javascript\nvar uidNumber = require(\"uid-number\")\nuidNumber(\"isaacs\", function (er, uid, gid) {\n // gid is null because we didn't ask for a group name\n // uid === 24561 because that's my number.\n})\n```\n",
|
50
|
+
"readmeFilename": "README.md",
|
50
51
|
"repository": {
|
51
52
|
"type": "git",
|
52
53
|
"url": "git://github.com/isaacs/uid-number.git"
|
53
54
|
},
|
54
55
|
"scripts": {},
|
55
|
-
"version": "0.0.
|
56
|
+
"version": "0.0.6"
|
56
57
|
}
|
@@ -18,7 +18,7 @@ function uidNumber (uid, gid, cb) {
|
|
18
18
|
if (typeof cb !== "function") cb = uid, uid = null
|
19
19
|
if (gid == null) gid = process.getgid()
|
20
20
|
if (uid == null) uid = process.getuid()
|
21
|
-
if (!isNaN(gid)) gid =
|
21
|
+
if (!isNaN(gid)) gid = gidCache[gid] = +gid
|
22
22
|
if (!isNaN(uid)) uid = uidCache[uid] = +uid
|
23
23
|
|
24
24
|
if (uidCache.hasOwnProperty(uid)) uid = uidCache[uid]
|
@@ -32,8 +32,13 @@ function uidNumber (uid, gid, cb) {
|
|
32
32
|
|
33
33
|
child_process.execFile( process.execPath
|
34
34
|
, [getter, uid, gid]
|
35
|
-
, function (code, out,
|
36
|
-
if (
|
35
|
+
, function (code, out, stderr) {
|
36
|
+
if (code) {
|
37
|
+
var er = new Error("could not get uid/gid\n" + stderr)
|
38
|
+
er.code = code
|
39
|
+
return cb(er)
|
40
|
+
}
|
41
|
+
|
37
42
|
try {
|
38
43
|
out = JSON.parse(out+"")
|
39
44
|
} catch (ex) {
|
@@ -49,6 +54,6 @@ function uidNumber (uid, gid, cb) {
|
|
49
54
|
if (isNaN(out.uid) || isNaN(out.gid)) return cb(new Error(
|
50
55
|
"Could not get uid/gid: "+JSON.stringify(out)))
|
51
56
|
|
52
|
-
cb(null, uidCache[uid] = +out.uid,
|
57
|
+
cb(null, uidCache[uid] = +out.uid, gidCache[gid] = +out.gid)
|
53
58
|
})
|
54
59
|
}
|
@@ -10,11 +10,11 @@
|
|
10
10
|
"_npmVersion": "2.14.4",
|
11
11
|
"_phantomChildren": {},
|
12
12
|
"_requiredBy": [
|
13
|
-
"/readable-stream"
|
14
|
-
"/tar-pack/readable-stream"
|
13
|
+
"/readable-stream"
|
15
14
|
],
|
16
15
|
"_resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
17
16
|
"_shasum": "450d4dc9fa70de732762fbd2d4a28981419a0ccf",
|
17
|
+
"_shrinkwrap": null,
|
18
18
|
"author": {
|
19
19
|
"email": "nathan@tootallnate.net",
|
20
20
|
"name": "Nathan Rajlich",
|