fsevents 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fsevents might be problematic. Click here for more details.
- package/Readme.md +12 -13
- package/node_modules/ansi/package.json +1 -2
- package/node_modules/are-we-there-yet/package.json +1 -2
- package/node_modules/asn1/.travis.yml +4 -0
- package/node_modules/asn1/lib/ber/reader.js +27 -33
- package/node_modules/asn1/lib/ber/writer.js +10 -11
- package/node_modules/asn1/package.json +21 -19
- package/node_modules/asn1/tst/ber/reader.test.js +36 -0
- package/node_modules/asn1/tst/ber/writer.test.js +74 -0
- package/node_modules/assert-plus/package.json +1 -0
- package/node_modules/{ctype → bl/node_modules/readable-stream/node_modules/core-util-is}/LICENSE +1 -6
- package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +11 -11
- package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/package.json +17 -12
- package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/test.js +68 -0
- package/node_modules/boom/package.json +1 -1
- package/node_modules/commander/package.json +1 -1
- package/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/core-util-is/lib/util.js +11 -11
- package/node_modules/core-util-is/package.json +17 -12
- package/node_modules/core-util-is/test.js +68 -0
- package/node_modules/dashdash/README.md +508 -0
- package/node_modules/dashdash/lib/dashdash.js +813 -0
- package/node_modules/dashdash/package.json +87 -0
- package/node_modules/deep-extend/LICENSE +1 -1
- package/node_modules/deep-extend/README.md +89 -52
- package/node_modules/deep-extend/index.js +1 -90
- package/node_modules/deep-extend/lib/deep-extend.js +144 -0
- package/node_modules/deep-extend/package.json +47 -16
- package/node_modules/deep-extend/test/index.spec.js +168 -5
- package/node_modules/delegates/package.json +1 -2
- package/node_modules/ecc-jsbn/.npmignore +15 -0
- package/node_modules/ecc-jsbn/LICENSE +21 -0
- package/node_modules/ecc-jsbn/README.md +8 -0
- package/node_modules/ecc-jsbn/index.js +57 -0
- package/node_modules/ecc-jsbn/lib/LICENSE-jsbn +40 -0
- package/node_modules/ecc-jsbn/lib/ec.js +561 -0
- package/node_modules/ecc-jsbn/lib/sec.js +170 -0
- package/node_modules/ecc-jsbn/package.json +63 -0
- package/node_modules/ecc-jsbn/test.js +14 -0
- package/node_modules/extsprintf/.gitmodules +6 -0
- package/node_modules/{path-is-absolute/license → extsprintf/LICENSE} +2 -4
- package/node_modules/extsprintf/Makefile +23 -0
- package/node_modules/extsprintf/Makefile.deps +39 -0
- package/node_modules/extsprintf/Makefile.targ +285 -0
- package/node_modules/extsprintf/README.md +39 -0
- package/node_modules/extsprintf/examples/simple.js +2 -0
- package/node_modules/{ctype/tools/jsl.conf → extsprintf/jsl.node.conf} +71 -63
- package/node_modules/extsprintf/lib/extsprintf.js +166 -0
- package/node_modules/extsprintf/package.json +48 -0
- package/node_modules/fstream/package.json +1 -2
- package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/package.json +4 -22
- package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/package.json +3 -21
- package/node_modules/{brace-expansion → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion}/package.json +4 -23
- package/node_modules/fstream-ignore/node_modules/minimatch/package.json +4 -24
- package/node_modules/fstream-ignore/package.json +1 -2
- package/node_modules/gauge/package.json +1 -2
- package/node_modules/har-validator/package.json +15 -15
- package/node_modules/has-unicode/package.json +1 -2
- package/node_modules/hawk/dist/client.js +340 -0
- package/node_modules/hawk/lib/browser.js +14 -20
- package/node_modules/hawk/package.json +10 -10
- package/node_modules/hawk/test/browser.js +134 -101
- package/node_modules/hawk/test/index.js +61 -61
- package/node_modules/hawk/test/server.js +72 -84
- package/node_modules/hawk/test/uri.js +52 -63
- package/node_modules/http-signature/CHANGES.md +39 -0
- package/node_modules/http-signature/http_signing.md +16 -17
- package/node_modules/http-signature/lib/index.js +6 -4
- package/node_modules/http-signature/lib/parser.js +43 -29
- package/node_modules/http-signature/lib/signer.js +290 -74
- package/node_modules/http-signature/lib/utils.js +112 -0
- package/node_modules/http-signature/lib/verify.js +47 -15
- package/node_modules/http-signature/package.json +20 -14
- package/node_modules/is-my-json-valid/index.js +16 -14
- package/node_modules/is-my-json-valid/package.json +16 -12
- package/node_modules/is-typedarray/LICENSE.md +18 -0
- package/node_modules/is-typedarray/README.md +16 -0
- package/node_modules/is-typedarray/index.js +41 -0
- package/node_modules/is-typedarray/package.json +63 -0
- package/node_modules/is-typedarray/test.js +34 -0
- package/node_modules/jodid25519/.npmignore +11 -0
- package/node_modules/jodid25519/.travis.yml +7 -0
- package/node_modules/jodid25519/AUTHORS.md +3 -0
- package/node_modules/jodid25519/LICENSE +23 -0
- package/node_modules/jodid25519/README.md +51 -0
- package/node_modules/jodid25519/almond.0 +42 -0
- package/node_modules/jodid25519/almond.1 +13 -0
- package/node_modules/jodid25519/index.js +35 -0
- package/node_modules/jodid25519/jsdoc.json +19 -0
- package/node_modules/jodid25519/lib/core.js +481 -0
- package/node_modules/jodid25519/lib/curve255.js +221 -0
- package/node_modules/jodid25519/lib/dh.js +111 -0
- package/node_modules/jodid25519/lib/eddsa.js +573 -0
- package/node_modules/jodid25519/lib/utils.js +198 -0
- package/node_modules/jodid25519/package.json +77 -0
- package/node_modules/jsbn/.npmignore +2 -0
- package/node_modules/jsbn/LICENSE +40 -0
- package/node_modules/jsbn/README.md +175 -0
- package/node_modules/jsbn/example.html +12 -0
- package/node_modules/jsbn/example.js +3 -0
- package/node_modules/jsbn/index.js +1358 -0
- package/node_modules/jsbn/package.json +60 -0
- package/node_modules/json-schema/README.md +5 -0
- package/node_modules/json-schema/draft-00/hyper-schema +68 -0
- package/node_modules/json-schema/draft-00/json-ref +26 -0
- package/node_modules/json-schema/draft-00/links +33 -0
- package/node_modules/json-schema/draft-00/schema +155 -0
- package/node_modules/json-schema/draft-01/hyper-schema +68 -0
- package/node_modules/json-schema/draft-01/json-ref +26 -0
- package/node_modules/json-schema/draft-01/links +33 -0
- package/node_modules/json-schema/draft-01/schema +155 -0
- package/node_modules/json-schema/draft-02/hyper-schema +68 -0
- package/node_modules/json-schema/draft-02/json-ref +26 -0
- package/node_modules/json-schema/draft-02/links +35 -0
- package/node_modules/json-schema/draft-02/schema +166 -0
- package/node_modules/json-schema/draft-03/examples/address +20 -0
- package/node_modules/json-schema/draft-03/examples/calendar +53 -0
- package/node_modules/json-schema/draft-03/examples/card +105 -0
- package/node_modules/json-schema/draft-03/examples/geo +8 -0
- package/node_modules/json-schema/draft-03/examples/interfaces +23 -0
- package/node_modules/json-schema/draft-03/hyper-schema +60 -0
- package/node_modules/json-schema/draft-03/json-ref +26 -0
- package/node_modules/json-schema/draft-03/links +35 -0
- package/node_modules/json-schema/draft-03/schema +174 -0
- package/node_modules/json-schema/draft-04/hyper-schema +60 -0
- package/node_modules/json-schema/draft-04/links +41 -0
- package/node_modules/json-schema/draft-04/schema +189 -0
- package/node_modules/json-schema/draft-zyp-json-schema-03.xml +1120 -0
- package/node_modules/json-schema/draft-zyp-json-schema-04.xml +1072 -0
- package/node_modules/json-schema/lib/links.js +52 -0
- package/node_modules/json-schema/lib/validate.js +260 -0
- package/node_modules/json-schema/package.json +67 -0
- package/node_modules/json-schema/test/tests.js +95 -0
- package/node_modules/jsprim/CHANGES.md +30 -0
- package/node_modules/jsprim/LICENSE +19 -0
- package/node_modules/jsprim/README.md +228 -0
- package/node_modules/jsprim/lib/jsprim.js +478 -0
- package/node_modules/jsprim/package.json +54 -0
- package/node_modules/lodash._basetostring/package.json +1 -2
- package/node_modules/lodash._createpadding/package.json +1 -2
- package/node_modules/lodash.pad/package.json +1 -2
- package/node_modules/lodash.padleft/package.json +1 -2
- package/node_modules/lodash.padright/package.json +1 -2
- package/node_modules/lodash.repeat/package.json +1 -2
- package/node_modules/node-pre-gyp/CHANGELOG.md +8 -0
- package/node_modules/node-pre-gyp/README.md +570 -0
- package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +4 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/lib/nopt.js +2 -1
- package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/package.json +30 -37
- package/node_modules/node-pre-gyp/node_modules/nopt/package.json +37 -57
- package/node_modules/node-pre-gyp/node_modules/nopt/test/basic.js +22 -0
- package/node_modules/node-pre-gyp/package.json +17 -17
- package/node_modules/node-uuid/.npmignore +2 -0
- package/node_modules/node-uuid/README.md +12 -1
- package/node_modules/node-uuid/bower.json +1 -1
- package/node_modules/node-uuid/component.json +11 -4
- package/node_modules/node-uuid/package.json +25 -12
- package/node_modules/node-uuid/test/test.js +3 -0
- package/node_modules/node-uuid/uuid.js +70 -45
- package/node_modules/npmlog/.travis.yml +14 -0
- package/node_modules/npmlog/log.js +3 -0
- package/node_modules/npmlog/package.json +23 -20
- package/node_modules/npmlog/test/basic.js +8 -1
- package/node_modules/once/package.json +2 -3
- package/node_modules/pinkie/index.js +23 -7
- package/node_modules/pinkie/package.json +22 -15
- package/node_modules/pinkie/readme.md +17 -9
- package/node_modules/pinkie-promise/package.json +16 -14
- package/node_modules/pinkie-promise/readme.md +5 -3
- package/node_modules/rc/README.md +1 -1
- package/node_modules/rc/index.js +1 -1
- package/node_modules/rc/node_modules/minimist/package.json +1 -1
- package/node_modules/rc/package.json +12 -12
- package/node_modules/request/.eslintrc +1 -1
- package/node_modules/request/.travis.yml +4 -4
- package/node_modules/request/CHANGELOG.md +25 -0
- package/node_modules/request/README.md +12 -13
- package/node_modules/request/lib/har.js +84 -75
- package/node_modules/request/lib/redirect.js +2 -3
- package/node_modules/request/lib/tunnel.js +13 -18
- package/node_modules/request/package.json +17 -16
- package/node_modules/request/request.js +16 -59
- package/node_modules/rimraf/README.md +7 -2
- package/node_modules/{wrappy → rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy}/package.json +5 -25
- package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/package.json +5 -25
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE +16 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md +42 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js +1 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js +23 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +58 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js +25 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore +3 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +122 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +8 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +191 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +2 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml +3 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md +21 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +6 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +80 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +5 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +38 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +79 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +56 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml +4 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE +18 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +62 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +6 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +13 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +90 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +39 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +81 -0
- package/node_modules/rimraf/node_modules/{minimatch → glob/node_modules/minimatch}/package.json +3 -21
- package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +36 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +58 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +51 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +70 -0
- package/node_modules/{path-is-absolute → rimraf/node_modules/glob/node_modules/path-is-absolute}/package.json +4 -22
- package/node_modules/rimraf/node_modules/glob/package.json +2 -20
- package/node_modules/rimraf/package.json +10 -10
- package/node_modules/semver/README.md +25 -1
- package/node_modules/semver/package.json +10 -10
- package/node_modules/semver/range.bnf +16 -0
- package/node_modules/semver/semver.js +0 -12
- package/node_modules/sshpk/.npmignore +8 -0
- package/node_modules/sshpk/.travis.yml +11 -0
- package/node_modules/sshpk/LICENSE +18 -0
- package/node_modules/sshpk/README.md +436 -0
- package/node_modules/sshpk/bin/sshpk-conv +183 -0
- package/node_modules/sshpk/lib/algs.js +168 -0
- package/node_modules/sshpk/lib/dhe.js +312 -0
- package/node_modules/sshpk/lib/ed-compat.js +94 -0
- package/node_modules/sshpk/lib/errors.js +58 -0
- package/node_modules/sshpk/lib/fingerprint.js +140 -0
- package/node_modules/sshpk/lib/formats/auto.js +73 -0
- package/node_modules/sshpk/lib/formats/pem.js +152 -0
- package/node_modules/sshpk/lib/formats/pkcs1.js +320 -0
- package/node_modules/sshpk/lib/formats/pkcs8.js +510 -0
- package/node_modules/sshpk/lib/formats/rfc4253.js +145 -0
- package/node_modules/sshpk/lib/formats/ssh-private.js +138 -0
- package/node_modules/sshpk/lib/formats/ssh.js +114 -0
- package/node_modules/sshpk/lib/index.js +25 -0
- package/node_modules/sshpk/lib/key.js +260 -0
- package/node_modules/sshpk/lib/private-key.js +224 -0
- package/node_modules/sshpk/lib/signature.js +237 -0
- package/node_modules/sshpk/lib/ssh-buffer.js +123 -0
- package/node_modules/sshpk/lib/utils.js +207 -0
- package/node_modules/sshpk/node_modules/assert-plus/AUTHORS +6 -0
- package/node_modules/sshpk/node_modules/assert-plus/CHANGES.md +8 -0
- package/node_modules/sshpk/node_modules/assert-plus/README.md +155 -0
- package/node_modules/sshpk/node_modules/assert-plus/assert.js +206 -0
- package/node_modules/sshpk/node_modules/assert-plus/package.json +88 -0
- package/node_modules/sshpk/package.json +92 -0
- package/node_modules/strip-json-comments/cli.js +2 -2
- package/node_modules/strip-json-comments/package.json +13 -12
- package/node_modules/strip-json-comments/readme.md +11 -5
- package/node_modules/strip-json-comments/strip-json-comments.js +16 -7
- package/node_modules/tar/package.json +1 -2
- package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +11 -11
- package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/package.json +17 -12
- package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/test.js +68 -0
- package/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/package.json +1 -1
- package/node_modules/tar-pack/node_modules/rimraf/package.json +1 -2
- package/node_modules/tar-pack/package.json +1 -2
- package/node_modules/tough-cookie/lib/cookie.js +1 -1
- package/node_modules/tough-cookie/package.json +7 -7
- package/node_modules/tweetnacl/.npmignore +4 -0
- package/node_modules/tweetnacl/CHANGELOG.md +128 -0
- package/node_modules/tweetnacl/README.md +463 -0
- package/node_modules/tweetnacl/nacl-fast.js +2418 -0
- package/node_modules/tweetnacl/nacl-fast.min.js +2 -0
- package/node_modules/tweetnacl/nacl.js +1205 -0
- package/node_modules/tweetnacl/nacl.min.js +1 -0
- package/node_modules/tweetnacl/package.json +101 -0
- package/node_modules/uid-number/package.json +2 -3
- package/node_modules/verror/.gitmodules +0 -0
- package/node_modules/verror/LICENSE +19 -0
- package/node_modules/verror/Makefile +35 -0
- package/node_modules/verror/Makefile.targ +285 -0
- package/node_modules/verror/README.md +120 -0
- package/node_modules/verror/examples/levels-verror.js +36 -0
- package/node_modules/verror/examples/levels-werror.js +34 -0
- package/node_modules/verror/examples/varargs.js +6 -0
- package/node_modules/verror/examples/verror.js +13 -0
- package/node_modules/verror/examples/werror.js +14 -0
- package/node_modules/verror/jsl.node.conf +139 -0
- package/node_modules/verror/lib/verror.js +157 -0
- package/node_modules/verror/package.json +51 -0
- package/node_modules/verror/tests/tst.inherit.js +100 -0
- package/node_modules/verror/tests/tst.verror.js +156 -0
- package/node_modules/verror/tests/tst.werror.js +179 -0
- package/package.json +3 -3
- package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/util.js +0 -106
- package/node_modules/core-util-is/util.js +0 -106
- package/node_modules/ctype/.npmignore +0 -1
- package/node_modules/ctype/CHANGELOG +0 -78
- package/node_modules/ctype/README +0 -82
- package/node_modules/ctype/README.old +0 -298
- package/node_modules/ctype/ctf.js +0 -245
- package/node_modules/ctype/ctio.js +0 -1485
- package/node_modules/ctype/ctype.js +0 -944
- package/node_modules/ctype/man/man3ctype/ctio.3ctype +0 -241
- package/node_modules/ctype/package.json +0 -51
- package/node_modules/ctype/tools/jsstyle +0 -839
- package/node_modules/http-signature/lib/util.js +0 -306
- package/node_modules/inflight/node_modules/once/package.json +0 -86
- package/node_modules/inflight/node_modules/once/test/once.js +0 -23
- package/node_modules/rimraf/node_modules/glob/LICENSE +0 -15
- package/node_modules/rimraf/node_modules/minimatch/LICENSE +0 -15
- package/node_modules/rimraf/node_modules/once/LICENSE +0 -15
- package/node_modules/rimraf/node_modules/once/README.md +0 -51
- package/node_modules/rimraf/node_modules/once/once.js +0 -21
- package/node_modules/rimraf/node_modules/once/package.json +0 -84
- package/node_modules/rimraf/node_modules/once/test/once.js +0 -23
- package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/util.js +0 -106
- package/node_modules/wrappy/LICENSE +0 -15
- /package/node_modules/{brace-expansion → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion}/.npmignore +0 -0
- /package/node_modules/{brace-expansion → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion}/README.md +0 -0
- /package/node_modules/{brace-expansion → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion}/example.js +0 -0
- /package/node_modules/{brace-expansion → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion}/index.js +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/.npmignore +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/.travis.yml +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/LICENSE.md +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/Makefile +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/README.md +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/example.js +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/index.js +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/test/balanced.js +0 -0
- /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/.travis.yml +0 -0
- /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/LICENSE +0 -0
- /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/README.markdown +0 -0
- /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/example/map.js +0 -0
- /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/index.js +0 -0
- /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/test/map.js +0 -0
- /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/.npmignore +0 -0
- /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/.travis.yml +0 -0
- /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/CONTRIBUTING.md +0 -0
- /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/LICENSE +0 -0
- /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/README.md +0 -0
- /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/abbrev.js +0 -0
- /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/test.js +0 -0
- /package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/.eslintrc +0 -0
- /package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/LICENSE +0 -0
- /package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/README.md +0 -0
- /package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/inflight.js +0 -0
- /package/node_modules/{fstream-ignore/node_modules/minimatch → rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy}/LICENSE +0 -0
- /package/node_modules/{wrappy → rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy}/README.md +0 -0
- /package/node_modules/{wrappy → rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy}/test/basic.js +0 -0
- /package/node_modules/{wrappy → rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy}/wrappy.js +0 -0
- /package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/test.js +0 -0
- /package/node_modules/rimraf/node_modules/{minimatch → glob/node_modules/minimatch}/README.md +0 -0
- /package/node_modules/rimraf/node_modules/{minimatch → glob/node_modules/minimatch}/minimatch.js +0 -0
- /package/node_modules/{inflight → rimraf/node_modules/glob}/node_modules/once/README.md +0 -0
- /package/node_modules/{inflight/node_modules/once → rimraf/node_modules/glob/node_modules/once/node_modules/wrappy}/LICENSE +0 -0
- /package/node_modules/{inflight → rimraf/node_modules/glob}/node_modules/once/once.js +0 -0
- /package/node_modules/{path-is-absolute → rimraf/node_modules/glob/node_modules/path-is-absolute}/index.js +0 -0
- /package/node_modules/{path-is-absolute → rimraf/node_modules/glob/node_modules/path-is-absolute}/readme.md +0 -0
- /package/node_modules/{deep-extend → verror}/.npmignore +0 -0
@@ -1,19 +1,19 @@
|
|
1
1
|
{
|
2
|
-
"_from": "http-signature@~
|
3
|
-
"_id": "http-signature@
|
2
|
+
"_from": "http-signature@~1.1.0",
|
3
|
+
"_id": "http-signature@1.1.0",
|
4
4
|
"_location": "/http-signature",
|
5
|
-
"_nodeVersion": "0.
|
5
|
+
"_nodeVersion": "0.12.7",
|
6
6
|
"_npmUser": {
|
7
|
-
"email": "
|
8
|
-
"name": "
|
7
|
+
"email": "alex@cooperi.net",
|
8
|
+
"name": "arekinath"
|
9
9
|
},
|
10
|
-
"_npmVersion": "2.
|
10
|
+
"_npmVersion": "2.14.4",
|
11
11
|
"_phantomChildren": {},
|
12
12
|
"_requiredBy": [
|
13
13
|
"/request"
|
14
14
|
],
|
15
|
-
"_resolved": "https://registry.npmjs.org/http-signature/-/http-signature-
|
16
|
-
"_shasum": "
|
15
|
+
"_resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.0.tgz",
|
16
|
+
"_shasum": "5d2d7e9b6ef49980ad5b128d8e4ef09a31c90d95",
|
17
17
|
"author": {
|
18
18
|
"name": "Joyent, Inc"
|
19
19
|
},
|
@@ -35,9 +35,9 @@
|
|
35
35
|
}
|
36
36
|
],
|
37
37
|
"dependencies": {
|
38
|
-
"asn1": "0.1.11",
|
39
38
|
"assert-plus": "^0.1.5",
|
40
|
-
"
|
39
|
+
"jsprim": "^1.2.2",
|
40
|
+
"sshpk": "^1.7.0"
|
41
41
|
},
|
42
42
|
"description": "Reference implementation of Joyent's HTTP Signature scheme.",
|
43
43
|
"devDependencies": {
|
@@ -46,12 +46,14 @@
|
|
46
46
|
},
|
47
47
|
"directories": {},
|
48
48
|
"dist": {
|
49
|
-
"shasum": "
|
50
|
-
"tarball": "http://registry.npmjs.org/http-signature/-/http-signature-
|
49
|
+
"shasum": "5d2d7e9b6ef49980ad5b128d8e4ef09a31c90d95",
|
50
|
+
"tarball": "http://registry.npmjs.org/http-signature/-/http-signature-1.1.0.tgz"
|
51
51
|
},
|
52
52
|
"engines": {
|
53
|
-
"node": ">=0.8"
|
53
|
+
"node": ">=0.8",
|
54
|
+
"npm": ">=1.3.7"
|
54
55
|
},
|
56
|
+
"gitHead": "162c2f0144b0645a57517d6d91fafcde3840cde2",
|
55
57
|
"homepage": "https://github.com/joyent/node-http-signature/",
|
56
58
|
"keywords": [
|
57
59
|
"https",
|
@@ -60,6 +62,10 @@
|
|
60
62
|
"license": "MIT",
|
61
63
|
"main": "lib/index.js",
|
62
64
|
"maintainers": [
|
65
|
+
{
|
66
|
+
"name": "arekinath",
|
67
|
+
"email": "alex@cooperi.net"
|
68
|
+
},
|
63
69
|
{
|
64
70
|
"name": "mcavage",
|
65
71
|
"email": "mcavage@gmail.com"
|
@@ -79,5 +85,5 @@
|
|
79
85
|
"scripts": {
|
80
86
|
"test": "tap test/*.js"
|
81
87
|
},
|
82
|
-
"version": "
|
88
|
+
"version": "1.1.0"
|
83
89
|
}
|
@@ -190,7 +190,7 @@ var compile = function(schema, cache, root, reporter, opts) {
|
|
190
190
|
validate('for (var %s = %d; %s < %s.length; %s++) {', i, node.items.length, i, name, i)
|
191
191
|
visit(name+'['+i+']', node.additionalItems, reporter, filter)
|
192
192
|
validate('}')
|
193
|
-
}
|
193
|
+
}
|
194
194
|
}
|
195
195
|
|
196
196
|
if (node.format && fmts[node.format]) {
|
@@ -395,7 +395,7 @@ var compile = function(schema, cache, root, reporter, opts) {
|
|
395
395
|
node.anyOf.forEach(function(sch, i) {
|
396
396
|
if (i === 0) {
|
397
397
|
validate('var %s = errors', prev)
|
398
|
-
} else {
|
398
|
+
} else {
|
399
399
|
validate('if (errors !== %s) {', prev)
|
400
400
|
('errors = %s', prev)
|
401
401
|
}
|
@@ -446,7 +446,7 @@ var compile = function(schema, cache, root, reporter, opts) {
|
|
446
446
|
|
447
447
|
if (node.maxProperties !== undefined) {
|
448
448
|
if (type !== 'object') validate('if (%s) {', types.object(name))
|
449
|
-
|
449
|
+
|
450
450
|
validate('if (Object.keys(%s).length > %d) {', name, node.maxProperties)
|
451
451
|
error('has more properties than allowed')
|
452
452
|
validate('}')
|
@@ -456,7 +456,7 @@ var compile = function(schema, cache, root, reporter, opts) {
|
|
456
456
|
|
457
457
|
if (node.minProperties !== undefined) {
|
458
458
|
if (type !== 'object') validate('if (%s) {', types.object(name))
|
459
|
-
|
459
|
+
|
460
460
|
validate('if (Object.keys(%s).length < %d) {', name, node.minProperties)
|
461
461
|
error('has less properties than allowed')
|
462
462
|
validate('}')
|
@@ -466,7 +466,7 @@ var compile = function(schema, cache, root, reporter, opts) {
|
|
466
466
|
|
467
467
|
if (node.maxItems !== undefined) {
|
468
468
|
if (type !== 'array') validate('if (%s) {', types.array(name))
|
469
|
-
|
469
|
+
|
470
470
|
validate('if (%s.length > %d) {', name, node.maxItems)
|
471
471
|
error('has more items than allowed')
|
472
472
|
validate('}')
|
@@ -476,7 +476,7 @@ var compile = function(schema, cache, root, reporter, opts) {
|
|
476
476
|
|
477
477
|
if (node.minItems !== undefined) {
|
478
478
|
if (type !== 'array') validate('if (%s) {', types.array(name))
|
479
|
-
|
479
|
+
|
480
480
|
validate('if (%s.length < %d) {', name, node.minItems)
|
481
481
|
error('has less items than allowed')
|
482
482
|
validate('}')
|
@@ -543,14 +543,16 @@ var compile = function(schema, cache, root, reporter, opts) {
|
|
543
543
|
validate = validate.toFunction(scope)
|
544
544
|
validate.errors = null
|
545
545
|
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
return err
|
551
|
-
|
552
|
-
|
553
|
-
|
546
|
+
if (Object.defineProperty) {
|
547
|
+
Object.defineProperty(validate, 'error', {
|
548
|
+
get: function() {
|
549
|
+
if (!validate.errors) return ''
|
550
|
+
return validate.errors.map(function(err) {
|
551
|
+
return err.field + ' ' + err.message;
|
552
|
+
}).join('\n')
|
553
|
+
}
|
554
|
+
})
|
555
|
+
}
|
554
556
|
|
555
557
|
validate.toJSON = function() {
|
556
558
|
return schema
|
@@ -1,19 +1,19 @@
|
|
1
1
|
{
|
2
|
-
"_from": "is-my-json-valid@^2.12.
|
3
|
-
"_id": "is-my-json-valid@2.12.
|
2
|
+
"_from": "is-my-json-valid@^2.12.3",
|
3
|
+
"_id": "is-my-json-valid@2.12.3",
|
4
4
|
"_location": "/is-my-json-valid",
|
5
|
-
"_nodeVersion": "
|
5
|
+
"_nodeVersion": "4.1.1",
|
6
6
|
"_npmUser": {
|
7
7
|
"email": "mathiasbuus@gmail.com",
|
8
8
|
"name": "mafintosh"
|
9
9
|
},
|
10
|
-
"_npmVersion": "2.
|
10
|
+
"_npmVersion": "2.14.4",
|
11
11
|
"_phantomChildren": {},
|
12
12
|
"_requiredBy": [
|
13
13
|
"/har-validator"
|
14
14
|
],
|
15
|
-
"_resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.12.
|
16
|
-
"_shasum": "
|
15
|
+
"_resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.12.3.tgz",
|
16
|
+
"_shasum": "5a39d1d76b2dbb83140bbd157b1d5ee4bdc85ad6",
|
17
17
|
"author": {
|
18
18
|
"name": "Mathias Buus"
|
19
19
|
},
|
@@ -32,10 +32,10 @@
|
|
32
32
|
},
|
33
33
|
"directories": {},
|
34
34
|
"dist": {
|
35
|
-
"shasum": "
|
36
|
-
"tarball": "http://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.12.
|
35
|
+
"shasum": "5a39d1d76b2dbb83140bbd157b1d5ee4bdc85ad6",
|
36
|
+
"tarball": "http://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.12.3.tgz"
|
37
37
|
},
|
38
|
-
"gitHead": "
|
38
|
+
"gitHead": "822c5815f7ae4c50ed0c71451cb4dc3ea177be14",
|
39
39
|
"homepage": "https://github.com/mafintosh/is-my-json-valid",
|
40
40
|
"keywords": [
|
41
41
|
"json",
|
@@ -46,6 +46,10 @@
|
|
46
46
|
"license": "MIT",
|
47
47
|
"main": "index.js",
|
48
48
|
"maintainers": [
|
49
|
+
{
|
50
|
+
"name": "freeall",
|
51
|
+
"email": "freeall@gmail.com"
|
52
|
+
},
|
49
53
|
{
|
50
54
|
"name": "mafintosh",
|
51
55
|
"email": "mathiasbuus@gmail.com"
|
@@ -55,8 +59,8 @@
|
|
55
59
|
"email": "w@tson.dk"
|
56
60
|
},
|
57
61
|
{
|
58
|
-
"name": "
|
59
|
-
"email": "
|
62
|
+
"name": "yoshuawuyts",
|
63
|
+
"email": "i@yoshuawuyts.com"
|
60
64
|
}
|
61
65
|
],
|
62
66
|
"name": "is-my-json-valid",
|
@@ -69,5 +73,5 @@
|
|
69
73
|
"scripts": {
|
70
74
|
"test": "tape test/*.js"
|
71
75
|
},
|
72
|
-
"version": "2.12.
|
76
|
+
"version": "2.12.3"
|
73
77
|
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
This software is released under the MIT license:
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
4
|
+
this software and associated documentation files (the "Software"), to deal in
|
5
|
+
the Software without restriction, including without limitation the rights to
|
6
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
7
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
8
|
+
subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
11
|
+
copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
15
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
16
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
17
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
18
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# is-typedarray [](http://github.com/badges/stability-badges)
|
2
|
+
|
3
|
+
Detect whether or not an object is a
|
4
|
+
[Typed Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays).
|
5
|
+
|
6
|
+
## Usage
|
7
|
+
|
8
|
+
[](https://nodei.co/npm/is-typedarray/)
|
9
|
+
|
10
|
+
### isTypedArray(array)
|
11
|
+
|
12
|
+
Returns `true` when array is a Typed Array, and `false` when it is not.
|
13
|
+
|
14
|
+
## License
|
15
|
+
|
16
|
+
MIT. See [LICENSE.md](http://github.com/hughsk/is-typedarray/blob/master/LICENSE.md) for details.
|
@@ -0,0 +1,41 @@
|
|
1
|
+
module.exports = isTypedArray
|
2
|
+
isTypedArray.strict = isStrictTypedArray
|
3
|
+
isTypedArray.loose = isLooseTypedArray
|
4
|
+
|
5
|
+
var toString = Object.prototype.toString
|
6
|
+
var names = {
|
7
|
+
'[object Int8Array]': true
|
8
|
+
, '[object Int16Array]': true
|
9
|
+
, '[object Int32Array]': true
|
10
|
+
, '[object Uint8Array]': true
|
11
|
+
, '[object Uint8ClampedArray]': true
|
12
|
+
, '[object Uint16Array]': true
|
13
|
+
, '[object Uint32Array]': true
|
14
|
+
, '[object Float32Array]': true
|
15
|
+
, '[object Float64Array]': true
|
16
|
+
}
|
17
|
+
|
18
|
+
function isTypedArray(arr) {
|
19
|
+
return (
|
20
|
+
isStrictTypedArray(arr)
|
21
|
+
|| isLooseTypedArray(arr)
|
22
|
+
)
|
23
|
+
}
|
24
|
+
|
25
|
+
function isStrictTypedArray(arr) {
|
26
|
+
return (
|
27
|
+
arr instanceof Int8Array
|
28
|
+
|| arr instanceof Int16Array
|
29
|
+
|| arr instanceof Int32Array
|
30
|
+
|| arr instanceof Uint8Array
|
31
|
+
|| arr instanceof Uint8ClampedArray
|
32
|
+
|| arr instanceof Uint16Array
|
33
|
+
|| arr instanceof Uint32Array
|
34
|
+
|| arr instanceof Float32Array
|
35
|
+
|| arr instanceof Float64Array
|
36
|
+
)
|
37
|
+
}
|
38
|
+
|
39
|
+
function isLooseTypedArray(arr) {
|
40
|
+
return names[toString.call(arr)]
|
41
|
+
}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
{
|
2
|
+
"_from": "is-typedarray@~1.0.0",
|
3
|
+
"_id": "is-typedarray@1.0.0",
|
4
|
+
"_location": "/is-typedarray",
|
5
|
+
"_nodeVersion": "0.10.36",
|
6
|
+
"_npmUser": {
|
7
|
+
"email": "hughskennedy@gmail.com",
|
8
|
+
"name": "hughsk"
|
9
|
+
},
|
10
|
+
"_npmVersion": "2.7.5",
|
11
|
+
"_phantomChildren": {},
|
12
|
+
"_requiredBy": [
|
13
|
+
"/request"
|
14
|
+
],
|
15
|
+
"_resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
|
16
|
+
"_shasum": "e479c80858df0c1b11ddda6940f96011fcda4a9a",
|
17
|
+
"author": {
|
18
|
+
"email": "hughskennedy@gmail.com",
|
19
|
+
"name": "Hugh Kennedy",
|
20
|
+
"url": "http://hughsk.io/"
|
21
|
+
},
|
22
|
+
"bugs": {
|
23
|
+
"url": "https://github.com/hughsk/is-typedarray/issues"
|
24
|
+
},
|
25
|
+
"dependencies": {},
|
26
|
+
"description": "Detect whether or not an object is a Typed Array",
|
27
|
+
"devDependencies": {
|
28
|
+
"tape": "^2.13.1"
|
29
|
+
},
|
30
|
+
"directories": {},
|
31
|
+
"dist": {
|
32
|
+
"shasum": "e479c80858df0c1b11ddda6940f96011fcda4a9a",
|
33
|
+
"tarball": "http://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz"
|
34
|
+
},
|
35
|
+
"gitHead": "0617cfa871686cf541af62b144f130488f44f6fe",
|
36
|
+
"homepage": "https://github.com/hughsk/is-typedarray",
|
37
|
+
"keywords": [
|
38
|
+
"array",
|
39
|
+
"detect",
|
40
|
+
"is",
|
41
|
+
"typed",
|
42
|
+
"util"
|
43
|
+
],
|
44
|
+
"license": "MIT",
|
45
|
+
"main": "index.js",
|
46
|
+
"maintainers": [
|
47
|
+
{
|
48
|
+
"name": "hughsk",
|
49
|
+
"email": "hughskennedy@gmail.com"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "is-typedarray",
|
53
|
+
"optionalDependencies": {},
|
54
|
+
"readme": "ERROR: No README data found!",
|
55
|
+
"repository": {
|
56
|
+
"type": "git",
|
57
|
+
"url": "git://github.com/hughsk/is-typedarray.git"
|
58
|
+
},
|
59
|
+
"scripts": {
|
60
|
+
"test": "node test"
|
61
|
+
},
|
62
|
+
"version": "1.0.0"
|
63
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
var test = require('tape')
|
2
|
+
var ista = require('./')
|
3
|
+
|
4
|
+
test('strict', function(t) {
|
5
|
+
t.ok(ista.strict(new Int8Array), 'Int8Array')
|
6
|
+
t.ok(ista.strict(new Int16Array), 'Int16Array')
|
7
|
+
t.ok(ista.strict(new Int32Array), 'Int32Array')
|
8
|
+
t.ok(ista.strict(new Uint8Array), 'Uint8Array')
|
9
|
+
t.ok(ista.strict(new Uint16Array), 'Uint16Array')
|
10
|
+
t.ok(ista.strict(new Uint32Array), 'Uint32Array')
|
11
|
+
t.ok(ista.strict(new Float32Array), 'Float32Array')
|
12
|
+
t.ok(ista.strict(new Float64Array), 'Float64Array')
|
13
|
+
|
14
|
+
t.ok(!ista.strict(new Array), 'Array')
|
15
|
+
t.ok(!ista.strict([]), '[]')
|
16
|
+
|
17
|
+
t.end()
|
18
|
+
})
|
19
|
+
|
20
|
+
test('loose', function(t) {
|
21
|
+
t.ok(ista.loose(new Int8Array), 'Int8Array')
|
22
|
+
t.ok(ista.loose(new Int16Array), 'Int16Array')
|
23
|
+
t.ok(ista.loose(new Int32Array), 'Int32Array')
|
24
|
+
t.ok(ista.loose(new Uint8Array), 'Uint8Array')
|
25
|
+
t.ok(ista.loose(new Uint16Array), 'Uint16Array')
|
26
|
+
t.ok(ista.loose(new Uint32Array), 'Uint32Array')
|
27
|
+
t.ok(ista.loose(new Float32Array), 'Float32Array')
|
28
|
+
t.ok(ista.loose(new Float64Array), 'Float64Array')
|
29
|
+
|
30
|
+
t.ok(!ista.loose(new Array), 'Array')
|
31
|
+
t.ok(!ista.loose([]), '[]')
|
32
|
+
|
33
|
+
t.end()
|
34
|
+
})
|
@@ -0,0 +1,23 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2012 Ron Garret
|
4
|
+
Copyright (c) 2007, 2013, 2014 Michele Bini
|
5
|
+
Copyright (c) 2014 Mega Limited
|
6
|
+
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
9
|
+
in the Software without restriction, including without limitation the rights
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
12
|
+
furnished to do so, subject to the following conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
15
|
+
copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
SOFTWARE.
|
@@ -0,0 +1,51 @@
|
|
1
|
+
Jodid25519 [](https://travis-ci.org/meganz/jodid25519)
|
2
|
+
===================================================================================================================================
|
3
|
+
|
4
|
+
Javascript implementation of the Curve25519 and Ed25519 elliptic cryptography functions by Daniel J. Bernstein.
|
5
|
+
|
6
|
+
For the API, please consult the generated documentation under doc/ (you can run `make` to generate it).
|
7
|
+
|
8
|
+
To run the tests do the following on the console from the project's root directory:
|
9
|
+
|
10
|
+
$ npm install
|
11
|
+
$ make test
|
12
|
+
|
13
|
+
|
14
|
+
Contributors
|
15
|
+
------------
|
16
|
+
|
17
|
+
If you are one of the contributors and want to add yourself or change the information here, please do submit a pull request. Contributors appear in no particular order.
|
18
|
+
|
19
|
+
### For the Curve25519 submodule
|
20
|
+
|
21
|
+
* [Graydon Hoare](https://github.com/graydon): suggested clamping the private key by default for increased safety and uniformity with other implementations.
|
22
|
+
* [liliakai](https://github.com/liliakai): spotted an unused argument in some of the functions
|
23
|
+
* [RyanC](https://github.com/ryancdotorg): removed dependency of a function to the Javascript Math library
|
24
|
+
* [Guy Kloss](https://github.com/pohutukawa): performance improvements through bit-shift operations, performance and conformance testing, documentation, compatibility with the npm package ecosystem, and more
|
25
|
+
* [Michele Bini](https://github.com/rev22): originally wrote the Javascript implementation
|
26
|
+
|
27
|
+
|
28
|
+
Copyright and MIT licensing
|
29
|
+
---------------------------
|
30
|
+
|
31
|
+
* Copyright (c) 2012 Ron Garret
|
32
|
+
* Copyright (c) 2007, 2013, 2014 Michele Bini <michele.bini@gmail.com>
|
33
|
+
* Copyright (c) 2014 Mega Limited
|
34
|
+
|
35
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
36
|
+
of this software and associated documentation files (the "Software"), to deal
|
37
|
+
in the Software without restriction, including without limitation the rights
|
38
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
39
|
+
copies of the Software, and to permit persons to whom the Software is furnished
|
40
|
+
to do so, subject to the following conditions:
|
41
|
+
|
42
|
+
The above copyright notice and this permission notice shall be included in all
|
43
|
+
copies or substantial portions of the Software.
|
44
|
+
|
45
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
46
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
47
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
48
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
49
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
50
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
51
|
+
THE SOFTWARE.
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/*
|
2
|
+
* Curve 25519-based cryptography collection.
|
3
|
+
*
|
4
|
+
* EC Diffie-Hellman (ECDH) based on Curve25519 and digital signatures (EdDSA)
|
5
|
+
* based on Ed25519.
|
6
|
+
*
|
7
|
+
* Copyright (c) 2012 Ron Garret
|
8
|
+
* Copyright (c) 2007, 2013, 2014 Michele Bini
|
9
|
+
* Copyright (c) 2014 Mega Limited
|
10
|
+
* under the MIT License.
|
11
|
+
*
|
12
|
+
* You should have received a copy of the license along with this program.
|
13
|
+
*/
|
14
|
+
// See https://github.com/jrburke/almond#exporting-a-public-api
|
15
|
+
(function (root, factory) {
|
16
|
+
if (typeof define === 'function' && define.amd) {
|
17
|
+
// Allow using this built library as an AMD module
|
18
|
+
// in another project. That other project will only
|
19
|
+
// see this AMD call, not the internal modules in
|
20
|
+
// the closure below.
|
21
|
+
define([], factory);
|
22
|
+
} else if (typeof module === 'object' && module.exports) {
|
23
|
+
// Allow using this built library as a CommonJS module
|
24
|
+
module.exports = factory();
|
25
|
+
} else {
|
26
|
+
// Browser globals case. Just assign the
|
27
|
+
// result to a property on the global.
|
28
|
+
root.jodid25519 = factory();
|
29
|
+
}
|
30
|
+
}(this, function () {
|
31
|
+
if (typeof module === 'object' && module.exports) {
|
32
|
+
// If we're running under CommonJS, our dependencies get confused and
|
33
|
+
// each clobber module.exports which leads to bad behaviour because
|
34
|
+
// almond does asynchronous loading. So just pretend we're in the
|
35
|
+
// browser globals case, and make them write to those values instead.
|
36
|
+
// TODO: ditch requirejs/almond and use browserify or something.
|
37
|
+
var __oldModule = module;
|
38
|
+
var __oldExports = exports;
|
39
|
+
var window = global;
|
40
|
+
module = undefined;
|
41
|
+
exports = undefined;
|
42
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
if (typeof module === 'object' && module.exports) {
|
2
|
+
// Restore CommonJS exports once our dependencies have all finished
|
3
|
+
// loading.
|
4
|
+
module = __oldModule;
|
5
|
+
exports = __oldExports;
|
6
|
+
}
|
7
|
+
// The modules for your project will be inlined above
|
8
|
+
// this snippet. Ask almond to synchronously require the
|
9
|
+
// module value for 'main' here and return it as the
|
10
|
+
// value to use for the public API for the built file.
|
11
|
+
return require('jodid25519');
|
12
|
+
}));
|
13
|
+
// See https://github.com/jrburke/almond#exporting-a-public-api
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
/*
|
4
|
+
* Copyright (c) 2014 Mega Limited
|
5
|
+
* under the MIT License.
|
6
|
+
*
|
7
|
+
* Authors: Guy K. Kloss
|
8
|
+
*
|
9
|
+
* You should have received a copy of the license along with this program.
|
10
|
+
*/
|
11
|
+
|
12
|
+
var dh = require('./lib/dh');
|
13
|
+
var eddsa = require('./lib/eddsa');
|
14
|
+
var curve255 = require('./lib/curve255');
|
15
|
+
var utils = require('./lib/utils');
|
16
|
+
|
17
|
+
/**
|
18
|
+
* @exports jodid25519
|
19
|
+
* Curve 25519-based cryptography collection.
|
20
|
+
*
|
21
|
+
* @description
|
22
|
+
* EC Diffie-Hellman (ECDH) based on Curve25519 and digital signatures
|
23
|
+
* (EdDSA) based on Ed25519.
|
24
|
+
*/
|
25
|
+
var ns = {};
|
26
|
+
|
27
|
+
/** Module version indicator as string (format: [major.minor.patch]). */
|
28
|
+
ns.VERSION = '0.7.1';
|
29
|
+
|
30
|
+
ns.dh = dh;
|
31
|
+
ns.eddsa = eddsa;
|
32
|
+
ns.curve255 = curve255;
|
33
|
+
ns.utils = utils;
|
34
|
+
|
35
|
+
module.exports = ns;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"templates": {
|
3
|
+
"applicationName": "jodid25519 Library",
|
4
|
+
"disqus": "",
|
5
|
+
"googleAnalytics": "",
|
6
|
+
"openGraph": {
|
7
|
+
"title": "jodid25519 Library",
|
8
|
+
"type": "website",
|
9
|
+
"image": "",
|
10
|
+
"site_name": "",
|
11
|
+
"url": ""
|
12
|
+
},
|
13
|
+
"meta": {
|
14
|
+
"title": "jodid25519 Library",
|
15
|
+
"description": "",
|
16
|
+
"keyword": ""
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|